/* HHM Site — Concept v1
   Palette and typography per hhm_new_hhm_brand_freeze_memo.md and hhm_site_design_brief.md.
   Vanilla CSS. No frameworks. */

:root {
  --ink: #0B0F14;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --muted: #5B6675;
  --hair: #E6E9EE;
  --red: #E11D2E;
  --red-dark: #B51522;
  --gold: #D4AF37;
  --green: #27AE60;

  --serif: "Fraunces", "Iowan Old Style", "Georgia", "Times New Roman", serif;
  --sans: "Instrument Sans", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
a:hover, a:focus { border-bottom-color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .5rem .75rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- nav ---------- */
.nav {
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(6px);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .75rem; padding-bottom: .75rem;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; border: 0; }
.brand img { display: block; }
.brand-word {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1rem;
}
.nav nav { display: flex; align-items: center; gap: 1.25rem; }
.nav nav a {
  font-size: .9rem; color: var(--muted); border: 0;
}
.nav nav a:hover { color: var(--ink); border-bottom-color: transparent; }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: .5rem .8rem; border-radius: 4px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--red-dark); }

@media (max-width: 760px) {
  .nav nav a:not(.nav-cta) { display: none; }
}

/* ---------- typography ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  margin: 0 0 1.25rem 0;
  display: inline-flex; align-items: center; gap: .6rem;
}
.red-tick {
  display: inline-block;
  width: .55rem; height: .55rem;
  background: var(--red);
  border-radius: 50%;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin: 0 0 1rem 0;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
  max-width: 22ch;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.display em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.18em;
  background: rgba(225,29,46,0.18);
  z-index: -1;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  max-width: 28ch;
}
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0 0 .55rem 0;
}
h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 .4rem 0;
}

p { margin: 0 0 1rem 0; }
strong { font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--hair);
}
.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink);
  margin: 0 0 1rem 0;
  max-width: 36ch;
}
.subhead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 .85rem 0;
}
.fun-clarifier {
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--red);
  padding: .75rem 1rem;
  max-width: 60ch;
  margin: 0 0 1.75rem 0;
}

.cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center;
  margin: 0 0 2rem 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.2rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .05s ease;
}
.btn-primary {
  background: var(--ink); color: var(--white) !important;
}
.btn-primary:hover { background: var(--red-dark); border-bottom-color: transparent; }
.btn-secondary {
  background: var(--white); color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white) !important; border-bottom-color: var(--ink); }
.btn-link {
  background: transparent; color: var(--ink) !important;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn-link:hover { color: var(--red-dark) !important; border-bottom-color: var(--red-dark); }

.proof-strip {
  font-family: var(--mono);
  font-size: .88rem;
  color: var(--ink);
  letter-spacing: .01em;
  padding: .75rem 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: .25rem .9rem;
  margin: 0 0 1.5rem 0;
  max-width: 60ch;
}
.proof-strip .dot { color: var(--muted); }

.logo-row-label {
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin: 0 0 .5rem 0;
}
.logo-row {
  display: flex; flex-wrap: wrap; gap: .35rem 1.25rem;
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink);
  margin: 0;
}
.logo-row span { white-space: nowrap; }

/* ---------- sections ---------- */
section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--hair);
}

.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--muted);
  max-width: 64ch;
  margin: 0 0 2.25rem 0;
}

/* ---------- scan ---------- */
.scan-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1.5rem 0 1.75rem 0;
}
.scan-tab {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: .6rem 1rem;
  border-radius: 3px;
  cursor: pointer;
}
.scan-tab.is-active {
  background: var(--ink); color: var(--white);
}
.scan-tab:hover:not(.is-active) {
  background: var(--ink); color: var(--white);
}

.scan-panel { display: none; }
.scan-panel.is-active { display: block; }
.scan-list {
  list-style: none; padding: 0; margin: 0 0 1.5rem 0;
  border-top: 1px solid var(--hair);
}
.scan-list li {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: -0.005em;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--hair);
  position: relative;
  max-width: 60ch;
}
.scan-list li::before {
  content: "☐";
  position: absolute; left: 0; top: 1rem;
  color: var(--red);
  font-family: var(--mono);
  font-size: 1.1rem;
}

