/* HIPO — hipohimalaya.com
   Built on HIPO Brand Guidelines v1.0 (November 2026).
   Colours, faces and devices follow the brand manual exactly. */

:root {
  /* Primary brand colours */
  --teal: #014F50;
  --teal-deep: #013738;
  --forest: #094324;
  --forest-deep: #062F19;
  --ochre: #D59701;
  --ochre-deep: #956A01;
  --terra: #DE4218;
  --terra-deep: #9B2E11;
  --navy: #0D122E;
  /* Neutrals */
  --white: #FFFFFF;
  --paper: #FBF7EF;
  --paper-warm: #F4EDE0;
  --paper-deep: #EBE1CE;
  --rule: #DBD2BF;
  --rule-strong: #C4B79C;
  --ink: #1B1A16;
  --ink-soft: #4A4740;
  /* Status chips */
  --ok-bg: #E6ECE9;
  --review-bg: #F7EACC;
  --bad-bg: #FCECE8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", Arial, Helvetica, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;

  /* Five sizes */
  --t-display: clamp(2.6rem, 5.4vw, 4.875rem);
  --t-head: clamp(2rem, 3.6vw, 3.25rem);
  --t-lead: 1.5rem;
  --t-body: 1.0625rem;      /* 17px */
  --t-small: 0.875rem;      /* 14px */

  --margin: clamp(1.25rem, 4vw, 3.5rem);
  --gap-section: clamp(4.5rem, 8vw, 7.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terra-deep); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
::selection { background: var(--ochre); color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 68ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .75rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.mono { font-family: var(--mono); font-size: .95em; letter-spacing: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Main sheet slides over the footer (curtain) */
main { position: relative; z-index: 2; background: var(--paper); }
.wrap { padding-inline: var(--margin); max-width: 1440px; margin-inline: auto; }

/* ---------- Header on the field ---------- */
.field { background: var(--teal); color: var(--paper); position: relative; z-index: 2; }
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem var(--margin);
}
.bar .logo { display: block; }
.bar .logo img { height: 68px; width: auto; }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--paper); text-decoration: none; font-weight: 500; font-size: 1rem; padding: .35rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--paper); }
.menu { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.4rem; border: 0; border-radius: var(--radius);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--teal); color: var(--paper);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { background: var(--teal-deep); color: var(--paper); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--paper { background: var(--paper); color: var(--teal); }
.btn--paper:hover { background: var(--white); color: var(--teal-deep); }
.btn--bar { width: 100%; min-height: 56px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link:hover { border-color: var(--terra); }

/* ---------- Hero: the record card, cropped by the screen ---------- */
.hero { min-height: 100svh; overflow: hidden; padding-top: 136px; display: grid; justify-items: center; }
.card {
  position: relative; background: var(--paper); color: var(--ink);
  width: min(820px, 100% - 2 * var(--margin));
  min-height: calc(100svh - 128px + 120px);
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 4.5vw, 3.75rem) 8rem;
  text-align: center;
}
/* Verification frame: square corner ticks in Teal */
.ticks::before, .ticks::after, .ticks > .tk::before, .ticks > .tk::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--teal); border-style: solid; border-width: 0;
}
.ticks::before { top: 14px; left: 14px; border-top-width: 3px; border-left-width: 3px; }
.ticks::after { top: 14px; right: 14px; border-top-width: 3px; border-right-width: 3px; }
.ticks > .tk::before { bottom: 14px; left: 14px; border-bottom-width: 3px; border-left-width: 3px; }
.ticks > .tk::after { bottom: 14px; right: 14px; border-bottom-width: 3px; border-right-width: 3px; }
.ticks > .tk { position: absolute; inset: 0; pointer-events: none; }

