/* ==========================================================================
   Crystal Auto Leasing — Quiet Luxury design system
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --porcelain: #f6f3ee;
  --ivory: #fcfaf6;
  --champagne: #c9a96e;
  --gold-deep: #7a5820;
  --graphite: #232326;
  --stone: #6e6961;
  --line: rgba(11, 11, 12, 0.14);
  --line-dark: rgba(246, 243, 238, 0.16);
  --dark-muted: rgba(246, 243, 238, 0.66);
  --dark-faint: rgba(246, 243, 238, 0.44);
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 140px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 86px;
  --admin-bar-offset: 0px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* WordPress fixes the toolbar on desktop/tablet; on small screens it scrolls away.
   main.js tracks its visible height so the header and menu follow it. */
body.admin-bar {
  --admin-bar-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --admin-bar-offset: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar {
    --admin-bar-offset: clamp(0px, calc(46px - var(--page-scroll-y, 0px)), 46px);
  }
}

main [id] {
  scroll-margin-top: calc(var(--header-h) + var(--admin-bar-offset) + 24px);
}

[hidden] {
  display: none !important;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

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

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

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

.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;
}

.skip-link {
  position: fixed;
  top: calc(var(--admin-bar-offset) + 12px);
  left: 12px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--porcelain);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

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

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 1.01;
}

h2 {
  font-size: clamp(2.2rem, 4.3vw, 3.9rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

em {
  font-style: italic;
}

.lead {
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  color: var(--graphite);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section--dark .eyebrow,
.page-hero .eyebrow,
.cta .eyebrow,
.mission .eyebrow {
  color: var(--champagne);
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

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

.section--tight {
  padding-block: clamp(56px, 6vw, 92px);
}

.section--dark {
  background: var(--ink);
  color: var(--porcelain);
}

.section--dark .lead {
  color: var(--dark-muted);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 44rem;
}

.section-head h2 {
  max-width: 18ch;
}

.section-head .lead {
  max-width: 46ch;
}

.section-head__aside {
  flex: none;
  padding-bottom: 4px;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--porcelain);
}

.btn--primary:hover {
  background: var(--gold-deep);
  color: var(--porcelain);
}

.btn--gold {
  background: var(--champagne);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--porcelain);
}

.btn--light {
  background: var(--porcelain);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--champagne);
}

.btn--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--porcelain);
}

.btn--ghost-light {
  border-color: rgba(246, 243, 238, 0.34);
  background: transparent;
  color: var(--porcelain);
}

.btn--ghost-light:hover {
  border-color: var(--porcelain);
  background: var(--porcelain);
  color: var(--ink);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.75rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: var(--admin-bar-offset) 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header--solid,
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 243, 238, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: none;
}

.brand img {
  width: clamp(132px, 12vw, 158px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav a {
  position: relative;
  padding: 7px 0;
  color: var(--graphite);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold-deep);
  transition: right 0.4s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.nav a[aria-current="page"] {
  color: var(--gold-deep);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.header__phone {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--gold-deep);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle span:first-child {
  top: 19px;
}

.nav-toggle span:last-child {
  top: 24px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

body.menu-open .site-header {
  border-bottom-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.menu-open .nav-toggle {
  border-color: var(--line-dark);
}

body.menu-open .nav-toggle span {
  background: var(--porcelain);
}

.mobile-menu {
  position: fixed;
  inset: var(--admin-bar-offset) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--ink);
  color: var(--porcelain);
  overflow-y: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mobile-menu__links a span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--champagne);
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--dark-muted);
  font-size: 0.88rem;
}

.mobile-menu__contact {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.mobile-menu__contact > a,
.mobile-menu__contact > span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu__contact > a:hover {
  color: var(--porcelain);
}

.mobile-menu__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--champagne);
}

.mobile-menu__address {
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.55;
}

.mobile-menu__address svg {
  margin-top: 2px;
}

.mobile-menu__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-menu__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--porcelain);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.mobile-menu__phone:hover {
  color: var(--champagne);
}

