/* SSM Website — Revamped */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg-page); }

/* ============================================================
   THEME ACCENT — driven by Tweaks (data-accent)
   ============================================================ */
:root[data-accent="orange"] { --accent: var(--ssm-orange); --accent-soft: var(--ssm-orange-light); }
:root[data-accent="cyan"]   { --accent: #4FA89A;             --accent-soft: var(--ssm-cyan); }
:root[data-accent="champagne"] { --accent: #B5912A;          --accent-soft: var(--ssm-champagne); }

:root { --accent: var(--ssm-orange); --accent-soft: var(--ssm-orange-light); }

/* Eyebrow uses --accent now */
.eyebrow, .ssm-eyebrow { color: var(--accent); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  line-height: 1;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 30px;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.btn--lg { font-size: 16px; padding: 18px 36px; }
.btn--sm { font-size: 13px; padding: 11px 22px; }

.btn--primary {
  background: var(--ssm-eminence);
  color: white;
  box-shadow: 0 4px 14px rgba(111,63,142,.18);
}
.btn--primary:hover { background: var(--ssm-eminence-deep); color: white; box-shadow: var(--shadow-brand); transform: translateY(-1px); }
.btn--primary:hover svg { stroke: white; }
.btn--primary:active { transform: scale(0.98); }

.btn--secondary {
  background: transparent;
  color: var(--ssm-eminence);
  border: 1.5px solid var(--ssm-eminence);
}
.btn--secondary:hover { background: var(--ssm-eminence); color: white; }

.btn--accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(224,144,79,.28);
}
.btn--accent:hover { filter: brightness(0.94); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(224,144,79,.34); }

.btn--ghost {
  background: transparent;
  color: var(--ssm-eminence);
  padding: 16px 12px;
}
.btn--ghost:hover { color: var(--ssm-eminence-deep); }

.btn .arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Eyebrow
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1.5px;
  background: var(--accent);
}
.eyebrow.eyebrow--bare::before { display: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__brand { display: flex; align-items: center; cursor: pointer; }
.site-header__brand img { height: 56px; width: auto; display: block; }
.site-header__nav { display: flex; gap: 36px; align-items: center; }
.site-header__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-primary);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-header__nav a:hover { color: var(--ssm-eminence); }
.site-header__nav a.active { color: var(--ssm-eminence); }
.site-header__nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ssm-eminence);
  color: white;
  position: relative;
  padding: var(--space-9) var(--gutter) var(--space-5);
  overflow: hidden;
}
.site-footer__pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/illustrations/footer-brand-art.png');
  background-size: 220px;
  background-repeat: repeat;
  opacity: 0.08;
  pointer-events: none;
}
.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}
.site-footer__brand img {
  filter: brightness(0) invert(1);
  height: 72px; width: auto;
  margin-bottom: var(--space-4);
  display: block;
}
.site-footer__tag {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  color: var(--ssm-champagne);
  margin: 0 0 var(--space-5);
  max-width: 18ch;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ssm-champagne);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(230, 216, 149, 0.4);
  padding-bottom: 4px;
  transition: all var(--dur-base) var(--ease-out);
}
.site-footer__cta:hover { color: white; border-color: white; }

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.site-footer__col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ssm-champagne);
  margin: 0 0 16px;
}
.site-footer__col { display: flex; flex-direction: column; }
.site-footer__col a, .site-footer__col span {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 14.5px;
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.site-footer__col a:hover { color: white; }
.site-footer__socials { display: flex; gap: 12px; margin-top: 6px; }
.site-footer__socials a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.site-footer__socials a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.site-footer__socials svg { width: 16px; height: 16px; stroke: white; }

.site-footer__bottom {
  max-width: var(--max-content);
  margin: var(--space-7) auto 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}

/* ============================================================
   HOME — Hero
   ============================================================ */
.hero {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-9) var(--gutter) var(--space-8);
}

/* Variant: split (default) */
.hero--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.hero--split .hero__photo { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }

