/* Golden Homes — Lead Capture Page
 * Mobile-first. Layout breakpoints: 640px (2-up grids), 900px (desktop
 * header + side-by-side panels), 1100px (3-up steps).
 */

@font-face {
  font-family: "Butler";
  src: url(../assets/3f4704b25cfec071.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url(../assets/8de3b6bfa84fdb40.woff) format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(../assets/cc58d9baf673b8f1.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  src: url(../assets/d836ea72083e6be9.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --gold: #f3bc45;
  --gold-dark: #e2a92c;
  --ink: #000;
  --muted: #676762;
  --olive: #565747;
  --surface: #f5f5f5;
  --field: #f1f1f1;
  --line: #afafad;
  --offwhite: #f9f8f7;

  --serif: "Butler", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: 20px;
  --section-y: clamp(48px, 7vw, 80px);
  --radius: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cpath fill='%23fff' d='M11.24 18.83 18.06 12.1l1.14 1.13-4.8 4.74H26.98v1.72H14.4l4.83 4.74-1.15 1.16z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 clamp(16px, 0.25vw + 15px, 19px) / 1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

section[id] { scroll-margin-top: 16px; }

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font: 400 clamp(17px, 0.3vw + 16px, 20px) / 1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold-dark); }
}

/* ---------- Type ---------- */
.section-title {
  font: 400 clamp(28px, 1.6vw + 20px, 36px) / 1.06 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.section-head__sub { color: var(--muted); max-width: 46ch; }

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 400px) minmax(0, 530px);
    justify-content: space-between;
    align-items: start;
  }
  .section-head__sub { color: inherit; }
  .showhomes .section-head__sub { color: var(--muted); }
}

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 20;
  background: #000;
  color: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.header__logo img { width: clamp(130px, 12vw, 175px); }

/* Checkbox burger (mobile + tablet). */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-burger {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  cursor: pointer;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 200ms var(--ease-out), opacity 120ms ease;
}
.nav-burger span { top: 21px; }
.nav-burger span::before,
.nav-burger span::after { content: ""; left: 0; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }
.nav-toggle:checked + .nav-burger span { background: transparent; }
.nav-toggle:checked + .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Full-screen sheet under the logo + burger, which sit above it (z-index)
   so the burger doubles as the close button. Fades only; the links settle
   in with a short stagger. Page scroll is locked while it's open. */
.header__logo,
.nav-burger { position: relative; z-index: 2; }
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: start;
  padding: 96px var(--gutter) 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms;
}
.nav-toggle:checked ~ .nav {
  visibility: visible;
  opacity: 1;
  transition: opacity 240ms var(--ease-out);
}
html:has(.nav-toggle:checked) { overflow: hidden; }
.nav__list a {
  display: block;
  padding: 18px 0;
  font: 400 clamp(26px, 6vw, 32px) / 1.1 var(--serif);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav__list li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}
.nav-toggle:checked ~ .nav .nav__list li {
  opacity: 1;
  transform: none;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.nav-toggle:checked ~ .nav .nav__list li:nth-child(2) { transition-delay: 40ms; }
.nav-toggle:checked ~ .nav .nav__list li:nth-child(3) { transition-delay: 80ms; }
.nav-toggle:checked ~ .nav .nav__list li:nth-child(4) { transition-delay: 120ms; }
.nav__cta { display: none; }

@media (min-width: 900px) {
  .header__bar { min-height: 116px; }
  .nav-burger { display: none; }
  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 120px);
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transition: none;
  }
  .nav__list { display: flex; gap: clamp(20px, 2.8vw, 40px); }
  .nav__list li { opacity: 1; transform: none; transition: none; }
  .nav__list a { padding: 4px 0; border: 0; font: 400 clamp(16px, 1.1vw + 4px, 19px) / 1.2 var(--sans); }
  .nav__cta { display: inline-flex; }
  @media (hover: hover) and (pointer: fine) {
    .nav__list a { transition: color 160ms ease; }
    .nav__list a:hover { color: var(--gold); }
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #2b2b2b;
}
.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero__inner {
  display: grid;
  gap: 32px;
  padding-block: 40px 32px;
}
.hero__panel {
  justify-self: center;
  width: 100%;
  max-width: 724px;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}