.mobile-menu__phone svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--champagne);
}

.mobile-menu__actions .btn {
  min-height: 48px;
  padding-inline: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero film (home) ---------- */

.site-header--overlay:not(.is-scrolled) .brand img {
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.32));
}

.site-header--overlay:not(.is-scrolled) .nav a {
  color: rgba(246, 243, 238, 0.78);
}

.site-header--overlay:not(.is-scrolled) .nav a::after {
  background: var(--champagne);
}

.site-header--overlay:not(.is-scrolled) .nav a:hover,
.site-header--overlay:not(.is-scrolled) .nav a[aria-current="page"] {
  color: var(--porcelain);
}

.site-header--overlay:not(.is-scrolled) .header__phone {
  color: rgba(246, 243, 238, 0.86);
}

.site-header--overlay:not(.is-scrolled) .header__phone:hover {
  color: var(--champagne);
}

.site-header--overlay:not(.is-scrolled) .btn--primary {
  background: var(--champagne);
  color: var(--ink);
}

.site-header--overlay:not(.is-scrolled) .btn--primary:hover {
  background: var(--porcelain);
  color: var(--ink);
}

.site-header--overlay:not(.is-scrolled) .nav-toggle {
  border-color: rgba(246, 243, 238, 0.3);
}

.site-header--overlay:not(.is-scrolled) .nav-toggle span {
  background: var(--porcelain);
}

.hero--film {
  position: relative;
  display: flex;
  min-height: 90vh;
  min-height: 90svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--porcelain);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.03) brightness(0.9);
  transform: scale(1.01);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(11, 11, 12, 0.58) 0%,
      rgba(11, 11, 12, 0.08) 28%,
      rgba(11, 11, 12, 0) 52%
    ),
    linear-gradient(
      90deg,
      rgba(11, 11, 12, 0.84) 0%,
      rgba(11, 11, 12, 0.56) 34%,
      rgba(11, 11, 12, 0.12) 64%,
      rgba(11, 11, 12, 0.34) 100%
    ),
    linear-gradient(
      0deg,
      rgba(11, 11, 12, 0.68) 0%,
      rgba(11, 11, 12, 0.14) 26%,
      rgba(11, 11, 12, 0) 48%
    );
}

.hero__film-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 6vh, 72px);
  padding-top: calc(var(--header-h) + clamp(46px, 8vh, 104px));
  padding-bottom: clamp(26px, 4.5vh, 52px);
}

.hero__film-copy {
  position: relative;
  isolation: isolate;
  max-width: 880px;
  margin-block: auto;
}

.hero__film-copy::before {
  content: "";
  position: absolute;
  inset: -14% -10% -8% -12%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 74% 70% at 42% 50%,
    rgba(8, 8, 9, 0.5) 0%,
    rgba(8, 8, 9, 0.24) 55%,
    rgba(8, 8, 9, 0) 78%
  );
  filter: blur(22px);
}

.hero__film-title {
  max-width: 900px;
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: clamp(2.85rem, 5.4vw, 5.6rem);
  line-height: 0.99;
  letter-spacing: -0.02em;
}

.hero__film-title em {
  color: var(--champagne);
}

.hero__film-lead {
  margin-top: clamp(20px, 2.6vw, 30px);
  max-width: 52ch;
  color: rgba(246, 243, 238, 0.72);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.hero__film-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: clamp(26px, 3.2vw, 38px);
}

.hero--film .eyebrow {
  color: #ead7ad;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero__film-foot {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 20px;
}