/* Variant: full-bleed */
.hero--bleed {
  max-width: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero--bleed .hero__photo {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero--bleed .hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,19,32,0.3) 0%, rgba(31,19,32,0.55) 60%, rgba(111,63,142,0.85) 100%);
}
.hero--bleed .hero__copy {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(120px, 22vh, 220px) var(--gutter) clamp(80px, 14vh, 140px);
  color: white;
}
.hero--bleed .hero__h1 { color: white; }
.hero--bleed .hero__lead { color: rgba(255,255,255,0.85); }
.hero--bleed .hero__fine { color: rgba(255,255,255,0.7); }
.hero--bleed .eyebrow { color: var(--ssm-champagne); }
.hero--bleed .eyebrow::before { background: var(--ssm-champagne); }
.hero--bleed .btn--secondary { color: white; border-color: white; }
.hero--bleed .btn--secondary:hover { background: white; color: var(--ssm-eminence); }

/* Variant: type-led */
.hero--type {
  text-align: left;
  padding: clamp(80px, 14vh, 160px) var(--gutter) var(--space-9);
  display: block;
}
.hero--type .hero__copy { max-width: 100%; }
.hero--type .hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 180px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero--type .hero__h1 em {
  color: var(--accent);
  font-style: italic;
}
.hero--type .hero__lead-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-7);
  align-items: end;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}
.hero--type .hero__lead { margin-bottom: 0; max-width: 36ch; }
.hero--type .hero__ctas { justify-content: flex-end; }

.hero__h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.hero__h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 50ch;
  margin: 0 0 var(--space-6);
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__fine {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-muted);
  margin: var(--space-5) 0 0;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero__fine span { display: inline-flex; align-items: center; gap: 6px; }
.hero__fine svg { width: 14px; height: 14px; stroke: var(--accent); }

.hero__photo image-slot {
  --bg: var(--ssm-eminence-tint);
  --ink: var(--ssm-eminence);
  width: 100%; height: 100%; display: block;
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip {
  background: var(--ssm-eminence-tint);
  padding: var(--space-8) var(--gutter);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stats-strip__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-6);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0 var(--space-5);
  border-left: 1px solid rgba(111, 63, 142, 0.18);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 76px);
  color: var(--ssm-eminence);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.stat__num sup { font-size: 0.55em; font-weight: 700; vertical-align: super; color: var(--accent); top: -0.3em; }
.stat__label {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 32ch;
}
.stat__source {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   Mission section
   ============================================================ */
.mission {
  padding: var(--space-10) var(--gutter);
  position: relative;
}
.mission__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  align-items: start;
}
.mission__h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.mission__h2 em { font-style: italic; color: var(--accent); font-weight: 700; }
.mission__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin: 0 0 var(--space-5);
  max-width: 52ch;
}
.mission__quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--ssm-eminence);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0;
}
.mission__quote-attr {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: var(--space-4) 0 0;
  font-weight: 600;
}
.mission__photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mission__photo image-slot {
  --bg: var(--ssm-champagne);
  --ink: var(--ssm-eminence);
  width: 100%; height: 100%; display: block;
}
.mission__photo-cap {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(251, 248, 243, 0.95);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ssm-eminence);
  letter-spacing: 0.04em;
}

/* ============================================================
   CTA strip (bottom of page)
   ============================================================ */
.cta-strip {
  background: var(--ssm-eminence-tint);
  color: var(--fg-primary);
  padding: var(--space-9) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-strip__pattern {
  display: none;
  position: absolute;
  inset: 0;
  background-image: url('assets/illustrations/footer-brand-art.png');
  background-size: 220px;
  background-repeat: repeat;
  opacity: 0.07;
}
.cta-strip__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.cta-strip p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
  max-width: 50ch;
}
.cta-strip__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cta-strip .btn--accent { box-shadow: 0 8px 24px rgba(111,63,142,.18); }
.cta-strip .btn--ghost { color: var(--ssm-eminence); }
.cta-strip .btn--ghost:hover { color: var(--ssm-eminence-deep); }

/* ============================================================
   ABOUT page
   ============================================================ */
.about-hero {
  padding: var(--space-9) var(--gutter) var(--space-7);
  max-width: var(--max-content);
  margin: 0 auto;
}
.about-hero__h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-5);
  max-width: 18ch;
  text-wrap: balance;
}
.about-hero__h1 em { color: var(--accent); font-style: italic; }
.about-hero__lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--fg-secondary);
  max-width: 42ch;
  margin: 0;
}

.about-section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-8) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}
.about-section--reverse { grid-template-columns: 1.1fr 1fr; }
.about-section--reverse .about-section__media { order: -1; }
.about-section__media {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}
.about-section__media image-slot {
  --bg: var(--ssm-eminence-tint);
  --ink: var(--ssm-eminence);
  width: 100%; height: 100%; display: block;
}

