/* ============================================================
   KEYVEST REAL ESTATE GMBH · FLAWIL
   Swiss architectural editorial system - navy, white, gold
   Single typeface: DM Sans (immotro.ch Schriftstil)
   ============================================================ */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/dm-sans-var-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #141f46;
  --ink-2: #0f1836;
  --surface: #1a2550;
  --surface-2: #22305f;
  --green: #141f46;
  --green-deep: #0f1836;
  --paper: #ffffff;
  --light-surface: #f6f6f3;
  --sand: #eeefec;
  --gold: #d3a04e;
  --gold-2: #f5c26f;
  --gold-deep: #87601e;
  --muted-dark: #c7cee0;
  --muted-dark-2: #b4bdd3;
  --muted-light: #3f4553;
  --border-dark: rgba(255, 255, 255, 0.14);
  --border-light: rgba(20, 31, 70, 0.12);
  --motion: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --pad: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --title: 'DM Sans', Arial, Helvetica, sans-serif;
  --body: 'DM Sans', Arial, Helvetica, sans-serif;
  --radius-card: 2px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--ink-2);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}
picture {
  display: contents;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
p {
  text-wrap: pretty;
}
:where(
    .hero__inner,
    .about__grid,
    .refs__grid,
    .service-cards,
    .values,
    .split,
    .person,
    .stats,
    .contact__grid,
    .form-row,
    .footer-cols,
    .process__item,
    .hero-card__slide
  )
  > * {
  min-width: 0;
}

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

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow--light {
  color: var(--gold-2);
}

.display {
  font-family: var(--title);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
}

.display em,
.split__title em,
.hero__title em,
.cta__title em {
  font-style: normal;
  color: var(--gold);
}

.display .muted,
.split__title .muted {
  color: var(--muted-dark-2);
}
.display--light {
  color: var(--paper);
}
.display--light .muted {
  color: var(--muted-dark);
}

.lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted-dark);
  max-width: 34em;
}

:is(.section--light, .section--paper, .section--sand, .about, .refs, .faq, .contact) .lead {
  color: var(--muted-light);
}

/* ---------- Actions ---------- */
.action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  max-width: 100%;
  padding: 9px 10px 9px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--gold);
  color: #141f46;
  font-family: var(--title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.35s,
    background 0.35s,
    border-color 0.35s,
    box-shadow 0.4s;
}

.action::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: translateY(102%);
  transition: transform 0.4s var(--motion);
}

.action:is(:hover, :focus-visible)::before {
  transform: translateY(0);
}
.action svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 1px;
  background: rgba(20, 31, 70, 0.09);
  transition:
    transform 0.4s var(--motion),
    background 0.35s;
}
.action:is(:hover, :focus-visible) svg {
  transform: translateX(2px);
}
.action:is(:hover, :focus-visible) {
  box-shadow: 0 6px 24px rgba(211, 160, 78, 0.12);
}

.action--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 243, 236, 0.28);
}

.action--ghost::before {
  background: var(--gold);
}
.action--ghost svg {
  background: rgba(255, 255, 255, 0.1);
}
.action--ghost:is(:hover, :focus-visible) {
  color: #141f46;
  border-color: var(--gold);
}

.action--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20, 31, 70, 0.28);
}

.action--outline::before {
  background: var(--ink);
}
.action--outline:is(:hover, :focus-visible) {
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 6px 24px rgba(20, 31, 70, 0.1);
}
.action--outline:is(:hover, :focus-visible) svg {
  background: rgba(255, 255, 255, 0.1);
}

.subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--title);
  font-size: 14px;
  font-weight: 400;
  transition:
    color 0.25s,
    gap 0.3s var(--motion);
}

.subtle-link svg {
  transition: transform 0.3s var(--motion);
}
.subtle-link:is(:hover, :focus-visible) {
  color: var(--gold);
}
:is(.section--light, .section--paper, .section--sand, .about, .refs, .faq, .contact)
  .subtle-link:is(:hover, :focus-visible) {
  color: var(--gold-deep);
}
.subtle-link:hover svg {
  transform: translate(3px, -3px);
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: var(--paper);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--motion);
}

