@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --shell: min(1180px, calc(100% - 2.5rem));
  --header-h: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header — consulting template style */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(78, 64, 71, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 22rem;
}

.logo-footer {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.55rem 1.05rem;
  background: var(--surface-dark);
  color: var(--gold) !important;
  border: 1px solid var(--surface-dark);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--surface-dark-soft);
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.32rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--surface-dark);
  color: var(--gold);
}

.btn-primary:hover {
  background: var(--surface-dark-soft);
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--brand-sage) 45%, transparent);
}

.btn-ghost-on-dark {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost-on-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.text-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero — full-bleed template */
.hero-bleed {
  position: relative;
  min-height: min(88svh, 52rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.08) contrast(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
}

.hero-overlay .hero-copy {
  max-width: 38rem;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-bleed h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-overlay > *,
.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-rise 0.9s var(--ease) forwards;
}

.hero-kicker { animation-delay: 0.05s; }
.hero-bleed h1 { animation-delay: 0.15s; }
.hero-lead { animation-delay: 0.28s; }
.hero-actions { animation-delay: 0.4s; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-overlay > *,
  .hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: var(--paper-deep);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.shell-narrow {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
}

.section-lead {
  color: var(--muted);
  margin-bottom: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: start;
}

.about-portrait {
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(0.12) contrast(1.02);
}

.about-copy .section-head {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted);
  max-width: 42rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-facts dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.25rem;
}

.about-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.about-facts a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.about-facts a:hover {
  color: var(--gold-deep);
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
  padding-right: 0;
}

/* CV */
.cv-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cv-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.cv-meta {
  margin-bottom: 0.55rem;
}

.cv-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.cv-when {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  color: var(--gold-deep);
}

.cv-list > li > p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.contact-mail {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-mail:hover {
  color: var(--white);
}

.service-list li {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.service-list li:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.service-list li:nth-child(even) {
  padding-left: 2rem;
}

.service-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.service-list h3::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.55rem;
  background: var(--gold);
  vertical-align: 0.1em;
}

.service-list p {
  color: var(--muted);
  margin: 0;
}

/* Phases */
.phases {
  display: grid;
  gap: 1.5rem;
}

.phases li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.phases li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.phase-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
  min-width: 2.5rem;
}

.phases h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.phases p {
  color: var(--muted);
  margin: 0;
}

/* Trust */
.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.trust-list h3 {
  font-size: 1.15rem;
  padding-top: 1rem;
  border-top: 3px solid var(--gold);
}

.trust-list p {
  color: var(--muted);
  margin: 0;
}

/* Contact */
.section-contact {
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, color-mix(in srgb, var(--brand-gold) 22%, transparent), transparent 55%),
    var(--surface-dark);
  color: var(--white);
}

.section-contact .eyebrow {
  color: var(--gold);
}

.section-contact .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.section-contact .btn-primary {
  background: var(--gold);
  color: var(--ink);
  justify-self: start;
  margin-top: 0.35rem;
}

.section-contact .btn-primary:hover {
  background: var(--gold-deep);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gold);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  background: color-mix(in srgb, var(--brand-plum) 92%, black);
  color: color-mix(in srgb, var(--brand-sage) 70%, transparent);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.brand-footer {
  display: inline-flex;
}

.footer-tag {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--brand-sage) 90%, white);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: color-mix(in srgb, var(--brand-lavender) 85%, white);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--brand-lavender) 55%, transparent);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 22rem;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list li:nth-child(odd),
  .service-list li:nth-child(even) {
    padding: 1.5rem 0;
    border-right: 0;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 4rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: color-mix(in srgb, var(--paper) 98%, transparent);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--surface-dark) !important;
  }

  .hero-bleed {
    min-height: auto;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--surface-dark);
  color: var(--gold);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Active nav */
.site-nav a.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.site-nav .nav-cta.is-active {
  background: var(--surface-dark);
  color: var(--gold) !important;
  text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-deep) 45%, var(--paper));
}

.breadcrumb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.breadcrumb-sep {
  color: var(--accent);
}

/* Media / placeholders */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.media-split-reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.media-frame {
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-frame-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.trust-list-compact {
  margin-top: 1.5rem;
}

.service-list-stack {
  grid-template-columns: 1fr;
  border-top: 0;
}

.service-list-stack li {
  border-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.section-cta-row {
  margin: 2rem 0 0;
}

.section-contact-compact {
  padding: 3.5rem 0;
}

.contact-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-band .section-lead {
  max-width: 36rem;
}

.about-facts-dark dt {
  color: var(--gold);
}

.about-facts-dark dd {
  color: var(--white);
}

.form-legal {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-legal a {
  color: var(--gold);
}

.form-note-ok {
  color: color-mix(in srgb, var(--brand-sage) 40%, white) !important;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col nav {
  display: grid;
  gap: 0.55rem;
}

.footer-col a,
.footer-nav a {
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--brand-sage) 75%, white);
  text-decoration: none;
}

.footer-col a:hover,
.footer-nav a:hover {
  color: var(--gold);
}

.footer-loc {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--brand-lavender) 70%, white);
}

.footer-bottom {
  padding-top: 1.25rem;
}

