/* ==========================================================================
   Anthony Dominic — Realtor®, St. Petersburg FL
   Single stylesheet, organized top to bottom as:
     1. Fonts
     2. Design tokens
     3. Reset & base
     4. Layout primitives
     5. Components
     6. Sections
     7. Utilities
   Written mobile-first: base rules target small screens, media queries add
   complexity upward.
   ========================================================================== */

/* 1. Fonts ----------------------------------------------------------------
   Self-hosted latin subsets. `font-display: swap` keeps text visible during
   load; the matching `size-adjust` values reduce the layout shift when the
   webfont replaces the fallback. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 98%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* Fraunces ships only a decorative, hard-to-read ampersand. This face maps
   U+0026 alone to a locally installed serif, so "&" in a heading renders as a
   conventional ampersand. Listed FIRST in --font-display so it wins for that
   one character. If none of these fonts are installed the face simply fails
   and Fraunces takes over again, so there is nothing to break. */
@font-face {
  font-family: "DisplayAmpersand";
  src: local("Georgia"), local("Times New Roman"), local("Noto Serif"),
    local("Liberation Serif"), local("DejaVu Serif");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0026;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* 2. Design tokens ------------------------------------------------------- */

:root {
  /* Brand palette. Green and ink are carried over from the existing brand
     mark (#043927); brass is the accent that gives the palette its warmth. */
  --green-900: #04231a;
  --green-800: #043927;
  --green-700: #0a4a33;
  --green-600: #135e42;
  --green-100: #dde8e1;

  --brass-600: #8d6c37;
  --brass-500: #b08b4f;
  --brass-200: #e6d5b8;

  --bone-50: #fdfcfa;
  --bone-100: #f7f4ef;
  --bone-200: #ece7de;
  --bone-300: #d9d2c6;

  --ink-900: #12211c;
  --ink-700: #33453d;
  --ink-500: #4d5f57;

  /* Semantic aliases — components reference these, never raw palette steps,
     so the palette can be retuned in one place. */
  --surface: var(--bone-50);
  --surface-alt: var(--bone-100);
  --surface-dark: var(--green-800);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-on-dark: #f4f7f4;
  --text-on-dark-muted: #b9cbc0;
  --accent: var(--brass-500);
  --border: var(--bone-200);
  --border-strong: var(--bone-300);
  --border-on-dark: rgb(255 255 255 / 0.14);

  --danger: #a8352c;
  --success: #1c6b4a;

  /* Type scale — fluid via clamp() so there is no jump between breakpoints. */
  --font-display: "DisplayAmpersand", "Fraunces", ui-serif, Georgia,
    "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.28vw, 1.25rem);
  --step-2: clamp(1.375rem, 1.26rem + 0.55vw, 1.625rem);
  --step-3: clamp(1.625rem, 1.4rem + 1.1vw, 2.25rem);
  --step-4: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-5: clamp(2.375rem, 1.7rem + 3.2vw, 3.75rem);

  /* Spacing — a 4px-based scale. */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Vertical rhythm between major sections. */
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgb(18 33 28 / 0.05), 0 1px 3px rgb(18 33 28 / 0.04);
  --shadow: 0 4px 12px rgb(18 33 28 / 0.06), 0 1px 3px rgb(18 33 28 / 0.05);
  --shadow-lg: 0 18px 40px rgb(18 33 28 / 0.1), 0 4px 12px rgb(18 33 28 / 0.05);

  --container: 74rem;
  --container-narrow: 46rem;
  --header-h: 4.5rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

@media (min-width: 60rem) {
  :root {
    --header-h: 5.25rem;
  }
}

/* 3. Reset & base -------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  /* Anchor links land below the sticky header instead of underneath it. */
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  /* Guard against any single wide child forcing a horizontal scrollbar. */
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  text-wrap: pretty;
}

/* Browsers italicise <address>; the site uses it purely as semantics. */
address {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in oklab, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

ul,
ol {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Anything on a dark ground needs a light focus ring to stay visible. */
.on-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brass-200);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 4. Layout primitives --------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 48rem) {
  .container {
    padding-inline: var(--space-6);
  }
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.65);
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

:where(.section--dark, .on-dark) p {
  color: var(--text-on-dark-muted);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--green-800);
  color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* 5. Components ---------------------------------------------------------- */

/* -- Eyebrow: the small letterspaced label above a heading.

      Convention: container rules that colour bare paragraphs are written as
      `:where(.container) p` so their specificity stays at 0-0-1. That lets a
      component class on a paragraph — .eyebrow, .card__num, .step__num — win
      on its own. Rules that also set layout (.section-head p, .page-head p,
      .cta p) instead spell out :not(.eyebrow), because the eyebrow needs its
      own spacing there. */
.eyebrow {
  display: flex;
  align-items: start;
  gap: var(--space-3);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: var(--space-6);
  height: 1px;
  /* Nudged down to sit on the optical centre of the first line, so a label
     that wraps keeps its rule beside the first line rather than the middle. */
  margin-top: 0.65em;
  background: currentColor;
  flex: none;
}

.section--dark .eyebrow,
.on-dark .eyebrow {
  color: var(--brass-200);
}

/* -- Section header block. */
.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.section-head--tight {
  margin-bottom: var(--space-6);
}

.section-head p:not(.eyebrow) {
  margin-top: var(--space-4);
  font-size: var(--step-1);
  color: var(--text-muted);
}

:where(.section--dark, .on-dark) .section-head p {
  color: var(--text-on-dark-muted);
}

/* -- Buttons. */
.btn {
  --btn-bg: var(--green-800);
  --btn-fg: var(--text-on-dark);
  --btn-border: var(--green-800);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  /* min-height keeps every button a comfortable tap target on touch screens. */
  min-height: 3rem;
  padding: var(--space-3) var(--space-6);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-full);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn:hover {
  --btn-bg: var(--green-700);
  --btn-border: var(--green-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--accent {
  --btn-bg: var(--brass-500);
  --btn-fg: var(--green-900);
  --btn-border: var(--brass-500);
}

.btn--accent:hover {
  --btn-bg: var(--brass-200);
  --btn-border: var(--brass-200);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  --btn-border: var(--border-strong);
}

.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  --btn-border: var(--green-800);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--text-on-dark);
  --btn-border: var(--border-on-dark);
}

.btn--ghost-light:hover {
  --btn-bg: rgb(255 255 255 / 0.08);
  --btn-fg: var(--text-on-dark);
  --btn-border: rgb(255 255 255 / 0.4);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* -- Text link with an animated underline. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--green-700);
  text-decoration: none;
  padding-block: var(--space-1);
}