/* ---------- grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- cards / deliverables ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--hair);
  padding: 1.5rem;
  border-radius: 3px;
}
.tag {
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--red);
  margin: 0 0 .5rem 0;
}
.deliverable .what,
.deliverable .unlocks {
  font-size: .95rem;
  color: var(--ink);
  margin: 0 0 .55rem 0;
}
.deliverable .unlocks { color: var(--muted); margin-bottom: 0; }

/* ---------- receipts / cases ---------- */
.concept-note {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: .35rem .65rem;
  margin: 0 0 1.75rem 0;
}
.case {
  background: var(--white);
  border: 1px solid var(--hair);
  border-top: 4px solid var(--ink);
  padding: 1.5rem;
}
.case-label {
  font-family: var(--mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 1rem 0;
}
.case dl { margin: 0; }
.case dt {
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-top: .85rem;
}
.case dt:first-child { margin-top: 0; }
.case dd {
  margin: .25rem 0 0 0;
  font-size: .95rem;
  color: var(--ink);
}

/* ---------- offers ---------- */
.offers .grid { margin-top: 1.5rem; }
.offer-rank {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .75rem 0;
}
.offer h3 { margin-bottom: .35rem; }
.offer .who {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 .85rem 0;
  min-height: 3rem;
}
.offer-what {
  list-style: none; padding: 0; margin: 0 0 1rem 0;
  border-top: 1px solid var(--hair);
}
.offer-what li {
  padding: .55rem 0 .55rem 1.25rem;
  font-size: .92rem;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.offer-what li::before {
  content: "—";
  color: var(--red);
  position: absolute; left: 0; top: .55rem;
  font-family: var(--mono);
}
.offer .timing {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 1rem 0;
}

.other-ways {
  margin-top: 2.5rem;
  border-top: 1px solid var(--hair);
  padding-top: 1.5rem;
}
.other-ways summary {
  font-family: var(--serif);
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; gap: .5rem;
}
.other-ways summary::before {
  content: "+";
  color: var(--red);
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1;
}
.other-ways[open] summary::before { content: "−"; }
.other-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}
@media (max-width: 800px) { .other-grid { grid-template-columns: 1fr; } }
.other-grid p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- fit ---------- */
.fit-grid { margin-top: 1.5rem; }
.fit .card ul {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--hair);
}
.fit .card li {
  padding: .7rem 0 .7rem 1.25rem;
  border-bottom: 1px solid var(--hair);
  position: relative;
  font-size: .96rem;
}
.fit-good li::before {
  content: "✓";
  color: var(--green);
  position: absolute; left: 0; top: .7rem;
  font-family: var(--mono);
}
.fit-bad li::before {
  content: "✕";
  color: var(--red);
  position: absolute; left: 0; top: .7rem;
  font-family: var(--mono);
}

/* ---------- faq ---------- */
.faq details {
  border-top: 1px solid var(--hair);
  padding: 1rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--hair); }
.faq summary {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--red);
  font-family: var(--mono);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .98rem;
  max-width: 64ch;
}

/* ---------- footer CTA ---------- */
.cta-footer {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
}
.cta-footer h2 {
  font-family: var(--serif);
  color: var(--paper);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 22ch;
}
.cta-footer .cta-lede {
  color: rgba(246,247,249,0.7);
  margin-bottom: 1.5rem;
}
.cta-footer .btn-primary { background: var(--red); }
.cta-footer .btn-primary:hover { background: var(--red-dark); }
.cta-footer .btn-link { color: var(--paper) !important; border-bottom-color: var(--paper); }
.cta-footer .btn-link:hover { color: var(--red) !important; border-bottom-color: var(--red); }

/* ---------- site footer ---------- */
.site-footer {
  background: var(--paper);
  padding: 2rem 0 2.5rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.foot-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); }
.foot-proof { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin: 0; }
.foot-meta { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin: 0; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