.card .rec-head { font-size: var(--t-small); font-weight: 500; color: var(--ink-soft); margin-bottom: 1.75rem; display: flex; justify-content: center; align-items: center; gap: .75rem; }
.card h1 { font-size: var(--t-display); line-height: .98; letter-spacing: -0.035em; color: var(--teal); margin-bottom: 1.5rem; }
.card h1 span { display: block; }
.card .stand { font-size: var(--t-lead); line-height: 1.4; max-width: 30ch; margin: 0 auto 1.75rem; color: var(--ink); }
.facts-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1rem; font-size: var(--t-small); color: var(--ink-soft); margin-bottom: 2rem; }
.dia { width: 10px; height: 10px; background: var(--forest); transform: rotate(45deg); flex: none; }
.qr-row { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-bottom: 2rem; text-align: left; }
.qr { position: relative; padding: 14px; width: 132px; flex: none; }
.qr img { width: 104px; height: 104px; }
.qr-row p { margin: 0; font-size: var(--t-small); max-width: 22ch; color: var(--ink-soft); }
.qr-row .mono { display: block; color: var(--teal); margin-top: .35rem; }

/* Horizon rule: 48 × 2 Terracotta */
.horizon { display: inline-block; width: 48px; height: 2px; background: var(--terra); vertical-align: middle; }

/* ---------- Page hero (inner pages): shorter card ---------- */
.hero--page { min-height: 0; max-height: 100svh; }
.hero--page .card { min-height: 0; padding-bottom: 0; margin-bottom: -40px; }
.card .plate-h { margin: 2.5rem calc(-1 * clamp(1.5rem, 4.5vw, 3.75rem)) 0; aspect-ratio: 16 / 7; overflow: hidden; }
.card .plate-h img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.hero--page .card h1 { font-size: var(--t-display); }

/* ---------- Intro: title, note, facts row ---------- */
.intro { padding-block: 9rem 7.5rem; }
.intro-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; align-items: end; }
.intro-top h2 { grid-column: 1 / span 7; font-size: var(--t-display); line-height: 1; font-weight: 400; color: var(--teal); }
.intro-top p { grid-column: 9 / span 4; margin: 0; }
.facts { display: flex; justify-content: space-between; gap: 2rem; margin-top: 7rem; }
.facts > div { flex: 1 1 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: .6rem; }
.facts span { display: block; font-size: var(--t-small); color: var(--ink-soft); max-width: 26ch; }
.intro-photo { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; margin-top: 4.5rem; }
.intro-photo figure { grid-column: 6 / span 7; margin: 0; }
.intro-photo .note { grid-column: 1 / span 4; align-self: end; font-family: var(--serif); font-size: var(--t-lead); line-height: 1.35; color: var(--teal); }

figure { margin: 0; }
figcaption { font-size: var(--t-small); color: var(--ink-soft); margin-top: .6rem; }
.photo { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }

/* ---------- Showcase: photo with slips along the edge ---------- */
.showcase { position: relative; height: 96svh; min-height: 760px; overflow: hidden; color: var(--paper); background: var(--ink); }
.showcase .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.showcase .copy { position: relative; z-index: 2; margin-left: 18%; margin-top: 10svh; width: min(560px, 70%); padding: 2rem 2.25rem; background: rgba(13, 18, 46, .78); }
.showcase h2 { font-size: var(--t-head); line-height: 1.05; color: var(--paper); margin-bottom: 1rem; }
.showcase .copy p { font-size: var(--t-body); line-height: 1.55; }
.slips { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 12px; padding-inline: var(--margin); align-items: flex-end; }
.slip { flex: 1 1 0; background: var(--paper); color: var(--ink); padding: 1.25rem 1.25rem 2rem; font-size: var(--t-small); line-height: 1.5; }
.slip strong { display: block; font-size: var(--t-body); }
.slip .cut { display: block; height: 0; border-top: 4px dotted var(--rule-strong); margin: .6rem 0 .7rem; }
.slip:nth-child(1) { height: 34svh; }
.slip:nth-child(2) { height: 42svh; transform: rotate(-1.2deg); }
.slip:nth-child(3) { height: 30svh; }
.slip:nth-child(4) { height: 38svh; transform: rotate(1.5deg); }
.slip:nth-child(5) { height: 44svh; }
.slip:nth-child(6) { height: 28svh; transform: rotate(-1deg); }
.chip { display: inline-block; padding: .2rem .55rem; border-radius: var(--radius); font-weight: 600; font-size: var(--t-small); }
.chip--ok { background: var(--ok-bg); color: var(--forest); }
.chip--review { background: var(--review-bg); color: var(--ochre-deep); }
.chip--bad { background: var(--bad-bg); color: var(--terra-deep); }