.link-arrow span {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease);
}

.link-arrow svg {
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover span {
  background-size: 100% 1px;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.on-dark .link-arrow {
  color: var(--brass-200);
}

/* -- Card. */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brass-200);
  }
}

.card__num {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--brass-500);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.card h3 {
  margin-bottom: var(--space-3);
  /* Hairline rule under the card title, drawn with a gradient so it fades. */
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

:where(.card) p {
  color: var(--text-muted);
}

.card__list {
  list-style: none;
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-2);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.card__list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: var(--space-2);
  align-items: start;
}

.card__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--brass-500);
}

.card__foot {
  margin-top: auto;
  padding-top: var(--space-5);
}

.card__list--loose {
  margin-top: var(--space-6);
  gap: var(--space-3);
  font-size: var(--step-0);
}

/* -- Service plate: a typographic panel used where a service section would
      otherwise need a photograph. Swap for a <picture> once real property
      photography is available. */
.service-plate {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-4);
  aspect-ratio: 4 / 5;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  background: var(--green-800);
  background-image: radial-gradient(
    90% 90% at 20% 10%,
    rgb(176 139 79 / 0.28) 0%,
    transparent 60%
  );
  box-shadow: var(--shadow-lg);
}

.service-plate__num {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 1;
  color: var(--brass-200);
}

.service-plate__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
  max-width: 16rem;
}

/* -- Grids. */
.grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 40rem) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid {
    gap: var(--space-6);
  }
}

/* Between 40rem and 62rem a 3-up grid reads better as 2-up. */
@media (min-width: 40rem) and (max-width: 61.999rem) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -- Framed image: portrait with a brass offset rule behind it. */
.frame {
  position: relative;
  isolation: isolate;
}

.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.frame::after {
  content: "";
  position: absolute;
  inset: var(--space-5) calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5);
  border: 1px solid var(--brass-500);
  border-radius: var(--radius-lg);
  z-index: 0;
}