.round-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  display: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 24, 54, 0.96);
  transition:
    transform 0.45s var(--motion),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-stuck {
  background: rgba(15, 24, 54, 0.93);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  box-shadow:
    0 1px 0 var(--border-dark),
    0 10px 32px rgba(10, 16, 40, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.has-hero .site-header:not(.is-stuck) {
  background: linear-gradient(to bottom, rgba(15, 24, 54, 0.98), rgba(15, 24, 54, 0.75));
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  height: 6rem;
  padding-inline: var(--pad);
  transition: height 0.35s ease;
}

.site-header.is-stuck .site-header__inner {
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: clamp(2.2rem, 3.8vw, 2.8rem);
  width: auto;
  transition: height 0.35s ease;
}
.site-header.is-stuck .brand img {
  height: 2.3rem;
}

.main-nav {
  display: none;
}

@media (min-width: 1200px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2vw, 2rem);
    flex: 1;
    min-width: 0;
  }

  .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--title);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.83);
    white-space: nowrap;
    padding: 0.5rem 0;
    transition: color 0.25s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--motion);
  }

  .nav-link:hover {
    color: var(--paper);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
  margin-left: auto;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  font-family: var(--title);
  font-size: 13px;
  font-weight: 400;
  color: rgba(244, 243, 236, 0.75);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header-phone:hover {
  color: var(--gold);
}

@media (min-width: 640px) {
  .header-phone {
    display: inline-block;
  }
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(244, 243, 236, 0.32);
  border-radius: 2px;
  background: rgba(244, 243, 236, 0.06);
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.header-cta svg {
  transition: transform 0.3s var(--motion);
}
.header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.header-cta:hover svg {
  transform: translate(2px, -2px);
}

@media (min-width: 1200px) {
  .header-cta {
    display: inline-flex;
  }
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  align-items: center;
  border: 1px solid rgba(244, 243, 236, 0.2);
  border-radius: 2px;
  background: rgba(20, 31, 70, 0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.burger:hover {
  border-color: rgba(244, 243, 236, 0.45);
}
.burger span {
  display: block;
  height: 1.5px;
  width: 18px;
  background: var(--paper);
  border-radius: 2px;
  transition:
    transform 0.35s var(--motion),
    opacity 0.25s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   FULLSCREEN MENU
   ============================================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 200;
  background: var(--ink-2);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) var(--gutter) clamp(1.25rem, 4vh, 3rem);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.menu-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-overlay__top .brand img {
  height: 2.5rem;
}

.menu-close {
  padding: 0.75rem 0 0.75rem 0.75rem;
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(244, 243, 236, 0.6);
  transition: color 0.25s ease;
}

.menu-close:hover {
  color: var(--gold);
}

.menu-overlay__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: clamp(1.25rem, 3.5vh, 3rem);
  padding-block: clamp(0.75rem, 2vh, 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (min-width: 1024px) {
  .menu-overlay__body {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.menu-nav {
  display: flex;
  flex-direction: column;
}

.menu-nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
  padding: clamp(0.3rem, 1.2vh, 0.8rem) 0;
  font-family: var(--title);
  font-size: clamp(1.9rem, 5.4vh, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: rgba(244, 243, 236, 0.85);
  border-bottom: 1px solid var(--border-dark);
  transition:
    color 0.3s ease,
    padding-left 0.4s var(--motion),
    opacity 0.4s ease,
    transform 0.5s var(--motion);
  transform: translateY(28px);
  opacity: 0;
}

.menu-overlay.is-open .menu-nav a {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(0.05s * var(--i) + 0.1s);
}

.menu-nav a:hover {
  color: var(--gold);
  padding-left: 0.75rem;
}

.menu-nav a .idx {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--gold);
}

.menu-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2.5vh, 1.6rem);
  border-top: 1px solid var(--border-dark);
  padding-top: clamp(1.1rem, 3vh, 2rem);
}

@media (min-width: 1024px) {
  .menu-aside {
    border-top: 0;
    border-left: 1px solid var(--border-dark);
    padding-top: 0;
    padding-left: 3rem;
  }
}

.menu-aside__label {
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-aside__links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 14px;
  color: var(--muted-dark);
}
.menu-aside__links a {
  transition: color 0.25s ease;
}
.menu-aside__links a:hover {
  color: var(--gold);
}

.menu-scout {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.menu-scout:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.menu-overlay__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 12px;
  color: var(--muted-dark-2);
}

.menu-overlay__foot a:hover {
  color: var(--paper);
}

@media (max-height: 700px) {
  .menu-overlay__top .brand img {
    height: 2rem;
  }
  .menu-nav a {
    padding: 0.25rem 0;
    font-size: clamp(1.5rem, 5vh, 2.1rem);
  }
  .menu-aside {
    gap: 0.7rem;
    padding-top: 0.9rem;
  }
  .menu-aside__links {
    gap: 0.25rem;
    font-size: 13px;
  }
  .menu-scout {
    padding: 0.55rem 1rem;
  }
  .menu-overlay__foot {
    gap: 0.5rem 1.25rem;
    font-size: 11px;
  }
}

@media (max-width: 1023px) {
  .menu-overlay__body {
    align-content: start;
  }
  .menu-nav a {
    font-size: clamp(1.6rem, 4.6vh, 2.2rem);
    padding: 0.35rem 0;
  }
  .menu-aside {
    gap: 0.75rem;
  }
  .menu-aside__links {
    font-size: 13px;
    gap: 0.3rem;
  }
  .menu-scout {
    padding: 0.7rem 1.2rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: max(740px, 100svh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink-2);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--motion) both;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 24, 54, 0.96) 0%,
      rgba(15, 24, 54, 0.78) 35%,
      rgba(15, 24, 54, 0.2) 73%,
      rgba(15, 24, 54, 0.18) 100%
    ),
    linear-gradient(to bottom, rgba(15, 24, 54, 0.22) 0%, rgba(15, 24, 54, 0.04) 48%, rgba(15, 24, 54, 0.94) 100%);
}

@keyframes heroZoom {
  from {
    transform: scale(1.13);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__frame {
  position: absolute;
  z-index: 1;
  inset: 7.5rem var(--gutter) 7.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 0;
  pointer-events: none;
}

.hero__frame span {
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.72);
}

.hero__frame span:last-child {
  top: auto;
  bottom: 1rem;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(11rem, 22vh, 15rem) var(--pad) clamp(4rem, 8vh, 6rem);
}

@media (min-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
  }
}

.hero__content {
  max-width: 800px;
}

.hero__eyebrow {
  animation: riseIn 1s 0.15s both;
}
.hero__eyebrow::before {
  display: none;
}

.hero__title {
  font-family: var(--title);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.3vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: var(--paper);
  margin-top: 1.7rem;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__title .line span {
  display: block;
  animation: lineUp 1.15s var(--motion) both;
  animation-delay: var(--d, 0.2s);
}

@keyframes lineUp {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__lead {
  margin-top: 2rem;
  max-width: 31em;
  color: #cbd0de;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.8;
  animation: riseIn 1s 0.55s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.1rem;
  animation: riseIn 1s 0.7s both;
}

.hero__services {
  margin-top: 1.7rem;
  max-width: 40em;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
  animation: riseIn 1s 0.85s both;
}

.hero__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  animation: riseIn 1s 0.85s both;
}

.hero__bottom .subtle-link {
  font-size: 13px;
  color: rgba(244, 243, 236, 0.72);
}

.hero__chapter {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.hero__chapter span {
  color: var(--gold);
  margin-right: 0.85rem;
}

.hero-slider {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.hero-slider__count {
  font-family: var(--title);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted-dark-2);
}
.hero-slider__count b {
  color: var(--paper);
  font-weight: 500;
}

.hero-slider__track {
  position: relative;
  width: clamp(90px, 14vw, 180px);
  height: 1px;
  background: rgba(244, 243, 236, 0.18);
}
.hero-slider__track span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0.33);
  transition: transform 0.5s var(--motion);
}

.hero-slider__nav {
  display: flex;
  gap: 0.6rem;
}
.hero-slider__nav .round-btn {
  width: 44px;
  height: 44px;
}

.hero-slider__pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--paper);
  font-size: 11px;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.hero-slider__pause:is(:hover, :focus-visible) {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(211, 160, 78, 0.06);
}
.hero-slider__pause[aria-pressed='true'] {
  color: var(--gold);
  border-color: rgba(211, 160, 78, 0.5);
}

/* A single exhibition label against the architectural image. */
.hero__cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 370px;
  width: 100%;
  justify-self: end;
  align-self: center;
}