/* ---------- List: cards that fold into spines ---------- */
.deck-wrap { background: var(--teal); color: var(--paper); height: 230svh; position: relative; }
.deck-stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-inline: var(--margin); overflow: hidden; }
.deck-stage h2 { font-size: var(--t-head); line-height: 1; margin-bottom: 3rem; color: var(--paper); }
.deck { display: flex; gap: 0; height: 380px; }
.dcard {
  flex: none; width: calc(min(1440px, 100vw) - 2 * var(--margin) - 360px); height: 100%; padding: 2rem; color: var(--ink); overflow: hidden; position: relative;
  display: flex; flex-direction: column; transition: width .6s var(--ease); cursor: default; text-align: left;
  border: 0; font: inherit;
}
.dcard:nth-child(3n+1) { background: var(--paper); }
.dcard:nth-child(3n+2) { background: var(--paper-warm); }
.dcard:nth-child(3n+3) { background: var(--paper-deep); }
.dcard h3 { font-size: 1.875rem; line-height: 1.1; width: 420px; margin-bottom: 1rem; color: var(--teal); }
.dcard p { width: 420px; margin: 0; }
.dcard .plate { position: absolute; top: 2rem; right: 2rem; bottom: 2rem; width: calc(100% - 520px); overflow: hidden; }
.dcard .plate img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.dcard .dfoot { margin-top: auto; display: flex; justify-content: space-between; width: 420px; font-size: 1.0625rem; }
.dcard.is-spine { width: 120px; cursor: pointer; }
.dcard > * { transition: opacity .35s var(--ease); }
.dcard.is-spine > * { opacity: 0; visibility: hidden; }
.dcard::after { content: attr(data-spine); position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font: 600 1.375rem/1 var(--serif); color: var(--teal); opacity: 0; transition: opacity .35s var(--ease); white-space: nowrap; }
.dcard.is-spine::after { opacity: 1; }
.dcard.is-spine:hover { filter: brightness(.97); }
.deck-note { margin-top: 3rem; }
.deck-note a { color: var(--paper); }

/* ---------- How it works: itinerary slip ---------- */
.route { background: var(--paper-deep); padding: var(--gap-section) 0 0; }
.route .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.route .lede { grid-column: 1 / span 5; }
.route h2 { font-size: var(--t-head); line-height: 1.04; color: var(--teal); margin-bottom: 1.5rem; }
.route .lede p { max-width: 34ch; }
.route .lede video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 2.5rem; filter: saturate(.8); background: var(--ink); }
.receipt {
  grid-column: 7 / span 5; background: var(--white); padding: 2.25rem 2.25rem 4rem; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96.5% 100%, 93% calc(100% - 14px), 89.5% 100%, 86% calc(100% - 14px), 82.5% 100%, 79% calc(100% - 14px), 75.5% 100%, 72% calc(100% - 14px), 68.5% 100%, 65% calc(100% - 14px), 61.5% 100%, 58% calc(100% - 14px), 54.5% 100%, 51% calc(100% - 14px), 47.5% 100%, 44% calc(100% - 14px), 40.5% 100%, 37% calc(100% - 14px), 33.5% 100%, 30% calc(100% - 14px), 26.5% 100%, 23% calc(100% - 14px), 19.5% 100%, 16% calc(100% - 14px), 12.5% 100%, 9% calc(100% - 14px), 5.5% 100%, 2% calc(100% - 14px), 0 100%);
}
.receipt h3 { font: 700 1.0625rem/1.3 var(--sans); letter-spacing: 0; margin: 1.75rem 0 .5rem; color: var(--ink); }
.receipt h3:first-child { margin-top: 0; }
.row { display: flex; align-items: baseline; gap: .5rem; padding: .3rem 0; }
.row .what { flex: none; max-width: 70%; }
.row .dots { flex: 1; border-bottom: 4px dotted var(--rule-strong); transform: translateY(-4px); min-width: 1rem; }
.row .who { flex: none; color: var(--ink-soft); }
.row--end { background: var(--ink); color: var(--paper); margin: 1.75rem -2.25rem 0; padding: .8rem 2.25rem; font-weight: 600; }
.row--end .dots { border-color: var(--ink-soft); }
.row--end .who { color: var(--paper); }

