/* Premium motion layer: smooth scroll, reveals, ink spread, hover depth, and the intro.
   Loaded after motion.css. Everything here can be removed by deleting this file,
   premium.js, and their two tags in index.html. */

/* JS drives smooth scrolling on desktop, so the browser must not add its own easing on top. */
html.smooth{scroll-behavior:auto}

/* ---------- 1. line reveals and fade-ups ---------- */
.line{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.line>span{display:block;transform:translateY(105%);transition:transform 1.1s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--l,0) * 90ms)}
.in .line>span,.line.in>span{transform:none}
.rise{opacity:0;translate:0 28px;transition:opacity .9s cubic-bezier(.16,1,.3,1),translate 1.1s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--d,0) * 70ms)}
.rise.in{opacity:1;translate:none}
.sheet.rise{translate:0 -60px;transition:box-shadow .25s,opacity .8s ease,translate 1.2s cubic-bezier(.16,1,.3,1);transition-delay:0s,calc(var(--d,0) * 120ms),calc(var(--d,0) * 120ms)}
.sheet.rise.in{translate:none}
.index-feature{transform-origin:50% 60%;will-change:transform,clip-path}

/* photos in the "See all" grid arrive one after another */
.grid-view[open] .grid-items button{animation:gridIn .8s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i,0) * 40ms + .1s)}
@keyframes gridIn{from{opacity:0;transform:translateY(30px) scale(.94)}}

/* ---------- 2. ink spread (replaces the torn paper) ---------- */
.tear{background:var(--ink)}
.tear-under,.tear-shadow{display:none}
.ink-base,.ink-red,.ink-layer{position:absolute;inset:0;display:grid;place-items:center;align-content:center;text-align:center}
.ink-base{background:var(--paper) var(--grain);color:var(--ink)}
.ink-red{background:var(--red) var(--grain);color:var(--paper)}
.ink-red .ink-kicker{color:var(--ink);opacity:1;translate:none}
.ink-layer{background:var(--ink) var(--grain);color:var(--paper)}
.ink-red,.ink-layer{-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:0 0;mask-size:0 0;will-change:mask-size}
.ink-word{font:400 clamp(80px,17vw,300px)/.9 var(--display);white-space:nowrap;will-change:transform}
.ink-kicker{margin-top:18px;font-size:clamp(12px,1.4vw,15px);letter-spacing:.22em;text-transform:uppercase;color:var(--gold);opacity:0;translate:0 16px;transition:opacity .6s,translate .8s cubic-bezier(.16,1,.3,1)}
.ink-base .ink-kicker{color:#5d574c;opacity:1;translate:none}
.tear.inked .ink-layer .ink-kicker{opacity:1;translate:none}

/* ---------- 3. hover depth and light sheen ---------- */
@media(hover:hover) and (pointer:fine){
  .tilt{transform-style:preserve-3d;will-change:transform}
  .grid-items button.sheen{position:relative}
  .sheen::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .4s;mix-blend-mode:overlay;
    background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,248,230,.55),rgba(255,248,230,0) 55%)}
  .sheen.hovered::after{opacity:1}
  .float.hovered{box-shadow:0 30px 70px rgba(0,0,0,.6)}
  .float img{transition:scale .5s cubic-bezier(.16,1,.3,1)}
  .float.hovered img{scale:1.06}
  .grid-items button{border-radius:6px}
  .grid-items button:hover img{transform:none}
}