.hero__title {
  font: 900 clamp(30px, 1.6vw + 22px, 36px) / 1.15 var(--serif);
  text-wrap: balance;
}
.hero__lede {
  max-width: 650px;
  margin: 16px auto 0;
  text-wrap: pretty;
}
.hero__capture {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 398px;
  margin: 24px auto 0;
}
.hero__email {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 22px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius);
  background: rgba(245, 245, 245, 0.8);
  color: var(--ink);
  font: inherit;
}
.hero__email::placeholder { color: var(--muted); }
.hero__email[aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 1px #e5484d; }
.hero__error { margin-top: -8px; color: #ffd4d4; font-size: 15px; }
.hero__cta { width: 100%; max-width: 294px; }

.usps {
  display: grid;
  gap: 18px;
  justify-content: center;
}
.usps li {
  display: grid;
  grid-template-columns: 56px auto;
  align-items: center;
  gap: 16px;
  line-height: 1.2;
}
.usps img { justify-self: center; }

@media (min-width: 640px) {
  .usps { grid-template-columns: repeat(2, auto); justify-content: space-around; }
}
@media (min-width: 900px) {
  .hero { min-height: clamp(560px, 50vw, 713px); display: grid; }
  .hero__inner { grid-template-rows: 1fr auto; padding-block: 94px 42px; }
  .hero__panel { align-self: start; padding: 48px clamp(24px, 3vw, 40px); }
  .usps { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .usps li { grid-template-columns: auto minmax(0, 160px); gap: 24px; }
}

/* ---------- Carousel (shared) ----------
 * CSS scroll-snap does the work, so every carousel still swipes and scrolls
 * with JS stripped. main.js only reveals and wires the arrow buttons.
 * Buttons sit inside .carousel regions, which Trellis's submit bridge
 * leaves alone. */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
/* position: relative keeps absolutely positioned descendants (e.g. the
   visually-hidden spec labels) inside the slide, so the track clips them;
   otherwise off-screen slides widen the phone layout viewport. */
.carousel__slide { position: relative; scroll-snap-align: start; min-width: 0; }

.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 4.5px;
  background: #f5f5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cpath d='M11.24 18.83 18.06 12.1l1.14 1.13-4.8 4.74H26.98v1.72H14.4l4.83 4.74-1.15 1.16z'/%3E%3C/svg%3E") center / 100% no-repeat;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), opacity 160ms ease;
}
.carousel__btn--next { transform: scaleX(-1); }
.carousel__btn:active { transform: scale(0.94); }
.carousel__btn--next:active { transform: scaleX(-1) scale(0.94); }
.carousel__btn--grey { background-color: #d5d5d5; }
/* White arrow on a dark square: reviews (black) and phone steps (olive). */
.carousel__btn--dark {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: #000 var(--arrow-white) center / 100% no-repeat;
}
.carousel__btn--sm { width: 30px; height: 30px; border-radius: 4px; background-color: #fff; }
.carousel__btn[aria-disabled="true"] { opacity: 0.4; cursor: default; }

/* ---------- Homes ---------- */
.homes { padding-block: var(--section-y); }
.homes__grid { gap: 20px; }

/* Phone: the card carousel owns horizontal swipes; each card's photos
   change with their own arrows only, so the two never fight a swipe. */
@media (max-width: 639px) {
  .home-card__media .carousel__track { overflow-x: hidden; }
  .homes__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .homes__cta .btn { padding-inline: clamp(14px, 4vw, 28px); font-size: clamp(15px, 4.4vw, 17px); white-space: nowrap; }
}
@media (min-width: 640px) {
  .homes__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 54px;
    overflow: visible;
  }
  .homes__nav { display: none; }
}

.home-card__media { border-radius: var(--radius); overflow: hidden; }
.home-card__media img {
  width: 100%;
  aspect-ratio: 573 / 297;
  object-fit: cover;
  border-radius: var(--radius);
}
.home-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--olive);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}
.home-card__nav { position: absolute; top: 18px; right: 18px; }

.home-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
}
.home-card__name { font: 400 clamp(16px, 0.3vw + 15px, 19px) / 1.3 var(--sans); }