.about-section__copy h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.about-section__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin: 0 0 var(--space-4);
}
.about-section__copy p:last-child { margin-bottom: 0; }
.about-section__pull {
  border-left: 3px solid var(--accent);
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  margin: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  color: var(--ssm-eminence);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.values {
  background: var(--ssm-eminence-tint);
  padding: var(--space-9) var(--gutter);
}
.values__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.values__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}
.values__head h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--ssm-eminence);
  margin: 0;
  letter-spacing: -0.015em;
  max-width: 14ch;
  line-height: 1.05;
}
.values__head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 36ch;
  margin: 0;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.value-card {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card__num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  line-height: 0.9;
  margin: 0 0 var(--space-2);
  font-weight: 700;
}
.value-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: var(--ssm-eminence);
  margin: 0;
  line-height: 1.2;
}
.value-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
}

.founder {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-9) var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}
.founder__photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.founder__photo image-slot {
  --bg: var(--ssm-champagne);
  --ink: var(--ssm-eminence);
  width: 100%; height: 100%; display: block;
}
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  color: var(--ssm-eminence);
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.founder__quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 1.3em;
  line-height: 0.5;
  color: var(--accent);
  display: inline-block;
  margin-right: 8px;
  transform: translateY(0.15em);
}
.founder__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--space-5);
}
.founder__byline-avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--ssm-eminence-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ssm-eminence);
}
.founder__byline-name {
  font-weight: 600;
  color: var(--fg-primary);
  font-size: 15px;
  margin: 0;
  line-height: 1.3;
}
.founder__byline-title {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   MATCH page
   ============================================================ */
.match-hero {
  padding: var(--space-9) var(--gutter) var(--space-7);
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.match-hero__h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.match-hero__h1 em { color: var(--accent); font-style: italic; }
.match-hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 50ch;
  margin: 0 0 var(--space-6);
}
.match-hero__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ssm-eminence-tint);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ssm-eminence-deep);
  font-weight: 500;
  margin-bottom: var(--space-6);
  max-width: max-content;
}
.match-hero__stat strong {
  font-weight: 700;
  color: var(--ssm-eminence);
}
.match-hero__stat svg { width: 18px; height: 18px; stroke: var(--ssm-eminence); flex-shrink: 0; }
.match-hero__photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.match-hero__photo image-slot {
  --bg: var(--ssm-eminence-tint);
  --ink: var(--ssm-eminence);
  width: 100%; height: 100%; display: block;
}

/* What to expect */
.expect {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-8) var(--gutter);
}
.expect__head {
  text-align: center;
  margin-bottom: var(--space-7);
}
.expect__head h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--ssm-eminence);
  margin: 0;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.1;
}
.expect__head .eyebrow { justify-content: center; }
.expect__head .eyebrow::before { display: none; }
.expect__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.expect__card {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-base) var(--ease-out);
}
.expect__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.expect__card img { height: 72px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.expect__card__num {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.expect__card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--ssm-eminence);
  margin: 0;
  line-height: 1.2;
}
.expect__card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

/* Before-you-start checklist */
.checklist {
  background: var(--ssm-eminence-tint);
  padding: var(--space-9) var(--gutter);
}
.checklist__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-8);
  align-items: start;
}
.checklist__head h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--ssm-eminence);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.checklist__head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
}
.checklist__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist__item {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--dur-base) var(--ease-out);
}
.checklist__item:hover { box-shadow: var(--shadow-sm); transform: translateX(2px); }
.checklist__item__check {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.checklist__item__check svg { width: 14px; height: 14px; stroke: white; stroke-width: 2.5; }
.checklist__item__copy h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ssm-eminence);
  margin: 0 0 4px;
}
.checklist__item__copy p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

/* Match CTA card */
.match-cta {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-9) var(--gutter);
}
.match-cta__card {
  background: var(--ssm-eminence);
  color: white;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.match-cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/illustrations/footer-brand-art.png');
  background-size: 180px;
  background-repeat: repeat;
  opacity: 0.08;
}
.match-cta__card > * { position: relative; }
.match-cta__card .eyebrow { color: var(--ssm-champagne); justify-content: center; margin-bottom: var(--space-3); }
.match-cta__card .eyebrow::before { background: var(--ssm-champagne); }
.match-cta__card h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  text-transform: uppercase;
  line-height: 1.05;
  color: white;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
