/* AT HeaRt Consulting v5
   Palette and type from v4 (obsidian / alabaster / gold, Cormorant Garamond + Plus Jakarta Sans).
   Structure from Taja's 24 Nov HTML: one page, numbered sections, fit test. */

:root {
  --obsidian: #0d0f12;
  --alabaster: #fcfbf9;
  --ink: #181715;
  --gold: #c5a880;
  --gold-deep: #7a6038;
  --slate: #1a1d24;
  --gold-line: rgba(197, 168, 128, 0.28);
  --gold-strong: rgba(197, 168, 128, 0.6);
  --mute: rgba(247, 246, 242, 0.7);
  --mute-ink: rgba(24, 23, 21, 0.68);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 5rem;
  --max: 80rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--alabaster);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

::selection { background: var(--gold); color: var(--obsidian); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button { cursor: pointer; }
textarea { resize: vertical; }

:focus { outline: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--obsidian);
  padding: 0.5rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hairline {
  display: block;
  width: 4rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0 0;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--alabaster); border-color: var(--alabaster); }
.btn-ghost {
  background: transparent;
  color: var(--alabaster);
  border-color: var(--gold-line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-ink {
  color: var(--ink);
  border-color: rgba(24, 23, 21, 0.2);
}
.btn-ghost-ink:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-full { width: 100%; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 40;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gold-line);
  overflow: visible;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 18, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}
.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img { height: 2.65rem; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--alabaster); }
.nav .btn { padding: 0.7rem 1.15rem; }
.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  position: relative;
  z-index: 50;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.2rem;
  height: 1.5px;
  margin-left: -0.6rem;
  background: var(--alabaster);
  transition: background 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--alabaster);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--pad) 5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 10% 20%;
  background: radial-gradient(ellipse at center, rgba(197, 168, 128, 0.08), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 52rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1.25rem 0 1.5rem;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero .lede {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  color: var(--mute);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Sections shared */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 0.85rem;
}
.section-head h2 em { font-style: italic; }
.section-head p {
  margin-top: 1.25rem;
  color: var(--mute);
  font-weight: 300;
  max-width: 36rem;
  line-height: 1.7;
}
.light { background: var(--alabaster); color: var(--ink); }
.light .eyebrow { color: var(--gold-deep); }
.light .section-head p { color: var(--mute-ink); }
.light .hairline { background: var(--gold); }

/* Issues */
.issues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(24, 23, 21, 0.12);
}
.issue {
  padding: 2rem 1.75rem 2.15rem 0;
  border-bottom: 1px solid rgba(24, 23, 21, 0.12);
}
.issue:nth-child(odd) { padding-right: 2.25rem; border-right: 1px solid rgba(24, 23, 21, 0.12); }
.issue:nth-child(even) { padding-left: 2.25rem; }
.issue .num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}
.issue h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.issue p { color: var(--mute-ink); font-weight: 300; font-size: 0.98rem; line-height: 1.65; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.75rem;
}
.step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-line);
}
.step .num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.step p { color: var(--mute); font-weight: 300; font-size: 0.95rem; line-height: 1.6; }
.step .tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.value {
  padding-top: 1.15rem;
  border-top: 1px solid var(--gold-line);
}
.value .num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.value h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.value p { color: var(--mute); font-weight: 300; font-size: 0.95rem; }

/* Match band */
.match {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.match h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0.9rem auto 1.25rem;
}
.match h2 em { font-style: italic; }
.match p {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--mute);
  font-weight: 300;
  line-height: 1.7;
}

/* About */
.about-intro {
  max-width: 38rem;
  margin-bottom: 3rem;
}
.about-intro p {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mute-ink);
}
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}
.founder { min-width: 0; }
.founder-top {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}
.monoframe {
  flex: 0 0 4.25rem;
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 23, 21, 0.18);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}
.founder h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.role {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.creds {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--mute-ink);
  margin-top: 0.4rem;
  line-height: 1.5;
}
.facts {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.35rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(24, 23, 21, 0.12);
  border-bottom: 1px solid rgba(24, 23, 21, 0.12);
}
.facts li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--mute-ink);
}
.facts strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}
.statement {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
}

/* Footer */
.footer {
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--gold-line);
  background: var(--obsidian);
  color: var(--alabaster);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer .logo img { height: 2.4rem; }
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.footer nav a:hover { color: var(--gold); }

/* Fit test overlay */
.fit {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--alabaster);
  color: var(--ink);
  overflow: auto;
  display: none;
}
.fit.is-open { display: block; }
.fit-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  background: rgba(252, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(24, 23, 21, 0.1);
}
.fit-bar button, .fit-skip {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-ink);
}
.fit-bar button:hover, .fit-skip:hover { color: var(--ink); }
.fit-progress {
  display: flex;
  gap: 0.4rem;
}
.fit-progress i {
  width: 2.25rem;
  height: 2px;
  background: rgba(24, 23, 21, 0.15);
}
.fit-progress i.is-on { background: var(--gold-deep); }
.fit-body {
  width: min(40rem, 100%);
  margin: 0 auto;
  padding: 2.5rem var(--pad) 4.5rem;
}
.fit-body .eyebrow { color: var(--gold-deep); }
.fit-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.7rem 0 0.8rem;
}
.fit-body .hint {
  color: var(--mute-ink);
  font-weight: 300;
  margin-bottom: 2rem;
}
.field { margin-bottom: 1.35rem; }
.field label, .pair-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(24, 23, 21, 0.18);
  padding: 0.55rem 0 0.65rem;
  background: transparent;
  color: var(--ink);
  font-weight: 300;
}
.field textarea { min-height: 6rem; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold-deep); }
.range {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}
.range input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(24, 23, 21, 0.18);
}
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-deep);
  cursor: pointer;
}
.range-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mute-ink);
}
.pairs { display: grid; gap: 1.35rem; margin-bottom: 2rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.choice {
  border: 1px solid rgba(24, 23, 21, 0.16);
  padding: 0.95rem 0.75rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.choice.is-on, .choice[aria-pressed="true"] {
  background: var(--ink);
  color: var(--alabaster);
  border-color: var(--ink);
}
.fit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.step-panel[hidden] { display: none !important; }
.thanks {
  text-align: center;
  padding-top: 3rem;
}
.thanks h2 { margin-bottom: 0.8rem; }
.thanks p { color: var(--mute-ink); font-weight: 300; max-width: 28rem; margin: 0 auto 2rem; }

@media (max-width: 900px) {
  .steps, .values-grid { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: 1fr; gap: 2.75rem; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav .btn-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem var(--pad) 2rem;
    background: #0d0f12;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    z-index: 45;
    overflow: auto;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--gold-line); width: 100%; color: var(--alabaster); }
  .nav-links .btn { margin-top: 1.5rem; width: 100%; }
  .issues-grid { grid-template-columns: 1fr; }
  .issue, .issue:nth-child(odd), .issue:nth-child(even) {
    padding: 1.6rem 0;
    border-right: 0;
  }
  .steps, .values-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .facts li { grid-template-columns: 4.6rem 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.mobile-cta { display: none; }
@media (max-width: 760px) { .mobile-cta { display: inline-flex; } }