@media (max-width: 1099px) {
  .hero__cards {
    max-width: 390px;
    justify-self: start;
  }
}

.float-card {
  position: relative;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-dark);
  background: rgba(20, 31, 70, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    transform 0.5s var(--motion),
    border-color 0.4s ease;
}

.float-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 167, 119, 0.4);
}

.float-card--green {
  background: rgba(20, 31, 70, 0.9);
}
.float-card--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #141f46;
}

.float-card__label {
  display: block;
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.float-card--gold .float-card__label {
  color: rgba(24, 26, 22, 0.65);
}

.float-card__num {
  display: block;
  margin: 0.65rem 0 0.35rem;
  font-family: var(--title);
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
  color: var(--paper);
}

.float-card--gold .float-card__num {
  color: #141f46;
}
.float-card__num sup {
  font-size: 0.45em;
  color: var(--gold);
  vertical-align: super;
}
.float-card--gold .float-card__num sup {
  color: rgba(24, 26, 22, 0.6);
}

.float-card__meta {
  font-size: 13px;
  color: var(--muted-dark);
}
.float-card--gold .float-card__meta {
  color: rgba(24, 26, 22, 0.7);
}

.float-card__link {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  color: var(--gold);
  transition: transform 0.3s var(--motion);
}

.float-card:hover .float-card__link {
  transform: translate(3px, -3px);
}

/* rotating reference card — light exhibition label */
.hero-card {
  min-height: 10.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-card);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(10, 16, 40, 0.2);
}

.hero-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
}

.hero-card .float-card__label {
  color: var(--gold-deep);
}

.hero-card__slides {
  display: grid;
  position: relative;
  margin-top: 1.2rem;
  min-height: 5rem;
}

.hero-card__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-card__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-card__thumb {
  width: 78px;
  height: 78px;
  border-radius: 1px;
  overflow: hidden;
  background: var(--surface);
}

.hero-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__info h3 {
  font-family: var(--title);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
}
.hero-card__info p {
  margin-top: 0.35rem;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-light);
}

.hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--title);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-deep);
  transition:
    color 0.25s ease,
    gap 0.3s var(--motion);
}

.hero-card__cta:hover {
  color: var(--ink);
  gap: 12px;
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   RIBBON / MARQUEE
   ============================================================ */
.ribbon {
  overflow: hidden;
  background: var(--light-surface);
  color: var(--ink);
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border-light);
}

.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.ribbon:hover .ribbon__track {
  animation-play-state: paused;
}

.ribbon__group {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-right: 35px;
  white-space: nowrap;
  font-family: var(--title);
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.ribbon__group i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.6em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: clamp(4.5rem, 9.5vw, 9rem) var(--pad);
}

.section--light {
  background: var(--light-surface);
  color: var(--ink);
}
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--sand {
  background: var(--sand);
  color: var(--ink);
}
.section--green {
  background: var(--green-deep);
}
.section--surface {
  background: var(--surface);
}

.section--light .display,
.section--paper .display,
.section--sand .display {
  color: var(--ink);
}
.section--light .display .muted,
.section--paper .display .muted,
.section--sand .display .muted {
  color: var(--muted-light);
}
.section--light .display em,
.section--paper .display em,
.section--sand .display em {
  color: var(--gold-deep);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(2.75rem, 5.5vw, 5rem);
}

.section-head .display {
  max-width: 20em;
}

@media (min-width: 1024px) {
  .section-head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
  }
  .section-head--split > div:first-child {
    max-width: 62%;
  }
  .section-head--split .lead {
    margin-bottom: 0.4rem;
    max-width: 26em;
  }
}

.section--light .eyebrow,
.section--paper .eyebrow,
.section--sand .eyebrow {
  color: var(--gold-deep);
}

