/* ============================================================
   obliq DESIGN SYSTEM — shared stylesheet
   Used across: index.html, for-architects.html, style-guide.html
   ============================================================ */

/* ---- HoratioDMed (logo only) ---- */
@font-face {
  font-family: "HoratioDMed";
  src: url("../fonts/HoratioDMed.woff") format("woff"),
       url("../fonts/HoratioDMed.ttf")  format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* Colours */
  --obliq-ink:        #0E0E0E;
  --obliq-graphite:   #2B2B2B;
  --obliq-bone:       #F0EDEA;
  --obliq-paper:      #FFFFFF;
  --obliq-champagne:  #CAA27E;
  --obliq-champ-dark: #A47E5C;
  --obliq-warm-100:   #EBE3D6;
  --obliq-line:       #E2DCD2;
  --obliq-muted:      #6B6155;

  /* Typography */
  --font-base: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "HoratioDMed", "Horatio Std", Georgia, serif;
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  /* Spacing — 8px scale */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* Layout */
  --container-max: 1280px;

  /* Motion */
  --ease-soft: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

body {
  font-family: var(--font-base);
  font-weight: var(--weight-regular);
  background: var(--obliq-paper);
  color: var(--obliq-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; }
.section--bone { background: var(--obliq-paper); }
.section--ink { background: var(--obliq-ink); color: var(--obliq-paper); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Typography utilities ---- */
.h-display {
  font-weight: var(--weight-light);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.h-1 {
  font-weight: var(--weight-light);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
.h-2 {
  font-weight: var(--weight-light);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0;
}
.h-3 {
  font-weight: var(--weight-medium);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}
.body-lg {
  font-size: 18px;
  line-height: 1.65;
  max-width: 60ch;
  margin: 0;
}
.body {
  font-size: 15px;
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
  color: var(--obliq-graphite);
}
.eyebrow {
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--obliq-champagne);
  margin: 0 0 12px;
}
.lead {
  font-weight: var(--weight-light);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  margin: 0 0 32px;
  max-width: 720px;
  letter-spacing: -0.005em;
}
.logo-wordmark {
  font-family: var(--font-logo);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

/* ---- Brand name protection ----
   Wrap the brand name in <span class="brand-name">Obliq</span> whenever it
   appears inside an uppercase-transformed element (.eyebrow, .h-3, .btn,
   .site-footer h5). The class resets text-transform so the rule
   "O capital, bliq lowercase" is preserved visually. */
.brand-name {
  text-transform: none !important;
  letter-spacing: inherit;
}

/* ---- Header ---- */
.site-header {
  background: var(--obliq-ink);
  color: var(--obliq-paper);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
}
.site-header .logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .logo img {
  height: 48px;          /* sized for presence on dark header */
  width: auto;
  filter: invert(1);     /* black wordmark → white on dark header */
}
.site-header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
}
.site-header nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: var(--weight-light);
  letter-spacing: 0.02em;
  padding: 6px 0;
  position: relative;
  transition: color .25s var(--ease-soft);
}
.site-header nav a.active { color: var(--obliq-paper); font-weight: var(--weight-medium); }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--obliq-champagne);
  transition: width .3s var(--ease-soft);
}
.site-header nav a:hover { color: var(--obliq-paper); }
.site-header nav a:hover::after,
.site-header nav a.active::after { width: 100%; }

/* Header CTA — small white-outline button */
.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  color: var(--obliq-paper);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.55);
  transition: all .25s var(--ease-soft);
  white-space: nowrap;
}
.site-header .header-cta:hover {
  background: var(--obliq-paper);
  color: var(--obliq-ink);
  border-color: var(--obliq-paper);
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--obliq-paper);
  font-size: 22px;
  cursor: pointer;
  padding: 6px 8px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s var(--ease-soft);
  background: none;
}
.btn-primary { background: var(--obliq-ink); color: var(--obliq-paper); }
.btn-primary:hover { background: var(--obliq-champagne); color: var(--obliq-ink); }
.btn-ghost { background: transparent; color: var(--obliq-ink); border-color: var(--obliq-ink); }
.btn-ghost:hover { background: var(--obliq-ink); color: var(--obliq-paper); }
.btn-ghost--light { color: var(--obliq-paper); border-color: rgba(255,255,255,0.45); }
.btn-ghost--light:hover { background: var(--obliq-paper); color: var(--obliq-ink); border-color: var(--obliq-paper); }
.btn-accent { background: var(--obliq-champagne); color: var(--obliq-ink); }
.btn-accent:hover { background: var(--obliq-champ-dark); color: var(--obliq-paper); }
.btn-link {
  padding: 6px 0;
  color: var(--obliq-ink);
  border-bottom: 1px solid var(--obliq-champagne);
}
.btn-link:hover { color: var(--obliq-champagne); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 760px);
  background: var(--obliq-ink);
  color: var(--obliq-paper);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero .hero-bg,
