/* Dikarya Bamboo Architect
   Smoked-bamboo darks, rice-paper lights, one gilded accent (#A88028).
   Display: Marcellus (inscriptional). Text: Hanken Grotesk. */

:root {
  --ink: oklch(0.17 0.012 75);
  --ink-2: oklch(0.215 0.014 75);
  --ink-line: oklch(0.32 0.016 78);
  --paper: oklch(0.955 0.013 85);
  --paper-2: oklch(0.915 0.02 82);
  --paper-line: oklch(0.84 0.022 80);

  --gold: oklch(0.62 0.115 80);        /* #A88028 */
  --gold-light: oklch(0.8 0.095 84);   /* gold readable on ink */

  --on-ink: oklch(0.93 0.012 85);
  --on-ink-muted: oklch(0.72 0.016 80);
  --on-paper: oklch(0.22 0.014 75);
  --on-paper-muted: oklch(0.46 0.016 75);

  --f-display: 'Marcellus', 'Times New Roman', serif;
  --f-text: 'Hanken Grotesk', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --wide: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font: 300 clamp(16px, 0.35vw + 15px, 18px)/1.7 var(--f-text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

.display {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ── Masthead ───────────────────────────────────────── */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: background-color .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.masthead.is-solid {
  background: color-mix(in oklch, var(--ink) 92%, transparent);
  backdrop-filter: blur(10px);
  padding-block: 14px;
  border-color: var(--ink-line);
}
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark-name { font-family: var(--f-display); font-size: 1.55rem; letter-spacing: 0.32em; text-transform: uppercase; }
.wordmark-sub { margin-top: 6px; font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-light); }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.menu a { text-decoration: none; font-size: .9rem; letter-spacing: .04em; color: color-mix(in oklch, var(--on-ink) 82%, transparent); transition: color .3s; text-shadow: 0 1px 12px color-mix(in oklch, var(--ink) 70%, transparent); }
.menu a:hover { color: var(--on-ink); }
.menu .menu-cta {
  color: var(--on-ink); padding: 10px 22px; border: 1px solid var(--gold);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.menu .menu-cta:hover { background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: var(--on-ink); margin: 7px 0; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .menu.is-open { opacity: 1; visibility: visible; }
  .menu a { font-family: var(--f-display); font-size: 2rem; color: var(--on-ink); }
  .menu .menu-cta { font-family: var(--f-text); font-size: 1rem; }
}

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; min-height: clamp(640px, 100svh, 1080px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.06); animation: settle 2.6s var(--ease) forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 0%, color-mix(in oklch, var(--ink) 55%, transparent) 38%, transparent 70%),
    linear-gradient(to bottom, color-mix(in oklch, var(--ink) 85%, transparent), color-mix(in oklch, var(--ink) 35%, transparent) 16%, transparent 30%);
}
@keyframes settle { to { transform: scale(1); } }
.hero-inner { width: min(var(--wide), 100%); margin-inline: auto; padding: 0 var(--gutter) clamp(48px, 9vh, 110px); }
.hero-kicker { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 28px; }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 10.5vw, 10rem);
  line-height: .94; letter-spacing: -0.02em;
  max-width: 13ch;
}
.hero-foot {
  margin-top: clamp(32px, 5vh, 56px); padding-top: 28px; border-top: 1px solid color-mix(in oklch, var(--on-ink) 22%, transparent);
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px;
}
.hero-foot p { max-width: 46ch; color: var(--on-ink-muted); }