/* The observer opts in only after it can reveal content. */
.reveal[data-delay='1'] {
  --reveal-delay: 80ms;
}
.reveal[data-delay='2'] {
  --reveal-delay: 160ms;
}
.reveal[data-delay='3'] {
  --reveal-delay: 240ms;
}
.reveal[data-delay='4'] {
  --reveal-delay: 320ms;
}
.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.85s ease,
    transform 1s var(--motion),
    clip-path 1.15s var(--motion),
    box-shadow 0.4s,
    border-color 0.4s,
    background 0.4s;
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready :is(.about__media, .split__media, .person__media).reveal {
  clip-path: inset(0 0 7% 0);
}
.motion-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}
.motion-ready :is(.about__media, .split__media, .person__media).reveal.is-in {
  clip-path: inset(0);
}
.motion-ready .reveal:focus-within {
  opacity: 1;
  transform: none;
  clip-path: none;
  transition-delay: 0ms;
}

/* ============================================================
   SERVICES — bordered grid
   ============================================================ */
.services {
  background: var(--green-deep);
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

@media (min-width: 700px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 325px;
  padding: clamp(1.5rem, 2.7vw, 2.6rem);
  isolation: isolate;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.45s ease;
}

.service-card:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.035);
}
.service-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(211, 160, 78, 0.1),
    transparent 75%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
@media (hover: hover) and (pointer: fine) {
  .service-card:not(.service-card--cta):hover::before {
    opacity: 1;
  }
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.service-card__num {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted-dark-2);
  transition: color 0.4s ease;
}

.service-card:hover .service-card__num {
  color: var(--gold);
}

.service-card__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  color: var(--gold);
  transition:
    transform 0.5s var(--motion),
    background 0.4s,
    border-color 0.4s;
}
.service-card:is(:hover, :focus-visible) .service-card__arrow {
  transform: translate(2px, -2px);
  background: rgba(211, 160, 78, 0.08);
  border-color: rgba(211, 160, 78, 0.5);
}

.service-card h3 {
  font-family: var(--title);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 100%;
  hyphens: auto;
}

.service-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #a7afc8;
  max-width: 34em;
}

.service-card--cta {
  background: var(--gold);
  color: #141f46;
  justify-content: space-between;
}

.service-card--cta:is(:hover, :focus-visible) {
  background: var(--gold-2);
}
.service-card--cta .service-card__num {
  color: rgba(24, 26, 22, 0.6);
}
.service-card--cta:hover .service-card__num {
  color: var(--ink);
}
.service-card--cta h3 {
  max-width: 100%;
}
.service-card--cta p {
  color: rgba(24, 26, 22, 0.72);
}
.service-card--cta .service-card__arrow {
  color: #141f46;
  border-color: rgba(20, 31, 70, 0.25);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
}
.section--light .stat,
.section--paper .stat,
.section--sand .stat {
  border-top-color: var(--border-light);
}

.stat__num {
  display: block;
  font-family: var(--title);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
  color: var(--paper);
  white-space: nowrap;
}

.section--light .stat__num,
.section--paper .stat__num,
.section--sand .stat__num {
  color: var(--ink);
}
.stat__num sup {
  font-size: 0.45em;
  color: var(--gold);
  vertical-align: super;
}
:is(.section--light, .section--paper, .section--sand, .about) .stat__num sup {
  color: var(--gold-deep);
}

.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 13px;
  color: var(--muted-dark);
  max-width: 16em;
}

.section--light .stat__label,
.section--paper .stat__label,
.section--sand .stat__label {
  color: var(--muted-light);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--light-surface);
  color: var(--ink);
}
.about .display {
  color: var(--ink);
}
.about .display .muted {
  color: var(--muted-light);
}
.about .display em {
  color: var(--gold-deep);
}
.about .eyebrow {
  color: var(--gold-deep);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(4rem, 8vw, 8rem);
  }
}

.about__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--motion);
}
.about__media:hover img {
  transform: scale(1.04);
}

.about__badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.2rem 1.6rem 1.4rem;
  background: linear-gradient(to top, rgba(10, 16, 40, 0.92), rgba(10, 16, 40, 0));
  font-family: var(--title);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.about__text p {
  margin-top: 1.4rem;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted-light);
  max-width: 38em;
}

.about__stats {
  margin-top: 2.8rem;
}

/* ============================================================
   REFERENCES
   ============================================================ */
.refs {
  background: var(--light-surface);
  color: var(--ink);
}

.refs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
}

@media (min-width: 720px) {
  .refs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .refs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ref-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    transform 0.5s var(--motion),
    box-shadow 0.45s ease,
    border-color 0.4s ease;
}

.ref-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(20, 31, 70, 0.08);
  border-color: rgba(138, 106, 62, 0.4);
}

.ref-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.ref-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--motion);
}
.ref-card:hover .ref-card__media img {
  transform: scale(1.035);
}

.ref-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 40, 0.38) 0%, rgba(10, 16, 40, 0) 55%);
  pointer-events: none;
}

.ref-card__idx {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  z-index: 2;
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--paper);
  background: rgba(10, 16, 40, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.32rem 0.6rem;
  border-radius: 3px;
}

.ref-card__badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #141f46;
  background: var(--gold);
  padding: 0.32rem 0.6rem;
  border-radius: 3px;
}

.ref-card__badge--dark {
  background: var(--green);
  color: var(--gold-2);
}

.ref-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem;
  flex: 1;
  color: var(--ink);
}

.ref-card__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.ref-card__title-row h3 {
  min-width: 0;
  font-family: var(--title);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  hyphens: auto;
}

.ref-card__units {
  font-family: var(--title);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--gold-deep);
}

.ref-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  font-size: 13px;
  color: var(--muted-light);
}

.ref-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.ref-card__meta span::before {
  content: '';
  width: 4px;
  height: 1px;
  background: var(--gold);
}

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

