/* ======================================================================
   Regortek — v2  (light theme, refined typography)
====================================================================== */
:root {
  /* Surfaces — warm, light */
  --bg: #f7f4ee;
  --bg-2: #fffdf9;
  --surface: #ffffff;
  --surface-2: #fbf8f1;
  --band: linear-gradient(135deg, #ffffff 0%, #f4efe4 100%);

  /* Ink */
  --heading: #16201e;
  --ink: #2c3a37;
  --muted: #5d6c68;
  --subtle: #8b948f;

  /* Brand — teal primary, gold/amber pop (complements the gold mark) */
  --teal: #0c7d6e;
  --teal-deep: #0a5f54;
  --teal-bright: #16a892;
  --teal-soft: rgba(12, 125, 110, 0.10);
  --gold: #b9791a;
  --gold-soft: rgba(185, 121, 26, 0.12);

  --accent: var(--teal);
  --pop: var(--gold);

  /* Dark green header bar */
  --header-bg: #0c2a20;
  --dark-heading: #f6f2e8;
  --dark-ink: rgba(233, 238, 235, 0.82);
  --dark-line: rgba(255, 255, 255, 0.14);
  --gold-bright: #e8c884;
  --teal-pop: #35c9ad;

  /* Lines + shadow */
  --line: #e7e0d2;
  --line-strong: rgba(12, 125, 110, 0.32);
  --shadow-soft: 0 14px 34px rgba(28, 45, 48, 0.06);
  --shadow: 0 26px 60px rgba(28, 45, 48, 0.11);
  --shadow-button: 0 14px 34px rgba(12, 125, 110, 0.22);

  --max: 1180px;
  --radius: 20px;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% -2%, rgba(185, 121, 26, 0.08), transparent 30rem),
    radial-gradient(circle at 4% 4%, rgba(12, 125, 110, 0.05), transparent 26rem),
    var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
}

/* ----------------------------------------------------------------------
   Typography — Fraunces display + Inter, given room to breathe
---------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin-top: 0;
  font-family: Fraunces, "Iowan Old Style", Georgia, "Times New Roman", serif;
  color: var(--heading);
  font-weight: 500;
  letter-spacing: -0.005em;
}

h1 {
  margin-bottom: 24px;
  max-width: 17ch;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 500;
}

p { margin-top: 0; }

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------------
   Layout helpers
---------------------------------------------------------------------- */
.section-pad {
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  max-width: 740px;
  margin-bottom: 8px;
}
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

/* ----------------------------------------------------------------------
   Header
---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--dark-line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

/* Header text sized up 25% and recolored for the dark green bar */
.site-header #brandName {
  color: var(--dark-heading);
  font-size: 28.75px;
}
.site-header .brand-logo {
  filter:
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 16px rgba(232, 200, 132, 0.35));
}
.site-header .nav-links {
  color: var(--dark-ink);
  font-size: 18.75px;
}
.site-header .dropdown-link { font-size: 18.1px; }
.site-header .header-cta { font-size: 18.75px; }
.site-header .nav-link:hover,
.site-header .nav-trigger:hover,
.site-header .nav-link.is-current,
.site-header .has-dropdown.is-current > .nav-trigger {
  color: var(--teal-pop);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

#brandName, #footerBrand {
  font-family: Fraunces, "Iowan Old Style", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--heading);
}
.footer-brand #footerBrand { font-size: 21px; }

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  transition: transform 200ms ease;
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.footer-brand .brand-logo { height: 36px; }

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav-link, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.is-current,
.has-dropdown.is-current > .nav-trigger {
  color: var(--accent);
}
.nav-link.is-current,
.has-dropdown.is-current > .nav-trigger { font-weight: 600; }

.caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
  opacity: 0.7;
}

.nav-item.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  z-index: 60;
  display: grid;
  min-width: 260px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.has-dropdown:hover > .dropdown,
.has-dropdown.is-expanded > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover > .nav-trigger .caret,
.has-dropdown.is-expanded > .nav-trigger .caret {
  transform: rotate(225deg) translateY(-2px);
}

.dropdown-link {
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14.5px;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}
.dropdown-link:hover,
.dropdown-link.is-current {
  background: var(--teal-soft);
  color: var(--accent);
}

