/* Angel Club Seoul - live site (2026-10-22): v1 "quiet precision" sections + the founder-approved teaser first screen.
   Hand-written CSS. Tokens: SPEC section 5. Type: SPEC section 4. Rhythm: 4px scale.
   Order: 1 tokens, 2 base, 3 header, 4 drawer, 5 hero, 5b first screen (teaser), 6 club panel, 7 look band,
          8 enter, (9 launching soon removed 10/22: the first screen says it), 10 footer, (11 about removed 10/22), 12 breakpoints, 13 motion, 14 keep-last. */

/* ---------- 1. tokens ---------- */
/* metric-matched local fallback for Instrument Serif (widths + line box measured in Chromium 2026-10-22), so the
   swap from the fallback to the web font moves nothing (CLS). Latin range only: the slogan heart keeps its own font. */
@font-face {
  font-family: "Instrument Serif Fallback"; font-style: normal;
  src: local("Times New Roman"), local("TimesNewRomanPSMT");
  size-adjust: 80%; ascent-override: 123.75%; descent-override: 38.75%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Instrument Serif Fallback"; font-style: italic;
  src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT");
  size-adjust: 83.9%; ascent-override: 118%; descent-override: 36.95%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
:root {
  /* satin (sampled from the founder artwork) */
  --satin-light: #e6cec7; --satin: #d5b8b1; --satin-deep: #c7a6a0; --satin-shadow: #be9b96; --satin-edge: #efdcd6;
  /* silver (warm) - decoration only, never a text colour */
  --silver-hi: #faf9f6; --silver-light: #ebe2dc; --silver-mid: #ccbcb6; --silver-shadow: #a0938f; --silver-deep: #776e6b;
  /* surfaces + text */
  --bg: #dabbb5; --surface: #e2c6c0; --band: #d5b8b1;   /* bg = the hero plate: one satin surface, no paper */
  --ink: #66404b; --ink-soft: #7d5a51;   /* ink = the teaser's rosy mauve text colour */
  --line: rgba(102, 64, 75, .18); --line-strong: #9a786e;
  --on-ink: #faf9f6;
  --g-satin: linear-gradient(135deg, #e6cec7 0%, #d5b8b1 48%, #efdcd6 100%);
  --g-tile: linear-gradient(160deg, #e9d3cd 0%, #dfc4bd 55%, #d5b8b1 100%);
  --plate: #dabbb5;                       /* teaser satin (poster edge average): html canvas, hero + still plate, theme-color */
  --art: url("assets/art-1254.jpg");      /* the one artwork file every crop reads from */
  --satin-tex: url("assets/hero-poster.jpg"); /* satin folds of the poster top (already loaded) reused as band texture */

  /* type */
  --f-display: "Instrument Serif", "Instrument Serif Fallback", "Times New Roman", serif;
  --f-ui: "DM Sans", "Pretendard Variable", Pretendard, -apple-system, system-ui, "Apple SD Gothic Neo", sans-serif;
  --f-body: "Pretendard Variable", Pretendard, -apple-system, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --t-display-xl: clamp(36px, 9.6vw, 128px);
  --t-display-l: clamp(40px, 10vw, 88px);
  --t-display-m: clamp(32px, 6vw, 56px);
  --t-title: 24px; --lh-title: 30px;
  --t-label: 14px; --lh-label: 20px;
  --t-copy: clamp(17px, 1.6vw + 12px, 20px); --lh-copy: 1.6;
  --t-foot: 11px; --lh-foot: 17px;

  /* space + layout */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-5: 40px; --sp-6: 48px; --sp-8: 64px; --sp-12: 96px; --sp-16: 128px;
  --gutter: 16px;
  --hdr-h: 48px; --top-stack: var(--hdr-h);
  --sec: clamp(64px, 10vw, 128px);        /* section inner top/bottom */
  --overlap: 12vh;                        /* how far the fact panel rides up over the hero */
  --radius-panel: 32px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}
@supports (height: 1svh) { :root { --overlap: 12svh; } }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--plate);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--top-stack) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14px/1.6 var(--f-ui);
  font-synthesis: none;
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p, dl, dd, figure { margin: 0; }
h1, h2, dd, .ch-value { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.pill:focus-visible, .skip:focus-visible, .burger:focus-visible { outline-width: 2px; }
#main:focus { outline: none; }
.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; }

/* founder copy slots: invisible (no margin, no height) until text is dropped in */
.copy { font: 400 var(--t-copy)/var(--lh-copy) var(--f-display); max-width: 34ch; }
.copy:lang(ko) { font-family: var(--f-body); font-size: 15px; line-height: 26px; max-width: 34em; letter-spacing: -.02em; }
[data-copy-slot]:empty { display: none; }

.skip {
  position: fixed; left: 16px; top: -100px; z-index: 60;
  height: 44px; padding: 0 18px;
  display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--ink); color: var(--on-ink);
  font: 400 13px/1 var(--f-ui); letter-spacing: .04em;
}
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