/* ---------- Live thing: check a record ---------- */
.verify { background: var(--paper-deep); padding: var(--gap-section) 0; }
.verify .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; align-items: start; }
.verify .ask { grid-column: 1 / span 5; }
.verify h2 { font-size: var(--t-head); line-height: 1.04; color: var(--teal); margin-bottom: 1.25rem; }
.verify form { margin-top: 2rem; }
.verify label { display: block; font-weight: 600; margin-bottom: .5rem; }
.code-in { display: flex; gap: .5rem; }
.code-in input {
  flex: 1; min-width: 0; min-height: 52px; padding: .75rem 1rem; font: 500 1.0625rem var(--mono); text-transform: uppercase;
  background: var(--white); color: var(--ink); border: 2px solid var(--rule-strong); border-radius: var(--radius);
}
.code-in input:focus { border-color: var(--teal); outline: none; }
.samples { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.samples button {
  font: 500 var(--t-small) var(--mono); padding: .55rem .8rem; background: var(--paper); color: var(--teal);
  border: 0; border-radius: var(--radius); cursor: pointer; min-height: 44px; transition: background-color .2s, transform .15s;
}
.samples button:hover { background: var(--white); }
.samples button:active { transform: scale(.97); }
.samples button[aria-pressed="true"] { background: var(--teal); color: var(--paper); }
.record { grid-column: 7 / span 6; background: var(--paper); position: relative; padding: 2.5rem; min-height: 520px; }
.record-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.record-top .mono { color: var(--teal); }
.record h3 { font-size: 1.875rem; line-height: 1.1; color: var(--ink); margin-bottom: 1.5rem; }
.record dl { margin: 0; display: grid; grid-template-columns: 9.5rem 1fr; gap: .9rem 1.25rem; }
.record dt { font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); padding-top: .2rem; }
.record dd { margin: 0; }
.record .fine { font-size: var(--t-small); color: var(--ink-soft); margin: 1.75rem 0 0; }
.record.is-swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Proof: the printed list ---------- */
.roll { background: var(--navy); color: var(--paper); height: 92svh; min-height: 720px; overflow: hidden; position: relative; padding-top: 7rem; }
.roll .sheet {
  width: min(56vw, 760px); margin-inline: auto; background: var(--paper); color: var(--ink);
  padding: 3.5rem; text-align: center; transform: rotate(-1.5deg); min-height: 120%;
}
.roll h2 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.75rem; color: var(--teal); }
.roll .sheet figure { margin: 0 0 2rem; aspect-ratio: 16 / 9; overflow: hidden; }
.roll .names { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.7; margin: 0 0 1.5rem; }
.roll .sheet p.small { font-size: var(--t-small); color: var(--ink-soft); max-width: 44ch; margin: 0 auto 1rem; }

/* ---------- CTA: the reply card ---------- */
.reply { background: var(--forest); color: var(--paper); position: relative; overflow: hidden; min-height: 62svh; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; padding: 0 var(--margin) 0 calc(140px + var(--margin)); }
.reply .say { grid-column: 1 / span 4; align-self: end; margin-bottom: 4rem; font-size: var(--t-lead); line-height: 1.45; position: relative; z-index: 2; }
.reply .rcard {
  grid-column: 6 / span 7; align-self: end; background: var(--paper); color: var(--ink); text-align: center;
  padding: 3rem 3rem 6.5rem; transform: rotate(2deg) translateY(60px); position: relative; z-index: 2; margin-top: 7rem;
}
.reply .rcard h2 { font-size: 1.875rem; line-height: 1.1; color: var(--teal); margin-bottom: 1rem; }
.reply .rcard p { max-width: 40ch; margin: 0 auto 2rem; }
.band { position: absolute; top: 0; bottom: 0; width: 140px; z-index: 1; }
.band--right { right: 0; }
.band--left { left: 0; }

