/* Yogi Brass. Desktop: one fixed canvas scrubs photoreal Cycles frames of the process with scroll.
   Phones: a 2D site that plays the same renders as small flipbooks. Inner pages share the header and the
   curtain footer. Solid surfaces only (no strokes, no translucent cards). */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth-ext.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --night: #16120f;      /* ground: warm soot, never black */
  --graphite: #1f1a16;   /* surfaces */
  --graphite-2: #28221d;
  --graphite-3: #332c25;
  --ivory: #efe8dc;
  --ivory-2: #c9c0b2;
  --brass: #d6a54e;
  --brass-hi: #e6b965;
  --molten: #ff7a1a;     /* heat only: progress, loader */
  --ink: #15120f;
  --foot: #2b2016;
  --fs-cap: clamp(42px, 4.4vw, 72px);
  --fs-h1: clamp(36px, 4.4vw, 66px);
  --fs-h2: clamp(28px, 2.9vw, 44px);
  --fs-h3: clamp(19px, 1.45vw, 22px);
  --fs-body: 17px;
  --fs-small: 14px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.87, 0, 0.13, 1);
  --header: 76px;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--ivory); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body {
  margin: 0; background: var(--night); font-family: "Archivo", system-ui, sans-serif; font-size: var(--fs-body);
  line-height: 1.55; font-weight: 400; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 760; line-height: 1.04; letter-spacing: -0.01em; font-stretch: 112%; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.section + .section { padding-top: 0; }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.head h2 { font-size: var(--fs-h2); }
.head p { color: var(--ivory-2); max-width: 36em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--brass); color: var(--ink); font-weight: 650; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background .18s ease, transform .16s ease;
}
.btn:hover { background: var(--brass-hi); }
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--graphite-3); color: var(--ivory); }
.btn--dark:hover { background: #3d352d; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header); display: flex; align-items: center;
  justify-content: space-between; gap: 24px; padding: 0 var(--pad); transition: background .3s ease;
}
html.is-solid .top { background: var(--night); }
.brand { display: inline-flex; background: var(--ivory); border-radius: 12px; padding: 7px 12px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding: 8px 0; transition: color .18s ease; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav .btn { min-height: 42px; padding: 0 20px; }
.menu-btn { display: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--graphite-3); cursor: pointer; font-weight: 600; }
.menu {
  position: fixed; inset: var(--header) 0 0 0; z-index: 39; background: var(--night); display: none; flex-direction: column;
  padding: 24px var(--pad) 40px; gap: 4px; overflow-y: auto;
}
.menu.is-open { display: flex; }
.menu a:not(.btn) { font-size: 30px; font-weight: 720; font-stretch: 115%; text-decoration: none; padding: 10px 0; }
.menu a[aria-current="page"] { color: var(--brass); }
.menu .btn { margin-top: 20px; align-self: flex-start; font-size: 16px; }
html.is-menu .top { background: var(--night); }
html.is-menu, html.is-menu body { overflow: hidden; }

/* ---------- loading slider (desktop home) ---------- */
.loader { position: fixed; inset: 0; z-index: 90; background: var(--night); display: grid; place-items: center; padding: var(--pad);
  transition: opacity .9s var(--ease-out), visibility 0s linear .9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__in { width: min(440px, 100%); display: grid; gap: 30px; justify-items: center; }
.loader__frame { display: inline-flex; background: var(--ivory); border-radius: 18px; padding: 12px 20px; }
.loader__frame img { height: 46px; width: auto; }
.loader__track { position: relative; width: 100%; height: 4px; border-radius: 4px; background: var(--graphite-3); }
.loader__fill { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, var(--brass), var(--molten)); transform-origin: left; transform: scaleX(0); transition: transform .35s var(--ease-out); } /* taste-skill-ignore: heat ramp on the progress fill */
.loader__knob { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff3dc;
  box-shadow: 0 0 22px 6px rgba(255, 122, 26, .6); transition: left .35s var(--ease-out); } /* taste-skill-ignore: white-hot knob */
.loader__row { width: 100%; display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-small); color: var(--ivory-2); }
.loader__pct { font-variant-numeric: tabular-nums; color: var(--ivory); font-weight: 600; }

/* ---------- desktop / phone switch ---------- */
.mob { display: none; }
@media (max-width: 900px), (pointer: coarse) {
  .desk, .loader { display: none !important; }
  .mob { display: block; }
}

