/* =============================================================================
   CARGO CUSTOM STYLES  (revised — FitText removed, overlap fixes applied)
   =============================================================================

   TABLE OF CONTENTS
   -----------------
   1.  CSS Reset & Root
   2.  Typography & Base Elements
   3.  Links
   4.  Lists
   5.  Images & Media
   6.  Layout & Containers
   7.  Navbar
   8.  Site Menu & Site Menu Button
   9.  Accordion
   10. Hover Image Effect
   11. Utility Classes
   12. Cargo Predefined Styles (Editor)
   13. Cargo Breakpoints & Presets
   14. Thumbnails
   15. Shop
   16. Audio Player
   17. Image Zoom & Gallery
   18. Quick View
   19. Wallpaper Navigation
   20. Feed
   21. Loading Animation
   22. Body & Background
   23. Responsive — Smaller Screens (max-width: 1500px)
   24. Responsive — Mobile (max-width: 768px)
   25. Mailchimp Newsletter Form

   CHANGES FROM PREVIOUS VERSION (search "FIX:" to find them)
   - h1 size now uses clamp() instead of FitText + 2.7vw !important + nowrap
   - #accordian-container no longer has a fixed 100vh height
   - .moon_p line-height is unitless so lines don't overlap at larger sizes
   - .ignazio vertical padding uses vh instead of width-based %
   - summary / small font sizes have readable minimums
   - duplicate hr rule merged; unused @keyframes and dead #site-menu rule removed

   ============================================================================= */


/* =============================================================================
   1. CSS RESET & ROOT
   ============================================================================= */

:root {
    font-size: 16px;
}

*, *:after, *:before {
    box-sizing: border-box;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

*:focus {
    outline: none;
}

#toolset {
    display: none;
}


/* =============================================================================
   2. TYPOGRAPHY & BASE ELEMENTS
   ============================================================================= */

h1 {
    font-family: 'Jost', sans-serif !important;
    overflow-wrap: normal;  /* FIX: never split a word like JOHANSON mid-word */
}

h1 span {
    padding: 5px;
    margin: -5px;
}

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;
}

/* FIX: two hr rules merged into one */
hr {
    background-color: rgba(254, 252, 246, 1);
    border: 0;
    height: 2px;
    display: block;
    margin-top: 1.0rem;
    margin-bottom: 1.0rem;
}

blockquote {
    margin: 0;
    padding: 0 80px 0 50px;
    text-align: left;
    font-size: 1.3rem;
    font-family: 'Marcellus', serif !important;
    font-weight: 300;
}

ol {
    margin: 0;
    padding: 0 0 0 15px;
}

p.moon_p {
    line-height: 1.4;   /* FIX: was 20px, which overlapped once text grew */
    margin-bottom: 15px;
}

.moon_quote {
    margin: 0;
    padding: 20px 20px 50px 20px;
    text-align: left;
    font-size: 16px;
}

.table-text        { color: #4c4f29 !important; }
.table-text a      { color: #4c4f29 !important; }
.table-text hr     { background-color: #4c4f29 !important; }


/* =============================================================================
   3. LINKS
   ============================================================================= */

a {
    text-decoration: underline;
}

a:active {
    opacity: 0.7;
}

a:hover {
    text-decoration: underline;
    color: #EC1B23;
}

.page a.active {
    color: #EC1B23 !important;
}

/* Name link hover in the pinned-top h1 */
body > div.main_container > div.pinned.pinned_top > div > div.page.container.container_width.clearfix.pointer-events-auto.allow-scroll > bodycopy > div > b > h1 > a:hover {
    color: #fff000 !important;
}

.title-name {
    color: #fff000;
    -webkit-text-fill-color: #fff000;
    text-decoration: none;
}

.title-name:hover {
    color: #ec1b23;
    -webkit-text-fill-color: #ec1b23;
    text-decoration: none;
}

.navbar-name a {
    color: #ec1b23;
    -webkit-text-fill-color: #ec1b23;
    text-decoration: none;
    font-weight: 700;
    padding: 5px;
    margin: -5px;
}

.navbar-name a:hover {
    color: #fff000;
    -webkit-text-fill-color: #fff000;
}


/* =============================================================================
   4. LISTS
   ============================================================================= */

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.3rem;
    color: #4c4f29 !important;
}

li {
    margin: 15px 0;
    position: relative;
    padding-left: 1.4em;
    list-style: none;
}

li:first-child {
    margin: 0;
}

ul li::before {
    content: "➭ ";
    position: absolute;
    left: 0;
    top: 0;
}


/* =============================================================================
   5. IMAGES & MEDIA
   ============================================================================= */

img {
    border: 0;
    padding: 0;
}

.content img {
    float: none;
    margin-bottom: 0;
    vertical-align: bottom;
}

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

[image-gallery="slideshow"] {
    margin-bottom: 2rem;
}

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    font-family: Diatype, Icons;
    font-style: normal;
    line-height: 1.2;
}

.pswp__bg {
    background-color: rgba(254, 252, 246, .95) !important;
}


/* =============================================================================
   6. LAYOUT & CONTAINERS
   ============================================================================= */

.frame {
    padding: 1rem;
}

#buffer-zone {
    display: block;
    width: 100%;
    height: 100px;
}