/* ---------- Text sections used on inner pages ---------- */
.sec { padding: var(--gap-section) 0; }
.sec--warm { background: var(--paper-warm); }
.sec--deep { background: var(--paper-deep); }
.sec--teal { background: var(--teal); color: var(--paper); }
.sec.sec--teal h2, .sec.sec--teal h3 { color: var(--paper); }
.sec--teal a { color: var(--paper); }
.sec h2 { font-size: var(--t-head); line-height: 1.04; color: var(--teal); }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; align-items: start; }
.split .l { grid-column: 1 / span 5; }
.split .r { grid-column: 7 / span 6; }
.split .r--wide { grid-column: 6 / span 7; }
.split .l h2 { margin-bottom: 1.5rem; }
.prose p { max-width: 62ch; }
.statement { font-family: var(--serif); font-weight: 400; font-size: var(--t-lead); line-height: 1.25; letter-spacing: -0.015em; max-width: 30ch; color: var(--ink); margin: 0 0 1.5rem; }
.sec--teal .statement { color: var(--paper); }
.tall { aspect-ratio: 4 / 5; overflow: hidden; }
.wide { aspect-ratio: 3 / 2; overflow: hidden; }

/* Definition rows printed on a sheet */
.sheet-list { background: var(--paper); padding: 2.5rem 2.75rem; }
.sec--deep .sheet-list, .sec--warm .sheet-list { background: var(--white); }
.sheet-list dl { margin: 0; }
.sheet-list dt { font-family: var(--serif); font-weight: 600; font-size: var(--t-lead); line-height: 1.25; color: var(--teal); margin-top: 1.75rem; }
.sheet-list dt:first-child { margin-top: 0; }
.sheet-list dd { margin: .4rem 0 0; color: var(--ink); }

/* Two big statements side by side (vision, mission) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 3.5rem; }
.pair h3 { font: 600 1.0625rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: .75rem; color: var(--terra-deep); }

/* Roles table on a dark field */
.roles { width: 100%; border-collapse: collapse; margin-top: 3rem; }
.roles th, .roles td { text-align: left; vertical-align: top; padding: 1.25rem 0; border-top: 1px solid rgba(251, 247, 239, .25); }
.roles th { width: 30%; font-family: var(--serif); font-weight: 600; font-size: var(--t-lead); padding-right: 2rem; }
.roles td span { display: block; font-weight: 600; margin-bottom: .25rem; color: var(--ochre); }

/* Stage list for chains */
.stages { margin: 2rem 0 0; padding: 0; list-style: none; }
.stages li { padding: 1.25rem 0; }
.stages li + li { margin-top: .25rem; }
.stages b { display: block; font-family: var(--serif); font-size: var(--t-lead); line-height: 1.2; font-weight: 600; color: var(--teal); margin-bottom: .35rem; }
.sec--teal .stages b { color: var(--paper); }

.media-stack { display: grid; gap: 1.5rem; }
.media-stack video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.8); background: var(--ink); }

.plain-list { margin: 1.5rem 0 0; padding-left: 1.2rem; }
.plain-list li { margin-bottom: .6rem; padding-left: .3rem; }
.plain-list li::marker { color: var(--terra); }

/* Mark placeholder: square in a verification frame */
.mark-ph { position: relative; aspect-ratio: 1; background: var(--paper); display: grid; place-items: center; text-align: center; padding: 3rem; }
.mark-ph p { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.25; color: var(--teal); margin: 0 0 .75rem; }
.mark-ph span { font-size: var(--t-small); color: var(--ink-soft); }

/* Contact form */
.form { display: grid; gap: 1.25rem; }
.form label { display: block; font-weight: 600; margin-bottom: .4rem; }
.form .opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1.0625rem/1.5 var(--sans); color: var(--ink); background: var(--white);
  border: 2px solid var(--rule-strong); border-radius: var(--radius); padding: .75rem .9rem; min-height: 52px;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: none; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 500; }
.notice--ok { background: var(--ok-bg); color: var(--forest); }
.notice--bad { background: var(--bad-bg); color: var(--terra-deep); }
.channels { display: grid; gap: 1.75rem; }
.channels h3 { font-size: var(--t-lead); line-height: 1.2; color: var(--teal); margin-bottom: .35rem; }
.channels p { margin: 0 0 .35rem; }