.hero__film-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.hero__film-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(246, 243, 238, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.hero__film-btn svg {
  width: 14px;
  height: 14px;
}

.hero__film-btn:hover {
  color: var(--porcelain);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: rgba(246, 243, 238, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.hero__scroll svg {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
  animation: hero-scroll-cue 2.8s var(--ease) infinite;
}

.hero__scroll:hover {
  color: var(--porcelain);
}

@keyframes hero-scroll-cue {
  0%,
  100% {
    transform: rotate(90deg) translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: rotate(90deg) translateX(4px);
    opacity: 1;
  }
}

/* ---------- Stats ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats__item {
  padding: 26px 28px;
  border-left: 1px solid var(--line);
}

.stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats__label {
  margin-top: 8px;
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section--dark .stats__item {
  border-color: var(--line-dark);
}

.section--dark .stats__label {
  color: var(--dark-faint);
}

.section--dark .stats {
  border-color: var(--line-dark);
}

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.split__caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(246, 243, 238, 0.35);
  color: rgba(246, 243, 238, 0.78);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.split__content > .btn {
  align-self: flex-start;
}

.split__content h2 {
  max-width: 16ch;
}

.split__content p {
  max-width: 50ch;
}

.split--reverse .split__media {
  order: 2;
}

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.values--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.value__num {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.value h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.value p {
  margin-top: 10px;
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.65;
}

.section--dark .value {
  border-color: var(--line-dark);
}

.section--dark .value__num {
  color: var(--champagne);
}

.section--dark .value h3 {
  color: var(--porcelain);
}

.section--dark .value p {
  color: var(--dark-muted);
}

/* ---------- Checklist ---------- */

.checklist {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--graphite);
  font-size: 0.9rem;
  line-height: 1.55;
}

.checklist li:last-child {
  border-bottom: 1px solid var(--line);
}

.checklist svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: none;
  color: var(--gold-deep);
}

.section--dark .checklist li {
  border-color: var(--line-dark);
  color: var(--dark-muted);
}

.section--dark .checklist svg {
  color: var(--champagne);
}

/* ---------- Accordion ---------- */

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.65vw, 1.4rem);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  flex: none;
  margin-top: -2px;
  color: var(--gold-deep);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion__body {
  max-width: 66ch;
  padding: 0 40px 24px 0;
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.7;
}

.section--dark .accordion,
.section--dark .accordion details {
  border-color: var(--line-dark);
}

.section--dark .accordion summary {
  color: var(--porcelain);
}

.section--dark .accordion summary::after {
  color: var(--champagne);
}

.section--dark .accordion__body {
  color: var(--dark-muted);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(84px, 10vw, 150px);
  background: var(--ink);
  color: var(--porcelain);
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.02);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(11, 11, 12, 0.94) 0%,
    rgba(11, 11, 12, 0.78) 48%,
    rgba(11, 11, 12, 0.34) 100%
  );
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 48rem;
}

.cta h2 {
  max-width: 16ch;
}

.cta p {
  max-width: 46ch;
  color: var(--dark-muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 10px;
}

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

.footer {
  padding: clamp(64px, 7vw, 92px) 0 30px;
  background: var(--ink);
  color: var(--dark-muted);
  border-top: 1px solid var(--line-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}

.footer__brand img {
  width: 162px;
  height: auto;
}

.footer__brand p {
  max-width: 32ch;
  margin-top: 20px;
  font-size: 0.86rem;
  line-height: 1.75;
}

.footer h4 {
  margin-bottom: 18px;
  color: var(--champagne);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.footer__links {
  display: grid;
  gap: 10px;
  font-size: 0.86rem;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--porcelain);
}

.footer__contact {
  display: grid;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer__contact span {
  display: block;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--dark-muted);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.socials a:hover {
  border-color: var(--champagne);
  background: var(--champagne);
  color: var(--ink);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: var(--dark-faint);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__legal a:hover,
.footer__credit:hover {
  color: var(--porcelain);
}

.footer__credit {
  transition: color 0.3s var(--ease);
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 74vh, 780px);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 6vw, 84px)) 0
    clamp(58px, 7vw, 94px);
  background: var(--ink);
  color: var(--porcelain);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(11, 11, 12, 0.94) 0%,
      rgba(11, 11, 12, 0.82) 34%,
      rgba(11, 11, 12, 0.42) 68%,
      rgba(11, 11, 12, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 11, 12, 0.5) 0%,
      rgba(11, 11, 12, 0.1) 38%,
      rgba(11, 11, 12, 0.55) 100%
    );
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-self: stretch;
  align-items: center;
}

