/* =========================================================
   Black Pearl Consulting — Design System
   The private office: matte-black canvas, warm neutrals,
   one pearl accent, hairlines instead of shadows.
   ========================================================= */

:root {
  /* --- Color tokens (warm; never pure #000/#FFF) --- */
  --onyx:        #121211;  /* primary dark surface / text on light */
  --slate:       #1E1D1A;  /* elevated dark surface (cards on dark) */
  --paper:       #FAF7F1;  /* primary light surface (warm white)    */
  --stone:       #E7E0D4;  /* secondary light surface               */
  --sand:        #EFEAE0;  /* tertiary light surface                */
  --pearl:       #C8B79E;  /* accent: hairlines, marks, hover on dark */
  --pearl-deep:  #8A7A62;  /* accent for text/icons on light        */

  --hairline-light: #DCD5C8;
  --hairline-dark:  rgba(200,183,158,0.18);

  --muted-light: #5B574E;  /* secondary text on light */
  --muted-dark:  #B7B1A6;  /* secondary text on dark  */

  /* --- Type --- */
  --serif: "Cinzel", Georgia, "Times New Roman", serif;   /* headings */
  --sans:  "Geist", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;  /* body / UI */
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* --- Layout --- */
  --container: 1200px;
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 32px);
  /* One fluid rhythm for all section spacing — scales continuously from
     phone (56px) to large desktop (140px) with no per-breakpoint jumps. */
  --section-y: clamp(56px, 10vw, 140px);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--paper);
  background: var(--onyx);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: 64ch; }

/* --- Accessibility helpers --- */
.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  background: var(--paper); color: var(--onyx);
  padding: 10px 16px; border-radius: var(--radius);
  z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--pearl);
  outline-offset: 2px;
}

/* =========================================================
   Typography primitives
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pearl);
  margin: 0 0 clamp(16px, 2vw, 24px);
}
.eyebrow--deep { color: var(--pearl-deep); }

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  max-width: 22ch;
}
.section__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-top: clamp(16px, 2vw, 24px);
}

/* =========================================================
   Sections + surface rhythm (dark-first)
   ========================================================= */
.section { padding-block: var(--section-y); }

.section--onyx  { background: var(--onyx);  color: var(--paper); }
.section--slate { background: var(--slate); color: var(--paper); }
.section--paper { background: var(--paper); color: var(--onyx); }
.section--stone { background: var(--stone); color: var(--onyx); }
.section--sand  { background: var(--sand);  color: var(--onyx); }

/* Industries and Partners share the stone surface, so they read as one
   continuous block. Join them with a single small gap instead of two full
   section bands stacked with no colour change between them. */
#industries { padding-bottom: clamp(32px, 4vw, 56px); }
#network    { padding-top: 0; }

.section--paper .section__lead,
.section--stone .section__lead { color: var(--muted-light); }
.section--onyx .section__lead,
.section--slate .section__lead { color: var(--muted-dark); }

/* =========================================================
   Buttons + links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; min-height: 0; font-size: 0.875rem; }

/* Primary on light: Onyx fill */
.btn--solid-onyx { background: var(--onyx); color: var(--paper); }
.btn--solid-onyx:hover { background: var(--slate); box-shadow: 0 10px 28px -8px rgba(0,0,0,0.45); }

/* Primary on dark: Paper fill */
.btn--solid-dark { background: var(--paper); color: var(--onyx); }
.btn--solid-dark:hover { background: var(--stone); box-shadow: 0 10px 28px -8px rgba(0,0,0,0.30); }

/* Secondary / ghost: hairline border, hover -> pearl border */
.btn--ghost { background: transparent; border-color: var(--hairline-dark); color: currentColor; }
.btn--ghost:hover { border-color: var(--pearl); }
.section--paper .btn--ghost, .section--stone .btn--ghost { border-color: var(--hairline-light); }

