/* =========================================================
   willisellit — "Atelier Noir"
   Cinematic depth in graphite. Light played against shadow.
   No flat blacks. No white blocks. Everything has temperature.
   ========================================================= */

:root {
  /* INK SCALE — extended grayscale with cool undertone in shadows,
     near-neutral in highlights. The cool→neutral shift is what gives
     surfaces their "living light" quality. */
  --ink-0:      #050608;   /* deepest void, behind everything */
  --ink-50:     #0B0D10;   /* canvas */
  --ink-100:    #11141A;   /* recessed */
  --ink-150:    #161A20;   /* base panel */
  --ink-200:    #1C2128;   /* raised panel */
  --ink-300:    #262C35;   /* prominent panel */
  --ink-400:    #353B45;   /* edge / hairline */
  --ink-500:    #4A515D;   /* muted text */
  --ink-600:    #6A7280;   /* secondary text */
  --ink-700:    #98A0AC;   /* body text */
  --ink-800:    #C5CAD2;   /* near-emphasis */
  --ink-900:    #E8EAEC;   /* high emphasis */
  --ink-paper:  #F4F5F7;   /* the rare bright accent */

  /* HIGHLIGHT — barely-there warm light (top-edge of objects) */
  --light-warm:    rgba(255, 248, 230, 0.06);
  --light-warm-2:  rgba(255, 248, 230, 0.10);
  --light-cold:    rgba(180, 205, 255, 0.04);

  /* SHADOW — deep, diffuse, used as object grounding */
  --shadow-soft: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 32px -16px rgba(0,0,0,0.55);
  --shadow-deep: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -24px rgba(0,0,0,0.7);
  --shadow-press: 0 -1px 0 rgba(255,255,255,0.04) inset, 0 1px 0 rgba(0,0,0,0.5) inset;

  /* ACCENT — single warm spark, used like a wax seal */
  --amber:        #D4A35A;
  --amber-soft:   #B98948;
  --amber-glow:   rgba(212, 163, 90, 0.28);
  --amber-faint:  rgba(212, 163, 90, 0.08);

  /* TYPOGRAPHY */
  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* SCALE */
  --fs-xs:    11px;
  --fs-sm:    13px;
  --fs-base:  16px;
  --fs-md:    18px;
  --fs-lg:    21px;
  --fs-xl:    27px;
  --fs-2xl:   36px;
  --fs-3xl:   48px;
  --fs-4xl:   68px;
  --fs-5xl:   92px;

  /* SPACING */
  --sp-1:  4px;  --sp-2:  8px;  --sp-3:  12px; --sp-4:  16px;
  --sp-5:  20px; --sp-6:  24px; --sp-8:  32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  /* RADII — soft, organic */
  --r-sm:  6px;  --r-md:  10px;  --r-lg:  16px; --r-xl:  22px;

  /* WIDTHS */
  --w-prose:  680px;
  --w-medium: 880px;
  --w-wide:   1180px;

  /* MOTION */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quick:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
}

/* =========================================================
   FONT
   ========================================================= */
@font-face {
  font-family: 'Geist';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/geist@1.4.0/dist/fonts/geist-sans/Geist-Variable.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Geist Mono';
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/geist@1.4.0/dist/fonts/geist-mono/GeistMono-Variable.woff2') format('woff2-variations');
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink-0);
}

/* =========================================================
   BODY — multi-layer atmosphere
   1. Base ink canvas
   2. Top-left soft "studio key light" radial
   3. Bottom-right cool fill
   4. Subtle grain (SVG noise) — kills banding, adds analog feel
   5. Mouse-following ambient pool (set via --pointer-x/y in JS)
   ========================================================= */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--ink-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;

  --pointer-x: 50%;
  --pointer-y: 30%;
}

