/* ==========================================================================
   Ultra Homes — base layer
   Design tokens, reset, typography, layout primitives, header, footer, forms.

   Brand palette is taken from the Ultra Homes logo:
     slate  #465658  (ULTRA wordmark)
     cyan   #4DD9FF  (HOMES wordmark, chevron mark)
   Everything else is a warm neutral supporting those two colours.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  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, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  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, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  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, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --slate: #465658;
  --cyan: #4dd9ff;
  --cyan-strong: #22b8e0;
  --cyan-ink: #0a7188; /* accessible cyan for small text on light backgrounds */

  /* Neutrals — warm, architectural */
  --ink-950: #0e1617;
  --ink-900: #131d1f;
  --ink-800: #1b282a;
  --ink-700: #243436;
  --slate-600: #34484a;
  --slate-500: #465658;
  --slate-400: #647a7c;
  --slate-300: #8b9c9c;
  --stone-300: #c9c2b6;
  --stone-200: #e2dbcf;
  --stone-100: #eee8dd;
  --paper: #f8f5f0;
  --paper-2: #f2ede4;
  --white: #fffdfa;

  /* Text */
  --text: #2c3a3b;
  --text-strong: #16211f;
  --text-muted: #62706f;
  --text-invert: #f4f1ea;
  --text-invert-muted: #b9c4c2;

  /* Lines & surfaces */
  --line: rgba(22, 33, 31, 0.13);
  --line-strong: rgba(22, 33, 31, 0.26);
  --line-invert: rgba(244, 241, 234, 0.2);

  /* Type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.05rem + 0.35vw, 1.32rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.7vw, 2.85rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.2rem);
  --step-5: clamp(3rem, 1.9rem + 5.4vw, 6rem);
  --step-6: clamp(3.4rem, 1.9rem + 7vw, 7.6rem);

  /* Layout */
  --shell: 1380px;
  --gutter: clamp(1.15rem, 4.2vw, 4.5rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --header-h: 84px;

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

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

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

:focus-visible {
  outline: 2px solid var(--cyan-strong);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Shared type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.display em,
.section-title em,
.hero__title em {
  font-style: italic;
  color: var(--slate-400);
}

.section--dark .display em,
.section--dark .section-title em {
  color: var(--cyan);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-400);
  line-height: 1.4;
}

.kicker::before {
  content: "";
  width: clamp(22px, 4vw, 44px);
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.kicker--bare::before {
  display: none;
}

.kicker--light {
  color: rgba(244, 241, 234, 0.72);
}

.kicker--cyan {
  color: var(--cyan-ink);
}

.section--dark .kicker {
  color: var(--text-invert-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  max-width: 22ch;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.62;
  color: var(--text);
  max-width: 56ch;
}

.prose p + p {
  margin-top: 1.15em;
}

.prose {
  max-width: 62ch;
}

.prose--wide {
  max-width: 72ch;
}

.prose strong {
  font-weight: 600;
  color: var(--text-strong);
}

.prose a,
.link-inline {
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--cyan-strong);
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

.prose a:hover,
.link-inline:hover {
  color: var(--cyan-ink);
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: var(--step--1);
  line-height: 1.6;
}

.mono-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: 1060px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.section--paper {
  background: var(--paper);
}

.section--stone {
  background: var(--paper-2);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--ink-950);
  color: var(--text-invert);
}

.section--dark .lede,
.section--dark p {
  color: var(--text-invert-muted);
}

.section--flush-top {
  padding-top: 0;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.section--dark .rule {
  background: var(--line-invert);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper);
  --btn-line: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  min-height: 50px;
  padding: 0.9rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-line);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: 2px;
  transition: background-color 260ms var(--ease), color 260ms var(--ease),
    box-shadow 260ms var(--ease), transform 260ms var(--ease), border-color 260ms var(--ease);
}

.btn:hover {
  box-shadow: inset 0 0 0 1px var(--cyan), 0 10px 30px -18px rgba(10, 22, 22, 0.55);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn .btn__arrow {
  display: inline-block;
  transition: transform 260ms var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  --btn-line: var(--line-strong);
}

.btn--outline:hover {
  --btn-bg: transparent;
  box-shadow: inset 0 0 0 1px var(--text-strong);
}

.btn--light {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink-900);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-invert);
  --btn-line: rgba(244, 241, 234, 0.38);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.btn--cyan {
  --btn-bg: var(--cyan);
  --btn-fg: var(--ink-900);
}

.btn--sm {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text-strong);
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}

