/* ==========================================================================
   Spencer Scott Smith — "Stage Light & Red Clay"
   A warm, cinematic dark theme: amber stage light, red-clay undertones,
   bone-cream type, fine film grain. Hand-authored, no framework.
   --------------------------------------------------------------------------
   Sections:  0 Tokens · 1 Reset · 2 Typography · 3 Layout · 4 Header/Nav
              5 Hero · 6 Buttons · 7 Bio · 8 Music · 9 Video · 10 Shows
              11 Instagram · 12 Footer · 13 Embeds/Facades · 14 Motion · 15 A11y
   ========================================================================== */

/* 0 · Design tokens ------------------------------------------------------- */
:root {
  /* Palette — warm dark + amber stage light + red clay */
  --ink:        #100c08;   /* deepest — page base                */
  --ink-2:      #161009;   /* warm charcoal — primary surface     */
  --panel:      #1d1610;   /* raised panel                        */
  --panel-2:    #261d14;   /* hover / nested panel                */
  --line:       #312518;   /* hairline borders                    */
  --line-soft:  #261d13;

  --amber:      #f5b13f;   /* stage light — primary accent        */
  --amber-hi:   #ffd27a;   /* highlight / glow core               */
  --amber-deep: #c9851f;   /* pressed / shadow of amber           */
  --clay:       #c2622d;   /* red-clay rust — secondary accent    */
  --clay-deep:  #9b431d;

  --cream:      #f4ead7;   /* primary text — warm bone            */
  --cream-dim:  #cdbfa6;   /* secondary text                      */
  --muted:      #9a8b70;   /* tertiary / captions                 */
  --muted-2:    #6f6147;   /* faint labels                        */

  /* Typography */
  --serif:  "Fraunces", Georgia, "Times New Roman", serif;
  --sans:   "Hanken Grotesk", "PT Sans", system-ui, sans-serif;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;

  /* Fluid type scale */
  --fs-eyebrow: clamp(.72rem, .68rem + .2vw, .82rem);
  --fs-body:    clamp(1rem, .97rem + .25vw, 1.12rem);
  --fs-lead:    clamp(1.18rem, 1.05rem + .7vw, 1.5rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  --fs-h2:      clamp(2.1rem, 1.5rem + 3vw, 4rem);
  --fs-display: clamp(2.55rem, 1rem + 6.4vw, 8.5rem);

  /* Space + structure */
  --gutter: clamp(1.25rem, 1rem + 3vw, 4rem);
  --maxw: 1240px;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow:    0 24px 60px -28px rgba(0,0,0,.85);
  --shadow-amber: 0 18px 60px -22px rgba(245,177,63,.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* 1 · Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--cream);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Warm radial atmosphere wash sitting under everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(245,177,63,.12), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(194,98,45,.10), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 40%, var(--ink) 100%);
}
/* Fine film grain overlay for analog warmth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }

/* 2 · Typography ---------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.015em;
  font-optical-sizing: auto;
}
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: .4em;
  gap: .7em;
  max-width: 100%;
}
.eyebrow::before {
  content: "";
  width: clamp(20px, 4vw, 42px);
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: clamp(20px, 4vw, 42px);
  height: 1px;
  background: linear-gradient(270deg, var(--amber), transparent);
}
.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--amber-hi);
  line-height: .9;
}
.lead { font-size: var(--fs-lead); color: var(--cream-dim); line-height: 1.5; }
.br-lg { display: none; }
@media (min-width: 800px) { .br-lg { display: inline; } }
p + p { margin-top: 1em; }
em { font-style: italic; }

/* 3 · Layout -------------------------------------------------------------- */
.wrap { width: min(100% - 2*var(--gutter), var(--maxw)); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 3rem + 9vw, 9rem); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }

/* 4 · Header / Nav -------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(.85rem, .6rem + 1vw, 1.4rem) var(--gutter);
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(16,12,8,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: clamp(.6rem, .4rem + .6vw, .9rem);
}
.brand { display: flex; align-items: center; gap: .7rem; z-index: 2; }
.brand img { width: clamp(96px, 12vw, 132px); height: auto; filter: drop-shadow(0 0 18px rgba(245,177,63,.45)); }
.brand .sr-only-name { line-height: 1; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav a {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream-dim);
  position: relative;
  padding: .25rem 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-social { display: flex; gap: .9rem; padding-left: clamp(.5rem,1.5vw,1.2rem); margin-left: clamp(.2rem,1vw,1rem); border-left: 1px solid var(--line); }
.nav-social a { color: var(--muted); transition: color .25s var(--ease), transform .25s var(--ease); }
.nav-social a:hover { color: var(--amber); transform: translateY(-2px); }
.nav-social svg { width: 19px; height: 19px; }

.nav-toggle { display: none; z-index: 2; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle span:nth-child(1){ top: 16px; } .nav-toggle span:nth-child(2){ top: 22px; } .nav-toggle span:nth-child(3){ top: 28px; }
.nav-open .nav-toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 1.8rem;
    background: rgba(16,12,8,.97);
    backdrop-filter: blur(8px);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav a { font-size: 1.5rem; font-family: var(--serif); }
  .nav-social { border-left: 0; padding-left: 0; margin-left: 0; }
  .nav-open .nav { transform: translateX(0); }
}

/* 5 · Hero — split: type on the dark left, photo on the right ------------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.04fr .96fr; overflow: clip; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* blend the photo's left edge into the dark page, darken top for nav legibility,
   and float a warm amber stage-light glow over it */
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(16,12,8,.55) 15%, rgba(16,12,8,.08) 42%, transparent 60%),
    linear-gradient(180deg, rgba(16,12,8,.55) 0%, transparent 24%, transparent 66%, rgba(16,12,8,.9) 100%),
    radial-gradient(65% 55% at 82% 14%, rgba(245,177,63,.20), transparent 62%);
}
.hero-text {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(7rem,14vh,9rem) clamp(3rem,6vh,5rem);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)) clamp(1.5rem,4vw,3.5rem);
}
.hero-text .eyebrow { margin-bottom: 1.4rem; }
.hero h1 { margin: 0; }
.hero .name-script {
  font-family: var(--script);
  font-size: clamp(2.2rem, 1rem + 3.4vw, 4rem);
  color: var(--amber-hi);
  display: block; line-height: .9;
  text-shadow: 0 0 30px rgba(245,177,63,.4);
  margin-bottom: .04em;
}
.hero .tagline {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 1rem + 4.2vw, 5rem);
  font-weight: 600; line-height: .98; letter-spacing: -.02em;
}
.hero .tagline .clay { color: var(--clay); font-style: italic; }
.hero .sub { margin-top: 1.5rem; max-width: 42ch; color: var(--cream-dim); font-size: var(--fs-lead); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }

@media (max-width: 820px) {
  .hero { display: block; }
  .hero-photo { position: absolute; inset: 0; z-index: 0; }
  .hero-photo img { object-position: 50% 30%; }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(16,12,8,.45) 0%, rgba(16,12,8,.25) 22%, rgba(16,12,8,.72) 52%, rgba(16,12,8,.95) 78%, var(--ink) 100%),
      radial-gradient(85% 45% at 72% 12%, rgba(245,177,63,.16), transparent 60%);
  }
  .hero-text {
    position: relative; z-index: 2; min-height: 100svh; justify-content: flex-end;
    padding-inline: var(--gutter); padding-block: 6rem clamp(3rem,12vh,5rem);
  }
  .hero .sub { max-width: 100%; }
}

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: .5rem; color: var(--muted); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue .dot { width: 1px; height: 42px; background: linear-gradient(var(--amber), transparent); animation: cueDrop 2.4s var(--ease) infinite; }
@keyframes cueDrop { 0%{ transform: scaleY(0); transform-origin: top; } 45%{ transform: scaleY(1); transform-origin: top; } 55%{ transform: scaleY(1); transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }

/* 6 · Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .92em 1.6em;
  font-family: var(--sans); font-weight: 700; font-size: .92rem;
  letter-spacing: .04em;
  border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-amber); }
.btn-primary:hover { background: var(--amber-hi); transform: translateY(-3px); box-shadow: 0 22px 60px -20px rgba(245,177,63,.6); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }
.btn-text { color: var(--amber); font-weight: 700; letter-spacing: .03em; display: inline-flex; align-items: center; gap: .5em; }
.btn-text .arrow { transition: transform .25s var(--ease); }
.btn-text:hover .arrow { transform: translateX(5px); }

/* 7 · Bio ----------------------------------------------------------------- */
.bio { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; }

/* Left: a quote + accolade feature panel (no photo — the one good photo lives in the hero) */
.bio-feature {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--ink-2));
  border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: clamp(1.6rem,3vw,2.6rem);
  box-shadow: var(--shadow);
}
.bio-feature .markk { font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--amber); opacity: .5; display: block; height: .5em; }
.bio-feature .pullquote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem,1.1rem+1.4vw,2.2rem); line-height: 1.2;
  color: var(--cream); margin: .4rem 0 1.6rem;
}
.bio-feature .accolade { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.bio-feature .accolade b { display: block; font-family: var(--serif); color: var(--amber); font-size: 1.15rem; }
.bio-feature .accolade span { font-size: .85rem; color: var(--muted); letter-spacing: .01em; }

.bio-copy h2 { font-size: var(--fs-h2); margin: 1rem 0 1.4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.tag {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--line); border-radius: 100px;
  padding: .45em 1.1em;
  transition: border-color .25s, color .25s;
}
.tag:hover { border-color: var(--clay); color: var(--clay); }

@media (max-width: 800px) {
  .bio { grid-template-columns: 1fr; }
  .bio-feature { order: 2; }
  .bio-copy { order: 1; }
}

/* 8 · Music --------------------------------------------------------------- */
.music { position: relative; overflow: clip; }
.music .section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem,5vw,3.5rem); }
.music .section-head h2 { font-size: var(--fs-h2); margin-top: .8rem; }
.music-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem,2.5vw,2rem); align-items: start; }
.music-grid .feature { grid-column: 1 / -1; }
@media (max-width: 760px){ .music-grid { grid-template-columns: 1fr; } }