/* =============================================================================
   7. NAVBAR
   ============================================================================= */

.navbar {
    background-color: transparent;
}

.navbar_sm a {
    font-family: 'Jost', sans-serif !important;
    font-size: 1.2rem !important;
    color: #4c4f29 !important;
}

.navbar small a {
    color: #4c4f29 !important;
}

/* FIX: padding-top was 80% (calculated from container WIDTH, so it grew
   huge on wide screens). 40vh is an approximation — adjust to taste. */
.ignazio {
    padding-top: 40vh;
    padding-left: 25%;
    border-style: none !important;
    font-family: 'Jost', sans-serif !important;
    font-weight: 400;
    font-size: 1.2rem;
}


/* =============================================================================
   8. SITE MENU & SITE MENU BUTTON
   ============================================================================= */

#site_menu {
    font-family: 'Marcellus', serif;
    background: rgba(254, 252, 246, 0.98);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    padding: 20px 30px 90px 30px;
    max-width: 400px;
    min-width: 300px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

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

#site_menu .page-link a {
    color: #4c4f29;
    text-wrap: wrap;
    font-size: 2rem;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
}

#site_menu .set-link > a {
    color: #4c4f29;
    font-weight: bold;
    pointer-events: none;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
}

#site_menu > div:nth-child(2) {
    font-weight: 700;
}

#site_menu a:active,
#site_menu a.active {
    opacity: 1;
    color: #EC1B23 !important;
}

#site_menu a:hover {
    opacity: 1;
    color: #EC1B23 !important;
    text-decoration: underline !important;
}

#site_menu .close {
    display: none;
    color: #4c4f29;
    line-height: .85em;
    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; }

[data-css-preset] #site_menu_button {
    color: rgba(254, 252, 246, 1);
    line-height: 1;
    font-size: 30px /*!site_menu_button*/;
    padding: 6px;
    background: rgba(33, 32, 46, 0.08);
    position: fixed;
    right: 2rem /*!site_menu_button*/;
    top: 2rem  /*!site_menu_button*/;
}

body.mobile #site_menu_button {
    margin: -10px;
    font-size: 32px;
}

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


/* =============================================================================
   9. ACCORDION
   ============================================================================= */

/* FIX: removed height: 100vh. With a fixed height, opened items spilled
   out of the container and overlapped whatever came after it. */
#accordian-container {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 5rem auto;
}

details div {
    border-left: 1.75px solid #4c4f29;
    border-right: 1.75px solid #4c4f29;
    border-bottom: 1.75px solid #4c4f29;
    padding: 1.5em;
    font-size: 16px;
    background-color: rgba(254, 252, 246, .87);
    font-family: 'Marcellus', serif !important;
}

details div > * + * {
    margin-top: 1.5em;
}

details + details {
    margin-top: .5rem;
}

summary {
    list-style: none;
    font-size: 18px;
    color: #4c4f29 !important;
    background-color: rgba(254, 252, 246, .87) !important;
    font-family: 'Jost', sans-serif !important;
    border: 1.75px solid #4c4f29;
    padding: .55em 2.75rem .55em calc(.25rem + .55rem + .55rem); /* right padding keeps text clear of the +/- */
    cursor: pointer;
    position: relative;
}

