:root {
  --paper: #f3ebe0;
  --paper-deep: #e6dccb;
  --ink: #1a2230;
  --ink-soft: #2c3444;
  --muted: #5c6573;
  --accent: #b08a45;
  --accent-deep: #8a652c;
  --accent-soft: #d4b57a;
  --sky: #5f86a8;
  --sky-soft: #d5e4f0;
  --sage: #5f7f6c;
  --sage-soft: #d7e5dc;
  --wine: #8a4553;
  --wine-soft: #edd8dc;
  --halo: rgba(255, 252, 245, 0.96);
  --glow: rgba(176, 138, 69, 0.28);
  --line: rgba(26, 34, 48, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --figure: min(48vw, 560px);
  --font-sans: "Onest", "Segoe UI", sans-serif;
  --font-serif: "Spectral", "Iowan Old Style", Georgia, serif;
  --space: clamp(1.15rem, 2.2vw, 1.75rem);

  /* Liquid Glass 2026 */
  --glass-blur: 22px;
  --glass-blur-strong: 32px;
  --glass-sat: 1.45;
  --glass-fill: rgba(255, 252, 247, 0.38);
  --glass-fill-strong: rgba(255, 252, 247, 0.58);
  --glass-fill-soft: rgba(255, 255, 255, 0.28);
  --glass-edge: rgba(255, 255, 255, 0.72);
  --glass-edge-soft: rgba(255, 255, 255, 0.4);
  --glass-rim: rgba(26, 34, 48, 0.07);
  --glass-spec:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.12) 28%,
      transparent 46%,
      transparent 62%,
      rgba(255, 255, 255, 0.1) 100%
    );
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -0.5px 0 rgba(26, 34, 48, 0.04) inset,
    0 10px 28px rgba(40, 36, 28, 0.06),
    0 28px 56px rgba(40, 36, 28, 0.08);
  --glass-shadow-lift:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 -0.5px 0 rgba(26, 34, 48, 0.05) inset,
    0 16px 40px rgba(40, 36, 28, 0.1),
    0 36px 72px rgba(40, 36, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 48% at 92% -8%, rgba(213, 228, 240, 0.7), transparent 58%),
    radial-gradient(ellipse 55% 42% at -6% 22%, rgba(237, 216, 220, 0.42), transparent 52%),
    radial-gradient(ellipse 48% 36% at 48% 8%, rgba(244, 230, 198, 0.55), transparent 55%),
    radial-gradient(ellipse 40% 30% at 70% 70%, rgba(215, 229, 220, 0.35), transparent 60%),
    linear-gradient(168deg, #efe4d4 0%, #f5efe6 42%, #e8eef5 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sky); }

/* Shared liquid glass material */
.glass,
.situation,
.service-link,
.steps li,
.lead-form,
.cookie-banner,
.nav-toggle {
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-rim);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: var(--glass-shadow);
  isolation: isolate;
}
.glass,
.situation,
.service-link,
.steps li,
.lead-form,
.cookie-banner {
  --gx: 50%;
  --gy: 18%;
  --glass-spot: 0;
}
.glass::before,
.situation::after,
.service-link::before,
.steps li::after,
.lead-form::before,
.cookie-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      150px circle at var(--gx) var(--gy),
      rgba(255, 255, 255, calc(0.38 * var(--glass-spot))),
      transparent 62%
    ),
    var(--glass-spec);
  opacity: 0.9;
  z-index: 0;
  transition: opacity 0.25s ease;
}
.glass > *,
.situation > *,
.service-link > *,
.steps li > *,
.lead-form > *,
.cookie-banner > * {
  position: relative;
  z-index: 1;
}