/* Hero video: fades in over the photo once it actually plays. */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-video.is-playing { opacity: 1; }
/* Portrait video (reels) on a wide screen: framed tall panel beside the title. */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero.has-reel { --reel-h: min(68svh, 720px); --reel-x: max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter))); }
  .hero.has-reel .hero-video {
    inset: auto var(--reel-x) clamp(48px, 9vh, 110px) auto;
    width: auto; height: var(--reel-h); aspect-ratio: 9 / 16; z-index: 1;
    outline: 1px solid color-mix(in oklch, var(--gold) 50%, transparent); outline-offset: 12px;
  }
  .hero.has-reel .hero-inner { padding-right: calc(var(--reel-x) + var(--reel-h) * 9 / 16 + clamp(48px, 6vw, 112px)); margin: 0; width: 100%; padding-left: var(--reel-x); }
  .hero.has-reel .hero-title { font-size: clamp(3.2rem, 6.6vw, 7.5rem); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.link-arrow::after {
  content: ""; width: 48px; height: 1px; background: var(--gold); transition: width .5s var(--ease);
}
.link-arrow:hover::after { width: 80px; }

/* ── Dari lapangan: story rail ─────────────────────── */
.field { background: var(--ink-2); padding: clamp(88px, 12vw, 160px) 0; overflow: hidden; }
.field[hidden] { display: none; }
.section-head.field-head { width: min(var(--wide), 100% - 2 * var(--gutter)); }
.field-nav { display: none; gap: 10px; }
@media (min-width: 900px) and (hover: hover) { .field-nav { display: flex; } }
.field-step {
  width: 48px; height: 48px; border: 1px solid color-mix(in oklch, var(--on-ink) 26%, transparent); background: none;
  color: var(--on-ink); font: 400 1.4rem/1 var(--f-display); cursor: pointer; transition: border-color .4s var(--ease), color .4s var(--ease);
}
.field-step:hover { border-color: var(--gold); color: var(--gold-light); }
.field-rail {
  --tile: clamp(168px, 19vw, 264px);
  list-style: none; margin: 0; display: flex; gap: clamp(28px, 2.6vw, 40px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  --edge: max(var(--gutter), (100% - var(--wide)) / 2);
  padding: 14px var(--edge) 8px; scroll-padding-inline: var(--edge);
}
.field-rail::-webkit-scrollbar { display: none; }
.field-rail li { flex: 0 0 var(--tile); scroll-snap-align: start; }
.field-tile {
  all: unset; box-sizing: border-box; display: grid; gap: 18px; width: 100%; cursor: pointer;
}
.field-frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink);
  outline: 1px solid color-mix(in oklch, var(--gold) 70%, transparent); outline-offset: 7px;
  transition: outline-color .6s var(--ease), outline-offset .6s var(--ease);
}
.field-tile.is-seen .field-frame { outline-color: color-mix(in oklch, var(--on-ink) 16%, transparent); }
.field-tile:hover .field-frame, .field-tile:focus-visible .field-frame { outline-color: var(--gold-light); outline-offset: 11px; }
.field-frame img, .field-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85); transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.field-tile:hover .field-frame img, .field-tile:hover .field-frame video { transform: scale(1.04); filter: saturate(1); }
.field-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in oklch, var(--ink) 70%, transparent), transparent 42%);
}
.field-kind {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--on-ink);
}
.field-frame--embed { display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 0%, var(--ink-2), var(--ink)); }
.field-frame--embed span { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.field-cap { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.field-num { font-family: var(--f-display); color: var(--gold-light); font-size: .95rem; }
.field-name { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* ── Story viewer ───────────────────────────────────── */
.story {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: color-mix(in oklch, var(--ink) 96%, transparent); color: var(--on-ink);
  place-items: center; overscroll-behavior: contain;
}
.story[open] { display: grid; animation: story-in .5s var(--ease); }
.story::backdrop { background: transparent; }
@keyframes story-in { from { opacity: 0; } }
.story-stage {
  position: relative; height: min(100svh, 920px); aspect-ratio: 9 / 16; max-width: 100vw;
  background: var(--ink); overflow: hidden; touch-action: pan-y; user-select: none;
}
@media (min-width: 700px) { .story-stage { height: min(92svh, 920px); } }
.story-media, .story-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-media img, .story-media video { object-fit: cover; }
.story-media iframe { border: 0; background: var(--paper); }
.story-bars { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; gap: 5px; }
.story-bars span { flex: 1; height: 2px; background: color-mix(in oklch, var(--on-ink) 28%, transparent); overflow: hidden; }
.story-bars i { display: block; height: 100%; background: var(--gold-light); transform-origin: left; transform: scaleX(0); }
.story-bars .is-done i { transform: scaleX(1); }
.story-top {
  position: absolute; z-index: 3; top: 28px; left: 0; right: 0; padding: 0 10px 40px 18px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(to bottom, color-mix(in oklch, var(--ink) 70%, transparent), transparent);
}
.story-title { margin: 0; flex: 1; font-family: var(--f-display); font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-ig { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; white-space: nowrap; }
.story-ig::after { content: " ↗"; }
.story-btn { width: 40px; height: 40px; border: 0; background: none; color: var(--on-ink); font: 300 1.9rem/1 var(--f-text); cursor: pointer; }
.story-sound { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; width: auto; padding: 0 6px; }
.story-hit { position: absolute; z-index: 2; top: 90px; bottom: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.story-hit--prev { left: 0; width: 32%; }
.story-hit--next { right: 0; width: 68%; }
.story.is-embed .story-hit { display: none; }
.story-arrow {
  display: none; position: absolute; top: 50%; translate: 0 -50%;
  width: 56px; height: 56px; border: 1px solid color-mix(in oklch, var(--on-ink) 26%, transparent); background: none;
  color: var(--on-ink); font: 400 1.6rem/1 var(--f-display); cursor: pointer; transition: border-color .4s var(--ease), color .4s var(--ease);
}
.story-arrow:hover { border-color: var(--gold); color: var(--gold-light); }
.story-arrow--prev { left: max(24px, calc(50% - min(92svh, 920px) * 9 / 32 - 112px)); }
.story-arrow--next { right: max(24px, calc(50% - min(92svh, 920px) * 9 / 32 - 112px)); }
@media (min-width: 700px) { .story-arrow { display: block; } .story-stage { outline: 1px solid color-mix(in oklch, var(--gold) 35%, transparent); outline-offset: 12px; } }
.story :focus-visible, .field-tile:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 3px; }
.field-tile:focus-visible { outline: none; }
/* Embed mode: the iframe takes taps, so arrows stay visible (bottom corners on phones). */
.story.is-embed .story-arrow { display: block; }
@media (max-width: 699px) {
  .story.is-embed .story-arrow { top: auto; bottom: 18px; translate: none; width: 48px; height: 48px; background: var(--ink); z-index: 4; }
  .story.is-embed .story-arrow--prev { left: 18px; }
  .story.is-embed .story-arrow--next { right: 18px; }
}

/* ── Studio (paper) ─────────────────────────────────── */
.studio { background: var(--paper); color: var(--on-paper); padding: clamp(96px, 16vw, 200px) var(--gutter); }
.studio-grid {
  width: min(var(--wide), 100%); margin-inline: auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: start;
}
.studio-statement { font-family: var(--f-display); font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.14; letter-spacing: -0.005em; }
.studio-body { display: grid; gap: 22px; color: var(--on-paper-muted); padding-top: .6em; max-width: 52ch; }
.facts { margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.facts dt { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.facts dd { margin: 0; color: var(--on-paper); font-family: var(--f-display); font-size: 1.1rem; }
@media (max-width: 900px) { .studio-grid { grid-template-columns: 1fr; } }

/* ── Work ───────────────────────────────────────────── */
.work, .services { padding: clamp(96px, 14vw, 180px) var(--gutter); }
.section-head {
  width: min(var(--wide), 100%); margin: 0 auto clamp(48px, 7vw, 96px);
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 60px;
}
.section-head p { max-width: 40ch; color: var(--on-ink-muted); }
.work-grid {
  width: min(var(--wide), 100%); margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 28px);
}
.work-item { margin: 0; grid-column: span 6; }
.work-item:nth-child(6n + 1) { grid-column: 1 / span 7; }
.work-item:nth-child(6n + 2) { grid-column: 8 / span 5; margin-top: clamp(40px, 10vw, 160px); }
.work-item:nth-child(6n + 3) { grid-column: 2 / span 5; }
.work-item:nth-child(6n + 4) { grid-column: 7 / span 6; margin-top: clamp(20px, 6vw, 90px); }
.work-item:nth-child(6n + 5) { grid-column: 1 / span 5; }
.work-item:nth-child(6n + 6) { grid-column: 6 / span 7; margin-top: clamp(20px, 5vw, 80px); }
.work-frame { overflow: hidden; background: var(--ink-2); }
.work-item img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
  filter: saturate(.85);
}
.work-item:nth-child(6n + 1) img, .work-item:nth-child(6n + 6) img { aspect-ratio: 5 / 4; }
.work-item:hover img { transform: scale(1.035); filter: saturate(1); }
.work-item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.work-title { font-family: var(--f-display); font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.work-meta { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-muted); text-align: right; }
.work-summary { margin-top: 8px; color: var(--on-ink-muted); font-size: .95rem; max-width: 48ch; }
@media (max-width: 720px) {
  .work-item, .work-item[class] { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .work-item img { aspect-ratio: 4 / 3 !important; }
}

/* ── Material ───────────────────────────────────────── */
.material { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-2); }
.material-img { margin: 0; min-height: 520px; }
.material-img img { width: 100%; height: 100%; object-fit: cover; }
.material-text { padding: clamp(64px, 9vw, 140px) var(--gutter); display: grid; align-content: center; gap: 26px; max-width: 720px; }
.material-text p { color: var(--on-ink-muted); max-width: 48ch; }
@media (max-width: 900px) { .material { grid-template-columns: 1fr; } .material-img { min-height: 360px; } }

/* ── Services ───────────────────────────────────────── */
.service-list { list-style: none; margin: 0 auto; padding: 0; width: min(var(--wide), 100%); counter-reset: svc; border-top: 1px solid var(--ink-line); }
.service-list li {
  counter-increment: svc;
  display: grid; grid-template-columns: 6rem 1fr 1.1fr; gap: 12px 40px; align-items: baseline;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--ink-line);
  transition: padding-left .6s var(--ease);
}
.service-list li::before { content: counter(svc, decimal-leading-zero); font-family: var(--f-display); color: var(--gold-light); font-size: 1rem; }
.service-list li:hover { padding-left: 12px; }
.service-list h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.1; }
.service-list p { color: var(--on-ink-muted); max-width: 52ch; }
@media (max-width: 820px) { .service-list li { grid-template-columns: 3rem 1fr; } .service-list p { grid-column: 2; } }

/* ── Process (paper) ────────────────────────────────── */
.process { background: var(--paper-2); color: var(--on-paper); padding: clamp(96px, 14vw, 180px) var(--gutter); }
.process > .display { width: min(var(--wide), 100%); margin: 0 auto clamp(56px, 7vw, 96px); }
.process-steps {
  list-style: none; margin: 0 auto; padding: 0; width: min(var(--wide), 100%);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px clamp(24px, 3vw, 48px);
}
.process-steps li { border-top: 1px solid var(--on-paper); padding-top: 26px; }
.step-n { display: block; font-family: var(--f-display); font-size: 1.1rem; color: var(--gold); margin-bottom: 40px; }
.process-steps h3 { font-family: var(--f-display); font-size: 1.55rem; margin-bottom: 12px; }
.process-steps p { color: var(--on-paper-muted); font-size: .97rem; }
@media (max-width: 960px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ── Closing / contact ──────────────────────────────── */
.closing { position: relative; min-height: clamp(560px, 92svh, 960px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.closing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in oklch, var(--ink) 62%, transparent); }
.closing-inner { width: min(980px, 100%); margin-inline: auto; padding: clamp(96px, 12vw, 160px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 28px; }
.closing-title { font-family: var(--f-display); font-size: clamp(2.8rem, 7.5vw, 7rem); line-height: 1; letter-spacing: -0.015em; }
.closing-inner p { max-width: 52ch; color: var(--on-ink); opacity: .82; }
.contact-mail {
  margin-top: 12px; font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease), color .4s;
}
.contact-mail:hover { color: var(--gold-light); background-size: 40% 1px; }

.contact-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.contact-social a { text-decoration: none; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink-muted); transition: color .3s; }
.contact-social a:hover { color: var(--gold-light); }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 32px var(--gutter); font-size: .82rem; letter-spacing: .06em; color: var(--on-ink-muted);
  border-top: 1px solid var(--ink-line);
}
.footer nav { display: flex; gap: 28px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-ink); }

/* ── Legal pages (privacy, data deletion) ───────────── */
.legal-page { background: var(--paper); color: var(--on-paper); min-height: 100svh; }
.legal-page .masthead { position: static; background: var(--ink); }
.legal { width: min(760px, 100%); margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter); }
.legal h1 { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 12px; }
.legal h2 { font-family: var(--f-display); font-size: 1.45rem; margin: 2.4rem 0 .6rem; }
.legal p, .legal li { color: var(--on-paper-muted); }
.legal p + p { margin-top: 1em; }
.legal a { color: var(--on-paper); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal .updated { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.legal-page .footer { color: var(--on-paper-muted); border-color: var(--paper-line); }

/* ── Motion ─────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.4s; }
.js .hero .reveal:nth-child(2) { transition-delay: .15s; }
.js .hero .reveal:nth-child(3) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
