/* palette: bg=#37339B fg=#F2F1EA accent=#3FD79B */
/* fonts: display="Archivo" body="Inter" mono="Space Mono" */

:root {
  --paper:      #F2F1EA;   /* dominant light background (cool paper) */
  --paper-2:    #E8E6DA;   /* alternating light section */
  --paper-card: #FBFBF7;   /* card surface on light */
  --indigo:     #37339B;   /* brand dark background (from reference hero) */
  --indigo-2:   #2B2778;   /* deeper indigo */
  --indigo-3:   #211E63;   /* deepest / footer */
  --ink:        #1C1A4A;   /* primary text on light */
  --ink-soft:   #38366A;   /* softened ink */
  --muted:      #6B6A8C;   /* secondary text on light */
  --mint:       #3FD79B;   /* accent (from reference CTA) */
  --mint-deep:  #14976A;   /* darker accent for hover / text on light */
  --mint-soft:  #CFF3E4;   /* pale mint tint */

  --line:        rgba(28, 26, 74, 0.14);
  --line-strong: rgba(28, 26, 74, 0.28);
  --line-light:  rgba(242, 241, 234, 0.16);

  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans:  'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono:  'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::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(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--mint); color: var(--indigo-3); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }

.section--dark { background: var(--indigo); color: var(--paper); }
.section--deep { background: var(--indigo-3); color: var(--paper); }
.section--alt  { background: var(--paper-2); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mint-deep);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--mint); }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--dark .lead, .section--deep .lead { color: rgba(242, 241, 234, 0.78); }

.section__head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 26px;
}
.section__head h2 em { font-style: normal; color: var(--mint-deep); }
.section--dark .section__head h2 em, .section--deep .section__head h2 em { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--indigo-3);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: #4CE3A8; transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(20, 151, 106, 0.7); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-light);
}
.btn--ghost:hover { background: rgba(242, 241, 234, 0.08); box-shadow: none; }
.btn--dark { background: var(--indigo); color: var(--paper); }
.btn--dark:hover { background: var(--indigo-2); box-shadow: 0 14px 34px -12px rgba(33, 30, 99, 0.55); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--mint-deep); }
.arrow-link:hover::after { transform: translateX(5px); }
.section--dark .arrow-link, .section--deep .arrow-link { color: var(--paper); }
.section--dark .arrow-link:hover, .section--deep .arrow-link:hover { color: var(--mint); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(43, 39, 120, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(242, 241, 234, 0.12);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand__mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav { display: none; gap: 38px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(242, 241, 234, 0.82);
  transition: color 0.25s var(--ease);
}
.nav a:hover { color: var(--mint); }
.nav__cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 9px;
}
.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--indigo);
  color: var(--paper);
  display: flex;
  align-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu a:hover { color: var(--mint); }
.mobile-menu__cta { color: var(--mint) !important; border-bottom: 0 !important; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--indigo);
  color: var(--paper);
  overflow: hidden;
  margin-top: -74px;
  padding-top: 74px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  animation: heroZoom 9s var(--ease) forwards;
  mix-blend-mode: luminosity;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(63, 215, 155, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(55, 51, 155, 0.72) 0%, rgba(43, 39, 120, 0.88) 55%, var(--indigo-2) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(120px, 20vh, 220px);
  padding-bottom: clamp(56px, 9vw, 110px);
}
.hero h1 {
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 8.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 15ch;
  margin: 0 0 34px;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__sub { max-width: 54ch; color: rgba(242, 241, 234, 0.82); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; align-items: center; }
.hero__meta {
  position: relative;
  z-index: 2;
  display: none;
  border-top: 1px solid var(--line-light);
  padding-top: 26px;
  margin-top: 56px;
  gap: 48px;
}
.hero__meta div span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(242, 241, 234, 0.55); }
.hero__meta div strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
@media (min-width: 768px) { .hero__meta { display: flex; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--indigo-3);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 20px 0;
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scrollX 32s linear infinite;
  white-space: nowrap;
}
.marquee__track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 241, 234, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track span::after { content: "◆"; color: var(--mint); font-size: 9px; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  box-shadow: 0 4px 24px -12px rgba(28, 26, 74, 0.08);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -18px rgba(28, 26, 74, 0.22); border-color: var(--line-strong); }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mint-deep);
}
.card h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.68; }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card ul li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); }
.card ul li::before { content: "→"; position: absolute; left: 0; color: var(--mint-deep); }
.card .arrow-link { margin-top: auto; padding-top: 8px; font-size: 14px; }

.section--dark .card, .section--deep .card {
  background: rgba(242, 241, 234, 0.04);
  border-color: var(--line-light);
  box-shadow: none;
}
.section--dark .card h3, .section--deep .card h3 { color: var(--paper); }
.section--dark .card p, .section--deep .card p { color: rgba(242, 241, 234, 0.68); }
.section--dark .card ul li, .section--deep .card ul li { color: rgba(242, 241, 234, 0.78); }
.section--dark .card:hover, .section--deep .card:hover { border-color: var(--mint); box-shadow: none; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 0 auto;
}
.manifesto__quote em { font-style: normal; color: var(--mint); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.6;
  color: var(--mint);
  display: block;
  margin-bottom: 10px;
}
.manifesto cite {
  display: block;
  margin-top: 40px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 241, 234, 0.6);
}

