@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #111d2b;
  --ink-2: #182a3d;
  --slate: #34404d;
  --line: rgba(17, 29, 43, 0.14);
  --wine: #713b49;
  --wine-2: #96596a;
  --gold: #b99a61;
  --ivory: #f7f4ee;
  --sand: #e9e1d5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 29, 43, 0.14);
  --soft-shadow: 0 12px 35px rgba(17, 29, 43, 0.1);
  --radius: 18px;
  --scroll-ratio: 0;
  --surface-x: 50%;
  --surface-y: 50%;
  --hero-x: 50%;
  --hero-y: 45%;
  --light-x: 50%;
  --light-y: 50%;
  --light-opacity: 0;
  --beam-blue: #64b5ff;
  --beam-blue-soft: rgba(100, 181, 255, 0.42);
  --beam-blue-faint: rgba(100, 181, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf9f4 0%, var(--ivory) 46%, #eee6da 100%);
  font-family: "Manrope", system-ui, sans-serif;
  min-width: 320px;
  overflow-x: hidden;
  padding-top: 120px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--wine-2), var(--ink));
  transform: scaleX(var(--scroll-ratio));
  transform-origin: left;
  box-shadow: 0 0 24px rgba(185, 154, 97, 0.38);
  pointer-events: none;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

@media (pointer: fine) {
  body.has-light-cursor,
  body.has-light-cursor a,
  body.has-light-cursor button {
    cursor: none;
  }

  body.has-light-cursor input,
  body.has-light-cursor textarea,
  body.has-light-cursor select {
    cursor: text;
  }
}

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

button {
  cursor: pointer;
}

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

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

.light-cursor {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 260;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
  mix-blend-mode: screen;
}

.light-cursor.is-visible {
  opacity: 1;
}

.light-cursor__beam {
  position: absolute;
  left: 0;
  top: 0;
  width: 230px;
  height: 76px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 8% 50%, rgba(230, 245, 255, 0.98), var(--beam-blue-soft) 22%, rgba(82, 129, 255, 0.26) 44%, transparent 72%);
  filter: blur(8px);
  opacity: 0.78;
  transform: translate(-14px, -50%) rotate(var(--cursor-angle, 0deg));
  transform-origin: 14px 50%;
}

.light-cursor__core {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(235, 248, 255, 0.98);
  box-shadow:
    0 0 12px rgba(235, 248, 255, 0.96),
    0 0 34px rgba(100, 181, 255, 0.74),
    0 0 70px rgba(82, 129, 255, 0.28);
  transform: translate(-50%, -50%);
}

.light-cursor.is-interactive .light-cursor__beam {
  width: 270px;
  height: 92px;
  opacity: 0.92;
}

.light-cursor.is-pressing .light-cursor__core {
  transform: translate(-50%, -50%) scale(0.72);
}

:focus-visible {
  outline: 3px solid rgba(185, 154, 97, 0.9);
  outline-offset: 3px;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 238, 0.78);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 18px 60px rgba(17, 29, 43, 0.1);
}

.site-header.is-scrolled .topbar {
  min-height: 30px;
}

.site-header.is-scrolled .nav-shell {
  min-height: 68px;
}

.site-header.is-scrolled .brand__mark {
  transform: scale(0.88);
}

.site-header.is-scrolled .brand__name {
  font-size: clamp(23px, 2vw, 30px);
}

.topbar,
.nav-shell,
.section,
.trust-strip {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--slate);
  border-bottom: 1px solid rgba(17, 29, 43, 0.08);
  transition: min-height 220ms ease;
}

.topbar__actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--ink);
  min-height: 34px;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 700;
}

.text-action:hover {
  background: var(--sand);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: min-height 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  overflow: visible;
}

