/*
 * Darrin Higgins — Cargo 2 CSS, conservative cleanup
 * Replace the existing global CSS with this complete file; do not append it.
 *
 * Cargo selectors, custom elements, preset annotations (special inline comments), and active
 * layout/typography values are preserved. Local Design can still override them.
 * Historical classes are retained because CSS alone cannot establish usage.
 * The fixed 16px root does NOT make all text 16px: existing bodycopy and other
 * type styles remain intact. This cleanup deliberately avoids a redesign.
 */

/* 01 — Fixed root size and inherited text sizing */

:root {
    font-size: 16px !important;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
.text_style-1,
.text_style-2 {
    font-size: inherit !important;
}

/* 02 — Embeds and legacy page wrapper */

iframe {
    width: 100%;
    height: 600px;
}

.argonaut-page {
    max-width: 1400px;
    margin: 0 auto;
}

/* 03 — Existing small-screen overrides */

@media (max-width: 769px) {
    .sidebar {
        display: none;
    }

    .header {
        padding-top: 12em;
    }

    [data-predefined-style="true"] bodycopy {
        font-size: 16px !important;
        letter-spacing: -0.5px !important;
    }
}

/* 04 — Base content styles */

[data-predefined-style=true] .image-gallery a.gallery_card:hover {
    opacity: 0.9;
    text-decoration: underline;
}

body {
    background-color: #fff;
    color: #000;
}

a {
    opacity: 1;
}

a:hover {
    opacity: 1;
}

.page a.active {
    opacity: .4;
}

i,
em {
    font-style: italic;
}

b,
strong {
    font-weight: bolder;
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
}

sub {
    top: 0.3em;
}

sup {
    top: -0.4em;
}

s {
    text-decoration: line-through;
}

img {
    border: 0;
    padding: 0;
    display: block;
    margin: 0 auto;
}

ul,
ol {
    margin: 0;
    padding: 0 0 0 1em;
}

blockquote {
    margin: 0;
    padding: 0 0 0 2em;
}

hr {
    background: rgba(0, 0, 0, 1);
    border: 0;
    height: 1px;
    display: block;
    margin: 0;
}

.content img {
    float: none;
    margin-bottom: .5em;
}

/* 05 — Cargo loading indicator */

.loading[data-loading] {
    position: fixed;
    bottom: 8px;
    left: 8px;
}

/* 06 — Cargo editor typography (existing appearance preserved) */

[data-predefined-style="true"] bodycopy {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: -0.03rem;
}

[data-predefined-style="true"] bodycopy a {
    color: #000;
    padding-bottom: 0em;
    text-decoration: underline;
}

[data-predefined-style="true"] h1 {
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 700;
    padding: 0;
    margin: 0;
    font-size: 30px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h2 {
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: rgba(0, 0, 0, 0.85);
    font-size: 25px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

[data-predefined-style="true"] h2 a {
    color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
    border-bottom: 0;
    padding-bottom: 0;
}

[data-predefined-style="true"] h1 a {
    color: rgba(0, 0, 0, 1);
}

[data-predefined-style="true"] h2 a {
    border-bottom: 0em solid rgba(0, 0, 0, 0.75);
    color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small a {
    border-bottom: 0em solid rgba(0, 0, 0, 0.75);
    color: rgba(0, 0, 0, 1);
}

/* 07 — Cargo layout and preset hooks */

[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
    position: relative;
    min-height: 10px;
    max-width: 100%;
    width: 100%;
    background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
    margin-left: auto /*!content_center*/;
    margin-right: auto /*!content_center*/;
    text-align: left /*!text_left*/;
}

[data-css-preset] body {
    background-color: #fafafa/*!body_bgcolor*/;
}

[data-css-preset] text-limit {
    display: inline-block /*!text_width*/;
    max-width: 66rem/*!text_width*/;
}

/* 08 — Cargo thumbnail grids */

div[thumbnails] {
    justify-content: flex-start;
}

[data-css-preset] .thumbnails {
    background-color: rgba(0, 0, 0, 0)/*!thumbnails_bgcolor*/;
}

[data-css-preset] .thumbnails_width {
    width: 95%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 2.95rem/*!thumbnails_padding*/;
}

[data-css-preset] [thumbnails-gutter] {
    margin: -5.9rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 1.5rem/*!responsive_thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -3rem/*!responsive_thumbnails_padding*/;
}

.thumbnails .thumb_image {
    outline: 1px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .tags a {
    border-bottom: 0;
    color: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.thumbnails .has_title .tags {
    margin-top: 0rem;
}

/* 09 — Cargo site menu */

[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.75);
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1.5;
    background: rgba(33, 32, 46, 0);
    position: fixed;
    top: 2rem /*!site_menu_button*/;
    right: 2rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
    margin: -6px;
    font-size: 34px;
}

#site_menu_button.custom_icon {
    width: 40px;
    height: auto;
}

#site_menu_button.active {
    display: none;
}

body.mobile #site_menu {
    width: 100%;
}

#site_menu .page-link a {
    color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: bold;
}

#site_menu a:active {
    opacity: .7;
}