.specs { display: flex; gap: clamp(16px, 2vw, 28px); }
.specs li { display: flex; align-items: center; gap: 8px; }
.specs img { width: auto; height: 32px; }

.homes__cta { margin-top: clamp(28px, 3vw, 40px); text-align: center; }

/* ---------- Process ---------- */
.process {
  position: relative;
  isolation: isolate;
  padding-block: 48px 40px;
  overflow: hidden;
  background: #1c1c1a;
}
.process__bg,
.process__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.process__title { color: var(--offwhite); text-align: center; margin-bottom: 32px; }

/* Progress bar (phones only): the fill is scaled by main.js (--progress,
   0–1) as the track scrolls, so it reads "how far through the steps am I". */
.process__progress {
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.28);
}
.process__progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.process__track { gap: 16px; scroll-padding-inline: 0; }
.step {
  padding: 22px 26px 32px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}
.step__num { font-size: 15px; text-transform: uppercase; }
.step__title { margin: 6px 0 16px; color: var(--ink); font: 400 20px / 1.15 var(--sans); }
.process__nav { justify-content: center; margin-top: 28px; }

/* Phones: one step at a time inside a single light panel — progress bar
   along its top edge, arrows tucked in its bottom-left corner. */
@media (max-width: 639px) {
  .process__panel {
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
  }
  .process__progress {
    height: 14px;
    border-radius: 8px 8px 0 0;
    background: #d6d6d4;
  }
  .process__progress span { border-radius: 0 8px 8px 0; }
  .process__track { gap: 0; }
  .step { padding: 22px 22px 8px; border-radius: 0; }
  .process__nav { justify-content: flex-start; margin: 0; padding: 12px 22px 22px; }
  .process__nav .carousel__btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: var(--muted) var(--arrow-white) center / 100% no-repeat;
  }
}

@media (min-width: 640px) {
  .process__progress { display: none; }
  .process__track { grid-auto-columns: calc((100% - 30px) / 2); gap: 30px; }
}
@media (min-width: 1100px) {
  .process { padding-block: 48px 38px; }
  .process__track { grid-auto-columns: calc((100% - 60px) / 3); }
}

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--section-y); }
/* Phones: title, slider, badge — stacked and centred. */
.reviews__layout { display: grid; gap: 28px; }
.reviews__title { text-align: center; }
.reviews__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  line-height: 1.2;
}
.reviews__badge img { width: clamp(120px, 10vw, 188px); }
.reviews__badge span { color: var(--muted); }
.reviews__badge strong { display: block; color: var(--ink); font-size: 27px; font-weight: 400; }

.reviews__grid { gap: 20px; }
/* The arrows sit inside the visible card's bottom-right, level with the
   reviewer's name, so they read as part of the card. */
.reviews__nav {
  position: absolute;
  right: clamp(22px, 3.5vw, 48px);
  bottom: clamp(21px, 3vw, 32px);
}
.reviews__carousel:has(.reviews__nav button:not([hidden])) .review__name { padding-right: 76px; }

@media (min-width: 768px) {
  .reviews__layout {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(28px, 3vw, 40px) 40px;
  }
  .reviews__title { text-align: left; }
  .reviews__badge { grid-row: 1; grid-column: 2; }
  .reviews__carousel { grid-column: 1 / -1; }
  .reviews__grid { grid-auto-columns: calc((100% - 40px) / 2); gap: 40px; }
}
.review {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 35px) clamp(22px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}
.review__title { margin: 18px 0 16px; font: 700 clamp(17px, 0.3vw + 16px, 19px) / 1.25 var(--sans); }
.review__quote { flex: 1; font-size: clamp(16px, 0.4vw + 15px, 20px); }
.review__name { margin-top: 28px; font-size: clamp(16px, 0.4vw + 15px, 20px); }

/* ---------- Showhomes ---------- */
.showhomes { padding-block: var(--section-y); background: var(--surface); }
.showhomes__panel {
  display: grid;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 25px;
  background: rgba(249, 249, 249, 0.2);
}