.refs__footer p {
  font-size: 14px;
  color: var(--muted-light);
  max-width: 36em;
}

.refs .eyebrow,
.refs .display em {
  color: var(--gold-deep);
}

/* Homepage curation; the complete references page retains its normal grid. */
.home-page .refs__grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .home-page .refs__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem;
  }
  .home-page .refs__grid > .ref-card:first-child {
    grid-row: span 2;
  }
  .home-page .refs__grid .ref-card__media {
    aspect-ratio: 2.25;
  }
  .home-page .refs__grid > .ref-card:first-child .ref-card__media {
    flex: 1;
    aspect-ratio: auto;
    min-height: 360px;
  }
  .home-page .refs__grid > .ref-card:first-child .ref-card__media img {
    position: absolute;
    inset: 0;
  }
  .home-page .refs__grid .ref-card__body {
    flex: 0 0 auto;
  }
  .home-page .refs__grid > .ref-card:first-child .ref-card__body {
    padding: 2rem;
  }
  .home-page .refs__grid > .ref-card:first-child h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
  }
}

/* ============================================================
   PROCESS — numbered list with rail
   ============================================================ */
.process {
  list-style: none;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.section--light .process,
.section--paper .process,
.section--sand .process {
  border-top-color: var(--border-light);
}

.process__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition:
    padding-left 0.4s var(--motion),
    background 0.4s ease;
}

.section--light .process__item,
.section--paper .process__item,
.section--sand .process__item {
  border-bottom-color: var(--border-light);
}

.process__item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-dark);
}

.section--light .process__item::before,
.section--paper .process__item::before,
.section--sand .process__item::before {
  background: var(--border-light);
}

.process__item::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 2rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-dark-2);
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.section--light .process__item::after,
.section--paper .process__item::after,
.section--sand .process__item::after {
  background: #b4bac9;
}

.process__item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.process__item:hover::after {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 167, 119, 0.18);
}

@media (min-width: 900px) {
  .process__item {
    grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    padding: 2.4rem 0;
  }
  .process__item::after {
    top: 50%;
    transform: translateY(-50%);
  }
}

.process__num {
  font-family: var(--title);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--muted-dark-2);
  padding-left: 2.4rem;
  transition: color 0.4s ease;
}

.process__item:hover .process__num {
  color: var(--gold);
}
:is(.section--light, .section--paper, .section--sand) .process__item:hover .process__num {
  color: var(--gold-deep);
}

.process__item h3 {
  font-family: var(--title);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.process__item p {
  font-size: 14px;
  line-height: 1.7;
  color: #a7afc8;
}
@media (max-width: 899px) {
  .process__num {
    grid-row: span 2;
  }
  .process__item h3,
  .process__item p {
    grid-column: 2;
  }
}

.section--light .process__item p,
.section--paper .process__item p,
.section--sand .process__item p {
  color: var(--muted-light);
}

/* ============================================================
   VALUES
   ============================================================ */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

@media (min-width: 640px) {
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.values--three {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .values--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.value {
  padding: 1.9rem 1.8rem 2.2rem;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  background: transparent;
  transition: background 0.4s ease;
}

.value:hover {
  background: var(--surface-2);
}

.value__num {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.value h3 {
  font-family: var(--title);
  margin: 1.3rem 0 0.5rem;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.value p {
  font-size: 14px;
  line-height: 1.7;
  color: #a7afc8;
}

.section--light .values,
.section--paper .values,
.section--sand .values {
  border-color: var(--border-light);
}
.section--light .value,
.section--paper .value,
.section--sand .value {
  border-color: var(--border-light);
}
.section--light .value:hover,
.section--paper .value:hover,
.section--sand .value:hover {
  background: var(--paper);
}
.section--light .value__num,
.section--paper .value__num,
.section--sand .value__num {
  color: var(--gold-deep);
}
.section--light .value p,
.section--paper .value p,
.section--sand .value p {
  color: var(--muted-light);
}

/* Client images replace the text without changing the grid geometry. */
.value--tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
}
.value--tile > :is(.value__num, h3) {
  transition: opacity 0.25s ease;
}
.value__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.7s var(--motion);
}
.value--tile.is-image-visible .value__image {
  opacity: 1;
  transform: scale(1);
}
.value--tile.is-image-visible > :is(.value__num, h3) {
  opacity: 0;
}

/* ============================================================
   SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 5.5rem);
  }
  .split--flip .split__media {
    order: 2;
  }
}

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

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--motion);
}
.split__media:hover img {
  transform: scale(1.04);
}

.split__title {
  font-family: var(--title);
  font-size: clamp(1.85rem, 3.3vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-top: 1.15rem;
}

.split__title em,
.split__title .muted {
  font-style: normal;
  color: var(--gold);
}
:is(.section--light, .section--paper, .section--sand, .about, .refs, .faq, .contact) .split__title :is(em, .muted) {
  color: var(--gold-deep);
}

.split__text p {
  margin-top: 1.25rem;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted-dark);
  max-width: 38em;
}
:is(.section--light, .section--paper, .section--sand, .about, .refs, .faq, .contact) .split__text p {
  color: var(--muted-light);
}

.checklist {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 15px;
  color: var(--muted-dark);
  overflow-wrap: break-word;
}
:is(.section--light, .section--paper, .section--sand, .about, .refs, .faq, .contact) .checklist li {
  color: var(--muted-light);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 14px;
  height: 1px;
  background: var(--gold);
}
.checklist li strong {
  color: inherit;
  font-weight: 600;
}

.split .action {
  margin-top: 2rem;
}

/* ============================================================
   PERSON
   ============================================================ */
.person {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .person {
    grid-template-columns: 0.72fr 1.28fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.person__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
}

.person__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person__role {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.section--light .person__role,
.section--paper .person__role,
.section--sand .person__role {
  color: var(--gold-deep);
}

.person h3 {
  font-family: var(--title);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0.5rem 0 0.9rem;
}
.person p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-dark);
  max-width: 38em;
}
.section--light .person p,
.section--paper .person p,
.section--sand .person p {
  color: var(--muted-light);
}
.person__contact {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 15px;
  color: var(--muted-dark);
}
.section--light .person__contact,
.section--paper .person__contact,
.section--sand .person__contact {
  color: var(--muted-light);
}
.person__contact a {
  color: var(--gold);
  transition: color 0.25s ease;
}
.section--light .person__contact a,
.section--paper .person__contact a,
.section--sand .person__contact a {
  color: var(--gold-deep);
}
.person__contact a:hover {
  text-decoration: underline;
}

/* ============================================================
   QUOTE / NEWS
   ============================================================ */
.quote {
  position: relative;
  margin-top: 2rem;
  padding: 0.5rem 0 0.5rem 2rem;
  border-left: 2px solid var(--gold);
}

.quote p {
  font-family: var(--title);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--paper);
  max-width: 46em;
}

.section--light .quote p,
.section--paper .quote p,
.section--sand .quote p {
  color: var(--ink);
}

.quote footer {
  margin-top: 1rem;
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.section--light .quote footer,
.section--paper .quote footer,
.section--sand .quote footer {
  color: var(--gold-deep);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.article-meta .dot {
  color: var(--gold);
}
:is(.section--light, .section--paper, .section--sand) .article-meta {
  color: var(--gold-deep);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--light-surface);
  color: var(--ink);
}
.faq .eyebrow,
.faq .display em {
  color: var(--gold-deep);
}

.faq__list {
  border-top: 1px solid var(--border-light);
  max-width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.9rem 0;
  padding-right: 3.2rem;
  font-family: var(--title);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--gold-deep);
}

.faq-item__icon {
  position: absolute;
  right: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s var(--motion);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
}
.faq-item__icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-item__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-50%) rotate(180deg);
}
.faq-item[open] summary {
  color: var(--ink);
}