summary a {
    color: #4c4f29 !important;
}

summary::-webkit-details-marker {
    display: none;
}

summary:before {
    content: "+";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: .75rem;
    width: 1.75rem;
    height: 1rem;
    color: #4c4f29 !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-family: 'Jost', sans-serif !important;
    font-size: 18px;
}

details[open] summary:before {
    content: "-";
}

summary:hover {
    background-color: rgba(123, 133, 112, 0.87);
}

/* Hide the +/- on the 5th accordion item */
#accordian-container > details:nth-child(5) > summary:before {
    content: " ";
}


/* =============================================================================
   10. HOVER IMAGE EFFECT
   ============================================================================= */

.img_wrapper {
    position: relative;
    border: 0;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
}

.hover_img,
.hover_img_last {
    position: absolute;
    left: 35%;
    z-index: -100;
    display: none;
    width: 100%;
    height: auto;
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 50%;
    pointer-events: none;
}

.hover_img      { top: -5px; }
.hover_img_last { bottom: -15px; }

.img_wrapper:hover > .hover_img,
.img_wrapper:hover > .hover_img_last {
    display: block;
}


/* =============================================================================
   11. UTILITY CLASSES
   ============================================================================= */

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* =============================================================================
   12. CARGO PREDEFINED / EDITOR STYLES
   ============================================================================= */

[data-predefined-style="true"] bodycopy {
    font-size: 1.6rem;
    color: rgba(254, 252, 246, 1) !important;
    font-family: 'Marcellus', serif !important;
    line-height: 1.5;
    font-style: normal;
    font-weight: 400;
}

[data-predefined-style="true"] bodycopy a {
    color: rgba(254, 252, 246, 1);
    text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {
    color: #EC1B23;
}

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

/* FIX: replaces FitText. Scales with the window like 2.7vw did,
   but never smaller than 1.5rem or larger than 3.2rem. */
[data-predefined-style="true"] h1 {
    font-family: "Neue Haas Grotesk", Icons;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: clamp(1.5rem, 2.7vw, 3.2rem);
    line-height: 1.1;
    color: rgba(254, 252, 246, 1);
}

[data-predefined-style="true"] h1 a {
    color: #fff000;
}

[data-predefined-style="true"] h2 {
    font-family: 'Jost', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: rgba(254, 252, 246, 1);
    font-size: 2.2rem;
    line-height: 1.2;
}

[data-predefined-style="true"] h2 a {
    color: rgba(254, 252, 246, 1);
}

[data-predefined-style="true"] small {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.3;
    font-family: 'Marcellus', serif !important;
    font-style: normal;
    font-weight: 400;
    color: rgba(254, 252, 246, 1);
}

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

[data-predefined-style="true"] small a:hover {
    color: rgba(0, 0, 0, 0.6);
    border-bottom-width: 0em;
    text-decoration: underline;
}


/* =============================================================================
   13. CARGO BREAKPOINTS & PRESETS
   (Keep the "!name" preset comments on these lines; Cargo's design panel reads them.)
   ============================================================================= */

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

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

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

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

[data-css-preset] .container_width {
    width: 75% /*!content_right*/;
}

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


/* =============================================================================
   14. THUMBNAILS
   ============================================================================= */

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

[data-css-preset] .thumbnails {
    background-color: transparent /*!thumbnails_bgcolor*/;
}

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

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

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

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

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

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

.thumbnails .title {
    margin-top: 1.0rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    font-family: Diatype, Icons;
    font-style: normal;
    line-height: 1.3;
}

.thumbnails .tags {
    margin-top: .8rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    font-family: "Monument Grotesk Mono", Icons;
    font-style: normal;
    line-height: 1.2;
}

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

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


/* =============================================================================
   15. SHOP
   ============================================================================= */

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

#shop_button.text {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
    font-family: Diatype, Icons;
    padding: 0;
    line-height: 1.3;
    font-style: normal;
}

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

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

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

.shop_product .price {
    font-family: Diatype, Icons;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.75);
    display: block;
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: 400;
}

.shop_product .dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.3rem;
    display: inline-block;
    width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background: white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.4;
    padding: .7rem 2.5rem 0.6rem 1rem;
    font-style: normal;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
}