.page-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 44rem;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.8rem);
  line-height: 1.01;
  max-width: 18ch;
}

.page-hero .lead {
  max-width: 46ch;
  color: rgba(246, 243, 238, 0.8);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 8px;
}

.page-hero__note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.66);
}

/* ---------- Mission ---------- */

.mission__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.mission blockquote {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.mission blockquote em {
  color: var(--champagne);
}

.mission__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission__copy p {
  max-width: 50ch;
  color: var(--dark-muted);
}

.mission__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.mission__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

/* ---------- Disclaimer ---------- */

.disclaimer {
  max-width: 82ch;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ---------- FAQ layout ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: calc(var(--header-h) + var(--admin-bar-offset) + 30px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.78rem;
  transition: color 0.3s var(--ease);
}

.faq-nav a span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.faq-nav a:hover {
  color: var(--ink);
}

.faq-group {
  scroll-margin-top: calc(var(--header-h) + var(--admin-bar-offset) + 28px);
}

.faq-group + .faq-group {
  margin-top: clamp(48px, 6vw, 72px);
}

.faq-group h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.faq-group__intro {
  margin-top: 8px;
  margin-bottom: 22px;
  color: var(--stone);
  font-size: 0.88rem;
}

.faq-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(52px, 6vw, 84px);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}

.faq-note h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.faq-note p {
  margin-top: 6px;
  color: var(--stone);
  font-size: 0.88rem;
}

.faq-note__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-note__call-short {
  display: none;
}

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

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + var(--admin-bar-offset) + 30px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-aside__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-aside__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
}

.info-block {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.info-block h4 {
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-size: 0.75rem;
}

.info-block p,
.info-block a {
  font-size: 0.9rem;
  line-height: 1.7;
}

.info-block a:hover {
  color: var(--gold-deep);
}

/* ---------- Forms ---------- */

.form-card {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}

.form-card__head {
  margin-bottom: 28px;
}

.form-card__head h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.form-card__head p {
  margin-top: 8px;
  color: var(--stone);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

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

.field > label,
.fieldset__legend {
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: var(--porcelain);
  color: var(--ink);
  font-size: 0.92rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.field textarea {
  min-height: 116px;
  padding: 13px 15px;
  resize: vertical;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9b958c;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(11, 11, 12, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background-color: var(--ivory);
  box-shadow: 0 0 0 3px rgba(157, 114, 42, 0.12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6961' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 11px;
}

.field input[type="date"] {
  color-scheme: light;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.fieldset__legend {
  margin-bottom: 7px;
  padding: 0;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--porcelain);
}

.segmented label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.segmented label + label {
  border-left: 1px solid var(--line);
}

.segmented input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.segmented label:has(input:checked) {
  background: var(--ink);
  color: var(--porcelain);
}

.segmented label:has(input:focus-visible) {
  outline: 2px solid var(--gold-deep);
  outline-offset: -4px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--graphite);
  font-size: 0.82rem;
  line-height: 1.65;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--gold-deep);
}

.form-note {
  color: var(--stone);
  font-size: 0.75rem;
  line-height: 1.65;
}

.form-note a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(157, 114, 42, 0.45);
  border-radius: var(--radius);
  background: rgba(201, 169, 110, 0.08);
}

.form-success:focus {
  outline: none;
}

.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border: 1px solid rgba(157, 114, 42, 0.4);
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.16);
  color: var(--gold-deep);
}

.form-success__icon svg {
  width: 20px;
  height: 20px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.form-success p {
  color: var(--stone);
  font-size: 0.9rem;
}

/* ---------- Credit app ---------- */

.credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.credit-aside {
  position: sticky;
  top: calc(var(--header-h) + var(--admin-bar-offset) + 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}

.aside-card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--porcelain);
}

.aside-card--dark .aside-card__title,
.aside-card--dark h3 {
  color: var(--porcelain);
}