.faq-item__body {
  padding: 0 3.2rem 1.9rem 0;
}
.faq-item__body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-light);
  max-width: 48em;
  margin-bottom: 0.6rem;
}
.faq-item__body strong {
  font-weight: 600;
  color: var(--ink);
}
.faq-item__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.4rem 0 0.8rem;
}
.faq-item__body li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 15px;
  color: var(--muted-light);
}
.faq-item__body li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-4px);
}

.faq-link {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.faq-link:hover {
  text-decoration: underline;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--paper);
}

.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 16, 40, 0.92) 0%,
    rgba(10, 16, 40, 0.55) 65%,
    rgba(10, 16, 40, 0.75) 100%
  );
}

.cta__inner {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 10vw, 8.5rem) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.2rem;
  width: 100%;
  border-top: 1px solid var(--border-dark);
}

.cta__title {
  font-family: var(--title);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 21em;
}

.cta__title em {
  font-style: normal;
  color: var(--gold);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.cta--compact .cta__inner {
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--light-surface);
  color: var(--ink);
}
.contact .display {
  color: var(--ink);
}
.contact .display .muted {
  color: var(--muted-light);
}
.contact .display em {
  color: var(--gold-deep);
}
.contact .eyebrow {
  color: var(--gold-deep);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.contact__list {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 480px) {
  .contact-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.2rem 0;
  }
}

.contact-item dt {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.4rem;
}

.contact-item dd {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--title);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.contact-item dd a {
  transition: color 0.25s ease;
}
.contact-item dd a:hover {
  color: var(--gold-deep);
}
.contact-item dd small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.6;
}

.contact-hours {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 1.75rem;
  row-gap: 0.35rem;
  font-family: var(--body);
  font-size: 14px;
}
.contact-hours span:nth-child(even) {
  color: var(--muted-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.65rem;
}

.field label {
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 16px;
  min-width: 0;
  width: 100%;
  color: var(--ink);
  background: var(--light-surface);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 0.85rem 0.9rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 167, 119, 0.2);
}

.contact-form .action {
  align-self: flex-start;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 3px;
  border: 1px solid transparent;
}

.form-feedback[data-state='pending'] {
  color: var(--muted-light);
  border-color: var(--border-light);
  background: var(--light-surface);
}
.form-feedback[data-state='success'] {
  color: #1c543a;
  border-color: #9cc6af;
  background: #eaf5ee;
}
.form-feedback[data-state='error'] {
  color: #8a2b1c;
  border-color: #e0b0a6;
  background: #fbedea;
}

.form-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-light);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 13px;
  color: var(--muted-light);
}
.form-consent input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.3rem;
  accent-color: var(--gold-deep);
}
.form-consent a {
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green);
  color: var(--muted-dark);
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad) 3rem;
}

@media (min-width: 1024px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand img {
  height: 3rem;
  width: auto;
}

.footer-claim {
  margin-top: 1.2rem;
  font-family: var(--title);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 22em;
}

.footer-cols {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3.5vw, 4rem);
}
.footer-col {
  overflow-wrap: anywhere;
}
@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-col h4 {
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 14px;
}
.footer-col a {
  transition: color 0.25s ease;
}
.footer-col a:hover {
  color: var(--paper);
}

.footer-word {
  overflow: hidden;
  padding: 0 var(--gutter);
}