.section-photo .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero .hero-bg::after {
  /* Dark gradient overlay for text legibility — pure neutrals, no colour cast */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.40) 0%, rgba(14,14,14,0.72) 100%);
}

/* Subtle Ken Burns motion (opt-in via .hero-bg--motion) */
@keyframes obliq-ken-burns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}
.hero .hero-bg--motion {
  animation: obliq-ken-burns 24s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-bg--motion { animation: none; transform: scale(1.04); }
}
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1 {
  max-width: 18ch;
  margin: 16px 0 24px;
}
.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-weight: var(--weight-light);
  max-width: 52ch;
}

/* ---- Cards / pillars ---- */
.pillar {
  border-top: 1px solid var(--obliq-line);
  padding-top: 24px;
}
.pillar h3 {
  font-weight: var(--weight-medium);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.pillar p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--obliq-graphite);
  margin: 0;
}

/* ---- Project tile ---- */
.project-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--obliq-bone);
  overflow: hidden;
  text-decoration: none;
  color: var(--obliq-paper);
  display: block;
}
.project-tile .thumb {
  position: absolute; inset: 0;
  background-color: var(--obliq-bone);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .6s var(--ease-soft);
}
.project-tile:hover .thumb { transform: scale(1.04); }
.project-tile .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(14,14,14,0) 0%, rgba(14,14,14,0.78) 100%);
}
.project-tile .meta .eyebrow { color: var(--obliq-champagne); }
.project-tile .meta h4 {
  font-size: 22px;
  font-weight: var(--weight-light);
  margin: 4px 0 0;
  letter-spacing: -0.005em;
}

/* ---- Reusable image block (for "For Architects" teaser, partner pack, etc.) ---- */
.img-block {
  aspect-ratio: 4 / 5;
  background-color: var(--obliq-bone);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- Product family (Collection page) — bone cards, generous spacing ---- */
.product-family { padding: 80px 0 32px; }
.product-family:first-of-type { padding-top: 40px; }
.product-family__title {
  font-weight: var(--weight-light);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 56px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--obliq-bone);
  border: 1px solid var(--obliq-line);
  transition: background-color .25s var(--ease-soft), border-color .25s var(--ease-soft), transform .35s var(--ease-soft);
}
.product-card:hover {
  background: var(--obliq-warm-100);
  border-color: var(--obliq-champagne);
}
.product-card .silo {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.product-card .silo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .35s var(--ease-soft);
}
.product-card:hover .silo img { transform: scale(1.04); }
.product-card .meta {
  padding: 20px 24px 22px;
  border-top: 1px solid var(--obliq-line);
}
.product-card .meta h4 {
  font-weight: var(--weight-medium);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  color: var(--obliq-ink);
}
.product-card .meta p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--obliq-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .product-family { padding: 64px 0 16px; }
  .product-family__title { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Project case study (Projects page) ---- */
.project-block { padding: 96px 0; border-top: 1px solid var(--obliq-line); }
.project-block:first-of-type { border-top: 0; }
.project-meta {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px 48px;
  margin-bottom: 48px;
}
.project-meta dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--obliq-muted);
  font-weight: var(--weight-medium);
  padding-top: 4px;
}
.project-meta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--obliq-graphite);
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.gallery .col { display: grid; gap: 16px; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .project-meta { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .project-block { padding: 56px 0; }
}

/* ---- 404 page ---- */
.nf {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--obliq-ink);
  color: var(--obliq-paper);
  padding: 96px 32px;
}
.nf .num {
  font-family: var(--font-logo);
  font-size: 88px;
  letter-spacing: 0.18em;
  color: var(--obliq-champagne);
  margin: 0;
}
.nf h1 {
  font-weight: var(--weight-light);
  font-size: 40px;
  margin: 24px 0 16px;
}
.nf p {
  color: rgba(255,255,255,0.78);
  margin: 0 auto 32px;
  max-width: 44ch;
}

/* ---- Quote / testimonial ---- */
.quote {
  border-left: 2px solid var(--obliq-champagne);
  padding: 8px 0 8px 32px;
  font-weight: var(--weight-light);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  max-width: 56ch;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--obliq-muted);
}

