/* Sugar Sakhi, version 1 prototype. Self-contained. */

:root {
  /* Neutral foundation (the big fix vs. v0: body type is true neutral, not maroon-tinted) */
  --ink:        #14141A;
  --ink-2:      #4A4A55;
  --ink-3:      #7C7C87;
  --surface:    #FFFFFF;
  --surface-2:  #F7F3EF;   /* warm cream rest tone */
  --surface-3:  #EFE9E3;
  --border:     #E6DED7;
  --border-2:   #D9CFC5;

  /* Brand: burgundy is now used only for headings, marks, accents */
  --brand:      #6B1A2A;
  --brand-2:    #4A0E1A;
  --brand-3:    #2E0610;

  /* CTA: coral becomes the primary action color */
  --cta:        #E8614A;
  --cta-hover:  #D24E37;
  --cta-ink:    #2E0610;

  /* Signal */
  --alert:      #B8395A;
  --ok:         #2E7D5B;

  /* Type */
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-xl:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-2xl:  clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  --fs-3xl:  clamp(2.75rem, 2.2rem + 2.8vw, 4rem);
  --fs-4xl:  clamp(3.5rem, 2.5rem + 4.5vw, 5.75rem);

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;
  --s-10: 9rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-1: 0 1px 2px rgba(20, 20, 26, 0.04), 0 1px 1px rgba(20, 20, 26, 0.03);
  --shadow-2: 0 8px 24px rgba(20, 20, 26, 0.06), 0 2px 6px rgba(20, 20, 26, 0.04);
  --shadow-3: 0 24px 60px rgba(20, 20, 26, 0.12), 0 8px 16px rgba(20, 20, 26, 0.06);

  --container: 1200px;
  --container-pad: clamp(1.25rem, 3vw, 2rem);

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

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Base */
body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); color: var(--brand-3); line-height: 1.05; letter-spacing: -0.015em; font-weight: 400; }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); color: var(--ink); line-height: 1.3; }

p { line-height: 1.65; color: var(--ink-2); }
p + p { margin-top: var(--s-4); }

a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cta-hover); }

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

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--container-pad); }
.section { padding-block: var(--s-9); }
.section--soft { background: var(--surface-2); }
.section--dark { background: var(--brand-3); color: #E6E0DA; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #FFF; }
.section--dark p { color: rgba(255,255,255,0.78); }

/* Version banner (prototype indicator) */
.proto-banner {
  background: var(--brand-3);
  color: #F7F3EF;
  font-size: var(--fs-xs);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px var(--container-pad);
  display: flex;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.proto-banner a { color: var(--cta); text-decoration: underline; }
.proto-banner a:hover { color: #FFB199; }

/* Site header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); font-family: var(--serif); color: var(--brand-3); font-size: 1.25rem; }
.brand__mark { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; background: var(--brand); display: grid; place-items: center; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: var(--s-6); align-items: center; }
}
.nav a { color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.nav a:hover { color: var(--brand); }

.header__cta { display: none; }
@media (min-width: 700px) { .header__cta { display: inline-flex; } }

.hamburger { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; }
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span { width: 22px; height: 2px; background: var(--brand-3); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 24px; min-height: 48px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-base);
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s, box-shadow 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn--primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 1px 2px rgba(232, 97, 74, 0.4), 0 8px 20px rgba(232, 97, 74, 0.25); }
.btn--primary:hover { background: var(--cta-hover); color: #FFF; transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--brand-3); border: 1.5px solid var(--brand-3); }
.btn--secondary:hover { background: var(--brand-3); color: #FFF; }
.btn--ghost { background: transparent; color: var(--brand); padding-inline: var(--s-3); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.btn--ghost:hover { color: var(--cta-hover); }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: var(--fs-sm); }
.btn--lg { padding: 18px 32px; font-size: var(--fs-md); }

/* Trust strip */
.trust {
  display: flex; gap: var(--s-6);
  align-items: center; justify-content: center;
  flex-wrap: wrap;
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust__label { font-size: var(--fs-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; }
.trust__item { font-family: var(--serif); color: var(--ink-2); font-size: var(--fs-sm); opacity: 0.75; letter-spacing: 0.02em; }
.trust__item strong { font-family: var(--sans); font-weight: 700; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; font-size: var(--fs-xs); }

/* Hero */
.hero { padding-block: var(--s-9) var(--s-10); position: relative; overflow: hidden; }
.hero__decor {
  position: absolute; right: -120px; top: -120px;
  width: 540px; height: 540px;
  background: radial-gradient(closest-side, rgba(232, 97, 74, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-8); align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-9); }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand);
  padding: 6px 12px;
  background: rgba(232, 97, 74, 0.10);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-5);
}
.hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cta); box-shadow: 0 0 8px rgba(232, 97, 74, 0.5);
}

