/* ---------------------------------------------------------------
   Cortisonic — brand tokens (from "Cortisonic branding concepts", Sept 2026)
   --------------------------------------------------------------- */
:root {
  --yellow:        #e9c31e;
  --yellow-dark:   #c9aa1a;
  --yellow-light:  #ffeda9;
  --slate:         #2c3b44;
  --slate-deep:    #00242d;
  --grey:          #caccd5;
  --teal-dark:     #0083a2;
  --teal:          #00accd;
  --teal-light:    #90d7ec;
  --teal-text:     #006b85;  /* teal-dark deepened to pass 4.5:1 on paper and white */
  --sand:          #dfd9c3;
  --cream:         #f0ead8;
  --paper:         #f8f4e9;

  --bg:            var(--paper);
  --fg:            var(--slate);
  --fg-muted:      #5a6770;
  --rule:          rgba(44, 59, 68, 0.14);

  --font: "SUSE", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 6px;

  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4:  clamp(2.6rem, 1.8rem + 4vw, 4.6rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }
h4 { font-size: var(--step-0); font-weight: 700; }
p  { margin: 0; }
a  { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Small yellow text fails WCAG contrast on paper (about 2:1), so labels are set in
   slate and carry the yellow as a short rule instead. On slate the yellow passes. */
.eyebrow {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--yellow); flex: none; }
.section-dark .eyebrow { color: var(--yellow); }
.link-text, .pub-link, .person-link { color: var(--teal-text); }

.lede {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 62ch;
}
.section-dark .lede { color: var(--grey); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--yellow); color: var(--slate);
  padding: 0.5rem 1rem; z-index: 100; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--slate);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--slate);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--slate-deep); border-color: var(--slate-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: #fff; }
.btn-small { padding: 0.55rem 1.15rem; font-size: var(--step--1); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--slate-deep); }
.btn-yellow:hover { background: var(--yellow-light); border-color: var(--yellow-light); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------------------------------------------------------------
   Header / nav
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--slate); }
/* Compact mark in the header and footer. */
.brand-mark { width: 36px; height: 36px; flex: none; color: var(--yellow); }
.brand-word { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; line-height: 1; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: var(--step--1);
  padding: 0.35rem 0; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 7px; align-items: center;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav .btn { margin-top: 1rem; align-self: flex-start; }
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas-wrap {
  position: absolute; inset: 0; z-index: -1;
}
#lattice { display: block; width: 100%; height: 100%; opacity: 0.9; }
/* Optional: large, partial, ghosted mark behind the headline.
   Off by default. Add class "hero--mark" to <section class="hero"> to enable. */
.hero-mark {
  display: none;
  position: absolute;
  height: 160%; width: auto; aspect-ratio: 1;
  top: -28%; left: 20%;
  color: var(--slate);
  opacity: 0.07;
  pointer-events: none;
}
.hero--mark .hero-mark { display: block; }
@media (max-width: 800px) {
  .hero-mark { height: 120%; top: -10%; left: 30%; opacity: 0.06; }
}
.hero-canvas-wrap::after {
  /* soften the lattice behind the copy so text stays legible */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 88%, transparent) 42%, transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--paper) 100%);
}
@media (max-width: 800px) {
  /* on narrow screens the copy spans the lattice, so quieten it */
  #lattice { opacity: 0.45; }
  .hero-canvas-wrap::after {
    background:
      linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--paper) 80%, transparent) 25%,
                      color-mix(in srgb, var(--paper) 80%, transparent) 75%, var(--paper) 100%);
  }
}
.hero-grid { padding-block: clamp(4rem, 10vh, 8rem); }
.hero-copy { max-width: 620px; }
.hero-badge { display: block; width: 120px; height: 120px; margin-bottom: 1.5rem; }
@media (max-width: 800px) { .hero-badge { display: none; } }
.hero h1 { margin-bottom: 1.5rem; color: var(--slate-deep); }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--slate); }
.hero .lede { margin-bottom: 2.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------------------------------------------------------------
   Stats
   --------------------------------------------------------------- */
.stats { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 2.25rem 2rem; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-size: var(--step-3); font-weight: 800; color: var(--slate-deep); line-height: 1; margin-bottom: 0.5rem; }
.stat-value span { color: var(--slate); font-weight: 300; }
.stat p { color: var(--fg-muted); font-size: var(--step--1); max-width: 26ch; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; }
}