.menu-toggle { display: none; }

.header-cta {
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-bright);
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}
.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

/* Page views */
.page { display: none; }
.page.is-active { display: block; animation: page-fade 300ms ease; }
@keyframes page-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------------
   Buttons
---------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button.primary {
  border: 0;
  background: linear-gradient(140deg, var(--teal-bright), var(--teal-deep));
  color: #fff;
  box-shadow: var(--shadow-button);
}
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(12, 125, 110, 0.30);
}
.button.ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--heading);
}
.button.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

/* ----------------------------------------------------------------------
   Hero
---------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  gap: 52px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 72px;
}
.hero-copy h1 { max-width: 16ch; }
.lead {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.value-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--band);
  box-shadow: var(--shadow);
}
.value-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.value-tag {
  display: inline-flex;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.value-card strong {
  display: block;
  margin-top: 8px;
  font-family: Fraunces, serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--heading);
}
.value-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.value-card-free {
  text-align: left;
  cursor: pointer;
  font: inherit;
  border-color: var(--line-strong);
  background: var(--surface);
}
.value-card-free .value-tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
}
.value-card-free:hover { border-color: var(--accent); }
.value-free-link {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
}

/* ----------------------------------------------------------------------
   Why band
---------------------------------------------------------------------- */
.why-band .section-heading {
  max-width: 880px;
  margin: 0;
}
.why-band h2 { font-size: clamp(28px, 3.2vw, 42px); }
.why-band p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

/* ----------------------------------------------------------------------
   Cards
---------------------------------------------------------------------- */
.feature-card,
.teaser-card,
.provide-card,
.usecase-card,
.pricing-card,
.person-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.outcome-grid .feature-card:nth-child(4),
.outcome-grid .feature-card:nth-child(5) {
  grid-column: span 1;
}
.feature-card {
  padding: 30px;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Who we serve */
.serve {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
}
.serve-copy p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.scope-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.scope-cloud span {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
}

/* Service teasers */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.teaser-card {
  display: block;
  padding: 34px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.teaser-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--pop);
  font-family: Fraunces, serif;
  font-size: 26px;
  font-weight: 500;
}

/* Primary / featured service — spans the full row */
.teaser-card.is-primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "index tag"
    "title title"
    "body body"
    "link link";
  column-gap: 18px;
  row-gap: 6px;
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 121, 26, 0.10), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, #f1f7f5 100%);
}
.teaser-card.is-primary .teaser-index { grid-area: index; margin-bottom: 0; align-self: center; }
.teaser-card.is-primary h3 {
  grid-area: title;
  margin-top: 6px;
  font-size: clamp(24px, 2.6vw, 32px);
}
.teaser-card.is-primary p {
  grid-area: body;
  max-width: 760px;
  font-size: 16.5px;
}
.teaser-card.is-primary .teaser-link { grid-area: link; }

.teaser-tag {
  grid-area: tag;
  justify-self: start;
  align-self: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.teaser-card h3 { font-size: 22px; }
.teaser-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}
.teaser-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
}
.teaser-link::after { content: " \2192"; }

