/* ============================================================
   Solid Foundation Construction - homepage concept
   Design language: Heritage Craft (type, spacing, composition, motion)
   Palette: taken from the Solid Foundation Construction logo
            ink #231f20 + yellow #ffd602, on warm paper neutrals
   Display: Ibarra Real Nova   Body: Radio Canada
   ============================================================ */

:root {
  /* Ink family (their logo black, deepened for footer) */
  --ink:            #231f20;
  --ink-deep:       #171314;
  --ink-soft:       #322c2d;

  /* Paper family (warm neutral ground) */
  --paper:          #f7f3ec;
  --paper-2:        #efe9dd;
  --white:          #ffffff;

  /* Brand yellow, from the logo mark */
  --yellow:         #ffd602;
  --yellow-deep:    #e5c000;

  /* Text */
  --text-head:      #231f20;
  --text-body:      #4a4344;
  --text-muted:     #6b6365;
  --on-ink:         #f3efe8;
  --on-ink-muted:   rgba(243, 239, 232, 0.70);

  /* Rules */
  --rule:           rgba(35, 31, 32, 0.17);
  --rule-strong:    rgba(35, 31, 32, 0.34);
  --rule-light:     rgba(243, 239, 232, 0.22);

  /* Type */
  --font-display:   'Ibarra Real Nova', 'Iowan Old Style', Georgia, serif;
  --font-body:      'Radio Canada', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --wrap:           min(90%, 1100px);
  --wrap-wide:      min(92%, 1340px);
  --wrap-narrow:    min(88%, 760px);
  --nav-h:          86px;
  --pad-y:          clamp(4rem, 8.5vw, 7.5rem);
  --pad-y-tight:    clamp(2.75rem, 5vw, 4.25rem);

  /* Motion */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-head);
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--yellow); color: var(--ink); }

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

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

.nowrap { white-space: nowrap; }

.wrap        { width: var(--wrap);        margin-inline: auto; }
.wrap-wide   { width: var(--wrap-wide);   margin-inline: auto; }
.wrap-narrow { width: var(--wrap-narrow); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--ink); color: var(--on-ink);
  padding: 0.75rem 1.25rem; font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

/* ---------- Shared type pieces ---------- */

.kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
  max-width: 120px;
}
.kicker--ink { color: var(--on-ink-muted); }
.kicker--ink::after { background: var(--rule-light); }
.kicker--solo::after { display: none; }

.h-lg { font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.1; }
.h-md { font-size: clamp(1.65rem, 2.7vw, 2.4rem);  line-height: 1.16; }
.h-sm { font-size: clamp(1.3rem, 1.9vw, 1.6rem);   line-height: 1.25; }

.lede {
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-body);
}

.on-ink  { color: var(--on-ink); }
.on-ink p { color: var(--on-ink-muted); }
.on-ink h1, .on-ink h2, .on-ink h3, .on-ink h4 { color: var(--on-ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.32s var(--ease), color 0.32s var(--ease),
              border-color 0.32s var(--ease), transform 0.32s var(--ease);
  min-height: 48px;
}
.btn__dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex: 0 0 auto;
  transition: transform 0.4s var(--ease);
}
.btn__dot svg { width: 10px; height: 10px; }
.btn:hover .btn__dot { transform: translateX(3px); }

.btn--solid {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.btn--solid .btn__dot { background: rgba(35, 31, 32, 0.14); }
.btn--solid:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--ink .btn__dot { background: rgba(247, 243, 236, 0.18); }
.btn--ink:hover { background: var(--ink-deep); border-color: var(--ink-deep); }

.btn--ghost-light {
  background: transparent;
  color: var(--on-ink);
  border-color: var(--rule-light);
}
.btn--ghost-light .btn__dot { background: rgba(243, 239, 232, 0.16); }
.btn--ghost-light:hover { border-color: var(--yellow); color: var(--yellow); }

.btn--ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn--ghost-ink .btn__dot { background: rgba(35, 31, 32, 0.12); }
.btn--ghost-ink:hover { border-color: var(--ink); background: rgba(35, 31, 32, 0.05); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-stuck {
  height: 68px;
  box-shadow: 0 10px 30px -18px rgba(35, 31, 32, 0.45);
}
.nav__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav__logo img {
  width: auto;
  height: 52px;
  max-width: 260px;
  object-fit: contain;
  transition: height 0.4s var(--ease);
}
.nav.is-stuck .nav__logo img { height: 40px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-head);
  padding-block: 0.5rem;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-head);
  white-space: nowrap;
}
.nav__phone:hover { color: var(--text-muted); }
.nav .btn { padding: 0.7rem 1.25rem; min-height: 44px; font-size: 0.84rem; }

