/* Ferberitoidic — one-page RU / US */

@import url("../vendor/nprogress/nprogress.css");

:root {
  --color-text: #142033;
  --color-muted: #4a5d73;
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-accent: #1b5f9e;
  --color-accent-dark: #0c2844;
  --color-gold: #c9a24d;
  --color-border: #d5dde8;
  --shadow-sm: 0 2px 14px rgb(12 40 68 / 7%);
  --shadow-md: 0 16px 48px rgb(12 40 68 / 12%);
  --shadow-lg: 0 24px 60px rgb(8 20 35 / 18%);
  --radius: 14px;
  --wrap: min(1140px, calc(100% - 2.5rem));
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

main {
  flex: 1 0 auto;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-accent-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.kicker {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--solid {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--solid:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.brand--light {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(247 249 252 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.site-header__nav {
  display: none;
}

.site-header__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.site-header__nav a:hover {
  color: var(--color-accent);
}

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

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  cursor: pointer;
  color: var(--color-text);
}

.menu-toggle__bars {
  width: 20px;
  height: 2px;
  background: currentcolor;
  box-shadow: 0 -6px 0 currentcolor, 0 6px 0 currentcolor;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgb(10 20 35 / 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 60;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--color-surface);
  padding: 1.25rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 70;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.drawer__close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--color-bg);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.drawer__nav a {
  padding: 0.65rem 0;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.25rem, 8vw, 5.5rem) 0 clamp(4.5rem, 9vw, 6.25rem);
  color: #f4f7fb;
  overflow: hidden;
  min-height: clamp(520px, 88vh, 780px);
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.06);
  animation: hero-drift 24s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgb(8 18 32 / 90%) 0%,
    rgb(8 18 32 / 62%) 34%,
    rgb(8 18 32 / 28%) 58%,
    rgb(8 18 32 / 12%) 100%
  );
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.hero__panel,
.hero__side {
  min-width: 0;
}

.hero__panel {
  max-width: 42rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(12 28 48 / 46%);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.hero .kicker {
  color: #e8c46a;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.8vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.hero .lede {
  color: rgb(228 236 246 / 92%);
}

.hero__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(12 28 48 / 34%);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero__side-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e8c46a;
}

.hero__side-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  font-weight: 600;
  color: #f4f7fb;
}

.hero__side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero__side-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  color: rgb(232 238 246 / 92%);
  line-height: 1.45;
}

.hero__side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #e8c46a;
  box-shadow: 0 0 0 3px rgb(232 196 106 / 22%);
}

.hero__chips {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.hero-chip svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
}

.hero-chip {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #e8eef6;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
}

.hero-chip svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.hero-stats div {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
}

.hero-stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin: 0 0 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.proof-strip {
  padding: 0 0 2.5rem;
}

.proof-strip__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.proof-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.proof-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.split-media {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-media__figure {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.split-media__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.work-layout {
  display: grid;
  gap: 1.75rem;
}

.work-layout__visual {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.work-layout__visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--color-accent);
  color: #fff;
}

.testimonials {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quote {
  margin: 0;
  padding: 1.25rem;
  background: var(--color-surface);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.quote footer {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.team-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.person {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.person h3 {
  margin: 0 0 0.25rem;
}

.person p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.faq-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

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

.faq-item__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 2rem 1rem 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--color-text);
}

.faq-item__trigger::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-accent);
}

.faq-item.is-open .faq-item__trigger::after {
  content: "−";
}

.faq-item__answer {
  display: none;
  padding-bottom: 1rem;
  color: var(--color-muted);
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-facts {
  margin: 1.25rem 0 0;
}

.contact-facts div {
  margin-bottom: 0.75rem;
}

.contact-facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.contact-facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

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

.field--check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.field--check input {
  width: auto;
  min-height: auto;
  margin-top: 0.2rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0.75rem 0 0;
}

.form-sent {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #e8f4ea;
  border: 1px solid #b8d9be;
  color: #1d4d28;
  font-weight: 600;
}

.site-footer {
  flex-shrink: 0;
  background: #0d1b2a;
  color: #d5dee8;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9eb0c3;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #e8eef5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding-top: 1.25rem;
  font-size: 0.8125rem;
  color: #9eb0c3;
}

.disclaimer {
  font-size: 0.8125rem;
  color: #9eb0c3;
  max-width: 52rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
  background: rgb(13 27 42 / 96%);
  color: #e8eef5;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner .btn--ghost {
  color: #e8eef5;
  border-color: rgb(255 255 255 / 25%);
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.brand__text em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 700;
}

.site-header:not(.is-scrolled) {
  background: rgb(8 18 32 / 35%);
  backdrop-filter: blur(10px);
  border-bottom-color: rgb(255 255 255 / 10%);
}

.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .site-header__nav a {
  color: #f4f7fb;
}

.site-header:not(.is-scrolled) .menu-toggle {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 20%);
  color: #fff;
}

.hero .hero-stats div {
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 14%);
}