/* ---------- 3. header: 48 / 71, 1fr auto 1fr, wordmark centred, ink always ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-soft), border-color .3s var(--ease-soft), opacity .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.hdr > * { grid-row: 1; }
.hdr--over:not(.is-solid) { background: transparent; }
.hdr--over.is-solid {
  background: rgba(218, 187, 181, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .hdr--over.is-solid { background: var(--bg); } }
.nav-open .hdr { background: var(--satin-light); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* home: the big wordmark is the header on the first screen; the compact bar arrives once the hero has scrolled
   past (script.js is-solid). Keyboard focus or an open drawer always shows it. */
.hdr--home:not(.is-solid):not(:focus-within) { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.nav-open .hdr.hdr--home { opacity: 1; transform: none; pointer-events: auto; }

/* compact wordmark = the silver wordmark image, artwork (bow to flourish, rows 109-424 of 516) --wm-h tall;
   a hairline mauve shadow keeps the silver legible on the paper bar */
.hdr-wm { --wm-h: 26px; grid-column: 2; justify-self: center; position: relative; display: block; height: var(--wm-h); }
.hdr-wm img {
  width: auto; max-width: none; height: calc(var(--wm-h) * 516 / 315); margin-top: calc(var(--wm-h) * -109 / 315);
  filter: drop-shadow(0 .5px .5px rgba(74, 56, 50, .45));
}
.hdr-wm::after { content: ""; position: absolute; left: 0; right: 0; top: -9px; bottom: -9px; }   /* 44px hit area */

.burger { grid-column: 1; justify-self: start; position: relative; width: 20px; height: 20px; }
.burger::after { content: ""; position: absolute; inset: -12px; }
.burger i { position: absolute; left: 0; width: 20px; height: 1px; background: currentColor; transition: transform 100ms, opacity 100ms, top 100ms; }
.burger i:nth-child(1) { top: 4px; }
.burger i:nth-child(2) { top: 50%; }
.burger i:nth-child(3) { top: 16px; }
.nav-open .burger i:nth-child(1) { top: 50%; transform: rotate(135deg); }
.nav-open .burger i:nth-child(2) { opacity: 0; }
.nav-open .burger i:nth-child(3) { top: 50%; transform: rotate(45deg); }

.gnb { grid-column: 1; justify-self: start; display: none; gap: 40px; }
.gnb a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; font: 400 18px/1 var(--f-display); letter-spacing: .01em; }
.gnb a:hover, .gnb a:focus-visible { font-style: italic; }
.hdr-right { grid-column: 3; justify-self: end; }

/* ---------- 4. drawer: full sheet, satin-light, Esc + Tab trap + inert (script.js) ---------- */
.nav-drawer {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; overflow-y: auto;
  background: var(--satin-light);
  padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter) 0;
}
.nav-group a { display: block; padding: 8px 0; font: 400 var(--t-title)/var(--lh-title) var(--f-display); letter-spacing: .01em; }
.nav-group a:hover, .nav-group a:focus-visible { font-style: italic; }
.nav-foot {
  margin-top: auto; position: sticky; bottom: 0;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--satin-shadow);
  background: var(--satin-light);
  font: 400 13px/20px var(--f-ui); color: var(--ink);
}
body.nav-open { overflow: hidden; }