/* ---------- desktop home: the process ---------- */
#seq { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; background: var(--night); }
.desk { position: relative; }
.chapter { position: relative; height: 420vh; }
.chapter.is-first { height: 520vh; }   /* the first 100vh is the hero */
.hero {
  position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) calc(var(--pad) + 24px); pointer-events: none; transition: opacity .5s ease, transform .8s var(--ease-out);
}
.hero > * { pointer-events: auto; }
html:not(.is-ready) .hero, html.is-past-hero .hero { opacity: 0; transform: translateY(-16px); pointer-events: none; }
html.is-past-hero .hero > * { pointer-events: none; }
.hero h1 { font-size: var(--fs-h1); max-width: 12em; font-stretch: 120%; font-weight: 800; text-shadow: 0 2px 34px rgba(0, 0, 0, .55); }
.hero p { margin-top: 18px; max-width: 32em; color: var(--ivory); font-size: 18px; text-shadow: 0 1px 18px rgba(0, 0, 0, .75); }
.hero .row { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.hint { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--ivory-2); text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hint i { width: 2px; height: 22px; border-radius: 2px; background: var(--graphite-3); position: relative; overflow: hidden; }
.hint i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--molten); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* captions tied to the scroll position inside each scene */
.caps { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
.cap { position: fixed; left: var(--pad); bottom: calc(var(--pad) + 28px); max-width: min(560px, 42vw); visibility: hidden; }
.cap.at-right { left: auto; right: var(--pad); }
.cap.is-on { visibility: visible; }
.cap .title { font-size: var(--fs-cap); font-weight: 800; font-stretch: 125%; line-height: .95; letter-spacing: -0.02em; text-shadow: 0 2px 40px rgba(0, 0, 0, .55); }
.line { display: block; overflow: hidden; padding-bottom: .07em; }
.line > span { display: block; transform: translateY(108%); transition: transform .5s var(--ease-io); }
.cap.is-on .line > span { transform: none; transition: transform .9s var(--ease-out); }
.cap.is-on .line:nth-child(2) > span { transition-delay: .07s; }
.cap .lede, .cap .ticks, .cap .tiles { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .5s var(--ease-out); }
.cap.is-on .lede, .cap.is-on .ticks, .cap.is-on .tiles { opacity: 1; transform: none; transition: opacity .5s ease .22s, transform .8s var(--ease-out) .22s; }
.cap .lede { margin-top: 16px; font-size: clamp(17px, 1.25vw, 20px); font-weight: 500; max-width: 28em; text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 1px 18px rgba(0, 0, 0, .85); }
.ticks { margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { list-style: none; position: relative; padding-left: 24px; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 1px 14px rgba(0, 0, 0, .85); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; border-radius: 3px; background: var(--brass); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; max-width: 470px; }
.tile { position: relative; aspect-ratio: 1; background: var(--graphite); border-radius: 12px; overflow: hidden; }
.tile img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .5)); }

/* scene progress: five segments along the bottom edge */
.rail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 13; margin: 0; padding: 0; display: flex; gap: 3px; transition: opacity .4s ease; }
.rail li { list-style: none; flex: 1; height: 3px; background: var(--graphite-3); overflow: hidden; }
.rail .fill { display: block; height: 100%; background: var(--molten); transform-origin: left; transform: scaleX(0); }
html:not(.is-past-hero) .rail, html.is-after .rail { opacity: 0; }

