/* ════════════════════════════════════════════════════════════
   AMINISM Design System — v3 "Sōshoku"
   Cormorant Garamond × Noto Serif JP × Inter (for tabular nums)
   Influences: Gin Lane brand-as-experience, VAAN luxe Shopify,
   Avex Designs editorial, KHAITE quiet luxury
════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400;1,500&family=Noto+Serif+JP:wght@200;300;400;500;600&family=Inter:wght@300;400;500&display=swap');

:root {
  /* ─── Surfaces ──────────────────────────────────────── */
  --c-paper:       #F6F1E8;      /* primary ground — washi cream */
  --c-paper-warm:  #EFE7D7;      /* warmer alcove */
  --c-paper-deep:  #E8DDC7;      /* shadowed paper */
  --c-bone:        #FBF8F2;      /* near-white inset */
  --c-ink:         #14110A;      /* deep ink — sumi */
  --c-ink-soft:    #2B2620;
  --c-ink-mid:     #4B463C;
  --c-ink-muted:   #7C7567;
  --c-ink-faint:   #ADA694;
  --c-shadow:      rgba(20,17,10,.08);

  /* ─── Accents — Gold & Aged Brass ──────────────────── */
  --c-gold:        #B08956;
  --c-gold-light:  #D4B987;
  --c-gold-pale:   #EDE1C8;
  --c-gold-deep:   #7C5E32;
  --c-gold-glow:   rgba(176,137,86,.45);

  /* ─── Heritage palette (used in editorial) ──────────── */
  --c-urushi:      #1A0E07;      /* lacquer black */
  --c-aji:         #6E7A6E;      /* Aji stone grey */
  --c-shu:         #B23A2C;      /* vermillion */
  --c-matcha:      #5C6E48;
  --c-indigo:      #243650;
  --c-aged-paper:  #C4A074;

  /* ─── Lines ─────────────────────────────────────────── */
  --c-line:        rgba(20,17,10,.09);
  --c-line-soft:   rgba(20,17,10,.05);
  --c-line-strong: rgba(20,17,10,.18);
  --c-line-gold:   rgba(176,137,86,.32);
  --c-line-dark:   rgba(255,251,242,.08);

  /* ─── Functional ────────────────────────────────────── */
  --c-success: #4B7A55;
  --c-warn:    #B88842;
  --c-error:   #A53B2C;

  /* ─── Typography ────────────────────────────────────── */
  --f-display: 'Cormorant Garamond', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --f-serif:   'Cormorant Garamond', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --f-jp:      'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --f-num:     'Cormorant Garamond', 'Inter', serif;
  --f-mono:    'Inter', monospace;

  /* ─── Type Scale (fluid) ────────────────────────────── */
  --t-3xs: clamp(.55rem, .52rem + .12vw, .62rem);
  --t-2xs: clamp(.66rem, .62rem + .14vw, .76rem);
  --t-xs:  clamp(.78rem, .74rem + .18vw, .9rem);
  --t-sm:  clamp(.9rem,  .86rem + .2vw,  1.04rem);
  --t-md:  clamp(1rem,   .95rem + .22vw, 1.15rem);
  --t-lg:  clamp(1.25rem,1.1rem + .55vw, 1.7rem);
  --t-xl:  clamp(1.4rem, 1.18rem + 1vw,   2rem);
  --t-2xl: clamp(1.8rem, 1.4rem + 1.8vw,  2.8rem);   /* tightened: prevents wrap */
  --t-3xl: clamp(2.4rem, 1.7rem + 3vw,    4.4rem);
  --t-4xl: clamp(3rem,   2rem + 4.5vw,    6.4rem);
  --t-5xl: clamp(4rem,   2.5rem + 6vw,    8.5rem);

  --lh-tight:  1.02;
  --lh-snug:   1.2;
  --lh-normal: 1.5;
  --lh-loose:  1.8;
  --lh-body:   1.9;

  --fw-thin:    200;
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;

  --ls-tight:  -.025em;
  --ls-snug:   -.012em;
  --ls-normal: 0;
  --ls-wide:    .06em;
  --ls-widest:  .26em;

  /* ─── Spacing — modular 4 ───────────────────────────── */
  --sp-px:  1px;
  --sp-0:   0;
  --sp-1:   .25rem;
  --sp-2:   .5rem;
  --sp-3:   .75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-14:  3.5rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;
  --sp-28:  7rem;
  --sp-32:  8rem;
  --sp-40:  10rem;
  --sp-48:  12rem;
  --sp-56:  14rem;
  --sp-64:  16rem;

  --section-y: clamp(5rem, 12vw, 11rem);

  /* ─── Radius ────────────────────────────────────────── */
  --r-xs:   2px;
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-xl:   22px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* ─── Shadow ────────────────────────────────────────── */
  --shadow-xs:    0 1px 2px rgba(20,17,10,.04);
  --shadow-sm:    0 1px 4px rgba(20,17,10,.06), 0 1px 2px rgba(20,17,10,.04);
  --shadow-md:    0 6px 24px rgba(20,17,10,.07), 0 2px 8px rgba(20,17,10,.04);
  --shadow-lg:    0 20px 60px rgba(20,17,10,.1),  0 6px 18px rgba(20,17,10,.06);
  --shadow-xl:    0 32px 100px rgba(20,17,10,.14), 0 10px 30px rgba(20,17,10,.08);
  --shadow-gold:  0 10px 40px rgba(176,137,86,.22);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 30px rgba(176,137,86,.05);

  /* ─── Motion ────────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-silk:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-glide:  cubic-bezier(0.4, 0, 0.2, 1);

  --dur-instant: 60ms;
  --dur-fast:    140ms;
  --dur-normal:  320ms;
  --dur-slow:    620ms;
  --dur-slower:  1100ms;
  --dur-cinema:  1800ms;

  /* ─── Layout ────────────────────────────────────────── */
  --max-w:      1520px;
  --max-w-wide: 1720px;
  --max-w-text: 680px;
  --gutter:     clamp(1.25rem, 4.5vw, 4rem);
  --col-gap:    clamp(.875rem, 1.6vw, 1.6rem);

  --header-h: 76px;
}