/* ---------- 4. intro (first visit in a browser session) ---------- */
/* A plain cover paints before anything else so the page never flashes. It hides itself after 4s if the script fails. */
html.intro-on::after{content:"";position:fixed;inset:0;z-index:300;background:var(--ink);animation:introFailsafe 0s 4s forwards}
html.intro-ready::after{display:none}
@keyframes introFailsafe{to{visibility:hidden}}
html.intro-on .hero-title span,html.intro-on .hero-sub{animation-play-state:paused}
html.intro-on .hero-sub{opacity:0}
html.intro-on,html.intro-on body{overflow:hidden}
.intro{position:fixed;inset:0;z-index:310;pointer-events:auto}
.intro-panel{position:absolute;left:0;right:0;height:50.5%;background:var(--ink) var(--grain);transition:transform 1s cubic-bezier(.76,0,.24,1)}
.intro-panel.top{top:0}.intro-panel.bottom{bottom:0}
.intro.open .intro-panel.top{transform:translateY(-101%)}
.intro.open .intro-panel.bottom{transform:translateY(101%)}
.intro-mouth{position:fixed;left:50%;top:50%;width:clamp(120px,16vw,200px);height:auto;margin:0;translate:-50% -50%;z-index:2;clip-path:inset(100% 0 0 0);filter:drop-shadow(0 8px 30px rgba(161,44,34,.45))}
.intro-line{display:none;position:fixed;left:50%;top:calc(50% + clamp(80px,10vw,124px));width:clamp(120px,16vw,200px);height:1px;translate:-50% 0;background:var(--gold);transform:scaleX(0);z-index:2}
.intro-count{position:fixed;left:50%;top:calc(50% + clamp(92px,11.5vw,140px));translate:-50% 0;z-index:2;font-size:12px;letter-spacing:.3em;color:var(--gold);font-variant-numeric:tabular-nums}
.intro.open .intro-line,.intro.open .intro-count{opacity:0;transition:opacity .3s}

@media(prefers-reduced-motion:reduce){
  .line>span,.rise,.sheet.rise{transform:none;translate:none;opacity:1}
  .ink-red,.ink-layer{display:none}
  .tear{height:auto}
}