/* Assessment + CTA bands */
.assessment-band,
.cta-band {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--band);
  padding: 48px;
}
.assessment-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 44px;
  align-items: center;
  border-color: var(--line-strong);
}
.assessment-band h2 { font-size: clamp(26px, 3vw, 40px); margin: 0; }
.assessment-band p {
  margin: 16px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.assessment-band .button { margin-top: 26px; }

/* Who we are */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.person-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
}
.person-photo {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.person-initials {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--accent);
  font-family: "Fraunces", serif;
  font-size: 30px;
  font-weight: 600;
}
.person-photo.is-fallback .person-initials { display: flex; }
.person-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  margin: 0;
}
.person-linkedin {
  display: inline-flex;
  align-items: center;
  color: #0a66c2;
  line-height: 0;
  transition: opacity 150ms ease;
}
.person-linkedin:hover { opacity: 0.72; }
.person-title {
  margin: 4px 0 14px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.person-role {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--surface-2);
}
.person-role-tag {
  color: var(--subtle);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.person-role-text {
  color: var(--heading);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
.person-role-text strong {
  color: var(--accent);
  font-weight: 600;
}
.person-bio {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
}
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { margin: 0; }
.cta-band p {
  margin: 12px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}
.cta-band .button { flex: none; }

/* ----------------------------------------------------------------------
   Page hero (solution + pricing pages)
---------------------------------------------------------------------- */
.page-hero {
  padding-top: 96px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(34px, 4vw, 52px);
}
.page-tagline {
  margin: -8px 0 18px;
  font-family: Fraunces, serif;
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--accent);
}
.page-hero-lead {
  max-width: 660px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

/* Provide card */
.provide-split { padding-bottom: 40px; }
.provide-card {
  padding: 38px;
  max-width: 880px;
}
.provide-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.check-list.two-col { grid-template-columns: repeat(2, 1fr); }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

/* Use case grid */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.usecase-card {
  padding: 30px;
  transition: transform 180ms ease, border-color 180ms ease;
}
.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.usecase-index {
  color: var(--pop);
  font-family: Fraunces, serif;
  font-size: 18px;
  font-weight: 500;
}
.usecase-card h3 {
  margin: 10px 0 10px;
  font-size: 20px;
}
.usecase-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

/* Callout row (advisory workload planning) */
.callout-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--band);
}
.callout-text p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.pill-list span {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

/* ----------------------------------------------------------------------
   Pricing
---------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pricing-card.is-highlight { border-color: var(--line-strong); }
.pricing-tag {
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 4px; }
.pricing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 15.5px;
}
.pricing-card p strong { color: var(--heading); font-weight: 600; }
.pricing-card div {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.55;
}

/* ----------------------------------------------------------------------
   Contact
---------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 0%, rgba(185, 121, 26, 0.07), transparent 24rem),
    var(--surface-2);
}
.contact-copy h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
}
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.contact-email {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 32px;
}
.contact-form label { display: grid; gap: 8px; }
.contact-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.contact-form .wide,
.contact-form button { grid-column: 1 / -1; }
.contact-form button { justify-self: start; min-width: 190px; }

.form-status {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 500;
}
.form-status[data-kind="ok"] { color: var(--teal-deep); }
.form-status[data-kind="error"] { color: #b0361f; }
.form-status[data-kind="info"] { color: var(--muted); }

/* ----------------------------------------------------------------------
   Footer
---------------------------------------------------------------------- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: start;
  padding: 56px max(24px, calc((100vw - var(--max)) / 2)) 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-brand { margin-bottom: 16px; }
.site-footer p {
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-links a:hover { color: var(--accent); }
.site-footer small {
  grid-column: 1 / -1;
  color: var(--subtle);
}

/* ----------------------------------------------------------------------
   Responsive
---------------------------------------------------------------------- */
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: transparent;
    color: var(--dark-heading);
    padding: 9px 13px;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 10px 18px;
    box-shadow: var(--shadow);
  }
  .site-header .nav-links { color: var(--ink); }
  .nav-links.is-open { display: flex; }
  .site-header .nav-link:hover,
  .site-header .nav-trigger:hover,
  .site-header .nav-link.is-current,
  .site-header .has-dropdown.is-current > .nav-trigger {
    color: var(--accent);
  }

  .nav-link, .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }
  .nav-contact {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 0;
  }
  .nav-item.has-dropdown { display: flex; flex-direction: column; }
  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 2px 0 10px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-dropdown:hover > .dropdown { visibility: hidden; }
  .has-dropdown.is-expanded > .dropdown {
    display: grid;
    visibility: visible;
    transform: none;
  }
  .header-cta { display: none; }

  .hero, .serve, .contact, .callout-row, .cta-band, .assessment-band {
    grid-template-columns: 1fr;
  }
  .hero { gap: 44px; }
  .outcome-grid,
  .teaser-grid,
  .usecase-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-band { align-items: flex-start; }
}

@media (max-width: 680px) {
  .section-pad { padding: 32px 20px; }
  .site-header { gap: 14px; padding-inline: 18px; }
  .brand-logo { height: 34px; }
  #brandName { font-size: 20px; }

  .outcome-grid,
  .teaser-grid,
  .usecase-grid,
  .pricing-grid,
  .team-grid,
  .check-list.two-col,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .assessment-band, .cta-band, .callout-row { padding: 32px; }
  .footer-links { justify-content: flex-start; }
}
