/* palette: bg=#F2EFE4 fg=#1B2519 accent=#C8F23C */
/* fonts: display="Instrument Sans" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #F2EFE4;
  --bg-alt: #E8E3D2;
  --bg-paper: #FAF8F1;
  --fg: #1B2519;
  --fg-soft: #2E3A2A;
  --muted: #6F7866;
  --accent: #C8F23C;
  --accent-deep: #9BC020;
  --hero: #1E2A1C;
  --hero-soft: #2A3826;
  --border: rgba(27, 37, 25, 0.14);
  --border-light: rgba(27, 37, 25, 0.08);
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --display: 'Instrument Sans', 'Inter', ui-sans-serif, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-pill: 9999px;
  --r-card: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.eyebrow--light { color: rgba(242, 239, 228, 0.7); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
  line-height: 1.05;
}
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

p { margin: 0; }
p + p { margin-top: 1em; }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 228, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(242, 239, 228, 0.94);
  box-shadow: 0 1px 0 var(--border-light), 0 6px 24px -16px rgba(0,0,0,0.12);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__dot {
  width: 22px;
  height: 22px;
  background: var(--hero);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand__dot::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-paper);
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    padding: 6px;
  }
  .nav a {
    padding: 9px 18px;
    border-radius: var(--r-pill);
    font-size: 14px;
    color: var(--fg-soft);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav a:hover, .nav a.is-active {
    background: var(--bg-alt);
    color: var(--fg);
  }
}
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn--dark {
  background: var(--hero);
  color: var(--bg-paper);
}
.btn--dark:hover {
  background: #0F1A0E;
  transform: translateY(-1px);
}
.btn--lime {
  background: var(--accent);
  color: var(--hero);
}
.btn--lime:hover {
  background: #B7E132;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); }
.btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(242, 239, 228, 0.25);
  color: var(--bg-paper);
}
.btn--ghost-light:hover { border-color: rgba(242, 239, 228, 0.55); }
.btn__arrow {
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(2px); }
.btn--lime .btn__arrow { background: rgba(30, 42, 28, 0.16); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
}
.menu-toggle__lines { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-toggle__lines span {
  width: 16px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 32px 28px 60px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.mobile-menu a {
  font-family: var(--display);
  font-size: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: -0.02em;
}
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- HERO ---------- */
.hero {
  padding: 16px 16px 48px;
}
@media (max-width: 640px) { .hero { padding: 8px 12px 32px; } }
.hero__card {
  position: relative;
  background: var(--hero);
  color: var(--bg-paper);
  border-radius: 28px;
  padding: clamp(56px, 9vw, 110px) clamp(28px, 6vw, 90px) clamp(56px, 8vw, 90px);
  overflow: hidden;
  isolation: isolate;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(200, 242, 60, 0.18), transparent 38%),
    radial-gradient(circle at 6% 100%, rgba(200, 242, 60, 0.08), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 228, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__top {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 9px;
  border-radius: var(--r-pill);
  background: rgba(242, 239, 228, 0.08);
  border: 1px solid rgba(242, 239, 228, 0.14);
  font-size: 13px;
  color: rgba(242, 239, 228, 0.86);
}
.hero__pill__dot {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hero);
  font-size: 10px;
  font-weight: 700;
}
.hero h1 {
  color: var(--bg-paper);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.4vw, 6.2rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 17ch;
}
.hero h1 em {
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero__lede {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: rgba(242, 239, 228, 0.78);
  max-width: 52ch;
  line-height: 1.6;
}
.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero__meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 28px 48px;
  border-top: 1px solid rgba(242, 239, 228, 0.12);
  padding-top: 36px;
  max-width: 880px;
}
.hero__meta__item .num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--bg-paper);
  display: block;
  line-height: 1;
}
.hero__meta__item .num em {
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
}
.hero__meta__item .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 228, 0.55);
  margin-top: 10px;
  display: block;
}