@media (max-width: 47.999rem) {
  .frame::after {
    inset: var(--space-3) calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-3);
  }
}

/* 6. Sections ------------------------------------------------------------ */

/* -- Site header ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bone-50) 88%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
  }
}

/* Toggled by assets/js/main.js once the page scrolls. */
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

/* -- Wordmark. */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15em;
  text-decoration: none;
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green-800);
  white-space: nowrap;
}

.brand__role {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* -- Desktop nav. Hidden below 62rem, where the drawer takes over. */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--green-800);
  background: var(--bone-100);
}

.nav__link[aria-current="page"] {
  color: var(--green-800);
  font-weight: 600;
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--brass-600);
}

.header__phone svg {
  flex: none;
  opacity: 0.7;
}

.header__cta {
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-5);
  font-size: var(--step--1);
}

@media (min-width: 62rem) {
  .nav,
  .header__actions {
    display: flex;
  }
}

/* -- Mobile menu button. */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 44px minimum so it is easy to hit with a thumb. */
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--green-800);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.menu-btn:hover {
  border-color: var(--green-800);
  background: var(--bone-100);
}

.menu-btn__bars {
  position: relative;
  width: 1.125rem;
  height: 0.75rem;
}

.menu-btn__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-btn__bars span:nth-child(1) {
  top: 0;
}
.menu-btn__bars span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.menu-btn__bars span:nth-child(3) {
  bottom: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media (min-width: 62rem) {
  .menu-btn {
    display: none;
  }
}

/* -- Mobile drawer. */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr min(22rem, 88vw);
  visibility: hidden;
}

.drawer[data-open="true"] {
  visibility: visible;
}

.drawer__scrim {
  grid-area: 1 / 1 / 2 / 3;
  background: rgb(4 35 26 / 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.drawer__panel {
  grid-area: 1 / 2 / 2 / 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  /* Space for the notch / home indicator on iPhone. */
  padding: calc(var(--space-5) + env(safe-area-inset-top)) var(--space-5)
    calc(var(--space-6) + env(safe-area-inset-bottom));
  background: var(--green-800);
  color: var(--text-on-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}

.drawer[data-open="true"] .drawer__scrim {
  opacity: 1;
}

.drawer[data-open="true"] .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-on-dark);
}

.drawer__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  color: inherit;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.drawer__close:hover {
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.08);
}

.drawer__list {
  list-style: none;
  display: grid;
  gap: var(--space-1);
}

.drawer__link {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  text-decoration: none;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.drawer__link:hover {
  color: var(--brass-200);
  padding-left: var(--space-2);
}

.drawer__link[aria-current="page"] {
  color: var(--brass-500);
}

.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: var(--space-3);
  font-size: var(--step--1);
}

.drawer__meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  word-break: break-word;
}

.drawer__meta:hover {
  color: var(--text-on-dark);
}

/* -- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-800);
  color: var(--text-on-dark);
  /* Subtle depth without an image: two soft radial washes over the green. */
  background-image: radial-gradient(
      110% 80% at 88% 8%,
      rgb(176 139 79 / 0.22) 0%,
      transparent 60%
    ),
    radial-gradient(90% 70% at 0% 100%, rgb(19 94 66 / 0.55) 0%, transparent 62%);
}

/* Hairline grid, drawn in CSS so it costs no request. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: var(--space-7);
  padding-block: clamp(3rem, 1.5rem + 7vw, 6rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-8);
    padding-block: clamp(4rem, 2rem + 6vw, 7rem);
  }
}

.hero h1 {
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--brass-200);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

.hero__lede {
  margin-top: var(--space-5);
  max-width: 34rem;
  font-size: var(--step-1);
  color: var(--text-on-dark-muted);
}

.hero__actions {
  margin-top: var(--space-6);
}

/* Brokerage / location strip under the hero copy. */
.hero__meta {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-on-dark);
  display: grid;
  gap: var(--space-4);
  list-style: none;
}

@media (min-width: 30rem) {
  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.hero__meta dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-200);
  margin-bottom: var(--space-1);
}

.hero__meta dd {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-on-dark);
  line-height: 1.45;
}

.hero__figure {
  position: relative;
  isolation: isolate;
  max-width: 26rem;
  margin-inline: auto;
  width: 100%;
}

.hero__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgb(4 35 26 / 0.45);
}