/* atmosphere — light layers, fixed to viewport so they don't scroll away */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 18% -10%,
      rgba(255, 240, 215, 0.08) 0%,
      rgba(255, 240, 215, 0.03) 35%,
      transparent 65%),
    radial-gradient(ellipse 70% 60% at 110% 110%,
      rgba(120, 145, 200, 0.05) 0%,
      transparent 60%),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y),
      rgba(212, 163, 90, 0.05) 0%,
      transparent 35%);
  transition: background-position 200ms linear;
}
/* film grain — SVG noise as data URI, very subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

::selection {
  background: var(--amber-glow);
  color: var(--ink-paper);
}

a {
  color: var(--ink-900);
  text-decoration-color: var(--ink-400);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 220ms var(--ease-quick), color 220ms;
}
a:hover {
  text-decoration-color: var(--amber);
  color: var(--ink-paper);
}

p { margin-bottom: var(--sp-4); color: var(--ink-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--ink-900);
}

/* H1 — letterpress: text appears stamped into the surface.
   The two-stop text-shadow places a near-invisible top edge highlight
   and a deeper inner shadow below, so the text reads as inset, not flat. */
h1 {
  font-size: var(--fs-4xl);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: transparent;
  background-image: linear-gradient(180deg,
    var(--ink-900) 0%,
    var(--ink-800) 60%,
    var(--ink-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.025),
    0 -1px 0 rgba(0,0,0,0.4);
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
h3 {
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
  color: var(--ink-900);
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ink-300) 20%,
    var(--ink-300) 80%,
    transparent 100%);
  margin: var(--sp-12) 0;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

img, svg { max-width: 100%; display: block; }

/* =========================================================
   LAYOUT
   ========================================================= */
.shell {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.prose  { max-width: var(--w-prose);  margin-left: auto; margin-right: auto; }
.medium { max-width: var(--w-medium); margin-left: auto; margin-right: auto; }

.section { padding: var(--sp-20) 0; position: relative; }

/* =========================================================
   HEADER — floating glass bar, true blur, edge-lit underline
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg,
    rgba(11, 13, 16, 0.85) 0%,
    rgba(11, 13, 16, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg,
    transparent 0%,
    var(--ink-400) 25%,
    var(--ink-400) 75%,
    transparent 100%) 1;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-6);
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-md);
  color: var(--ink-900);
  letter-spacing: -0.025em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.brand .brand-q {
  color: var(--amber);
  font-weight: 700;
  text-shadow: 0 0 8px var(--amber-glow);
}
.brand:hover { text-decoration: none; color: var(--ink-paper); }
.nav-links { display: flex; gap: var(--sp-6); align-items: center; }
.nav-links a {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: color 200ms;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}
.nav-links a:hover { color: var(--ink-paper); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(180deg, var(--ink-300) 0%, var(--ink-200) 100%);
  color: var(--ink-paper) !important;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid var(--ink-400);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 6px 16px -8px rgba(0,0,0,0.6);
  transition: all 220ms var(--ease-out);
}
.nav-cta:hover {
  border-color: var(--amber);
  color: var(--ink-paper) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 8px 22px -8px var(--amber-glow);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* =========================================================
   HERO — atmospheric, big breath, single warm cue
   ========================================================= */
.hero {
  padding: var(--sp-32) 0 var(--sp-20);
  position: relative;
}
/* hairline below hero, fading to accent center — subtle "act break" */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ink-300) 20%,
    var(--amber) 50%,
    var(--ink-300) 80%,
    transparent 100%);
  opacity: 0.5;
}
.hero h1 { margin-bottom: var(--sp-8); }
.hero .lead {
  font-size: var(--fs-lg);
  color: var(--ink-600);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.hero-cta-row {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
  align-items: center;
  flex-wrap: wrap;
}

/* =========================================================
   BUTTONS — physical objects, not flat shapes
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: var(--fs-base);
  text-decoration: none !important;
  letter-spacing: -0.005em;
  transition: all 220ms var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-display);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(180deg, #2A3038 0%, #1A1E24 100%);
  color: var(--ink-paper);
  border: 1px solid var(--ink-400);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 12px 28px -12px rgba(0,0,0,0.7);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%,
    rgba(212, 163, 90, 0.0) 0%,
    transparent 70%);
  transition: background 280ms var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 18px 36px -12px rgba(0,0,0,0.8),
    0 0 32px -8px var(--amber-glow);
}
.btn-primary:hover::before {
  background: radial-gradient(circle at 50% 0%,
    rgba(212, 163, 90, 0.18) 0%,
    transparent 70%);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1px solid var(--ink-400);
}
.btn-ghost:hover {
  border-color: var(--ink-700);
  color: var(--ink-paper);
  background: rgba(255,255,255,0.02);
}

.btn-arrow::after {
  content: " →";
  transition: transform 250ms var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   TRUST ROW — three quiet beats with hairline dividers
   ========================================================= */
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: var(--sp-16) 0 0;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--ink-200);
}
.trust-item {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  line-height: 1.55;
  padding: 0 var(--sp-6);
  position: relative;
  font-weight: 300;
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child  { padding-right: 0; }
.trust-item + .trust-item::before {
  content: "";
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--ink-300) 30%,
    var(--ink-300) 70%,
    transparent 100%);
}
.trust-item strong {
  color: var(--ink-900);
  font-weight: 500;
  display: block;
  font-size: var(--fs-md);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  .trust-row { grid-template-columns: 1fr; gap: var(--sp-4); }
  .trust-item { padding: var(--sp-4) 0; }
  .trust-item + .trust-item::before {
    left: 0; right: 0; top: 0; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg,
      transparent 0%, var(--ink-300) 30%, var(--ink-300) 70%, transparent 100%);
  }
}

