/* ==========================================================================
   Eunice Tan — rebrand
   Serif: Libre Caslon Text (stand-in for Big Caslon)
   Sans:  DM Sans (stand-in for Moderat)
   ========================================================================== */

:root {
    --cream: #f8f3e8;
    --sage: #b2b7b6;
    --sage-dark: #7c8382;
    --sand: #e6c5a5;
    --clay: #cba07d;
    --ink: #000;
    --unit: 2rem;
    --gridpad: 6rem;
    --ease: cubic-bezier(.215, .61, .355, 1);
    --serif: "Libre Caslon Text", "Big Caslon", Georgia, serif;
    --sans: "DM Sans", "Moderat", Helvetica, Arial, sans-serif;
    --header-h: 8rem;
}

@media (min-width: 768px)  { :root { --unit: 3rem; --gridpad: 9rem; } }
@media (min-width: 1024px) { :root { --gridpad: 12rem; --header-h: 10rem; } }

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.6rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body.nav-open, body.lb-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.icon { width: 1.4em; height: 1.4em; flex: none; }

.wrap { width: 100%; margin: 0 auto; padding: 0 var(--unit); position: relative; }

::selection { background: var(--sand); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed; z-index: 9997; top: 0; left: 0; width: 100%;
    height: var(--header-h);
    padding: 2rem var(--unit) 0;
    pointer-events: none;
    mix-blend-mode: normal;
    color: var(--ink);
    transition: color .4s var(--ease), opacity .6s var(--ease) .3s;
}
.header > * { pointer-events: auto; }
.is-loading .header { opacity: 0; }
.header.on-dark { color: var(--cream); }
.nav-open .header.on-dark { color: var(--ink); }