/* Brass rule offset behind the portrait. */
.hero__figure::after {
  content: "";
  position: absolute;
  inset: var(--space-5) calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5);
  border: 1px solid rgb(230 213 184 / 0.45);
  border-radius: var(--radius-lg);
  z-index: 0;
}

@media (max-width: 47.999rem) {
  .hero__figure::after {
    inset: var(--space-3) calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-3);
  }
}

@media (min-width: 62rem) {
  .hero__figure {
    max-width: none;
  }
}

/* -- Trust strip ------------------------------------------------------- */

.trust {
  background: var(--green-900);
  color: var(--text-on-dark);
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.trust__list {
  list-style: none;
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
}

@media (min-width: 40rem) {
  .trust__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .trust__list {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.trust__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin-bottom: var(--space-2);
}

.trust__value {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
  color: #fff;
}

/* -- Split section (image + copy) -------------------------------------- */

/* Two-column section layout.
   .split__body is always the wide column and .split__media the narrow one,
   regardless of source order. Add .split--media-first to put the media on
   the left at desktop. On small screens it collapses to one column in DOM
   order, so pages put .split__body first: the heading leads on mobile. */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 62rem) {
  .split {
    /* minmax(0, …) stops a long word or wide image from blowing out a track. */
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--space-9);
  }

  .split__body {
    grid-area: 1 / 1;
  }

  .split__media {
    grid-area: 1 / 2;
  }

  .split--media-first {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .split--media-first .split__media {
    grid-area: 1 / 1;
  }

  .split--media-first .split__body {
    grid-area: 1 / 2;
  }
}

.split__body > * + * {
  margin-top: var(--space-4);
}

:where(.split__body) p {
  color: var(--text-muted);
}

.split__body .btn-row,
.split__body .link-arrow {
  margin-top: var(--space-6);
}

/* -- Process steps ----------------------------------------------------- */

.steps {
  list-style: none;
  display: grid;
  gap: var(--space-6);
  counter-reset: step;
}

@media (min-width: 62rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-7);
  }
}

.step {
  position: relative;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-on-dark);
}

.step__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  color: var(--brass-500);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.step h3 {
  margin-bottom: var(--space-3);
  color: #fff;
}

/* -- Areas served ------------------------------------------------------ */

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-700);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.area-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass-500);
  flex: none;
}

@media (hover: hover) {
  .area-chip:hover {
    border-color: var(--brass-500);
    color: var(--green-800);
    background: var(--bone-50);
  }
}

/* -- Reviews ----------------------------------------------------------- */

/* Excerpt card, used on the home page. */
.quote {
  gap: var(--space-4);
}

.quote__mark {
  color: var(--brass-200);
  flex: none;
}

.quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--text);
}

.quote__cite {
  margin-top: auto;
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-style: normal;
}

/* Initials stand in for the reviewer's photo. The real Facebook avatars are
   served from an expiring, third-party URL, so they are neither reliable nor
   allowed by the site's Content-Security-Policy. */
.quote__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--brass-200);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.quote__name {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--green-800);
}

.quote__detail {
  display: block;
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* Aggregate summary above the full list. */
.review-stats {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  margin-bottom: var(--space-7);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 40rem) {
  .review-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.review-stats__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: var(--space-2);
}

.review-stats__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-800);
}

/* The source name is a phrase rather than a figure, so it takes the body
   font at a smaller size instead of the display face. */
.review-stats__value--source {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  padding-top: 0.2em;
}

.review-stats__value a {
  color: inherit;
  text-decoration-thickness: 1px;
}

/* Full reviews. Two columns on wide screens, because the reviews vary a lot
   in length and a single column leaves a very long page. */
.review-list {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 62rem) {
  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    /* Masonry is not dependable yet, so rows simply align to the tallest
       card in each row — acceptable with four reviews. */
    align-items: start;
  }
}

.review {
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.review__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.review__body {
  margin: 0;
  color: var(--text-muted);
}

.review__body > * + * {
  margin-top: var(--space-4);
}

/* -- Contact ----------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 62rem) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-9);
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.contact-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-4);
  align-items: start;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%
    /* soft brass tint */;
  background: color-mix(in oklab, var(--brass-500) 14%, transparent);
  color: var(--brass-600);
}

.on-dark .contact-item__icon {
  background: rgb(255 255 255 / 0.08);
  color: var(--brass-200);
}