.footer-word span {
  display: block;
  font-family: var(--title);
  font-size: clamp(3.4rem, 17vw, 16rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 167, 119, 0.28);
  white-space: nowrap;
  text-align: center;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--pad);
  border-top: 1px solid rgba(244, 243, 236, 0.12);
  font-size: 12px;
  color: var(--muted-dark);
}

@media (min-width: 720px) {
  .footer-bottom {
    padding-right: calc(var(--pad) + 58px);
  }
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom a:hover {
  color: var(--paper);
}

/* ============================================================
   SUBPAGE (legal)
   ============================================================ */
.subpage {
  padding: clamp(9rem, 18vh, 12rem) var(--pad) clamp(4rem, 9vw, 7rem);
  background: var(--ink-2);
}

.subpage h1 {
  font-family: var(--title);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 1.25rem 0 3rem;
}

.subpage h2 {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}

.subpage h3 {
  font-family: var(--title);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 1.75rem 0 0.5rem;
}

.subpage p,
.subpage li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-dark);
  max-width: 52em;
}
.subpage p + p {
  margin-top: 0.75rem;
}
.subpage ul {
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.subpage a {
  color: var(--gold);
}
.subpage a:hover {
  text-decoration: underline;
}
.subpage strong {
  color: var(--paper);
  font-weight: 600;
}

.subpage-prose p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted-dark);
  max-width: 52em;
}
.subpage-prose p + p {
  margin-top: 1.1rem;
}
.subpage-prose strong {
  color: var(--paper);
  font-weight: 600;
}
.subpage-prose a {
  color: var(--gold);
}
.subpage-prose a:hover {
  text-decoration: underline;
}

/* Readable prose when a subpage is placed on a light surface */
:is(.section--light, .section--paper, .section--sand, .about, .refs) .subpage-prose p {
  color: var(--muted-light);
}
:is(.section--light, .section--paper, .section--sand, .about, .refs) .subpage-prose strong {
  color: var(--ink);
}
:is(.section--light, .section--paper, .section--sand, .about, .refs) .subpage-prose a {
  color: var(--gold-deep);
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--ink-2);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.page-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

@media (min-width: 900px) {
  .page-hero__media {
    width: 58%;
  }
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--motion) both;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 7.5rem var(--gutter) 2rem;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 16, 40, 0.9) 0%,
    rgba(10, 16, 40, 0.65) 50%,
    rgba(10, 16, 40, 0.95) 100%
  );
}

@media (min-width: 900px) {
  .page-hero__shade {
    background: linear-gradient(
      to right,
      rgba(10, 16, 40, 1) 0%,
      rgba(10, 16, 40, 0.88) 42%,
      rgba(10, 16, 40, 0.3) 74%,
      rgba(10, 16, 40, 0.55) 100%
    );
  }
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(74svh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(10rem, 21vh, 13rem) var(--gutter) clamp(3.5rem, 7vh, 5.5rem) var(--pad);
}

@media (min-width: 900px) {
  .page-hero__content {
    max-width: 72%;
    padding-right: 2rem;
  }
}

.page-hero h1 {
  font-family: var(--title);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.05em;
  hyphens: auto;
  animation: riseIn 1.1s 0.15s both;
}

.page-hero h1 em,
.page-hero h1 .muted {
  font-style: normal;
  color: var(--gold);
}

.page-hero__sub {
  margin-top: 1.65rem;
  font-family: var(--title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark-2);
  max-width: 42em;
  line-height: 1.9;
  animation: riseIn 1.1s 0.3s both;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
  font-family: var(--title);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark-2);
}

.breadcrumb a {
  color: var(--muted-dark-2);
  transition: color 0.25s ease;
}
.breadcrumb a:hover {
  color: var(--paper);
}
.breadcrumb .sep {
  color: var(--gold);
}
.breadcrumb [aria-current='page'] {
  color: var(--gold);
}

.nav-link.is-active {
  color: var(--paper);
}
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   MAP
   ============================================================ */
.map-wrap {
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
}

.map-embed {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 430px);
  border: 0;
  filter: grayscale(1) contrast(1.04);
}

/* ============================================================
   PHONE FLOAT
   ============================================================ */