/* ──────────────────────────────────────────────────────
   RESET
─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--f-serif);
  font-size: var(--t-md);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-paper);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}
body.no-scroll { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-gold); color: var(--c-bone); }

/* ──────────────────────────────────────────────────────
   TYPOGRAPHY UTILITIES
   Japanese never breaks mid-phrase (word-break: keep-all)
   Use explicit <br> for line breaks.
─────────────────────────────────────────────────────── */
.t-monument,
.t-display,
.t-hero,
.t-section,
.t-card {
  word-break: keep-all;
  overflow-wrap: anywhere;        /* allow break only when truly necessary */
  line-break: strict;             /* JIS strict line breaking rules */
}
.t-monument {
  font-family: var(--f-display);
  font-size: var(--t-5xl);
  font-weight: var(--fw-thin);
  line-height: .92;
  letter-spacing: -.04em;
}
.t-display {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: var(--fw-thin);
  line-height: var(--lh-tight);
  letter-spacing: -.03em;
}
.t-hero {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: var(--fw-light);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.t-section {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: var(--fw-light);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
}
.t-card {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: var(--fw-light);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
}
.t-eyebrow {
  font-family: var(--f-serif);
  font-size: var(--t-2xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.t-eyebrow--gold-line::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.t-label {
  font-family: var(--f-serif);
  font-size: var(--t-2xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold);
}
.t-body {
  font-family: var(--f-serif);
  font-size: var(--t-sm);
  font-weight: var(--fw-light);
  line-height: var(--lh-loose);
  color: var(--c-ink-soft);
}
.t-body--lg {
  font-size: var(--t-md);
  line-height: var(--lh-loose);
}
.t-body--jp {
  font-family: var(--f-jp);
  font-weight: var(--fw-light);
  letter-spacing: .03em;
}
.t-meta {
  font-family: var(--f-serif);
  font-size: var(--t-xs);
  font-weight: var(--fw-light);
  letter-spacing: .08em;
  color: var(--c-ink-muted);
}
.t-num {
  font-family: var(--f-num);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums lining-nums;
}
em.serif-italic, .t-italic {
  font-style: italic;
  font-weight: var(--fw-light);
}

/* ── Word-by-word reveal helpers (split via JS) ───────── */
.split-line  { display: block; overflow: hidden; }
.split-word  { display: inline-block; }
.split-char  { display: inline-block; }

/* ──────────────────────────────────────────────────────
   CONTAINER
─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide   { max-width: var(--max-w-wide); }
.container--narrow { max-width: 960px; }
.container--text   { max-width: var(--max-w-text); }

.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;
}

/* ──────────────────────────────────────────────────────
   RULE — gold filament
─────────────────────────────────────────────────────── */
.rule {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: var(--c-gold);
}
.rule::before,
.rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line-gold), transparent);
}
.rule--short::before { flex: 0 0 32px; background: var(--c-line-gold); }
.rule--short::after  { display: none; }