/* =========================================================
   TOOLS GRID — light catches the upper edge, depth grounds the base
   ========================================================= */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin: var(--sp-12) 0;
}
@media (max-width: 720px) {
  .tools-grid { grid-template-columns: 1fr; }
}

.tool-card {
  --card-light-x: 30%;
  --card-light-y: 0%;
  display: block;
  padding: var(--sp-10) var(--sp-8) var(--sp-8);
  background:
    radial-gradient(ellipse 80% 60% at var(--card-light-x) var(--card-light-y),
      rgba(255, 248, 230, 0.05) 0%,
      transparent 55%),
    linear-gradient(155deg,
      var(--ink-200) 0%,
      var(--ink-150) 60%,
      var(--ink-100) 100%);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-lg);
  text-decoration: none !important;
  color: inherit;
  transition: transform 380ms var(--ease-out),
              border-color 280ms,
              box-shadow 380ms;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 18px 36px -18px rgba(0,0,0,0.6);
}
/* top-edge highlight: 1px gradient line that simulates light catching the bevel */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 248, 230, 0.15) 50%,
    transparent 100%);
  pointer-events: none;
}
/* bottom amber underline — appears on hover */
.tool-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--amber) 50%,
    transparent 100%);
  transition: left 420ms var(--ease-out), right 420ms var(--ease-out);
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-400);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 28px 56px -20px rgba(0,0,0,0.75),
    0 0 40px -16px var(--amber-faint);
  --card-light-x: 60%;
}
.tool-card:hover::after { left: 8%; right: 8%; }

.tool-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tool-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber-glow);
}
.tool-card h3 {
  font-size: var(--fs-xl);
  font-weight: 500;
  margin: 0 0 var(--sp-3);
  color: var(--ink-900);
  letter-spacing: -0.025em;
}
.tool-card p {
  color: var(--ink-600);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}
.tool-meta {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--ink-300);
}

/* =========================================================
   PROSE BLOCKS (Why this exists) — manuscript with ghost numeral
   ========================================================= */
.prose-block {
  position: relative;
}
.prose-block .ghost-num {
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-size: 240px;
  font-weight: 100;
  color: var(--ink-100);
  letter-spacing: -0.06em;
  pointer-events: none;
  z-index: -1;
  line-height: 1;
  user-select: none;
}
@media (max-width: 720px) {
  .prose-block .ghost-num { display: none; }
}

/* =========================================================
   SECTION TAG — small mark, hairline before
   ========================================================= */
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-500);
  font-weight: 500;
  margin-bottom: var(--sp-5);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--amber);
}

/* =========================================================
   BLOG LIST — graphite cards, light stroke on hover
   ========================================================= */
.blog-list {
  margin: var(--sp-12) 0;
  display: flex;
  flex-direction: column;
}
.blog-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--ink-200);
  text-decoration: none !important;
  color: inherit;
  align-items: start;
  position: relative;
  transition: padding 280ms var(--ease-out);
}
.blog-item::before {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    var(--amber) 0%,
    transparent 100%);
  transition: right 420ms var(--ease-out);
}
.blog-item:hover { padding-left: var(--sp-3); }
.blog-item:hover::before { right: 70%; }