.hero__title {
  font-size: var(--fs-4xl);
  color: var(--brand-3);
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.hero__title-2 {
  display: block;
  font-style: italic;
  color: var(--brand);
  font-size: 0.65em;
  margin-top: var(--s-3);
  letter-spacing: -0.01em;
}
.hero__sub {
  margin-top: var(--s-5);
  font-size: var(--fs-md);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); align-items: center; }
.hero__caption {
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  display: flex; gap: var(--s-3); align-items: center;
}
.hero__caption::before {
  content: ""; width: 24px; height: 1px; background: var(--border-2);
}

/* Light-mode phone mockup */
.phone {
  width: 100%; max-width: 360px; margin-inline: auto;
  background: #1A1A1F;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-3);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px; background: #0A0A0E;
  border-radius: 0 0 16px 16px; z-index: 3;
}
.phone__screen {
  background: #F7F4F1;
  border-radius: 32px;
  padding: 44px 14px 18px;
  min-height: 540px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
  position: relative;
}
.phone__header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-inline: -14px;
  padding-inline: 18px;
}
.phone__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--cta) 100%);
  display: grid; place-items: center;
  color: #FFF; font-family: var(--serif); font-size: 0.85rem;
}
.phone__name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.phone__status { font-size: 0.7rem; color: var(--ok); display: flex; align-items: center; gap: 4px; }
.phone__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

.phone__day {
  font-size: 0.7rem; color: var(--ink-3); text-align: center; padding: var(--s-3) 0 var(--s-2);
}

.bubble {
  padding: 9px 14px; font-size: 0.85rem; line-height: 1.4;
  max-width: 80%; border-radius: 18px;
}
.bubble--bot { background: #E8E2DC; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--user { background: var(--cta); color: #FFF; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble__time { display: block; font-size: 9px; opacity: 0.6; margin-top: 3px; }

.phone__input {
  margin-top: auto;
  margin-inline: -14px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: center;
}
.phone__input-field {
  flex: 1; background: #FFF; border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 8px 14px;
  font-size: 0.75rem; color: var(--ink-3);
}
.phone__send {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cta); display: grid; place-items: center; color: #FFF;
  font-size: 0.9rem;
}

/* Big single stat */
.feature-stat { display: grid; gap: var(--s-6); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .feature-stat { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.feature-stat__number {
  font-family: var(--serif);
  font-size: clamp(4rem, 3rem + 6vw, 8rem);
  color: var(--brand-3);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.feature-stat__label {
  font-size: var(--fs-lg);
  color: var(--ink);
  font-weight: 500;
  margin-top: var(--s-4);
  max-width: 28ch;
}
.feature-stat__source {
  margin-top: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.feature-stat__copy h2 { margin-bottom: var(--s-4); }

/* Eyebrow used selectively */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: var(--s-4);
}
.eyebrow::after { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--brand); margin-left: 10px; vertical-align: middle; }

/* Cause cards (icon-led, not numbered) */
.causes { display: grid; grid-template-columns: 1fr; gap: var(--s-5); margin-top: var(--s-7); }
@media (min-width: 768px) { .causes { grid-template-columns: repeat(3, 1fr); } }
.cause {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.cause__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--brand);
}
.cause__icon svg { width: 24px; height: 24px; }
.cause__title { font-family: var(--serif); font-size: var(--fs-lg); color: var(--brand-3); line-height: 1.15; }
.cause__body { color: var(--ink-2); font-size: var(--fs-base); }

/* Full-bleed photo break */
.photo-break {
  position: relative;
  min-height: 60vh;
  display: grid; place-items: end start;
  overflow: hidden;
  color: #FFF;
}
.photo-break__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.photo-break::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,26,0) 0%, rgba(20,20,26,0.85) 100%);
  z-index: 1;
}
.photo-break__inner {
  position: relative; z-index: 2;
  padding-block: var(--s-9);
  max-width: 720px;
}
.photo-break__caption {
  font-family: var(--serif);
  font-size: var(--fs-2xl);
  color: #FFF;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.photo-break__credit {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* Solution pillars */
.pillars { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-7); }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: var(--s-5) 0; border-top: 2px solid var(--brand-3); }
.pillar__num {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--brand);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.pillar__title { font-family: var(--serif); font-size: var(--fs-xl); color: var(--brand-3); margin-top: var(--s-3); margin-bottom: var(--s-3); line-height: 1.1; }
.pillar__body { color: var(--ink-2); }

