/* ==========================================================================
   Ember Research — site styles
   Brand colors (Brand Strategy guide): #c7503f · #ffc5ad · #fae8dc · #000 · #fff
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --ember: #c7503f;
  --ember-700: #a83f2f;   /* small ember text on light backgrounds (AA) */
  --ember-800: #8a3226;
  --peach: #ffc5ad;
  --cream: #fae8dc;
  --black: #000000;
  --white: #ffffff;

  /* Derived neutrals */
  --paper: #fdf7f2;
  --ink: #1a1210;
  --ink-soft: #5c4a43;
  --line: #ecd6c8;
  --night: #2b1510;       /* deep ember-brown for dark bands */
  --night-2: #3a1d16;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(43 21 16 / 0.06), 0 2px 8px rgb(43 21 16 / 0.05);
  --shadow: 0 2px 4px rgb(43 21 16 / 0.04), 0 12px 32px rgb(43 21 16 / 0.08);
  --shadow-lg: 0 24px 60px rgb(43 21 16 / 0.16);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ember-700); text-underline-offset: 3px; }
a:hover { color: var(--ember-800); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: 'opsz' 96;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); font-weight: 300; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; font-weight: 400; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.accent, .accent { font-style: italic; color: var(--ember); }
::selection { background: var(--peach); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--flush-top { padding-top: 0; }
.section--night { background: var(--night); color: var(--cream); }
.section--night h2, .section--night h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-700);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: currentColor;
}
.section--night .eyebrow { color: var(--peach); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.section--night .lede { color: rgb(250 232 220 / 0.82); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 1.5px; background: currentColor; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ember);
  --btn-fg: var(--white);
  --btn-border: var(--ember);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--ember-700); --btn-border: var(--ember-700); color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 24px rgb(199 80 63 / 0.28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ember-700); --btn-border: var(--ember); }
.btn--outline:hover { --btn-bg: var(--ember); --btn-fg: var(--white); --btn-border: var(--ember); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--night); --btn-border: var(--cream); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--night); --btn-border: var(--white); box-shadow: 0 10px 24px rgb(0 0 0 / 0.25); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1.5px solid var(--ember);
  padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--ember-700); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Utility bar + header ---------- */
.utility {
  background: var(--night);
  color: var(--cream);
  font-size: 0.85rem;
}
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.utility a:hover { color: var(--peach); }
.utility svg { width: 15px; height: 15px; color: var(--peach); }
.utility__group { display: flex; gap: 22px; align-items: center; }
.utility__badge { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 640px) { .utility__hide-sm { display: none !important; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(253 247 242 / 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(43 21 16 / 0.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
  position: relative; padding-block: 6px;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current='page']::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .brand img { height: 44px; }
  .site-header .container { min-height: 72px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgb(43 21 16 / 0.1);
    display: none;
  }
  .js .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav .btn { margin-top: 12px; }
  html:not(.js) .nav { flex-wrap: wrap; justify-content: flex-end; }
  html:not(.js) .nav__links { flex-direction: row; gap: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
  background:
    radial-gradient(60% 70% at 88% 20%, rgb(255 197 173 / 0.55), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgb(250 232 220 / 0.9), transparent 70%),
    var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; color: var(--ember); font-weight: 300; }
.hero .lede { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 40px 0 0; padding: 0; list-style: none;
  color: var(--ink-soft); font-size: 0.95rem;
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--ember); flex-shrink: 0; }

.hero__art { position: relative; justify-self: center; width: min(100%, 460px); }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% 110%, #f07a5c 0%, transparent 60%),
    linear-gradient(170deg, var(--peach) 0%, #f39a7f 45%, var(--ember) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.arch::before {
  content: '';
  position: absolute; inset: 14px;
  border-radius: inherit;
  border: 1px solid rgb(255 255 255 / 0.45);
  z-index: 2;
  pointer-events: none;
}
.arch__mark {
  position: absolute; left: 50%; top: 50%;
  width: 42%;
  transform: translate(-50%, -62%);
  filter: drop-shadow(0 18px 30px rgb(138 50 38 / 0.35));
  z-index: 1;
  animation: breathe 7s ease-in-out infinite;
}
.arch__glow {
  position: absolute; left: 50%; top: 44%;
  width: 90%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgb(255 236 220 / 0.75) 0%, rgb(255 197 173 / 0.2) 40%, transparent 68%);
  animation: glow 7s ease-in-out infinite;
}
.sparks { position: absolute; inset: 0; z-index: 1; }
.sparks i {
  position: absolute; bottom: -10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff3ea;
  box-shadow: 0 0 10px 2px rgb(255 214 190 / 0.9);
  opacity: 0;
  animation: rise 9s linear infinite;
}
.sparks i:nth-child(1) { left: 22%; animation-delay: 0s; }
.sparks i:nth-child(2) { left: 38%; animation-delay: 2.2s; width: 4px; height: 4px; }
.sparks i:nth-child(3) { left: 58%; animation-delay: 4.1s; }
.sparks i:nth-child(4) { left: 71%; animation-delay: 1.3s; width: 4px; height: 4px; }
.sparks i:nth-child(5) { left: 84%; animation-delay: 5.6s; width: 5px; height: 5px; }
.sparks i:nth-child(6) { left: 47%; animation-delay: 7s; width: 3px; height: 3px; }

@keyframes breathe { 0%, 100% { transform: translate(-50%, -62%) scale(1); } 50% { transform: translate(-50%, -64%) scale(1.03); } }
@keyframes glow { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { transform: translate(-24px, -520px); opacity: 0; }
}

.hero__card {
  position: absolute;
  left: -14%; bottom: 7%;
  width: min(78%, 300px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero__card .hero__card-title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; color: var(--ink); margin: 0 0 6px; }
.hero__card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.hero__card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ember-700); background: var(--cream); border-radius: 999px; padding: 5px 10px; margin-bottom: 10px;
}
.hero__card-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px rgb(199 80 63 / 0.2); }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: min(100%, 380px); margin-top: 8px; }
  .hero__card { left: -6%; }
}
@media (max-width: 520px) {
  .hero__card { left: 50%; transform: translateX(-50%); bottom: -34px; width: 88%; }
  .hero__art { margin-bottom: 40px; }
}