/* On narrow screens the subtitle stacks cleanly instead of wrapping mid-phrase. */
@media(max-width:600px){
  .hero-sub{line-height:1.9;text-shadow:0 0 6px #191816,0 0 14px #191816,0 0 24px rgba(25,24,22,.9)}
  .hero-sub b{display:block;margin:0;line-height:1.4}
}

/* iPhone: when Safari's toolbar shrinks, the screen gets taller than 100svh. Fill the tall size so no dark band shows under the ink. */
.tear-stage{height:100vh;height:100lvh}

/* iPhone Safari draws 3D photos over the title even with z-index. A 1px forward nudge puts the title in front again. */
.cloud{z-index:1}
.hero-copy{z-index:3;translate:0 0 1px}
@media(max-width:760px){
  .hero-title{text-shadow:0 4px 24px rgba(0,0,0,.85),0 0 10px rgba(25,24,22,.9)}
}

/* ---------- roomier work section on phones ---------- */
/* Never let anything push the page sideways (iPhone was panning a few pixels). */
html,body{overflow-x:clip}
@media(max-width:760px){
  /* dvh tracks Safari's toolbar, so the strip always sits at the real bottom of the screen. */
  .index-stage{height:100vh;height:100dvh;grid-template-rows:44px minmax(0,1fr) auto 140px;gap:18px;padding:88px 20px calc(22px + env(safe-area-inset-bottom,0px))}
  .see-all{grid-row:1;align-self:center;min-height:40px;padding:0 16px;font-size:13px}
  .index-feature{display:contents}
  .index-frames{grid-row:2;height:100%;min-height:0}
  /* counter moves up beside "See all"; the name sits under the photo */
  .index-count{position:absolute;top:88px;right:20px;height:44px;display:flex;align-items:center;margin:0;font-size:13px}
  .index-name{position:static;grid-row:3;margin:0;text-align:center;font-size:12px;letter-spacing:.22em}
  .index-strip-wrap{grid-row:4;height:140px}
  .index-strip img{top:10px}
}

/* ---------- menu button: gold-fang mouth with a cigarette that lights up when the menu opens ---------- */
.pill-brand{font-size:26px}
.pill-toggle{min-width:94px;min-height:60px;padding:4px 6px;overflow:visible}
.cig-mouth{position:relative;display:block;width:88px;flex:none;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.cig-mouth img{display:block;width:100%;height:auto}
.pill-toggle:hover .cig-mouth{transform:rotate(-5deg) scale(1.04)}
.pill.open .cig-mouth{transform:rotate(-3deg)}
/* ember sits on the tip at the bottom left of the cigarette */
.cig-ember{position:absolute;left:14.6%;top:89.5%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;
  background:radial-gradient(circle,#fff6cf 0,#ffb547 35%,#ef5a1f 62%,rgba(200,40,10,0) 75%);opacity:0;transform:scale(.2);
  transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1.4)}
.pill.open .cig-ember{opacity:1;transform:scale(1);animation:ember 1.4s ease-in-out .3s infinite}
@keyframes ember{0%,100%{box-shadow:0 0 6px 2px rgba(255,120,40,.55)}50%{box-shadow:0 0 12px 5px rgba(255,120,40,.85);filter:brightness(1.3)}}
.cig-smoke{position:absolute;left:14.6%;top:89.5%;width:0;height:0;pointer-events:none}
.cig-smoke i{position:absolute;left:-8px;top:-8px;width:16px;height:16px;border-radius:50%;opacity:0;
  background:radial-gradient(circle,rgba(240,235,224,.8),rgba(240,235,224,0) 70%);filter:blur(1px)}
.pill.open .cig-smoke i{animation:smoke 3.2s linear infinite}
.pill.open .cig-smoke i:nth-child(2){animation-delay:.8s}
.pill.open .cig-smoke i:nth-child(3){animation-delay:1.6s}
.pill.open .cig-smoke i:nth-child(4){animation-delay:2.4s}
@keyframes smoke{
  0%{opacity:0;transform:translate(0,0) scale(.35)}
  12%{opacity:1}
  35%{transform:translate(-6px,-16px) scale(1.2)}
  65%{opacity:.6;transform:translate(4px,-32px) scale(2.1)}
  100%{opacity:0;transform:translate(-8px,-48px) scale(3)}
}
@media(max-width:760px){.cig-mouth{width:76px}.pill-toggle{min-width:82px}}
@media(prefers-reduced-motion:reduce){.pill.open .cig-smoke i{animation:none}.pill.open .cig-ember{animation:none}}

/* ---------- footer: logo under the wordmark ---------- */
footer{display:grid;grid-template-columns:1fr auto auto;grid-template-rows:auto auto;column-gap:28px;row-gap:6px;align-items:center}
footer>span{grid-column:1;grid-row:1}
.footer-logo{grid-column:1;grid-row:2;width:96px;height:auto;filter:none;background:transparent}
footer>a{grid-row:1/3}
@media(max-width:760px){
  footer{grid-template-columns:1fr;justify-items:center;row-gap:12px}
  footer>span,.footer-logo,footer>a{grid-column:1;grid-row:auto}
  .footer-logo{width:88px}
}

/* ---------- make the mouth read as a menu button: gold outline and a Menu/Close label ---------- */
.pill-toggle{gap:10px;padding:2px 6px 2px 18px;min-height:54px;border:1px solid rgba(201,167,90,.5);border-radius:999px;transition:border-color .25s,background .25s}
.pill-toggle:hover,.pill.open .pill-toggle{border-color:var(--gold);background:rgba(201,167,90,.08)}
.menu-word{display:block;height:1.2em;overflow:hidden;font:600 12px/1.2 var(--body);letter-spacing:.24em;text-transform:uppercase;color:var(--gold)}
.menu-word span{display:block;transition:transform .45s cubic-bezier(.7,0,.2,1)}
.pill.open .menu-word span{transform:translateY(-100%)}
@media(max-width:760px){
  .pill-toggle{padding:2px 4px 2px 14px;min-height:50px;gap:8px}
  .menu-word{font-size:11px;letter-spacing:.2em}
  .cig-mouth{width:66px}
}

/* ---------- gold tooth sparkle on the hero logo ---------- */
.mouth-wrap{position:relative;display:block;width:clamp(110px,14vw,180px);margin:0 auto -1.5vw;animation:bob 5s ease-in-out infinite}
.mouth-wrap .hero-mouth{width:100%;margin:0;animation:none}
.sparkle{position:absolute;width:30%;aspect-ratio:1;margin:-15% 0 0 -15%;pointer-events:none;opacity:0;
  background:radial-gradient(circle,#fff 0 12%,#fff6d0 22%,rgba(255,226,140,.0) 60%);
  clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);
  filter:drop-shadow(0 0 4px rgba(255,236,170,.9));animation:twinkle 3.2s ease-in-out infinite}
/* positions are on the gold fang (it spans about 63-75% across and 24-58% down the logo) */
.sparkle.s1{left:72%;top:31%}
.sparkle.s2{left:66%;top:47%;width:18%;margin:-9% 0 0 -9%;animation-delay:1.1s}
.sparkle.s3{left:73%;top:54%;width:13%;margin:-6.5% 0 0 -6.5%;animation-delay:2.2s}
.mouth-wrap::after{content:"";position:absolute;left:69%;top:40%;width:22%;aspect-ratio:1;margin:-11% 0 0 -11%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,220,120,.55),rgba(255,220,120,0) 70%);opacity:0;animation:fangGlow 3.2s ease-in-out infinite}
@keyframes twinkle{0%,62%,100%{opacity:0;transform:scale(.2) rotate(0deg)}72%{opacity:1;transform:scale(1) rotate(45deg)}84%{opacity:0;transform:scale(.3) rotate(90deg)}}
@keyframes fangGlow{0%,60%,100%{opacity:0}72%{opacity:1}}
html.intro-on .sparkle,html.intro-on .mouth-wrap::after{visibility:hidden}