@media (max-width: 600px) {
  .blog-item { grid-template-columns: 1fr; }
}
.blog-date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-500);
  letter-spacing: 0.08em;
  padding-top: 4px;
  font-weight: 500;
}
.blog-item h3 {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  transition: color 220ms;
  line-height: 1.35;
}
.blog-item:hover h3 { color: var(--ink-paper); }
.blog-item p {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0 0 var(--sp-3);
}
.blog-tags { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.blog-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-700);
  padding: 3px 9px;
  background: var(--ink-150);
  border: 1px solid var(--ink-300);
  border-radius: 3px;
  font-weight: 400;
}

/* =========================================================
   FOOTER — sinks darker than canvas, top-edge halo
   ========================================================= */
.site-footer {
  margin-top: var(--sp-32);
  padding: var(--sp-20) 0 var(--sp-12);
  background: linear-gradient(180deg,
    var(--ink-50) 0%,
    var(--ink-0) 100%);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg,
    transparent 0%,
    var(--ink-300) 25%,
    var(--ink-300) 75%,
    transparent 100%) 1;
  font-size: var(--fs-sm);
  color: var(--ink-600);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%,
    rgba(255, 240, 215, 0.04) 0%,
    transparent 70%);
  pointer-events: none;
}
.footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}
@media (max-width: 720px) {
  .footer-row { grid-template-columns: 1fr 1fr; }
}
.footer-row h5 {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.footer-row a {
  display: block;
  color: var(--ink-600);
  text-decoration: none;
  margin-bottom: var(--sp-2);
  transition: color 200ms;
  font-size: var(--fs-sm);
}
.footer-row a:hover { color: var(--ink-paper); }
.footer-disclaimer {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  line-height: 1.65;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ink-200);
}

/* =========================================================
   MASCOT — polished steel eyes
   ========================================================= */
.mascot {
  position: fixed;
  top: 92px;
  right: 36px;
  width: 60px;
  height: 28px;
  z-index: 40;
  pointer-events: none;
}
@media (max-width: 720px) { .mascot { display: none; } }

.mascot-eye {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%,
      var(--ink-paper) 0%,
      var(--ink-800) 35%,
      var(--ink-700) 70%,
      var(--ink-600) 100%);
  border: 1px solid var(--ink-400);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 4px 12px -4px rgba(0,0,0,0.6);
  transition: transform 100ms ease-out;
}
.mascot-eye.left  { left: 0; }
.mascot-eye.right { right: 0; }
.mascot-pupil {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    var(--ink-300) 0%,
    var(--ink-0) 70%);
  top: 50%;
  left: 50%;
  margin-top: -4.5px;
  margin-left: -4.5px;
  transition: transform 80ms ease-out, width 250ms, height 250ms;
  box-shadow: 0 0 4px rgba(0,0,0,0.5) inset;
}
.mascot.blinking .mascot-eye::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-200);
  animation: blink 240ms ease-in-out;
}
@keyframes blink {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* =========================================================
   QUIZ CARD — kept dark, minimal touches (used on other pages)
   ========================================================= */
.quiz-frame {
  background: linear-gradient(155deg, var(--ink-200) 0%, var(--ink-150) 100%);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8) var(--sp-12);
  margin: var(--sp-12) auto;
  max-width: var(--w-medium);
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 24px 48px -24px rgba(0,0,0,0.7);
}
.quiz-progress {
  height: 2px;
  background: var(--ink-300);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: var(--sp-10);
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-soft) 0%, var(--amber) 100%);
  border-radius: 100px;
  transition: width 380ms var(--ease-out);
  box-shadow: 0 0 12px var(--amber-glow);
}
.quiz-step {
  font-size: 11px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
}
.quiz-question {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
  color: var(--ink-900);
}
.quiz-helper {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  margin-bottom: var(--sp-8);
}
.option-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
}
.option {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--ink-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.option:hover {
  border-color: var(--amber);
  background: var(--ink-150);
  transform: translateX(2px);
}
.option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              var(--amber-faint) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 200ms;
  pointer-events: none;
}
.option:hover::before { opacity: 1; }
.option-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-500);
  flex-shrink: 0;
  position: relative;
  transition: border-color 180ms;
}
.option:hover .option-radio { border-color: var(--amber); }
.option-label {
  flex: 1;
  font-weight: 400;
  font-size: var(--fs-base);
  color: var(--ink-800);
}
.option-hint {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ink-300);
}
.quiz-back {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.quiz-back:hover { color: var(--ink-paper); }

/* =========================================================
   Verdict / report (used on other pages, kept consistent)
   ========================================================= */
.verdict-block {
  background: linear-gradient(155deg, var(--ink-200) 0%, var(--ink-150) 100%);
  border: 1px solid var(--ink-300);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  margin: var(--sp-12) 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 24px 48px -24px rgba(0,0,0,0.7);
}
.verdict-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: var(--sp-3);
}
.verdict-headline {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--ink-paper);
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}
.verdict-explain {
  font-size: var(--fs-md);
  color: var(--ink-700);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.price-block { margin: var(--sp-12) 0; text-align: center; }
.price-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin-bottom: var(--sp-3);
}
.price-range {
  font-family: var(--font-mono);
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-paper);
}
.price-range .sep { color: var(--ink-500); margin: 0 var(--sp-3); font-weight: 300; }
.price-explain {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  margin-top: var(--sp-3);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.factors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin: var(--sp-10) 0;
}
@media (max-width: 720px) { .factors-grid { grid-template-columns: 1fr; } }
.factor-block { padding: var(--sp-6); border-radius: var(--r-md); }
.factor-block.positive {
  background: var(--ink-150);
  border-left: 3px solid var(--amber);
}
.factor-block.fix {
  background: var(--ink-150);
  border-left: 3px solid var(--ink-500);
}
.factor-block h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
  font-weight: 500;
  color: var(--ink-900);
}
.factor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.factor-list li {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-700);
  padding-left: var(--sp-5);
  position: relative;
}
.factor-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.factor-block.fix .factor-list li::before { background: var(--ink-500); }