.match-cta__card h2 em { color: var(--ssm-champagne); font-style: italic; }
.match-cta__card p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  margin: 0 auto var(--space-6);
  max-width: 48ch;
}
.match-cta__meta {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}
.match-cta__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ssm-champagne);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.match-cta__meta-item svg { width: 16px; height: 16px; stroke: var(--ssm-champagne); }

/* ============================================================
   FAQ (small accordion on Match page)
   ============================================================ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--gutter) var(--space-9);
}
.faq__head { text-align: center; margin-bottom: var(--space-6); }
.faq__head .eyebrow { justify-content: center; }
.faq__head .eyebrow::before { display: none; }
.faq__head h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--ssm-eminence);
  margin: 0;
  letter-spacing: -0.015em;
}
.faq__list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-subtle); }
.faq__item { border-bottom: 1px solid var(--border-subtle); }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--ssm-eminence);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__q:hover { color: var(--ssm-eminence-deep); }
.faq__q__icon {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--ssm-eminence-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
}
.faq__q__icon svg { width: 14px; height: 14px; stroke: var(--ssm-eminence); transition: transform var(--dur-base) var(--ease-out); }
.faq__item.is-open .faq__q__icon { background: var(--accent); }
.faq__item.is-open .faq__q__icon svg { stroke: white; transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq__a-inner {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-secondary);
  padding: 0 4px 22px;
  max-width: 64ch;
}
.faq__item.is-open .faq__a { max-height: 400px; }

/* ============================================================
   Page transitions
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
main { animation: fadeUp var(--dur-slow) var(--ease-out) both; min-height: 60vh; }
main > section + section { animation: fadeUp var(--dur-slow) var(--ease-out) both; }

/* image-slot brand defaults */
image-slot {
  --ssm-purple: var(--ssm-eminence);
}

/* ============================================================
   Display-font tweak (toggleable)
   ============================================================ */
:root[data-display-font="serif"] {
  --font-display: 'Afternoon in Stereo', 'Playfair Display', Georgia, serif;
}
:root[data-display-font="sans"] {
  --font-display: var(--font-body);
}
:root[data-display-font="sans"] .hero--type .hero__h1,
:root[data-display-font="sans"] .cta-strip h2,
:root[data-display-font="sans"] .match-cta__card h2,
:root[data-display-font="sans"] .founder__quote,
:root[data-display-font="sans"] .mission__quote,
:root[data-display-font="sans"] .about-section__pull,
:root[data-display-font="sans"] .site-footer__tag {
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: none;
}
:root[data-display-font="sans"] .value-card__num {
  font-weight: 800;
}

/* ============================================================
   Form page
   ============================================================ */
.form-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-5) var(--space-9);
}
.form-shell__head { margin-bottom: var(--space-7); }
.form-shell__head h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ssm-eminence);
  letter-spacing: -0.01em;
  margin: var(--space-2) 0 var(--space-3);
  text-wrap: balance;
}
.form-shell__head .lead { font-size: 17px; color: var(--fg-secondary); max-width: 60ch; line-height: 1.6; }

.form-progress { margin-bottom: var(--space-6); }
.form-progress__bar {
  height: 6px; border-radius: 999px;
  background: var(--ssm-eminence-tint);
  overflow: hidden; position: relative;
}
.form-progress__bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--ssm-eminence);
  transition: width 320ms cubic-bezier(.2,.8,.2,1);
}
.form-progress__meta {
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted); margin-top: 10px; font-weight: 600;
}

.form-step, .form-section { background: white; border-radius: 24px;
  padding: var(--space-6) var(--space-6) var(--space-7);
  box-shadow: 0 6px 24px rgba(61,30,84,.06);
  border: 1px solid rgba(111,63,142,.08);
}
.form-step__head, .form-section__head { display: flex; gap: 18px; align-items: baseline;
  margin-bottom: var(--space-5);
  border-bottom: 1px solid rgba(111,63,142,.1);
  padding-bottom: var(--space-4);
}
.form-step__num, .form-section__num {
  font-family: var(--font-display); color: var(--ssm-champagne);
  font-size: 28px; line-height: 1;
}
.form-step__head h2, .form-section__head h2 {
  font-family: Poppins; font-weight: 600; font-size: 28px;
  color: var(--ssm-eminence); margin: 0; letter-spacing: -0.01em;
}