.hero .hero-stats dd {
  color: #fff;
}

.hero .hero-stats dt {
  color: rgb(228 236 246 / 72%);
}

.hero .btn--ghost {
  color: #f4f7fb;
  border-color: rgb(255 255 255 / 28%);
}

.hero .btn--ghost:hover {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 45%);
  color: #fff;
}

.section h2,
#faq-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-fx-gsap .reveal.reveal--gsap {
  opacity: 0;
  transform: none;
  transition: none;
}

.has-fx-gsap .reveal.reveal--gsap.is-visible {
  opacity: 1;
}

.card--lift {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    border-color 0.25s ease;
}

.card--lift:hover,
.card--lift:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgb(27 95 158 / 28%);
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--color-accent-dark);
  background: linear-gradient(145deg, #e8f2fb, #d4e4f4);
}

.proof-card {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease;
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step {
  transition: border-color 0.25s ease, background 0.25s ease;
}

.step:hover {
  border-color: rgb(27 95 158 / 35%);
  background: #fff;
}

.quote {
  transition: transform 0.25s var(--ease-out);
}

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

.person {
  transition: transform 0.25s var(--ease-out);
}

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

@media (max-width: 639px) {
  :root {
    --wrap: min(1140px, calc(100% - 1.35rem));
  }

  .site-header__inner {
    min-height: 64px;
    gap: 0.5rem;
  }

  .brand__text {
    font-size: 0.95rem;
    max-width: 9.5rem;
    line-height: 1.2;
  }

  .hero {
    padding: 4.75rem 0 2.25rem;
  }

  .hero__panel,
  .hero__side {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .hero .lede {
    font-size: 1rem;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

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

  .proof-strip {
    padding-top: 0.5rem;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }

  .to-top {
    bottom: 6.5rem;
  }
}

@media (max-width: 899px) {
  .site-header__cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    gap: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-stats div {
    padding: 0.75rem 0.85rem;
  }

  .hero-stats dd {
    font-size: 0.875rem;
    line-height: 1.35;
  }
}

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

  .hero__bg img,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .proof-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .site-header__nav {
    display: block;
  }

  .split-media {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .split-media__figure img {
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }

  .work-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
      "head head"
      "visual steps";
    align-items: start;
    gap: 2rem 2.5rem;
  }

  .work-layout__head {
    grid-area: head;
  }

  .work-layout__visual {
    grid-area: visual;
  }

  .work-layout .steps {
    grid-area: steps;
    margin-top: 0;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 1.25rem;
  }

  .hero__panel {
    max-width: none;
    align-self: center;
  }

  .hero__side {
    align-self: stretch;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

.legal-page {
  width: min(44rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.75rem 0 4.5rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.legal-page__meta {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0 0 2rem;
}

.legal-page h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--color-text);
}

.legal-page ul,
.legal-page ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-page a {
  font-weight: 500;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0 1.5rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: var(--color-bg);
  font-weight: 600;
}

.legal-page__nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.legal-page__note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 2rem;
}

.body-subpage .site-header {
  background: rgb(247 249 252 / 92%);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.body-subpage .site-header .brand,
.body-subpage .site-header .site-header__nav a {
  color: var(--color-text);
}

.body-subpage .site-header .menu-toggle {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}

.body-subpage .site-header__cta.btn--solid {
  color: #fff;
}

.error-page,
.thank-you-page {
  width: var(--wrap);
  margin: 0 auto;
  padding: 4rem 0 5rem;
  text-align: center;
}

.error-page h1,
.thank-you-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  margin: 0 0 0.5rem;
  line-height: 1;
  color: var(--color-accent-dark);
}

.error-page__lede,
.thank-you-page p {
  color: var(--color-muted);
  font-size: 1.125rem;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.error-page .btn,
.thank-you-page .btn {
  margin-top: 0.5rem;
}

.error-page,
.thank-you-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.thank-you-page .form-note {
  max-width: 28rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ——— Vendor motion: Lenis + NProgress ——— */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

#nprogress {
  pointer-events: none;
  z-index: 4000;
}

#nprogress .bar {
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
  box-shadow: 0 0 12px rgb(201 162 77 / 45%);
}

#nprogress .peg {
  display: block;
  box-shadow:
    0 0 10px var(--color-gold),
    0 0 6px var(--color-accent);
}

@media (prefers-reduced-motion: no-preference) {
  body.is-enhanced:not(.is-ready) #main {
    opacity: 0;
    transform: translateY(10px);
  }

  body.is-enhanced.is-ready #main {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.48s var(--ease-out),
      transform 0.52s var(--ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-enhanced #main {
    opacity: 1;
    transform: none;
  }
}

/* ——— Page loader + ambient FX ——— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  background: rgb(12 28 44 / 93%);
  backdrop-filter: blur(12px);
  transition:
    opacity 0.3s var(--ease-out),
    visibility 0.3s var(--ease-out);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__panel {
  position: relative;
  width: min(17rem, 78vw);
  text-align: center;
}

.page-loader__orbit {
  position: relative;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0 auto 1.15rem;
}

.page-loader__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 2px solid transparent;
}

.page-loader__ring--outer {
  width: 100%;
  height: 100%;
  border-top-color: var(--color-gold);
  border-right-color: rgb(201 162 77 / 28%);
  box-shadow: 0 0 18px rgb(201 162 77 / 35%);
}

.page-loader__ring--inner {
  width: 72%;
  height: 72%;
  border-bottom-color: var(--color-accent);
  border-left-color: rgb(27 95 158 / 38%);
  box-shadow: 0 0 14px rgb(27 95 158 / 35%);
}

.page-loader__brand {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
}

.page-loader__mark {
  width: 1.85rem;
  height: 1.85rem;
}

.page-loader__orbit .page-loader__word {
  display: none;
}

.page-loader__word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f4f7fb;
}

.page-loader__panel > .page-loader__word {
  margin: 0 0 1rem;
}

.page-loader__track {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  overflow: hidden;
}

.page-loader__bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
  transform: scaleX(0);
  transform-origin: left center;
}

.page-loader__bar.is-animating {
  animation: page-loader-fill 0.44s var(--ease-out) forwards;
}

@keyframes page-loader-fill {
  to {
    transform: scaleX(1);
  }
}

.page-loader__hint {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  color: rgb(228 236 246 / 58%);
}

.fx-hero-orbit {
  position: absolute;
  top: -2.5rem;
  right: -1rem;
  width: clamp(7rem, 16vw, 10rem);
  height: clamp(7rem, 16vw, 10rem);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.fx-hero-orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgb(201 162 77 / 42%);
}

.fx-hero-orbit__tick {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgb(27 95 158 / 55%);
  border-right-color: rgb(201 162 77 / 35%);
}

@media (max-width: 899px) {
  .fx-hero-orbit {
    display: none;
  }
}

.fx-float-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero .fx-float-layer {
  z-index: 0;
}

.fx-layer-main {
  position: relative;
  z-index: 1;
}

.fx-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.7;
}

.fx-orb--a {
  width: clamp(3.5rem, 9vw, 5.5rem);
  height: clamp(3.5rem, 9vw, 5.5rem);
  top: 14%;
  right: 10%;
  background: radial-gradient(circle at 35% 35%, rgb(201 162 77 / 65%) 0%, transparent 68%);
}

.fx-orb--b {
  width: clamp(5rem, 12vw, 7rem);
  height: clamp(5rem, 12vw, 7rem);
  bottom: 18%;
  left: 6%;
  background: radial-gradient(circle at 40% 40%, rgb(27 95 158 / 55%) 0%, transparent 70%);
}

.fx-orb--c {
  width: clamp(2.5rem, 6vw, 4rem);
  height: clamp(2.5rem, 6vw, 4rem);
  top: 42%;
  left: 22%;
  background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / 22%) 0%, transparent 72%);
}

.fx-float-card {
  position: absolute;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(244 247 251 / 92%);
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(12 28 48 / 52%);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 22%);
}

.fx-float-card span {
  display: block;
}

.fx-float-layer--hero .fx-float-card--cash {
  top: 22%;
  left: 58%;
}

.fx-float-layer--hero .fx-float-card--plan {
  bottom: 26%;
  right: 12%;
}

.fx-float-layer--hero .fx-float-card--equity {
  top: 38%;
  left: 8%;
}

.has-fx-cursor,
.has-fx-cursor a,
.has-fx-cursor button {
  cursor: none !important;
}

.fx-cursor-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin: 0;
  pointer-events: none;
  z-index: 7000;
}

.fx-cursor__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgb(201 162 77 / 72%);
  box-shadow: 0 0 18px rgb(27 95 158 / 25%);
  transition:
    transform 0.22s var(--ease-out),
    border-color 0.22s ease,
    opacity 0.22s ease;
}

.fx-cursor__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--color-accent);
  transition:
    transform 0.22s var(--ease-out),
    background 0.22s ease;
}

.fx-cursor-wrap.is-active .fx-cursor__ring {
  transform: scale(1.35);
  border-color: rgb(201 162 77 / 95%);
}

.fx-cursor-wrap.is-active .fx-cursor__dot {
  transform: scale(1.2);
  background: var(--color-gold);
}

.fx-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

.card--lift.fx-tilt:hover {
  transform: none;
}

html.has-fx-gsap .hero__bg img {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    display: none;
  }

  .fx-float-layer,
  .fx-orb,
  .fx-float-card,
  .fx-cursor-wrap {
    display: none !important;
  }

  .has-fx-cursor,
  .has-fx-cursor a,
  .has-fx-cursor button {
    cursor: auto !important;
  }

  .card--lift,
  .person,
  .quote {
    transform: none !important;
  }
}