/* ---------- 5. hero: the approved teaser first screen, scrolling with the page ----------
   The hero is at least 100lvh, so on iOS the video also fills the band under the browser toolbar (no flat strip);
   the bottom block sits on the 100svh line exactly where the fixed teaser put it (22px + safe area + the 28px the
   teaser's copyright line used; that line now lives in the footer). Media geometry = the teaser's (cover, centre 45%
   of a 100lvh box), so the first screen at rest is the teaser pixel for pixel. */
.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 100vh;
  background: var(--plate);
}
@supports (height: 100lvh) { .hero { min-height: 100lvh; } }
/* media layer = the hero box (the 48px overhang went with the club panel) */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--plate); }
.hero-media {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  /* teaser: the top of the picture dissolves into the page colour so the browser's status-bar band reads as part of the satin, not a cut */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0.55) calc(env(safe-area-inset-top, 0px) + 36px), #000 calc(env(safe-area-inset-top, 0px) + 150px), #000 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0.55) calc(env(safe-area-inset-top, 0px) + 36px), #000 calc(env(safe-area-inset-top, 0px) + 150px), #000 100%);
}
.hero-video { opacity: 1; transition: opacity .6s var(--ease-soft); }
.hero.is-paused .hero-video { opacity: 0; }

/* ---------- 5b. first screen: teaser rules copied verbatim (2026-10-22). Adapted only where the page now scrolls:
   teaser .hdr (fixed) -> .mast and .tag (fixed) -> in-flow blocks of the hero; both reset the type context the
   teaser body gave them (16px, line-height normal, weight 300). ---------- */
.mast { position: relative; z-index: 2; padding: calc(env(safe-area-inset-top, 0px) + 12px) clamp(16px, 3vw, 40px) 0; display: flex; flex-direction: column; align-items: center; gap: 0; pointer-events: none; }
.mast a { pointer-events: auto; }
.mast, .tag { font-size: 16px; line-height: normal; font-weight: 300; }
.mast-h1 { margin: 0; }
/* silver lettering: re-graded transparent stills (same silver as the hero emblem) + a dense field of in-place glints.
   Header wordmark sparkles faster/denser than the emblem in the video; launching soon a step quieter. */
.wm { position: relative; display: block; width: min(72vw, 500px); text-decoration: none; }
.ls { position: relative; display: block; width: min(46vw, 280px); }
.wmimg, .lsimg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 10px rgba(255, 250, 247, 0.6)) drop-shadow(0 1px 1.5px rgba(74, 56, 50, 0.2)); animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 250, 247, 0.6)) drop-shadow(0 1px 1.5px rgba(74, 56, 50, 0.2)) brightness(1); } 50% { filter: drop-shadow(0 0 14px rgba(255, 252, 250, 0.85)) drop-shadow(0 1px 1.5px rgba(74, 56, 50, 0.2)) brightness(1.07); } }
.gl { position: absolute; width: var(--s, 6px); height: var(--s, 6px); margin: calc(var(--s, 6px) / -2) 0 0 calc(var(--s, 6px) / -2); pointer-events: none; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3CradialGradient id=%22c%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.45%22 stop-color=%22%23fff%22 stop-opacity=%22.55%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2222%22 fill=%22url%28%23c%29%22/%3E%3Cpath d=%22M50 0C51.6 40 60 48.4 100 50C60 51.6 51.6 60 50 100C48.4 60 40 51.6 0 50C40 48.4 48.4 40 50 0Z%22 fill=%22%23fff%22/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 3px rgba(255, 246, 242, 0.95));
  animation: none; }