/* after the process: solid sections slide up over the last frame */
.after { position: relative; z-index: 20; background: var(--night); border-radius: 40px 40px 0 0; }
/* shop-floor cards: the client's own photos (never shown during the process) */
.floor { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.floor figure { grid-column: span 2; }
.floor figure:nth-child(n+4) { grid-column: span 3; }                 /* five photos: three, then two wider */
.floor figure:nth-child(n+4) .ph { aspect-ratio: 16 / 10; }
.floor figure { margin: 0; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
.floor .ph { aspect-ratio: 4 / 5; overflow: hidden; }
.floor img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.floor figure:hover img { transform: scale(1.04); }
.floor figcaption { padding: 16px 20px 20px; font-weight: 650; }

/* closing call (inside the curtain) */
.endcta { display: grid; gap: 18px; justify-items: start; }
.endcta h2 { font-size: var(--fs-h2); max-width: 16em; }
.endcta p { color: var(--ivory-2); max-width: 40em; }

/* ---------- autoplay control (desktop process) ---------- */
.play { position: fixed; left: var(--pad); bottom: 18px; z-index: 14; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--graphite-2); color: var(--ivory); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s ease, opacity .4s ease; }
.play:hover { background: var(--graphite-3); }
html:not(.is-past-hero) .play, html.is-after .play { opacity: 0; pointer-events: none; }
.cap { bottom: calc(var(--pad) + 52px); }

/* ---------- product stages (js/products.js) ---------- */
.show { display: grid; gap: 12px; min-width: 0; }
.show__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  background: radial-gradient(70% 62% at 50% 40%, #3b3128 0%, #2a231d 45%, var(--graphite) 78%); } /* taste-skill-ignore: the stage's one studio light */
.show--wide .show__stage { aspect-ratio: 16 / 10; }
.show__float { position: absolute; inset: 0; z-index: 1; transform: translateY(calc(var(--sp, 0) * 22px)) rotate(calc(var(--sp, 0) * -2.5deg)); }
.show__fig { position: absolute; inset: 12% 10% 14%; margin: 0; opacity: 0; }
.show--wide .show__fig { inset: 10% 6% 13%; }
.show__fig img, .glint { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.show__fig img { filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .62)) drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); }
.show__fig.is-on { opacity: 1; }
.show__fig.is-in { animation: fig-in .8s var(--ease-out) both; }
.show__fig.is-out { opacity: 1; animation: fig-out .46s cubic-bezier(.5, 0, .75, 0) both; }
@keyframes fig-in { from { opacity: 0; transform: translateX(calc(var(--d, 1) * 46px)) scale(1.06); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fig-out { to { opacity: 0; transform: translateX(calc(var(--d, 1) * -46px)) scale(.9); filter: blur(10px); } }
/* polish glint: a highlight that runs across the brass, masked by the part's own cut-out */
.glint { -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 236, 200, 0) 40%, rgba(255, 238, 205, .8) 50%, rgba(255, 236, 200, 0) 60%);
  background-size: 300% 100%; background-position: 110% 0; mix-blend-mode: screen; } /* taste-skill-ignore: light sweep on polished brass */
.show__fig.is-in .glint { animation: glint 1.4s .3s var(--ease-io) both; }
.show--glow .show__fig.is-on .glint { animation: glint 3.6s 1s ease-in-out infinite; }
@keyframes glint { from { background-position: 110% 0; } to { background-position: -10% 0; } }
.show__thumbs { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 8px; }
.th { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; background: var(--graphite); cursor: pointer; transition: background .25s ease; }
.th img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .45)); transition: transform .5s var(--ease-out); }
.th:hover img { transform: scale(1.1) rotate(-4deg); }
.th.is-on { background: var(--graphite-3); }
.th.is-on::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: 7px; height: 3px; border-radius: 3px; background: var(--brass); }