@media (max-width: 900px) {
  .media-split,
  .media-split-reverse {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal pages */
.legal-page {
  padding-top: 3rem;
}

.legal-prose {
  max-width: 42rem;
}

.legal-prose h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
}

.legal-prose h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.75rem;
}

.legal-prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-lead,
.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.legal-prose ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-prose a:hover {
  color: var(--gold-deep);
}

.legal-note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(78, 64, 71, 0.1);
}

.cookie-card {
  display: grid;
  gap: 1rem;
}

.cookie-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48rem;
}

.cookie-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-btn {
  min-height: 2.75rem;
  min-width: 10.5rem;
}

.cookie-banner .btn-ghost {
  background: var(--paper-deep);
  border-color: var(--ink);
  color: var(--ink);
}

.cookie-banner .btn-ghost:hover {
  background: color-mix(in srgb, var(--brand-sage) 70%, white);
  border-color: var(--ink);
}

.cookie-link {
  border: 0;
  background: transparent;
  padding: 0.4rem 0.2rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.cookie-link:hover {
  color: var(--gold-deep);
}

.cookie-panel {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
}

.cookie-option strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.cookie-option input {
  margin-top: 0.2rem;
  accent-color: var(--brand-gold);
  width: 1.05rem;
  height: 1.05rem;
}

.cookie-option-locked {
  cursor: default;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-link {
    text-align: center;
  }
}

/* ——— Template homepage modules (VamTam Consulting structure) ——— */

.section-mission {
  padding: 4.5rem 0;
}

.mission-statement {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
}

.usp-grid li {
  position: relative;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
}

.usp-grid li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, color-mix(in srgb, var(--brand-sage) 55%, transparent), transparent 70%);
  opacity: 0.9;
}

.usp-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--gold-deep);
}

.usp-icon svg {
  width: 100%;
  height: 100%;
}

.usp-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.usp-grid p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.domain-grid a {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem 1rem;
  transition: background 0.25s var(--ease);
}

.domain-grid a:hover {
  background: var(--paper-deep);
}

.domain-grid-static > li > div {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem 1rem;
}

.domain-grid-static {
  background: var(--paper-deep);
}

.domain-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold-deep);
}

.domain-icon svg {
  width: 100%;
  height: 100%;
}

.domain-grid h3 {
  font-size: 1.1rem;
  margin: 0;
}

.domain-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.why-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.why-media img {
  aspect-ratio: 4 / 3;
}

.numbered-block {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.section-number {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--brand-lavender) 55%, var(--ink));
  letter-spacing: -0.04em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stats-grid li {
  padding: 1.5rem 0;
  border-top: 3px solid var(--gold);
}

.stat-value {
  margin: 0 0 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.stat-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  letter-spacing: 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.principle-grid blockquote {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: var(--paper-deep);
  border-left: 3px solid var(--gold);
}

.principle-grid p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink);
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.industry-chips li {
  padding: 0.7rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.advisor-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.advisor-photo {
  margin: 0;
  overflow: hidden;
  background: var(--white);
}

.advisor-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.advisor-role {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.advisor-body h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.85rem;
}

.advisor-body > p {
  color: var(--muted);
  max-width: 36rem;
}

.advisor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.section-callback {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, color-mix(in srgb, var(--brand-gold) 18%, transparent), transparent 55%),
    var(--surface-dark);
  color: var(--white);
}

.section-callback .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.callback-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: end;
}

.callback-grid h2 {
  color: var(--white);
}

.callback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.callback-form label:nth-child(3),
.callback-form button {
  grid-column: 1 / -1;
}

.callback-form input,
.callback-form select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
}

.callback-form select {
  cursor: pointer;
}

.callback-form option {
  color: var(--ink);
}

.callback-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.callback-form input:focus,
.callback-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.section-callback .btn-primary {
  background: var(--gold);
  color: var(--ink);
  justify-self: start;
}

.section-callback .btn-primary:hover {
  background: var(--gold-deep);
}

.section-cta-cards {
  padding: 0;
  background: color-mix(in srgb, var(--brand-plum) 88%, black);
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-cards article {
  padding: 3rem 1.75rem;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-cards article:last-child {
  border-right: 0;
}

.cta-cards h3 {
  color: var(--white);
  font-size: 1.45rem;
}

.cta-cards p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-heading-spaced {
  margin-top: 1.75rem;
}

.footer-hours p {
  margin: 0;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--brand-lavender) 75%, white);
}

@media (max-width: 980px) {
  .usp-grid,
  .domain-grid,
  .stats-grid,
  .principle-grid,
  .cta-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-cards article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .why-split,
  .advisor-card,
  .callback-grid {
    grid-template-columns: 1fr;
  }

  .advisor-photo {
    max-width: 18rem;
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-tag {
    display: none;
  }

  .hero-bleed {
    min-height: min(78svh, 40rem);
  }

  .hero-overlay {
    padding: 4rem 0 3rem;
  }

  .usp-grid,
  .domain-grid,
  .stats-grid,
  .principle-grid,
  .cta-cards,
  .callback-form {
    grid-template-columns: 1fr;
  }

  .domain-grid {
    padding: 0.75rem;
  }

  .section-mission {
    padding: 3.25rem 0;
  }
}