/* ---- Process steps ---- */
.steps { counter-reset: step; display: grid; gap: 32px; grid-template-columns: repeat(4, 1fr); }
.step { padding-top: 24px; border-top: 1px solid var(--obliq-line); position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--obliq-champagne);
  margin-bottom: 12px;
  font-weight: var(--weight-medium);
}
.step h4 {
  font-size: 18px;
  font-weight: var(--weight-medium);
  margin: 0 0 8px;
}
.step p { font-size: 14px; line-height: 1.65; color: var(--obliq-graphite); margin: 0; }

/* ---- Proof bar (Home — under hero) ---- */
.proof-bar {
  background: transparent;
  border-top: 1px solid var(--obliq-line);
  border-bottom: 1px solid var(--obliq-line);
  padding: 28px 0;
}
.proof-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}
.proof-bar li {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-left: 1px solid var(--obliq-line);
  padding: 0 8px;
}
.proof-bar li:first-child { border-left: 0; }
.proof-bar strong {
  font-weight: var(--weight-medium);
  font-size: 15px;
  color: var(--obliq-ink);
  letter-spacing: 0;
  margin-bottom: 4px;
}
.proof-bar span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obliq-muted);
  font-weight: var(--weight-light);
}
@media (max-width: 720px) {
  .proof-bar ul { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .proof-bar li { border-left: 0; padding: 0; }
}

/* ---- Audience splitter (Home — text only, no boxes) ---- */
.audience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.audience-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  transition: none;
}
.audience-card:hover { background: transparent; }
.audience-card .eyebrow { margin-bottom: 16px; }
.audience-card h3 {
  font-weight: var(--weight-light);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
  color: var(--obliq-ink);
}
.audience-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--obliq-graphite);
  margin: 0 0 20px;
  max-width: 38ch;
}
.audience-card .link-arrow {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  color: var(--obliq-ink);
  border-bottom: 1px solid var(--obliq-champagne);
  padding-bottom: 2px;
  transition: color .25s var(--ease-soft);
}
.audience-card:hover .link-arrow { color: var(--obliq-champagne); }
@media (max-width: 720px) {
  .audience-cards { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- CTA strip ---- */
.cta-strip {
  background: var(--obliq-ink);
  color: var(--obliq-paper);
  padding: 96px 32px;
  text-align: center;
}
.cta-strip h2 {
  font-weight: var(--weight-light);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 auto 24px;
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.cta-strip p {
  color: rgba(255,255,255,0.78);
  margin: 0 auto 32px;
  max-width: 46ch;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--obliq-ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 32px 32px;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding: 0;
}
.site-footer h5 {
  color: var(--obliq-paper);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: var(--weight-medium);
}
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer a:hover { color: var(--obliq-champagne); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .footer-brand .logo-wordmark {
  font-size: 22px;
  color: var(--obliq-paper);
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

/* ---- Section photo (full-width image with text overlay) ---- */
.section-photo {
  position: relative;
  min-height: clamp(380px, 58vh, 620px);
  background: var(--obliq-ink);
  color: var(--obliq-paper);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.section-photo .hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.22) 0%, rgba(14,14,14,0.72) 100%);
}
.section-photo .container {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 64px;
}
.section-photo .eyebrow { color: var(--obliq-champagne); }

/* ---- System overview (homepage) ---- */
.sys-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 24px;
}
.sys-intro-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--obliq-warm-100);
}

/* ---- Architecture stack (homepage) ---- */
.arch-stack { margin-top: 40px; }
.arch-layer {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0 48px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.arch-layer:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.arch-label {
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--obliq-champagne);
  padding-top: 3px;
}
.arch-layer p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  margin: 0;
}
.arch-footnote {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.36);
  font-style: italic;
}

/* ---- Domains grid (homepage) ---- */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.domain-thumb {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--obliq-warm-100);
  margin-bottom: 18px;
}
.domain-item h3 {
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--obliq-ink);
  margin: 0 0 8px;
}
.domain-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--obliq-muted);
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .sys-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .arch-layer { grid-template-columns: 1fr; gap: 6px; }
  .domains-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .domains-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-header { padding: 16px 20px; min-height: 64px; flex-wrap: wrap; }
  .site-header .logo img { height: 36px; }
  .menu-toggle { display: inline-flex; }

  /* Mobile nav drawer — hidden by default, revealed when header has .is-open */
  .site-header nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin: 16px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .site-header nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .site-header nav a::after { display: none; }
  .site-header .header-cta {
    display: none;
    margin: 16px 0 4px;
    align-self: flex-start;
  }
  .site-header.is-open nav,
  .site-header.is-open .header-cta { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-strip { padding: 64px 20px; }
}