/* best seller */
.best__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.best__copy h2 { font-size: var(--fs-h2); max-width: 12em; }
.best__copy > p { margin-top: 16px; color: var(--ivory-2); max-width: 32em; }
.best__copy .ticks li { text-shadow: none; font-weight: 400; color: var(--ivory); }
.best__copy .btn { margin-top: 28px; }
.show--glow .show__stage { background: radial-gradient(70% 70% at 50% 45%, #4a3826 0%, #2e241c 48%, var(--graphite) 80%); } /* taste-skill-ignore: warm key light on the best seller */

/* home range picker */
.picker { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.picker__list { list-style: none; margin: 0; padding: 0; display: grid; }
.picker__list button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border: 0; background: none;
  text-align: left; cursor: pointer; color: var(--ivory-2); font-size: clamp(20px, 1.85vw, 30px); font-weight: 720; font-stretch: 112%; line-height: 1.15;
  transition: color .25s ease, transform .5s var(--ease-out); }
.picker__list button small { flex: none; font-size: 14px; font-weight: 500; font-stretch: 100%; color: var(--ivory-2); }
.picker__list button:hover { color: var(--ivory); }
.picker__list button.is-on { color: var(--ivory); transform: translateX(12px); }
.picker__list button.is-on small { color: var(--brass); }
.picker__stage { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 14px; }
.picker__link { justify-self: start; }

/* products page: a showcase per range, sides alternate */
.range { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 80px); align-items: center; padding: clamp(44px, 6vw, 88px) 0; }
.range:nth-child(even) .show { order: 2; }
.range-info h2 { font-size: clamp(26px, 2.4vw, 36px); font-stretch: 115%; }
.range-info .count { margin-top: 8px; color: var(--brass); font-size: 14px; font-weight: 600; }
.range-info p:not(.count) { margin-top: 14px; color: var(--ivory-2); }
.range-info dl { margin: 22px 0 0; display: grid; gap: 12px; font-size: 15px; }
.range-info dt { color: var(--brass); font-size: 13px; font-weight: 600; }
.range-info dd { margin: 2px 0 0; }
.range-info .btn { margin-top: 26px; }

/* ---------- phones: 2D site ---------- */
.m-hero { position: relative; min-height: 76svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.m-hero .book { position: absolute; inset: 0; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 10%, rgba(22, 18, 15, .78) 38%, rgba(22, 18, 15, 0) 68%, rgba(22, 18, 15, .55)); } /* taste-skill-ignore: grade so the copy reads over the render */
.m-hero__copy { position: relative; z-index: 1; padding: 0 var(--pad) 36px; display: grid; gap: 16px; justify-items: start; }
.m-hero__copy h1 { font-size: clamp(32px, 9vw, 46px); font-stretch: 118%; font-weight: 800; }
.m-hero__copy p { color: var(--ivory); }
.book { position: relative; background: var(--graphite); overflow: hidden; }
.book canvas, .book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-steps { display: grid; gap: 36px; }
.m-step .book { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.m-step h3 { margin-top: 16px; font-size: 24px; font-stretch: 115%; }
.m-step p { margin-top: 6px; color: var(--ivory-2); }
/* ---------- inner pages ---------- */
.band { position: relative; min-height: min(64vh, 660px); display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1.5%); } }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 6%, rgba(22, 18, 15, .35) 55%, rgba(22, 18, 15, .6)); } /* taste-skill-ignore: grade so the title reads over the render */
.band__copy { position: relative; z-index: 1; padding-top: calc(var(--header) + 64px); padding-bottom: clamp(28px, 4vw, 52px); display: grid; gap: 16px; width: 100%; }
.band__copy h1 { font-size: var(--fs-h1); font-stretch: 120%; font-weight: 800; max-width: 14em; }
.band__copy p { max-width: 44em; font-size: 18px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 6px; }
.jump a { color: var(--ivory-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.jump a:hover { color: var(--brass); }
.promise { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 4px; }
.promise span, .checks li { position: relative; padding-left: 24px; }
.promise span { font-weight: 650; }
.promise span::before, .checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 3px; background: var(--brass); }

/* quality */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stage-t { background: var(--graphite); border-radius: var(--radius); padding: 26px; }
.stage-t h3 { font-size: var(--fs-h3); }
.stage-t p { margin-top: 10px; color: var(--ivory-2); font-size: 15px; }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin: 0; padding: 0; }
.checks li { list-style: none; }
.instruments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.instruments h2 { font-size: var(--fs-h2); }
.instruments .book { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.instruments ul { margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.instruments li { list-style: none; background: var(--graphite); border-radius: 10px; padding: 8px 14px; font-size: 15px; }
.quality-lead p { color: var(--ivory-2); max-width: 46em; }
.quality-lead p + p { margin-top: 12px; }
.quality-lead .btn { margin-top: 26px; }

/* profile */
.profile { display: grid; gap: 6px; margin: 0; }
.profile .row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 24px; padding: 18px 22px; background: var(--graphite); border-radius: 12px; }
.profile dt { color: var(--brass); font-weight: 600; font-size: 15px; }
.profile dd { margin: 0; }
.profile ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.profile li { list-style: none; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.intro h2 { font-size: var(--fs-h2); }
.intro .copy p { color: var(--ivory-2); }
.intro .copy p + p { margin-top: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact .lines { display: grid; gap: 12px; }
.contact .lines a { font-size: clamp(21px, 1.9vw, 28px); font-weight: 680; text-decoration: none; overflow-wrap: anywhere; }
.contact .lines a:hover { color: var(--brass); }
.contact address { font-style: normal; color: var(--ivory-2); margin-top: 24px; }
.contact .meta { margin-top: 20px; color: var(--ivory-2); font-size: 15px; }
.contact .meta a { color: var(--ivory); }
form.quote { background: var(--graphite); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
form.quote label { display: grid; gap: 6px; font-size: 14px; color: var(--ivory-2); min-width: 0; }
form.quote label.full { grid-column: 1 / -1; }
form.quote input, form.quote select, form.quote textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ivory); background: var(--graphite-3); border: 0; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
form.quote textarea { min-height: 130px; resize: vertical; }
form.quote input:focus, form.quote select:focus, form.quote textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; }
form.quote .send { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
form.quote .note { font-size: 13px; color: var(--ivory-2); flex: 1 1 220px; }
form.quote .err { flex-basis: 100%; color: #ffa47a; font-size: 14px; }
form.quote .err:empty { display: none; }

/* ---------- curtain footer (as on Aspen) ---------- */
.curtain { position: relative; z-index: 20; }
.last-sec { position: relative; z-index: 2; background: var(--night); border-radius: 0 0 44px 44px; padding-bottom: clamp(72px, 9vw, 120px); }
.foot { position: sticky; bottom: 0; z-index: 1; background: var(--foot); padding: calc(44px + clamp(56px, 7vw, 96px)) var(--pad) 36px; margin-top: -44px; }
.foot__in { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; }
.foot__frame { display: inline-flex; background: var(--ivory); border-radius: 24px; padding: clamp(16px, 1.8vw, 26px) clamp(22px, 2.6vw, 38px); }
.foot__frame img { height: clamp(42px, 4.2vw, 64px); width: auto; }
.foot__line { margin-top: 22px; color: var(--ivory-2); max-width: 38ch; }
.foot__links { display: grid; gap: 10px; text-align: right; font-weight: 500; align-content: start; }
.foot__links a { text-decoration: none; transition: color .2s ease; overflow-wrap: anywhere; }
.foot__links a:hover, .foot__small a:hover { color: var(--brass); }
.foot__small { grid-column: 1 / -1; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: var(--fs-small); color: var(--ivory-2); }
.foot__small span:first-child { margin-right: auto; }
.foot__small a { color: var(--ivory); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav a:not(.btn) { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .intro, .contact, .instruments { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor figure, .floor figure:nth-child(n+4) { grid-column: span 1; }
  .floor figure:last-child { grid-column: 1 / -1; }
  .floor figure:nth-child(n+4) .ph { aspect-ratio: 4 / 5; }
  .floor figure:last-child .ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  :root { --fs-body: 16px; --header: 66px; }
  .brand img { height: 30px; }
  .nav .btn { display: none; }
  .stages, .checks { grid-template-columns: minmax(0, 1fr); }
  .profile .row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 18px; }
  form.quote { grid-template-columns: minmax(0, 1fr); }
  .band { min-height: 56svh; }
  .band__copy { padding-top: calc(var(--header) + 48px); }
  .band__copy p { font-size: 16px; }
  .last-sec { border-radius: 0 0 28px 28px; }
  .foot { margin-top: -28px; padding-top: calc(28px + 56px); padding-bottom: 32px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .foot__links { text-align: left; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
  .foot__links a { min-height: 32px; display: flex; align-items: center; }
  .foot__small span:first-child { flex-basis: 100%; margin-right: 0; }
}
@media (max-width: 980px) {
  .best__grid, .picker, .range { grid-template-columns: minmax(0, 1fr); }
  .range:nth-child(even) .show { order: 0; }
  .picker__stage { position: static; order: -1; }
  .picker__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .picker__list button { font-size: 17px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 0; }
  .picker__list button.is-on { transform: none; }
}
@media (max-width: 760px) {
  .show__thumbs { grid-template-columns: repeat(var(--n2, 3), minmax(0, 1fr)); gap: 6px; }
  .show__stage { border-radius: 16px; }
}
@media (max-width: 380px) {
  .floor { grid-template-columns: minmax(0, 1fr); }
  .floor figure:last-child { grid-column: auto; }
  .foot__links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 640px) { .foot { position: relative; } }
@media (prefers-reduced-motion: reduce) {
  .line > span, .cap .lede, .cap .ticks, .cap .tiles { transition: none !important; transform: none !important; }
  .show__fig.is-in, .show__fig.is-out, .glint { animation: none !important; }
  .show__float { transform: none; }
  .band__img img, .hint i::after { animation: none; }
}