/* ---- Header: floating liquid chrome ---- */
.site-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, calc(100% - 1.5rem));
  margin: 0.7rem auto 0;
  padding: 0.65rem 0.85rem 0.65rem 1.35rem;
  position: sticky;
  top: 0.7rem;
  z-index: 45;
  overflow: visible;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.46);
  border: 1px solid var(--glass-edge-soft);
  backdrop-filter: blur(var(--glass-blur-strong)) saturate(1.55);
  -webkit-backdrop-filter: blur(var(--glass-blur-strong)) saturate(1.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78) inset,
    0 12px 36px rgba(40, 36, 28, 0.08),
    0 2px 8px rgba(40, 36, 28, 0.04);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    transparent 42%,
    transparent 100%
  );
  opacity: 0.9;
}
.brand {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.nav {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  align-items: center;
  overflow: visible;
}
.nav a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.28s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.32) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  transform: scale(1.12);
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(175deg, #c49a55 0%, #a67a38 48%, #8a652c 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 32px var(--glow),
    0 0 0 1px rgba(138, 101, 44, 0.18);
}
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: translateX(120%);
}
.header-phone {
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-weight: 700;
  color: var(--accent-deep);
  font-size: 1.02rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: background 0.22s ease, transform 0.22s ease;
}
.header-phone:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}
.nav-phone { display: none; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1;
  width: 2.7rem;
  height: 2.7rem;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  --glass-blur: 14px;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: #f7f3ea;
  border-color: var(--ink);
  box-shadow: none;
}
.nav-toggle[aria-expanded="true"]::before { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav-backdrop { display: none; }

/* ---- Hero ---- */
.hero {
  --figure: min(42vw, 540px);
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 65% at 82% 70%, rgba(255, 255, 255, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 42% 48% at 12% 42%, rgba(237, 216, 220, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 36% 40% at 48% 8%, rgba(213, 228, 240, 0.48) 0%, transparent 60%),
    linear-gradient(118deg, transparent 0%, transparent 100%);
}

.hero-atmosphere::before,
.hero-atmosphere::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
  opacity: 0.6;
}
.hero-atmosphere::before {
  width: min(52vw, 540px);
  height: min(52vw, 540px);
  right: 5%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(213, 228, 240, 0.4) 42%, transparent 70%);
  animation: halo-breathe 7.5s ease-in-out infinite;
}
.hero-atmosphere::after {
  width: min(38vw, 400px);
  height: min(38vw, 400px);
  left: 3%;
  top: 18%;
  background: radial-gradient(circle, rgba(176, 138, 69, 0.18) 0%, transparent 70%);
  animation: halo-breathe 9s ease-in-out infinite reverse;
}

.hero-mark {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 1;
  width: calc(var(--figure) * 2);
  height: calc(var(--figure) * 2);
  margin: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  filter: blur(1.5px) drop-shadow(0 8px 20px rgba(40, 36, 28, 0.06));
}
.hero-mark picture,
.hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-stage {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 0.75rem;
  padding: 4.75rem clamp(1.25rem, 3vw, 2.5rem) 1.35rem;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 40rem;
  padding: 1.65rem 1.85rem 1.75rem 1.55rem;
  margin-top: -8vh;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.42);
  border: 1px solid var(--glass-edge-soft);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: var(--glass-shadow);
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.12) 40%,
    transparent 70%
  );
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.95rem;
  max-width: 16ch;
}
.hero-brand-role {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  line-height: 1.2;
}
.hero-brand-name {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 11ch;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.22;
  margin: 0 0 0.75rem;
  color: var(--wine);
  max-width: 22rem;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 32rem;
  margin: 0;
  line-height: 1.55;
}
.hero .lead {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
}
.cta-row { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.45rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.55rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(175deg, #c49a55 0%, #a67a38 48%, #8a652c 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 36px var(--glow),
    0 0 0 1px rgba(138, 101, 44, 0.18);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 44px var(--glow);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.4);
  border-color: var(--glass-edge);
  color: var(--ink);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 22px rgba(40, 36, 28, 0.06);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}
.glow {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(176, 138, 69, 0.2),
    0 14px 42px var(--glow);
}