/* ---------------------------------------------------------------
   Sections
   --------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head h2 { margin-bottom: 1.25rem; }
.section-tint { background: var(--cream); }
.section-dark {
  background: var(--slate); color: #fff;
  --fg-muted: var(--grey);
  --rule: rgba(255,255,255,0.14);
}
.section-dark h2, .section-dark h3 { color: #fff; }

/* Backers strip */
.backers { background: var(--paper); border-bottom: 1px solid var(--rule); }
.backers-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  column-gap: clamp(3rem, 7vw, 6.5rem); row-gap: 1.25rem;
  padding: 1.5rem 0;
}
.backers-group { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; column-gap: 2.5rem; row-gap: 1rem; }
.backers-label { font-size: var(--step--1); color: var(--fg-muted); font-weight: 300; margin-right: -0.75rem; }
.backers-group img { display: block; width: auto; opacity: 0.72; transition: opacity .2s; }
.backers-group a { display: block; line-height: 0; }
.backers-group a:hover img { opacity: 1; }
@media (max-width: 640px) {
  .backers-row { flex-direction: column; row-gap: 1.75rem; }
  .backers-group { flex-direction: column; row-gap: 0.9rem; }
  .backers-label { margin-right: 0; }
}

/* Why now */
.section-why { background: var(--cream); border-bottom: 1px solid var(--rule); }
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-copy p + p { margin-top: 1.1rem; }
.why-copy > p:not(.lede) { color: var(--fg-muted); max-width: 62ch; }
.press { font-size: var(--step--1); }
.press a { color: var(--teal-text); text-decoration: none; border-bottom: 1px solid currentColor; }
.press a:hover { color: var(--slate); }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

/* Pipeline */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.pipe-step {
  padding: 1.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
}
.pipe-step-featured { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.pipe-icon { width: 56px; height: 56px; color: var(--slate); margin-bottom: 1.25rem; }
.pipe-icon svg { width: 100%; height: 100%; }
.pipe-icon .nodes-fill { fill: var(--yellow); stroke: var(--slate); }
.pipe-icon .accent-stroke { stroke: var(--yellow-dark); stroke-width: 2.5; }
.pipe-step h3 { margin-bottom: 0.6rem; }
.pipe-step p { color: var(--fg-muted); font-size: var(--step--1); }
.pipe-arrow { width: 44px; position: relative; }
.pipe-arrow::before {
  content: ""; position: absolute; top: 50%; left: 6px; right: 6px; height: 1px; background: var(--slate);
}
.pipe-arrow::after {
  content: ""; position: absolute; top: 50%; right: 6px; width: 8px; height: 8px;
  border-top: 1px solid var(--slate); border-right: 1px solid var(--slate);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 860px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipe-arrow { height: 40px; width: auto; }
  .pipe-arrow::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .pipe-arrow::after { left: 50%; right: auto; top: auto; bottom: 6px; transform: translateX(-50%) rotate(135deg); }
}

/* Split section head with feature image */
.section-head-split {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.technology-note { margin-top: 1rem; font-size: var(--step--1); color: var(--fg-muted); }
.feature-img { margin: 0; }
.feature-img img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(0, 36, 45, 0.45);
}
.feature-img figcaption, .hardware figcaption {
  font-size: var(--step--1); color: var(--fg-muted); margin-top: 0.75rem; line-height: 1.5;
}
@media (max-width: 860px) { .section-head-split { grid-template-columns: 1fr; } }

/* Hardware photo strip */
.hardware {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.hardware figure { margin: 0; }
.hardware img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 860px) { .hardware { grid-template-columns: 1fr; } }

/* Properties */
.props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.prop { padding-top: 1.25rem; border-top: 2px solid var(--yellow); }
.prop h4 { margin-bottom: 0.5rem; }
.prop p { color: var(--fg-muted); font-size: var(--step--1); }
@media (max-width: 720px) { .props { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  padding: 1.75rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid var(--rule);
  transition: border-color .2s, background .2s;
}
.card:hover { border-color: var(--yellow); background: rgba(255,255,255,0.06); }
.card-icon { width: 44px; height: 44px; color: var(--yellow); margin-bottom: 1.25rem; }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--grey); font-size: var(--step--1); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards { grid-template-columns: 1fr; } }