.contact-item__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.on-dark .contact-item__label {
  color: var(--text-on-dark-muted);
}

.contact-item__value {
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  /* Long email addresses must not push the layout wide on small screens. */
  overflow-wrap: anywhere;
}

.on-dark .contact-item__value {
  color: var(--text-on-dark);
}

.contact-item a.contact-item__value:hover {
  color: var(--brass-600);
  text-decoration: underline;
}

.on-dark .contact-item a.contact-item__value:hover {
  color: var(--brass-200);
}

.contact-social {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.contact-social .footer__heading {
  color: var(--brass-600);
}

/* -- Stat plate: typographic panel used in place of a photograph. */
.stat-plate {
  display: grid;
  align-content: center;
  gap: var(--space-2);
  aspect-ratio: 4 / 5;
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--green-800);
  background-image: radial-gradient(
    100% 90% at 80% 5%,
    rgb(176 139 79 / 0.26) 0%,
    transparent 60%
  );
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.stat-plate__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-200);
}

.stat-plate__value {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.05;
}

.stat-plate__meta {
  font-size: var(--step--1);
  color: rgb(255 255 255 / 0.66);
}

/* -- Form -------------------------------------------------------------- */

.form-card {
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 48rem) {
  .form-card {
    padding: var(--space-7);
  }
}

.form-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 40rem) {
  .form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field__label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-700);
}

.field__req {
  color: var(--danger);
  margin-left: 0.15em;
}

.field__hint {
  font-size: var(--step--1);
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  /* 1rem font-size prevents iOS Safari from zooming on focus. */
  font-size: 1rem;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  background: var(--bone-50);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.6;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-500);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--green-700) 18%, transparent);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 18%, transparent);
}

.field__error {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--danger);
}

.field__error:empty {
  display: none;
}

.checkbox {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: var(--step--1);
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin-top: 0.15em;
  padding: 0;
  accent-color: var(--green-700);
}

/* Honeypot: off-screen but not display:none, so bots still fill it in. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form-level status message, populated by main.js after submit. */
.form-status {
  display: none;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius);
  font-size: var(--step--1);
  border: 1px solid transparent;
}

.form-status[data-state="success"],
.form-status[data-state="error"] {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: start;
}