.hero-photo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  height: min(88svh, 820px);
  max-height: 100svh;
  pointer-events: none;
  align-self: end;
}
.photo-halo {
  position: absolute;
  z-index: 0;
  width: calc(var(--figure) * 1.05);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(213, 228, 240, 0.45) 36%, transparent 68%);
  filter: blur(8px);
  bottom: 4%;
  animation: halo-breathe 8s ease-in-out infinite;
}
.photo-figure {
  position: relative;
  z-index: 1;
  width: var(--figure);
  height: min(86svh, 800px);
  margin: 0 auto;
  filter: drop-shadow(0 28px 50px rgba(60, 70, 95, 0.16));
  transform-origin: 50% 100%;
}
.photo-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.hero-enter .hero-copy {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s ease 0.15s forwards;
}
.hero-enter .photo-figure {
  opacity: 0;
  transform: translateY(22px) scale(1.02);
  filter: blur(6px) drop-shadow(0 28px 50px rgba(60, 70, 95, 0.16));
  animation: photo-reveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes rise-in {
  to { opacity: 1; transform: none; }
}
@keyframes photo-reveal {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0) drop-shadow(0 28px 50px rgba(60, 70, 95, 0.16));
  }
}
@keyframes halo-breathe {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.05); opacity: 0.82; }
}

