:root {
  --ink: #11110f;
  --ink-soft: #1c1b19;
  --paper: #f1efe9;
  --paper-deep: #e9e6df;
  --ivory: #f9f7f2;
  --gold: #c8aa73;
  --line-dark: rgba(255,255,255,.2);
  --line-light: rgba(17,17,15,.2);
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
::selection { background: var(--gold); color: var(--ink); }
.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: .75rem 1rem; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 88px; padding: 0 clamp(22px,4.6vw,88px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #fff; transition: color .35s ease, background-color .35s ease, height .35s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom,rgba(0,0,0,.35),transparent); opacity: 1; transition: opacity .35s ease; }
.site-header.is-scrolled { height: 74px; background: rgba(17,17,15,.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-light { color: var(--ink); background: rgba(241,239,233,.9); border-bottom-color: rgba(17,17,15,.08); }
.brand { position: relative; display: block; width: clamp(126px,12vw,190px); height: 34px; justify-self: start; }
.brand img { position: absolute; top: 50%; left: 0; width: 100%; height: auto; transform: translateY(-50%); transition: opacity .3s ease; }
.brand-dark { opacity: 0; }
.is-light .brand-light { opacity: 0; }
.is-light .brand-dark { opacity: 1; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem,2.5vw,3rem); }
.site-nav a, .sound-toggle { font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; text-decoration: none; }
.site-nav a { position: relative; padding: .7rem 0; opacity: .78; transition: opacity .25s ease; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; bottom: .42rem; left: 0; width: 0; height: 1px; background: currentColor; transition: width .3s ease; }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.5rem; }
.sound-toggle { display: inline-flex; align-items: center; gap: .7rem; border: 0; color: inherit; background: transparent; cursor: pointer; padding: .7rem 0; white-space: nowrap; }
.sound-indicator { width: 16px; height: 13px; display: inline-flex; align-items: end; gap: 2px; }
.sound-indicator i { width: 2px; height: 35%; background: currentColor; transition: height .35s ease, opacity .35s ease; }
.sound-indicator i:nth-child(2) { height: 85%; }
.sound-indicator i:nth-child(3) { height: 55%; }
.sound-toggle[aria-pressed="true"] .sound-indicator i { animation: audio-bar 1s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-indicator i:nth-child(2) { animation-delay: -.45s; }
.sound-toggle[aria-pressed="true"] .sound-indicator i:nth-child(3) { animation-delay: -.2s; }
@keyframes audio-bar { from { height: 20%; } to { height: 100%; } }
.menu-toggle { display: none; color: inherit; border: 0; background: transparent; padding: .55rem; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 5px 0; background: currentColor; transition: transform .3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.hero-sequence { position: relative; height: 540svh; background: #171512; }
.hero-sticky { position: sticky; top: 0; width: 100%; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.hero-video, .hero-shade, .hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: var(--focal-x,50%) center; background: #211b17 url("./assets/hero-poster.jpg") center / cover no-repeat; }
.hero-shade { z-index: 1; background: linear-gradient(90deg,rgba(0,0,0,.36),transparent 65%),linear-gradient(0deg,rgba(0,0,0,.62),transparent 36%,transparent 75%,rgba(0,0,0,.16)); pointer-events: none; }
.hero-grain { z-index: 2; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.hero-copy { position: absolute; z-index: 4; left: clamp(24px,7vw,130px); bottom: clamp(128px,17vh,210px); width: min(650px,64vw); color: #fff; opacity: 1; transform: translateY(0); will-change: transform,opacity; pointer-events: none; }
.hero-eyebrow, .eyebrow { margin: 0; font-size: .66rem; font-weight: 600; line-height: 1.6; text-transform: uppercase; letter-spacing: .23em; }
.hero-eyebrow { margin-bottom: 1.4rem; color: #f7eee1; }
.hero-copy h1 { margin: 0; max-width: 650px; font: 400 clamp(4.5rem,7.3vw,9rem)/1 var(--serif); letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 35px rgba(0,0,0,.25); }
.hero-subtitle { margin: 1.6rem 0 0; font-size: .85rem; line-height: 1.7; letter-spacing: .07em; }
.hero-bottom { position: absolute; z-index: 4; left: clamp(24px,4.6vw,88px); right: clamp(24px,4.6vw,88px); bottom: clamp(24px,4.5vh,48px); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; font-size: .62rem; text-transform: uppercase; letter-spacing: .22em; color: rgba(255,255,255,.9); }
.scroll-instruction { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.scroll-line { display: block; width: 1px; height: 32px; background: rgba(255,255,255,.72); transform-origin: top; animation: scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100% { transform: scaleY(.5); opacity:.5; } 50% { transform: scaleY(1); opacity:1; } }
.hero-count { justify-self: end; }
.hero-progress { position: absolute; z-index: 5; left: 0; bottom: 0; width: 100%; height: 2px; background: rgba(255,255,255,.18); }
.hero-progress span { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; will-change: transform; }

.section-inner { width: min(100% - clamp(44px,9.2vw,176px),1620px); margin: 0 auto; }
.dark-section { background: var(--ink); color: var(--ivory); }
.light-section { background: var(--paper); color: var(--ink); }
.eyebrow { color: var(--gold); }
.eyebrow span { display: inline-block; margin-right: .8rem; font-variant-numeric: tabular-nums; }
h2, h3, p { overflow-wrap: break-word; }
h2 { margin: 0; font: 400 clamp(4.4rem,7vw,9rem)/.88 var(--serif); letter-spacing: -.045em; }
h2 em { font-weight: 400; }

.work-section { position: relative; padding: clamp(110px,12vw,190px) 0 clamp(90px,8vw,140px); }
.work-section::before { content:""; position:absolute; top:0; left:0; right:0; height:1px; background:rgba(255,255,255,.12); }
.section-intro { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; margin-bottom: clamp(55px,7vw,110px); }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2 { max-width: 1100px; }
.section-aside { width: min(240px,100%); margin: 0 0 .5rem; color: #b9b7b1; font-size: .85rem; line-height: 1.8; }
.work-visual { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 16 / 8.7; padding: 0; border: 0; background: #30251f; color: #fff; cursor: pointer; text-align: left; }
.work-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.3),transparent 45%); pointer-events:none; }
.work-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.work-visual:hover img { transform: scale(1.035); }
.play-orbit { position: absolute; z-index: 2; inset: auto 3.5% 7% auto; display: flex; justify-content: space-between; align-items: center; width: clamp(130px,15vw,215px); aspect-ratio: 1; padding: 1.7rem; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(17,17,15,.17); backdrop-filter: blur(5px); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; transition: background .3s ease, transform .4s ease; }
.play-orbit b { font-size: 1.45rem; font-weight: 400; }
.work-visual:hover .play-orbit { background: rgba(17,17,15,.45); transform: rotate(10deg); }
.work-caption { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line-dark); margin-top: 1.4rem; }
.work-number { display:block; color:var(--gold); font-size:.62rem; letter-spacing:.2em; }
.work-caption h3 { margin: .8rem 0 0; font: 400 clamp(2rem,3vw,3.8rem)/1 var(--serif); }
.work-caption p { margin: 0; color:#bab7b0; font-size:.7rem; letter-spacing:.06em; }
.caption-separator { padding:0 .7rem; color:var(--gold); }
.work-footnote { margin: clamp(70px,9vw,130px) 0 0; padding-top: 1.2rem; border-top:1px solid var(--line-dark); color:#8d8b85; font-size:.67rem; letter-spacing:.08em; }

.studio-section { padding: clamp(110px,12vw,190px) 0 clamp(120px,13vw,210px); }
.studio-layout { display:grid; grid-template-columns: 1.14fr .86fr; gap:clamp(60px,9vw,160px); }
.studio-heading .eyebrow { margin-bottom:clamp(50px,6vw,100px); color:#8d7145; }
.studio-heading h2 { max-width:850px; }
.studio-detail { position:relative; padding-top:clamp(15px,4vw,70px); }
.studio-mark { width:38px; height:auto; margin: 0 0 2.8rem; }
.studio-detail > p { max-width:550px; margin:0 0 clamp(55px,6vw,100px); font-size:clamp(1.08rem,1.3vw,1.38rem); line-height:1.8; letter-spacing:-.02em; }
.service-list { border-top:1px solid var(--line-light); }
.service-list div { display:grid; grid-template-columns: 40px 1fr; gap:1.5rem; align-items:baseline; padding:1.1rem 0; border-bottom:1px solid var(--line-light); }
.service-list span { color:#9f8b67; font-size:.64rem; }
.service-list strong { font-size:.76rem; font-weight:500; letter-spacing:.05em; }

.process-section { padding: clamp(95px,8vw,135px) 0 clamp(125px,14vw,240px); }
.process-head { display:flex; justify-content:space-between; align-items:start; gap:3rem; padding-top:2rem; border-top:1px solid var(--line-light); }
.process-head h2 { width:min(1050px,70%); }
.process-head .eyebrow { color:#8d7145; white-space:nowrap; }
.process-list { display:grid; grid-template-columns: repeat(4,1fr); margin-top:clamp(100px,11vw,190px); border-top:1px solid var(--line-light); }
.process-list article { min-height:230px; padding:1.5rem 1.8rem 0 0; border-right:1px solid var(--line-light); }
.process-list article + article { padding-left:1.8rem; }
.process-list article:last-child { border-right:0; }
.process-list article > span { display:block; margin-bottom:3.5rem; color:#94784e; font-size:.68rem; }
.process-list h3 { margin:0 0 1rem; font:400 clamp(2.4rem,3.4vw,4.4rem)/1 var(--serif); }
.process-list p { max-width:230px; margin:0; color:#5c5a54; font-size:.73rem; line-height:1.75; }


.contact-section { padding:clamp(105px,10vw,170px) 0 0; background:#11110f; }
.contact-layout h2 { margin:clamp(75px,9vw,150px) 0 2.5rem; }
.contact-layout > p:not(.eyebrow) { margin:0; font-size:clamp(.9rem,1.2vw,1.16rem); color:#bab8b1; }
.contact-placeholder { display:flex; align-items:center; gap:2rem; width:min(640px,100%); margin:clamp(80px,10vw,160px) 0 clamp(130px,14vw,230px) auto; padding:1.3rem 0; border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); color:#bcbab3; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; }
.contact-symbol { display:grid; place-items:center; width:54px; height:54px; border:1px solid var(--gold); border-radius:50%; color:var(--gold); font-size:1.4rem; }
.footer-line { display:flex; justify-content:space-between; align-items:end; gap:2rem; min-height:100px; border-top:1px solid var(--line-dark); padding:2rem 0; color:#8f8d87; font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; }
.footer-line img { width:30px; height:auto; }

.film-dialog { width:min(92vw,1400px); max-width:none; max-height:92vh; padding:0; border:0; background:#000; color:#fff; overflow:visible; }
.film-dialog::backdrop { background:rgba(0,0,0,.9); backdrop-filter:blur(8px); }
.film-dialog video { width:100%; max-height:85vh; aspect-ratio:16/9; }
.dialog-close { position:absolute; right:0; top:-3rem; padding:.5rem 0; border:0; background:none; color:#fff; cursor:pointer; font-size:.72rem; text-transform:uppercase; letter-spacing:.16em; }

@media (max-width: 900px) {
  .site-header { grid-template-columns:1fr auto; height:76px; }
  .site-nav { position:fixed; top:76px; left:0; right:0; display:flex; flex-direction:column; align-items:stretch; gap:0; padding:1.5rem clamp(22px,4.6vw,88px) 2rem; background:rgba(17,17,15,.97); color:#fff; opacity:0; visibility:hidden; transform:translateY(-10px); transition:opacity .25s ease,transform .25s ease,visibility .25s ease; border-bottom:1px solid rgba(255,255,255,.1); }
  .site-nav.is-open { opacity:1; visibility:visible; transform:translateY(0); }
  .site-nav a { padding:1rem 0; border-bottom:1px solid rgba(255,255,255,.13); font-size:.8rem; }
  .menu-toggle { display:block; }
  .hero-sequence { height:500svh; }
  .hero-copy { width:min(700px,78vw); }
  .section-intro { grid-template-columns:1fr; }
  .section-aside { max-width:400px; width:auto; }
  .studio-layout { grid-template-columns:1fr; gap:2rem; }
  .studio-heading .eyebrow { margin-bottom:4rem; }
  .studio-detail { padding-top:1rem; max-width:620px; margin-left:auto; }
  .process-head { display:block; }
  .process-head h2 { width:100%; margin-top:4rem; }
  .process-list { grid-template-columns:repeat(2,1fr); }
  .process-list article:nth-child(2) { border-right:0; }
  .process-list article:nth-child(n+3) { border-top:1px solid var(--line-light); }
  .process-list article:nth-child(3) { padding-left:0; }
}
@media (max-width: 600px) {
  html { scroll-padding-top:4rem; }
  .site-header { height:68px; padding:0 20px; }
  .site-header.is-scrolled { height:64px; }
  .brand { width:124px; }
  .header-actions { gap:.8rem; }
  .sound-toggle { gap:.42rem; font-size:.55rem; letter-spacing:.12em; }
  .site-nav { top:68px; padding:1.2rem 22px 2rem; }
  .hero-sequence { height:460svh; }
  .hero-shade { background:linear-gradient(0deg,rgba(0,0,0,.72),transparent 55%),linear-gradient(90deg,rgba(0,0,0,.26),transparent); }
  .hero-copy { left:24px; right:24px; width:auto; bottom:clamp(130px,18svh,200px); }
  .hero-eyebrow { margin-bottom:1rem; font-size:.56rem; }
  .hero-copy h1 { font-size:clamp(3.45rem,16vw,5.8rem); line-height:1; max-width:420px; }
  .hero-subtitle { margin-top:1.2rem; max-width:270px; font-size:.68rem; }
  .hero-bottom { left:24px; right:24px; bottom:28px; grid-template-columns:1fr auto; font-size:.53rem; }
  .hero-location { display:none; }
  .scroll-instruction { justify-self:start; flex-direction:row; gap:12px; }
  .scroll-line { height:20px; }
  .section-inner { width:calc(100% - 44px); }
  h2 { font-size:clamp(3.8rem,14vw,6.2rem); }
  .work-section { padding:110px 0 95px; }
  .section-intro { gap:2rem; margin-bottom:60px; }
  .section-intro h2 { font-size:clamp(3.9rem,13.8vw,6rem); }
  .work-visual { aspect-ratio:4/5; }
  .work-visual img { object-position:68% center; }
  .play-orbit { width:112px; right:16px; bottom:16px; padding:1rem; font-size:.53rem; }
  .work-caption { display:block; }
  .work-caption p { margin-top:1.3rem; }
  .work-footnote { margin-top:75px; line-height:1.7; }
  .studio-section { padding:105px 0 120px; }
  .studio-heading .eyebrow { margin-bottom:55px; }
  .studio-detail { margin-left:0; }
  .studio-mark { width:30px; margin-bottom:2rem; }
  .studio-detail > p { font-size:1rem; line-height:1.8; margin-bottom:50px; }
  .service-list div { grid-template-columns:28px 1fr; gap:1rem; }
  .service-list strong { font-size:.68rem; }
  .process-section { padding-bottom:120px; }
  .process-head h2 { margin-top:45px; }
  .process-list { grid-template-columns:1fr; margin-top:85px; }
  .process-list article, .process-list article + article, .process-list article:nth-child(3) { min-height:0; padding:1.5rem 0 2rem; border-right:0; border-top:1px solid var(--line-light); }
  .process-list article:first-child { border-top:0; }
  .process-list article > span { margin-bottom:2rem; }
  .process-list h3 { font-size:3.3rem; }
  .contact-section { padding-top:100px; }
  .contact-layout h2 { margin:80px 0 2rem; }
  .contact-placeholder { margin:90px 0 135px; gap:1rem; line-height:1.6; }
  .contact-symbol { flex:none; width:48px; height:48px; }
  .footer-line { flex-wrap:wrap; gap:1rem; font-size:.5rem; }
  .footer-line img { width:25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .hero-sequence { height:100svh; }
  .hero-copy { opacity:1 !important; transform:none !important; }
  .hero-progress { display:none; }
}



/* The room's sound system becomes an interaction at the 67/100 pause. */
.hero-reverse { z-index: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.hero-reverse.is-active { opacity: 1; visibility: visible; }
.scene-control[hidden] { display: none !important; }
.scene-control {
  position: absolute;
  z-index: 8;
  top: 45%;
  right: clamp(54px, 12vw, 230px);
  width: 208px;
  color: #f5dfb3;
  text-align: center;
  filter: drop-shadow(0 3px 16px rgba(0,0,0,.48));
}
.scene-notes { position: relative; height: 128px; }
.music-note {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 11px;
  border: 1px solid rgba(245,223,179,.48);
  border-radius: 50%;
  background: rgba(22,18,15,.16);
  color: #f5dfb3;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
  transition: border-color .35s ease, background-color .35s ease, box-shadow .35s ease, transform .35s ease;
  animation: float-note 3.7s ease-in-out infinite;
}
.music-note svg { width: 100%; height: 100%; }
.music-note:hover, .music-note:focus-visible { border-color: #fff4dc; background: rgba(22,18,15,.45); box-shadow: 0 0 22px rgba(239,199,127,.28); transform: scale(1.08); }
.note-one { left: 2px; top: 52px; }
.note-two { left: 78px; top: 8px; animation-delay: -.9s; }
.note-three { right: 0; top: 58px; animation-delay: -1.8s; }
@keyframes float-note { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.scene-prompt {
  display: block;
  margin-top: .35rem;
  font-size: .58rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  text-shadow: 0 2px 15px rgba(0,0,0,.65);
}
.scene-control.is-night .music-note { color: #f4cb80; border-color: rgba(244,203,128,.55); background: rgba(44,27,15,.22); }
@media (max-width: 900px) {
  .scene-control { right: clamp(18px,5vw,60px); top: 46%; width: 175px; }
  .scene-notes { height: 118px; }
  .music-note { width: 48px; height: 48px; padding: 10px; }
  .note-two { left: 62px; }
}
@media (max-width: 600px) {
  .scene-control { top: 42%; right: 10px; width: 150px; }
  .scene-notes { height: 105px; }
  .music-note { width: 46px; height: 46px; }
  .note-one { left: 0; top: 45px; }
  .note-two { left: 51px; top: 4px; }
  .note-three { right: 0; top: 50px; }
  .scene-prompt { font-size: .5rem; letter-spacing: .13em; }
}


/* Keep the touch target still while only the vector note drifts. */
.music-note { animation: none; transform: none; }
.music-note:hover, .music-note:focus-visible { transform: none; }
.music-note svg { animation: float-note 3.7s ease-in-out infinite; }
.note-two svg { animation-delay: -.9s; }
.note-three svg { animation-delay: -1.8s; }


/* KEARTE's supplied gold note is the room control. */
.scene-notes { height: 120px; }
.music-note,
.scene-control.is-night .music-note {
  width: 58px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: drop-shadow(0 4px 3px rgba(0,0,0,.72)) drop-shadow(0 0 16px rgba(248,202,102,.34));
}
.music-note img,
.music-note:hover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none !important;
  animation: float-note 3.7s ease-in-out infinite;
}
.note-two img { animation-delay: -.9s; }
.note-three img { animation-delay: -1.8s; }
.music-note:hover,
.music-note:focus-visible {
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.8)) drop-shadow(0 0 22px rgba(255,222,147,.75));
}
.scene-prompt {
  display: inline-block;
  padding: .6rem .8rem;
  margin-top: .15rem;
  border: 0;
  background: rgba(16,13,11,.32);
  color: #f7e4c2;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color .3s ease, color .3s ease;
}
.scene-prompt:hover { background: rgba(16,13,11,.62); color: #fff; }
@media (max-width: 600px) {
  .scene-notes { height: 105px; }
  .music-note, .scene-control.is-night .music-note { width: 48px; height: 56px; }
}

/* Studio chroma composition. All coordinates follow the source image. */
.work-visual {
  aspect-ratio: 1672 / 941;
  cursor: default;
  isolation: isolate;
  background: #1a120c;
}
.work-visual::after {
  z-index: 2;
  background: linear-gradient(0deg,rgba(0,0,0,.22),transparent 28%);
}
.studio-scene { position: relative; width: 100%; height: 100%; aspect-ratio: 1672 / 941; }
.work-visual .studio-screen,
.work-visual .studio-art {
  position: absolute;
  display: block;
  transform: none;
  transition: none;
}
.work-visual:hover .studio-screen,
.work-visual:hover .studio-art { transform: none; }
.studio-screen { z-index: 0; object-fit: cover; }
.screen-monitor { left: 28.9%; top: 27.3%; width: 25.1%; height: 22.4%; object-position: 50% 48%; }
.screen-tv { left: 64.5%; top: 16.7%; width: 30.8%; height: 26.7%; object-position: 50% 50%; }
.screen-phone { left: 60.4%; top: 48.1%; width: 3.1%; height: 10.3%; object-position: 57% 50%; }
.work-visual .studio-art { z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.screen-hit { position: absolute; z-index: 3; display: block; padding: 0; border: 0; background: transparent; cursor: pointer; }
.screen-hit:hover, .screen-hit:focus-visible { outline: 2px solid rgba(243,213,155,.86); outline-offset: -2px; }
.hit-monitor { left: 28.9%; top: 27.3%; width: 25.1%; height: 22.4%; }
.hit-tv { left: 64.5%; top: 16.7%; width: 30.8%; height: 26.7%; }
.hit-phone { left: 60.4%; top: 48.1%; width: 3.1%; height: 10.3%; min-width: 20px; }
.work-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.5rem; }
.screen-selector { display: flex; align-items: center; gap: clamp(.8rem,2vw,2rem); }
.screen-selector button,
.work-play {
  padding: .85rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #aaa69e;
  cursor: pointer;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  transition: color .3s ease, border-color .3s ease;
}
.screen-selector button:hover,
.screen-selector button.is-active,
.work-play:hover { color: #f5e8cf; border-color: var(--gold); }
.work-play { color: var(--ivory); border-color: rgba(255,255,255,.35); }
.work-play span { display: inline-block; margin-left: 1rem; color: var(--gold); font-size: 1.05rem; }
@media (max-width: 600px) {
  .work-visual { aspect-ratio: 4 / 5; }
  .studio-scene { position: absolute; width: 760px; height: auto; transition: left .75s cubic-bezier(.22,.7,.1,1), top .75s cubic-bezier(.22,.7,.1,1), width .75s cubic-bezier(.22,.7,.1,1); }
  .work-actions { display: block; margin-top: 1.5rem; }
  .screen-selector { justify-content: space-between; gap: .35rem; }
  .screen-selector button { font-size: .54rem; letter-spacing: .06em; }
  .work-play { margin-top: 1.2rem; }
  .work-caption p { line-height: 1.6; }
}

.work-visual .screen-monitor { left: 28.9%; top: 27.3%; width: 25.1%; height: 22.4%; object-position: 50% 48%; }
.work-visual .screen-tv { left: 64.5%; top: 16.7%; width: 30.8%; height: 26.7%; object-position: 50% 50%; }
.work-visual .screen-phone { left: 60.4%; top: 48.1%; width: 3.1%; height: 10.3%; object-position: 57% 50%; }


/* The film viewer opens from the selected screen with a restrained fade and scale. */
.film-dialog {
  opacity: 0;
  transform: translate3d(0,22px,0) scale(.935);
  transition: opacity .42s ease, transform .64s cubic-bezier(.2,.75,.18,1);
  will-change: transform, opacity;
}
.film-dialog.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.film-dialog::backdrop {
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0);
  transition: background-color .48s ease, backdrop-filter .48s ease;
}
.film-dialog.is-visible::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(8px); }
.film-dialog video { opacity: .38; transition: opacity .5s ease .08s; }
.film-dialog.is-visible video { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .film-dialog, .film-dialog::backdrop, .film-dialog video { transition: none !important; }
}


/* Google Drive films keep the same modal entrance as the local preview. */
.film-dialog { background-color: #0e0d0b; background-position: center; background-size: cover; }
.film-dialog video[hidden], .film-dialog iframe[hidden] { display: none !important; }
.film-dialog iframe {
  width: 100%;
  max-height: 85vh;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0e0d0b;
  opacity: 0;
  transition: opacity .55s ease;
}
.film-dialog iframe.is-ready { opacity: 1; }
.work-visual .studio-screen { transition: opacity .35s ease; }


/* Selected work is the studio itself: full-bleed image, copy and controls on top. */
.work-section { padding: 0; }
.work-section::before { z-index: 7; }
.work-feature { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.work-visual { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.work-visual::after { display: none; }
.studio-scene { position: absolute; width: 100%; height: auto; aspect-ratio: 1672 / 941; }
.work-visual .studio-art { z-index: 1; transition: opacity .7s ease; }
.work-visual .studio-screen { z-index: 2; }
.studio-ambient { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .65s ease; pointer-events: none; }
.studio-scene.is-playing .studio-ambient { opacity: 1; }
.studio-scene.is-playing .studio-art { opacity: 0; }
.work-scrim { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg,rgba(7,7,6,.58) 0%,rgba(7,7,6,.12) 56%,rgba(7,7,6,.04) 100%),linear-gradient(0deg,rgba(8,8,7,.82) 0%,transparent 35%,transparent 64%,rgba(8,8,7,.36) 100%); }
.work-content { position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 100vh; min-height: 100svh; padding: clamp(126px,15vh,190px) clamp(26px,4.6vw,88px) clamp(32px,5vh,60px); pointer-events: none; }
.work-content .section-intro { display: block; max-width: 920px; margin: 0; }
.work-content .section-intro .eyebrow { margin-bottom: clamp(1.5rem,3vh,3rem); color: #edd3a7; }
.work-content .section-intro h2 { font-size: clamp(4.4rem,7vw,8.7rem); text-shadow: 0 4px 30px rgba(0,0,0,.22); }
.work-content .section-aside { margin: clamp(1.25rem,3vh,2.5rem) 0 0; color: rgba(255,255,255,.85); width: auto; max-width: 370px; }
.work-content-bottom { display: flex; justify-content: space-between; align-items: end; gap: 3rem; width: 100%; }
.work-content .work-caption { display: block; min-width: 0; margin: 0; padding: 0; border: 0; }
.work-content .work-caption h3 { margin: .4rem 0 0; font-size: clamp(1.7rem,2.3vw,3rem); }
.work-content .work-caption p { margin: .8rem 0 0; color: rgba(255,255,255,.78); }
.work-content .work-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; margin: 0; }
.work-content .screen-selector, .work-content .work-play { pointer-events: auto; }
.work-content .screen-selector button { color: rgba(255,255,255,.76); }
.work-content .screen-selector button:hover, .work-content .screen-selector button.is-active { color: #fff; }
.work-content .work-play { color: #fff; }
.studio-lights-toggle[hidden] { display: none !important; }
.studio-lights-toggle { position: absolute; z-index: 6; top: clamp(110px,13vh,155px); right: clamp(26px,4.6vw,88px); display: inline-flex; gap: .7rem; align-items: center; padding: .75rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.54); background: transparent; color: #fff; cursor: pointer; font-size: .64rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; text-shadow: 0 2px 8px #000; }
.lights-indicator { display: inline-block; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 0 12px rgba(255,255,255,.45); }
.studio-lights-toggle[aria-pressed="true"] .lights-indicator { background: #f5d598; box-shadow: 0 0 16px #f5d598; }
@media (max-width: 900px) {
  .work-content .section-intro { max-width: 70%; }
  .work-content .section-intro h2 { font-size: clamp(3.6rem,8vw,6.6rem); }
  .work-content-bottom { align-items: start; }
}
@media (max-width: 600px) {
  .work-feature, .work-content { min-height: 100svh; }
  .work-content { padding: 116px 22px 28px; }
  .work-content .section-intro { max-width: 100%; }
  .work-content .section-intro .eyebrow { margin-bottom: 1.35rem; }
  .work-content .section-intro h2 { font-size: clamp(3.55rem,13.5vw,5.2rem); line-height: .87; }
  .work-content .section-aside { margin-top: 1.35rem; max-width: 250px; font-size: .72rem; line-height: 1.65; }
  .work-content-bottom { display: block; }
  .work-content .work-caption { margin-bottom: 1.2rem; }
  .work-content .work-caption h3 { font-size: 1.95rem; }
  .work-content .work-caption p { margin-top: .45rem; font-size: .65rem; }
  .work-content .work-actions { display: block; width: 100%; }
  .work-content .screen-selector { width: 100%; }
  .work-content .work-play { margin-top: .7rem; padding-bottom: .4rem; }
  .studio-lights-toggle { top: 72px; right: 22px; font-size: .54rem; }
  .work-scrim { background: linear-gradient(0deg,rgba(5,5,5,.9) 0%,rgba(5,5,5,.12) 40%,rgba(5,5,5,.45) 70%,rgba(5,5,5,.8) 100%); }
}



/* The still image holds the room between occasional full-frame films. */
.work-visual { background: #130f0c; }
.studio-scene { transition: left .85s cubic-bezier(.22,.7,.1,1), top .85s cubic-bezier(.22,.7,.1,1), width .85s cubic-bezier(.22,.7,.1,1); }
.work-visual .studio-art { transition: opacity .75s ease; }
.studio-art-day { opacity: 0; }
.studio-scene[data-lights="on"] .studio-art-day { opacity: 1; }
.studio-scene.is-playing .studio-art { opacity: 0; }
.studio-scene.is-playing .studio-ambient { opacity: 1; }
.work-visual .studio-screen, .screen-hit { transition: left 5.05s linear, top 5.05s linear, width 5.05s linear, height 5.05s linear, opacity .35s ease; }
.studio-scene[data-lights="on"] .screen-monitor, .studio-scene[data-lights="on"] .hit-monitor { left: 28.6%; top: 27.3%; width: 25.5%; height: 22.9%; }
.studio-scene[data-lights="on"] .screen-tv, .studio-scene[data-lights="on"] .hit-tv { left: 65.6%; top: 17.0%; width: 29.8%; height: 26.5%; }
.studio-scene[data-lights="on"] .screen-phone, .studio-scene[data-lights="on"] .hit-phone { left: 61.1%; top: 48.25%; width: 2.8%; height: 9.25%; }
.studio-scene:not(.is-light-transition) .studio-screen, .studio-scene:not(.is-light-transition) .screen-hit { transition-duration: .7s, .7s, .7s, .7s, .35s; }
.studio-lights-toggle { transition: color .3s ease, border-color .3s ease, transform .35s ease; }
.studio-lights-toggle:hover { color: #f5d598; border-color: #f5d598; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .studio-scene, .studio-ambient, .work-visual .studio-art, .work-visual .studio-screen, .screen-hit { transition: none !important; }
}


/* The work scene occupies one complete viewport when entered from navigation. */
html { scroll-padding-top: 0; }
section[id]:not(#work):not(#home) { scroll-margin-top: 5rem; }
@media (max-width: 600px) { section[id]:not(#work):not(#home) { scroll-margin-top: 4rem; } }

@media (max-width: 600px) and (max-height: 600px) {
  .work-content { padding-top: 90px; padding-bottom: 18px; }
  .work-content .section-intro h2 { font-size: clamp(3.05rem,12vw,3.45rem); }
  .work-content .section-aside { margin-top: .85rem; }
  .work-content .work-caption { margin-bottom: .65rem; }
  .work-content .work-caption h3 { font-size: 1.65rem; }
  .work-content .work-play { margin-top: .3rem; }
}




/* Films sit behind the keyed room. Only the nighttime studio is used. */
.work-visual .studio-screen { z-index: 0; pointer-events: none; background: #0e0b09; object-fit: cover; }
.work-visual .screen-monitor { left: 28.65%; top: 27.1%; width: 25.5%; height: 22.9%; }
.work-visual .screen-tv { left: 64.35%; top: 16.5%; width: 31.1%; height: 27.3%; }
.work-visual .screen-phone { left: 60.25%; top: 47.9%; width: 3.4%; height: 10.6%; }
.studio-ambient { z-index: 1; }
.work-visual .studio-art { z-index: 2; }
.studio-scene.is-playing .studio-art { opacity: 0; }
.work-content { justify-content: flex-end; padding-bottom: clamp(48px,8vh,110px); }
.work-content .section-intro { max-width: 760px; }
.work-content .section-intro .eyebrow { margin-bottom: 1.25rem; }
.work-content .section-intro h2 { font-size: clamp(4.4rem,7.1vw,8rem); }
.work-content .section-aside { margin-top: 1.7rem; }
.work-scrim { background: linear-gradient(0deg,rgba(4,4,3,.88) 0%,rgba(4,4,3,.49) 30%,transparent 68%),linear-gradient(90deg,rgba(6,5,4,.22),transparent 62%); }
@media (max-width: 600px) {
  .work-content { padding: 100px 22px 48px; }
  .work-content .section-intro h2 { font-size: clamp(3.45rem,13vw,5.4rem); }
  .work-content .section-aside { margin-top: 1rem; max-width: 280px; }
  .work-scrim { background: linear-gradient(0deg,rgba(4,4,3,.92) 0%,rgba(4,4,3,.53) 34%,transparent 66%); }
}
@media (max-width: 600px) and (max-height: 600px) {
  .work-content { padding-top: 82px; padding-bottom: 30px; }
  .work-content .section-intro h2 { font-size: clamp(3.1rem,12vw,3.7rem); }
}


/* The contact form is the clapperboard. The film resolves as it closes. */
.contact-section { padding: 0; background: #0a0908; }
.contact-stage { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #0b0a08; }
.contact-film-reveal { position: absolute; inset: -30px; z-index: 0; pointer-events: none; filter: blur(var(--scene-blur)) brightness(var(--scene-brightness)) saturate(.88); transition: filter 1.2s cubic-bezier(.22,.75,.12,1); }
.contact-film-reveal video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-film-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,rgba(5,5,4,.24),transparent 55%,rgba(5,5,4,.20)),linear-gradient(0deg,rgba(5,5,4,.38),transparent 35%); transition: opacity 1s ease; }
.contact-stage.is-recording .contact-film-shade,.contact-stage.is-submitted .contact-film-shade { opacity: .38; }
.contact-stage-inner { position: relative; z-index: 2; display: grid; place-items: center; width: min(100% - 48px,1500px); min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: clamp(124px,14vh,180px) 0 clamp(66px,8vh,100px); }
.contact-board { position: relative; display: block; width: min(650px,100%); margin: 0; padding: 41px 0 0; color: #efece5; filter: drop-shadow(0 32px 55px rgba(0,0,0,.4)); transition: opacity .55s ease, transform .75s cubic-bezier(.2,.75,.15,1); }
.clapper-hinge { position: absolute; z-index: 5; left: 5px; top: 32px; width: 17px; height: 17px; border: 3px solid #d9c8aa; border-radius: 50%; background: #12100d; box-shadow: 0 1px 6px #000; }
.clapper-top { position: absolute; z-index: 4; top: 0; left: 0; width: 100%; height: 42px; border: 2px solid #eee6d7; border-radius: 2px 2px 0 0; background: #161512; transform-origin: 13px 100%; transform: rotate(var(--clapper-angle)); transition: transform 1.1s cubic-bezier(.18,.76,.18,1); box-shadow: 0 5px 14px rgba(0,0,0,.45); }
.clapper-stripes { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(58deg,#ece5d8 0 24px,#151410 24px 47px); }
.contact-board-body { position: relative; padding: clamp(26px,3vw,39px) clamp(25px,3.4vw,46px) 25px; border: 2px solid #ddd4c4; border-top-width: 3px; background: rgba(12,11,9,.87); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.contact-board-meta { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 11px; border-bottom: 1px solid rgba(233,222,202,.55); color: #ead7b8; font-size: .57rem; font-weight: 600; letter-spacing: .18em; }
.contact-progress { margin: 25px 0 20px; }
.contact-progress-top { display: flex; justify-content: space-between; gap: 1rem; color: #dfc499; font-size: .57rem; font-weight: 600; letter-spacing: .19em; }
.contact-progress-track { height: 1px; margin-top: 10px; background: rgba(255,255,255,.3); overflow: hidden; }
.contact-progress-track span { display: block; width: 100%; height: 100%; background: #e3ba78; transform: scaleX(0); transform-origin: left; transition: transform .72s cubic-bezier(.22,.7,.1,1); }
.contact-field { display: block; margin: 0 0 16px; padding: 0 0 8px; border-bottom: 1px solid rgba(255,255,255,.25); transition: border-color .3s ease; }
.contact-field:focus-within { border-color: #deb879; }
.contact-field > span { display: flex; gap: 15px; margin-bottom: 5px; color: #e8e0d3; font-size: .57rem; font-weight: 600; letter-spacing: .16em; }
.contact-field b { color: #c7a670; font-weight: 600; }
.contact-field input,.contact-field select,.contact-field textarea { display: block; width: 100%; min-height: 28px; padding: 3px 0; border: 0; outline: 0; background: transparent; color: #fff; font: 400 clamp(.98rem,1.2vw,1.16rem)/1.45 var(--sans); letter-spacing: -.015em; resize: vertical; }
.contact-field input::placeholder,.contact-field textarea::placeholder { color: rgba(245,239,229,.49); }
.contact-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23d8bd91' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 15px; }
.contact-field select:invalid { color: rgba(245,239,229,.49); }
.contact-field select option { background: #171511; color: #fff; }
.contact-field textarea { min-height: 47px; max-height: 150px; }
.contact-field-message { margin-bottom: 18px; }
.contact-action { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 18px; border: 1px solid #dbbb85; background: #dbbb85; color: #16130e; cursor: pointer; font-size: .68rem; font-weight: 600; letter-spacing: .2em; transition: background .3s ease,transform .3s ease; }
.contact-action:hover { background: #f1d9ad; transform: translateY(-2px); }
.contact-action span:last-child { font-size: 1.4rem; font-weight: 400; line-height: 1; }
.contact-preview-note { display: block; margin: 12px 0 0; color: #c1b6a7; font-size: .52rem; letter-spacing: .14em; line-height: 1.5; }
.contact-rec[hidden],.contact-success[hidden],.contact-board[hidden] { display: none !important; }
.contact-rec { position: absolute; z-index: 4; top: clamp(95px,11vh,130px); right: clamp(26px,5vw,100px); display: flex; gap: .45rem; align-items: center; color: #fff; font-size: .63rem; font-weight: 600; letter-spacing: .16em; text-shadow: 0 2px 8px #000; }
.contact-rec span { color: #e05c48; animation: rec-pulse .85s steps(1) infinite; }
@keyframes rec-pulse { 50% { opacity: .2; } }
.contact-stage.is-recording .contact-board { opacity: 0; transform: translateY(26px) scale(.98); pointer-events: none; }
.contact-success { display: flex; flex-direction: column; justify-content: center; width: min(650px,100%); min-height: 420px; padding: clamp(30px,4vw,60px); border: 2px solid #ddd4c4; background: rgba(12,11,9,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: contact-success-in .7s ease both; }
@keyframes contact-success-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.contact-success-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 32px; border: 1px solid #d8b47a; border-radius: 50%; color: #d8b47a; font-size: 1.3rem; }
.contact-success-kicker { margin: 0 0 18px; color: #d9bb8e; font-size: .6rem; letter-spacing: .22em; }
.contact-success h3 { margin: 0; font: 400 clamp(3.8rem,5vw,6.5rem)/.9 var(--serif); letter-spacing: -.04em; }
.contact-success > p:not(.contact-success-kicker) { max-width: 430px; margin: 25px 0 10px; font-size: .72rem; line-height: 1.7; letter-spacing: .12em; }
.contact-reset { align-self: start; margin-top: 36px; padding: 10px 0; border: 0; border-bottom: 1px solid #d8b47a; background: transparent; color: #efe7dc; cursor: pointer; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-reset span { margin-left: 18px; color: #d8b47a; }
.contact-section > .footer-line { position: relative; z-index: 2; width: min(100% - clamp(44px,9.2vw,176px),1620px); margin: 0 auto; }
@media (max-width: 600px) {
  .contact-film-reveal video { object-position: 50% center; }
  .contact-stage-inner { width: calc(100% - 34px); padding: 122px 0 65px; }
  .contact-board { width: 100%; }
  .contact-board-body { padding: 24px 20px 20px; }
  .contact-progress { margin: 20px 0 18px; }
  .contact-field { margin-bottom: 17px; }
  .contact-rec { top: 72px; right: 20px; font-size: .52rem; }
  .contact-section > .footer-line { width: calc(100% - 34px); }
}
@media (max-width: 360px) {
  .contact-board-meta,.contact-field > span { font-size: .51rem; letter-spacing: .12em; }
  .contact-board-body { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-film-reveal,.clapper-top,.contact-progress-track span,.contact-board,.contact-film-shade { transition: none !important; }
  .contact-rec span { animation: none; }
}

/* === Real clapperboard (slate). Each form field is a slate box. === */
.contact-board.slate { --paint: rgba(244,241,234,.9); width: min(740px,100%); padding: 0; filter: drop-shadow(0 42px 60px rgba(0,0,0,.55)) drop-shadow(0 8px 14px rgba(0,0,0,.45)); transition: opacity .5s ease, transform .7s cubic-bezier(.2,.75,.15,1); }
.contact-stage.is-recording .contact-board.slate { transition: none; opacity: 0; transform: none; animation: slate-vanish .42s cubic-bezier(.55,0,.2,1) .16s both; }
.slate-sticks { position: relative; height: 86px; }
.slate-stick { position: absolute; left: 0; right: 0; height: 40px; overflow: hidden; border-radius: 4px 4px 2px 2px; background:
  linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 38%, rgba(0,0,0,.28)),
  linear-gradient(90deg, #0e0e0e 0 40px, transparent 40px),
  repeating-linear-gradient(118deg, #f3f1eb 0 30px, #0e0e0e 30px 60px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.55), 0 3px 7px rgba(0,0,0,.55); }
.slate-base { bottom: 0; border-radius: 3px 3px 0 0; background:
  linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 38%, rgba(0,0,0,.3)),
  linear-gradient(90deg, #0e0e0e 0 40px, transparent 40px),
  repeating-linear-gradient(62deg, #f3f1eb 0 30px, #0e0e0e 30px 60px); }
.slate-clap { bottom: 44px; z-index: 2; transform-origin: 20px calc(100% + 2px); transform: rotate(var(--clapper-angle)); transition: transform 1.1s cubic-bezier(.18,.76,.18,1); }
.contact-stage.is-recording .slate-clap { transition: transform .14s cubic-bezier(.7,0,1,.55); }
.slate-hinge { position: absolute; z-index: 3; left: 8px; bottom: 30px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff, #c9c9c7 32%, #77777a 68%, #2b2b2c); box-shadow: 0 2px 5px rgba(0,0,0,.75), inset 0 -1px 2px rgba(0,0,0,.5); }
.slate-hinge::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #3b3b3c; transform: rotate(-35deg); box-shadow: 0 1px 0 rgba(255,255,255,.4); }
.slate-body { position: relative; padding: 16px 16px 14px; border-radius: 2px 2px 12px 12px; color: #f4f1ea; background:
  radial-gradient(120% 55% at 18% 0%, rgba(255,255,255,.08), transparent 60%),
  radial-gradient(38% 22% at 76% 58%, rgba(255,255,255,.045), transparent 70%),
  radial-gradient(28% 18% at 22% 82%, rgba(255,255,255,.035), transparent 70%),
  linear-gradient(165deg, #1d1d1c, #0b0b0b 55%, #161615);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.05), inset 0 -10px 26px rgba(0,0,0,.65); }
.slate-body::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .16; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.slate-grid { position: relative; margin: 1px; outline: 1px solid var(--paint); }
.slate-row { display: grid; }
.slate-row-3 { grid-template-columns: 1.3fr 1.5fr 1fr; }
.slate-row-2 { grid-template-columns: 1.7fr 1fr; }
.slate-cell { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 78px; padding: 9px 13px 7px; box-shadow: 0 0 0 1px var(--paint); cursor: text; transition: background .3s ease; }
.slate-cell:focus-within { background: rgba(255,255,255,.045); }
.slate-prod, .slate-date { cursor: default; }
.slate-label { font: 600 .74rem/1 "Barlow Condensed", var(--sans); letter-spacing: .16em; color: var(--paint); }
.slate-label em { margin-left: .5em; font-style: normal; font-weight: 500; letter-spacing: .08em; text-transform: lowercase; opacity: .42; }
.slate-chalk, .slate-cell input, .slate-cell select, .slate-cell textarea { font: 400 clamp(1.45rem,2.2vw,1.9rem)/1.15 "Patrick Hand", cursive; color: #fff; letter-spacing: .02em; }
.slate-chalk { display: block; margin-top: auto; padding-top: 6px; }
.slate-chalk small { font-size: .62em; opacity: .55; margin-left: .3em; }
.slate-prod { min-height: 70px; }
.slate-prod .slate-chalk { font-size: clamp(1.7rem,2.8vw,2.3rem); letter-spacing: .06em; }
.slate-cell input, .slate-cell select, .slate-cell textarea { display: block; width: 100%; margin-top: auto; padding: 6px 0 0; border: 0; outline: 0; background: transparent; resize: none; }
.slate-cell input::placeholder, .slate-cell textarea::placeholder { color: rgba(255,255,255,.2); text-shadow: none; }
.slate-cell select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23f4f1ea' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px bottom 10px / 14px; }
.slate-cell select:invalid { color: rgba(255,255,255,.2); text-shadow: none; }
.slate-cell select option { background: #141414; color: #fff; font: 400 1rem var(--sans); }
.slate-notes { min-height: 96px; }
.slate-notes textarea { min-height: 58px; line-height: 1.1; }
.slate-foot { display: flex; align-items: center; gap: 22px; padding: 14px 2px 0; }
.slate-tags { display: flex; gap: 14px; font: 600 .7rem/1 "Barlow Condensed", var(--sans); letter-spacing: .14em; color: rgba(244,241,234,.55); }
.slate-tags span { white-space: nowrap; }
.slate-tags b { display: inline-block; padding: 3px 6px; margin: -3px 0; border: 1.5px solid rgba(251,250,246,.85); border-radius: 50%; color: #fbfaf6; font-weight: 600; transform: rotate(-3deg); }
.slate .contact-progress { flex: 1; min-width: 90px; margin: 0; }
.slate .contact-progress-top { color: rgba(244,241,234,.7); font: 600 .68rem/1 "Barlow Condensed", var(--sans); letter-spacing: .16em; }
.slate .contact-progress-track { height: 2px; margin-top: 7px; background: rgba(255,255,255,.15); }
.slate .contact-progress-track span { background: #f4f1ea; }
.slate .contact-action { width: auto; flex: none; gap: 16px; padding: 12px 20px; border: 2px solid #f4f1ea; border-radius: 3px; background: transparent; color: #f4f1ea; font: 700 .95rem/1 "Barlow Condensed", var(--sans); letter-spacing: .32em; }
.slate .contact-action:hover { background: #f4f1ea; color: #0d0d0d; transform: translateY(-1px); }
.slate .contact-action:disabled { opacity: .6; cursor: default; }
.slate .contact-action span:last-child { font-size: 1.15rem; letter-spacing: 0; }
.slate .contact-preview-note { margin: 12px 2px 0; color: rgba(244,241,234,.42); font: 500 .66rem/1.4 "Barlow Condensed", var(--sans); letter-spacing: .16em; }
@media (max-width: 700px) {
  .slate-sticks { height: 70px; }
  .slate-stick { height: 32px; }
  .slate-clap { bottom: 36px; }
  .slate-hinge { width: 22px; height: 22px; bottom: 24px; left: 7px; }
  .slate-body { padding: 12px 10px 12px; }
  .slate-row-3 { grid-template-columns: 1fr 1fr; }
  .slate-scene { grid-column: 1 / -1; order: -1; }
  .slate-row-2 { grid-template-columns: 1.4fr 1fr; }
  .slate-cell { min-height: 68px; padding: 8px 10px 6px; }
  .slate-foot { flex-wrap: wrap; gap: 14px; }
  .slate-tags { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .slate-clap, .contact-board.slate { transition: none !important; } }
/* Slate v2: 2-column rows, clearer labels, missing-field marks. */
.slate-row-top { grid-template-columns: 1.7fr 1fr; }
.slate-row-half { grid-template-columns: 1fr 1fr; }
.slate-label { font-size: .82rem; letter-spacing: .14em; }
.slate-label em { opacity: .6; }
.slate-cell input::placeholder, .slate-cell textarea::placeholder { color: rgba(255,255,255,.34); }
.slate-cell select:invalid { color: rgba(255,255,255,.34); }
.slate-cell.is-missing { background: rgba(224,92,72,.12); }
.slate-cell.is-missing .slate-label { color: #ff8f7c; }
.contact-status-error, .slate .contact-preview-note[data-error="true"] { color: #ff8f7c; }
@media (max-width: 700px) { .slate-row-half { grid-template-columns: 1fr; } .slate-row-top { grid-template-columns: 1.4fr 1fr; } }
/* Magic vanish after the clap + gold dust canvas. */
@keyframes slate-vanish {
  0% { opacity: 1; transform: scale(1); filter: drop-shadow(0 42px 60px rgba(0,0,0,.55)); }
  18% { opacity: 1; transform: scale(1.012) translateY(2px); filter: brightness(1.6) drop-shadow(0 0 30px rgba(255,236,200,.55)); }
  100% { opacity: 0; transform: scale(1.09); filter: brightness(4) blur(16px) drop-shadow(0 0 60px rgba(255,236,200,.8)); }
}
.slate-dust { position: fixed; inset: 0; z-index: 60; width: 100vw; height: 100vh; pointer-events: none; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .contact-stage.is-recording .contact-board.slate { animation: none; } }
/* Phone screen: the keyed hole covers the whole phone, so the video gets a black bezel. */
.work-visual .screen-phone { left: 60.29%; top: 47.93%; width: 3.29%; height: 10.73%; box-sizing: border-box; border: clamp(2px,.2vw,5px) solid #050505; border-top-width: clamp(3px,.3vw,7px); border-bottom-width: clamp(3px,.3vw,7px); border-radius: clamp(4px,.45vw,10px); background: #050505; }
/* Slate v3: smaller, always fits one screen so the contact film is never cropped by scrolling. */
.contact-stage-inner { padding: clamp(78px,10vh,112px) 0 clamp(22px,4vh,46px); }
.contact-board.slate { width: min(600px, 100%, calc((100svh - 150px) * 1.28)); }
.slate-sticks { height: 68px; }
.slate-stick { height: 31px; }
.slate-clap { bottom: 35px; }
.slate-hinge { width: 22px; height: 22px; bottom: 24px; left: 7px; }
.slate-body { padding: 12px 12px 11px; }
.slate-cell { min-height: 60px; padding: 7px 12px 5px; }
.slate-prod { min-height: 58px; }
.slate-label { font-size: .72rem; }
.slate-chalk, .slate-cell input, .slate-cell select, .slate-cell textarea { font-size: clamp(1.2rem,1.6vw,1.5rem); }
.slate-prod .slate-chalk { font-size: clamp(1.45rem,2.1vw,1.8rem); }
.slate-notes { min-height: 72px; }
.slate-notes textarea { min-height: 38px; }
.slate-foot { padding-top: 10px; gap: 16px; }
.slate .contact-action { padding: 10px 16px; font-size: .85rem; }
.slate .contact-preview-note { margin-top: 8px; }
@media (max-height: 720px) and (min-width: 701px) { .slate-tags { display: none; } .slate-cell { min-height: 54px; } }

/* === Scroll steps: 02 What we do and 03 Process. Title on the left changes while scrolling. === */
.studio-section.steps-section, .process-section.steps-section { position: relative; height: calc(var(--steps) * 70vh + 30vh); padding: 0; }
.process-section.steps-section { background: var(--paper-deep); border-top: 1px solid rgba(17,17,15,.12); }
.steps-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; box-sizing: border-box; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(50px,8vw,150px); width: min(100% - clamp(44px,9.2vw,176px),1620px); margin: 0 auto; padding: 90px 0 40px; }
.steps-left .eyebrow { margin-bottom: 2rem; color: #8d7145; }
.steps-lead { margin: 0 0 1.2rem; font: italic 400 clamp(1.2rem,1.7vw,1.7rem)/1.3 var(--serif); color: rgba(17,17,15,.6); }
.steps-title { min-height: 1.9em; font-size: clamp(3.4rem,6vw,7.5rem); line-height: .95; transition: opacity .25s ease, transform .25s ease; }
.steps-title.is-changing { opacity: 0; transform: translateY(14px); }
.steps-count { margin: 2rem 0 0; color: #8d7145; font-size: .7rem; letter-spacing: .22em; font-variant-numeric: tabular-nums; }
.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(17,17,15,.14); }
.steps-item { display: grid; grid-template-columns: 3rem 1fr; padding: 1rem 0; border-bottom: 1px solid rgba(17,17,15,.14); opacity: .35; cursor: pointer; transition: opacity .4s ease; }
.steps-item:hover { opacity: .7; }
.steps-item.is-active { opacity: 1; }
.steps-num { padding-top: .5rem; color: #8d7145; font-size: .68rem; letter-spacing: .18em; }
.steps-item h3 { margin: 0; font: 400 clamp(1.3rem,1.8vw,1.9rem)/1.15 var(--serif); }
.steps-item p { max-height: 0; margin: 0; overflow: hidden; opacity: 0; color: rgba(17,17,15,.72); font-size: .95rem; line-height: 1.6; transition: max-height .5s ease, opacity .4s ease, margin .4s ease; }
.steps-item.is-active p { max-height: 8em; margin-top: .5rem; opacity: 1; }
@media (max-width: 900px) {
  .steps-sticky { grid-template-columns: 1fr; align-content: center; gap: 26px; padding: 84px 0 24px; }
  .steps-left .eyebrow { margin-bottom: 1rem; }
  .steps-title { min-height: 2em; font-size: clamp(2.6rem,11vw,4rem); }
  .steps-count { margin-top: .8rem; }
  .steps-item { padding: .7rem 0; }
  .steps-item h3 { font-size: 1.2rem; }
}

/* === Contact v4: section = exactly one screen; slate centered including the raised clapstick. === */
.contact-stage { height: 100vh; height: 100svh; min-height: 0; }
.contact-stage-inner { height: 100%; min-height: 0; box-sizing: border-box; padding: 76px 0 20px; }
.contact-board.slate { --slate-w: min(560px, calc(100vw - 40px), calc((100svh - 80px) / 1.06)); width: var(--slate-w); margin-top: max(0px, calc(var(--slate-w) * .34 - 30px)); }
@media (max-width: 700px) { .slate-row-half { grid-template-columns: 1fr 1fr; } .slate-tags { display: none; } }
/* Steps v2: summary under the big title; section 03 mirrored (list left, title right). */
.steps-title { min-height: 0; }
.steps-summary { max-width: 34rem; min-height: 5.4em; margin: 1.6rem 0 0; color: rgba(17,17,15,.72); font-size: clamp(.98rem,1.15vw,1.12rem); line-height: 1.75; transition: opacity .25s ease .05s, transform .25s ease .05s; }
.steps-summary.is-changing { opacity: 0; transform: translateY(10px); }
@media (min-width: 901px) {
  .process-section .steps-sticky { grid-template-columns: .85fr 1.15fr; }
  .process-section .steps-left { order: 2; text-align: right; }
  .process-section .steps-summary { margin-left: auto; }
}
@media (max-width: 900px) { .steps-summary { min-height: 0; margin-top: .9rem; font-size: .92rem; line-height: 1.6; } }

@media (max-width: 900px) { .steps-lead, .steps-item.is-active p { display: none; } .steps-count { display: none; } }

/* === "That's a wrap" end card: letterbox, darkened last frame, film-credit typography. === */
.wrap-bars { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.wrap-bars::before, .wrap-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height 1.1s cubic-bezier(.7,0,.2,1); }
.wrap-bars::before { top: 0; }
.wrap-bars::after { bottom: 0; }
.contact-stage.is-submitted .wrap-bars::before, .contact-stage.is-submitted .wrap-bars::after { height: 9vh; }
.contact-stage.is-submitted .contact-film-reveal { filter: brightness(.3) saturate(.75) blur(1px); transition: filter 1.6s ease; }
.contact-success.wrap-card { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; width: min(760px,100%); min-height: 0; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #f4efe6; text-align: center; animation: none; }
.wrap-card > * { opacity: 0; animation: wrap-in 1.1s cubic-bezier(.2,.7,.1,1) both; }
.wrap-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; color: #d8b47a; font-size: .64rem; font-weight: 600; letter-spacing: .34em; animation-delay: .5s !important; }
.wrap-kicker i { width: 38px; height: 1px; background: currentColor; opacity: .6; }
.wrap-card h3 { margin: 0; font: 400 clamp(3.2rem,6.2vw,6.4rem)/.95 var(--serif); letter-spacing: -.035em; text-shadow: 0 4px 40px rgba(0,0,0,.5); animation-delay: .75s !important; outline: 0; }
.wrap-card h3 em { color: #e5c48a; font-style: italic; }
.wrap-line { margin: 26px 0 0; color: rgba(244,239,230,.82); font: italic 400 clamp(1.1rem,1.5vw,1.35rem)/1.5 var(--serif); animation-delay: 1.05s !important; }
.wrap-line strong { color: #fff; font-weight: 500; font-style: normal; font-family: var(--sans); font-size: .82em; letter-spacing: .04em; }
.wrap-credits { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 38px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(216,180,122,.35); animation-delay: 1.35s !important; }
.wrap-credits div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wrap-credits dt { color: rgba(216,180,122,.85); font-size: .56rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.wrap-credits dd { margin: 0; overflow: hidden; color: #f4efe6; font: 400 1.05rem/1.2 var(--serif); letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.wrap-card .wrap-again { align-self: center; margin-top: 38px; padding: 12px 22px; border: 1px solid rgba(244,239,230,.55); border-radius: 999px; color: #f4efe6; font-size: .62rem; letter-spacing: .24em; transition: background .3s ease, color .3s ease, border-color .3s ease; animation-delay: 1.7s !important; }
.wrap-card .wrap-again:hover { background: #f4efe6; color: #0d0c0a; border-color: #f4efe6; }
.wrap-card .wrap-again span { margin: 0 8px 0 0; color: inherit; }
.wrap-note { margin-top: 18px; color: rgba(244,239,230,.35); font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; animation-delay: 1.9s !important; }
@keyframes wrap-in { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 700px) {
  .wrap-credits { grid-template-columns: 1fr 1fr; gap: 16px 22px; }
  .contact-stage.is-submitted .wrap-bars::before, .contact-stage.is-submitted .wrap-bars::after { height: 6vh; }
}
@media (prefers-reduced-motion: reduce) { .wrap-card > * { animation: none; opacity: 1; } .wrap-bars::before, .wrap-bars::after { transition: none; } }

/* === Slate v4: KEARTE aesthetic (Cormorant + Manrope, ivory and gold hairlines, brass hinge), keeping the 3D build. === */
.contact-board.slate { --paint: rgba(226,212,186,.34); --gold-line: rgba(200,170,115,.55); }
.slate-stick { height: 28px; border-radius: 3px 3px 1px 1px; background:
  linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%, rgba(0,0,0,.35)),
  linear-gradient(90deg, #121110 0 38px, transparent 38px),
  repeating-linear-gradient(118deg, #ebe4d6 0 22px, #141311 22px 44px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.6), 0 0 0 1px rgba(200,170,115,.18), 0 4px 10px rgba(0,0,0,.55); }
.slate-base { border-radius: 2px 2px 0 0; background:
  linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 42%, rgba(0,0,0,.38)),
  linear-gradient(90deg, #121110 0 38px, transparent 38px),
  repeating-linear-gradient(62deg, #ebe4d6 0 22px, #141311 22px 44px); }
.slate-clap { bottom: 33px; }
.slate-sticks { height: 62px; }
.slate-hinge { width: 20px; height: 20px; bottom: 21px; left: 9px; background: radial-gradient(circle at 34% 28%, #fff4d6, #e0c58e 30%, #a8844a 62%, #4a3718); box-shadow: 0 2px 5px rgba(0,0,0,.7), inset 0 -1px 2px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.4); }
.slate-hinge::after { width: 9px; height: 1.5px; margin-left: -4.5px; background: #5b4420; }
.slate-body { border-radius: 2px 2px 14px 14px; background:
  radial-gradient(120% 60% at 15% 0%, rgba(255,245,225,.07), transparent 58%),
  radial-gradient(60% 40% at 90% 100%, rgba(200,170,115,.06), transparent 70%),
  linear-gradient(162deg, #1b1a18, #0d0c0b 58%, #151412);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(200,170,115,.16), inset 0 -12px 28px rgba(0,0,0,.6); }
.slate-body::before { opacity: .08; }
.slate-grid { outline-color: var(--gold-line); }
.slate-cell { box-shadow: 0 0 0 .5px var(--paint); }
.slate-cell:focus-within { background: linear-gradient(180deg, rgba(200,170,115,.08), rgba(200,170,115,.02)); }
.slate-label { font: 600 .56rem/1 var(--sans); letter-spacing: .24em; color: #c8aa73; }
.slate-label em { margin-left: .7em; font: italic 400 .8rem/1 var(--serif); letter-spacing: .02em; text-transform: none; color: rgba(244,239,230,.45); opacity: 1; }
.slate-chalk, .slate-cell input, .slate-cell select, .slate-cell textarea { font: 500 clamp(1.25rem,1.75vw,1.6rem)/1.15 var(--serif); letter-spacing: .005em; color: #f6f1e8; text-shadow: none; }
.slate-cell input::placeholder, .slate-cell textarea::placeholder { font-style: italic; color: rgba(244,239,230,.28); }
.slate-cell select:invalid { font-style: italic; color: rgba(244,239,230,.28); }
.slate-cell select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23c8aa73' stroke-width='1.2'/%3E%3C/svg%3E"); }
.slate-date .slate-chalk { font: 500 1rem/1 var(--sans); letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.slate-logo { display: block; width: auto; height: clamp(16px,1.6vw,21px); margin-top: auto; padding-bottom: 4px; opacity: .95; }
.slate-tags { font: 600 .56rem/1 var(--sans); letter-spacing: .2em; color: rgba(244,239,230,.4); }
.slate-tags b { border: 1px solid rgba(200,170,115,.7); color: #e2c893; transform: none; padding: 3px 7px; }
.slate .contact-progress-top { font: 600 .56rem/1 var(--sans); letter-spacing: .24em; color: rgba(244,239,230,.55); }
.slate .contact-progress-track { height: 1px; background: rgba(244,239,230,.14); }
.slate .contact-progress-track span { background: #c8aa73; }
.slate .contact-action { gap: 14px; padding: 11px 20px; border: 1px solid #c8aa73; border-radius: 999px; background: linear-gradient(180deg, rgba(200,170,115,.14), rgba(200,170,115,.04)); color: #efe3c8; font: 600 .66rem/1 var(--sans); letter-spacing: .3em; }
.slate .contact-action:hover { background: #c8aa73; color: #11100d; }
.slate .contact-action span:last-child { font-size: 1rem; }
.slate .contact-preview-note { font: 500 .52rem/1.4 var(--sans); letter-spacing: .2em; color: rgba(244,239,230,.32); }

/* REC overlay: running timecode + blinking "sending" line. */
.contact-rec { top: clamp(92px,12vh,130px); right: clamp(22px,5vw,100px); flex-direction: column; align-items: flex-end; gap: 8px; text-shadow: none; }
.contact-rec .rec-top { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(10,9,8,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 600 .62rem/1 var(--sans); letter-spacing: .22em; }
.contact-rec .rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0493a; box-shadow: 0 0 10px rgba(224,73,58,.9); animation: rec-pulse 1s steps(1) infinite; }
.contact-rec .rec-time { color: #f4efe6; font-variant-numeric: tabular-nums; letter-spacing: .12em; animation: none; }
.contact-rec .rec-msg { margin: 0; color: #e2c893; font: italic 400 1rem/1.3 var(--serif); text-shadow: 0 2px 12px rgba(0,0,0,.8); animation: rec-blink 1.4s ease-in-out infinite; }
.contact-rec .rec-dots i { font-style: normal; animation: rec-dot 1.2s infinite; opacity: 0; }
.contact-rec .rec-dots i:nth-child(2) { animation-delay: .2s; }
.contact-rec .rec-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes rec-blink { 50% { opacity: .45; } }
@keyframes rec-dot { 0%, 20% { opacity: 0; } 40%, 80% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 700px) { .contact-rec { top: 76px; right: 16px; } .contact-rec .rec-msg { font-size: .88rem; } }

.contact-rec .rec-dots { color: inherit; animation: none; }

/* Slate v5: same type system as the rest of the site (Manrope for text and data; no italics, no script). */
.slate-label { font: 600 .58rem/1 var(--sans); letter-spacing: .22em; color: rgba(249,247,242,.92); }
.slate-label em { margin-left: .8em; font: 500 .56rem/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: rgba(249,247,242,.38); }
.slate-chalk, .slate-cell input, .slate-cell select, .slate-cell textarea { font: 400 clamp(1rem,1.2vw,1.12rem)/1.4 var(--sans); font-style: normal; letter-spacing: -.01em; color: #fff; }
.slate-cell input::placeholder, .slate-cell textarea::placeholder, .slate-cell select:invalid { font-style: normal; color: rgba(249,247,242,.34); }
.slate-date .slate-chalk { font: 500 1rem/1.4 var(--sans); letter-spacing: .12em; }
.slate-logo { align-self: flex-start; width: auto; max-width: 100%; height: clamp(15px,1.4vw,19px); object-fit: contain; }
.slate-tags { gap: 18px; font: 600 .54rem/1 var(--sans); letter-spacing: .2em; color: rgba(249,247,242,.35); }
.slate-tags b { padding: 0; margin: 0; border: 0; border-radius: 0; color: var(--gold); transform: none; }
.slate .contact-progress-top { color: rgba(249,247,242,.6); }
.slate .contact-action { border-radius: 0; background: var(--gold); border-color: var(--gold); color: #11110f; font: 600 .64rem/1 var(--sans); letter-spacing: .24em; padding: 12px 18px; }
.slate .contact-action:hover { background: #e2c893; border-color: #e2c893; color: #11110f; }
.slate-grid { outline-color: rgba(249,247,242,.28); }
.contact-board.slate { --paint: rgba(249,247,242,.2); }
.contact-rec .rec-msg { font: 500 .62rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Browser autofill: keep the slate transparent, only the text turns white. */
.slate-cell input:-webkit-autofill,
.slate-cell input:-webkit-autofill:hover,
.slate-cell input:-webkit-autofill:focus,
.slate-cell select:-webkit-autofill,
.slate-cell textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  box-shadow: 0 0 0 1000px transparent inset;
  background-color: transparent !important;
  transition: background-color 99999s ease-out 0s;
}
.slate-cell input:autofill { background-color: transparent !important; }

/* CONTACT box: phone / email switch. */
.slate-reach { cursor: default; }
.slate-reach-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reach-toggle { display: inline-flex; border: 1px solid rgba(249,247,242,.22); }
.reach-toggle button { padding: 4px 8px; border: 0; background: transparent; color: rgba(249,247,242,.45); font: 600 .5rem/1 var(--sans); letter-spacing: .18em; cursor: pointer; transition: background .25s ease, color .25s ease; }
.reach-toggle button + button { border-left: 1px solid rgba(249,247,242,.22); }
.reach-toggle button:hover { color: #fff; }
.reach-toggle button.is-on { background: var(--gold); color: #11110f; }

/* Process backgrounds: one sketch per step, crossfading with the scroll and drifting slowly. */
.process-section.steps-section { background: #f2efe6; }
.steps-bg { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.steps-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transform: scale(1.07) translate3d(calc(var(--steps-p, 0) * -2.5%), 0, 0); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.1,1); will-change: opacity, transform; }
.steps-bg img.is-active { opacity: 1; transform: scale(1.02) translate3d(calc(var(--steps-p, 0) * -2.5%), 0, 0); }
.steps-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,239,230,.82) 0%, rgba(242,239,230,.3) 32%, rgba(242,239,230,.3) 55%, rgba(242,239,230,.86) 78%, rgba(242,239,230,.92) 100%); }
.process-section .steps-sticky { position: sticky; z-index: 1; margin-top: -100vh; margin-top: -100svh; }
@media (max-width: 900px) {
  .steps-bg img { object-position: 62% 50%; }
  .steps-veil { background: rgba(242,239,230,.72); }
}
@media (prefers-reduced-motion: reduce) { .steps-bg img { transition: opacity .3s ease; transform: none !important; } }
/* Process backgrounds v2: smaller (contained, centered) and more transparent. */
.steps-bg img { inset: auto; left: 50%; top: 54%; width: min(74vw, 1180px); height: auto; max-height: 72vh; object-fit: contain; transform: translate3d(calc(-50% - var(--steps-p, 0) * 2%), -50%, 0) scale(1.05); }
.steps-bg img.is-active { opacity: .5; transform: translate3d(calc(-50% - var(--steps-p, 0) * 2%), -50%, 0) scale(1); }
@media (max-width: 900px) { .steps-bg img { width: 118vw; top: 58%; } }

/* What we do: one watercolor per service, under the summary, at ~50% as part of the background. */
.steps-art { position: absolute; z-index: 0; left: -3vw; top: 46%; width: min(50vw, 760px); height: 52vh; pointer-events: none; }
.steps-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; opacity: 0; transform: translate3d(calc(var(--steps-p, 0) * -3%), 12px, 0) scale(1.03); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.1,1); }
.steps-art img.is-active { opacity: .5; transform: translate3d(calc(var(--steps-p, 0) * -3%), 0, 0) scale(1); }
.studio-section .steps-left, .studio-section .steps-list { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .steps-art { left: 50%; top: auto; bottom: 2vh; width: 110vw; height: 42vh; transform: translateX(-50%); }
  .steps-art img { object-position: center bottom; }
  .steps-art img.is-active { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) { .steps-art img { transition: opacity .3s ease; transform: none !important; } }

/* Footer: locations + Outcomy credit. */
.footer-places { display: inline-flex; align-items: center; gap: 12px; color: #c9c6be; }
.footer-places i { width: 18px; height: 1px; background: var(--gold); opacity: .7; }
.footer-credit a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,170,115,.35); transition: color .3s ease, border-color .3s ease; }
.footer-credit a:hover { color: #e2c893; border-color: #e2c893; }
@media (max-width: 900px) { .footer-line { flex-wrap: wrap; row-gap: .9rem; } .footer-places { order: 5; width: 100%; } .footer-credit { order: 6; width: 100%; } }

/* What we do art v2: a small detail in the flow, right under the summary (no overlap with text). */
.studio-section .steps-left .steps-art { position: relative; left: auto; top: auto; bottom: auto; width: min(26vw, 380px); height: clamp(120px, 22vh, 220px); margin: 1.2rem 0 0 -.6rem; transform: none; z-index: 0; }
.studio-section .steps-left .steps-art img { object-position: left center; }
@media (max-width: 900px) { .studio-section .steps-left .steps-art { width: 62vw; height: 18vh; margin-top: .6rem; } .studio-section .steps-left .steps-art img.is-active { opacity: .5; } }
@media (max-height: 700px) and (min-width: 901px) { .studio-section .steps-left .steps-art { height: 16vh; } }
/* What we do art v3: bigger and tucked under the summary so the text overlaps it a little. */
.studio-section .steps-left > *:not(.steps-art) { position: relative; z-index: 1; }
.studio-section .steps-left .steps-art { width: min(38vw, 560px); height: clamp(170px, 32vh, 320px); margin: -3.2rem 0 -2rem -1.2rem; }
@media (max-height: 700px) and (min-width: 901px) { .studio-section .steps-left .steps-art { height: 26vh; margin-top: -2.6rem; } }
@media (max-width: 900px) { .studio-section .steps-left .steps-art { width: 80vw; height: 22vh; margin: -1.6rem 0 -1rem -.6rem; } }

/* What we do art v4: centered between the title column and the list, behind both. */
.studio-section .steps-sticky > .steps-art { position: absolute; z-index: 0; left: 50%; top: 52%; width: min(40vw, 620px); height: min(52vh, 460px); margin: 0; transform: translate(-50%, -50%); }
.studio-section .steps-sticky > .steps-art img { object-position: center center; }
.studio-section .steps-left, .studio-section .steps-list { position: relative; z-index: 1; }
@media (max-width: 900px) { .studio-section .steps-sticky > .steps-art { width: 96vw; height: 34vh; top: 58%; } .studio-section .steps-sticky > .steps-art img.is-active { opacity: .35; } }

/* === Entrance: logo + language flags; the site loads behind and the panels split open. === */
html.intro-open, html.intro-open body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; color: var(--ivory); }
.intro[hidden] { display: none; }
.intro-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: radial-gradient(120% 90% at 50% 100%, #1a1815, #0b0a09 70%); transition: transform 1.25s cubic-bezier(.77,0,.18,1); }
.intro-panel-top { top: 0; }
.intro-panel-bottom { bottom: 0; background: radial-gradient(120% 90% at 50% 0%, #1a1815, #0b0a09 70%); }
.intro-seam { position: absolute; z-index: 1; left: 50%; top: 50%; width: 0; height: 1px; background: var(--gold); opacity: 0; transform: translateX(-50%); transition: width .7s cubic-bezier(.6,0,.2,1) .25s, opacity .3s ease .25s; }
.intro-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 30px; width: min(640px, 100% - 40px); text-align: center; transition: opacity .55s ease, transform .9s cubic-bezier(.2,.7,.1,1), filter .55s ease; }
.intro-logo { width: min(330px, 64vw); height: auto; animation: intro-logo-in 1.8s cubic-bezier(.2,.7,.1,1) both; }
.intro-welcome { margin: 0; color: rgba(249,247,242,.5); font: italic 400 clamp(.95rem,1.4vw,1.1rem)/1.5 var(--serif); letter-spacing: .02em; animation: intro-fade-up 1s ease .6s both; }
.intro-langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; width: 100%; animation: intro-fade-up 1s ease .85s both; }
.intro-lang { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 11px 16px; border: 1px solid rgba(249,247,242,.16); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--ivory); font: 500 .78rem/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: border-color .3s ease, background .3s ease, transform .3s ease; }
.intro-lang:hover, .intro-lang:focus-visible { border-color: var(--gold); background: rgba(200,170,115,.1); transform: translateY(-2px); outline: 0; }
.intro-lang.is-current { border-color: rgba(200,170,115,.55); }
.intro-lang.is-picked { border-color: var(--gold); background: rgba(200,170,115,.18); }
.intro-flag { display: inline-block; flex: none; width: 22px; height: 22px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.intro-flag svg { display: block; width: 100%; height: 100%; }
.intro-load { width: min(220px, 50vw); height: 1px; overflow: hidden; background: rgba(249,247,242,.12); animation: intro-fade-up 1s ease 1s both; }
.intro-load span { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.intro.is-ready .intro-load { opacity: .35; }
.intro-status { min-height: 1em; margin: -18px 0 0; color: rgba(249,247,242,.4); font: 600 .54rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.intro.is-leaving .intro-inner { opacity: 0; transform: scale(1.1); filter: blur(14px); }
.intro.is-leaving .intro-seam { width: 100%; opacity: 1; }
.intro.is-leaving .intro-panel-top { transform: translateY(-101%); transition-delay: .7s; }
.intro.is-leaving .intro-panel-bottom { transform: translateY(101%); transition-delay: .7s; }
.intro.is-leaving .intro-seam { transition: width .7s cubic-bezier(.6,0,.2,1) .25s, opacity .4s ease 1.1s; }
.intro.is-leaving.is-ready .intro-seam { opacity: 0; }
@keyframes intro-logo-in { from { opacity: 0; transform: scale(.94); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .intro-inner { gap: 24px; }
  .intro-langs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-lang { padding: 12px 10px; font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-logo, .intro-welcome, .intro-langs, .intro-load { animation: none; }
  .intro-panel, .intro-inner, .intro-seam { transition-duration: .01s !important; transition-delay: 0s !important; }
}
/* Header language switch. */
.lang-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: .64rem; font-weight: 600; letter-spacing: .2em; }
.lang-toggle .intro-flag { width: 15px; height: 15px; }
.eyebrow-text { font-weight: inherit; }
.wrap-again b { font-weight: inherit; }
@media (max-width: 600px) { .lang-toggle { font-size: .55rem; letter-spacing: .12em; gap: .35rem; } }
/* 8 languages: 4 × 2 grid on desktop. */
.intro-inner { width: min(760px, 100% - 40px); }
.intro-langs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .intro-langs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-fit] { overflow-wrap: normal; hyphens: manual; }
/* Text rhythm across languages: stable heights so longer translations never push the layout around. */
.studio-section .steps-title { min-height: 1.95em; display: flex; align-items: flex-end; }
@media (min-width: 901px) {
  .steps-summary { min-height: 7.1em; }
  .process-section .steps-title { justify-content: flex-end; }
}


/* === Floating WhatsApp (gold icon) with a hover message in the visitor's language. === */
.wa-float { position: fixed; z-index: 900; right: clamp(16px, 2.2vw, 30px); bottom: clamp(16px, 2.6vh, 30px); display: block; width: clamp(56px, 4.6vw, 68px); aspect-ratio: 200 / 197; text-decoration: none; transition: opacity .5s ease, transform .5s ease; }
.wa-icon { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)) drop-shadow(0 2px 4px rgba(0,0,0,.35)); transition: transform .35s cubic-bezier(.2,.7,.1,1), filter .35s ease; animation: wa-float 4.5s ease-in-out infinite; }
.wa-float:hover .wa-icon, .wa-float:focus-visible .wa-icon { transform: scale(1.08) rotate(-4deg); filter: drop-shadow(0 12px 22px rgba(0,0,0,.5)) drop-shadow(0 0 16px rgba(226,196,138,.45)); animation-play-state: paused; }
.wa-bubble { position: absolute; right: calc(100% + 14px); bottom: 50%; display: flex; flex-direction: column; gap: 6px; width: max-content; max-width: min(330px, calc(100vw - 110px)); padding: 14px 18px 15px; border: 1px solid rgba(200,170,115,.45); border-radius: 14px 14px 4px 14px; background: rgba(12,11,9,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0,0,0,.35); color: var(--ivory); text-align: left; opacity: 0; pointer-events: none; transform: translate3d(10px, 50%, 0); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.1,1); }
.wa-bubble strong { font: 500 1.12rem/1.2 var(--serif); letter-spacing: -.005em; }
.wa-bubble span { color: rgba(249,247,242,.72); font: 400 .74rem/1.5 var(--sans); }
.wa-float:hover .wa-bubble, .wa-float:focus-visible .wa-bubble, .wa-float.is-peek .wa-bubble { opacity: 1; transform: translate3d(0, 50%, 0); }
.wa-float:focus-visible { outline: 0; }
html.intro-open .wa-float { opacity: 0; pointer-events: none; transform: translateY(20px); }
@keyframes wa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 600px) { .wa-bubble { max-width: calc(100vw - 100px); padding: 12px 14px; } .wa-bubble strong { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .wa-icon { animation: none; } }

/* ===== Mobile pass ===== */
.hero-frames { background: #211b17 url("./assets/hero-poster.jpg") center / cover no-repeat; transition: opacity .25s ease; }
.hero-frames.is-off { opacity: 0; }

/* What we do: watercolors quieter so the copy reads clean. */
.steps-art img.is-active { opacity: .38; }
@media (max-width: 900px) { .studio-section .steps-sticky > .steps-art img.is-active { opacity: .13; } }
@media (max-width: 600px) {
  /* WhatsApp smaller, clear of the hero counter and the footer. */
  .wa-float { width: 48px; right: 12px; bottom: 14px; }
  .hero-bottom { right: 72px; }
  .contact-section > .footer-line { padding-bottom: 76px; }
  /* Full-screen menu. */
  .site-nav { top: 0; bottom: 0; height: 100vh; height: 100dvh; justify-content: center; padding: 90px 28px 40px; background: rgba(11,10,9,.98); border-bottom: 0; }
  .site-nav a { padding: 1.15rem 0; font-size: 1.05rem; letter-spacing: .18em; }
  .site-header .brand, .header-actions { position: relative; z-index: 2; }
  /* Slate: no small hints, contact switch fits, placeholders readable. */
  .slate-label em { display: none; }
  .slate-reach-head { flex-wrap: wrap; row-gap: 6px; }
  .reach-toggle button { padding: 4px 7px; }
  .slate-chalk, .slate-cell input, .slate-cell select, .slate-cell textarea { font-size: .92rem; }
  .slate-cell { padding: 7px 9px 5px; }
}
@media (max-width: 900px) {
  .site-header:has(.site-nav.is-open) { color: #fff; background: transparent; border-bottom-color: transparent; }
  .site-header:has(.site-nav.is-open) .brand-light { opacity: 1; }
  .site-header:has(.site-nav.is-open) .brand-dark { opacity: 0; }
}
@media (max-width: 900px) {
  .site-nav.is-open { background: #0b0a09; }
  body:has(.site-nav.is-open) .wa-float { opacity: 0; pointer-events: none; }
}

/* Work screens: dark while Drive loads or when a slot has no video in the folder. */
.studio-screen { background: #050505; }
.studio-screen.is-empty { opacity: .92; }

/* Work: note bottom-right — the screens show real client work. */
.work-note { align-self: flex-end; display: flex; align-items: center; gap: 14px; max-width: 380px; margin: 0 clamp(70px,6vw,100px) 0 0; color: rgba(255,255,255,.82); font: 500 .66rem/1.7 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: right; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.work-note i { flex: none; width: 34px; height: 1px; background: var(--gold); }
@media (max-width: 600px) { .work-note { max-width: 250px; margin-right: 52px; font-size: .56rem; letter-spacing: .12em; gap: 10px; } .work-note i { width: 20px; } }

/* ===== Screen lightbox ===== */
#work.is-over-screen { cursor: zoom-in; }
html.slb-open { overflow: hidden; }
html.slb-open .wa-float { opacity: 0; pointer-events: none; }
.screen-lightbox { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: clamp(56px,8vh,90px) 16px clamp(24px,5vh,56px); background: rgba(8,8,7,.55); opacity: 0; transition: opacity .3s ease; }
.screen-lightbox[hidden] { display: none; }
.screen-lightbox.is-open { opacity: 1; }
.slb-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; transform: translateY(14px) scale(.97); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.screen-lightbox.is-open .slb-stage { transform: none; }
.slb-frame { position: relative; overflow: hidden; width: min(1100px, 92vw, calc((100vh - 200px) * 16 / 9)); aspect-ratio: 16 / 9; border: 1px solid rgba(200,170,115,.28); border-radius: 14px; background: #050505; box-shadow: 0 40px 110px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.03); }
.screen-lightbox.is-portrait .slb-frame { width: min(420px, 88vw, calc((100vh - 200px) * 9 / 16)); aspect-ratio: 9 / 16; }
.slb-video { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.slb-frame.from-right .slb-video { transform: translateX(34px); }
.slb-frame.from-left .slb-video { transform: translateX(-34px); }
.slb-frame.is-ready .slb-video { opacity: 1; transform: none; }
.slb-loading { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 2px solid rgba(200,170,115,.25); border-top-color: var(--gold); border-radius: 50%; animation: slb-spin .9s linear infinite; }
.slb-frame.is-ready .slb-loading { display: none; }
@keyframes slb-spin { to { transform: rotate(360deg); } }
.slb-bar { display: flex; align-items: center; gap: 14px; }
.slb-count { min-width: 76px; color: var(--gold); font: 600 11px/1 var(--sans); letter-spacing: .28em; text-align: center; }
.screen-lightbox button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(17,17,15,.55); color: var(--ivory); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .25s ease, color .25s ease, background .25s ease; }
.screen-lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.screen-lightbox button[hidden] { display: none; }
.screen-lightbox svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slb-sound { margin-left: 6px; }
.slb-sound .slb-sound-on { display: none; }
.screen-lightbox.is-muted .slb-sound .slb-sound-on { display: block; }
.screen-lightbox.is-muted .slb-sound .slb-sound-off { display: none; }
.screen-lightbox.is-muted .slb-sound { border-color: rgba(200,170,115,.6); color: var(--gold); }
.slb-close { position: absolute; top: clamp(14px,3vh,28px); right: clamp(14px,3vw,34px); }
@media (max-width: 600px) {
  .screen-lightbox { padding: 64px 10px 28px; }
  .slb-frame { width: 94vw; border-radius: 10px; }
  .screen-lightbox button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .slb-stage, .slb-video { transition: none; }
}

/* Anti-bot field: invisible to people and screen readers. */
.kearte-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
