@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #ecebe7;
  --paper-2: #dfded9;
  --ink: #121212;
  --muted: #54524d;
  --accent: #f2a93b;
  --night: #0d0d0e;
  --night-2: #1c1c1e;
  --night-ink: #eeeeec;
  --night-muted: #bdb9b1;
  --m: clamp(16px, 4vw, 56px);
  --s-small: 0.875rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-head: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --s-display: clamp(2.75rem, 1.6rem + 4.2vw, 5.25rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s-body)/1.55 Inter, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 850; letter-spacing: -0.035em; line-height: 1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---------- Split: fixed stage + reading column ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stage { position: sticky; top: 0; height: 100svh; grid-column: 2; grid-row: 1; overflow: hidden; background: var(--night); }
.stage .frame { margin: 0; position: absolute; inset: 0; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); }
.shot.on { opacity: 1; }
.frame .night { opacity: 0; transition: none; }
.stage .frame { opacity: 1; transition: opacity 1.6s var(--ease); }
.stage .frame.off { opacity: 0; }
.read { grid-column: 1; grid-row: 1; padding: 0 var(--m) 0; min-width: 0; }

.dial { position: absolute; left: var(--m); right: var(--m); bottom: var(--m); max-width: 420px; background: var(--night); color: var(--night-ink); padding: 18px 20px 16px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.dial.hide { opacity: 0; transform: translateY(12px); pointer-events: none; }
.dial label { display: block; font-weight: 600; font-size: var(--s-body); margin-bottom: 10px; }
.dial input { width: 100%; height: 36px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.dial-ends { display: flex; justify-content: space-between; font-size: var(--s-small); color: var(--night-muted); }
.dial-note { margin-top: 10px; font-size: var(--s-small); color: var(--night-muted); }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 24px 0; }
.wordmark { font-weight: 850; letter-spacing: -0.03em; font-size: 1.25rem; text-decoration: none; }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: var(--s-small); font-weight: 500; }
.bar nav a { text-decoration: underline 2px transparent; text-underline-offset: 6px; padding: 6px 0; transition: text-decoration-color .25s; }
.bar nav a:hover { text-decoration-color: currentColor; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 88px); display: flex; flex-direction: column; justify-content: center; padding: 48px 0 96px; max-width: 34rem; }
.kelvin { display: flex; gap: 4px; height: 44px; background: var(--ink); padding: 4px; margin-bottom: 48px; }
.kelvin i { flex: 1; }
.kelvin i:nth-child(1) { background: #ff8a12; } .kelvin i:nth-child(2) { background: #ff9a33; }
.kelvin i:nth-child(3) { background: #ffa148; } .kelvin i:nth-child(4) { background: #ffa957; }
.kelvin i:nth-child(5) { background: #ffb46b; } .kelvin i:nth-child(6) { background: #ffc187; }
.kelvin i:nth-child(7) { background: #ffcea6; } .kelvin i:nth-child(8) { background: #ffdabb; }
.kelvin i:nth-child(9) { background: #ffe4ce; } .kelvin i:nth-child(10) { background: #fff9fd; }
h1 { font-size: min(var(--s-display), 4.3vw); line-height: .95; letter-spacing: -0.045em; }
.lead { margin-top: 36px; font-size: var(--s-lead); line-height: 1.4; max-width: 30ch; }
.status { margin-top: 16px; font-weight: 600; }
.actions { margin-top: 40px; display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; background: var(--ink); color: var(--paper); font-weight: 650; text-decoration: none; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--accent); color: var(--ink); }
.btn:active, .cell:active { transform: scale(.98); }
.link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; padding: 12px 0; }
.link:hover { text-decoration-color: var(--accent); }

/* ---------- Intro ---------- */
.intro { padding: 120px 0 160px; max-width: 30rem; }
.intro h2, .how h2, .kam h2 { font-size: var(--s-head); margin-bottom: 36px; }
.intro p + p { margin-top: 1.1em; }
.intro .first { font-size: var(--s-lead); line-height: 1.4; font-weight: 600; }

/* ---------- How: itinerary slip on a night field ---------- */
.how { background: var(--night); color: var(--night-ink); margin: 0 calc(var(--m) * -1); padding: 120px var(--m) 140px; }
.how > p { max-width: 30ch; color: var(--night-muted); margin-bottom: 48px; }
.slip { background: var(--paper); color: var(--ink); max-width: 30rem; padding: 28px 28px 56px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 96% 100%, 92% calc(100% - 12px), 88% 100%, 84% calc(100% - 12px), 80% 100%, 76% calc(100% - 12px), 72% 100%, 68% calc(100% - 12px), 64% 100%, 60% calc(100% - 12px), 56% 100%, 52% calc(100% - 12px), 48% 100%, 44% calc(100% - 12px), 40% 100%, 36% calc(100% - 12px), 32% 100%, 28% calc(100% - 12px), 24% 100%, 20% calc(100% - 12px), 16% 100%, 12% calc(100% - 12px), 8% 100%, 4% calc(100% - 12px), 0 100%); }
.slip h3 { font-size: var(--s-body); letter-spacing: -0.01em; font-weight: 750; margin: 28px 0 8px; }
.slip h3:first-child { margin-top: 0; }
.slip dl { margin: 0; }
.slip dl div { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.slip dt { flex: 0 1 auto; }
.slip dd { margin: 0; flex: 0 0 auto; color: var(--muted); font-size: var(--s-small); font-variant-numeric: tabular-nums; }
.slip dd.on { color: var(--ink); font-weight: 650; }
.slip dl div::after { content: "· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·"; order: 1; flex: 1 1 24px; width: 24px; min-width: 24px; overflow: hidden; white-space: nowrap; color: var(--muted); }
.slip dd { order: 2; }
.slip-end { margin: 28px -28px 0; background: var(--ink); color: var(--paper); padding: 12px 28px; font-weight: 650; }

/* ---------- Who it is for ---------- */
.kam { padding: 140px 0 160px; max-width: 32rem; }
.group { color: var(--muted); margin: 40px 0 12px; }
.kam h2 + .group { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; }
.rows img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.rows b { display: block; font-weight: 650; font-size: var(--s-lead); letter-spacing: -0.015em; line-height: 1.25; }
.rows span { color: var(--muted); }

/* ---------- Catalog: full-width break ---------- */
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: var(--m); padding: 140px var(--m); background: var(--paper-2); align-items: center; }
.plate { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cat-text { min-width: 0; }
.catalog h2 { font-size: var(--s-head); margin-bottom: 32px; }
.can { margin: 28px 0 40px; padding-left: 1.1em; }
.can li { padding: 3px 0; }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 12px 16px; font-weight: 650; text-decoration: none; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.cell.ink { background: var(--ink); color: var(--paper); }
.cell.tone { background: var(--paper); color: var(--ink); }
.cell:hover { background: var(--accent); color: var(--ink); }

/* ---------- Letter ---------- */
.letter { padding: 200px var(--m); }
.sheet { max-width: 36rem; margin: 0 auto; }
.sheet h2 { font-size: var(--s-head); margin-bottom: 40px; }
.sheet p + p { margin-top: 1.1em; }
.sign { margin-top: 40px !important; font-size: var(--s-lead); font-weight: 650; letter-spacing: -0.015em; }
.sign span { display: block; font-size: var(--s-small); font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--night); color: var(--night-ink); padding: 48px 0 140px; overflow: hidden; }
.strip { overflow: hidden; }
.strip-run { display: flex; gap: 8px; width: max-content; animation: drift 70s linear infinite; }
.strip img { height: 150px; width: auto; object-fit: cover; }
.strip img:nth-child(3n+1) { aspect-ratio: 3 / 2; } .strip img:nth-child(3n+2) { aspect-ratio: 1; } .strip img:nth-child(3n) { aspect-ratio: 3 / 4; }
@keyframes drift { to { transform: translateX(-50%); } }
.contact-in { padding: 0 var(--m); }
.contact h2 { font-size: var(--s-display); margin: 96px 0 24px; }
.contact-in > p { color: var(--night-muted); max-width: 46ch; margin-bottom: 40px; }
.cells.four { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
.cells.four .big { grid-column: span 2; }
.contact .cell { background: var(--night-2); color: var(--night-ink); min-height: 96px; font-size: var(--s-lead); }
.contact .cell.big { background: var(--accent); color: var(--ink); }
.contact .cell:hover { background: var(--night-ink); color: var(--ink); }
.small { margin-top: 20px; font-size: var(--s-small); color: var(--night-muted); }

/* ---------- Footer ---------- */
.foot { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); min-height: 88svh; }
.foot-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.foot-in { padding: 64px var(--m) 32px; display: flex; flex-direction: column; }
.foot .wordmark { margin-bottom: 48px; }
.menu { display: flex; flex-direction: column; gap: 14px; }
.menu a { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; text-decoration: none; transition: transform .25s var(--ease), color .25s; }
.menu a:hover { transform: translateX(12px); }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 64px 0 48px; }
.blocks h2 { font-size: var(--s-body); letter-spacing: -0.01em; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blocks a { text-underline-offset: 4px; }
.legal { margin-top: auto; font-size: var(--s-small); color: var(--muted); max-width: 60ch; }

/* ---------- Phone ---------- */
.m-only { display: none; }
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .stage { grid-column: 1; grid-row: 2; position: relative; height: 56svh; }
  h1 { font-size: clamp(2.4rem, 10.5vw, 4rem); }
  .stage > .shot[data-key] { display: none; }
  .stage .frame.off { opacity: 1; }
  .dial.hide { opacity: 1; transform: none; pointer-events: auto; }
  .dial { max-width: none; padding: 14px 16px 12px; }
  .read { display: contents; }
  .bar { grid-row: 1; padding: 16px var(--m); }
  main { grid-row: 3; padding: 0 var(--m); }
  .hero { min-height: 0; padding: 32px 0 72px; }
  .kelvin { height: 32px; margin-bottom: 32px; }
  .m-only { display: block; margin: 0 0 32px; width: 100%; }
  .intro { padding: 72px 0 96px; }
  .how { padding: 80px var(--m) 96px; }
  .slip { padding: 22px 20px 48px; }
  .slip-end { margin: 24px -20px 0; padding: 12px 20px; }
  .slip dl div { flex-wrap: wrap; }
  .kam { padding: 88px 0 96px; }
  .rows li { padding: 10px 0; }
  .catalog { grid-template-columns: 1fr; padding: 88px var(--m); gap: 40px; }
  .cells { grid-template-columns: 1fr; }
  .cells.four { grid-auto-flow: row; }
  .cells.four .big { grid-column: auto; }
  .cell { min-height: 60px; }
  .contact .cell { min-height: 64px; }
  .letter { padding: 120px var(--m); }
  .contact h2 { margin-top: 64px; }
  .strip img { height: 110px; }
  .foot { grid-template-columns: 1fr; min-height: 0; }
  .foot-photo { height: 50svh; }
  .blocks { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Entrances (only when the script runs) ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .shot, .stage .frame, .dial { transition: none; }
  .strip-run { animation: none; }
  .menu a, .btn, .cell { transition: none; }
}

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 15; width: 52px; height: 52px; display: grid; place-items: center; background: var(--accent); color: var(--ink); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--night-ink); }
.to-top:active { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