.map { position: relative; background: #d3dedb; }
.map__img { width: 100%; height: 100%; object-fit: cover; }
.map__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(30px, 3.4vw, 44px);
  translate: -50% -50%;
  transition: opacity 200ms ease, scale 200ms var(--ease-out);
}
/* Once main.js is running, only the current showhome's pin is shown. */
.map[data-active] .map__pin { opacity: 0; scale: 0.8; }
.map[data-active="0"] [data-pin="0"],
.map[data-active="1"] [data-pin="1"],
.map[data-active="2"] [data-pin="2"],
.map[data-active="3"] [data-pin="3"] { opacity: 1; scale: 1; }

.showhomes__carousel { display: flex; flex-direction: column; padding: 24px 20px; min-width: 0; }
.showhome__media { position: relative; margin-bottom: 28px; }
.showhome__media img { width: 100%; aspect-ratio: 542 / 286; object-fit: cover; }
/* Gold "roof" sits on the photo's bottom edge, as in the original design. */
.showhome__media::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -24px;
  width: clamp(110px, 32%, 176px);
  aspect-ratio: 176 / 56;
  background: url(../assets/9c205c37a0faf815.svg) center bottom / 100% no-repeat;
}
.showhome__name { font: 400 clamp(24px, 1vw + 18px, 28px) / 1.2 var(--serif); }
.showhome__info { margin-top: 12px; }
.showhomes__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}

@media (min-width: 720px) {
  .showhomes__panel { grid-template-columns: minmax(0, 600fr) minmax(0, 596fr); }
  .showhomes__carousel { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 36px) clamp(28px, 3vw, 44px); }
}

/* ---------- Register (form) ---------- */
.register { padding-block: var(--section-y); }
.register__grid { display: grid; gap: 32px; align-items: center; }
.register__img { width: 100%; max-width: 646px; margin-inline: auto; }
.register__title {
  font: 900 clamp(28px, 1.6vw + 20px, 36px) / 1.2 var(--serif);
  text-wrap: balance;
}
.register__sub { margin-top: 12px; color: var(--muted); max-width: 32ch; }

@media (max-width: 719px) {
  .register__body { text-align: center; }
  .register__sub { margin-inline: auto; }
}
@media (min-width: 720px) {
  .register__grid { grid-template-columns: minmax(0, 646fr) minmax(0, 519fr); gap: clamp(28px, 3vw, 40px); }
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 13px;
  margin-top: 28px;
  text-align: left;
}
.field { grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
@media (max-width: 380px) {
  .field--half { grid-column: 1 / -1; }
}

.form input,
.form select {
  width: 100%;
  height: 57px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 0;
  background-color: var(--field);
  color: var(--ink);
  font: 400 16px / 1.2 var(--sans);
  transition: border-color 160ms ease;
}
.form input::placeholder { color: var(--muted); }
.form input:focus,
.form select:focus { outline: none; border-color: var(--olive); }
.form select {
  appearance: none;
  padding-right: 44px;
  background: var(--field) url(../assets/7984689eaf50b024.svg) right 16px center / 18px no-repeat;
  cursor: pointer;
}
.form select:invalid { color: var(--muted); }
.form select option { color: var(--ink); }
.form__submit { grid-column: 1 / -1; justify-self: start; min-width: min(283px, 100%); margin-top: 2px; }
@media (max-width: 719px) {
  .form__submit { justify-self: stretch; }
}

/* ---------- Footer ---------- */
/* Phones: links on top, the two logos side by side underneath.
   From 640px: logo | links | tagline on one row. */
.footer { padding-block: 34px; background: #000; color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "links links" "logo tagline";
  align-items: center;
  justify-items: center;
  gap: 24px 16px;
  text-align: center;
}
.footer__logo { grid-area: logo; width: clamp(124px, 20vw, 250px); }
.footer__tagline { grid-area: tagline; width: clamp(88px, 9vw, 126px); }
.footer__links { grid-area: links; display: grid; gap: 4px; }
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 1fr auto 1fr; grid-template-areas: "logo links tagline"; }
  .footer__logo { justify-self: start; }
  .footer__tagline { justify-self: end; }
}
.footer__links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover { text-decoration: underline; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; }
}