.gl.g2 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3CradialGradient id=%22c%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.4%22 stop-color=%22%23fff%22 stop-opacity=%22.5%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2218%22 fill=%22url%28%23c%29%22/%3E%3Cpath d=%22M50 0L51.2 47.6 100 50 51.2 52.4 50 100 48.8 52.4 0 50 48.8 47.6Z%22 fill=%22%23fff%22/%3E%3Cpath d=%22M50 22L50.9 49.1 78 50 50.9 50.9 50 78 49.1 50.9 22 50 49.1 49.1Z%22 fill=%22%23fff%22 opacity=%22.85%22 transform=%22rotate%2845 50 50%29%22/%3E%3C/svg%3E"); }
.gl.g3 { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3CradialGradient id=%22c%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.25%22 stop-color=%22%23fff%22 stop-opacity=%22.9%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2234%22 fill=%22url%28%23c%29%22/%3E%3Cpath d=%22M50 14C51 44 56 49 86 50C56 51 51 56 50 86C49 56 44 51 14 50C44 49 49 44 50 14Z%22 fill=%22%23fff%22/%3E%3C/svg%3E"); }
@keyframes twinkle { 0% { opacity: 0; transform: scale(0.3) rotate(0deg); } 40% { opacity: 1; transform: scale(1) rotate(14deg); } 100% { opacity: 0; transform: scale(0.45) rotate(30deg); } }

/* labels: one serif voice for the sub line and the ticker, high contrast on satin */
.sub { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-family: var(--f-display); font-style: italic; font-size: 16px; letter-spacing: 0.03em; color: #66404b; text-shadow: 0 0 10px rgba(252, 249, 247, 0.95), 0 0 2px rgba(252, 249, 247, 0.85); }
.sub::before, .sub::after, .orn::before, .orn::after { content: ""; width: 26px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3CradialGradient id=%22c%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.45%22 stop-color=%22%23fff%22 stop-opacity=%22.55%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2222%22 fill=%22url%28%23c%29%22/%3E%3Cpath d=%22M50 0C51.6 40 60 48.4 100 50C60 51.6 51.6 60 50 100C48.4 60 40 51.6 0 50C40 48.4 48.4 40 50 0Z%22 fill=%22%23fff%22/%3E%3C/svg%3E") right center / 6px 6px no-repeat, linear-gradient(to right, rgba(102, 64, 75, 0), rgba(102, 64, 75, 0.55)) left center / 20px 1px no-repeat; filter: drop-shadow(0 0 2px rgba(255, 250, 248, 0.9)); }
.sub::after, .orn::after { transform: scaleX(-1); }
/* ornament voice for section titles / links below the first screen (bigger star + hairline than the slogan) */
.orn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.orn::before, .orn::after { width: 40px; height: 8px; background-size: 8px 8px, 32px 1px; }
.subt { position: relative; display: inline-block; }
.hrt { font-style: normal; font-family: var(--f-display); font-size: 0.9em; margin-left: 0.15em; }
@media (prefers-reduced-motion: reduce) { .gl { display: none; } .wmimg, .lsimg { animation: none; } }
.tag { position: relative; z-index: 2; padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
@supports (height: 100lvh) { .tag { padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px) + 100lvh - 100svh); } }
.ticker { position: relative; width: 100%; overflow: hidden; padding: 9px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.ticker .run { display: flex; align-items: center; width: max-content; animation: tick 34s linear infinite; }
.ticker span { font-family: var(--f-display); font-size: 17px; letter-spacing: 0.04em; font-variant-numeric: oldstyle-nums; color: #66404b; white-space: nowrap; text-shadow: 0 0 10px rgba(252, 249, 247, 0.95), 0 0 2px rgba(252, 249, 247, 0.85); }
.ticker em { font-style: italic; }
.ticker b { display: inline-block; width: 4px; height: 4px; margin: 0 1.1em; vertical-align: middle; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3CradialGradient id=%22c%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22/%3E%3Cstop offset=%22.45%22 stop-color=%22%23fff%22 stop-opacity=%22.55%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fff%22 stop-opacity=%220%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2222%22 fill=%22url%28%23c%29%22/%3E%3Cpath d=%22M50 0C51.6 40 60 48.4 100 50C60 51.6 51.6 60 50 100C48.4 60 40 51.6 0 50C40 48.4 48.4 40 50 0Z%22 fill=%22%23fff%22/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 3px rgba(255, 244, 240, 0.95)) drop-shadow(0 0 0.6px rgba(74, 56, 50, 0.45)); opacity: 0.8; }
.tickglints { position: absolute; inset: -4px 0; pointer-events: none; z-index: 1; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .run { animation: none; justify-content: center; width: 100%; } }

/* ---------- 6. panel (about): plain block on the satin, no card edge ---------- */
.panel { position: relative; z-index: 2; }

/* ---------- 7. look: satin band with feathered edges, bow motif, arch reel ---------- */
/* bottom padding is 20px short: the reel carries it (section 13 settle room), so the settled rhythm is unchanged */
.look { position: relative; isolation: isolate; padding: calc(var(--sec) + 16px) 0 calc(var(--sec) - 4px); }
/* ::before = satin gradient, ::after = poster satin folds at .55 over it; both feathered into the paper.
   The texture box is band-height x 9:4 (= poster width when the poster is 4x the band height), so only the
   motif-free top quarter of the poster ever shows; min-width 100% keeps it at least band-wide (then the shown
   part is even shorter), and the band clips the overhang on x so nothing widens the page. */
.look::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--g-satin);
}
.look::after {
  content: ""; position: absolute; top: 0; left: 50%; z-index: -1;
  height: 100%; aspect-ratio: 9 / 4; min-width: 100%;
  transform: translateX(-50%);
  opacity: .55;
  background: var(--satin-tex) 50% 0% / 100% auto no-repeat;
}
.look { contain: paint; }   /* clips the texture overhang without becoming a scroll container (view() timelines stay on the root) */
.look::before, .look::after {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}
.look-head { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 var(--gutter); text-align: center; }
.sec-title { font: italic 400 clamp(26px, 5.2vw, 40px)/1 var(--f-display); letter-spacing: .02em; color: var(--ink); text-shadow: 0 0 12px rgba(252, 249, 247, .9); }

/* bow: artwork box x420 y82 w420 h280, feathered 28% on all four sides */
.motif--bow {
  display: block; width: clamp(200px, 36vw, 256px); aspect-ratio: 3 / 2;
  background: var(--art) no-repeat; background-size: 298.57% auto; background-position: 50.36% 8.42%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28%, #000 72%, transparent), linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 28%, #000 72%, transparent), linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
  mask-composite: intersect;
}
/* seat under the look-head bow: a 300px soft spot in the crop's mean satin colour (#cbb6ae, SPEC 2.5 fallback),
   so the feathered crop edge has nothing to show against */
.bow-seat { display: grid; place-items: center; width: min(300px, 100%); }
.bow-seat::before {
  content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: 3 / 2;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #cbb6ae 0%, #cbb6ae 45%, rgba(203, 182, 174, 0) 100%);
}
.bow-seat .motif--bow { grid-area: 1 / 1; }
/* heart pendant: artwork box x547 y932 w160 h160, round feather that ends inside the box (closest-side: no edge clip) */
.motif--heart {
  display: block; width: 56%; aspect-ratio: 1;
  background: var(--art) no-repeat; background-size: 783.75% auto; background-position: 50% 85.19%;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 62%, transparent 100%);
}
/* wings: artwork boxes x0 y260 w296 h526 (left) and x958 y260 w296 h526 (right) */
.art-wing-l, .art-wing-r { background: var(--art) no-repeat; background-size: 423.65% auto; }
.art-wing-l { background-position: 0% 35.71%; }
.art-wing-r { background-position: 100% 35.71%; }