.brand__mark {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
    var(--ink);
  box-shadow: var(--soft-shadow);
  overflow: visible;
  transition: transform 220ms ease;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 14px;
  right: -8px;
  bottom: 10px;
  height: 16px;
  border-bottom: 3px solid var(--wine-2);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.brand__mark::before {
  content: "";
  position: absolute;
  right: -5px;
  bottom: 12px;
  width: 28px;
  height: 14px;
  border-bottom: 3px solid var(--gold);
  border-radius: 50%;
  transform: rotate(8deg);
}

.brand__letter {
  z-index: 1;
  color: var(--ivory);
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
  line-height: 1;
}

.brand__letter--a {
  color: var(--gold);
}

.brand__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 0.92;
  white-space: nowrap;
  transition: font-size 220ms ease;
}

.brand__descriptor {
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate);
  overflow: hidden;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
  background: rgba(233, 225, 213, 0.86);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: var(--white);
  padding-inline: 18px;
}

.main-nav .nav-cta:hover {
  background: var(--wine);
  color: var(--white);
}

.main-nav .nav-cta::after {
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  min-height: calc(100svh - 128px);
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

main > section {
  position: relative;
}

.section-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--light-opacity);
  transition: opacity 260ms ease;
  mix-blend-mode: screen;
}

.section.is-lit,
.hero.is-lit,
.inner-hero.is-lit,
.trust-strip.is-lit,
.image-story.is-lit,
.full-bleed-panel.is-lit,
.panoramic-break.is-lit {
  --light-opacity: 1;
}

.hero .section-light,
.inner-hero .section-light {
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(120, 200, 255, 0.34), transparent 18%),
    radial-gradient(circle at calc(var(--light-x) + 18%) calc(var(--light-y) + 16%), rgba(82, 129, 255, 0.18), transparent 26%);
}

.trust-strip .section-light {
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(170, 220, 255, 0.32) 44%, transparent 58%),
    radial-gradient(circle at var(--light-x) var(--light-y), var(--beam-blue-faint), transparent 24%);
}

.section .section-light {
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), var(--beam-blue-faint), transparent 22%),
    radial-gradient(circle at calc(var(--light-x) + 10%) calc(var(--light-y) + 14%), rgba(82, 129, 255, 0.1), transparent 30%);
}

.service-lab .section-light {
  background:
    linear-gradient(90deg, transparent, rgba(100, 181, 255, 0.14), transparent),
    repeating-linear-gradient(135deg, rgba(100, 181, 255, 0.08) 0 1px, transparent 1px 22px),
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(170, 220, 255, 0.3), transparent 20%);
}

.section--dark .section-light {
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(170, 220, 255, 0.3), transparent 20%),
    conic-gradient(from 180deg at var(--light-x) var(--light-y), transparent, rgba(100, 181, 255, 0.2), transparent 42%);
}

.resources .section-light {
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(100, 181, 255, 0.16), transparent 24%),
    linear-gradient(115deg, transparent, rgba(100, 181, 255, 0.1), transparent);
}

.faq-section .section-light {
  background:
    radial-gradient(ellipse at var(--light-x) var(--light-y), rgba(220, 242, 255, 0.46), transparent 22%),
    linear-gradient(180deg, rgba(100, 181, 255, 0.08), transparent);
}

.form-section .section-light,
.location-section .section-light {
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(100, 181, 255, 0.2), transparent 22%),
    linear-gradient(90deg, rgba(220, 242, 255, 0.14), transparent 60%);
}

.image-story .section-light,
.full-bleed-panel .section-light,
.panoramic-break .section-light {
  background:
    radial-gradient(circle at var(--light-x) var(--light-y), rgba(170, 220, 255, 0.3), transparent 19%),
    linear-gradient(115deg, transparent 0 36%, rgba(220, 242, 255, 0.16) 48%, transparent 60%);
}

.hero::before,
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at calc(var(--hero-x) + 14%) calc(var(--hero-y) + 18%), rgba(185, 154, 97, 0.18), transparent 18%);
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.hero__content,
.hero-card,
.inner-hero__content {
  position: relative;
  z-index: 1;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  transform: scale(1.04);
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 500ms ease;
}