/* Subtle version: one small glint on the fang, no glow, every few seconds. */
.sparkle.s2,.sparkle.s3,.mouth-wrap::after{display:none}
.sparkle.s1{left:71%;top:33%;width:13%;margin:-6.5% 0 0 -6.5%;filter:drop-shadow(0 0 2px rgba(255,240,190,.7));animation:glint 4.8s ease-in-out 1.5s infinite}
@keyframes glint{0%,80%,100%{opacity:0;transform:scale(.3) rotate(0deg)}87%{opacity:.9;transform:scale(1) rotate(30deg)}94%{opacity:0;transform:scale(.4) rotate(60deg)}}

/* Bigger glint that visibly twinkles: grows, spins, pulses twice, then fades. Repeats every 2.8s. */
.sparkle.s1{left:71%;top:32%;width:20%;margin:-10% 0 0 -10%;filter:drop-shadow(0 0 3px rgba(255,240,190,.8));animation:glint2 2.8s ease-in-out .8s infinite}
@keyframes glint2{
  0%,55%,100%{opacity:0;transform:scale(.2) rotate(0deg)}
  65%{opacity:1;transform:scale(1) rotate(45deg)}
  72%{opacity:.6;transform:scale(.7) rotate(70deg)}
  80%{opacity:1;transform:scale(.95) rotate(95deg)}
  92%{opacity:0;transform:scale(.3) rotate(140deg)}
}
/* Solid white star arms so the glint reads against the yellow tooth. */
.sparkle.s1{background:radial-gradient(circle,#fff 0 34%,#fffbe8 50%,rgba(255,255,255,.35) 75%,rgba(255,255,255,0) 100%);filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px rgba(255,236,170,.9))}
/* Sparkles almost constantly: short 1.8s loop with only a brief rest between twinkles. */
.sparkle.s1{animation:glint3 1.8s ease-in-out .4s infinite}
@keyframes glint3{
  0%,100%{opacity:0;transform:scale(.25) rotate(0deg)}
  20%{opacity:1;transform:scale(1) rotate(40deg)}
  38%{opacity:.55;transform:scale(.65) rotate(70deg)}
  56%{opacity:1;transform:scale(.95) rotate(100deg)}
  80%{opacity:0;transform:scale(.3) rotate(150deg)}
}
/* Sparkle sits on the upper left of the fang. */
.sparkle.s1{left:66%;top:30%}
/* Sparkle centered on the middle of the fang. */
.sparkle.s1{left:69.6%;top:39%}
/* Sparkle on the point of the fang. */
.sparkle.s1{left:68.3%;top:56%}

/* Slightly smaller hero photos on larger screens so all 14 can be seen without stacking. */
@media(min-width:761px){
  .float{width:clamp(100px,11.5vw,180px);margin:calc(clamp(100px,11.5vw,180px) * -.625) 0 0 calc(clamp(100px,11.5vw,180px) * -.5)}
}

/* Phone collage: a slightly larger base card; each card depth then sets its final size. */
@media(max-width:760px){.float{width:106px;margin:-66px 0 0 -53px}}

/* ---------- booking: a gold arrow points down at the form (replaces the crossed banners) ---------- */
.book{padding-top:40px}
.book-arrow{display:flex;justify-content:center;width:72px;height:96px;margin:0 auto;align-items:center;color:var(--gold);animation:arrowNudge 1.8s cubic-bezier(.45,0,.55,1) infinite}
.book-arrow:hover{color:var(--paper)}
.book-arrow svg{width:40px;height:64px}
.book-body{padding-top:40px}
@keyframes arrowNudge{0%,100%{transform:translateY(-6px)}50%{transform:translateY(10px)}}
/* Arrow stays still. */
.book-arrow{animation:none}

/* Hero cards stay invisible until their photo has loaded, then fade in, so no empty gray boxes show. */
.float{background:transparent;box-shadow:none;transition:box-shadow .6s}
.float img{opacity:0;transition:opacity .6s ease,scale .5s cubic-bezier(.16,1,.3,1)}
.float.loaded{box-shadow:0 20px 50px rgba(0,0,0,.5)}
.float.loaded img{opacity:1}

/* Wordmark entrance: letters rise softly into place with a quick blur-to-sharp, no drop, spin, or bounce. */
.hero-title span{animation:titleIn 1s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i) * 35ms + .15s)}
@keyframes titleIn{from{opacity:0;transform:translateY(28%);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(0)}}