.reel {
  display: flex; gap: 12px;
  margin: var(--sp-5) 0 0; padding: 0 var(--gutter) 24px;   /* 24px: room for the 20px settle, so captions never leave the scroll box */
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reel::-webkit-scrollbar { display: none; }
.reel > li { flex: none; width: clamp(148px, 42vw, 192px); scroll-snap-align: start; }
.tile { position: relative; margin: 0; padding-top: 15.2%; }   /* lace frame geometry (frame-graded.png, % of tile width): arch band centre at 15.2 %, side bands at 8.4 % / 92.7 %, bottom band at 167.1 %, frame foot 177.2 %. Padding, not a child margin (that would collapse through the figure). */
.tile-img, .tile-art, .tile--field::before {
  display: block; width: 84.3%; height: auto; aspect-ratio: 84.3 / 151.9; margin: 0 7.3% 10.1% 8.4%;   /* edges on the lace band centres (ui.css .tile::after); bottom margin clears the frame foot before the caption */
  border-radius: 999px 999px 0 0; overflow: hidden;
}
.tile-img { object-fit: cover; object-position: center 45%; }
.tile--field { display: grid; }
.tile--field::before { content: ""; grid-area: 1 / 1; background: var(--g-tile); }
/* a soft spot in the crop's own satin colour sits under each motif so the feathered crop edge has nothing to show against */
.tile--bow::before { background: radial-gradient(ellipse 38% 22% at 50% 50%, #cbb6ae 0%, #cbb6ae 60%, rgba(203, 182, 174, 0) 100%), var(--g-tile); }
.tile--heart::before { background: radial-gradient(ellipse 24% 13.5% at 50% 50%, #bfaaa1 0%, #bfaaa1 55%, rgba(191, 170, 161, 0) 100%), var(--g-tile); }
.tile--field .tile-motif { grid-area: 1 / 1; place-self: center; }
.tile--field .motif--bow { width: 80%; }
.tile figcaption, .n { font: italic 400 14px/16px var(--f-display); letter-spacing: .04em; font-variant-numeric: oldstyle-nums; color: var(--ink); }
.tile figcaption { display: flex; gap: 10px; margin-top: 10px; }
.tile figcaption .copy { font: inherit; max-width: none; }

/* ---------- 10. footer ---------- */
.site-footer { background: transparent; padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); }
.ft-inner { max-width: 1200px; margin: 0 auto; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.ft-wm { display: flex; justify-content: center; margin: 0; }
.ft-wm .wm { width: min(52vw, 260px); }
.ft-copy { margin-top: 16px; font: 400 12px/18px var(--f-display); letter-spacing: .04em; color: var(--ink); }
.ft-biz { max-width: 720px; margin: 24px auto 0; font: 400 var(--t-foot)/var(--lh-foot) var(--f-body); color: var(--ink); word-break: keep-all; letter-spacing: -.02em; }
.ft-biz p + p { margin-top: 2px; }
.ft-biz b { font-weight: 700; }
.seg { white-space: nowrap; }
.ft-biz[data-biz=""] { display: none; }
.ft-biz .seg:has(> [data-biz-field]:empty) { display: none; }

/* ---------- 12. breakpoints ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --radius-panel: 48px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --hdr-h: 71px; --overlap: 8vh; --t-title: 30px; --lh-title: 36px; --t-foot: 12px; --lh-foot: 18px; }
  @supports (height: 1svh) { :root { --overlap: 8svh; } }
  .burger, .nav-drawer { display: none; }
  .gnb { display: flex; }
  .hdr-wm { --wm-h: 30px; }   /* 71px bar on desktop */
  .reel { display: grid; grid-template-columns: repeat(5, minmax(0, 192px)); justify-content: center; gap: 24px; overflow: visible; padding: 0 var(--gutter) 24px; }
  .reel > li { width: auto; }
  .ft-inner { padding-top: 48px; }
  .ch-value { grid-column: 3; margin-top: 0; }
}

/* ---------- 13. motion: everything scroll-driven and compositor-only (opacity / transform), all off under reduce.
   Reveal, hero drift and bow float are progressive enhancements: without view timelines, without JS,
   in a full-page capture or under reduced motion the content is simply there (opacity 1). ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* reveal = a 20px settle as the block enters, no fade: nothing is ever missing from a capture,
       a crawler or a short viewport; --i staggers siblings by 8 % of the entry each */
    .reveal {
      animation: reveal var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry calc(-10% + var(--i, 0) * 8%) entry calc(50% + var(--i, 0) * 8%);
    }
    /* the reel is itself a scroll container, so its tiles follow the reel's own entry instead */
    .look { timeline-scope: --reel; }
    .reel { view-timeline: --reel block; }
    .reel > .reveal { animation-timeline: --reel; }
    .hero-media { animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; }
    .look-head .bow-seat { animation: bow-float linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes reveal { from { transform: translateY(20px); } }
@keyframes hero-drift { to { transform: translateY(6%); } }
@keyframes bow-float { from { transform: translateY(4%); } to { transform: translateY(-4%); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero-video { display: none; }
}

/* ---------- 14. keep last ---------- */
[hidden] { display: none !important; }