/* Inline arrow link with animated pearl underline */
.link-arrow {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 3px;
  color: var(--paper);
}
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--pearl);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--onyx);
  border-bottom: 1px solid var(--hairline-dark);
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.nav--scrolled {
  background: rgba(18, 18, 17, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(200, 183, 158, 0.10);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}
.nav__mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0%, var(--pearl) 38%, #6f6147 100%);
  box-shadow: 0 0 0 1px var(--hairline-dark);
  flex: none;
}
.nav__wordmark {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.nav__wordmark-sub {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: inherit;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}
.nav__links > a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--muted-dark);
  padding-bottom: 2px;
  transition: color .25s var(--ease);
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--pearl);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--paper); }
.nav__links > a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px; height: 1.5px;
  background: var(--paper);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 24px;
  border-top: 1px solid var(--hairline-dark);
}
.nav__mobile a:not(.btn) {
  padding: 12px 0;
  text-decoration: none;
  color: var(--muted-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.nav__mobile .btn { margin-top: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero-stage {
  background: var(--onyx);
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--onyx);
  min-height: 100vh;
  min-height: 100svh;   /* honour mobile browser chrome (URL bar) */
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 12vh, 120px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 7, 0.88);
  z-index: 0;
  pointer-events: none;
}
.hero__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: clamp(20px, 3vw, 28px);
  text-wrap: balance;
  color: #FAF7F1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.hero__subhead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.94);
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(32px, 4vw, 44px);
}

/* =========================================================
   Positioning — bento grid (crisp edges)
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bento__box {
  border-radius: 0;                 /* crisp edges */
  border: 1px solid var(--hairline-light);
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 40px);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.bento__card {
  background: #E7E0D4;
}
.bento__card:hover {
  border-color: var(--pearl);
  transform: translateY(-2px);
}

/* Largest box, full width on top */
.bento__head {
  grid-column: 1 / -1;
  background: var(--onyx);
  border-color: var(--onyx);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 30px);
  min-height: clamp(220px, 26vw, 360px);
  padding: clamp(32px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.bento__head::after {
  content: "";
  position: absolute;
  right: -6%; top: -34%;
  width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200,183,158,0.16), transparent 70%);
  pointer-events: none;
}
.bento__title {
  position: relative;
  z-index: 1;
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}
.bento__subhead {
  position: relative;
  z-index: 1;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted-dark);
  max-width: 64ch;
}

/* Two audience boxes */
.bento__card .split__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.bento__card p { color: var(--muted-light); }

/* =========================================================
   Solutions — service cards
   ========================================================= */
.cards { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.solutions__grid { margin-top: clamp(36px, 5vw, 56px); }

.card {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--hairline-dark);
  background: var(--slate);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -38px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.08);
}
.card__title {
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

/* Service card — bullet list */
.soln__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.soln__list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-dark);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.soln__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 1px;
  background: var(--pearl);
}

/* =========================================================
   Team / About — partners on dark, hairline-framed
   ========================================================= */
.team__head { text-align: center; }
.team__title { max-width: none; margin-inline: auto; }

.team__panel { margin-top: clamp(40px, 6vw, 72px); }

.team__people {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.member {
  text-align: center;
  padding: clamp(8px, 2vw, 24px) clamp(16px, 4vw, 56px);
}
.member + .member { border-left: 1px solid var(--hairline-dark); }

.member__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(84px, 9vw, 108px);
  aspect-ratio: 1;
  margin: 0 auto clamp(20px, 2.6vw, 28px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(200,183,158,0.14), rgba(200,183,158,0.04));
  border: 1px solid rgba(200,183,158,0.45);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--pearl);
  overflow: hidden;
}
.member__avatar img {                 /* swap monogram for a real photo when ready */
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.member__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin-bottom: 8px;
}
.member__role {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pearl);
  margin-bottom: clamp(16px, 2vw, 22px);
}
.member__bio {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--muted-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.member__bio + .member__bio { margin-top: 1em; }

.team__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--hairline-dark);
}
.team__logo {
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  letter-spacing: 0.04em;
  color: var(--muted-dark);
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.team__logo:hover { opacity: 1; color: var(--pearl); }

/* =========================================================
   Industries — icon cards (never empty boxes)
   ========================================================= */
.industries { margin-top: clamp(36px, 5vw, 56px); }

/* Image-ready frame — tall tile, label pinned bottom-left */
.icard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--hairline-dark);
  background: var(--slate);
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.icard:hover { border-color: var(--pearl); transform: translateY(-2px); }

.icard__icon {
  position: absolute;
  top: clamp(18px, 2vw, 24px);
  left: clamp(18px, 2vw, 24px);
  width: 34px; height: 34px;
  color: var(--pearl);
  z-index: 2;
}
.icard__icon svg { width: 100%; height: 100%; }