#site_menu a.active {
    opacity: .4;
}

#site_menu .close {
    display: none;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5em;
    font-size: 45px;
}

body.mobile #site_menu .close {
    display: block;
    font-size: 50px;
    line-height: 1em;
}

#site_menu .break {
    height: 28px;
}

#site_menu .indent {
    margin-left: 28px;
}

/* 10 — Cargo shop controls */

[data-css-preset] #shop_button {
    color: rgba(0, 0, 0, 0.75);
    background: transparent;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    position: fixed;
    padding: 6px;
    bottom: 3rem /*!shop_button*/;
    left: 3rem /*!shop_button*/;
}

#shop_button.custom_icon {
    width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
    margin: -6px;
    font-size: 46px;
}

.shop_product {
    width: 100%;
    max-width: 22rem;
    position: relative;
    display: block;
}

/* 11 — Cargo image zoom and Quick View */

.content img.image-zoom:active {
    opacity: .7;
}

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}

[data-css-preset] .quick-view-background {
    background: rgba(255, 255, 255, 0.95) /*!quick_view_bgcolor*/;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    color: white;
}

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #000;
    stroke-width: 1.5px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: #fff;
    stroke-width: 2.5px;
    opacity: 0.5;
}

.quick-view-navigation .close-button {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/* 12 — Cargo wallpaper navigation */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
    width: 36px;
    height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: #000;
    stroke-width: 2.5px;
    opacity: 0.6;
}

/* 13 — Cargo feed */

.feed .content_container .page {
    border-bottom: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:last-child .page {
    border-bottom: 0;
}

/* 14 — Legacy custom layouts — retain until usage is confirmed */

.footer img {
    display: block;
    width: 100% !important;
    margin-bottom: 0 !important;
    height: auto !important;
    vertical-align: bottom;
}

#toolset {
    display: none;
}

.pinned_bottom {
    z-index: 99;
}

@media (max-width: 1004px) {
    [grid-col="x10"] {
        width: 100% !important;
    }

    /* Existing page-specific override. */
    [local-style="3956654"] .content_padding {
        padding: 2rem 0 0 0 !important;
    }
}

@media (max-width: 730px) {
    .client-column-bottom {
        padding-bottom: 0 !important;
    }

    .client-column-top {
        padding-top: 0 !important;
    }
}

/* Legacy pinned-page positioning. Preserved because the current sidebar works. */
.pinned.pinned_top .page_container.overlay {
    max-width: 1800px;
    left: auto !important;
    margin: 0 auto !important;
}

[data-css-preset] .content_padding {
    padding-top: 1rem /*!main_margin*/;
    padding-bottom: 1rem /*!main_margin*/;
    padding-left: 1rem /*!main_margin*/;
    padding-right: 1rem /*!main_margin*/;
}

/* 15 — Cargo audio player */

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}

/* 16 — Legacy text-width helpers */

.description {
    max-width: 680px;
    margin: 0 auto !important;
}

.portfolio {
    max-width: 680px;
    margin: 0 auto !important;
}