/* ---- Sections ---- */
.section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 3vw, 2rem);
  max-width: 1160px;
  margin: 0 auto;
  scroll-margin-top: 5.5rem;
}
.section-eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.section h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.05rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  color: var(--ink);
  max-width: 18ch;
}
.section-lead {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2.1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

/* ---- Story route: glowing scroll line ---- */
.story-route {
  --story-progress: 0;
  position: relative;
  margin: 0.35rem 0 0.75rem;
}
.story-board {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 0.35rem;
}
.story-track {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.story-line {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.story-line-base {
  /* full future route stays invisible; only the lit draw paths show */
  stroke: rgba(176, 138, 69, 0.0);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.story-line-glow {
  stroke: #ffe9a8;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
  /* no vector-effect: keeps dash sync cheap with pathLength=1 */
}
.story-line-core {
  stroke: url(#story-line-grad);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255, 200, 80, 0.95));
}
.story-board .situation,
.story-board .service-link,
.story-board .steps li {
  background-color: rgba(252, 248, 241, 0.9);
}
.story-line-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.story-line-head {
  filter: drop-shadow(0 0 12px rgba(255, 210, 100, 0.95));
}
.story-board > .section {
  position: relative;
  z-index: 1;
}
.story-board .situations,
.story-board .services-rail,
.story-board .steps {
  position: relative;
  z-index: 2;
  background: transparent;
}
.story-tip-row {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin: 0.15rem 0 2.35rem;
  max-width: min(38rem, 100%);
}
.story-tip-row--rtl {
  margin-left: auto;
}
.story-wire {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 14px;
  padding: 0 0.15rem;
}
.story-wire-gap { flex: 1 1 auto; height: 1px; }
.story-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.95);
  border: 2px solid rgba(176, 138, 69, 0.32);
  box-shadow: 0 0 0 3px rgba(176, 138, 69, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.story-dot.is-on {
  background: #ffd978;
  border-color: #f0c050;
  box-shadow:
    0 0 0 4px rgba(255, 210, 100, 0.35),
    0 0 16px rgba(255, 200, 80, 0.75),
    0 0 28px rgba(255, 180, 60, 0.45);
  transform: scale(1.12);
}
.story-tip {
  --reveal: 0;
  --wipe: 90deg;
  margin: 0;
  padding: 0.95rem 1.2rem;
  border-radius: 18px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.45vw, 1.14rem);
  line-height: 1.5;
  border: 1px solid rgba(196, 154, 85, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(252, 247, 238, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 28px rgba(40, 36, 28, 0.06);
  opacity: calc(0.15 + 0.85 * min(1, var(--reveal) * 3));
  /* soft feathered wipe — no hard cut through glyphs */
  -webkit-mask-image: linear-gradient(
    var(--wipe),
    #000 0%,
    #000 calc(var(--reveal) * 100% - 8%),
    transparent calc(var(--reveal) * 100% + 10%)
  );
  mask-image: linear-gradient(
    var(--wipe),
    #000 0%,
    #000 calc(var(--reveal) * 100% - 8%),
    transparent calc(var(--reveal) * 100% + 10%)
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.2s ease;
}
.story-tip--ltr { --wipe: 90deg; }
.story-tip--rtl { --wipe: 270deg; }
.story-tip.is-on {
  border-color: rgba(196, 154, 85, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(196, 154, 85, 0.14),
    0 14px 40px rgba(176, 138, 69, 0.18);
}
.story-board .steps li {
  position: relative;
  opacity: 1;
  transform: none;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, background 0.35s ease;
}
.story-board .steps li::before {
  transition: box-shadow 0.4s ease, transform 0.35s ease, filter 0.35s ease;
  filter: saturate(0.75) brightness(1.05);
}
.story-board .steps li.is-on {
  border-color: rgba(196, 154, 85, 0.42);
  background: rgba(255, 252, 247, 0.62);
  box-shadow:
    var(--glass-shadow),
    0 10px 28px rgba(176, 138, 69, 0.12);
}
.story-board .steps li.is-on::before {
  filter: none;
  transform: scale(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 4px rgba(212, 168, 92, 0.22),
    0 8px 20px rgba(138, 101, 44, 0.3);
}

.situations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.situation {
  padding: 1.4rem 1.3rem 1.45rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.situation::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--tone, var(--accent));
  box-shadow: 0 0 16px color-mix(in srgb, var(--tone, var(--accent)) 45%, transparent);
  z-index: 2;
}
.situation:hover {
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-lift);
  background: var(--glass-fill-strong);
}
.situation h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.situation p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.tone-gold {
  --tone: var(--accent);
  background:
    linear-gradient(160deg, rgba(244, 230, 198, 0.35), transparent 55%),
    var(--glass-fill);
}
.tone-sky {
  --tone: var(--sky);
  background:
    linear-gradient(160deg, rgba(213, 228, 240, 0.42), transparent 55%),
    var(--glass-fill);
}
.tone-sage {
  --tone: var(--sage);
  background:
    linear-gradient(160deg, rgba(215, 229, 220, 0.42), transparent 55%),
    var(--glass-fill);
}
.tone-wine {
  --tone: var(--wine);
  background:
    linear-gradient(160deg, rgba(237, 216, 220, 0.4), transparent 55%),
    var(--glass-fill);
}

.services-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.45rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  border-top: 2px solid color-mix(in srgb, var(--tone, var(--accent)) 55%, var(--glass-edge));
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.service-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-lift);
  background: var(--glass-fill-strong);
}
.service-link h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.18rem, 1.5vw, 1.35rem);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.service-link p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
  max-width: 44rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 500;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.steps li:hover {
  transform: translateX(4px);
  box-shadow: var(--glass-shadow-lift);
}
.steps li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 45%),
    linear-gradient(160deg, var(--accent-soft), var(--accent-deep));
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 20px rgba(176, 138, 69, 0.28);
}

.lead-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 92% 12%, rgba(213, 228, 240, 0.5), transparent 55%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(244, 230, 198, 0.48), transparent 50%),
    rgba(255, 252, 247, 0.32);
  border-radius: 32px;
  max-width: 1160px;
  margin: 1rem auto 2.5rem;
  border: 1px solid var(--glass-edge-soft);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: var(--glass-shadow);
  padding-top: clamp(2.5rem, 5vw, 3.5rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem) !important;
}
.lead-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 35%,
    transparent 70%,
    rgba(255, 255, 255, 0.08) 100%
  );
}
.lead-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.25rem 2.5rem;
  align-items: stretch;
}
.lead-copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.lead-copy .section-lead { margin-bottom: 1.35rem; }
.lead-form {
  display: grid;
  gap: 0.95rem;
  max-width: 30rem;
  padding: 1.55rem;
  border-radius: var(--radius);
  background: rgba(255, 252, 247, 0.5);
  --glass-blur: 18px;
}
.lead-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(26, 34, 48, 0.1);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.lead-form input:not([type="checkbox"]):focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(95, 134, 168, 0.5);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 3px rgba(95, 134, 168, 0.16);
}
.lead-form input:not([type="checkbox"])::placeholder,
.lead-form textarea::placeholder {
  color: #8890a0;
  opacity: 1;
}
.consent {
  display: flex !important;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.4;
  max-width: 100%;
}
.consent span {
  flex: 1 1 auto;
  min-width: 0;
}
.lead-portrait {
  margin: 0;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  min-height: 0;
  align-self: stretch;
}
.lead-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #e6ddcf;
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 2px 4px rgba(60, 48, 32, 0.06),
    0 14px 32px rgba(55, 45, 30, 0.12),
    0 32px 60px rgba(40, 32, 22, 0.16),
    0 48px 80px -12px rgba(30, 24, 16, 0.18);
}
.lead-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(26, 34, 48, 0.05);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.28) 0%,
    transparent 28%,
    transparent 72%,
    rgba(40, 32, 22, 0.08) 100%
  );
}
.lead-portrait-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.lead-portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { min-height: 1.2em; color: var(--sky); }