.hero.is-lit .hero__media img,
.inner-hero.is-lit img,
.image-story.is-lit img,
.full-bleed-panel.is-lit img,
.panoramic-break.is-lit img,
.service-card.is-lit img,
.location-card.is-lit img {
  filter: brightness(1.15) saturate(1.1) contrast(1.04);
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 29, 43, 0.88) 0%, rgba(17, 29, 43, 0.65) 46%, rgba(17, 29, 43, 0.16) 100%),
    linear-gradient(180deg, transparent 0%, rgba(17, 29, 43, 0.6) 100%);
}

.hero__content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 0 90px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(55px, 8.5vw, 118px);
  line-height: 0.84;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.9;
}

h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
}

.hero__lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.hero__actions,
.form-actions,
.copy-row,
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 34px;
}

.button {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-140%) rotate(16deg);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(420%) rotate(16deg);
}

.button--primary {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}

.button--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button--light {
  color: var(--ink);
  background: var(--ivory);
  border-color: rgba(255, 255, 255, 0.6);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
  color: var(--ink);
}

.microcopy {
  margin-top: 18px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  width: min(340px, calc(100% - 48px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(247, 244, 238, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.hero-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
  line-height: 0.95;
}

.hero-card__tag,
.service-card span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.hero-card__grid span {
  border-radius: 10px;
  background: var(--white);
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.trust-strip div {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  padding: 22px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0))
    scale(var(--trust-scale, 1));
  transition:
    transform 260ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.trust-strip div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--surface-x) var(--surface-y), rgba(185, 154, 97, 0.2), transparent 36%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.trust-strip div > * {
  position: relative;
  z-index: 1;
}

.trust-strip div:hover {
  --lift: -4px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.trust-strip div:hover::before {
  opacity: 1;
}

.trust-strip.is-section-active div {
  animation: trustRise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.trust-strip.is-section-active div:nth-child(2) {
  animation-delay: 80ms;
}

.trust-strip.is-section-active div:nth-child(3) {
  animation-delay: 160ms;
}

.trust-strip.is-section-active div:nth-child(4) {
  animation-delay: 240ms;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}

.image-story,
.full-bleed-panel,
.panoramic-break {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 78vw, 760px);
  overflow: hidden;
  isolation: isolate;
}

.image-story::before,
.full-bleed-panel::before,
.panoramic-break::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.14) 48%, transparent 56%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 70px);
  opacity: 0;
  transform: translateX(-10%);
  transition:
    opacity 600ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.image-story.is-section-active::before,
.full-bleed-panel.is-section-active::before,
.panoramic-break.is-section-active::before {
  opacity: 1;
  transform: translateX(0);
}

.image-story__content,
.full-bleed-panel__glass,
.panoramic-break div {
  position: relative;
  z-index: 1;
}

.image-story img,
.full-bleed-panel img,
.panoramic-break img {
  position: absolute;
  inset: -7% 0;
  z-index: -2;
  width: 100%;
  height: 114%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transition:
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.92) contrast(1.02);
}

img[src*="family-consultation"] {
  object-position: 50% 46%;
}

img[src*="mediation-table"] {
  object-position: 50% 47%;
}

img[src*="profile-office"] {
  object-position: 58% 48%;
}

img[src*="resources-desk"] {
  object-position: 50% 52%;
}

img[src*="city-architecture"] {
  object-position: 50% 45%;
}

.image-story::after,
.full-bleed-panel::after,
.panoramic-break::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 29, 43, 0.84), rgba(17, 29, 43, 0.34) 54%, rgba(17, 29, 43, 0.12)),
    linear-gradient(180deg, rgba(17, 29, 43, 0.05), rgba(17, 29, 43, 0.38));
}

.image-story {
  display: grid;
  align-items: end;
  padding: clamp(42px, 8vw, 96px) max(16px, calc((100vw - 1180px) / 2));
  clip-path: inset(6% 3% round 26px);
  transition:
    clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 600ms ease,
    transform 600ms ease;
}

.image-story.is-visible {
  clip-path: inset(0 0 round 0);
}

.image-story--reverse::after {
  background:
    linear-gradient(270deg, rgba(17, 29, 43, 0.84), rgba(17, 29, 43, 0.28) 58%, rgba(17, 29, 43, 0.12)),
    linear-gradient(180deg, rgba(17, 29, 43, 0.08), rgba(17, 29, 43, 0.38));
}