/* Product diptych */
.diptych { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-8); }
@media (min-width: 768px) { .diptych { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.diptych__panel {
  background: var(--surface-2);
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-5);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-5);
}
.diptych__panel--dark {
  background: var(--brand-3);
  color: #E6E0DA;
}
.diptych__panel--dark h4 { color: #FFF; }
.diptych__label {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 700;
}
.diptych__panel--dark .diptych__label { color: var(--cta); }
.diptych__panel h4 { font-family: var(--serif); font-weight: 400; color: var(--brand-3); font-size: var(--fs-lg); text-align: center; max-width: 22ch; line-height: 1.2; }
.diptych__phone { max-width: 280px; }
.diptych__phone .phone__screen { min-height: 440px; }

/* Dashboard (clinician view), simplified UI in same phone frame */
.dash-screen { background: #FFF; border-radius: 24px; padding: 18px 14px; min-height: 440px; display: flex; flex-direction: column; gap: 10px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--surface-2); border-radius: 12px; font-size: 0.75rem; }
.dash-row__name { font-weight: 600; color: var(--ink); }
.dash-row__meta { color: var(--ink-3); font-size: 0.65rem; }
.dash-tag { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.dash-tag--alert { background: rgba(184, 57, 90, 0.12); color: var(--alert); }
.dash-tag--ok { background: rgba(46, 125, 91, 0.12); color: var(--ok); }
.dash-tag--watch { background: rgba(232, 97, 74, 0.12); color: var(--cta-hover); }
.dash-header { font-family: var(--serif); font-size: 1rem; color: var(--brand-3); padding-block: 4px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.dash-summary { font-size: 0.7rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; padding-top: 6px; }

/* Stories */
.stories { display: grid; grid-template-columns: 1fr; gap: var(--s-5); margin-top: var(--s-7); }
@media (min-width: 768px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.story__quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--cta);
  height: 32px;
}
.story__quote {
  font-family: var(--serif);
  font-size: var(--fs-lg);
  line-height: 1.3;
  color: var(--brand-3);
  letter-spacing: -0.005em;
}
.story__attr {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.story__attr strong { display: block; color: var(--ink); font-weight: 600; }

/* Three doors */
.doors { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: var(--s-7); border: 1px solid var(--border); }
@media (min-width: 768px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door {
  background: var(--surface);
  padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: background 0.2s;
}
.door:hover { background: var(--surface-2); }
.door__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: var(--s-2);
}
.door__icon svg { width: 22px; height: 22px; }
.door h3 { font-family: var(--serif); font-size: var(--fs-lg); color: var(--brand-3); margin-bottom: var(--s-2); }
.door p { color: var(--ink-2); font-size: var(--fs-base); flex: 1; }
.door__cta { color: var(--brand); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); }
.door__cta:hover { color: var(--cta-hover); }
.door__cta::after { content: "→"; transition: transform 0.18s var(--ease); }
.door:hover .door__cta::after { transform: translateX(4px); }

/* Team strip */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); margin-top: var(--s-7); }
@media (min-width: 600px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .team { grid-template-columns: repeat(6, 1fr); } }
.team__member { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.team__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface-2);
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.team__member:hover .team__photo img { transform: scale(1.04); }
.team__photo--blank { display: grid; place-items: center; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); border: 1px dashed var(--border-2); }
.team__initials { font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2.25rem); color: var(--brand); letter-spacing: 0.04em; }
.team__name { font-family: var(--serif); font-size: var(--fs-base); color: var(--brand-3); line-height: 1.2; }
.team__role { font-size: var(--fs-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* Section header */
.section-head { max-width: 720px; }
.section-head h2 { margin-bottom: var(--s-4); }
.section-head p { font-size: var(--fs-md); color: var(--ink-2); }

/* CTA banner */
.cta-banner {
  background: var(--brand-3);
  color: #FFF;
  border-radius: var(--r-xl);
  padding: var(--s-8) var(--s-7);
  margin-block: var(--s-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 768px) { .cta-banner { grid-template-columns: 2fr 1fr; gap: var(--s-7); } }
.cta-banner h2 { color: #FFF; max-width: 22ch; margin-bottom: var(--s-3); }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 50ch; }
.cta-banner__cta { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
@media (min-width: 768px) { .cta-banner__cta { align-items: flex-end; } }
.cta-banner__contact { font-size: var(--fs-sm); color: rgba(255,255,255,0.6); }

/* Footer */
.footer { background: #0A0A0E; color: rgba(255,255,255,0.65); padding-block: var(--s-7) var(--s-5); }
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { color: rgba(255,255,255,0.85); font-family: var(--sans); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--s-4); }
.footer__brand { font-family: var(--serif); color: #FFF; font-size: var(--fs-lg); margin-bottom: var(--s-3); }
.footer__tag { color: rgba(255,255,255,0.55); font-size: var(--fs-sm); max-width: 36ch; }
.footer ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: var(--fs-sm); }
.footer a:hover { color: #FFF; }
.footer__legal {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

/* ---------------------------------------------------------------------
   MOBILE PASS, overrides for ≤767px
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Section rhythm: shrink the giant desktop spacing */
  .section { padding-block: var(--s-7); }
  .hero { padding-block: var(--s-7) var(--s-8); }

  /* Trust strip: stack with tighter gaps; keep readable */
  .trust { gap: var(--s-3) var(--s-4); padding-block: var(--s-4); }
  .trust__label { width: 100%; text-align: center; }
  .trust__item { font-size: 0.8125rem; }

  /* Hero copy: pull the title tighter, less leading-space */
  .hero__title { font-size: clamp(2.75rem, 8.5vw + 1rem, 3.75rem); }
  .hero__title-2 { font-size: 0.7em; margin-top: var(--s-2); }
  .hero__sub { font-size: var(--fs-base); margin-top: var(--s-4); }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: var(--s-3); margin-top: var(--s-5); }
  .hero__ctas .btn--primary { width: 100%; justify-content: center; }
  .hero__ctas .btn--ghost { align-self: center; }
  .hero__caption { font-size: 0.8125rem; margin-top: var(--s-5); }
  .hero__caption::before { display: none; }
  .hero__decor { width: 320px; height: 320px; right: -160px; top: -160px; }

  /* Phone mockup on mobile: drop the bezel/notch (no phone-on-phone),
     present chat as a flush card so we still show the product */
  .phone { background: transparent; padding: 0; box-shadow: var(--shadow-2); border-radius: var(--r-lg); max-width: 100%; }
  .phone::before { display: none; }
  .phone__screen { border-radius: var(--r-lg); padding: var(--s-4); min-height: 0; gap: 8px; }
  .phone__header { padding-inline: var(--s-3); margin-inline: calc(-1 * var(--s-4)); padding-block: var(--s-2) var(--s-3); }
  .phone__day { padding-block: var(--s-3) var(--s-2); }
  .phone__input { margin-inline: calc(-1 * var(--s-4)); padding-inline: var(--s-3); }
  .bubble { font-size: 0.8125rem; max-width: 86%; }

  /* Big stat: tighten the gap with the surrounding copy */
  .feature-stat { gap: var(--s-5); }
  .feature-stat__number { font-size: clamp(4.5rem, 22vw, 7rem); letter-spacing: -0.05em; }
  .feature-stat__label { font-size: var(--fs-md); }
  .feature-stat__copy h2 { font-size: clamp(1.875rem, 7vw, 2.25rem); }

  /* Causes: card padding tightened, icon scaled */
  .cause { padding: var(--s-5); gap: var(--s-3); }
  .cause__icon { width: 40px; height: 40px; }
  .cause__icon svg { width: 20px; height: 20px; }
  .cause__title { font-size: var(--fs-md); }
  .cause__body { font-size: 0.9375rem; }

  /* Photo break: a touch shorter, type sized down */
  .photo-break { min-height: 50vh; }
  .photo-break__inner { padding-block: var(--s-7); }
  .photo-break__caption { font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.2; }
  .photo-break__credit { font-size: 0.6875rem; }

  /* Pillars: top-rule keeps; tighten title */
  .pillar { padding-block: var(--s-4); }
  .pillar__title { font-size: var(--fs-lg); }

  /* Diptych: stack, slim panels, drop phone bezel here too */
  .diptych { margin-top: var(--s-6); gap: var(--s-4); }
  .diptych__panel { padding: var(--s-5) var(--s-4); border-radius: var(--r-lg); gap: var(--s-4); }
  .diptych__phone { max-width: 100%; }
  .diptych__phone .phone__screen { min-height: 0; padding: var(--s-4); }
  .diptych__panel h4 { font-size: var(--fs-md); max-width: 26ch; }

  /* Dashboard rows: keep dense readable on mobile */
  .dash-screen { padding: var(--s-3); }
  .dash-row { padding: 8px 10px; font-size: 0.7rem; }
  .dash-tag { font-size: 0.55rem; }

  /* Stories: full-width quote cards, big quote mark stays */
  .stories { gap: var(--s-4); }
  .story { padding: var(--s-5); gap: var(--s-3); }
  .story__quote-mark { font-size: 3rem; height: 24px; }
  .story__quote { font-size: var(--fs-md); }

  /* CTA banner: tighter padding, hard-wrap to single column */
  .cta-banner { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); margin-block: var(--s-6); }
  .cta-banner h2 { font-size: clamp(1.75rem, 6.5vw, 2.25rem); }
  .cta-banner__cta { width: 100%; }
  .cta-banner__cta .btn { width: 100%; justify-content: center; }

  /* Doors: card padding tighter, persistent (no hover on touch) underline */
  .door { padding: var(--s-5); }
  .door__icon { width: 40px; height: 40px; }
  .door__cta::after { transform: translateX(2px); }

  /* Team: 2-up keeps but trim photo size */
  .team { gap: var(--s-4); }
  .team__role { font-size: 0.6875rem; }

  /* Section headers: pull h2 down a notch */
  .section-head h2 { font-size: clamp(1.875rem, 7vw, 2.5rem); }

  /* Footer: stack cleanly */
  .footer__grid { gap: var(--s-5); }
  .footer__legal { flex-direction: column; gap: var(--s-2); }

  /* Proto banner: smaller on mobile */
  .proto-banner { font-size: 0.6875rem; padding: 6px var(--container-pad); gap: var(--s-2); }
}

/* Ultra-narrow screens (≤380px): tighten one more notch */
@media (max-width: 380px) {
  :root { --container-pad: 1rem; }
  .hero__title { font-size: 2.5rem; }
  .feature-stat__number { font-size: 5rem; }
  .photo-break__caption { font-size: 1.375rem; }
}

/* Mobile menu (hamburger drawer) */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: var(--surface);
  padding: var(--s-6) var(--container-pad);
  flex-direction: column;
  gap: var(--s-4);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__close {
  align-self: flex-end;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 1.5rem; color: var(--brand-3);
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: var(--fs-xl);
  color: var(--brand-3);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--cta-hover); }
.mobile-menu .btn { margin-top: var(--s-4); align-self: stretch; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   CENTERED ALIGNMENT PASS
   Brings every section's heading + lede onto the page's vertical axis,
   plus card content centered where it reads cleanly.
   --------------------------------------------------------------------- */

/* Section heads: pull onto centerline */
.section-head { margin-inline: auto; text-align: center; max-width: 720px; }
.section-head .eyebrow { display: inline-block; }
.section-head .eyebrow::after { display: none; }

/* Eyebrows that sit outside .section-head (feature-stat, hero, CTA) */
.eyebrow { letter-spacing: 0.16em; }

/* Feature stat: keep two-column on desktop, center the COPY column */
.feature-stat__copy { text-align: center; max-width: 56ch; margin-inline: auto; }
.feature-stat__copy .eyebrow::after { display: none; }
.feature-stat > div:first-child { text-align: center; }
.feature-stat__label { margin-inline: auto; }

/* Photo break: bottom-center the caption block */
.photo-break { place-items: end center; text-align: center; }
.photo-break__inner { margin-inline: auto; max-width: 820px; }
.photo-break__caption { margin-inline: auto; }

/* Pillars: trophy style, centered content */
.pillar { text-align: center; border-top: 0; padding-top: var(--s-5); position: relative; }
.pillar::before {
  content: ""; display: block;
  width: 48px; height: 2px;
  background: var(--brand-3);
  margin: 0 auto var(--s-4);
}
.pillar__num { text-align: center; }
.pillar__body { max-width: 36ch; margin-inline: auto; }

/* Causes: icon + title centered, body left-aligned reads cleaner at 3-4 lines */
.cause { text-align: center; align-items: center; }
.cause__icon { margin-inline: auto; }
.cause__body { text-align: left; }
@media (min-width: 768px) {
  .cause__body { text-align: center; max-width: 32ch; margin-inline: auto; }
}

/* Stories: quote-led, centered */
.story { text-align: center; align-items: center; }
.story__quote-mark { margin-inline: auto; }
.story__quote { max-width: 32ch; margin-inline: auto; }
.story__attr { width: 100%; }

/* Doors: stack centered */
.door { text-align: center; align-items: center; }
.door__icon { margin-inline: auto; }
.door p { max-width: 30ch; margin-inline: auto; }
.door__cta { margin-inline: auto; }

/* CTA banner: single centered column */
.cta-banner { grid-template-columns: 1fr; text-align: center; padding-block: var(--s-9); }
@media (min-width: 768px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner > div:first-child { margin-inline: auto; max-width: 56ch; }
.cta-banner h2 { margin-inline: auto; }
.cta-banner p { margin-inline: auto; }
.cta-banner__cta { align-items: center !important; margin-inline: auto; }
.cta-banner .eyebrow { color: var(--cta); }
.cta-banner .eyebrow::after { background: var(--cta); }

/* Closing section: a thought, then an action */
.closing { padding-block: var(--s-9); background: var(--surface); text-align: center; }
.closing .container { max-width: 820px; }
.closing__kicker {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: var(--s-5);
}
.closing__line {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  color: var(--brand-3);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-7);
  max-width: 22ch;
  margin-inline: auto;
}
.closing__cta { display: inline-flex; }

/* Hero: keep the split layout on desktop, but center the column contents
   so the headline + sub + CTAs sit on a tighter vertical axis */
.hero__grid > div:first-child { text-align: center; }
@media (min-width: 960px) {
  /* Keep two-column for the product preview, but center the copy column */
  .hero__grid > div:first-child { text-align: left; }
}
.hero__sub { margin-inline: auto; }
.hero__caption { margin-inline: auto; justify-content: center; }
.hero__ctas { justify-content: center; }
@media (min-width: 960px) {
  .hero__sub { margin-inline: 0; }
  .hero__caption { margin-inline: 0; justify-content: flex-start; }
  .hero__ctas { justify-content: flex-start; }
}

/* Mobile-pass override hooks for the new centering */
@media (max-width: 767px) {
  .pillar::before { width: 36px; }
  .closing { padding-block: var(--s-7); }
  .closing__line { font-size: clamp(1.625rem, 6.5vw, 2.25rem); margin-bottom: var(--s-5); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