.phone-float {
  position: fixed;
  right: calc(clamp(1.1rem, 2.5vw, 2rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(1.1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #141f46;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.3s var(--motion),
    background 0.3s ease,
    color 0.3s ease;
}

.phone-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.phone-float:hover {
  transform: translateY(-2px);
  background: var(--paper);
  color: var(--ink);
}

.phone-float__label {
  position: absolute;
  right: calc(100% + 0.9rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  padding: 0.6rem 1rem;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--title);
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--motion);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.phone-float:hover .phone-float__label,
.phone-float:focus-visible .phone-float__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 1001;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 3px 3px;
  font-size: 13px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   RESPONSIVE FINISH / MOTION SAFEGUARDS
   ============================================================ */
.site-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

:is(.about, .refs, .faq, .contact, .section--light, .section--paper, .section--sand) :focus-visible {
  outline-color: var(--ink);
}
.section:not(:is(.section--light, .section--paper, .section--sand, .about, .refs, .faq, .contact)) .faq-link {
  color: var(--gold);
}

@media (min-width: 1100px) {
  .home-page .hero__cards {
    margin-bottom: 0.5rem;
    transform: translateY(1rem);
  }
  .home-page .about__media {
    aspect-ratio: 0.9;
  }
}

@media (max-width: 1199px) {
  .hero__chapter {
    display: none;
  }
}

@media (max-width: 1099px) {
  .hero {
    min-height: 100svh;
  }
  .hero__inner {
    padding-top: 10rem;
    padding-bottom: 3.5rem;
  }
  .hero__content {
    max-width: 720px;
  }
  .hero__title {
    font-size: clamp(2.6rem, 8vw, 5.6rem);
  }
  .hero__frame {
    bottom: 7rem;
  }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(15, 24, 54, 0.92), rgba(15, 24, 54, 0.5)),
      linear-gradient(0deg, rgba(15, 24, 54, 0.8), transparent 70%);
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .contact-form .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 719px) {
  .site-header__inner {
    height: 5rem;
  }
  .hero__inner {
    padding-top: 8.5rem;
    padding-bottom: 2.5rem;
    gap: 2.5rem;
  }
  .hero__frame {
    inset: 6rem var(--gutter) 8rem;
  }
  .hero__frame span {
    font-size: 8px;
    top: 0.6rem;
    right: 0.6rem;
  }
  .hero__frame span:last-child {
    display: none;
  }
  .hero__title {
    font-size: clamp(2.55rem, 9.7vw, 4.4rem);
    letter-spacing: -0.05em;
  }
  .hero__lead {
    margin-top: 1.5rem;
  }
  .hero__actions {
    gap: 0.6rem 1.5rem;
    margin-top: 1.7rem;
  }
  .hero__services {
    max-width: 31em;
    font-size: 9px;
  }
  .hero__cards {
    max-width: 100%;
  }
  .hero-card {
    max-width: 390px;
    padding: 1.2rem;
  }
  .hero__bottom {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding-block: 1rem;
  }
  .hero-slider {
    gap: 0.8rem;
  }
  .hero-slider__track {
    width: 64px;
  }
  .hero-slider__count {
    font-size: 12px;
  }
  .hero-slider__nav {
    gap: 0.4rem;
  }
  .page-hero::after {
    inset: 6rem var(--gutter) 1.5rem;
  }
  .page-hero__content {
    min-height: 520px;
    padding-top: 9rem;
  }
  .page-hero__sub {
    font-size: 10px;
  }
  .breadcrumb {
    font-size: 10px;
    letter-spacing: 0.1em;
    gap: 0.5rem;
  }
  .service-card {
    min-height: 285px;
  }
  .service-card__top {
    margin-bottom: 2.5rem;
  }
  .service-card h3 {
    font-size: 1.5rem;
  }
  .ref-card__body {
    padding: 1.3rem;
  }
  .ref-card__title-row {
    gap: 0.7rem;
  }
  .ref-card__units {
    font-size: 15px;
  }
  .stats {
    gap: 2rem 1rem;
  }
  .footer-top {
    gap: 2.5rem;
  }
  .footer-bottom {
    padding-bottom: 5.5rem;
  }
  .phone-float {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 479px) {
  .menu-nav a {
    gap: 0.75rem;
  }
  .hero__bottom > .subtle-link {
    width: 100%;
  }
  .hero-slider {
    width: 100%;
    justify-content: space-between;
  }
  .hero-slider__track {
    flex: 1;
    max-width: 110px;
  }
  .hero-card__slide {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.8rem;
  }
  .hero-card__thumb {
    width: 64px;
    height: 72px;
  }
  .hero-card__info h3 {
    font-size: 1rem;
  }
  .action {
    gap: 16px;
    padding-left: 16px;
    font-size: 13px;
  }
  .hero__actions > .action {
    width: 100%;
  }
  .process__item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.65rem 1rem;
  }
  .process__num {
    font-size: 24px;
    padding-left: 1.5rem;
  }
  .process__item::before {
    left: 5px;
  }
  .process__item::after {
    left: 2px;
  }
  .process__item h3 {
    font-size: 20px;
  }
  .faq-item summary {
    font-size: 1.1rem;
    padding-block: 1.4rem;
  }
  .faq-item__body {
    padding-right: 0;
  }
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom nav {
    flex-wrap: wrap;
  }
}

@media (hover: none) {
  .service-card::before {
    display: none;
  }
  .ref-card:hover,
  .float-card:hover,
  .phone-float:hover {
    transform: none;
  }
  .ref-card:hover .ref-card__media img,
  .about__media:hover img,
  .split__media:hover img {
    transform: none;
  }
  .ribbon__track {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    scroll-behavior: auto !important;
  }
  .motion-ready .reveal,
  .motion-ready :is(.about__media, .split__media, .person__media).reveal,
  .hero__eyebrow,
  .hero__title .line span,
  .hero__lead,
  .hero__actions,
  .hero__services,
  .hero__cards,
  .hero__bottom,
  .page-hero h1,
  .page-hero__sub,
  .menu-overlay.is-open .menu-nav a {
    opacity: 1;
    clip-path: none;
  }
  .action::before {
    display: none;
  }
  .action:is(:hover, :focus-visible) {
    background: var(--paper);
  }
  .action--ghost:is(:hover, :focus-visible) {
    background: var(--gold);
  }
  .action--outline:is(:hover, :focus-visible) {
    background: var(--ink);
  }
  .faq-item__icon {
    margin-top: -17px;
  }
  .faq-item__icon::before {
    margin-left: -6px;
    margin-top: -0.75px;
  }
  .faq-item__icon::after {
    margin-left: -0.75px;
    margin-top: -6px;
  }
  .faq-item[open] .faq-item__icon::after {
    display: none;
  }
  .nav-link::after {
    opacity: 0;
  }
  .nav-link:is(:hover, :focus-visible, .is-active)::after {
    opacity: 1;
  }
  .site-progress {
    display: none;
  }
}