.streaming { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(2rem,4vw,3rem); }
.streaming a {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 600; font-size: .9rem; color: var(--cream-dim);
  border: 1px solid var(--line); border-radius: 100px; padding: .7em 1.3em;
  transition: border-color .25s, color .25s, transform .25s;
}
.streaming a:hover { border-color: var(--amber); color: var(--cream); transform: translateY(-2px); }
.streaming svg { width: 18px; height: 18px; }

/* 9 · Video --------------------------------------------------------------- */
.video-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.2rem,2.5vw,1.8rem); }
@media (max-width: 760px){ .video-grid { grid-template-columns: 1fr; } }

/* 10 · Shows -------------------------------------------------------------- */
.shows-teaser { position: relative; overflow: clip; text-align: center; }
.shows-teaser .bg { position: absolute; inset: 0; z-index: -1; }
.shows-teaser .bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.4) sepia(.3); }
.shows-teaser .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(16,12,8,.6) 50%, var(--ink) 100%); }
.shows-teaser h2 { font-size: var(--fs-h2); margin: .8rem auto 1.2rem; max-width: 16ch; }
.shows-teaser .lead { max-width: 50ch; margin: 0 auto 2rem; }

/* Shows page — Bandsintown host */
.shows-page-main { padding-top: clamp(7rem, 12vh, 11rem); min-height: 70vh; }
.bit-host { margin-top: 2.5rem; min-height: 280px; position: relative; }
.bit-host .bit-loading {
  display: grid; place-items: center; gap: 1rem;
  padding: 3rem 1rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.bit-host .bit-loading .pulse { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--amber); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fallback-link { text-align: center; margin-top: 2rem; color: var(--muted); }

/* 11 · Instagram ---------------------------------------------------------- */
.ig .section-head { text-align: center; margin-bottom: clamp(2rem,4vw,3rem); }
.ig .handle { font-family: var(--serif); font-size: var(--fs-h3); color: var(--cream); }
.ig .handle a:hover { color: var(--amber); }
.juicer-host { min-height: 200px; }
/* Tame Juicer's default styling toward our theme */
.juicer-host .juicer-feed { background: transparent !important; }
.juicer-host .juicer-feed h1.referral { display: none !important; }
.juicer-host .juicer-feed .j-poster .j-author { color: var(--cream) !important; }
.juicer-host .juicer-feed li.feed-item { border-radius: var(--radius-sm) !important; overflow: hidden; border: 1px solid var(--line) !important; }

/* 12 · Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(3rem,5vw,4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.site-footer .f-brand img { width: 120px; filter: drop-shadow(0 0 16px rgba(245,177,63,.4)); margin-bottom: 1rem; }
.site-footer .f-brand p { color: var(--muted); max-width: 32ch; font-size: .95rem; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--cream-dim); transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: .82rem; }
.footer-bottom .credit { letter-spacing: .02em; }
@media (max-width: 700px){ .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer .f-brand { grid-column: 1 / -1; } }

/* 13 · Embeds & facades --------------------------------------------------- */
.embed-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.embed-card:hover { border-color: var(--line); }

/* Facade (click-to-load for Spotify/YouTube/Apple) */
.facade { position: relative; width: 100%; cursor: pointer; display: block; border: 0; padding: 0; text-align: left; background: var(--panel); }
.facade .facade-media { display: block; position: relative; width: 100%; aspect-ratio: var(--ar, 16/9); overflow: hidden; }
.facade .facade-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.facade .facade-media.no-img { background:
    radial-gradient(120% 120% at 30% 10%, rgba(245,177,63,.18), transparent 55%),
    linear-gradient(135deg, var(--panel-2), var(--ink-2)); }
.facade:hover .facade-media img { transform: scale(1.05); filter: brightness(.8); }
.facade .facade-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(16,12,8,.85)); }
.facade .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: clamp(56px,7vw,76px); height: clamp(56px,7vw,76px); border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
  background: var(--amber); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(245,177,63,.55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.facade:hover .play { transform: translate(-50%,-50%) scale(1.08); background: var(--amber-hi); box-shadow: 0 0 0 14px rgba(245,177,63,.12); }
.facade .play svg { width: 40%; height: 40%; margin-left: 8%; }
.facade .facade-meta { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; }
.facade .facade-meta .kicker { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.facade .facade-meta .title { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--cream); margin-top: .2rem; }
.facade.is-audio .facade-media { aspect-ratio: auto; min-height: 152px; }

/* The live iframe replaces .facade-media in place */
.embed-frame { width: 100%; border: 0; display: block; }
.embed-frame.video { aspect-ratio: 16/9; }
.embed-frame.spotify { height: 352px; }
.embed-frame.spotify-compact { height: 152px; }
.embed-frame.apple { height: 175px; }

/* 14 · Motion — reveal on scroll ----------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }

/* Page-load hero stagger */
.preload .hero-text > * { opacity: 0; transform: translateY(22px); }
.loaded .hero-text > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.loaded .hero-text > *:nth-child(1){ transition-delay: .1s; }
.loaded .hero-text > *:nth-child(2){ transition-delay: .22s; }
.loaded .hero-text > *:nth-child(3){ transition-delay: .34s; }
.loaded .hero-text > *:nth-child(4){ transition-delay: .46s; }
.loaded .hero-text > *:nth-child(5){ transition-delay: .58s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .preload .hero-text > * { opacity: 1; transform: none; }
  .scroll-cue { display: none; }
  .brand img, .hero .name-script { text-shadow: none; }
}

/* 16 · Contact form ------------------------------------------------------- */
.contact-main { padding-top: clamp(7rem, 12vh, 11rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.contact-intro h1 { font-size: var(--fs-h2); margin: .6rem 0 1.2rem; }
.contact-intro .lead { margin-bottom: 2rem; }
.contact-direct { display: grid; gap: 1rem; margin-top: 2.2rem; }
.contact-direct a { display: inline-flex; align-items: center; gap: .7rem; color: var(--cream); font-weight: 600; }
.contact-direct a:hover { color: var(--amber); }
.contact-direct svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,3vw,2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--cream-dim); margin-bottom: .5rem; }
.field label .req { color: var(--clay); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--cream);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8em 1em; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,177,63,.16); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.3rem; font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(15,131,77,.15); border: 1px solid #1c6b48; color: #8ee0b6; }
.form-status.err { background: rgba(194,98,45,.15); border: 1px solid var(--clay-deep); color: #f0a877; }
@media (max-width: 760px){ .contact-grid { grid-template-columns: 1fr; } }

/* 15 · Accessibility ------------------------------------------------------ */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 200; background: var(--amber); color: var(--ink); padding: .6rem 1rem; border-radius: 0 0 8px 8px; font-weight: 700; transition: top .25s var(--ease); }
.skip-link:focus { top: 0; }