/* ---------- Benefits ---------- */
.benefits { position: relative; margin-top: calc(-1 * clamp(36px, 5vw, 56px)); z-index: 5; }
.benefits__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.benefit { padding: clamp(24px, 3vw, 36px); position: relative; }
.benefit + .benefit::before {
  content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line);
}
.benefit__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--cream); color: var(--ember);
  margin-bottom: 18px;
}
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 6px; }
.benefit p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3)::before { display: none; }
  .benefit:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit::before { display: none; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
}

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split h2 { margin-bottom: 0; }
.split__body p { color: var(--ink-soft); }
.split__body p:first-child { font-size: 1.2rem; color: var(--ink); }
.pullquote {
  margin: 36px 0 0; padding: 26px 0 0 28px;
  border-left: 2px solid var(--ember);
  font-family: var(--font-display); font-style: italic; font-weight: 350;
  font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.35; color: var(--ink);
  padding-top: 0;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(56px, 7vw, 88px); padding-top: 40px; border-top: 1px solid var(--line);
}
.stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--ember); font-weight: 300; }
.stat__label { color: var(--ink-soft); font-size: 0.95rem; margin-top: 10px; max-width: 26ch; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Research areas ---------- */
.areas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.area {
  grid-column: span 2;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  text-decoration: none; color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.area:nth-child(4), .area:nth-child(5) { grid-column: span 3; }
.area::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 197 173 / 0.6), transparent 70%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--peach); color: var(--ink); }
.area:hover::after { opacity: 1; }
.area__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--ember);
  margin-bottom: 26px; position: relative; z-index: 1;
}
.area__icon svg { width: 28px; height: 28px; }
.area h3 { margin-bottom: 10px; position: relative; z-index: 1; }
.area p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; position: relative; z-index: 1; }
.area__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; position: relative; z-index: 1; }
.area__tags li { font-size: 0.78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }
.area__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ember-700); font-size: 0.95rem; position: relative; z-index: 1; }
.area__cta svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.area:hover .area__cta svg { transform: translateX(4px); }
@media (max-width: 980px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .area, .area:nth-child(4), .area:nth-child(5) { grid-column: span 1; }
  .area:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 620px) {
  .areas { grid-template-columns: 1fr; }
  .area:nth-child(5) { grid-column: span 1; }
}