.aside-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.aside-card p {
  margin-top: 10px;
  color: var(--stone);
  font-size: 0.84rem;
  line-height: 1.7;
}

.aside-card--dark p,
.aside-card--dark .checklist li {
  color: var(--dark-muted);
}

.aside-card--dark .checklist li {
  border-color: var(--line-dark);
}

.aside-card__title {
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aside-card--dark .aside-card__title {
  color: var(--champagne);
}

.aside-card .checklist {
  margin-top: 0;
}

.aside-card .checklist li {
  padding: 12px 0;
  font-size: 0.83rem;
}

.aside-card__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.86rem;
}

.aside-card__contact a:hover {
  color: var(--champagne);
}

.steps {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.step {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.step__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.step.is-active {
  color: var(--ink);
}

.step.is-active .step__num {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--porcelain);
}

.step.is-done .step__num {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.step__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress {
  height: 2px;
  margin: 6px 0 32px;
  overflow: hidden;
  background: var(--line);
}

.progress__bar {
  width: 25%;
  height: 100%;
  background: var(--gold-deep);
  transition: width 0.5s var(--ease);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: step-in 0.5s var(--ease);
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-step__head {
  margin-bottom: 22px;
}

.form-step__head h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.form-step__head p {
  margin-top: 6px;
  color: var(--stone);
  font-size: 0.86rem;
}

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

.step-actions__right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

.review {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}

.review__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.review__row span {
  color: var(--stone);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.review__row strong {
  font-weight: 500;
  text-align: right;
}

.agreement {
  margin-bottom: 22px;
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ---------- Reveal ---------- */

/* Content stays visible if the script fails or never loads. */
.js [data-reveal].is-visible {
  animation: reveal-in 0.35s var(--ease);
}

.js [data-reveal][data-delay="1"] {
  animation-delay: 0.04s;
}

.js [data-reveal][data-delay="2"] {
  animation-delay: 0.08s;
}

.js [data-reveal][data-delay="3"] {
  animation-delay: 0.12s;
}

@keyframes reveal-in {
  from {
    opacity: 0.75;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 1180px) {
  .header__phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 74px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .brand img {
    width: 138px;
  }

  .split,
  .mission__grid,
  .contact-main,
  .credit-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__film-copy {
    max-width: 720px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .contact-aside,
  .credit-aside,
  .faq-nav {
    position: static;
  }

  .values,
  .values--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .contact-aside {
    max-width: 640px;
  }

  .credit-aside {
    order: 2;
    max-width: 640px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .faq-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    border-top: 1px solid var(--line);
  }

  .faq-nav a span {
    display: none;
  }

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

  .stats__item {
    border-top: 1px solid var(--line);
  }

  .stats__item:first-child {
    border-top: 0;
  }

  .stats__item:nth-child(2) {
    border-top: 0;
  }

  .stats__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .header__actions .btn {
    display: none;
  }

  .hero__film-inner {
    gap: 32px;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 24px;
  }

  .hero__film-title {
    font-size: clamp(2.6rem, 9vw, 3.4rem);
  }

  .hero__film-lead {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .hero__film-actions {
    gap: 12px;
    margin-top: 26px;
  }

  .hero__eyebrow-loc {
    display: none;
  }

  .hero__film-foot {
    align-items: center;
    padding-bottom: 16px;
  }

  .hero__film-controls {
    width: 100%;
    justify-content: flex-end;
    gap: 16px;
  }

  .hero__scroll span {
    display: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .section-head__aside {
    padding-bottom: 0;
  }

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

  .stats__item {
    padding: 20px 16px;
  }

  .stats__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

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

  .footer__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .steps {
    gap: 6px;
  }

  .step__label {
    display: none;
  }

  .step {
    flex: none;
  }

  .steps::after {
    content: "";
    flex: 1;
  }

  .form-card {
    padding: 22px 18px;
  }

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

  .faq-note__actions {
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
  }

  .faq-note__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .page-hero {
    min-height: clamp(520px, 78vh, 680px);
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 48px;
  }

  .page-hero__bg::after {
    background: linear-gradient(
        180deg,
        rgba(11, 11, 12, 0.6) 0%,
        rgba(11, 11, 12, 0.58) 38%,
        rgba(11, 11, 12, 0.88) 100%
      ),
      linear-gradient(90deg, rgba(11, 11, 12, 0.45), transparent 75%);
  }

  .page-hero .lead {
    max-width: 38ch;
  }

  .page-hero__note {
    display: none;
  }

  .cta__actions,
  .hero__film-actions,
  .page-hero__actions {
    align-items: stretch;
    gap: 12px;
  }

  .cta__actions {
    flex-wrap: wrap;
  }

  .cta__actions .btn,
  .hero__film-actions .btn,
  .page-hero__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    gap: 8px;
    padding-inline: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .values,
  .values--three {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }


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

  .stats__item,
  .stats__item:nth-child(2),
  .stats__item:nth-child(3) {
    padding: 20px 16px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .stats__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stats__item:nth-child(-n + 2) {
    border-top: 0;
  }

  .stats__label {
    margin-top: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .hero__film-btn,
  .hero__scroll {
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(246, 243, 238, 0.28);
    border-radius: 50%;
  }

  .hero__film-btn-label {
    display: none;
  }

  .split__caption {
    display: none;
  }

  .review__row {
    flex-direction: column;
    gap: 2px;
  }

  .review__row strong {
    text-align: left;
  }

  .form-actions .btn {
    width: 100%;
  }

  .step-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
  }

  .step-actions .btn {
    width: auto;
    min-width: 0;
    gap: 8px;
    padding-inline: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
  }

  .step-actions__right {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .step-actions__right .btn {
    width: 100%;
  }

  .step-actions__right:only-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 340px) {
  .faq-note__call-full {
    display: none;
  }

  .faq-note__call-short {
    display: inline;
  }

  .mobile-menu__actions {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-menu__phone {
    gap: 6px;
    font-size: 0.75rem;
    justify-content: center;
  }

  .mobile-menu__actions .btn {
    padding-inline: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    white-space: normal;
  }
}

/* Shared text-link cue; buttons, logos and icon links opt out by design. */
.link-underline {
  background-image: linear-gradient(var(--link-underline-color, var(--gold-deep)), var(--link-underline-color, var(--gold-deep)));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.4s var(--ease);
}

.text-link:hover .link-underline,
.text-link:focus-visible .link-underline,
.mobile-menu__links .text-link[aria-current="page"] .link-underline {
  background-size: 100% 1px;
}

.footer, .mobile-menu, .section--dark,
.site-header--overlay:not(.is-scrolled), .hero__scroll {
  --link-underline-color: var(--champagne);
}

.footer__contact a .link-underline { display: inline; }
.mobile-menu__links a .mobile-menu__label,
.faq-nav a .faq-nav__label {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.mobile-actions { display: none; }

@media (max-width: 760px) {
  body.has-mobile-actions {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-actions {
    position: fixed;
    z-index: 80;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    border-top: 1px solid var(--line);
    background: var(--porcelain);
    box-shadow: 0 -5px 24px rgba(11, 11, 12, 0.08);
    color: var(--ink);
  }
  .mobile-actions:has(> a:only-child) { grid-template-columns: minmax(0, 1fr); }
  .mobile-actions__phone {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 48px;
  }
  .mobile-actions__phone svg { flex: none; width: 18px; height: 18px; }
  .mobile-actions__phone span { min-width: 0; }
  .mobile-actions__phone small {
    display: block;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--stone);
  }
  .mobile-actions__phone strong {
    display: block;
    font-size: clamp(0.75rem, 3.3vw, 0.88rem);
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .mobile-actions__apply {
    min-width: 0;
    min-height: 48px;
    padding: 12px;
    gap: 9px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  .mobile-actions__apply svg { flex: none; width: 15px; height: 15px; }
  body.menu-open .mobile-actions { display: none; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