/* 17 — Gallery navigation: invisible carets, directional hover cursors
 * Keep Cargo's existing controls and click handlers. Hide only their artwork;
 * do not remove the buttons or change their hit-area dimensions.
 * Quick View and wallpaper controls are intentionally separate.
 */
.image-gallery .slick-prev svg,
.image-gallery .slick-next svg,
.image-gallery-navigation .left-arrow svg,
.image-gallery-navigation .right-arrow svg,
.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .inner-color,
.image-gallery-navigation .right-arrow .outer-color {
    opacity: 0 !important;
}

.image-gallery .slick-prev::before,
.image-gallery .slick-next::before,
.image-gallery-navigation .left-arrow::before,
.image-gallery-navigation .right-arrow::before {
    opacity: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
    .image-gallery .slick-prev,
    .image-gallery .slick-prev *,
    .image-gallery-navigation .left-arrow,
    .image-gallery-navigation .left-arrow * {
        cursor: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2232%22 height=%2232%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M27 16H5M14 7l-9 9 9 9%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22/%3E%3C/svg%3E") 16 16, w-resize !important;
    }

    .image-gallery .slick-next,
    .image-gallery .slick-next *,
    .image-gallery-navigation .right-arrow,
    .image-gallery-navigation .right-arrow * {
        cursor: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2232%22 height=%2232%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M5 16h22M18 7l9 9-9 9%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22/%3E%3C/svg%3E") 16 16, e-resize !important;
    }
}

/* Keep a visible keyboard-focus cue even though caret artwork is hidden. */
.image-gallery .slick-prev:focus-visible,
.image-gallery .slick-next:focus-visible,
.image-gallery-navigation .left-arrow:focus-visible,
.image-gallery-navigation .right-arrow:focus-visible {
    outline: 2px solid #000;
    outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
    .content .slick-slide,
    .content .slick-slide * {
        cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 16h22M18 7l9 9-9 9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 16 16, e-resize !important;
    }
}

.dh-gallery-count {
    display: block;
    margin: 8px 0 0;
    font-family: "Neue Haas Grotesk", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    color: #000;
    text-align: left;
}

[data-predefined-style="true"] bodycopy,
[data-predefined-style="true"] h1,
[data-predefined-style="true"] h2,
[data-predefined-style="true"] h3,
[data-predefined-style="true"] h4,
[data-predefined-style="true"] h5,
[data-predefined-style="true"] h6,
[data-predefined-style="true"] small {
    font-size: 16px !important;
    line-height: 1.5;
    letter-spacing: 0 !important;
}

body:not(.mobile) .dh-sidebar-email {
    position: fixed !important;
    top: auto !important;
    bottom: 24px !important;
    left: auto;
    display: block;
    margin: 0 !important;
    max-width: calc(25vw - 48px);
    overflow-wrap: anywhere;
}

body.mobile .dh-sidebar-email {
    position: static !important;
    display: block;
    max-width: 100%;
    margin-top: 24px !important;
}

.dh-gallery-count {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0 0;
    color: #808080;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.dh-gallery-controls {
    display: flex;
    gap: 16px;
}

.dh-gallery-count .dh-gallery-arrow {
    appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    color: #808080;
    font: inherit;
    letter-spacing: 0;
    cursor: pointer;
}

.dh-gallery-count .dh-gallery-arrow:hover,
.dh-gallery-count .dh-gallery-arrow:active,
.dh-gallery-count .dh-gallery-arrow:focus-visible {
    color: #000;
}

.dh-gallery-arrow:focus-visible {
    outline: 1px solid #000;
    outline-offset: 4px;
}

.dh-gallery-count {
    align-items: center;
}

.dh-gallery-arrow svg {
    display: block;
}

.dh-work-content {
    width: 100%;
    max-width: 1600px;
    margin-left: 0;
    margin-right: auto;
    box-sizing: border-box;
}

.dh-work-content .slick-slide img {
    height: auto !important;
}

.dh-work-content .image-gallery[image-gallery="slideshow"] .slick-list {
    height: auto !important;
}