/**
 * TMBD — Single Journal & Portfolio / Shared editorial system.
 * Dark, champagne and ivory. Local fonts supplied by Sycow. No third-party assets.
 */
.tmbd-single {
    --ts-black: #070707;
    --ts-ivory: #f5f1e9;
    --ts-white: #f9f6ef;
    --ts-gold: var(--tmbd-gold, #ac9c7b);
    --ts-gold-soft: #dfcba9;
    --ts-muted: #aaa39a;
    --ts-line: rgba(255, 255, 255, .17);
    --ts-ease: cubic-bezier(.22, .7, .25, 1);
    color: var(--ts-white);
    background: var(--ts-black);
    font-family: var(--sy-font-body, 'Montserrat', sans-serif);
    font-weight: 400;
    width: 100%;
    overflow: clip;
}
.tmbd-single *, .tmbd-single *::before, .tmbd-single *::after { box-sizing: border-box; }
.tmbd-single .tmbd-single__container {
    width: min(1380px, calc(100% - clamp(40px, 9vw, 150px)));
    max-width: none;
    margin-inline: auto;
}
.tmbd-single :is(h1,h2,h3,p,figure,blockquote) { margin-top: 0; }
.tmbd-single :is(h1,h2,h3) { text-wrap: balance; }
.tmbd-single a { text-decoration: none; color: inherit; }
.tmbd-single button { font: inherit; }
.tmbd-single :is(a,button):focus-visible, .tmbd-single__gallery-track:focus-visible { outline: 2px solid var(--ts-gold-soft); outline-offset: 5px; }
.tmbd-single__eyebrow {
    color: var(--ts-gold);
    font: 600 10px/1.65 'Syne', var(--sy-font-menu, sans-serif);
    letter-spacing: .2em;
    text-transform: uppercase;
}
.tmbd-single__eyebrow span { padding-inline: 6px; }

/* Hero: background photo full bleed, typography inside a real max-width container. */
.tmbd-single__hero {
    position: relative;
    display: flex;
    isolation: isolate;
    min-height: clamp(670px, 89svh, 1000px);
    overflow: hidden;
    background: radial-gradient(ellipse at 75% 34%, #3a3022, #11100e 55%, #050505 93%);
}
.tmbd-single__hero-image { position: absolute; inset: 0; z-index: -3; }
.tmbd-single__hero-image img {
    width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: center 49%;
    filter: saturate(.78);
}
.tmbd-single__hero::before, .tmbd-single__hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.tmbd-single__hero::before { z-index: -2; background: linear-gradient(90deg, rgba(4,4,4,.8), rgba(4,4,4,.4) 52%, rgba(4,4,4,.13)); }
.tmbd-single__hero::after { z-index: -1; background: linear-gradient(0deg, rgba(4,4,4,.91), rgba(4,4,4,.08) 58%, rgba(4,4,4,.45)); }
.tmbd-single .tmbd-single__hero-inner {
    flex: 0 0 auto; /* crucial: do NOT stretch the contained text to screen edges */
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 80px;
    padding-top: calc(var(--tmbd-header-h, 98px) + clamp(35px, 5vh, 75px));
    padding-bottom: clamp(54px, 7vh, 110px);
}
.tmbd-single__hero-top {
    display: flex; justify-content: space-between; align-items: start; gap: 18px;
    color: rgba(255, 251, 243, .8);
    font: 600 10px/1.6 'Syne', var(--sy-font-menu, sans-serif);
    letter-spacing: .18em; text-transform: uppercase;
}
.tmbd-single__hero-top span span { color: var(--ts-gold); padding-inline: 8px; }
.tmbd-single__hero-top a { flex: 0 0 auto; padding-bottom: 7px; border-bottom: 1px solid rgba(229, 207, 172, .65); transition: color .2s ease; }
.tmbd-single__hero-top a:hover { color: var(--ts-gold-soft); }
.tmbd-single__hero-top a span { color: var(--ts-gold-soft); margin-left: 10px; }
.tmbd-single__hero-bottom { max-width: 1100px; }
.tmbd-single__hero-bottom .tmbd-single__eyebrow { margin-bottom: clamp(25px, 4vh, 42px); }
.tmbd-single__hero h1 {
    margin: 0; max-width: 1040px;
    color: #fffaf2;
    font: 400 clamp(66px, 9vw, 154px)/.94 var(--sy-font-heading, 'League Spartan', sans-serif);
    letter-spacing: -.062em;
    overflow-wrap: break-word;
}
.tmbd-single__hero-footer {
    display: flex; align-items: center; flex-wrap: wrap; gap: 15px 21px;
    margin-top: clamp(34px, 5vw, 68px);
    font: 600 10px/1.5 'Syne', var(--sy-font-menu, sans-serif);
    letter-spacing: .14em; text-transform: uppercase;
    color: #e9e0d3;
}
.tmbd-single__separator { color: var(--ts-gold); }
.tmbd-single__hero-footer a { margin-left: auto; padding: 9px 0; border-bottom: 1px solid var(--ts-gold); color: #fff; }
.tmbd-single__hero-footer a span { color: var(--ts-gold-soft); padding-left: 10px; }
.tmbd-single__hero-footer a:hover { color: var(--ts-gold-soft); }

/* Intro: magazine-style typographic composition. */
.tmbd-single__story { padding: clamp(100px, 12vw, 180px) 0; color: #16130e; background: var(--ts-ivory); scroll-margin-top: 85px; }
.tmbd-single__story-grid { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); gap: clamp(60px, 10vw, 155px); }
.tmbd-single__story-aside { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(40px, 5vw, 75px); }
.tmbd-single__story-aside .tmbd-single__eyebrow { color: #9a8058; }
.tmbd-single__story-mark { font: 400 clamp(80px, 12vw, 160px)/1 Georgia, serif; color: #b7a07a; }
.tmbd-single__story-aside a {
    margin-top: auto; padding-bottom: 11px; border-bottom: 1px solid #ab9776;
    color: #5a5044; font: 600 10px/1.5 'Syne', sans-serif;
    text-transform: uppercase; letter-spacing: .11em;
}
.tmbd-single__story-aside a span { margin-left: 10px; color: #a78b5e; }
.tmbd-single__story-body { min-width: 0; }
.tmbd-single__story-body h2,
.tmbd-single__note h2,
.tmbd-single__conclusion h2,
.tmbd-single__related-top h2,
.tmbd-single__closing h2 {
    font: 400 clamp(55px, 6.8vw, 105px)/.95 var(--sy-font-heading, 'League Spartan', sans-serif);
    letter-spacing: -.055em;
}
.tmbd-single__story-body h2 { max-width: 1000px; margin-bottom: clamp(38px, 5vw, 70px); }
.tmbd-single :is(.tmbd-single__story-body h2, .tmbd-single__note h2, .tmbd-single__conclusion h2, .tmbd-single__related-top h2, .tmbd-single__closing h2) em {
    color: #a58b64; font: italic 400 .83em/1.03 Georgia, 'Times New Roman', serif; letter-spacing: -.048em;
}
.tmbd-single__lead { max-width: 760px; color: #3d3932; font-size: clamp(19px, 2.05vw, 29px); line-height: 1.63; margin-bottom: 48px; }
.tmbd-single__editorial-block { max-width: 880px; margin-bottom: 45px; }
.tmbd-single__subhead { margin: 0 0 18px; color: #987c52; font: 600 10px/1.5 'Syne', sans-serif; text-transform: uppercase; letter-spacing: .2em; }
.tmbd-single__richtext { font-size: clamp(15px, 1.18vw, 17px); line-height: 1.95; color: #5e584f; overflow-wrap: anywhere; }
.tmbd-single__richtext :is(h2,h3,h4) { color: #15130e; font-family: var(--sy-font-heading, 'League Spartan', sans-serif); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; margin: 40px 0 16px; }
.tmbd-single__richtext h2 { font-size: clamp(36px, 4vw, 56px); }
.tmbd-single__richtext h3 { font-size: clamp(29px, 3.1vw, 43px); }
.tmbd-single__richtext :is(p,ul,ol,blockquote) { margin: 0 0 26px; }
.tmbd-single__richtext :is(ul,ol) { padding-left: 24px; }
.tmbd-single__richtext li { margin-bottom: 8px; }
.tmbd-single__richtext strong { color: #29231e; font-weight: 600; }
.tmbd-single__richtext em { color: #8b714d; font-family: Georgia, serif; }
.tmbd-single__richtext a { color: #8b714d; text-decoration: underline; text-underline-offset: 4px; }
.tmbd-single__richtext blockquote { padding: 17px 0 17px 24px; border-left: 1px solid #ab9576; color: #2d2822; font: italic clamp(18px, 2vw, 28px)/1.6 Georgia, serif; }
.tmbd-single__richtext img { max-width: 100%; height: auto; }
.tmbd-single__richtext figure { max-width: 100%; }
.tmbd-single__richtext :is(iframe,video) { max-width: 100%; }
.tmbd-single__main-content { border-top: 1px solid rgba(35, 29, 19, .16); padding-top: 39px; }
.tmbd-single__main-content:empty { display: none; }

/* Gallery: every slide has native image ratio, NO cropping of portraits or panoramas. */
.tmbd-single__gallery-section {
    --ts-gallery-h: clamp(320px, 43vw, 620px);
    padding: clamp(95px, 10vw, 160px) 0 clamp(100px, 11vw, 170px);
    background: #090908;
    color: #f7f4ec;
}
.tmbd-single__gallery-section:nth-of-type(even) { background: #0e0d0b; }
.tmbd-single__gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(35px, 4.5vw, 65px); }
.tmbd-single__gallery-heading h2 {
    margin: 13px 0 0; color: #f9f5ef;
    font: 400 clamp(48px, 6vw, 88px)/1 var(--sy-font-heading, 'League Spartan', sans-serif);
    letter-spacing: -.055em;
}
.tmbd-single__gallery-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.tmbd-single__gallery-count { display: inline-flex; gap: 9px; margin-right: 18px; color: #ede4d6; font: 600 11px/1 'Syne', sans-serif; letter-spacing: .15em; }
.tmbd-single__gallery-count span { color: var(--ts-gold); }
.tmbd-single__gallery-controls button,
.tmbd-single__lightbox-body button,
.tmbd-single__lightbox-tools button {
    display: grid; place-items: center; width: 47px; height: 47px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
    background: transparent; color: #f8f2e9; cursor: pointer;
    font-size: 22px; transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.tmbd-single__gallery-controls button:hover,
.tmbd-single__lightbox-body button:hover,
.tmbd-single__lightbox-tools button:hover { border-color: var(--ts-gold); background: var(--ts-gold); color: #0c0b08; }
.tmbd-single__gallery-controls button:disabled { opacity: .28; cursor: default; background: transparent; border-color: rgba(255,255,255,.17); color: #f8f2e9; }
.tmbd-single__gallery { overflow: hidden; }
.tmbd-single__gallery-track {
    position: relative;
    display: flex; align-items: stretch;
    gap: clamp(12px, 1.65vw, 25px);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 22px;
}
.tmbd-single__gallery-track::-webkit-scrollbar { display: none; }
.tmbd-single__gallery-slide {
    flex: 0 0 auto;
    position: relative;
    height: var(--ts-gallery-h);
    width: auto;
    max-width: 94%;
    aspect-ratio: var(--tmbd-photo-ratio, 1.5);
    scroll-snap-align: start;
    margin: 0;
    min-width: 0;
}
.tmbd-single__gallery-photo {
    position: relative;
    display: block;
    width: 100%; height: 100%; padding: 0;
    background: transparent; color: var(--ts-white);
    border: none; cursor: zoom-in;
}
.tmbd-single__gallery-photo img {
    display: block; height: 100%; width: 100%;
    object-fit: contain; object-position: center;
    max-height: 100%; max-width: 100%;
}
.tmbd-single__gallery-zoom { position: absolute; z-index: 1; top: 16px; right: 17px; font: 500 20px/1 'Syne', sans-serif; opacity: 0; transition: opacity .22s ease; color: #fff; text-shadow: 0 1px 5px #000; }
.tmbd-single__gallery-photo:hover .tmbd-single__gallery-zoom,
.tmbd-single__gallery-photo:focus-visible .tmbd-single__gallery-zoom { opacity: 1; }
.tmbd-single__gallery-slide figcaption { position: absolute; right: 3px; bottom: 2px; font: 600 9px/1 'Syne', sans-serif; letter-spacing: .15em; color: #a79b8b; }
.tmbd-single__gallery-progress { height: 1px; background: rgba(255,255,255,.2); margin-top: 6px; overflow: hidden; }
.tmbd-single__gallery-progress > span { display: block; width: 10%; height: 100%; background: var(--ts-gold); transition: width .1s linear; }

/* Closing sections for Portfolio and Journal. */
.tmbd-single__notes { background: var(--ts-ivory); color: #201b15; padding: clamp(100px, 11vw, 175px) 0; }
.tmbd-single__notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(50px, 8vw, 135px); }
.tmbd-single__notes-grid:has(> :only-child) { grid-template-columns: minmax(0, 870px); }
.tmbd-single__note { border-top: 1px solid rgba(44,33,20,.22); padding-top: 33px; }
.tmbd-single__note .tmbd-single__eyebrow { color: #987c52; }
.tmbd-single__note h2 { margin: 30px 0 35px; font-size: clamp(50px, 5vw, 82px); }
.tmbd-single__conclusion { padding: clamp(110px, 11vw, 175px) 0; background: var(--ts-ivory); color: #201b15; }
.tmbd-single__conclusion-grid { display: grid; grid-template-columns: minmax(200px, .9fr) minmax(0, 1.1fr); gap: clamp(60px, 9vw, 130px); align-items: start; }
.tmbd-single__conclusion h2 { font-size: clamp(55px, 5.7vw, 92px); margin: 22px 0 0; }
.tmbd-single__conclusion .tmbd-single__eyebrow { color: #967c57; }
.tmbd-single__conclusion .tmbd-single__richtext { padding-top: 15px; }
.tmbd-single__related { padding: clamp(100px, 10vw, 155px) 0; background: #0c0b0a; }
.tmbd-single__related-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 50px; }
.tmbd-single__related-top h2 { margin: 14px 0 0; font-size: clamp(46px, 5.5vw, 82px); }
.tmbd-single__related-top h2 em, .tmbd-single__closing h2 em { color: var(--ts-gold-soft) !important; }
.tmbd-single__related-top > a { font: 600 10px/1.4 'Syne', sans-serif; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--ts-gold); flex: 0 0 auto; }
.tmbd-single__related-top > a span { margin-left: 14px; color: var(--ts-gold-soft); }
.tmbd-single__related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.1vw,35px); }
.tmbd-single__related-card { min-width: 0; }
.tmbd-single__related-card > a { display: block; }
.tmbd-single__related-image { display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; background: #171512; }
.tmbd-single__related-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ts-ease); }
.tmbd-single__related-card a:hover .tmbd-single__related-image img { transform: scale(1.025); }
.tmbd-single__related-no-image { color: #9d8b74; font: 600 11px/1.5 'Syne', sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.tmbd-single__related-title { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-top: 20px; color: #f4ede4; font: 400 clamp(22px, 2.4vw, 35px)/1.15 var(--sy-font-heading, 'League Spartan', sans-serif); letter-spacing: -.025em; }
.tmbd-single__related-title > span { color: var(--ts-gold); font: 500 21px/1 sans-serif; }
.tmbd-single__closing { background: var(--ts-gold); color: #100d0a; padding: clamp(110px, 12vw, 190px) 0; }
.tmbd-single__closing-inner { display: flex; flex-direction: column; align-items: start; }
.tmbd-single__closing .tmbd-single__eyebrow { color: #262015; }
.tmbd-single__closing h2 { max-width: 1050px; margin: 25px 0 47px; font-size: clamp(58px, 8vw, 130px); }
.tmbd-single__closing h2 em { color: #352818 !important; }
.tmbd-single__closing a { display: inline-flex; align-items: center; gap: 24px; padding: 15px 0 13px; border-bottom: 1px solid #1f190f; font: 600 12px/1.3 'Syne', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.tmbd-single__closing a:hover { color: #fff9ef; border-color: #fff9ef; }

/* Native lightbox / no separate image library. */
.tmbd-single__lightbox { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 18px; border: 0; background: rgba(5,5,5,.98); color: #fff; }
.tmbd-single__lightbox::backdrop { background: rgba(0,0,0,.9); }
.tmbd-single__lightbox[open] { display: flex; flex-direction: column; }
.tmbd-single__lightbox-tools { display: flex; justify-content: space-between; align-items: center; min-height: 55px; margin: 0 auto 12px; width: min(1440px,100%); }
.tmbd-single__lightbox-tools > span { font: 600 11px/1 'Syne', sans-serif; letter-spacing: .19em; color: #d8c19d; }
.tmbd-single__lightbox-body { display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; gap: 12px; align-items: center; flex: 1; min-height: 0; margin-inline: auto; width: min(1560px, 100%); }
.tmbd-single__lightbox-body > img { display: block; max-width: 100%; max-height: calc(100dvh - 110px); width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.tmbd-single__lightbox-body button { justify-self: center; }

@media (max-width: 1050px) {
    .tmbd-single__story-grid { grid-template-columns: minmax(140px,.33fr) minmax(0,1fr); gap: 55px; }
    .tmbd-single__notes-grid { gap: 45px; }
    .tmbd-single__conclusion-grid { gap: 40px; }
}
@media (max-width: 760px) {
    .tmbd-single .tmbd-single__container { width: calc(100% - 38px); }
    .tmbd-single__hero { min-height: clamp(580px, 88svh, 850px); }
    .tmbd-single .tmbd-single__hero-inner { padding-top: calc(var(--tmbd-header-h, 80px) + 34px); padding-bottom: 50px; gap: 80px; }
    .tmbd-single__hero-top { flex-wrap: wrap; font-size: 9px; }
    .tmbd-single__hero-top a { font-size: 9px; }
    .tmbd-single__hero h1 { font-size: clamp(53px, 12vw, 86px); line-height: .98; }
    .tmbd-single__hero-footer a { margin-left: 0; flex-basis: 100%; max-width: max-content; }
    .tmbd-single__story { padding: 95px 0; }
    .tmbd-single__story-grid, .tmbd-single__notes-grid, .tmbd-single__conclusion-grid { grid-template-columns: minmax(0,1fr); gap: 42px; }
    .tmbd-single__story-aside { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; }
    .tmbd-single__story-mark { font-size: 65px; }
    .tmbd-single__story-aside a { display: none; }
    .tmbd-single__story-body h2 { font-size: clamp(56px, 11vw, 80px); }
    .tmbd-single__gallery-section { --ts-gallery-h: clamp(270px, 62vw, 490px); padding: 90px 0 100px; }
    .tmbd-single__gallery-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 27px; }
    .tmbd-single__gallery-heading h2 { font-size: clamp(48px, 10vw, 70px); }
    .tmbd-single__gallery-controls { align-self: flex-end; }
    .tmbd-single__gallery-slide { max-width: 100%; }
    .tmbd-single__gallery-zoom { opacity: 1; font-size: 16px; }
    .tmbd-single__note h2, .tmbd-single__conclusion h2 { font-size: 58px; }
    .tmbd-single__related { padding: 100px 0; }
    .tmbd-single__related-top { align-items: start; flex-direction: column; gap: 16px; }
    .tmbd-single__related-grid { grid-template-columns: 1fr; gap: 38px; }
    .tmbd-single__related-image { aspect-ratio: 5/4; }
    .tmbd-single__related-title { font-size: 31px; }
    .tmbd-single__closing { padding: 110px 0; }
    .tmbd-single__closing h2 { font-size: clamp(62px, 12vw, 90px); }
    .tmbd-single__lightbox { padding: 8px; }
    .tmbd-single__lightbox-body { gap: 2px; grid-template-columns: 38px minmax(0,1fr) 38px; }
    .tmbd-single__lightbox-body button { width: 36px; height: 36px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .tmbd-single__gallery-track { scroll-behavior: auto; }
    .tmbd-single *, .tmbd-single *::before, .tmbd-single *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}


/* Sticky gallery image in the editorial story column (journal and portfolio). */
@media (min-width: 761px) {
    .tmbd-single__story-aside { display: block; min-width: 0; align-self: stretch; }
    .tmbd-single__story-aside-sticky {
        position: sticky;
        top: calc(var(--tmbd-header-h, 98px) + 22px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(19px, 2.4vw, 33px);
        max-height: calc(100svh - var(--tmbd-header-h, 98px) - 36px);
    }
    .tmbd-single__story-aside-sticky > a { margin-top: 0; }
}
.tmbd-single__story-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: min(48svh, 430px);
    overflow: hidden;
    background: #e8e0d5;
}
.tmbd-single__story-photo {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .55s ease;
    pointer-events: none;
}
.tmbd-single__story-photo.is-active { opacity: 1; }
.tmbd-single__story-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tmbd-single__partners {
    padding: clamp(90px, 10vw, 155px) 0;
    background: #14120f;
    color: #f8f3eb;
}
.tmbd-single__partners-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(45px, 8vw, 120px);
    align-items: start;
}
.tmbd-single__partners h2 {
    margin: 20px 0 0;
    font: 400 clamp(52px, 6vw, 92px)/.98 var(--sy-font-heading, 'League Spartan', sans-serif);
    letter-spacing: -.055em;
}
.tmbd-single__partners h2 em { color: var(--ts-gold-soft); font: italic 400 .82em/1.05 Georgia, serif; }
.tmbd-single__partners-content { color: #d8d0c4; overflow-wrap: anywhere; }
.tmbd-single__partners-content :is(p, ul, ol) { margin-top: 0; margin-bottom: 19px; }
.tmbd-single__partners-content a { color: var(--ts-gold-soft); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
    .tmbd-single__story-aside-sticky { display: flex; align-items: center; gap: 18px; width: 100%; }
    .tmbd-single__story-visual { width: clamp(100px, 29vw, 170px); max-height: none; }
    .tmbd-single__story-aside:has(.tmbd-single__story-visual) .tmbd-single__story-mark { display: none; }
    .tmbd-single__partners-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .tmbd-single__story-photo { transition: none; }
}


/* Portfolio: compact editorial tabs replace the separate notes section. */
.tmbd-single__story-tabs { margin: clamp(34px, 4vw, 55px) 0 42px; min-width: 0; }
.tmbd-single__story-tablist {
    display: flex; align-items: stretch; gap: clamp(14px, 2.2vw, 35px);
    border-bottom: 1px solid rgba(35, 29, 19, .2);
    overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.tmbd-single__story-tab {
    appearance: none; flex: 0 0 auto; position: relative;
    padding: 0 0 19px; border: 0; border-bottom: 2px solid transparent;
    background: transparent; color: #867a6b; text-align: left;
    font: 600 clamp(10px, .9vw, 12px)/1.5 'Syne', var(--sy-font-menu, sans-serif);
    letter-spacing: .07em; cursor: pointer; transition: color .2s, border-color .2s;
}
.tmbd-single__story-tab:hover, .tmbd-single__story-tab[aria-selected="true"] {
    color: #211b14; border-bottom-color: #a58b64;
}
.tmbd-single__story-tab:focus-visible { outline: 2px solid #a58b64; outline-offset: -3px; }
.tmbd-single__story-tabpanel { padding-top: clamp(27px, 3vw, 42px); min-height: 95px; }
.tmbd-single__story-tabpanel[hidden] { display: none !important; }
.tmbd-single__story-tabpanel :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
    .tmbd-single__story-tabs { margin-top: 25px; }
    .tmbd-single__story-tablist { gap: 22px; }
    .tmbd-single__story-tab { font-size: 10px; }
}