/* ---------- DASHBOARD MOCKUP ---------- */
.showcase {
  padding: 8px 16px 80px;
}
.showcase__frame {
  background: var(--bg-paper);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin: -120px auto 0;
  max-width: 1180px;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(27, 37, 25, 0.25), 0 4px 14px -4px rgba(27, 37, 25, 0.08);
}
.showcase__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.showcase__dots { display: inline-flex; gap: 6px; }
.showcase__dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg-alt);
}
.showcase__url {
  margin-left: auto; margin-right: auto;
  font-family: var(--mono);
  font-size: 12px;
  padding: 5px 14px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  color: var(--muted);
}
.showcase__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 480px;
}
@media (max-width: 760px) {
  .showcase__body { grid-template-columns: 1fr; min-height: 0; }
  .showcase__side { display: none; }
}
.showcase__side {
  border-right: 1px solid var(--border-light);
  padding: 28px 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.showcase__side__title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 8px;
}
.showcase__side a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--fg-soft);
}
.showcase__side a.is-active {
  background: var(--hero);
  color: var(--bg-paper);
}
.showcase__side a .ic {
  width: 14px; height: 14px;
  background: currentColor;
  opacity: 0.65;
  -webkit-mask: linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0);
  border-radius: 3px;
}
.showcase__main {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.showcase__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.showcase__head h3 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.showcase__period {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  background: var(--bg-alt);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.showcase__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.kpi {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--bg);
}
.kpi .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kpi .v {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-top: 6px;
  color: var(--fg);
}
.kpi .d {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent-deep);
  margin-top: 4px;
}
.kpi .d.neg { color: #B85C3A; }
.chart {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  background: var(--bg);
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart .bar {
  flex: 1;
  background: var(--bg-alt);
  border-radius: 4px 4px 0 0;
  position: relative;
}
.chart .bar::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--h, 50%);
  background: var(--hero);
  border-radius: 4px 4px 0 0;
}
.chart .bar.hi::after { background: var(--accent); }

/* ---------- SECTIONS ---------- */
section.section {
  padding: clamp(80px, 12vw, 160px) 0;
}
.section--alt { background: var(--bg-alt); }
.section--paper { background: var(--bg-paper); }
.section--dark { background: var(--hero); color: var(--bg-paper); }
.section--dark h2, .section--dark h3 { color: var(--bg-paper); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
}
.section__head h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  letter-spacing: -0.028em;
  max-width: 16ch;
}
.section__head h2 em { color: var(--accent-deep); }
.section--dark .section__head h2 em { color: var(--accent); }
.section__head__desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 48ch;
}
.section--dark .section__head__desc { color: rgba(242, 239, 228, 0.7); }

/* ---------- FEATURE GRID ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
}
.feature {
  background: var(--bg-paper);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.feature__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.feature__ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.feature__ic svg { width: 22px; height: 22px; stroke: var(--hero); fill: none; stroke-width: 1.4; }
.feature h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.feature h3 em { color: var(--accent-deep); }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature__link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature__link::after { content: "→"; transition: transform 0.25s var(--ease); }
.feature:hover .feature__link::after { transform: translateX(3px); }

/* ---------- MANIFESTO ---------- */
.manifesto {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--fg);
}
.section--dark .manifesto p { color: var(--bg-paper); }
.manifesto p em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-deep);
  letter-spacing: -0.005em;
}
.section--dark .manifesto p em { color: var(--accent); }
.manifesto__attr {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .manifesto__attr { color: rgba(242, 239, 228, 0.6); }
.manifesto__attr::before, .manifesto__attr::after {
  content: ""; width: 32px; height: 1px; background: currentColor; opacity: 0.5;
}

/* ---------- CASES ---------- */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-light);
}
@media (min-width: 760px) { .cases { grid-template-columns: 1fr 1fr; } }
.case {
  background: var(--bg-paper);
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 380px;
}
.case__cover {
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.case__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case:hover .case__cover img { transform: scale(1.04); }
.case__meta { display: flex; gap: 12px; flex-wrap: wrap; }
.case__meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  background: var(--bg);
  border-radius: var(--r-pill);
}
.case h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.case h3 em { color: var(--accent-deep); }
.case p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.case__stat {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
}
.case__stat strong { font-weight: 600; }