/* ---------- Footer: the back of the record (curtain) ---------- */
.foot { position: relative; background: var(--navy); padding: 6rem var(--margin) 0; overflow: hidden; }
.back.lift { transform: translateY(var(--lift, 0px)); will-change: transform; }
.back {
  position: relative; background: var(--paper); color: var(--ink); max-width: 1240px; margin-inline: auto;
  padding: 7rem clamp(1.5rem, 4vw, 4rem) 2rem;
  clip-path: polygon(0 64px, 14% 64px, 24% 10px, 33% 52px, 44% 0, 56% 56px, 66% 18px, 76% 64px, 100% 64px, 100% 100%, 0 100%);
}
.back-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.back .sign { font-size: 1.875rem; line-height: 1.1; color: var(--teal); margin-bottom: 1rem; }
.back .msg { max-width: 38ch; }
.addr { display: grid; gap: .75rem; font-size: var(--t-body); align-content: start; position: relative; padding-right: 110px; }
.addr a { text-decoration: none; color: var(--ink); }
.addr a:hover { color: var(--terra-deep); }
.addr small { display: block; font-size: var(--t-small); color: var(--ink-soft); }
.stamp { position: absolute; right: 0; top: 0; width: 88px; background: var(--paper); padding: 6px; transform: rotate(3deg); outline: 6px solid var(--paper-deep); }
.stamp img { width: 76px; height: 101px; object-fit: cover; filter: saturate(.8); }
.back-nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 3.5rem 0 0; padding: 0; list-style: none; }
.back-nav a { color: var(--teal); font-weight: 500; text-decoration: none; }
.back-nav a:hover { color: var(--terra-deep); }
.back-base { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 3.5rem; }
.back-base img { width: 118px; height: auto; flex: none; }
.imprint { font-size: var(--t-small); margin-left: auto; color: var(--ink-soft); line-height: 1.6; max-width: 92ch; text-align: right; }
.imprint p { margin: 0 0 .5rem; }
.imprint a { color: var(--ink-soft); }