.burger {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}
.burger span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 25px; }
.burger span:nth-child(3) { top: 31px; }

/* Mobile drawer. Close control lives INSIDE the drawer so it shares
   the drawer's stacking context and can never be painted under it. */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--wrap-wide);
  margin-inline: auto;
  min-height: var(--nav-h);
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}
.drawer__top img { width: auto; height: 38px; max-width: 220px; object-fit: contain; }
.drawer__close {
  width: 48px; height: 48px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.drawer__close svg { width: 16px; height: 16px; }
.drawer__body {
  width: var(--wrap-wide);
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 3.5rem) 3rem;
  flex: 1 1 auto;
}
.drawer__links { list-style: none; margin: 0 0 2.25rem; padding: 0; }
.drawer__links a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  line-height: 1.15;
  text-decoration: none;
  color: var(--text-head);
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--rule);
}
.drawer__contact { display: grid; gap: 0.4rem; margin-bottom: 2rem; }
.drawer__contact a {
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-body);
  padding-block: 0.55rem;
  display: inline-block;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: var(--nav-h);
  background: var(--ink);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}
.hero__text {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.6rem, 5vw, 5rem);
  position: relative;
}
.hero__rule {
  display: block;
  width: 76px;
  height: 3px;
  background: var(--yellow);
  transform-origin: left;
  margin-bottom: 1.9rem;
}
.hero__inner { max-width: 40rem; }
.hero__eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 1.4rem;
}
.hero h1 {
  color: var(--on-ink);
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  max-width: 15ch;
  margin-bottom: 1.6rem;
}
.hero__sub {
  color: var(--on-ink-muted);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.68;
  max-width: 40ch;
  margin-bottom: 2.25rem;
}
.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 46vh;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 31, 32, 0.55) 0%, rgba(35, 31, 32, 0.10) 32%, rgba(35, 31, 32, 0) 50%);
  pointer-events: none;
}

/* ---------- About ---------- */

.about {
  background: var(--paper);
  padding-block: var(--pad-y);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about__body p + p { margin-top: 1.15em; }

.affil {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.affil__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.affil img { width: auto; height: 46px; max-width: 200px; object-fit: contain; }
.affil img.affil--tall { height: 58px; }

/* ---------- Promise band ---------- */

.promise {
  background: var(--yellow);
  color: var(--ink);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.promise .kicker { color: rgba(35, 31, 32, 0.78); }
.promise .kicker::after { background: rgba(35, 31, 32, 0.28); }
.promise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: end;
}
.promise h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  color: var(--ink);
  max-width: 14ch;
}
.promise h2 em { font-style: italic; }
.promise p {
  color: rgba(35, 31, 32, 0.86);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  max-width: 46ch;
}

/* ---------- Full-bleed image band ---------- */

.plate {
  position: relative;
  height: clamp(280px, 46vw, 560px);
  overflow: hidden;
  background: var(--ink);
}
.plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Work ---------- */

.work {
  background: var(--ink);
  padding-block: var(--pad-y);
}
.work__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.work__head h2 { max-width: 18ch; }

.area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
  border-top: 1px solid var(--rule-light);
}
.area:first-of-type { border-top: 0; padding-top: 0; }
.area--flip .area__media { order: 2; }
.area__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.area__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area__text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.14;
  color: var(--on-ink);
  margin-bottom: 1rem;
}
.area__text p { color: var(--on-ink-muted); max-width: 46ch; }
.area__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 0.9rem;
}

.addition {
  border-top: 1px solid var(--rule-light);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2.25rem, 4.5vw, 3.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}
.addition h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.14;
  color: var(--on-ink);
  margin-bottom: 1rem;
  max-width: 16ch;
}
.addition p { color: var(--on-ink-muted); }
.addition__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}
.addition__list li {
  color: var(--on-ink);
  font-size: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--rule-light);
  break-inside: avoid;
}
.addition__list li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--yellow);
  vertical-align: middle;
  margin-right: 0.7rem;
}

/* ---------- Right Fit ---------- */

.fit {
  background: var(--paper-2);
  padding-block: var(--pad-y);
}
.fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.fit h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  max-width: 13ch;
}
.fit__rule {
  width: 76px;
  height: 3px;
  background: var(--yellow);
  margin: 1.6rem 0 0;
}
.fit__body p { font-size: clamp(1.02rem, 1.2vw, 1.14rem); }
.fit__body .btn-row { margin-top: 2rem; }

/* ---------- Reviews ---------- */