/* ---------- Steps / What to expect ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.25rem;
  background: var(--ember); color: var(--white);
  margin-bottom: 22px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 53px; right: -21px; width: 22px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--ember) 0 4px, transparent 4px 8px);
}
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.expect { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.expect__col { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.expect__col--accent { background: var(--night); color: var(--cream); border-color: var(--night); }
.expect__col--accent h3 { color: var(--white); }
.expect__col h3 { font-size: 1.6rem; margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; color: var(--ember); margin-top: 2px; }
.expect__col--accent .checklist svg { color: var(--peach); }
.fineprint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 20px; margin-bottom: 0; }
.expect__col--accent .fineprint { color: rgb(250 232 220 / 0.7); }
@media (max-width: 820px) { .expect { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values-wrap { position: relative; overflow: hidden; }
.values-wrap::before {
  content: ''; position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 560px); aspect-ratio: 0.6;
  background: url('../brand/logo-mark.svg') center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgb(250 232 220 / 0.18); position: relative; }
.value { padding: 32px 24px 8px 0; }
.value + .value { padding-left: 24px; border-left: 1px solid rgb(250 232 220 / 0.18); }
.value__num { font-size: 0.8rem; letter-spacing: 0.14em; color: var(--peach); font-weight: 600; margin-bottom: 14px; display: block; }
.value h3 { font-size: 1.55rem; margin-bottom: 10px; }
.value p { color: rgb(250 232 220 / 0.78); font-size: 0.97rem; margin: 0; }
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .value, .value + .value { padding: 28px 24px 28px 0; border-left: 0; border-bottom: 1px solid rgb(250 232 220 / 0.18); }
  .value:nth-child(even) { padding-left: 24px; border-left: 1px solid rgb(250 232 220 / 0.18); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Mission ---------- */
.mission { text-align: center; }
.mission__mark { width: 44px; margin: 0 auto 28px; }
.mission blockquote {
  margin: 0 auto; max-width: 18ch;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.06; letter-spacing: -0.02em;
}
.mission blockquote em { color: var(--ember); }
.mission__text { max-width: 640px; margin: 32px auto 0; color: var(--ink-soft); font-size: 1.15rem; }
.mission__label { display: block; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ember-700); margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { 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(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 400; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ember-700); }
.faq__icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line); display: grid; place-items: center; position: relative;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; width: 12px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--ember); border-color: var(--ember); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--white); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 60px 26px 0; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Partners ---------- */
.partners {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
}
.partners h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.partners p { color: var(--ink-soft); }
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.partners__list li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 480px) { .partners__list li { grid-template-columns: 1fr; gap: 4px; } }
.partners__list li:first-child { border-top: 1px solid var(--line); }
.partners__list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.3; }
.partners__list span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, rgb(255 197 173 / 0.55), transparent 60%),
    linear-gradient(135deg, var(--ember) 0%, #b0402f 100%);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ''; position: absolute; right: 4%; bottom: -30%;
  width: 240px; aspect-ratio: 0.6;
  background: url('../brand/logo-mark-white.svg') center / contain no-repeat;
  opacity: 0.12; pointer-events: none;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgb(255 255 255 / 0.9); margin: 0; font-size: 1.1rem; max-width: 52ch; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgb(250 232 220 / 0.8); padding-block: clamp(56px, 8vw, 88px) 32px; font-size: 0.97rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--peach); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgb(250 232 220 / 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--peach); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(250 232 220 / 0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 0.85rem; color: rgb(250 232 220 / 0.6);
}
.footer__disclaimer { max-width: 80ch; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Make your Mark page ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 80% at 95% 0%, rgb(199 80 63 / 0.55), transparent 65%),
    radial-gradient(40% 60% at 0% 100%, rgb(255 197 173 / 0.12), transparent 70%),
    var(--night);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 104px) clamp(140px, 16vw, 200px);
}
.page-hero::after {
  content: ''; position: absolute; right: 6%; top: 50%; transform: translateY(-58%);
  width: min(26vw, 280px); aspect-ratio: 0.6;
  background: url('../brand/logo-mark-white.svg') center / contain no-repeat;
  opacity: 0.08; pointer-events: none;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.5rem); max-width: 14ch; }
.page-hero h1 em { color: var(--peach); font-weight: 300; }
.page-hero .lede { color: rgb(250 232 220 / 0.85); }
.page-hero .eyebrow { color: var(--peach); }

.involve { margin-top: calc(-1 * clamp(100px, 12vw, 150px)); position: relative; z-index: 2; padding-bottom: var(--section); }
.involve__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 980px) { .involve__grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4.5vw, 52px);
}
.form-card > h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 8px; }
.form-card__intro { color: var(--ink-soft); margin-bottom: 32px; }
.form-card__intro abbr { color: var(--ember-700); text-decoration: none; }

.fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.fieldset legend {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  padding: 0; margin-bottom: 18px;
}
.fieldset legend .n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  background: var(--cream); color: var(--ember-700);
}
.fieldset__hint { font-size: 0.93rem; color: var(--ink-soft); margin: -8px 0 16px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

.field label, .field .label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 8px; }
.field .req { color: var(--ember-700); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 52px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a83f2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.input:hover, .select:hover, .textarea:hover { border-color: #dcbfae; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--ember); background-color: var(--white);
  box-shadow: 0 0 0 4px rgb(199 80 63 / 0.15);
}
.field__help { font-size: 0.85rem; color: var(--ink-soft); margin: 8px 0 0; }
.field__error { display: none; font-size: 0.87rem; color: #b3261e; font-weight: 500; margin: 8px 0 0; }
.field.has-error .field__error { display: flex; gap: 6px; align-items: center; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #b3261e; background: #fff8f7; }

/* Checkbox cards (research areas) */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer; font-weight: 500; font-size: 0.97rem; line-height: 1.3;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  margin: 0;
}
.choice label:hover { border-color: #dcbfae; }
.choice__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--ember); display: grid; place-items: center; flex-shrink: 0; transition: background-color 0.2s, color 0.2s; }
.choice__icon svg { width: 20px; height: 20px; }
.choice__check {
  margin-left: auto; width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  border: 1.5px solid #d8bcab; background: var(--white);
  display: grid; place-items: center; transition: background-color 0.2s, border-color 0.2s;
}
.choice__check svg { width: 14px; height: 14px; color: var(--white); opacity: 0; transition: opacity 0.2s; }
.choice input:checked + label { border-color: var(--ember); background: #fff4ee; box-shadow: 0 0 0 3px rgb(199 80 63 / 0.1); }
.choice input:checked + label .choice__icon { background: var(--ember); color: var(--white); }
.choice input:checked + label .choice__check { background: var(--ember); border-color: var(--ember); }
.choice input:checked + label .choice__check svg { opacity: 1; }
.choice input:focus-visible + label { outline: 3px solid var(--ember); outline-offset: 2px; }

/* Pill radios */
.pills { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 500; font-size: 0.95rem; cursor: pointer; margin: 0;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.pill label:hover { border-color: #dcbfae; }
.pill input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pill input:focus-visible + label { outline: 3px solid var(--ember); outline-offset: 2px; }

/* Consent checkboxes */
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--line); }
.consent + .consent { margin-top: 12px; }
.consent input {
  appearance: none; margin: 2px 0 0; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid #d8bcab; background: var(--white); cursor: pointer; display: grid; place-items: center;
}
.consent input::after {
  content: ''; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px); opacity: 0;
}
.consent input:checked { background: var(--ember); border-color: var(--ember); }
.consent input:checked::after { opacity: 1; }
.consent label { font-size: 0.93rem; line-height: 1.55; color: var(--ink); cursor: pointer; }
.consent small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; }
.field.has-error .consent { border-color: #b3261e; background: #fff8f7; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 8px; }
.form-actions p { font-size: 0.87rem; color: var(--ink-soft); margin: 0; flex: 1; min-width: 220px; }
.btn[aria-busy='true'] { pointer-events: none; opacity: 0.8; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.4); border-top-color: var(--white); animation: spin 0.8s linear infinite; display: none; }
.btn[aria-busy='true'] .spinner { display: block; }
.btn[aria-busy='true'] .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.alert {
  display: none; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius); margin-bottom: 28px;
  background: #fff4f2; border: 1.5px solid #f0b4aa; color: #7a1f16; font-size: 0.95rem;
}
.alert.is-visible { display: flex; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert a { color: inherit; }

.form-success { display: none; text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.form-success.is-visible, .form-success:target { display: block; }
.form-success:target ~ [data-form-wrap] { display: none; }
.alert:target { display: flex; }
.form-success__icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px; background: var(--cream); display: grid; place-items: center; }
.form-success__icon img { width: 34px; }
.form-success h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.form-success p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.form-success .btn { margin-top: 16px; }

/* Sidebar */
.aside { display: grid; gap: 20px; }
.aside-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); }
.aside-card:first-child { box-shadow: var(--shadow); border-color: transparent; }
.aside-card h2 { font-size: 1.45rem; margin-bottom: 18px; }
.aside-card p { color: var(--ink-soft); font-size: 0.97rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 1.5px; background: var(--line); }
.timeline__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--ember-700); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.timeline strong { display: block; font-weight: 600; margin-bottom: 2px; }
.timeline div span { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.5; display: block; }
.aside-card--night { background: var(--night); border-color: var(--night); color: var(--cream); }
.aside-card--night h2 { color: var(--white); }
.aside-card--night p { color: rgb(250 232 220 / 0.8); }
.phone-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.6rem; color: var(--white); text-decoration: none; margin: 4px 0 8px; }
.phone-link:hover { color: var(--peach); }
.phone-link svg { width: 22px; height: 22px; color: var(--peach); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.95rem; }
.privacy-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-soft); }
.privacy-list svg { width: 20px; height: 20px; color: var(--ember); margin-top: 3px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound img { width: 64px; margin: 0 auto 28px; }
.notfound p { color: var(--ink-soft); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay='1'] { transition-delay: 0.08s; }
.js [data-reveal-delay='2'] { transition-delay: 0.16s; }
.js [data-reveal-delay='3'] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .sparks { display: none; }
}