.image-story--reverse {
  justify-items: end;
}

.image-story__content {
  width: min(620px, 100%);
  color: var(--white);
}

.image-story__content span,
.panoramic-break span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.image-story__content h2,
.full-bleed-panel__glass h2 {
  margin-top: 16px;
}

.image-story__content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.full-bleed-panel {
  min-height: clamp(540px, 70vw, 720px);
  display: grid;
  place-items: end start;
  padding: clamp(36px, 7vw, 88px) max(16px, calc((100vw - 1180px) / 2));
}

.full-bleed-panel::after {
  background:
    linear-gradient(180deg, rgba(17, 29, 43, 0.04), rgba(17, 29, 43, 0.66)),
    linear-gradient(90deg, rgba(17, 29, 43, 0.46), transparent 70%);
}

.full-bleed-panel__glass {
  max-width: 690px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(17, 29, 43, 0.48);
  color: var(--white);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(28px);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.full-bleed-panel.is-visible .full-bleed-panel__glass {
  transform: translateY(0);
}

.full-bleed-panel--resources {
  place-items: center end;
}

.full-bleed-panel--resources::after {
  background:
    linear-gradient(180deg, rgba(17, 29, 43, 0.08), rgba(17, 29, 43, 0.54)),
    linear-gradient(270deg, rgba(17, 29, 43, 0.62), rgba(17, 29, 43, 0.12));
}

.panoramic-break {
  min-height: clamp(380px, 50vw, 560px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
}

.panoramic-break::after {
  background:
    linear-gradient(180deg, rgba(17, 29, 43, 0.28), rgba(17, 29, 43, 0.72)),
    rgba(17, 29, 43, 0.2);
}

.panoramic-break div {
  width: min(860px, calc(100% - 32px));
}

.panoramic-break strong {
  display: block;
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.9;
}

.image-story.is-visible img,
.full-bleed-panel.is-visible img,
.panoramic-break.is-visible img {
  transform: scale(1.01);
  filter: saturate(1.02) contrast(1.04);
}

.section {
  position: relative;
  padding: clamp(74px, 9vw, 124px) 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(1180px, calc(100% - 32px));
  height: 1px;
  margin-inline: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, transparent, rgba(185, 154, 97, 0.72), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section.is-section-active::before {
  transform: scaleX(1);
}

.section__heading {
  max-width: 780px;
}

.section__heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section__heading .eyebrow::after {
  content: "";
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
  transition: width 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section.is-section-active .section__heading .eyebrow::after {
  width: 52px;
}

.section__heading p:not(.eyebrow) {
  color: var(--slate);
  font-size: 18px;
  line-height: 1.75;
}

.intro-grid,
.service-grid,
.proposal-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.service-finder,
.booking-card,
.smart-form,
.faq-list,
.map-consent,
.proposal-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--soft-shadow);
}

.hero-card,
.feature-card,
.service-finder,
.booking-card,
.smart-form,
.faq-list,
.map-consent,
.proposal-panel,
.service-card,
.resource-card,
.rich-list article,
.process-card,
.article-card,
.page-intro__panel,
.location-card,
.quote-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-card::before,
.feature-card::before,
.service-finder::before,
.booking-card::before,
.smart-form::before,
.faq-list::before,
.map-consent::before,
.proposal-panel::before,
.service-card::before,
.resource-card::before,
.rich-list article::before,
.process-card::before,
.article-card::before,
.page-intro__panel::before,
.location-card::before,
.quote-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--surface-x) var(--surface-y), rgba(255, 255, 255, 0.46), transparent 30%),
    linear-gradient(135deg, rgba(185, 154, 97, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.hero-card > *,
.feature-card > *,
.service-finder > *,
.booking-card > *,
.smart-form > *,
.faq-list > *,
.map-consent > *,
.proposal-panel > *,
.service-card > *,
.resource-card > *,
.rich-list article > *,
.process-card > *,
.article-card > *,
.page-intro__panel > *,
.location-card > *,
.quote-panel > * {
  position: relative;
  z-index: 1;
}

.hero-card:hover::before,
.feature-card:hover::before,
.service-finder:hover::before,
.booking-card:hover::before,
.smart-form:hover::before,
.faq-list:hover::before,
.map-consent:hover::before,
.proposal-panel:hover::before,
.service-card:hover::before,
.resource-card:hover::before,
.rich-list article:hover::before,
.process-card:hover::before,
.article-card:hover::before,
.page-intro__panel:hover::before,
.location-card:hover::before,
.quote-panel:hover::before {
  opacity: 1;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transition:
    transform 260ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.feature-card:hover,
.service-card:hover {
  --lift: -6px;
  background: var(--white);
  border-color: rgba(185, 154, 97, 0.42);
  box-shadow: var(--shadow);
}

.feature-card__number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin-top: 54px;
}

.feature-card p,
.service-card p,
.booking-card p,
.location-card p,
.proposal-panel p {
  color: var(--slate);
  line-height: 1.72;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.service-finder {
  padding: 24px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17, 29, 43, 0.1);
}

.chip.is-active,
.date-row button.is-active,
.hour-row button.is-active,
.mode-row button.is-active,
.resource-tools .chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.finder-result {
  margin-top: 20px;
  border-radius: 14px;
  background: var(--ivory);
  padding: 20px;
}

.finder-result strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  display: block;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transition:
    transform 260ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.service-card img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-card div {
  position: relative;
  padding: 22px;
}

.service-card div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--wine-2));
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover div::before {
  width: calc(100% - 44px);
}