/* ──────────────────────────────────────────────────────
   BUTTON SYSTEM
─────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 1.05em 2.4em;
  border-radius: var(--r-full);
  font-family: var(--f-serif);
  font-size: var(--t-sm);
  font-weight: var(--fw-regular);
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: currentColor;
  transform: translateY(102%);
  transition: transform var(--dur-slow) var(--ease-silk);
}
.btn:hover::before { transform: translateY(0); }

.btn--primary {
  background: var(--c-ink);
  color: var(--c-paper);
}
.btn--primary::before { background: var(--c-gold-deep); color: var(--c-bone); }
.btn--primary:hover { color: var(--c-bone); }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-bone);
}
.btn--gold::before { background: var(--c-ink); }
.btn--gold:hover { color: var(--c-bone); }

.btn--outline {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
}
.btn--outline::before { background: var(--c-ink); }
.btn--outline:hover { color: var(--c-bone); border-color: var(--c-ink); }

.btn--outline-light {
  background: transparent;
  color: var(--c-bone);
  border: 1px solid rgba(255,251,242,.25);
}
.btn--outline-light::before { background: var(--c-bone); }
.btn--outline-light:hover { color: var(--c-ink); border-color: var(--c-bone); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  padding-inline: var(--sp-3);
}
.btn--ghost::before { display: none; }
.btn--ghost:hover { color: var(--c-gold); }

.btn--lg { padding: 1.2em 2.8em; font-size: var(--t-md); }
.btn--sm { padding: .75em 1.6em; font-size: var(--t-xs); letter-spacing: .1em; }
.btn--icon {
  width: 50px; height: 50px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}
.btn__arrow {
  display: inline-flex;
  transition: transform var(--dur-normal) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Magnetic link */
.link-arrow {
  font-family: var(--f-serif);
  font-size: var(--t-xs);
  font-weight: var(--fw-regular);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-line-strong);
  transition: all var(--dur-normal) var(--ease-out);
}
.link-arrow:hover { color: var(--c-gold); border-color: var(--c-gold); }
.link-arrow svg { transition: transform var(--dur-normal) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow--light { color: rgba(255,251,242,.55); border-color: rgba(255,251,242,.15); }
.link-arrow--light:hover { color: var(--c-gold-light); border-color: var(--c-gold); }

/* ──────────────────────────────────────────────────────
   BADGE
─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .35em 1em;
  border-radius: var(--r-full);
  font-family: var(--f-serif);
  font-size: var(--t-2xs);
  font-weight: var(--fw-regular);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.badge--gold { background: var(--c-gold-pale); color: var(--c-gold-deep); border: 1px solid var(--c-line-gold); }
.badge--ink  { background: var(--c-ink); color: var(--c-bone); }
.badge--dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ──────────────────────────────────────────────────────
   FIELDS
─────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label {
  font-family: var(--f-serif);
  font-size: var(--t-2xs);
  font-weight: var(--fw-regular);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1em 1.2em;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-md);
  background: var(--c-bone);
  color: var(--c-ink);
  font-family: var(--f-serif);
  font-size: var(--t-md);
  font-weight: var(--fw-light);
  transition: all var(--dur-normal) var(--ease-out);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237C7567' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2em center;
  padding-right: 2.8em;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-gold);
  background: var(--c-bone);
  box-shadow: 0 0 0 4px rgba(176,137,86,.12);
}
.field__hint  { font-size: var(--t-xs); color: var(--c-ink-muted); }
.field__error { font-size: var(--t-xs); color: var(--c-error); }
.field--row { flex-direction: row; gap: var(--sp-4); }
.field--row > * { flex: 1; }

/* Checkbox */
.check {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  user-select: none;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-xs);
  margin-top: 4px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--dur-fast);
}
.check input:checked {
  background: var(--c-ink);
  border-color: var(--c-ink);
}
.check input:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 9px;
  border: solid var(--c-bone);
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%,-60%) rotate(45deg);
}
.check__text {
  font-family: var(--f-serif);
  font-size: var(--t-sm);
  font-weight: var(--fw-light);
  color: var(--c-ink-soft);
  line-height: var(--lh-normal);
}

/* ──────────────────────────────────────────────────────
   SECTION UTILITY
─────────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--tight  { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--dark   { background: var(--c-urushi); color: var(--c-bone); }
.section--warm   { background: var(--c-paper-warm); }
.section--bone   { background: var(--c-bone); }
.section--gold   { background: var(--c-gold-pale); }
.section--deep   { background: #0A0805; color: var(--c-bone); }

.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section__head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────
   SCROLL CUE — vertical line
─────────────────────────────────────────────────────── */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.scroll-cue__text {
  font-family: var(--f-serif);
  font-size: var(--t-2xs);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,251,242,.4);
  writing-mode: vertical-rl;
}
.scroll-cue__line {
  width: 1px;
  height: 64px;
  background: rgba(255,251,242,.18);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--c-gold-light));
  animation: scroll-drop 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-drop {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ──────────────────────────────────────────────────────
   MARQUEE
─────────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--c-line);
  padding-block: 20px;
  background: var(--c-paper);
  position: relative;
}
.marquee--dark {
  background: var(--c-urushi);
  border-color: var(--c-line-dark);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-x 38s linear infinite;
  animation-play-state: paused; /* JS sets running when in view */
  gap: var(--sp-12);
}
.marquee.is-running .marquee__track { animation-play-state: running; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: var(--fw-light);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  white-space: nowrap;
}
.marquee--dark .marquee__item { color: rgba(255,251,242,.5); }
.marquee__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────
   PAGE INTRO (small page hero)