.form-grid { display: grid; gap: var(--space-5); }
.form-grid__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .form-grid__row { grid-template-columns: 1fr; } }

.ff { display: flex; flex-direction: column; gap: 8px; }
.ff__lbl { font-size: 14px; font-weight: 600; color: var(--ssm-eminence-deep); letter-spacing: 0.005em; }
.ff__req { color: var(--ssm-eminence); }
.ff__hint { font-size: 13px; color: var(--fg-muted); line-height: 1.5; }
.ff__err { font-size: 12px; color: #B33A3A; font-weight: 600; }
.ff input[type=text], .ff input[type=email], .ff select, .ff textarea {
  font: inherit; font-size: 15px;
  border: 1.5px solid rgba(111,63,142,.18);
  background: var(--ssm-paper);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--fg-primary);
  width: 100%;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}
.ff input:focus, .ff select:focus, .ff textarea:focus {
  outline: none;
  border-color: var(--ssm-eminence);
  background: white;
  box-shadow: 0 0 0 4px rgba(111,63,142,.12);
}
.ff textarea { resize: vertical; min-height: 96px; line-height: 1.55; }

.rg { display: grid; gap: 10px; }
.rg--check { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .rg--check { grid-template-columns: 1fr; } }
.rg__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid rgba(111,63,142,.18);
  border-radius: 12px;
  background: var(--ssm-paper);
  cursor: pointer;
  font-size: 15px;
  transition: all 140ms;
}
.rg__opt:hover { border-color: var(--ssm-eminence); background: white; }
.rg__opt input { accent-color: var(--ssm-eminence); width: 18px; height: 18px; flex-shrink: 0; }
.rg__opt.is-on {
  border-color: var(--ssm-eminence);
  background: var(--ssm-eminence-tint);
  color: var(--ssm-eminence-deep);
  font-weight: 600;
}

.form-summary {
  background: var(--ssm-eminence-tint);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ssm-eminence-deep);
}
.form-summary em { color: var(--ssm-eminence); font-style: normal; font-weight: 600; }

.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); margin-top: var(--space-6);
}
.form-nav__count { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

.form-shell--single { display: flex; flex-direction: column; gap: var(--space-5); }
.form-nav--single { justify-content: flex-end; flex-direction: column; align-items: flex-end; gap: 8px; margin-top: var(--space-4); }
.form-nav__hint { font-size: 13px; color: #b03a3a; margin: 0; }

/* Success */
.form-success {
  max-width: var(--max-content); margin: 0 auto;
  padding: var(--space-9) var(--space-5);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-7);
  align-items: center;
}
@media (max-width: 800px) { .form-success { grid-template-columns: 1fr; } }
.form-success__art { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.form-success__copy h1 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); text-transform: uppercase; color: var(--ssm-eminence); margin: var(--space-2) 0 var(--space-3); line-height: 1.05; }
.form-success__copy .lead { font-size: 18px; color: var(--fg-secondary); line-height: 1.6; margin-bottom: var(--space-4); }
.form-success__copy .lead strong { color: var(--ssm-eminence); }
.form-success__meta { font-size: 14px; color: var(--fg-muted); margin-bottom: var(--space-5); }

/* ============================================================
   Mobile nav
   ============================================================ */
.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.site-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ssm-eminence);
  border-radius: 2px;
  transition: background var(--dur-fast) var(--ease-out);
}
.site-header__mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 20px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(251, 248, 243, 0.98);
}
.site-header__mobile-menu a {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-primary);
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-header__mobile-menu a:last-of-type { border-bottom: none; }
.site-header__mobile-menu a.active { color: var(--ssm-eminence); font-weight: 600; }
.site-header__mobile-menu .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .site-header__nav { display: none; }
  .site-header__cta-desktop { display: none; }
  .site-header__burger { display: flex; }
  .hero--split, .mission__inner, .about-section, .about-section--reverse,
  .founder, .match-hero, .checklist__inner, .cta-strip__inner, .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .stats-strip__inner, .expect__grid, .values__grid, .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
  .stat { border-left: none; padding-left: 0; }
  .about-section__media { position: static; }
  .hero--type .hero__lead-row { grid-template-columns: 1fr; }
  .hero--type .hero__ctas { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .stats-strip__inner, .expect__grid, .values__grid, .site-footer__cols { grid-template-columns: 1fr; }
}