.form-status[data-state="success"] {
  background: color-mix(in oklab, var(--success) 10%, #fff);
  border-color: color-mix(in oklab, var(--success) 35%, #fff);
  color: #174f38;
}

.form-status[data-state="error"] {
  background: color-mix(in oklab, var(--danger) 8%, #fff);
  border-color: color-mix(in oklab, var(--danger) 30%, #fff);
  color: #7d2721;
}

.form-status svg {
  margin-top: 0.15em;
}

.btn[data-busy="true"] {
  opacity: 0.65;
  pointer-events: none;
}

/* -- Page header (interior pages) -------------------------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  background: var(--green-800);
  color: var(--text-on-dark);
  background-image: radial-gradient(
    100% 120% at 100% 0%,
    rgb(176 139 79 / 0.2) 0%,
    transparent 55%
  );
}

/* Sits inside .container rather than on it: sharing the element would let
   .container's `margin-inline: auto` centre this narrower measure. */
.page-head__inner {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
  max-width: 48rem;
}

.page-head h1 {
  font-size: var(--step-4);
  color: #fff;
}

.page-head p:not(.eyebrow) {
  margin-top: var(--space-4);
  font-size: var(--step-1);
  color: var(--text-on-dark-muted);
}

/* -- Breadcrumbs. */
.crumbs {
  font-size: var(--step--1);
  margin-bottom: var(--space-4);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  color: var(--text-on-dark-muted);
}

.crumbs li + li::before {
  content: "/";
  margin-right: var(--space-2);
  opacity: 0.5;
}

.crumbs a {
  color: inherit;
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brass-200);
  text-decoration: underline;
}

.crumbs [aria-current="page"] {
  color: #fff;
}

/* -- Long-form prose (privacy, terms) ---------------------------------- */

.prose {
  max-width: 42rem;
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--space-7);
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: var(--space-6);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  padding-left: var(--space-5);
  display: grid;
  gap: var(--space-2);
}

.prose a {
  color: var(--green-700);
  font-weight: 500;
}

.prose strong {
  color: var(--text);
}

.prose__meta {
  font-size: var(--step--1);
  color: var(--text-muted);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

/* -- Bio prose (about page) -------------------------------------------- */

.bio > * + * {
  margin-top: var(--space-5);
}

.bio p {
  color: var(--text-muted);
}

.bio p:first-of-type {
  font-size: var(--step-1);
  color: var(--text);
}

/* -- Quote / pull-quote ------------------------------------------------ */

.pullquote {
  margin-top: var(--space-6);
  padding-left: var(--space-5);
  border-left: 2px solid var(--brass-500);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--green-800);
}

/* -- CTA band ---------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--green-800);
  color: var(--text-on-dark);
  background-image: radial-gradient(
      80% 120% at 15% 0%,
      rgb(19 94 66 / 0.7) 0%,
      transparent 60%
    ),
    radial-gradient(70% 110% at 95% 100%, rgb(176 139 79 / 0.24) 0%, transparent 60%);
}

.cta__inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
  padding-block: var(--section-y);
  align-items: center;
}

@media (min-width: 62rem) {
  .cta__inner {
    grid-template-columns: 1.2fr auto;
    gap: var(--space-8);
  }
}

.cta h2 {
  color: #fff;
  font-size: var(--step-3);
}

.cta p:not(.eyebrow) {
  margin-top: var(--space-4);
  max-width: 38rem;
  color: var(--text-on-dark-muted);
}

/* -- Footer ------------------------------------------------------------ */

.site-footer {
  background: var(--green-900);
  color: var(--text-on-dark);
  font-size: var(--step--1);
}

.site-footer a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__top {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-8);
}

@media (min-width: 48rem) {
  .footer__top {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: var(--space-6);
  }
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand .brand__role {
  color: var(--brass-200);
}

.footer__blurb {
  margin-top: var(--space-4);
  max-width: 24rem;
  color: var(--text-on-dark-muted);
}

.footer__strong {
  color: #fff;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin-bottom: var(--space-4);
}

.footer__list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.footer__list a,
.footer__list span {
  display: inline-block;
  padding-block: var(--space-1);
  overflow-wrap: anywhere;
}

.footer__address {
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* -- Social icons. */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  margin-top: var(--space-5);
}

.social__link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 50%;
  color: var(--text-on-dark-muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.social__link:hover {
  color: var(--green-900);
  background: var(--brass-200);
  border-color: var(--brass-200);
  transform: translateY(-2px);
}

/* Inverse treatment, for social buttons on a light background. Defined after
   the base so it wins on source order. */
.social__link--light {
  border-color: var(--border-strong);
  color: var(--ink-700);
}

.social__link--light:hover {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-2px);
}

.footer__bottom {
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.09);
  color: var(--text-on-dark-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  list-style: none;
}

.footer__disclosure {
  display: grid;
  gap: var(--space-3);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--text-on-dark-muted) 78%, transparent);
}

@media (min-width: 48rem) {
  .footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer__disclosure {
    grid-column: 1 / -1;
    padding-top: var(--space-4);
    border-top: 1px solid rgb(255 255 255 / 0.06);
  }
}

/* -- Fair-housing / Realtor marks, drawn as inline SVG. */
.marks {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--text-on-dark-muted);
}

.marks svg {
  flex: none;
  opacity: 0.85;
}

.marks__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -- 404 --------------------------------------------------------------- */

.notfound {
  display: grid;
  place-items: center;
  min-height: min(70vh, 34rem);
  text-align: center;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 600;
  color: var(--brass-500);
  line-height: 1;
}

.notfound p {
  margin-block: var(--space-4) var(--space-6);
  max-width: 34rem;
  margin-inline: auto;
  color: var(--text-muted);
}

.notfound .btn-row {
  justify-content: center;
}

/* 7. Utilities ----------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-5 {
  margin-top: var(--space-5);
}

.mt-6 {
  margin-top: var(--space-6);
}

.stack-6 > * + * {
  margin-top: var(--space-6);
}

/* Locks background scroll while the mobile drawer is open. */
.no-scroll {
  overflow: hidden;
  /* Preserve the scrollbar gutter so the page does not shift sideways. */
  scrollbar-gutter: stable;
}

/* Scroll-reveal. Elements start slightly offset and are unhidden by
   main.js via IntersectionObserver. Without JavaScript, or with reduced
   motion, they render in their final state immediately. */
.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