.nav-toggle { display: inline-flex; align-items: center; gap: 1.4rem; font-size: 1.4rem; text-transform: lowercase; }
.nav-toggle__icon { position: relative; width: 3rem; height: 1rem; display: block; }
.nav-toggle__icon i {
    position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
    transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-toggle__icon i:nth-child(1) { top: 0; }
.nav-toggle__icon i:nth-child(2) { top: 100%; }
.nav-open .nav-toggle__icon i:nth-child(1) { top: 50%; transform: rotate(20deg); }
.nav-open .nav-toggle__icon i:nth-child(2) { top: 50%; transform: rotate(-20deg); }
.nav-toggle__text { position: relative; display: block; height: 1.6em; overflow: hidden; min-width: 8rem; }
.nav-toggle__text span { display: block; transition: transform .4s var(--ease); }
.nav-open .nav-toggle__text span { transform: translateY(-100%); }

.header__brand {
    position: absolute; top: 2rem; left: 50%; transform: translateX(-50%);
    font-family: var(--serif); font-size: 1.8rem; letter-spacing: .04em;
}
.header__sub {
    display: none; position: absolute; top: 5.5rem; left: var(--unit);
    font-family: var(--serif); font-size: 1.8rem; font-weight: 300; letter-spacing: .04556em;
}
@media (min-width: 1024px) { .header__sub { display: block; left: auto; right: var(--unit); top: 2.4rem; font-size: 1.4rem; font-style: italic; } }
.nav-open .header__sub { opacity: 0; }

/* --------------------------------------------------------------------------
   Fullscreen menu
   -------------------------------------------------------------------------- */
.nav {
    position: fixed; z-index: 9996; inset: 0; background: var(--sage);
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
    transition: clip-path .7s var(--ease), opacity .3s var(--ease), visibility 0s .7s;
    overflow-y: auto;
}
.nav-open .nav { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.nav__inner {
    min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 4rem;
    padding: calc(var(--header-h) + 2rem) var(--unit) 4rem;
}
@media (min-width: 1024px) { .nav__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.nav__list li { overflow: hidden; }
.nav__list a {
    display: inline-flex; align-items: center; gap: 1.5rem; text-transform: lowercase;
    font-size: 5.6rem; line-height: 1.1; letter-spacing: -.02564em; padding: .1em 0;
    transform: translateY(110%); transition: transform .7s var(--ease);
}
.nav-open .nav__list a { transform: none; }
.nav-open .nav__list li:nth-child(2) a { transition-delay: .05s; }
.nav-open .nav__list li:nth-child(3) a { transition-delay: .1s; }
.nav-open .nav__list li:nth-child(4) a { transition-delay: .15s; }
.nav-open .nav__list li:nth-child(5) a { transition-delay: .2s; }
.nav-open .nav__list li:nth-child(6) a { transition-delay: .25s; }
.nav__list li:nth-child(even) a { font-family: var(--serif); letter-spacing: -.00663em; }
.nav__list .icon { width: .6em; height: .6em; opacity: 0; transform: translateX(-1rem); transition: .3s var(--ease); }
.nav__list a:hover .icon { opacity: 1; transform: none; }
@media (min-width: 1024px) { .nav__list a { font-size: 7.8rem; } }

.nav__side { display: grid; gap: 3rem; font-size: 1.5rem; }
@media (min-width: 640px) { .nav__side { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.nav__side h6, .footer h6 {
    font-size: 1.3rem; font-weight: 400; text-decoration: underline; text-underline-offset: .25em; margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Splash
   -------------------------------------------------------------------------- */
.splash {
    position: relative; height: 100vh; height: 100svh; min-height: 52rem;
    background: var(--sage); overflow: hidden; color: var(--cream);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
/* Background video (YouTube, muted loop) scaled to cover */
.splash__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.splash__video iframe {
    position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
    width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh;
    transform: translate(-50%, -50%); opacity: 0; transition: opacity 1.4s var(--ease);
}
.splash__video.is-ready iframe { opacity: 1; }
.splash__video video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; pointer-events: none; background: var(--sage);
}
/* Soft even shade so the cream wordmark stays readable over the video */
.splash__shade {
    position: absolute; inset: 0; pointer-events: none;
    background: rgba(0,0,0,.22);
}
.splash__content { position: relative; z-index: 2; text-align: center; }
.splash__title { line-height: .8; text-align: center; }
.splash__title span {
    display: block; font-family: var(--serif); font-weight: 700;
    font-size: clamp(9rem, 30vw, 44rem); letter-spacing: -.04em;
    color: var(--cream); text-shadow: 0 2px 40px rgba(0,0,0,.2);
    transform: translateY(6%); opacity: 0;
    transition: opacity 1.2s var(--ease) .2s, transform 1.4s var(--ease) .2s;
}
body:not(.is-loading) .splash__title span { opacity: 1; transform: none; }
.splash__tag {
    margin-top: 2.4rem; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .2em; color: var(--cream);
    opacity: 0; transition: opacity 1s var(--ease) .8s;
}
body:not(.is-loading) .splash__tag { opacity: 1; }

.scroll-hint {
    position: absolute; z-index: 5; right: var(--unit); bottom: var(--unit);
    display: inline-flex; align-items: center; gap: 1rem; font-size: 1.6rem; color: var(--cream);
    transform: rotate(90deg); transform-origin: 100% 50%; transition: .3s var(--ease);
}
.scroll-hint:hover { color: var(--sand); }

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro { padding: var(--gridpad) 0; }
.intro__eyebrow { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3rem; }
.intro__text {
    max-width: 88rem; font-family: var(--serif); font-size: clamp(2.6rem, 3.6vw, 4.6rem);
    line-height: 1.18; letter-spacing: -.006em;
}
.intro__text em { color: var(--clay); }

/* --------------------------------------------------------------------------
   Section titles
   -------------------------------------------------------------------------- */
body { counter-reset: section; }
.section-title {
    counter-increment: section;
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap;
    padding-bottom: 2.4rem; border-bottom: 3px solid var(--ink); margin-bottom: 5rem;
}
.section-title span {
    display: flex; align-items: baseline; gap: 2rem;
    font-family: var(--serif); font-weight: 700; font-size: clamp(4.2rem, 9vw, 11rem);
    line-height: .95; letter-spacing: -.03em; text-transform: none;
}
.section-title span::before {
    content: counter(section, decimal-leading-zero);
    font-family: var(--sans); font-weight: 500; font-size: 1.6rem; letter-spacing: .1em; color: var(--clay);
    align-self: flex-start; padding-top: .8em;
}
.section-title em { font-family: var(--serif); font-size: 1.8rem; }
.section-lead { max-width: 64rem; font-size: 1.8rem; margin: -1rem 0 4rem; }

/* --------------------------------------------------------------------------
   Newsfeed-style lists
   -------------------------------------------------------------------------- */
.feed { padding: 0 0 var(--gridpad); }
.feed:first-of-type { padding-top: 0; }
.feed__row { padding: 0 var(--unit); margin-bottom: 6rem; }
@media (min-width: 768px) { .feed__row { margin-bottom: 9rem; } }
.feed__row--r { text-align: right; }
.feed__col { max-width: 100%; }
@media (min-width: 768px) {
    .feed__row { display: flex; }
    .feed__row--r { justify-content: flex-end; }
    .feed__col { max-width: 66%; }
}

.entry {
    display: block; opacity: 0; transform: translateY(5vh);
    transition: opacity .25s var(--ease), transform .6s var(--ease);
    cursor: pointer;
}
.entry.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.entry__meta { display: inline-block; padding-bottom: .25em; font-size: 2rem; line-height: 1.2; transition: .25s var(--ease); }
.entry__title {
    display: block; font-weight: 400; font-size: clamp(3.4rem, 5.6vw, 7.2rem);
    letter-spacing: -.02564em; line-height: .95; margin-bottom: .45em;
    transition: .25s var(--ease);
}
.entry__title--serif { font-family: var(--serif); letter-spacing: -.00663em; line-height: 1; }
.entry__label {
    display: inline-flex; align-items: center; gap: .8rem; font-size: 1.3rem; text-transform: uppercase;
    letter-spacing: .02em; transition: .25s var(--ease);
}
.entry__label .icon { transition: transform .3s var(--ease); }
.entry--flip .entry__label { flex-direction: row-reverse; }
.entry--flip .entry__label .icon { transform: scaleX(-1); }
.entry:hover .entry__title { color: var(--clay); }
.entry:hover .entry__label .icon { transform: translateX(.6rem); }
.entry--flip:hover .entry__label .icon { transform: scaleX(-1) translateX(.6rem); }
.entry__sub { display: block; font-size: 1.5rem; max-width: 56rem; margin-top: 1.2rem; opacity: .65; }
.feed__row--r .entry__sub { margin-left: auto; }

/* --------------------------------------------------------------------------
   Slider
   -------------------------------------------------------------------------- */
.slider { position: relative; height: 100vh; height: 100svh; min-height: 48rem; background: #111; color: var(--cream); overflow: hidden; }
.slider__title {
    position: absolute; z-index: 10; left: var(--unit); top: calc(var(--unit) * 1.4);
    font-size: 1.4rem; font-weight: 400; text-transform: uppercase; color: var(--cream);
}
.slider__counter {
    position: absolute; z-index: 10; right: var(--unit); top: calc(var(--unit) * 1.4);
    display: flex; gap: 1.6rem; font-size: 1.4rem;
}
.slider__counter button { opacity: .5; transition: opacity .3s var(--ease); padding: 0; }
.slider__counter button.is-current, .slider__counter button:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }

.slider__track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.slide.is-current { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide__art, .slide__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.55)); }
.slide__art img { transform: scale(1.06); transition: transform 6s var(--ease); }
.slide.is-current .slide__art img { transform: scale(1); }
.slide__link {
    position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 var(--unit) calc(var(--unit) * 1.5); text-align: left; width: 100%; color: inherit;
}
.slide__title-big {
    font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 5vw, 6.4rem); line-height: .95; letter-spacing: .0066em;
    max-width: 70rem; opacity: 0; transform: translateY(15%); transition: opacity .5s var(--ease) .15s, transform .8s var(--ease) .15s;
}
.slide.is-current .slide__title-big { opacity: 1; transform: none; }
.slide__sub { margin-top: 1.4rem; display: flex; gap: 2rem; align-items: center; font-size: 1.8rem; }
.slide__sub small { font-size: 1.3rem; text-transform: uppercase; display: inline-flex; gap: .6rem; align-items: center; }

.slider__sticker {
    position: fixed; z-index: 9990; left: 0; top: 0; pointer-events: none;
    display: none; align-items: center; gap: .8rem; padding: 1.2rem 1.8rem; border-radius: 999px;
    background: var(--cream); color: var(--ink); font-size: 1.3rem; text-transform: uppercase;
    transform: translate3d(-100px, -100px, 0); opacity: 0; transition: opacity .25s var(--ease);
}
.slider__sticker.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .slider__sticker { display: inline-flex; }
    .slider--hidemouse, .slider--hidemouse * { cursor: none !important; }
}

/* --------------------------------------------------------------------------
   Captures (photography)
   -------------------------------------------------------------------------- */
.captures { padding: var(--gridpad) 0; background: var(--sand); }
.masonry { column-count: 2; column-gap: 1rem; padding: 0 var(--unit); margin-top: 2rem; }
@media (min-width: 768px)  { .masonry { column-count: 3; column-gap: 1.6rem; } }
@media (min-width: 1280px) { .masonry { column-count: 4; } }
.masonry figure { margin: 0 0 1rem; break-inside: avoid; overflow: hidden; background: var(--sage); cursor: zoom-in; }
@media (min-width: 768px) { .masonry figure { margin-bottom: 1.6rem; } }
.masonry img { width: 100%; height: auto; transition: transform .8s var(--ease), opacity .6s var(--ease); opacity: 0; }
.masonry img.is-loaded { opacity: 1; }
.masonry figure:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */
.archive { padding: var(--gridpad) 0 calc(var(--gridpad) * .6); }
.archive__list li {
    display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(0,0,0,.15);
    font-family: var(--serif); font-size: clamp(2rem, 2.6vw, 3rem); line-height: 1.15;
}
.archive__list span { font-family: var(--sans); font-size: 1.3rem; opacity: .6; white-space: nowrap; align-self: center; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { padding: var(--gridpad) 0; background: var(--cream); }
.contact .section-title { margin-bottom: 6rem; }
.contact__grid { display: grid; gap: 6rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.1fr 1fr; gap: 8rem; } }
.contact__text { font-family: var(--serif); font-size: clamp(2.4rem, 3vw, 3.6rem); line-height: 1.2; max-width: 52rem; }
.contact__mail {
    display: inline-block; margin-top: 4rem; font-family: var(--serif); font-weight: 700;
    font-size: clamp(2.6rem, 4.4vw, 5.6rem); letter-spacing: -.02em; line-height: 1.05; word-break: break-word;
    border-bottom: 3px solid var(--clay); padding-bottom: .15em; transition: color .25s var(--ease);
}
.contact__mail:hover { color: var(--clay); }
.contact__copy {
    display: block; margin-top: 2.4rem; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .1em;
    text-decoration: underline; text-underline-offset: .3em;
}
.contact__form { display: grid; gap: 2.4rem; align-content: start; }
.contact__form label { display: grid; gap: .6rem; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__form input, .contact__form textarea {
    font: inherit; font-size: 1.8rem; text-transform: none; letter-spacing: 0; color: var(--ink);
    background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 1rem 0; resize: vertical;
}
.contact__form input:focus, .contact__form textarea:focus { outline: 0; border-bottom-color: var(--clay); box-shadow: 0 1px 0 var(--clay); }
.contact__send {
    justify-self: start; display: inline-flex; align-items: center; gap: 1rem; padding: 1.6rem 3rem;
    background: var(--ink); color: var(--cream); border-radius: 999px; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.contact__send:hover { background: var(--clay); color: var(--ink); }
.contact__note { font-size: 1.3rem; opacity: .6; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: var(--gridpad) 0; background: var(--sage); }
.footer__grid { display: grid; gap: 4rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr 1.2fr; } }
.footer h6 { padding-top: 2.5em; }
.footer h6:first-child { padding-top: 0; }
.footer p, .footer li { font-size: 1.5rem; }
.footer a:hover { text-decoration: underline; }
.footer__col--end { display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; }
.footer__copy { text-transform: uppercase; font-size: 1.2rem !important; }
.footer__brand { font-family: var(--serif); font-weight: 700; font-size: clamp(6rem, 9vw, 12rem); line-height: .85; letter-spacing: -.04em; color: var(--cream); }

/* --------------------------------------------------------------------------
   Hover preview (desktop)
   -------------------------------------------------------------------------- */
.peek {
    position: fixed; z-index: 50; left: 0; top: 0; width: 28rem; aspect-ratio: 16/9; pointer-events: none;
    overflow: hidden; opacity: 0; transform: translate3d(-999px, -999px, 0) scale(.95);
    transition: opacity .25s var(--ease);
    display: none;
}
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .peek { display: block; } }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lb {
    position: fixed; inset: 0; z-index: 10000; background: rgba(15, 15, 15, .96); color: var(--cream);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 7rem var(--unit) 4rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.lb.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.lb__close { position: absolute; top: 2rem; right: var(--unit); font-size: 1.4rem; text-transform: lowercase; display: inline-flex; gap: .8rem; align-items: center; }
.lb__close span { font-size: 2.4rem; line-height: 1; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 1rem 1.6rem; opacity: .6; transition: opacity .2s; }
.lb__nav:hover { opacity: 1; }
.lb__prev { left: .5rem; } .lb__next { right: .5rem; }
.lb__stage { width: min(100%, 120rem); display: flex; justify-content: center; }
.lb__stage iframe { width: 100%; aspect-ratio: 16 / 9; max-height: 52vh; border: 0; background: #000; }
.lb__stage img { max-width: 100%; max-height: 74vh; width: auto; height: auto; object-fit: contain; }
.lb__info { width: min(100%, 120rem); margin-top: 2.4rem; display: grid; gap: 1rem; }
.lb__info h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 3.4vw, 4rem); line-height: 1.05; }
.lb__info p { font-size: 1.5rem; max-width: 80rem; opacity: .8; }
.lb__info a { text-decoration: underline; text-underline-offset: .2em; color: var(--sand); }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .entry { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Splash — dlvs.nl style: solid screen with the wordmark cut out,
   video visible only through the letters
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.splash__shade { display: none; }
.splash__video video { background: transparent; }
.splash__mask {
    position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
    pointer-events: none; display: block;
}
.splash__mask > rect { fill: var(--sage); }
/* Heavy condensed capitals; size and position are set by js/main.js so the word fills the screen */
.splash__mask text {
    font-family: "Anton", "Impact", "Arial Narrow Bold", sans-serif; font-weight: 400;
    font-size: 100px; letter-spacing: 0; text-transform: uppercase;
}
@media (max-width: 640px) {
    .splash .splash__tag { font-size: 1.1rem; letter-spacing: .14em; padding: 0 var(--unit); bottom: calc(var(--unit) * 2.2); }
}
.splash .splash__tag {
    position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(var(--unit) * 1.2);
    margin: 0; text-align: center; color: var(--cream);
}


/* Inline Instagram reels in the lightbox (UOB Unframed) */
.lb__reels {
    display: flex; gap: 2rem; justify-content: center; align-items: flex-start;
    width: 100%; max-height: 72vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.lb__reels iframe {
    flex: 0 1 36rem; width: 100%; max-width: 36rem; height: 66vh; min-height: 48rem;
    aspect-ratio: auto; max-height: none; border: 0; background: #fff; border-radius: 4px;
}
@media (max-width: 720px) {
    .lb__reels { flex-direction: column; align-items: center; }
    .lb__reels iframe { flex: none; height: 62vh; min-height: 42rem; }
}


/* --------------------------------------------------------------------------
   Lightbox — custom YouTube controls (hidden by default; shown on hover,
   hidden again the moment the mouse leaves; on touch they auto-hide)
   -------------------------------------------------------------------------- */
.lb__player {
    position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 52vh; background: #000; overflow: hidden;
    margin: 0 auto;
}
.lb__player:fullscreen { max-height: none; width: 100vw; height: 100vh; aspect-ratio: auto; }
.lb__ytmount, .lb__ytmount iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb__tap { position: absolute; inset: 0; z-index: 2; background: transparent; cursor: pointer; }
.lb__ctrl {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    display: flex; align-items: center; gap: 1.4rem; padding: 3rem 1.6rem 1.4rem;
    background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0));
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.lb__player.show-ctrl .lb__ctrl { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lb__pp { width: 3.2rem; height: 3.2rem; flex: none; position: relative; color: var(--cream); }
.lb__pp::before {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 1.2rem; height: 1.6rem; border-left: .4rem solid currentColor; border-right: .4rem solid currentColor;
}
.lb__player.is-paused .lb__pp::before {
    width: 0; height: 0; border: 0; border-left: 1.4rem solid currentColor;
    border-top: .9rem solid transparent; border-bottom: .9rem solid transparent; transform: translate(-30%, -50%);
}
.lb__seek {
    flex: 1; min-width: 0; height: 2.4rem; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.lb__seek::-webkit-slider-runnable-track { height: 3px; background: rgba(248,243,232,.4); }
.lb__seek::-moz-range-track { height: 3px; background: rgba(248,243,232,.4); }
.lb__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 1.2rem; height: 1.2rem; margin-top: -.45rem; border-radius: 50%; background: var(--cream); border: 0; }
.lb__seek::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--cream); border: 0; }
.lb__time { flex: none; font-size: 1.3rem; color: var(--cream); font-variant-numeric: tabular-nums; min-width: 3.6rem; text-align: right; }
.lb__fs { flex: none; font-size: 2rem; line-height: 1; color: var(--cream); padding: 0 .4rem; }