.shop_product .button {
    font-family: Diatype, Icons;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
    line-height: 1;
    padding: .8rem 1rem 0.8rem;
    font-style: normal;
    font-weight: 700;
}


/* =============================================================================
   16. AUDIO PLAYER
   ============================================================================= */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.4rem;
    line-height: 1.3;
    font-family: Diatype, Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

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: 0.9rem;
    fill: rgba(0, 0, 0, 0.5);
}

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


/* =============================================================================
   17. IMAGE ZOOM & GALLERY NAVIGATION
   ============================================================================= */

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

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 2px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 3px;
}


/* =============================================================================
   18. QUICK VIEW
   ============================================================================= */

[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, 1) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
    font-family: Diatype, Icons;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
}

.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: #fff;
    stroke-width: 0px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

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

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

.quick-view-navigation .close-button .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}


/* =============================================================================
   19. 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: 2px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 3px;
}


/* =============================================================================
   20. FEED
   ============================================================================= */

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

.feed .content_container .page_container:first-child .page {
    border-top: 0;
}


/* =============================================================================
   21. LOADING ANIMATION
   ============================================================================= */

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


/* =============================================================================
   22. BODY & BACKGROUND
   ============================================================================= */

body {
    background: linear-gradient(180deg, rgba(31,38,25,1) 0%, rgba(3,11,0,1) 100%);
    color: #000;
}


/* =============================================================================
   23. RESPONSIVE — SMALLER SCREENS (max-width: 1500px)
   ============================================================================= */

@media screen and (max-width: 1500px) {

    /* FIX: the sidebar shrinks with the window, so the name must too.
       2.4vw keeps "JOHANSON" inside the sidebar at all widths in this range. */
    [data-predefined-style="true"] h1 {
        font-size: clamp(1rem, 2.4vw, 3.2rem);
    }

    small {
        font-size: 0.75rem !important;
    }

    /* FIX: menu labels scale with the sidebar so "PUBLICATIONS" fits on one line */
    summary {
        font-size: clamp(10px, 1vw, 18px) !important;
        color: #4c4f29;
        background-color: rgba(48, 51, 5, 0.87);
        border: 1.25px solid #4c4f29;
        padding: .25em 1.75rem .25em .75rem;
        width: 100%;
        white-space: nowrap;
    }

    summary:before {
        width: .75rem;
        height: .75rem;
        right: .6rem;
        color: rgba(254, 252, 246, 1);
        font-size: clamp(10px, 1vw, 18px) !important;
    }

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

    /* FIX: removed the container flip from right-aligned to left-aligned.
       It moved page content into the left strip used by the pinned
       header/name, which caused the overlap between 769px and 1500px.
       The container now keeps the desktop alignment (section 13). */

    [data-backdrop="video"].backdrop .video_wrapper_inner {
        left: -2000px !important;
        transform: scale(1.2);
    }
}


/* -----------------------------------------------------------------------------
   23b. MID-SIZE SCREENS (769px – 1500px): widen the text column
   The main content fills everything to the right of the left sidebar
   (name + menu, about 225px wide). Only the main page content is targeted,
   so the pinned name/menu area is not affected.
   To move the text further from the sidebar, raise 260px; to bring it
   closer, lower it. To leave space on the right, raise the right padding.
   ----------------------------------------------------------------------------- */