.recos { margin: var(--sp-12) 0; }
.reco-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-5) var(--sp-2);
  border-bottom: 1px solid var(--ink-200);
}
.reco-item:last-child { border-bottom: none; }
.reco-rank {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-500);
}
.reco-item.top-match .reco-rank { color: var(--amber); }
.reco-name { font-weight: 500; font-size: var(--fs-base); color: var(--ink-900); }
.reco-name.top-match-name { display: inline-flex; align-items: center; gap: 8px; }
.reco-name .badge-top {
  background: var(--amber);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.reco-desc { font-size: var(--fs-sm); color: var(--ink-600); margin-top: 2px; line-height: 1.55; }
.reco-link {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  text-decoration: none;
  font-family: var(--font-mono);
}
.reco-link:hover { color: var(--amber); }

/* =========================================================
   ARTICLE
   ========================================================= */
.article { padding: var(--sp-16) 0; }
.article-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-500);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}
.article h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-5); }
.article p, .article li {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--ink-700);
}
.article h2 { font-size: var(--fs-xl); margin-top: var(--sp-12); }
.article ul, .article ol { padding-left: var(--sp-6); margin: var(--sp-4) 0; }
.article li { margin-bottom: var(--sp-2); }
.article blockquote {
  border-left: 3px solid var(--amber);
  padding-left: var(--sp-5);
  margin: var(--sp-6) 0;
  font-style: italic;
  color: var(--ink-800);
}

/* =========================================================
   UTILS
   ========================================================= */
.muted     { color: var(--ink-600); }
.text-mono { font-family: var(--font-mono); }
.text-sm   { font-size: var(--fs-sm); }
.text-xs   { font-size: var(--fs-xs); }
.center    { text-align: center; }
.mt-12     { margin-top: var(--sp-12); }
.mt-16     { margin-top: var(--sp-16); }
.mb-12     { margin-bottom: var(--sp-12); }
.mb-16     { margin-bottom: var(--sp-16); }
.no-deco   { text-decoration: none !important; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 800ms var(--ease-out) both; }
.fade-up-d1 { animation-delay: 100ms; }
.fade-up-d2 { animation-delay: 220ms; }
.fade-up-d3 { animation-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* PRINT */
@media print {
  .site-header, .site-footer, .mascot, .nav-cta { display: none; }
  body { background: white; color: black; }
  body::before, body::after { display: none; }
  h1, h2, h3 { color: black; -webkit-text-fill-color: black; }
}