/* Publications */
.pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 2rem; }
.pub {
  padding-top: 1.25rem; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.pub-venue { font-size: 0.75rem; font-weight: 600; color: var(--yellow-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.pub h3 { font-size: var(--step-0); }
.pub p { color: var(--fg); font-size: var(--step--1); }
.pub-link { margin-top: 0.6rem; font-size: var(--step--1); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; }
.pub-link:hover { color: var(--slate); }
.pub-details > summary { list-style: none; }
.pub-details > p { margin-top: 0.6rem; }
.mobile-details > summary::-webkit-details-marker { display: none; }
.mobile-details > summary:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 4px; }
.hardware-more { grid-column: span 2; min-width: 0; }
.hardware-more > summary { display: none; }
.hardware-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) {
  .hardware-more { grid-column: auto; }
  .hardware-extra { grid-template-columns: 1fr; }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.person h3 { font-size: var(--step-0); margin-bottom: 0.15rem; }
.person .role { font-size: var(--step--1); color: var(--fg-muted); font-weight: 600; margin-bottom: 0.7rem; }
.person-link {
  display: inline-block; margin-top: 0.7rem;
  font-size: var(--step--1); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.person-links { display: flex; gap: 0.5rem; margin-top: 0.85rem; }
.person-links a { display: inline-flex; color: var(--slate); opacity: 0.75; transition: opacity .2s, color .2s; }
.person-links a:hover, .person-links a:focus-visible { opacity: 1; color: var(--teal-text); }
.person-links svg { width: 26px; height: 26px; }
.person-link:hover { color: var(--slate); }
.section-dark .person-link { color: var(--yellow); }
.section-dark .person-link:hover { color: var(--yellow-light); }
.person p:not(.role) { color: var(--fg-muted); font-size: var(--step--1); }
.avatar {
  width: 112px; height: 112px; border-radius: 50%;
  object-fit: cover; display: block;
  background: var(--sand);
  filter: grayscale(1) contrast(1.05);
  margin-bottom: 1.1rem;
  transition: filter .3s;
}
.person:hover .avatar { filter: none; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap .section-head { max-width: none; margin-bottom: 2rem; }
.roadmap-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.roadmap-step { padding-top: 1.25rem; border-top: 3px solid var(--yellow); }
.roadmap-step h3 { font-size: var(--step-0); margin-bottom: 0.5rem; }
.roadmap-step p { color: var(--fg-muted); font-size: var(--step--1); }
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* Compact phone layout */
@media (max-width: 560px) {
  .section { padding-block: 3rem; }
  .section-head { margin-bottom: 2rem; }
  .pipeline { margin-bottom: 2rem; }
  .pipe-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0.75rem; padding: 1.25rem; }
  .pipe-icon { width: 32px; height: 32px; margin-bottom: 0; }
  .pipe-step h3 { align-self: center; margin-bottom: 0; }
  .pipe-step p { grid-column: 1 / -1; }
  .pipe-arrow { height: 24px; }
  .hardware { margin-top: 2rem; gap: 0.75rem; }
  .hardware-extra { margin-top: 1rem; }
  .hardware-more > summary { color: var(--teal-text); font-size: var(--step--1); font-weight: 500; }
  .mobile-details > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 44px; cursor: pointer; list-style: none;
  }
  .mobile-details > summary::after {
    content: ""; width: 8px; height: 8px; flex: none; margin-right: 3px;
    border-right: 2px solid var(--yellow-dark); border-bottom: 2px solid var(--yellow-dark);
    transform: rotate(45deg);
  }
  .mobile-details[open] > summary::after { transform: rotate(225deg); }
  .pubs { gap: 1.25rem; }
  .pub-link { margin-top: 0; }
  .person { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 1rem; }
  .person .avatar { width: 64px; height: 64px; grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; }
  .person h3 { grid-column: 2; align-self: end; margin-bottom: 0.3rem; }
  .person .role { grid-column: 2; align-self: start; margin-bottom: 0; }
  .person > p:not(.role) { grid-column: 1 / -1; }
  .person > p:not(.role):not(.person-links) { margin-top: 1rem; }
}

/* Contact */
.contact { background: var(--slate-deep); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr;
  grid-template-areas: "intro form" "details form";
  column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.contact-intro { grid-area: intro; }
.contact-details { grid-area: details; }
.contact h2 { margin-bottom: 1.25rem; }
.contact-alt { margin-top: 1.25rem; color: var(--grey); font-size: var(--step--1); }
.contact-alt a { color: var(--yellow); text-decoration: none; border-bottom: 1px solid currentColor; }
.join { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.join h3 { margin-bottom: 0.5rem; }
.join p { color: var(--grey); font-size: var(--step--1); max-width: 48ch; }

.contact-form { grid-area: form; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23caccd5' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.field select option { color: var(--slate); }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--yellow); }
.contact-form .btn { justify-self: start; margin-top: 0.25rem; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr; grid-template-rows: auto;
    grid-template-areas: "intro" "form" "details"; gap: 2.5rem;
  }
  .contact-alt { margin-top: 0; }
}

/* Footer */
.site-footer {
  position: relative; color: #fff;
  background: var(--slate-deep);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { width: 32px; height: 32px; color: var(--yellow); }
.brand-footer .brand-word { font-size: 1.05rem; }
.footer-tag { color: var(--grey); font-weight: 300; }
.footer-links { display: flex; gap: 1.25rem; font-size: var(--step--1); color: var(--grey); }
.footer-links a { color: var(--yellow); text-decoration: none; border-bottom: 1px solid currentColor; }
.footer-links a:hover { color: var(--yellow-light); }
.footer-copy { color: var(--grey); font-size: var(--step--1); }

/* ---------------------------------------------------------------
   Reveal on scroll
   --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