.service-card h3 {
  margin-top: 12px;
}

.section--dark {
  width: 100%;
  margin: 0;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(185, 154, 97, 0.14), transparent 32%),
    var(--wine);
}

.section--dark .section__heading p:not(.eyebrow),
.section--dark .mediation-panel {
  color: rgba(255, 255, 255, 0.8);
}

.mediation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.mediation-step {
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 20px;
  text-align: left;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.mediation-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 20px 50px rgba(17, 29, 43, 0.18);
}

.mediation-step span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font: 700 12px/1 "Manrope", sans-serif;
  letter-spacing: 0.2em;
}

.mediation-step.is-active {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
  box-shadow: 0 22px 60px rgba(17, 29, 43, 0.24);
}

.mediation-panel {
  margin-top: 18px;
  max-width: 880px;
  border-radius: 16px;
  background: rgba(17, 29, 43, 0.22);
  padding: 24px;
  font-size: 18px;
  line-height: 1.7;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

.mediation-panel.is-switching {
  opacity: 0.48;
  transform: translateY(8px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 26px;
  margin-top: 40px;
}

.smart-form,
.booking-card {
  padding: 26px;
}

.form-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
}

.form-progress div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sand);
}

.form-progress i {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: 999px;
  background: var(--wine);
  transition: width 220ms ease;
}

.form-step {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border: 0;
  padding: 0;
  margin: 0;
}

.form-step.is-active {
  display: grid;
  animation: stepIn 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step legend {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(17, 29, 43, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 12px 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(185, 154, 97, 0.7);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(185, 154, 97, 0.14);
}

textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 400;
  line-height: 1.65;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.summary {
  grid-column: 1 / -1;
  border-radius: 14px;
  background: var(--ivory);
  padding: 18px;
  color: var(--slate);
  line-height: 1.7;
}

.form-error {
  min-height: 22px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

.date-row,
.hour-row,
.mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.date-row button,
.hour-row button,
.mode-row button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.date-row button:hover,
.hour-row button:hover,
.mode-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17, 29, 43, 0.1);
}

.booking-summary {
  margin: 20px 0;
  border-radius: 14px;
  background: var(--ivory);
  padding: 16px;
  color: var(--slate);
  line-height: 1.7;
}

.resource-tools {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.resource-tools input,
.faq-search input {
  max-width: 360px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.resource-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transition:
    transform 260ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  animation: cardIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.resource-card:hover {
  --lift: -5px;
  background: var(--white);
  border-color: rgba(185, 154, 97, 0.42);
  box-shadow: var(--shadow);
}

.resource-card span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.resource-card p,
.faq-answer {
  color: var(--slate);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 14px;
}

.faq-item {
  border: 1px solid rgba(17, 29, 43, 0.1);
  border-radius: 14px;
  background: rgba(247, 244, 238, 0.8);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.6);
}

.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid rgba(17, 29, 43, 0.1);
  padding: 0 18px;
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    padding 220ms ease;
}

.faq-item.is-open .faq-answer {
  max-height: 240px;
  opacity: 1;
  padding: 0 18px 18px;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 26px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
}

.location-card > div {
  padding: 34px;
}

.location-card img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.copy-row {
  margin-top: 24px;
}

.map-consent {
  margin-top: 18px;
  padding: 26px;
}

.map-consent iframe {
  width: 100%;
  height: 370px;
  border: 0;
  border-radius: 14px;
}

.proposal {
  padding-top: 20px;
}

.proposal-panel {
  background: var(--ink);
  color: var(--white);
  padding: clamp(28px, 5vw, 58px);
}

.proposal-panel .proposal-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 32px;
}