/* No drop-shadow filters on the mouth: iPhone Safari can clip them into a visible red box while the logo moves.
   A soft radial glow sits behind it instead, fading to nothing well inside its own edges. */
.hero-mouth,.intro-mouth,.footer-logo{filter:none}
.mouth-wrap::before{content:"";position:absolute;left:50%;top:45%;width:170%;aspect-ratio:1;translate:-50% -50%;z-index:-1;pointer-events:none;border-radius:50%;
  background:radial-gradient(circle,rgba(161,44,34,.42) 0,rgba(161,44,34,.16) 32%,rgba(161,44,34,0) 62%)}

/* Arrow bounces again. */
.book-arrow{animation:arrowNudge 1.8s cubic-bezier(.45,0,.55,1) infinite}

/* Loader: a gray, dimmed mouth sits underneath; the full-color mouth fills up over it from the bottom. */
.intro-mouth-gray{clip-path:none;z-index:1;filter:grayscale(1) brightness(.45) contrast(.9);opacity:1}
.intro-mouth:not(.intro-mouth-gray){z-index:2}

/* The wordmark is one word and must never wrap. Size it to the screen width instead of a fixed minimum. */
.hero-title{white-space:nowrap;font-size:min(16vw,280px)}
@media(max-width:760px){.hero-title{font-size:19vw}}

