/* goggin. — editorial, warm, single accent. Zero JS. */
:root {
  --bg: #f4f1ea;
  --bg-2: #ebe6db;
  --ink: #16150f;
  --ink-2: #4a4740;
  --muted: #5f5b52;
  --line: #d9d3c5;
  --accent: #b2431c;
  --accent-ink: #fffaf3;
  --accent-soft: #f0dccf;
  --shadow: 0 1px 0 rgba(60, 40, 20, .04), 0 18px 40px -24px rgba(90, 50, 20, .28);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1240px;
  --r-sm: 8px;
  --r-lg: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110d;
    --bg-2: #1b1a15;
    --ink: #f2eee4;
    --ink-2: #cbc5b8;
    --muted: #a8a294;
    --line: #2e2c25;
    --accent: #ec7a4f;
    --accent-ink: #1a0d06;
    --accent-soft: #3a2117;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
/* grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.9rem; line-height: 1; letter-spacing: -.01em; text-decoration: none; }
.brand b { color: var(--accent); font-weight: 400; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); list-style: none; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .pill { color: var(--accent-ink); background: var(--ink); padding: 9px 16px; border-radius: 999px; font-weight: 500; }
.nav .pill:hover { color: var(--accent-ink); background: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  padding: 16px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1.2), background .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: color .2s; }
.link:hover { color: var(--accent); }

/* hero */
.hero { padding-block: clamp(56px, 10vw, 120px) clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -30vmax; top: -34vmax; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 9.2vw, 8.6rem); line-height: .95; letter-spacing: -.035em;
  margin: 26px 0 34px; max-width: 13ch; text-wrap: balance;
}
.hero h1 em { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 34px; }

/* the "monday" card */
.scene {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow); position: relative;
}
.scene h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.scene ol { list-style: none; display: grid; gap: 10px; }
.scene li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: .98rem; }
.scene time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; }
.scene li.done { color: var(--ink); }
.scene li.done span::after { content: " ✓"; color: var(--accent); font-weight: 700; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; }
.marquee ul { display: flex; gap: 48px; list-style: none; width: max-content; animation: slide 38s linear infinite; }
.marquee li { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); white-space: nowrap; color: var(--ink-2); }
.marquee li::after { content: "✳"; margin-left: 48px; color: var(--accent); font-family: var(--sans); font-size: .7em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee ul { animation: none; } }

/* sections */
.section { padding-block: clamp(72px, 10vw, 136px); }
.kicker { font-size: .9rem; color: var(--accent); font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }
.h2 em { color: var(--accent); }
.lead { color: var(--ink-2); max-width: 60ch; margin-top: 20px; font-size: 1.12rem; text-wrap: pretty; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile {
  grid-column: span 2; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; min-height: 260px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s;
}
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tile.big { grid-column: span 4; grid-row: span 2; background: var(--ink); color: var(--bg); border-color: var(--ink); justify-content: space-between; }
.tile.big p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.tile.wide { grid-column: span 3; }
.tile .num { font-family: var(--serif); font-size: 1.05rem; color: var(--accent); }
.tile h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }
.tile.big h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.025em; max-width: 14ch; }
.tile p { color: var(--muted); font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: auto; }
.tags li { font-size: .82rem; padding: 6px 12px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }

/* method */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps li { padding: 28px 22px 8px 0; border-right: 1px solid var(--line); padding-left: 22px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps .n { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--accent); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }

/* quote band */
.band { background: var(--ink); color: var(--bg); border-radius: clamp(22px, 3vw, 36px); padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; }
.band::before { content: "“"; position: absolute; font-family: var(--serif); font-size: 26rem; line-height: 1; top: -5rem; right: 2rem; color: color-mix(in srgb, var(--accent) 60%, transparent); }
.band blockquote { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; max-width: 22ch; position: relative; }
.band blockquote em { color: var(--accent); }
.band p { margin-top: 26px; color: color-mix(in srgb, var(--bg) 70%, transparent); max-width: 56ch; position: relative; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 90px); }
.faq dl { display: grid; }
.faq dt { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; padding-top: 26px; border-top: 1px solid var(--line); }
.faq dd { color: var(--ink-2); padding: 10px 0 26px; max-width: 62ch; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.card-contact { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.card-contact dl { display: grid; gap: 18px; }
.card-contact dt { font-size: .82rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.card-contact dd { font-size: 1.1rem; margin-top: 2px; overflow-wrap: anywhere; }
.card-contact a { text-decoration: none; border-bottom: 1px solid var(--accent); }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: .92rem; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; }
.foot .big-mark { font-family: var(--serif); font-size: clamp(4rem, 16vw, 13rem); line-height: .8; color: var(--ink); letter-spacing: -.04em; grid-column: 1 / -1; margin-bottom: 18px; }
.foot .big-mark b { color: var(--accent); font-weight: 400; }
.foot nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot strong { color: var(--ink-2); font-weight: 600; }

/* docs (privacy / terms) */
.doc { padding-block: clamp(48px, 8vw, 96px); max-width: 780px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 12px; }
.doc .updated { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 1.25rem; margin: 40px 0 12px; letter-spacing: -.01em; }
.doc p, .doc li { margin-bottom: 12px; color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc a { color: var(--accent); }

/* 404 */
.nf { min-height: 70dvh; display: grid; place-content: center; text-align: center; gap: 18px; }
.nf h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 20vw, 14rem); line-height: .9; color: var(--accent); }

/* scroll-driven reveal, progressive enhancement */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  }
}

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .head-split, .faq, .contact { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.big { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { padding-left: 0; padding-right: 18px; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
}
@media (max-width: 640px) {
  .nav li:not(:last-child) { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.wide, .tile.big { grid-column: span 1; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .band::before { font-size: 16rem; top: -3rem; right: 0; }
}
.section.tight { padding-top: 0; }