/* ---------- Work / case study cards ---------- */
.work-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.work:hover { transform: translateY(-4px); box-shadow: 0 24px 54px -22px rgba(28, 26, 74, 0.28); }
.work__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo-2); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__body { padding: 30px 32px 34px; }
.work__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-deep); }
.work__body h3 { font-size: 1.5rem; font-weight: 600; margin: 14px 0 12px; letter-spacing: -0.01em; }
.work__body p { color: var(--muted); font-size: 15.5px; line-height: 1.66; }
.work__stat { display: flex; gap: 30px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.work__stat div span { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.work__stat div small { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Stats band ---------- */
.stats { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 1px solid var(--line-light); padding-left: 22px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.03em; color: var(--paper); }
.stat strong em { font-style: normal; color: var(--mint); }
.stat span { display: block; margin-top: 14px; font-size: 14.5px; color: rgba(242, 241, 234, 0.66); line-height: 1.5; }

/* ---------- Approach (numbered rows) ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .step { grid-template-columns: 90px 1fr 1.1fr; align-items: baseline; } }
.step__num { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; color: var(--mint-deep); }
.step h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--mint-deep);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.72; padding: 0 40px 26px 0; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; margin: 0 auto 26px; }
.cta-band h2 em { font-style: normal; color: var(--mint); }
.cta-band p { max-width: 52ch; margin: 0 auto 40px; color: rgba(242, 241, 234, 0.78); font-size: 1.1rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 56px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-info h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.contact-block { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-block:last-child { border-bottom: 1px solid var(--line); }
.contact-block span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: 10px; }
.contact-block p, .contact-block a { font-size: 17px; color: var(--ink); line-height: 1.6; }
.contact-block a:hover { color: var(--mint-deep); }

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 14px 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(63, 215, 155, 0.22);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.form__consent input { margin-top: 3px; }
.form__consent a { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 2px; }
.form button[type="submit"] { align-self: flex-start; margin-top: 6px; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } .split--rev .split__media { order: -1; } }
.split__media { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--indigo-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; line-height: 1.05; margin-bottom: 24px; }
.split h2 em { font-style: normal; color: var(--mint-deep); }
.split p + p { margin-top: 18px; }
.split p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }

/* ---------- Values / principles list ---------- */
.values { display: grid; gap: 2px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value {
  padding: 34px 30px;
  background: var(--paper-card);
  border: 1px solid var(--line);
}
.value span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--mint-deep); }
.value h3 { font-size: 1.25rem; font-weight: 600; margin: 14px 0 10px; }
.value p { color: var(--muted); font-size: 15px; line-height: 1.66; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--indigo);
  color: var(--paper);
  margin-top: -74px;
  padding: clamp(150px, 22vh, 240px) 0 clamp(70px, 10vw, 130px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 85% 0%, rgba(63, 215, 155, 0.14), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 900px; }
.page-hero h1 {
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
}
.page-hero h1 em { font-style: normal; color: var(--mint); }
.page-hero p { max-width: 56ch; color: rgba(242, 241, 234, 0.8); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 600; margin: 52px 0 18px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; }
.prose p { color: var(--ink-soft); margin-bottom: 18px; line-height: 1.78; }
.prose ul { margin: 0 0 20px; padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 10px; line-height: 1.7; }
.prose a { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 76vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks__mark { font-family: var(--serif); font-size: 4rem; color: var(--mint); line-height: 1; }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; margin: 24px 0 20px; letter-spacing: -0.03em; }
.thanks p { color: var(--muted); font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-3); color: var(--paper); padding: clamp(64px, 8vw, 100px) 0 40px; }
.footer__grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer__brand .brand__mark { font-size: 24px; }
.footer__brand p { margin-top: 18px; max-width: 30ch; color: rgba(242, 241, 234, 0.6); font-size: 15px; }
.footer__col h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin-bottom: 20px; }
.footer__col a, .footer__contact p { display: block; color: rgba(242, 241, 234, 0.72); font-size: 15px; margin-bottom: 12px; transition: color 0.25s var(--ease); line-height: 1.55; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: rgba(242, 241, 234, 0.5);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; } }

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(33, 30, 99, 0.42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--paper); color: var(--ink); padding: 34px 36px; max-width: 520px; border-radius: 6px; box-shadow: 0 30px 80px -24px rgba(33, 30, 99, 0.6); border: 1px solid var(--line); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.cookie-popup__card p a { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:first-child { color: var(--ink-soft); }
.cookie-popup__actions button:first-child:hover { background: var(--paper-2); }
.cookie-popup__actions button:last-child { background: var(--indigo); color: var(--paper); border-color: var(--indigo); }
.cookie-popup__actions button:last-child:hover { background: var(--indigo-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
