/* Feltt — editorial, quiet luxury. Beige ground, ink type, one pink accent. */
:root {
  --bg: oklch(94.8% 0.016 78);        /* #F3EDE4 */
  --bg-deep: oklch(91.5% 0.02 76);
  --paper: oklch(97.6% 0.01 80);
  --ink: oklch(22% 0.008 60);         /* warm near-black */
  --ink-soft: oklch(42% 0.014 60);
  --line: oklch(84% 0.018 72);
  --rose: oklch(74% 0.07 12);         /* the sparkle */
  --rose-ink: oklch(48% 0.11 12);
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: clamp(16px, 0.25vw + 15px, 18px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--rose); color: var(--ink); }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .pill {
  color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 9px 18px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-links .pill:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* ── Type ────────────────────────────────────────── */
.eyebrow {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.spark { width: 12px; height: 12px; flex: none; }
h1, h2, h3, .serif { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(50px, 6.4vw, 104px); line-height: 0.95; margin: 20px 0 26px; }
h1 em, h2 em { font-style: italic; color: var(--rose-ink); }
h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1; margin: 0 0 20px; }
h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; margin: 0 0 14px; }
.lede { font-size: clamp(18px, 1vw + 12px, 22px); color: var(--ink-soft); max-width: 34ch; margin: 0; }
p { margin: 0 0 1em; }

/* ── Buttons ─────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: var(--bg); padding: 17px 28px; border-radius: 999px;
  font-size: 16px; font-weight: 500; transition: transform .4s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); background: oklch(30% 0.01 60); }
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.link { color: var(--ink); text-underline-offset: 6px; text-decoration-thickness: 1px; font-size: 16px; }
.btn:focus-visible, .link:focus-visible, .nav a:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 4px; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(24px, 3vw, 48px) var(--gutter) clamp(56px, 7vw, 104px);
}
.hero-visual { position: relative; justify-self: end; width: min(100%, 500px); }
.hero-visual .photo { border-radius: 2px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.note {
  position: absolute; left: clamp(-56px, -4vw, -16px); bottom: 9%;
  width: min(300px, 78%); background: var(--paper); padding: 18px 20px 16px;
  box-shadow: 0 30px 60px -30px oklch(30% 0.03 60 / 0.35);
}
.note .head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.note .head b { color: var(--ink); font-weight: 600; }
.note .title { font-family: var(--display); font-size: 26px; line-height: 1.05; margin-bottom: 8px; }
.note .meta { font-size: 13px; color: var(--ink-soft); }
.note .meta s { margin-right: 6px; }
.note .meta strong { color: var(--ink); font-weight: 600; }
.note .row { display: flex; gap: 6px; margin-top: 12px; }
.note .row span { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.caption-tag { position: absolute; top: 16px; right: 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); opacity: .9; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-visual { justify-self: stretch; width: 100%; }
  .note { left: 12px; bottom: 12px; }
}

/* ── Statement ───────────────────────────────────── */
.statement {
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.statement p {
  font-family: var(--display); font-size: clamp(40px, 6.4vw, 104px); line-height: 1;
  max-width: 22ch; margin: 0;
}
.statement p span { color: var(--ink-soft); }

/* ── How it works ────────────────────────────────── */
.how { padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(32px, 4vw, 64px); }
.how-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); }
.how-head p { max-width: 36ch; color: var(--ink-soft); margin: 0; }
.step {
  display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 4vw, 64px); align-items: center;
  padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid var(--line);
}
.step .copy h3 { font-size: clamp(36px, 4vw, 60px); }
.step .num { font-family: var(--display); font-size: 22px; color: var(--rose-ink); align-self: start; padding-top: 10px; }
.step .copy { max-width: 42ch; }
.step .copy p { color: var(--ink-soft); }
.step img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.step:nth-of-type(even) { grid-template-columns: 80px minmax(0, 0.8fr) minmax(0, 1.2fr); }
.step:nth-of-type(even) .copy { order: 3; }
.step:nth-of-type(even) .media { order: 2; }
.step .media { max-width: 340px; justify-self: end; width: 100%; }
.step:nth-of-type(even) .media { justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 13px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 860px) {
  .step, .step:nth-of-type(even) { grid-template-columns: 1fr; }
  .step .media { max-width: 420px; }
  .step .num { padding: 0; }
  .step:nth-of-type(even) .copy, .step:nth-of-type(even) .media { order: initial; }
  .step .media { justify-self: start; }
}

/* ── Principles ──────────────────────────────────── */
.principles {
  background: var(--ink); color: var(--bg);
  padding: clamp(72px, 10vw, 150px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px);
}
.principles h2 em { color: var(--rose); }
.principles dl { margin: 0; display: grid; gap: 0; }
.principles .item { padding: 26px 0; border-top: 1px solid oklch(40% 0.01 60); }
.principles dt { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin-bottom: 8px; }
.principles dd { margin: 0; color: oklch(80% 0.015 70); max-width: 46ch; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ── Final CTA ───────────────────────────────────── */
.final {
  padding: clamp(90px, 13vw, 200px) var(--gutter);
  display: grid; justify-items: start; gap: 8px;
}
.final h2 { max-width: 14ch; font-size: clamp(48px, 7vw, 112px); line-height: 0.95; }
.final .small { color: var(--ink-soft); font-size: 15px; margin-top: 18px; }

/* ── Footer ──────────────────────────────────────── */
footer {
  padding: 40px var(--gutter) 48px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: end;
  font-size: 14px; color: var(--ink-soft);
}
footer img { height: 24px; width: auto; margin-bottom: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ── Legal pages ─────────────────────────────────── */
.legal { padding: clamp(40px, 6vw, 80px) var(--gutter) 100px; max-width: 760px; }
.legal h1 { font-size: clamp(48px, 6vw, 80px); margin-bottom: 10px; }
.legal .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-size: clamp(26px, 2.4vw, 32px); margin: 44px 0 12px; }
.legal p, .legal li { color: oklch(32% 0.012 60); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }

/* ── Motion ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
