/* =========================================================
   Njinu Precious Bambot — portfolio
   Warm paper + ink editorial system. Rust accent from the photos.
   ========================================================= */

:root {
  --paper:     #F2ECE2;
  --paper-2:   #E8DFD0;
  --paper-3:   #DDD1BE;
  --ink:       #1A1510;
  --ink-2:     #4A4036;
  --ink-3:     #7D7062;
  --line:      rgba(26, 21, 16, 0.14);
  --line-2:    rgba(26, 21, 16, 0.28);
  --rust:      #B4441C;
  --rust-deep: #8C3213;
  --rust-soft: #EBC9B5;
  --moss:      #3E6B4F;
  --night:     #16120E;
  --night-2:   #221C16;
  --on-night:  #EFE7DA;
  --on-night-2:#A99C8B;
  --line-night: rgba(239, 231, 218, 0.14);

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .35; mix-blend-mode: multiply;
  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%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--rust); color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
h1 { font-size: clamp(44px, 7.4vw, 112px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
em, .it { font-style: italic; color: var(--rust); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
p { margin: 0; color: var(--ink-2); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }

.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  padding: 16px 24px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover { background: var(--rust); border-color: var(--rust); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-rust { background: var(--rust); border-color: var(--rust); }
.btn-rust:hover { background: var(--ink); border-color: var(--ink); }
.link {
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--rust);
  padding-bottom: 2px; transition: color .2s;
}
.link:hover { color: var(--rust); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.mark { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark-name { font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.mark-name i { font-style: italic; color: var(--rust); }
.mark-role { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: var(--rust); transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.nav .btn::after { display: none; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  .mark-role { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-family: var(--serif); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; font-family: var(--sans); font-size: 16px; padding: 16px; border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { margin: 22px 0 28px; }
.hero h1 .line { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }

.portrait { position: relative; }
.portrait-frame {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3);
  box-shadow: 0 30px 60px -30px rgba(26,21,16,.45);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.id-card {
  position: absolute; left: -28px; bottom: 28px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 14px 18px; display: grid; gap: 4px; min-width: 220px;
  box-shadow: 0 18px 40px -20px rgba(26,21,16,.4);
}
.id-row { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; }
.id-row span:first-child { color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); margin-right: 6px; box-shadow: 0 0 0 0 rgba(62,107,79,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,107,79,.5); } 70% { box-shadow: 0 0 0 9px rgba(62,107,79,0); } 100% { box-shadow: 0 0 0 0 rgba(62,107,79,0); } }
.stamp {
  position: absolute; top: 18px; right: -14px; width: 116px; height: 116px;
}
.stamp-ring { transform-origin: 60px 60px; animation: spin 22s linear infinite; }
.stamp text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 3.2px; fill: var(--ink); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; margin: 0 auto; width: 100%; }
  .id-card { left: 12px; }
  .stamp { right: 4px; width: 92px; height: 92px; }
}

/* ---------- ledger (stats) ---------- */
.ledger { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ledger-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger-cell { padding: 28px 24px 26px; border-left: 1px solid var(--line-2); }
.ledger-cell:first-child { border-left: 0; padding-left: 0; }
.ledger-num { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.ledger-num sup { font-size: .45em; color: var(--rust); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.ledger-label { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-top: 10px; }
@media (max-width: 760px) {
  .ledger-row { grid-template-columns: 1fr 1fr; }
  .ledger-cell { padding: 22px 16px; }
  .ledger-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ledger-cell:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

/* ---------- ticker ---------- */
.ticker { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: 26px; padding: 0 22px; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.ticker-track span::after { content: "✳"; font-style: normal; color: var(--rust); font-size: 18px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-top: 16px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

/* dark band */
.night { background: var(--night); color: var(--on-night); position: relative; }
.night p, .night .lede { color: var(--on-night-2); }
.night .kicker { color: var(--on-night-2); }
.night em { color: #E07A4F; }

/* services list */
.svc { border-top: 1px solid var(--line-night); }
.svc-item {
  display: grid; grid-template-columns: 80px 1.1fr 1.3fr 220px; gap: 28px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line-night); position: relative;
  transition: padding .35s var(--ease);
}
.svc-item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--rust); transition: width .35s var(--ease); z-index: 0; opacity: .12; }
.svc-item:hover::before { width: 100%; }
.svc-item:hover { padding-left: 14px; }
.svc-item > * { position: relative; z-index: 1; }
.svc-no { font-family: var(--mono); font-size: 13px; color: #E07A4F; padding-top: 10px; }
.svc-item h3 { color: var(--on-night); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 240px; }
.tag { font-family: var(--mono); font-size: 11.5px; padding: 5px 10px; border: 1px solid currentColor; border-radius: 999px; opacity: .8; white-space: nowrap; }
@media (max-width: 860px) {
  .svc-item { grid-template-columns: 44px 1fr; gap: 10px 14px; }
  .svc-item p, .svc-tags { grid-column: 2; }
  .svc-tags { justify-content: flex-start; max-width: none; }
}

/* ---------- work ---------- */
.work { display: grid; gap: 28px; }
.case {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(26,21,16,.5); }
.case:nth-child(even) .case-art { order: 2; }
.case-art { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; padding: 32px; }
.case-art .big { font-family: var(--serif); font-size: clamp(80px, 12vw, 170px); line-height: .85; letter-spacing: -0.05em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; position: relative; z-index: 1; text-align: center; }
.case-art .big small { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 18px; }
.art-kawlo { background: #2B4A3A; color: #F0E3C4; }
.art-franco { background: var(--rust); color: #FBEBDD; }
.art-diggie { background: #1E1A2E; color: #E8DCF6; }
.case-art .rings { position: absolute; inset: 0; opacity: .18; background: repeating-radial-gradient(circle at 70% 120%, currentColor 0 1px, transparent 1px 26px); }
.case-art .grid-bg { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 32px 32px; }
.case-art .stripes { position: absolute; inset: 0; opacity: .13; background: repeating-linear-gradient(-45deg, currentColor 0 1px, transparent 1px 16px); }
.case-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.case-meta b { color: var(--rust); font-weight: 500; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--ink-2); }
.case-metric { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.case-metric strong { font-family: var(--serif); font-size: 44px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.case-metric span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-art { order: 0; }
  .case-art { min-height: 240px; }
}

/* ---------- route / experience log ---------- */
.route { border-top: 1px solid var(--ink); }
.leg {
  display: grid; grid-template-columns: 110px 1.4fr 1fr 170px; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-2);
}
.leg-code { font-family: var(--serif); font-size: 54px; line-height: 1; letter-spacing: -0.03em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.leg:first-child .leg-code { color: var(--rust); }
.leg-role { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.leg-co { color: var(--ink-2); }
.leg-co small { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.leg-when { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--ink-2); }
.leg-when .now { color: var(--moss); }
.route-home { display: flex; align-items: center; gap: 14px; padding: 22px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.route-home::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--rust); }
@media (max-width: 760px) {
  .leg { grid-template-columns: 64px 1fr; gap: 6px 14px; padding: 22px 0; }
  .leg-code { font-size: 38px; grid-row: span 3; align-self: start; }
  .leg-when { text-align: left; }
}

/* ---------- two ways to start ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--paper);
  text-decoration: none; transition: transform .35s var(--ease), background .35s, color .35s;
  position: relative; overflow: hidden;
}
.path:hover { transform: translateY(-4px); }
.path-free:hover { background: var(--ink); color: var(--paper); }
.path-free:hover p, .path-free:hover .path-meta { color: var(--on-night-2); }
.path-paid { background: var(--rust); color: #FBEBDD; border-color: var(--rust); }
.path-paid p, .path-paid .path-meta { color: #F4D2BD; }
.path-paid:hover { background: var(--rust-deep); }
.path-price { font-family: var(--serif); font-size: clamp(54px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em; }
.path-meta { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.path-go { margin-top: auto; padding-top: 12px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.path-go .arr { transition: transform .25s var(--ease); }
.path:hover .path-go .arr { transform: translateX(6px); }
.path.is-active { outline: 3px solid var(--ink); outline-offset: 4px; }
.path-paid.is-active { outline-color: var(--rust); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
button.path { font: inherit; text-align: left; cursor: pointer; width: 100%; color: inherit; }
button.path-paid { color: #FBEBDD; }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--on-night); padding: clamp(72px, 10vw, 130px) 0 36px; overflow: hidden; }
.foot-cta { color: var(--on-night); font-family: var(--serif); font-size: clamp(48px, 9vw, 150px); line-height: .92; letter-spacing: -0.04em; margin: 18px 0 40px; }
.foot-cta a { text-decoration: none; display: inline-block; transition: color .3s; }
.foot-cta a:hover { color: #E07A4F; }
.foot-cta em { color: #E07A4F; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 40px; border-top: 1px solid var(--line-night); }
.foot-grid h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--on-night-2); font-weight: 400; margin-bottom: 14px; }
.foot-grid a { display: block; text-decoration: none; color: var(--on-night); padding: 3px 0; width: fit-content; }
.foot-grid a:hover { color: #E07A4F; }
.foot-grid p { color: var(--on-night-2); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; font-family: var(--mono); font-size: 12px; color: var(--on-night-2); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { margin: 20px 0 24px; max-width: 13em; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { position: sticky; top: 110px; }
.about-photo .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; transform: rotate(-2deg); box-shadow: 0 30px 60px -30px rgba(26,21,16,.45); border: 10px solid #FBF8F2; }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-photo figcaption { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 22px; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.prose { display: grid; gap: 22px; }
.prose p { font-size: 19px; line-height: 1.65; }
.prose p:first-child { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; color: var(--ink); font-variation-settings: "opsz" 48; }
.pullquote { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-style: italic; color: var(--ink); border-left: 3px solid var(--rust); padding: 4px 0 4px 24px; margin: 12px 0; font-variation-settings: "opsz" 144, "SOFT" 100; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { position: static; max-width: 380px; margin: 0 auto; } }

.toolkit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.tool-col { padding: 28px 24px 8px 0; }
.tool-col + .tool-col { padding-left: 24px; border-left: 1px solid var(--line-2); }
.tool-col h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--rust); font-weight: 500; margin-bottom: 16px; }
.tool-col li { font-family: var(--serif); font-size: 22px; padding: 4px 0; list-style: none; }
.tool-col ul { margin: 0; padding: 0; }
@media (max-width: 860px) {
  .toolkit { grid-template-columns: 1fr 1fr; }
  .tool-col:nth-child(3) { border-left: 0; padding-left: 0; }
  .tool-col:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}

.edu { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edu-card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; background: #F7F2EA; }
.edu-year { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--rust); letter-spacing: -0.03em; }
@media (max-width: 760px) { .edu { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.channels { display: grid; border-top: 1px solid var(--ink); }
.channel { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; align-items: baseline; }
.channel span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.channel strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; word-break: break-word; }
a.channel:hover strong { color: var(--rust); }

.form { background: #F8F4ED; border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.field input, .field textarea, .field select {
  font: 400 18px var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line-2); padding: 10px 0; border-radius: 0; outline: none;
  transition: border-color .2s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rust); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 15px; cursor: pointer; transition: all .2s; user-select: none; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-note { font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* ---------- book ---------- */
.book-embed { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); margin-top: 32px; }
.book-embed .cal-slot { width: 100%; min-height: 640px; overflow: auto; }
.book-fallback { margin-top: 32px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; gap: 16px; justify-items: start; background: #F8F4ED; }
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.faq h3 { font-size: 24px; margin-bottom: 12px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .book-embed .cal-slot { min-height: 760px; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