.link-arrow svg {
  transition: transform 260ms var(--ease);
}

.link-arrow:hover {
  color: var(--cyan-ink);
  border-color: var(--cyan-strong);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.section--dark .link-arrow {
  color: var(--text-invert);
  border-color: var(--line-invert);
}

.section--dark .link-arrow:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-120%);
  background: var(--ink-900);
  color: var(--paper);
  padding: 0.9rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding-block: 0.6rem;
}

.brand img {
  width: clamp(148px, 15vw, 196px);
  height: auto;
}

.site-header__nav {
  margin-inline-start: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  margin: 0;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-600);
  transition: color 200ms var(--ease);
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 1px;
  background: var(--cyan-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link.is-active {
  color: var(--text-strong);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__toggle svg {
  width: 9px;
  height: 9px;
  transition: transform 240ms var(--ease);
}

.nav__item--open .nav__toggle svg {
  transform: rotate(180deg);
}

.nav__item {
  position: relative;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.2rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.menu-toggle__bars {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}

/* Mega menu */
.megamenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(680px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(14, 22, 23, 0.55);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--ease), transform 260ms var(--ease), visibility 220ms;
}

.nav__item--open .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.megamenu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1.6rem;
}

.megamenu__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0.9rem;
  border-radius: 2px;
  transition: background-color 200ms var(--ease);
}

.megamenu__item:hover {
  background: var(--paper-2);
}

.megamenu__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--text-strong);
}

.megamenu__desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.megamenu__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--paper);
  padding: 1.1rem var(--gutter) 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 420ms var(--ease), visibility 420ms;
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__close {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-nav__links {
  display: grid;
  gap: 0.15rem;
  align-content: start;
}

.mobile-nav__links a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  line-height: 1.1;
  color: var(--text-strong);
}

.mobile-nav__links a span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--slate-300);
  font-weight: 600;
}

.mobile-nav__links a[aria-current="page"] {
  color: var(--cyan-ink);
}

.mobile-nav__foot {
  display: grid;
  gap: 1rem;
}

.mobile-nav__contact {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.mobile-nav__contact a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--text-invert);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(77, 217, 255, 0) 45%);
  opacity: 0.6;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__brand img {
  width: min(230px, 70%);
  margin-bottom: 1.5rem;
}

.footer__intro {
  color: var(--text-invert-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 34ch;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
  margin-bottom: 1.2rem;
}

.footer__list {
  display: grid;
  gap: 0.62rem;
  font-size: 0.92rem;
}

.footer__list a {
  color: var(--text-invert-muted);
  transition: color 200ms var(--ease);
}

.footer__list a:hover {
  color: var(--cyan);
}

.footer__contact {
  display: grid;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-invert-muted);
}

.footer__contact a {
  color: var(--text-invert);
}

.footer__contact a:hover {
  color: var(--cyan);
}

.footer__contact address {
  font-style: normal;
  line-height: 1.65;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.footer__social a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-invert);
  border-radius: 50%;
  color: var(--text-invert-muted);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.footer__social a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.footer__social svg {
  width: 15px;
  height: 15px;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-invert);
  border-bottom: 1px solid var(--line-invert);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.62);
}

.footer__badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__badges span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.8;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 1.8rem;
  font-size: 0.76rem;
  color: rgba(244, 241, 234, 0.55);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer__legal a:hover {
  color: var(--cyan);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1.15rem;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-600);
}

.field label .req {
  color: var(--cyan-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.95rem;
  color: var(--text-strong);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  appearance: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23465658' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--slate-400);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan-strong);
  box-shadow: 0 0 0 3px rgba(77, 217, 255, 0.28);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
}

.field__error {
  font-size: 0.78rem;
  color: #9c221b;
  line-height: 1.45;
}

.field__hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.form__note {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 42ch;
}

.form__status {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan-strong);
  background: var(--white);
  font-size: 0.9rem;
  line-height: 1.6;
}

.form__status--error {
  border-left-color: #b3261e;
  background: #fdf6f5;
}

.form__status ul {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.2rem;
  font-size: 0.86rem;
}

.form__status ul li::before {
  content: "— ";
  color: var(--slate-300);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

.section-head {
  display: grid;
  gap: 1.3rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.6rem);
}

.section-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.section-head p {
  max-width: 58ch;
}

/* Reveal on scroll — only when JS is present and motion is welcome */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive base ---------- */
@media (max-width: 1120px) {
  .site-header__nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header__actions .btn {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }
}