/* "The Work" transition: no tan page. It stays black from the hero, red spreads across, then black ink swallows it again. */
.ink-base{background:var(--ink) var(--grain);color:var(--paper)}
.ink-base .ink-kicker{color:#a49c8b}

/* Flash sheet pins: flat gold with an ink outline, like the rest of the site, instead of the glossy red ball. */
.sheet::before{width:14px;height:14px;margin-left:-7px;top:-8px;background:var(--gold);border:2px solid var(--ink);box-shadow:1px 2px 0 rgba(25,24,22,.35)}

/* Match the hero black exactly (no grain on the black layers), and shorten the hero so the next section arrives sooner. */
.ink-base,.ink-layer{background:var(--ink)}
.hero{height:200vh}
@media(max-width:760px){.hero{height:165vh}}

/* Hide the browser's gray scrollbar strip (Windows desktop shows one); scrolling still works the same. */
html{scrollbar-width:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
/* The menu bar only scrolls when the menu is open, and never shows a scrollbar of its own. */
.pill{overflow:visible;scrollbar-width:none}
.pill.open{overflow-y:auto}
.pill::-webkit-scrollbar{display:none;width:0;height:0}

/* Less scrolling to reach The Work: shorter hero and a shorter ink section. The red starts the moment the section peeks in. */
.hero{height:170vh}
.tear{height:170vh}
@media(max-width:760px){.hero{height:135vh}.tear{height:160vh}}

/* Section flow: each section slides up over the end of the one before it, so there is no dead black scrolling between them.
   The Work rises while the hero photos scatter, locks, plays the full red then black splat, and the work photos rise in over the black. */
.hero{position:relative;z-index:0;height:200vh}
.tear{position:relative;z-index:1;height:210vh;margin-top:-40vh}
.index{z-index:2;margin-top:-45vh}
@media(max-width:760px){.hero{height:160vh}.tear{height:200vh}}
.index{margin-top:-25vh}
/* A little more room for the splat to play out. */
.tear{height:240vh}
@media(max-width:760px){.tear{height:230vh}}

/* Flash: equal space above the heading and below the last sheet. Desktop wall height follows the sheet size so no empty band is left under them. */
.flash{padding-top:70px}
@media(min-width:761px){.flash-wall{height:clamp(320px,36vw,450px)}}
.flash{padding-top:70px}
@media(max-width:760px){.flash{padding-top:48px}}

/* ======================================================================
   Refinement pass: borderless menu, legible small labels, and a booking form that matches the site.
   ====================================================================== */

/* ---------- menu: no outline pill, just cream "Menu" beside a bigger smoking mouth ---------- */
.pill-toggle,.pill-toggle:hover,.pill.open .pill-toggle{border:0;background:transparent;border-radius:0}
.pill-toggle{gap:8px;min-width:44px;min-height:48px;padding:0 0 0 6px;margin-right:-6px}
.menu-word{color:var(--paper);font-size:11px;letter-spacing:.26em;transition:color .25s}
.pill-toggle:hover .menu-word,.pill-toggle:focus-visible .menu-word{color:var(--gold)}
.pill-toggle:focus-visible{outline-offset:2px;border-radius:6px}
.cig-mouth{width:96px}
@media(max-width:760px){
  .pill-toggle{gap:6px;min-height:48px}
  .menu-word{font-size:10.5px;letter-spacing:.24em}
  .cig-mouth{width:80px}
  .pill-bar{padding-top:calc(2px + env(safe-area-inset-top,0px));padding-bottom:2px}
}

/* ---------- small labels on phones: a touch bigger, more open, and brighter ---------- */
@media(max-width:760px){
  .hero-sub{font-size:12px;letter-spacing:.2em;color:#ddd5c3}
  .ink-kicker{font-size:12.5px;letter-spacing:.2em}
  .ink-base .ink-kicker{color:#b9b09e}
  .index-name{font-size:13px;letter-spacing:.2em;color:#e1d9c7}
  .index-count{color:#b9b09e}
  .flash-hint{font-size:15px;color:#4a453c}
  .grid-items span{font-size:12.5px;color:#ddd5c3}
  .viewer-caption{font-size:13.5px;color:#cfc7b5}
  .book-alt{font-size:15px;color:#b9b09e}
  footer{font-size:15px}
}

/* ---------- booking form: dark ink fields, small-caps labels, and a flash-sheet style button ---------- */
.appointment-form{margin-top:40px}
.form-grid{gap:22px 18px}
.form-grid label{font:600 11.5px/1.3 var(--body);letter-spacing:.18em;text-transform:uppercase;color:#cfc7b5}
.form-grid .optional{font:400 12px var(--body);letter-spacing:.04em;text-transform:none;color:#8f8777}
.form-grid input,.form-grid textarea,.form-grid select{min-height:54px;margin-top:9px;padding:14px 15px;
  background:#211f1c;color:var(--paper);border:1px solid rgba(233,226,208,.2);border-radius:4px;
  font:16px/1.4 var(--body);letter-spacing:normal;text-transform:none;transition:border-color .2s,background .2s}
.form-grid textarea{min-height:132px;line-height:1.5}
.form-grid input::placeholder,.form-grid textarea::placeholder{color:#8f8777}
.form-grid :is(input,select,textarea):hover{border-color:rgba(233,226,208,.36)}
.form-grid :is(input,select,textarea):focus{outline:0;border-color:var(--gold);background:#25221e;box-shadow:0 0 0 3px rgba(201,167,90,.18)}
.form-grid select{appearance:none;-webkit-appearance:none;padding-right:44px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23c9a75a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center}
.form-grid select:invalid{color:#8f8777}
.form-grid option{color:var(--ink);background:var(--paper)}
/* Keep autofilled fields dark instead of the browser's yellow or blue. */
.form-grid input:-webkit-autofill{-webkit-box-shadow:0 0 0 60px #211f1c inset;-webkit-text-fill-color:var(--paper);caret-color:var(--paper)}
.appointment-form .book-button{margin-top:32px;padding:16px 24px;border-radius:4px;border:2px solid var(--paper);
  font:400 clamp(26px,4vw,32px)/1 var(--display);letter-spacing:.01em;box-shadow:5px 6px 0 var(--red);
  transition:background .2s,color .2s,transform .15s,box-shadow .15s}
.appointment-form .book-button:is(:hover,:focus-visible){background:var(--red);border-color:var(--red);color:var(--paper);box-shadow:5px 6px 0 var(--paper)}
.appointment-form .book-button:active{transform:translate(3px,4px);box-shadow:2px 2px 0 var(--red)}
#form-status:not(:empty){font-size:15px;color:#e1d9c7}
@media(max-width:760px){
  .book-body{padding-left:20px;padding-right:20px}
  .form-grid{gap:20px}
  .appointment-form .book-button{margin-top:28px;min-height:60px;margin-right:5px;width:calc(100% - 5px)}
}

/* Very short phone screens (iPhone SE with Safari's bars): a slightly smaller logo and tighter subtitle leave room for the photos. */
@media(max-width:760px) and (max-height:620px){
  .mouth-wrap,.hero-mouth{width:96px}
  .hero-sub{margin-top:10px;line-height:1.7}
}
/* The booking button label always fits on one line, down to 320px phones. */
@media(max-width:760px){.appointment-form .book-button{font-size:min(26px,6.6vw);padding:16px 14px;white-space:nowrap}}

/* ---------- phones: hero to The Work handoff with no dead black ----------
   The Work now starts right where the hero's animation ends (the hero is 160vh, so 60vh of scrolling).
   Its black backgrounds are see-through until the red arrives, so it can sit over the hero without hiding it. */
@media(max-width:760px){
  .tear{margin-top:-100vh;background:transparent;pointer-events:none}
  .ink-base{background:transparent}
  /* The Work photos rise in as soon as the black ink has covered the screen. */
  .index{margin-top:-40vh}
  /* Booking: less empty black between the flash sheets, the arrow, and the heading. */
  .book{padding-top:24px}
  .book-arrow{height:76px}
  .book-body{padding-top:16px;padding-bottom:64px}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
  .tear,.index{margin-top:0}
  .tear,.ink-base{background:var(--ink)}
}

/* ---------- Work: a quiet "Skip to flash" link so nobody has to scroll every photo to reach the flash and the form ---------- */
.skip-work{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;
  font:600 11.5px/1 var(--body);letter-spacing:.22em;text-transform:uppercase;color:var(--paper);transition:color .2s}
.skip-work span{font-size:15px;letter-spacing:0;transition:transform .25s}
.skip-work:hover,.skip-work:focus-visible{color:var(--gold)}
.skip-work:hover span{transform:translateY(3px)}
@media(min-width:761px){.skip-work{top:26px;right:clamp(20px,4vw,64px)}}
@media(max-width:760px){
  /* Same row as "See all", centered between it and the photo counter. */
  .see-all{grid-column:1}
  .skip-work{position:static;grid-row:1;grid-column:1;justify-self:center;align-self:center;font-size:10.5px;letter-spacing:.18em}
}
.skip-work b{font-weight:inherit}
@media(max-width:370px){.skip-work b{display:none}}
/* Desktop: "See all" sat under the fixed menu bar and could not be clicked. Both buttons now sit just below the bar. */
@media(min-width:761px){
  .see-all{top:96px}
  .skip-work{top:auto;bottom:28px}
}