/* ---------- Motion ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.card.rise { animation: rise 1s var(--ease) both; }
@keyframes rise { from { transform: translateY(80px); } to { transform: none; } }
.drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .card.rise, .drift, .record.is-swap { animation: none; }
  .dcard { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.25rem; }
  .intro-top h2 { grid-column: 1 / -1; }
  .intro-top p { grid-column: 1 / span 9; }
  .facts { flex-wrap: wrap; }
  .facts > div { flex: 1 1 40%; }
  .route .lede, .receipt, .verify .ask, .record, .split .l, .split .r, .split .r--wide { grid-column: 1 / -1; }
  .record { margin-top: 2rem; }
  .intro-photo figure { grid-column: 1 / -1; }
  .intro-photo .note { grid-column: 1 / -1; order: 2; }
  .reply .say { grid-column: 1 / span 5; }
  .reply .rcard { grid-column: 6 / span 7; }
  .roll .sheet { width: 78vw; }
  .split .r { margin-top: 2.5rem; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; background: var(--paper); color: var(--teal); font-weight: 600; border-radius: var(--radius); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: 52px; background: var(--navy); padding: 1rem 1.25rem; display: grid; gap: .25rem; min-width: 220px;  }
  .menu nav a { color: var(--paper); text-decoration: none; font-weight: 600; padding: .6rem 0; }
  .bar .act { display: none; }
  .bar .logo img { height: 56px; width: auto; }
  .hero { padding-top: 112px; }
  .card { width: calc(100% - 24px); min-height: calc(100svh - 96px + 80px); padding: 2.25rem 1.25rem 6rem; }
  .card h1 { font-size: clamp(2rem, 8.4vw, 3rem); }
  .hero--page .card h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .card .plate-h { margin-inline: -1.25rem; aspect-ratio: 4 / 3; }
  .statement { font-size: var(--t-body); font-weight: 500; }
  .card .stand { font-size: var(--t-body); }
  .qr-row { flex-direction: column; text-align: center; gap: .75rem; }
  .intro { padding-block: 6rem 5rem; }
  .intro-top h2 { font-size: 11vw; }
  .intro-top p { grid-column: 1 / -1; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; row-gap: 2rem; margin-top: 3.5rem; }
  .facts b { font-size: var(--t-lead); }
  .showcase { height: auto; min-height: 100svh; padding-bottom: 46svh; }
  .showcase .copy { margin: 0; width: auto; margin: 12svh 12px 0; padding: 1.5rem; }
  .showcase { padding-bottom: 0; }
  .slips { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 2rem 12px 0; }
  .slip, .slip:nth-child(n) { height: auto; min-height: 180px; font-size: .875rem; transform: none; }
  .deck-wrap { height: auto; }
  .deck-stage { position: static; height: auto; padding-block: 6rem; }
  .deck-stage h2 { font-size: 10vw; margin-bottom: 2rem; }
  .deck { flex-direction: column; height: auto; gap: 12px; }
  .dcard, .dcard.is-spine { width: 100%; height: auto; cursor: default; }
  .dcard.is-spine > * { opacity: 1; visibility: visible; }
  .dcard::after { display: none; }
  .dcard h3 { width: auto; font-size: var(--t-lead); }
  .dcard p { width: auto; margin-bottom: 1.5rem; }
  .dcard .plate { position: static; width: 100%; height: 200px; right: auto; margin-bottom: 1.25rem; order: -1; }
  .dcard .dfoot { width: auto; }
  .receipt { padding: 1.75rem 1.25rem 3.5rem; }
  .row--end { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .row .what { flex: 1 1 auto; max-width: none; }
  .row .what { min-width: 0; }
  .row .who { flex: none; text-align: right; white-space: nowrap; }
  .row--end .who { white-space: normal; flex: 0 1 auto; }
  .row .dots { flex: 0 0 1rem; }
  .record { padding: 2rem 1.25rem; }
  .record dl { grid-template-columns: 1fr; gap: .25rem; }
  .record dd { margin-bottom: .75rem; }
  .roll { height: auto; min-height: 0; max-height: 980px; padding-top: 5rem; }
  .roll .sheet { width: 92%; padding: 1.75rem; transform: rotate(-1deg); }
  .roll h2 { font-size: var(--t-lead); }
  .roll .names { font-size: var(--t-body); }
  .reply { display: block; padding: 5rem 20px 0; }
  .reply .say { margin-bottom: 2.5rem; font-size: var(--t-body); }
  .reply .rcard { width: 90%; margin: 0 auto; transform: rotate(1deg) translateY(40px); padding: 2rem 1.25rem 5rem; }
  .reply .rcard h2 { font-size: var(--t-lead); }
  .band { display: none; }
  .pair { grid-template-columns: 1fr; }
  .roles th, .roles td { display: block; width: auto; padding: .4rem 0; border: 0; }
  .roles tr { display: block; padding: 1rem 0; border-top: 1px solid rgba(251, 247, 239, .25); }
  .back { padding-top: 5.5rem; clip-path: polygon(0 48px, 10% 48px, 22% 8px, 34% 40px, 50% 0, 64% 42px, 78% 12px, 90% 48px, 100% 48px, 100% 100%, 0 100%); }
  .back-grid { grid-template-columns: 1fr; }
  .addr { padding-right: 80px; }
  .stamp { width: 64px; } .stamp img { width: 52px; height: 70px; }
  .back-base { flex-direction: column; align-items: flex-start; }
  .imprint { text-align: left; }
}

/* ---------- Questions and sources ---------- */
.faq .qa { background: var(--paper); padding: 1.75rem 2rem; }
.faq .qa + .qa { margin-top: .75rem; }
.faq .qa h3 { font-size: var(--t-lead); line-height: 1.25; color: var(--teal); margin-bottom: .6rem; }
.faq .qa p { margin: 0; }
.src-list { margin: 0; padding-left: 1.4rem; }
.src-list li { padding-left: .4rem; margin-bottom: 1.5rem; }
.src-list li::marker { color: var(--terra); font-weight: 600; }
.src-list p { margin: 0 0 .25rem; }
.src-list a { font-size: var(--t-small); color: var(--teal); }
@media (max-width: 760px) { .faq .qa { padding: 1.25rem; } .faq .qa h3 { font-size: 1.125rem; } }

@media (max-width: 760px) { .back.lift { transform: none; } }