─────────────────────────────────────────────────────── */
.page-intro {
  padding: calc(var(--header-h) + var(--sp-16)) var(--gutter) var(--sp-16);
  background: var(--c-urushi);
  color: var(--c-bone);
  position: relative;
  overflow: hidden;
}
.page-intro__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
}
.page-intro__crumbs {
  font-family: var(--f-serif);
  font-size: var(--t-2xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,251,242,.4);
  margin-bottom: var(--sp-6);
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}
.page-intro__crumbs a { color: rgba(255,251,242,.55); transition: color var(--dur-fast); }
.page-intro__crumbs a:hover { color: var(--c-gold-light); }
.page-intro__crumbs span { opacity: .4; }
.page-intro__title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: var(--fw-thin);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-bone);
  max-width: 14ch;
}
.page-intro__title em { font-style: italic; color: var(--c-gold-light); }
.page-intro__sub {
  font-family: var(--f-serif);
  font-size: var(--t-md);
  font-weight: var(--fw-light);
  color: rgba(255,251,242,.55);
  line-height: var(--lh-loose);
  max-width: 540px;
  margin-top: var(--sp-6);
}

/* Decorative ring on page intro */
.page-intro__deco {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(50%, 560px);
  aspect-ratio: 1;
  opacity: .35;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────
   REVEAL primitives
─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Once settled by JS — drop transition + will-change so scroll-up is free */
.reveal.is-revealed { transition: none !important; will-change: auto !important; }

.reveal-fade { opacity: 0; transition: opacity var(--dur-slower) var(--ease-out); }
.reveal-fade.is-visible { opacity: 1; }

.reveal-scale {
  opacity: 0;
  transform: scale(.96);
  transition: opacity var(--dur-slower) var(--ease-out),
              transform var(--dur-slower) var(--ease-out);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.reveal-mask {
  position: relative;
  overflow: hidden;
}
.reveal-mask::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--c-paper);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform var(--dur-cinema) var(--ease-silk);
}
.reveal-mask.is-dark::after { background: var(--c-urushi); }
.reveal-mask.is-visible::after { transform: scaleX(0); }

.reveal-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-text__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform var(--dur-slower) var(--ease-silk);
}
.reveal-text.is-visible .reveal-text__inner { transform: translateY(0); }

.reveal-delay-1 { transition-delay: 100ms !important; }
.reveal-delay-2 { transition-delay: 200ms !important; }
.reveal-delay-3 { transition-delay: 300ms !important; }
.reveal-delay-4 { transition-delay: 400ms !important; }
.reveal-delay-5 { transition-delay: 500ms !important; }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(22px); }
.stagger.is-visible > * {
  animation: stagger-in .9s var(--ease-silk) both;
}
.stagger.is-visible > *:nth-child(1)  { animation-delay: 0ms; }
.stagger.is-visible > *:nth-child(2)  { animation-delay: 70ms; }
.stagger.is-visible > *:nth-child(3)  { animation-delay: 140ms; }
.stagger.is-visible > *:nth-child(4)  { animation-delay: 210ms; }
.stagger.is-visible > *:nth-child(5)  { animation-delay: 280ms; }
.stagger.is-visible > *:nth-child(6)  { animation-delay: 350ms; }
.stagger.is-visible > *:nth-child(7)  { animation-delay: 420ms; }
.stagger.is-visible > *:nth-child(8)  { animation-delay: 490ms; }
.stagger.is-visible > *:nth-child(n+9){ animation-delay: 560ms; }
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────
   GRID HELPERS
─────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────
   UTIL
─────────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-c { display: flex; align-items: center; }
.flex-j { display: flex; justify-content: space-between; }
.flex-cc { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mt-16 { margin-top: var(--sp-16); }
.text-center { text-align: center; }

/* Custom cursor disabled — was hiding the system cursor.
   Use system cursor everywhere. */
.cursor-dot, .cursor-ring { display: none !important; }

/* ──────────────────────────────────────────────────────
   ACCESSIBILITY — reduce motion
─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-fade, .reveal-scale, .reveal-text__inner { opacity: 1 !important; transform: none !important; }
  .reveal-mask::after { transform: scaleX(0) !important; }
}