@media screen and (min-width: 769px) and (max-width: 1500px) {

    [data-css-preset] .content_container .container_width {
        width: calc(100% - 260px);
        max-width: none;
    }

    [data-css-preset] .content_container .container {
        margin-left: auto;
        margin-right: 0;
    }

    [data-css-preset] .content_container .content_padding {
        padding-right: 2rem;
    }

    /* Open menu panels: text scales with the sidebar, like the menu labels.
       Padding and indents are tightened so words fit without splitting. */
    details div {
        font-size: clamp(10px, 1.05vw, 16px);
        padding: .8em .7em;
    }

    details div > * + * {
        margin-top: .8em;
    }

    details div ul {
        font-size: 1em;   /* follow the panel size instead of a fixed 1.3rem */
    }

    details div li {
        margin: .6em 0;
        padding-left: 1.3em;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Cargo grid: pages lay text out as <div grid-row grid-responsive> with a
       grid-col="9" for the text and an empty grid-col="3" on the right.
       Do what Cargo already does on phones: every column goes full width,
       and empty columns are hidden. Only grids marked "responsive" in Cargo
       are affected. Any responsive side-by-side layouts will also stack
       between 769px and 1500px; delete these two rules if you don't want that. */
    .content_container [grid-responsive] > [grid-col] {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .content_container [grid-responsive] > [grid-col]:empty {
        display: none !important;
    }
}


/* =============================================================================
   24. RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================================= */

@media screen and (max-width: 768px) {

    h1 span {
        font-size: 5vw !important;
        display: inline !important;
    }

    h1 span:after {
        content: "" !important;
        display: block !important;
    }

    p {
        font-size: 2rem !important;
    }

    blockquote {
        padding: 0 25px 0 15px !important;
        font-size: 2rem !important;
    }

    .moon_quote {
        padding: 20px 15px 50px 15px !important;
        font-size: 2rem;
    }

    /* .moon_p line-height is now unitless (section 2), so no override needed */

    [data-predefined-style="true"] bodycopy {
        font-size: 2rem !important;
    }

    [data-backdrop="video"].backdrop .video_wrapper_inner {
        left: -2400px !important;
        transform: scale(1.1);
    }

    .kbj-name {
        padding: 0 0 0 5% !important;
        font-family: 'Jost', sans-serif !important;
        font-weight: 400;
        font-size: 1.2rem !important;
    }

    /* FIX: vertical padding in vh instead of width-based %. Adjust to taste. */
    .ignazio {
        padding: 30vh 0 15vh 40% !important;
        font-size: 1.2rem !important;
    }

    #site_menu {
        font-family: 'Jost', sans-serif !important;
        background: rgba(31, 38, 25, 0.98);
        font-size: 2.3rem !important;
        border-left: 1.75px solid #4c4f29;
    }

    #site_menu .page-link a {
        color: rgba(254, 252, 246, 1) !important;
        font-size: 2.3rem !important;
        font-family: 'Jost', sans-serif !important;
        text-decoration: none;
    }

    #site_menu .set-link > a {
        color: rgba(254, 252, 246, 1) !important;
    }

    #site_menu > div:nth-child(2) {
        font-family: 'Jost', sans-serif !important;
        font-size: 2.3rem !important;
    }

    #site_menu a:hover {
        text-decoration: underline !important;
    }

    #site_menu .close {
        color: rgba(254, 252, 246, 1);
    }
}


/* =============================================================================
   25. MAILCHIMP NEWSLETTER FORM
   ============================================================================= */

#mc_embed_signup_scroll h2 {
    font-family: 'Jost', sans-serif !important;
    font-size: 2.2rem;
    font-weight: 400;
    color: rgba(254, 252, 246, 1);
    margin-bottom: 0.5rem;
}

#mc_embed_signup_scroll .indicates-required {
    font-family: 'Marcellus', serif;
    font-size: 0.85rem;
    color: rgba(254, 252, 246, 0.5);
    margin-bottom: 1.2rem;
}

#mc_embed_signup_scroll .asterisk {
    color: #EC1B23;
}

#mc_embed_signup_scroll .mc-field-group {
    margin-bottom: 1rem;
}

#mc_embed_signup_scroll label {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    color: rgba(254, 252, 246, 0.6);
    margin-bottom: 0.3rem;
}

#mc_embed_signup_scroll input[type="email"],
#mc_embed_signup_scroll input[type="text"] {
    width: 100%;
    background-color: transparent;
    border: 1.75px solid #4c4f29;
    color: rgba(254, 252, 246, 1);
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    padding: 0.5em 0.75em;
    outline: none;
    transition: border-color 0.2s ease;
}

#mc_embed_signup_scroll input[type="email"]:focus,
#mc_embed_signup_scroll input[type="text"]:focus {
    border-color: rgba(254, 252, 246, 0.6);
}

#mc-embedded-subscribe {
    background-color: transparent !important;
    border: 1.75px solid #4c4f29 !important;
    color: #4c4f29 !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    padding: 0.5em 1.5em !important;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: 0.5rem;
}

#mc-embedded-subscribe:hover {
    background-color: rgba(123, 133, 112, 0.87) !important;
    color: rgba(254, 252, 246, 1) !important;
}