.icard__label {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 18ch;
}

/* Photo: greyscale image + Onyx overlay so every tile reads as one palette */
.icard__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.01);
  transition: filter .45s var(--ease), transform .45s var(--ease);
}
.icard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(18,18,17,0.22) 0%,
    rgba(18,18,17,0.55) 55%,
    rgba(18,18,17,0.90) 100%);
}
.icard:hover .icard__img { filter: grayscale(0.5) contrast(1.04); transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .icard__img { transition: none; transform: none; }
  .icard:hover .icard__img { transform: none; }
}

/* =========================================================
   Network — greyscale partner wordmark strip
   ========================================================= */
.network__caption { color: var(--muted-light); margin-top: 12px; }
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(36px, 5vw, 52px);
  background: var(--hairline-light);
  border: 1px solid var(--hairline-light);
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px 12px;
  background: var(--stone);
  color: var(--muted-light);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  letter-spacing: 0.04em;
  text-align: center;
  filter: grayscale(1);
  transition: color .3s var(--ease);
}
.logo-slot:hover { color: var(--pearl-deep); }

/* =========================================================
   Closing CTA + contact form
   ========================================================= */
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
  margin-top: clamp(8px, 2vw, 20px);
}

.form {
  background: var(--paper);
  color: var(--onyx);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 60px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.55); /* the one allowed soft shadow */
  display: grid;
  gap: 28px;
  align-content: start;
}
.form__head {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pearl-deep);
  padding-bottom: 22px;
  margin: 0;
  border-bottom: 1px solid var(--hairline-light);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.btn--block { width: 100%; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-light);
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--onyx);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-light);
  padding: 11px 2px;
  border-radius: 0;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--pearl-deep);
  box-shadow: inset 0 -1px 0 var(--pearl-deep);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--onyx);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-light);
  padding: 11px 24px 11px 2px;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  accent-color: var(--pearl-deep);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%238A7A62' stroke-width='1.25'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field select:focus {
  outline: none;
  border-bottom-color: var(--pearl-deep);
  box-shadow: inset 0 -1px 0 var(--pearl-deep);
}
.field select:invalid { color: var(--muted-light); }
/* Brand-consistent native option list — replaces the default blue highlight */
.field select option { font-size: 0.9375rem; color: var(--onyx); background: var(--paper); }
.field select option:disabled { color: var(--muted-light); }
.form .btn { justify-self: start; }
.form__status { font-size: 0.875rem; color: var(--pearl-deep); min-height: 1.2em; margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--onyx);
  color: var(--muted-dark);
  border-top: 1px solid var(--hairline-dark);
  padding-block: clamp(48px, 7vw, 80px) 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.6fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--hairline-dark);
}
.footer__brand { display: grid; gap: 24px; align-content: start; }
.footer__social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding: 9px 14px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer__social a:hover { color: var(--pearl); border-color: var(--pearl); }
.footer__social svg { flex: none; }
.footer__head {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
}
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col a { text-decoration: none; font-size: 0.9375rem; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--pearl); }
.footer__col--wide { grid-column: span 1; }
.footer__addr { font-size: 0.875rem; line-height: 1.5; }
.footer__base { padding-top: 28px; }
.footer__base p { font-size: 0.8125rem; color: var(--muted-dark); }

/* =========================================================
   Motion — scroll reveal (quiet)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--wide { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav__inner { min-height: 60px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }

  /* Full-viewport hero holds little copy on mobile — trim the empty band */
  .hero { min-height: 84svh; }

  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento__head { min-height: clamp(180px, 46vw, 240px); }
  .team__people { grid-template-columns: 1fr; }
  .member + .member {
    border-left: 0;
    border-top: 1px solid var(--hairline-dark);
    margin-top: clamp(28px, 7vw, 40px);
    padding-top: clamp(28px, 7vw, 40px);
  }
  .icard { aspect-ratio: 16 / 10; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .form { padding: clamp(24px, 6vw, 36px); gap: 22px; }
  .form__row { grid-template-columns: 1fr; gap: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Very small phones — stack the hero actions for full-width tap targets */
@media (max-width: 400px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow { text-align: center; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