/* ---------- PROCESS / LIST ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.process__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 760px) {
  .process__row { grid-template-columns: 100px 1fr 1.2fr; gap: 48px; align-items: start; }
}
.process__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.process__row h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.process__row h3 em { color: var(--accent-deep); }
.process__row p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.testimonial {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.testimonial__quote {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--fg);
}
.testimonial__quote em { color: var(--accent-deep); font-family: var(--serif); font-style: italic; }
.testimonial__attr {
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--hero);
  background: var(--accent);
}
.avatar--alt { background: var(--bg-alt); color: var(--fg); }
.avatar--dark { background: var(--hero); color: var(--accent); }
.testimonial__attr .name { font-weight: 500; font-size: 15px; }
.testimonial__attr .role { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- LOGO BAR ---------- */
.logobar {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.logobar__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}
.logobar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  align-items: center;
}
.logobar__grid span {
  text-align: center;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg-soft);
  opacity: 0.7;
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 24px;
  color: var(--muted);
  font-weight: 300;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 70ch;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  margin: 0 16px clamp(40px, 6vw, 80px);
}
.cta-band__inner {
  background: var(--hero);
  color: var(--bg-paper);
  border-radius: 28px;
  padding: clamp(56px, 8vw, 100px) clamp(32px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr 1fr; gap: 60px; }
}
.cta-band__inner::before {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 242, 60, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  color: var(--bg-paper);
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  letter-spacing: -0.028em;
  line-height: 1.05;
  max-width: 16ch;
}
.cta-band h2 em { color: var(--accent); }
.cta-band__side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-band__side p { color: rgba(242, 239, 228, 0.7); font-size: 15.5px; max-width: 36ch; }

/* ---------- FORM ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 640px;
}
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input, .form textarea, .form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 12px 0 14px;
  font-size: 16px;
  color: var(--fg);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--fg); }
.form textarea { resize: vertical; min-height: 100px; }
.form__actions { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.form__fine { font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 44ch; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--hero);
  color: var(--bg-paper);
  padding: clamp(60px, 8vw, 100px) 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 32ch;
}
.footer__brand .brand { color: var(--bg-paper); font-size: 22px; }
.footer__brand .brand__dot { background: var(--accent); }
.footer__brand .brand__dot::after { background: var(--hero); }
.footer__brand p { color: rgba(242, 239, 228, 0.6); font-size: 14.5px; line-height: 1.6; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 239, 228, 0.5);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(242, 239, 228, 0.85); font-size: 14.5px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 239, 228, 0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 239, 228, 0.5);
}
.footer__wordmark {
  font-family: var(--display);
  font-size: clamp(4rem, 18vw, 14rem);
  letter-spacing: -0.04em;
  color: rgba(242, 239, 228, 0.06);
  line-height: 1;
  margin-top: 60px;
  user-select: none;
  pointer-events: none;
  text-align: center;
}

/* ---------- COOKIE POPUP ---------- */
.cookie-popup {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  background: rgba(0,0,0,0.36);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: auto; }
.cookie-popup__card {
  background: var(--bg-paper);
  padding: 30px 32px 26px;
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.35);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cookie-popup__card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.cookie-popup__actions { display: flex; gap: 10px; margin-top: 22px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cookie-popup__actions button:last-child {
  background: var(--hero);
  color: var(--bg-paper);
  border-color: var(--hero);
}
.cookie-popup__actions button:last-child:hover { background: #0F1A0E; }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- PAGE HEADERS (about/services/contact) ---------- */
.page-hero {
  padding: 16px 16px 48px;
}
.page-hero__card {
  background: var(--bg-paper);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: clamp(56px, 8vw, 100px) clamp(28px, 5vw, 70px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .page-hero__card { grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  letter-spacing: -0.032em;
  line-height: 1.02;
  color: var(--fg);
  max-width: 18ch;
}
.page-hero h1 em { color: var(--accent-deep); }
.page-hero__lede { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 44ch; }
.page-hero__meta {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}
.page-hero__meta strong { display: block; color: var(--fg); font-weight: 500; margin-top: 4px; font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; text-transform: none; }

/* ---------- BOOK-CHAPTER LIST (publication skeleton accents) ---------- */
.chapters {
  display: grid;
  gap: 0;
}
.chapter {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
@media (min-width: 760px) {
  .chapter { grid-template-columns: 80px 1fr 1fr 120px; gap: 32px; }
}
.chapter__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent-deep);
}
.chapter__title {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}
.chapter__desc {
  display: none;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (min-width: 760px) { .chapter__desc { display: block; } }
.chapter__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
}

/* ---------- UTIL ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0;
}
.legal h2 { font-size: 1.6rem; margin-top: 36px; margin-bottom: 12px; }
.legal h3 { font-size: 1.15rem; margin-top: 22px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 15.5px; line-height: 1.75; }
.legal ul { padding-left: 20px; }

.thanks {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto 20px; }
.thanks h1 em { color: var(--accent-deep); }
.thanks p { color: var(--muted); max-width: 50ch; margin: 0 auto 32px; font-size: 1.05rem; }

/* ---------- SCROLL ZOOM IMAGE ---------- */
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.zoom-in { animation: heroZoom 9s var(--ease) both; }