.proposal-grid span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.producer-card {
  margin-top: 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  padding: 20px;
}

.producer-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.mobile-action-bar {
  display: none;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  z-index: 70;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247, 244, 238, 0.96);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(18px);
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--slate);
  font-size: 13px;
}

.cookie-banner.is-hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background: rgba(17, 29, 43, 0.68);
  padding: 22px;
}

.modal.is-open {
  display: grid;
}

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 20px;
  background: var(--ivory);
  box-shadow: var(--shadow);
  padding: 30px;
  animation: modalIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal__panel--wide {
  width: min(820px, 100%);
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 28px;
  line-height: 1;
}

.modal__big {
  margin: 22px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
}

.message-preview {
  margin: 20px 0;
  border-radius: 14px;
  background: var(--white);
  padding: 18px;
  line-height: 1.7;
}

.video-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(185, 154, 97, 0.16), transparent 42%),
    var(--ink);
  color: var(--white);
  text-align: center;
  padding: 30px;
}

.video-placeholder span {
  width: 72px;
  height: 72px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

.toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 150;
  transform: translateY(-16px);
  opacity: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.inner-hero {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(92px, 12vw, 150px) max(16px, calc((100vw - 1180px) / 2)) clamp(58px, 8vw, 96px);
  color: var(--white);
}

.inner-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 29, 43, 0.88), rgba(17, 29, 43, 0.48) 58%, rgba(17, 29, 43, 0.12)),
    linear-gradient(180deg, rgba(17, 29, 43, 0.1), rgba(17, 29, 43, 0.62));
}

.inner-hero__content {
  max-width: 850px;
}

.inner-hero__content p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.75;
}

.page-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.page-intro__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  padding: clamp(24px, 4vw, 38px);
}

.page-intro__panel p,
.rich-list p,
.process-card p,
.quote-panel p {
  color: var(--slate);
  line-height: 1.75;
}

.rich-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.rich-list article,
.process-card,
.contact-panel,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  padding: 24px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
  transition:
    transform 260ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.rich-list article:hover,