.reviews {
  background: var(--ink-deep);
  padding-block: var(--pad-y);
}
.reviews__head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.25rem);
}
.review { border-top: 2px solid var(--yellow); padding-top: 1.6rem; }
.review blockquote {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.5;
  color: var(--on-ink);
  max-width: 42ch;
}
.review figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

/* ---------- Crew ---------- */

.crew { background: var(--paper); padding-block: var(--pad-y); }
.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.founder__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-2);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.32;
  color: var(--text-head);
  margin: 0 0 1.6rem;
  max-width: 24ch;
}
.founder__name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.9rem;
}
.founder__name span { color: var(--text-head); }

.roster {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.roster__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.roster__list li {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.roster__list li:first-child { border-top: 1px solid var(--rule); }
.roster__who {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  color: var(--text-head);
  line-height: 1.25;
}
.roster__what { color: var(--text-body); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Contact ---------- */

.contact {
  background: var(--ink);
  padding-block: var(--pad-y);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  color: var(--on-ink);
  max-width: 14ch;
}
.contact__rule { width: 76px; height: 3px; background: var(--yellow); margin-top: 1.6rem; }
.contact__intro {
  color: var(--on-ink-muted);
  margin-top: 1.9rem;
  max-width: 38ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}
.contact__list { display: grid; gap: 1.5rem; margin-bottom: 2.25rem; }
.contact__item .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.35rem;
}
.contact__item a, .contact__item span.value {
  color: var(--on-ink);
  text-decoration: none;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.45;
  display: inline-block;
  padding-block: 0.6rem;
  min-height: 44px;
}
.contact__item a:hover { color: var(--yellow); }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink-deep);
  padding-block: clamp(2.75rem, 5vw, 4rem) 2rem;
  border-top: 1px solid var(--rule-light);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule-light);
}
.footer__logo img { width: auto; height: 44px; max-width: 240px; object-fit: contain; }
.footer__blurb {
  color: var(--on-ink-muted);
  font-size: 0.95rem;
  margin-top: 1.25rem;
  max-width: 34ch;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul a, .footer address a {
  color: var(--on-ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  padding-block: 0.55rem;
}
.footer ul a:hover, .footer address a:hover { color: var(--yellow); }
.footer address { font-style: normal; color: var(--on-ink-muted); font-size: 0.95rem; }
.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(243, 239, 232, 0.55);
  font-size: 0.85rem;
}
.footer__social { display: flex; gap: 1.25rem; }
.footer__social a {
  color: rgba(243, 239, 232, 0.72);
  text-decoration: none;
  font-size: 0.85rem;
  padding-block: 0.4rem;
}
.footer__social a:hover { color: var(--yellow); }

/* ---------- 404 ---------- */

.error-section {
  background: var(--ink);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.error__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 0.9;
  color: rgba(255, 214, 2, 0.22);
  margin-bottom: 1.5rem;
}
.error__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--on-ink);
  margin-bottom: 1.25rem;
}
.error__body { color: var(--on-ink-muted); max-width: 46ch; margin-bottom: 2rem; }

/* ---------- Motion ---------- */

html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .hero__eyebrow,
html.js .hero h1,
html.js .hero__sub,
html.js .hero .btn-row { opacity: 0; transform: translateY(20px); }
html.js .hero__rule { transform: scaleX(0); }
html.js .hero__media img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .hero__eyebrow,
  html.js .hero h1,
  html.js .hero__sub,
  html.js .hero .btn-row { opacity: 1; transform: none; }
  html.js .hero__rule { transform: scaleX(1); }
  html.js .hero__media img { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .burger { display: block; }
  .nav .btn { display: none; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__text { padding-block: clamp(2.75rem, 9vw, 4.5rem) clamp(2.5rem, 8vw, 4rem); }
  .hero__inner { margin-top: 2.25rem; }
  .hero h1 { max-width: 18ch; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(35, 31, 32, 0.45) 0%, rgba(35, 31, 32, 0.06) 34%, rgba(35, 31, 32, 0) 50%);
  }

  .about__grid,
  .promise__grid,
  .fit__grid,
  .contact__grid,
  .founder,
  .addition { grid-template-columns: minmax(0, 1fr); }

  .area { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .area--flip .area__media { order: 0; }

  .reviews__grid { grid-template-columns: minmax(0, 1fr); }

  .founder__photo { aspect-ratio: 4 / 3; max-width: 420px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__logo { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .addition__list { columns: 1; }
  .roster__list li { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .affil { gap: 1.5rem; }
  .affil img { height: 38px; }
  .affil img.affil--tall { height: 46px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { justify-content: flex-start; }
  .btn { width: 100%; justify-content: space-between; }
  .btn-row { gap: 0.75rem; }
  .nav .btn { width: auto; }
}
