/* palette: bg=#F1EFE8 fg=#221D2B accent=#7C5AC9 */
/* fonts: display="Bricolage Grotesque" body="Hanken Grotesk" mono="Space Mono" */

:root {
  --bg: #F1EFE8;          /* warm cream page background (reference dominant) */
  --bg-alt: #E7DEF4;      /* soft lavender panel (reference hero card) */
  --bg-card: #FBFAF6;     /* near-white card surface */
  --fg: #221D2B;          /* near-black plum text */
  --fg-soft: #3E3748;     /* slightly lighter fg */
  --muted: #6E6878;       /* secondary grey-plum text */
  --accent: #7C5AC9;      /* violet accent (reference pill / form) */
  --accent-deep: #5B3FA0; /* darker violet for hover */
  --accent-soft: #EDE6FA; /* very light violet tint */

  /* playful decorative accents (soft, folk-adjacent warm notes) */
  --coral: #E79A93;
  --mint: #A6C7AE;
  --mustard: #E4C06A;
  --sky: #A9C4E9;

  --border: rgba(34, 29, 43, 0.12);
  --border-strong: rgba(34, 29, 43, 0.22);

  --serif: 'Bricolage Grotesque', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 4px 24px -4px rgba(34, 29, 43, 0.08);
  --shadow-lg: 0 18px 50px -12px rgba(34, 29, 43, 0.16);
  --maxw: 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(--fg);
  background: var(--bg);
  -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; }

::selection { background: var(--accent); color: #fff; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}

p { margin: 0 0 1.1em; }

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

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  color: var(--fg-soft);
}

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

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

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  font-weight: 400;
}
.section-head p { margin-top: 22px; max-width: 620px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s var(--ease);
  will-change: transform;
}
.btn--pill {
  background: var(--fg);
  color: var(--bg);
}
.btn--pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }

.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-deep);
  transition: gap 0.3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 12px; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  background: rgba(241, 239, 232, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(34, 29, 43, 0.35);
  background: rgba(241, 239, 232, 0.92);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; }
.brand__mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.brand__dot { color: var(--accent); }

.nav { display: none; gap: 34px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 100%; }