.process-card:hover,
.article-card:hover {
  --lift: -5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.rich-list span,
.process-card span,
.article-card span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rich-list h3,
.process-card h3,
.article-card h3 {
  font-size: clamp(26px, 2.5vw, 36px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quote-panel {
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(185, 154, 97, 0.16), transparent 38%),
    var(--ink);
  color: var(--white);
  padding: clamp(30px, 6vw, 62px);
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 96px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--slate);
  font-size: 14px;
}

.site-footer a {
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@keyframes trustRise {
  from {
    opacity: 0;
    transform:
      perspective(900px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(18px)
      scale(0.98);
  }
  to {
    opacity: 1;
    transform:
      perspective(900px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(var(--lift, 0))
      scale(1);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform:
      perspective(900px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(12px)
      scale(0.985);
  }
  to {
    opacity: 1;
    transform:
      perspective(900px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(var(--lift, 0))
      scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  body {
    padding-top: 74px;
  }

  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 88px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(247, 244, 238, 0.98);
    box-shadow: var(--shadow);
    padding: 16px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 820px;
  }

  .hero-card {
    position: static;
    width: min(1180px, calc(100% - 32px));
    margin: -55px auto 32px;
  }

  .trust-strip,
  .intro-grid,
  .service-grid,
  .mediation-steps,
  .contact-grid,
  .resource-grid,
  .location-card,
  .proposal-panel .proposal-grid,
  .split,
  .page-intro,
  .rich-list,
  .process-grid,
  .article-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .image-story,
  .full-bleed-panel,
  .panoramic-break {
    min-height: 560px;
  }

  .image-story {
    clip-path: inset(0);
  }

  .resource-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-tools input,
  .faq-search input {
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 118px;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    min-height: 74px;
  }

  .brand__mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand__letter {
    font-size: 30px;
  }

  .brand__name {
    font-size: 24px;
  }

  .brand__descriptor {
    font-size: 9px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: min(68vw, 330px);
    background: var(--ink);
  }

  .hero__media {
    position: absolute;
    inset: 0 0 auto;
    height: min(68vw, 330px);
  }

  .hero__media img {
    object-fit: cover;
    object-position: 74% 45%;
    transform: none;
  }

  .hero__overlay {
    inset: 0 0 auto;
    height: min(68vw, 330px);
    background:
      linear-gradient(180deg, rgba(17, 29, 43, 0.08), rgba(17, 29, 43, 0.78)),
      linear-gradient(90deg, rgba(17, 29, 43, 0.5), rgba(17, 29, 43, 0.08));
  }

  .hero__content {
    padding: 34px 0 42px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-card {
    margin: 0 auto 32px;
  }

  .inner-hero {
    min-height: auto;
    display: block;
    padding: min(68vw, 330px) 16px 46px;
    background: var(--ink);
  }

  .inner-hero img {
    inset: 0 0 auto;
    height: min(68vw, 330px);
    object-fit: cover;
    transform: none;
  }

  .inner-hero::after {
    inset: 0 0 auto;
    height: min(68vw, 330px);
    background:
      linear-gradient(180deg, rgba(17, 29, 43, 0.04), rgba(17, 29, 43, 0.78)),
      linear-gradient(90deg, rgba(17, 29, 43, 0.42), rgba(17, 29, 43, 0.04));
  }

  .inner-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 34px;
  }

  .inner-hero__content p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.65;
  }

  .image-story,
  .full-bleed-panel,
  .panoramic-break {
    min-height: auto;
    display: block;
    padding: min(68vw, 330px) 16px 42px;
    background: var(--ink);
  }

  .image-story img,
  .full-bleed-panel img,
  .panoramic-break img {
    inset: 0 0 auto;
    width: 100%;
    height: min(68vw, 330px);
    object-fit: cover;
    transform: none !important;
    filter: saturate(1.02) contrast(1.04);
  }

  .image-story::after,
  .full-bleed-panel::after,
  .panoramic-break::after,
  .image-story--reverse::after,
  .full-bleed-panel--resources::after {
    background:
      linear-gradient(180deg, rgba(17, 29, 43, 0.02), rgba(17, 29, 43, 0.78) 44%, var(--ink) 68%),
      linear-gradient(90deg, rgba(17, 29, 43, 0.28), rgba(17, 29, 43, 0.06));
  }

  .image-story__content,
  .full-bleed-panel__glass,
  .panoramic-break div {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .full-bleed-panel__glass {
    max-width: none;
    margin-top: 34px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }

  .image-story__content {
    padding-top: 34px;
  }

  .image-story__content p {
    font-size: 16px;
    line-height: 1.65;
  }

  .panoramic-break {
    text-align: left;
  }

  .panoramic-break strong {
    font-size: clamp(40px, 14vw, 62px);
  }

  .service-card img,
  .location-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .form-step {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.98);
    padding: 8px;
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-action-bar a:nth-child(2) {
    background: var(--ink);
    color: var(--white);
  }

  .cookie-banner {
    bottom: 76px;
    align-items: stretch;
    flex-direction: column;
  }

  .back-top {
    bottom: 84px;
  }
}