.credentials {
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.28);
  border: 1px solid var(--glass-rim);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: var(--glass-shadow);
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.credentials p {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.08rem;
}
.credentials strong { color: var(--ink); font-weight: 700; }

.site-footer {
  margin: 0 0.75rem 1.25rem;
  padding: 2rem 1.5rem 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--glass-rim);
  color: var(--muted);
  font-size: 0.98rem;
  background: rgba(255, 252, 247, 0.36);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--glass-shadow);
}
.site-footer a { color: var(--ink-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.75rem 1.5rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.footer-credit {
  margin-left: auto;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.footer-credit:hover {
  color: var(--accent-deep);
}
.page-block {
  min-height: 50vh;
  padding: 3.25rem 1.5rem;
  max-width: 920px;
  margin: 1rem auto 2rem;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.42);
  border: 1px solid var(--glass-rim);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--glass-shadow);
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-top: 1.8rem;
  color: var(--ink);
}
.legal-page .prose { color: var(--muted); font-size: 1.05rem; }
.legal-list { color: var(--muted); padding-left: 1.2rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Mobile floating CTA: appears after hero button leaves the viewport */
.fab-discuss {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 50;
  width: min(380px, calc(100vw - 2rem));
  max-width: 380px;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.55);
  --glass-blur: 20px;
}
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.92rem; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions .btn { padding: 0.55rem 0.9rem; font-size: 0.88rem; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-height: 820px) and (min-width: 901px) {
  .hero-copy { margin-top: -2vh; }
  .hero-brand { margin-bottom: 0.75rem; }
  .hero-brand-name { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
  .hero h1 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
  .lead { font-size: 1.02rem; }
  .cta-row { margin-top: 1rem; }
  .hero-photo { height: min(84svh, 700px); }
  .photo-figure { height: min(82svh, 680px); }
}

@media (max-width: 900px) {
  body {
    font-size: 1rem;
    background-attachment: scroll;
  }
  .site-header {
    width: calc(100% - 1rem);
    margin: 0.5rem auto 0;
    top: 0.5rem;
    padding: 0.55rem 0.65rem 0.55rem 1rem;
    gap: 0.65rem;
    border-radius: 22px;
  }
  .brand {
    font-size: 1.25rem;
    min-width: 0;
  }
  .header-phone {
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
  }

  .hero {
    --figure: min(68vw, 300px);
    min-height: 0;
    overflow: hidden;
  }
  .hero-mark {
    width: calc(var(--figure) * 1.55);
    height: calc(var(--figure) * 1.55);
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 1.2rem 1.15rem 0;
    align-items: start;
    gap: 0.4rem;
  }
  .hero-copy {
    order: 1;
    margin-top: 0;
    padding: 1.1rem 1.05rem 1.15rem;
    max-width: none;
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.55);
    --glass-blur: 14px;
  }
  .hero-brand {
    max-width: none;
    margin-bottom: 0.7rem;
    gap: 0.28rem;
  }
  .hero-brand-role {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }
  .hero-brand-name {
    font-size: clamp(2.05rem, 7.6vw, 2.7rem);
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(1.25rem, 4.8vw, 1.55rem);
    margin-bottom: 0.5rem;
    max-width: none;
  }
  .hero .lead {
    font-size: 1.02rem;
    line-height: 1.45;
  }
  .cta-row {
    margin-top: 1.05rem;
    gap: 0.55rem;
  }
  .cta-row .btn {
    padding: 0.88rem 1.2rem;
    font-size: 0.98rem;
  }
  .hero-photo {
    order: 2;
    height: min(52vh, 420px);
    max-height: 420px;
    margin-top: 0.25rem;
    overflow: hidden;
    justify-content: center;
  }
  .photo-halo {
    width: calc(var(--figure) * 0.95);
    bottom: 2%;
  }
  .photo-figure {
    width: var(--figure);
    height: min(50vh, 400px);
  }

  .section {
    padding: 3rem 1.15rem;
    scroll-margin-top: 4.5rem;
  }
  .section h2 {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    max-width: none;
  }
  .section-lead {
    margin-bottom: 1.4rem;
    font-size: 1.02rem;
  }

  .story-board { padding: 0; }
  .story-tip-row {
    max-width: none;
    margin: 0.1rem 0 1.55rem;
    gap: 0.5rem;
  }
  .story-tip {
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
    border-radius: 16px;
  }
  .story-dot {
    width: 10px;
    height: 10px;
  }
  .story-line-base { stroke-width: 2; }
  .story-line-glow { stroke-width: 14; opacity: 0.88; }
  .story-line-core { stroke-width: 4; }

  .situations,
  .services-rail { grid-template-columns: 1fr; }
  .situation,
  .service-link,
  .steps li,
  .lead-form,
  .credentials,
  .site-footer,
  .page-block,
  .cookie-banner,
  .lead-section {
    backdrop-filter: blur(12px) saturate(1.25);
    -webkit-backdrop-filter: blur(12px) saturate(1.25);
  }
  .header-phone { display: none; }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: min(18.5rem, 86vw);
    height: 100dvh;
    margin: 0;
    padding: 4.75rem 1.15rem 1.5rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(255, 252, 247, 0.62);
    border-left: 1px solid var(--glass-edge-soft);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.55),
      -18px 0 48px rgba(40, 32, 22, 0.12);
    transform: translateX(104%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid transparent;
    transform: none;
  }
  .nav a:hover,
  .nav a:focus-visible {
    transform: none;
    color: #fff;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
      linear-gradient(175deg, #c49a55 0%, #a67a38 48%, #8a652c 100%);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 10px 24px var(--glow);
  }
  .nav .nav-phone {
    display: block;
    margin-top: 0.65rem;
    color: var(--accent-deep);
    border-color: rgba(176, 138, 69, 0.25);
    background: rgba(255, 255, 255, 0.45);
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(26, 34, 48, 0.28);
    backdrop-filter: blur(6px) saturate(1.1);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  .lead-section {
    margin: 0 0.75rem 1.5rem;
    border-radius: 24px;
    padding: 1.75rem 1rem 1.9rem !important;
  }
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: start;
  }
  .lead-copy { order: 1; }
  .lead-form {
    max-width: none;
    padding: 1.2rem;
  }
  .lead-portrait {
    order: 2;
    padding: 0 0.25rem 0.35rem;
    justify-content: center;
    align-items: center;
  }
  .lead-portrait-frame {
    width: min(100%, 320px);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 900 / 1348;
    border-radius: 18px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 8px 18px rgba(55, 45, 30, 0.12),
      0 22px 40px rgba(40, 32, 22, 0.16);
  }
  .lead-portrait-frame picture,
  .lead-portrait-frame img {
    height: 100%;
  }
  .credentials {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    border-radius: 22px;
  }
  .site-footer {
    margin: 0 0.65rem 0.85rem;
    padding: 1.75rem 1.15rem 2rem;
    border-radius: 20px;
  }
  .footer-bottom {
    justify-content: flex-start;
  }
  .footer-credit {
    margin-left: 0;
    margin-right: auto;
  }

  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    width: auto;
    max-width: none;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
  }
  .cookie-banner p {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }
  .cookie-actions { gap: 0.35rem; }
  .cookie-actions .btn {
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
    flex: 1 1 auto;
  }

  .fab-discuss {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: fixed;
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 42;
    padding: 0.72rem 1rem 0.72rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
      linear-gradient(175deg, #c49a55 0%, #a67a38 48%, #8a652c 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 10px 28px rgba(176, 138, 69, 0.38),
      0 0 0 1px rgba(138, 101, 44, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .fab-discuss.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    /* no vertical levitate — keeps the CTA parked at the bottom */
  }
  .fab-discuss-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
  }
  .fab-discuss-icon svg { display: block; }
  .fab-discuss-label { white-space: nowrap; }

  body:has(#cookie-banner:not([hidden])) .fab-discuss {
    bottom: max(7.5rem, calc(env(safe-area-inset-bottom) + 6.8rem));
  }
  body.nav-open .fab-discuss {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes fab-levitate {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -6px, 0) scale(1); }
}

@media (max-width: 420px) {
  .hero-brand-name {
    font-size: clamp(1.9rem, 8.2vw, 2.25rem);
  }
  .lead-portrait-frame {
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-atmosphere::before,
  .hero-atmosphere::after,
  .photo-halo { animation: none; }
  .hero-mark {
    opacity: 0.14;
    transform: translate3d(0, -50%, 0);
  }
  .hero-enter .hero-copy,
  .hero-enter .photo-figure {
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 28px 50px rgba(60, 70, 95, 0.16));
    animation: none;
  }
  .nav a:hover,
  .nav a:focus-visible { transform: none; }
  .nav a::after { display: none; }
  .nav-toggle { transition: none; }
  .nav { transition: none; }
  .nav-backdrop { transition: none; }
  .service-link:hover,
  .situation:hover,
  .steps li:hover { transform: none; }
  .btn-primary:hover,
  .btn-ghost:hover { transform: none; }
  .btn-primary::after { display: none; }
  .fab-discuss,
  .fab-discuss.is-visible {
    animation: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .story-tip {
    --reveal: 1 !important;
    opacity: 1;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    transform: none !important;
  }
  .story-dot { background: #d4a85c; border-color: #b08a45; }
  .story-board .steps li.is-on,
  .story-board .steps li {
    opacity: 1;
    transform: none;
  }
  .story-line-draw {
    stroke-dashoffset: 0 !important;
  }
  .story-line-head { opacity: 0 !important; }
}

/* Fallback when backdrop-filter unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .hero-copy,
  .situation,
  .service-link,
  .steps li,
  .lead-section,
  .lead-form,
  .credentials,
  .site-footer,
  .page-block,
  .cookie-banner,
  .btn-ghost {
    background: rgba(252, 248, 241, 0.94);
  }
}