.nav__cta { display: none; padding: 11px 22px; font-size: 14px; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 12px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
  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); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: var(--bg);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  padding: 40px 24px 60px;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__nav .btn { margin-top: 24px; font-family: var(--sans); font-size: 16px; justify-content: center; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(3.1rem, 9.5vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 8px 0 28px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--fg-soft); max-width: 520px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* hero visual / form panel */
.hero__panel {
  position: relative;
  background: linear-gradient(155deg, var(--bg-alt) 0%, #F3EEFB 55%, #FBFAF6 100%);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero__panel-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  margin-bottom: 22px;
}
.hero__panel-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 8s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.mini-form { display: grid; gap: 12px; }
.mini-form .field-row { display: grid; gap: 12px; }
@media (min-width: 520px) { .mini-form .field-row { grid-template-columns: 1fr 1fr; } }
.mini-form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }
.mini-form input, .mini-form textarea, .form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  transition: border 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.mini-form input:focus, .mini-form textarea:focus,
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mini-form textarea, .form textarea { resize: vertical; min-height: 96px; }
.panel-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

/* floating decorative shapes */
.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  filter: blur(0.2px);
  opacity: 0.9;
}
.blob--1 { width: 74px; height: 74px; background: var(--coral); top: 12%; left: 4%; border-radius: 40% 60% 55% 45%; }
.blob--2 { width: 42px; height: 42px; background: var(--mustard); bottom: 20%; left: 12%; }
.blob--3 { width: 30px; height: 30px; background: var(--mint); top: 20%; right: 6%; border-radius: 30%; transform: rotate(18deg); }
.blob--4 { width: 16px; height: 16px; background: var(--accent); bottom: 12%; right: 20%; }
.blob--5 { width: 56px; height: 56px; background: var(--sky); top: 60%; right: 2%; border-radius: 45% 55% 40% 60%; }
@media (max-width: 767px) { .blob--1, .blob--5 { display: none; } }

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero { min-height: 88vh; display: flex; align-items: center; }
  .hero__panel { padding: 34px; }
}

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__inner { max-width: 940px; margin: 0 auto; }
.manifesto p.statement {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3.7rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.manifesto p.statement em { font-style: normal; color: var(--accent); }
.manifesto .eyebrow { justify-content: center; }
.manifesto .eyebrow::before { display: none; }

/* dark inverted band */
.band-dark {
  background: var(--fg);
  color: var(--bg);
}
.band-dark h2, .band-dark h3 { color: var(--bg); }
.band-dark .eyebrow { color: var(--mustard); }
.band-dark .eyebrow::before { background: var(--mustard); }
.band-dark .statement em { color: var(--mustard); }

/* ---------- stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--mustard);
}
.stat__label { margin-top: 12px; font-size: 15px; color: rgba(241,239,232,0.72); line-height: 1.5; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }

/* ---------- services / cards ---------- */
.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; stroke: var(--accent-deep); }
.card h3 { font-size: 1.42rem; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.card .link-arrow { margin-top: auto; font-size: 14px; }

/* process list */
.process { display: grid; gap: 0; }
.process__item {
  display: grid;
  gap: 8px 40px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.process__item:last-child { border-bottom: 1px solid var(--border); }
.process__step {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}
.process__item h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 400; }
.process__item p { color: var(--muted); margin: 0; max-width: 620px; }
@media (min-width: 860px) {
  .process__item { grid-template-columns: 120px 1fr 1.1fr; align-items: baseline; }
}

/* case studies */
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.work-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.work-card__body h3 { font-size: 1.34rem; font-weight: 500; margin-bottom: 10px; }
.work-card__body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.work-card__body .link-arrow { margin-top: auto; font-size: 14px; }

/* ---------- pull quote ---------- */
.pullquote { position: relative; }
.pullquote__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.pullquote .mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.pullquote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.pullquote figcaption { margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  position: relative;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq summary .icon::before, .faq summary .icon::after {
  content: ""; position: absolute;
  background: var(--fg);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.faq summary .icon::before { width: 12px; height: 2px; }
.faq summary .icon::after { width: 2px; height: 12px; }
.faq details[open] summary .icon { background: var(--accent); border-color: var(--accent); }
.faq details[open] summary .icon::before, .faq details[open] summary .icon::after { background: #fff; }
.faq details[open] summary .icon::after { transform: rotate(90deg); }
.faq__answer { padding: 0 0 28px; color: var(--muted); max-width: 680px; line-height: 1.7; }
.faq__answer p { margin: 0 0 0.8em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 820px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: -0.025em; }
.cta-band p { margin: 24px auto 40px; max-width: 560px; color: var(--fg-soft); }
.cta-band .hero__actions { justify-content: center; }

/* generic form (contact page) */
.form { display: grid; gap: 18px; }
.form .field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form .field-row { grid-template-columns: 1fr 1fr; } }
.form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.form .field { display: flex; flex-direction: column; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* two column info blocks */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--wide-media { grid-template-columns: 0.9fr 1.1fr; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 400; margin-bottom: 22px; }
.split p { color: var(--fg-soft); }

/* value / principles list */
.values { display: grid; gap: 22px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value {
  padding: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(124,90,201,0.14);
}
.value h3 { font-size: 1.28rem; font-weight: 500; margin-bottom: 10px; }
.value p { color: var(--fg-soft); font-size: 15.5px; margin: 0; }

/* team / people as monogram cards (NO face photos) */
.people { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.avatar {
  width: 62px; height: 62px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.person h3 { font-size: 1.22rem; font-weight: 500; margin-bottom: 4px; }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.person p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* small info cards row (contact) */
.info-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .info-row { grid-template-columns: repeat(3, 1fr); } }
.info-card { padding: 30px; border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.info-card .eyebrow { margin-bottom: 14px; }
.info-card p { margin: 0; color: var(--fg-soft); line-height: 1.7; }
.info-card a { color: var(--accent-deep); }

/* page hero (interior pages) */
.page-hero { padding: clamp(60px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.03em; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 26px; max-width: 560px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--fg-soft); }

/* legal / prose */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 500; margin: 48px 0 16px; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.78; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* thanks page */
.thanks { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; margin-bottom: 22px; }
.thanks .check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; margin: 0 auto 32px;
  font-size: 34px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--fg);
  color: rgba(241,239,232,0.72);
  padding: clamp(56px, 8vw, 96px) 0 40px;
}
.footer__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; } }
.footer__brand .brand__mark { color: var(--bg); font-size: 24px; }
.footer__brand p { margin-top: 16px; max-width: 260px; font-size: 15px; line-height: 1.6; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(241,239,232,0.5); font-weight: 400; margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; font-size: 15px; color: rgba(241,239,232,0.78); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--mustard); }
.footer__contact p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; color: rgba(241,239,232,0.78); }
.footer__contact a { color: rgba(241,239,232,0.78); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(241,239,232,0.14);
  font-size: 13px;
  color: rgba(241,239,232,0.5);
}

/* ---------- cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  background: rgba(34,29,43,0.4);
  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(--bg);
  padding: 32px 34px;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.4s var(--ease);
}
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14.5px; color: var(--muted); line-height: 1.62; margin: 0; }
.cookie-popup__card p a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 26px;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  font-size: 14px; font-weight: 600;
  flex: 1;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

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

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