/* ==========================================================================
   main.css: עו"ד טל ברביבאי | Ink & Bronze design system
   1. Fonts        2. Tokens        3. Base & utilities
   4. Buttons      5. Header & menu 6. Hero
   7. Marquee      8. Sections      9. Practice (bento)
   10. Values      11. About        12. Process
   13. Deadlines   14. Reviews      15. FAQ
   16. Contact & form               17. Footer
   18. Floating WhatsApp            19. Intro curtain
   20. Legal pages 21. Motion states 22. Lenis, view transitions, print
   Accessibility modes (html.a11y-*) live in a11y.css.
   ========================================================================== */

/* 1. Fonts (self-hosted, variable) ---------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/plex-he-300.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/plex-la-300.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-he-400.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-la-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-he-500.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-la-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-he-600.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-la-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens --------------------------------------------------------------- */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;

  /* semantic colour tokens (a11y.css overrides these for contrast / light) */
  --bg: #0B0A08;
  --bg-elev: #12100D;
  --bg-elev-2: #1A1713;
  --text: #F3EEE6;
  --text-muted: #B9B0A3;
  --accent: #C9A36A;
  --accent-strong: #E3C99A;
  --accent-ink: #0B0A08;
  --champagne: #E8D5B0;
  --line: rgba(232, 213, 176, .12);
  --line-strong: rgba(232, 213, 176, .28);
  --glass-bg: rgba(26, 23, 19, .55);
  --glass-border: rgba(227, 201, 154, .18);
  --focus: #F5D08A;
  --success: #7FD1A8;
  --danger: #FF9C8A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 48px -18px rgba(0, 0, 0, .7);
  --wa: #25D366;

  /* type */
  --font-display: "IBM Plex Sans Hebrew", "Heebo", system-ui, sans-serif;
  --font-body: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.3rem + 4.6vw, 5.1rem);
  --fs-h2: clamp(2.05rem, 1.25rem + 3.2vw, 3.75rem);
  --fs-h3: clamp(1.28rem, 1.1rem + .7vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1rem + .45vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  /* layout */
  --container: 77.5rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --header-h: 4.75rem;
  --radius-sm: .75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: .2s;
  --dur-2: .45s;
  --dur-3: .8s;

  /* layers */
  --z-header: 100;
  --z-fab: 900;
  --z-menu: 950;
  --z-intro: 2000;
}

@media (max-width: 64rem) {
  :root { --header-h: 4.25rem; }
}

/* 3. Base & utilities ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.no-motion):not(.lenis) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color var(--dur-1) ease;
}
a:hover { color: var(--champagne); }

ul[role="list"],
ol[role="list"] { list-style: none; margin: 0; padding: 0; }

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

button { cursor: pointer; }

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

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

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.skip-link {
  position: fixed;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  z-index: 3000;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; color: var(--accent-ink); }

main:focus { outline: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.25rem;
  color: var(--accent-strong);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .02em;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

/* Global decorative grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("../img/grain.svg");
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 4. Buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: var(--btn-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  touch-action: manipulation;
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease, box-shadow var(--dur-2) ease;
}
.btn .icon { width: 1.2rem; height: 1.2rem; }

.btn-primary {
  --btn-bg: var(--accent);
  background-image: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 55%, #A9824A 100%);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -12px rgba(201, 163, 106, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { color: var(--accent-ink); box-shadow: 0 16px 40px -14px rgba(201, 163, 106, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform .9s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(-120%); }

.btn-ghost {
  --btn-bg: rgba(18, 16, 13, .35);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); --btn-bg: rgba(201, 163, 106, .08); }

.btn-sm { min-height: 2.75rem; padding: .6rem 1.15rem; font-size: .9375rem; }
.btn-block { width: 100%; }

.btn-wa .icon { color: var(--wa); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* 5. Header & mobile menu ------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: calc(var(--z-header) + 1);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  transform: scaleX(0);
  transform-origin: right center;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-2) ease, border-color var(--dur-2) ease, transform var(--dur-2) var(--ease-out), -webkit-backdrop-filter var(--dur-2) ease, backdrop-filter var(--dur-2) ease;
}
.site-header.is-scrolled {
  background-color: rgba(11, 10, 8, .72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 2.75rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-strong);
  background: radial-gradient(circle at 30% 25%, rgba(227, 201, 154, .18), transparent 65%);
}
.brand-mark svg { width: 1.45rem; height: 1.45rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.brand-sub { color: var(--text-muted); font-size: .8125rem; letter-spacing: .02em; }

.site-nav { margin-inline-start: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.6vw, 1.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-muted);
  font-size: .9688rem;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: .55rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-list a:hover,
.nav-list a[aria-current="true"],
.nav-list a[aria-current="page"] { color: var(--text); }
.nav-list a:hover::after,
.nav-list a[aria-current="true"]::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.header-phone .phone-num { direction: ltr; unicode-bidi: isolate; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(18, 16, 13, .4);
  color: var(--text);
}
.menu-toggle-lines {
  position: relative;
  width: 1.15rem;
  height: .75rem;
}
.menu-toggle-lines span {
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) ease;
}
.menu-toggle-lines span:nth-child(1) { top: 0; }
.menu-toggle-lines span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle-lines span:nth-child(3) { bottom: 0; }

@media (max-width: 64rem) {
  .site-nav,
  .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 30rem) {
  .brand-sub { display: none; }
  .header-phone { padding-inline: 0; width: 2.9rem; min-height: 2.9rem; }
  .header-phone .phone-num { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background:
    radial-gradient(60rem 40rem at 110% -10%, rgba(201, 163, 106, .16), transparent 60%),
    var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.menu-close {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}
.mobile-nav-list { margin: 0; padding: 0; list-style: none; }
.mobile-nav-list li { border-bottom: 1px solid var(--line); }
.mobile-nav-list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 3vw, 2.4rem);
  font-weight: 400;
  text-decoration: none;
}
.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 2rem;
}
.mobile-menu-actions .btn-primary { grid-column: 1 / -1; }
.mobile-menu-meta { margin-top: 1.75rem; color: var(--text-muted); font-size: var(--fs-small); }

html.menu-open { overflow: hidden; }

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) clamp(3.5rem, 8vw, 6rem);
  display: flex;
  align-items: center;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.aurora--1 {
  width: 46rem; height: 46rem;
  inset-block-start: -18rem; inset-inline-end: -12rem;
  background: radial-gradient(circle, rgba(201, 163, 106, .42), transparent 65%);
  animation: drift1 22s var(--ease-in-out) infinite alternate;
}
.aurora--2 {
  width: 38rem; height: 38rem;
  inset-block-end: -16rem; inset-inline-start: -10rem;
  background: radial-gradient(circle, rgba(140, 104, 58, .38), transparent 65%);
  animation: drift2 26s var(--ease-in-out) infinite alternate;
}
.aurora--3 {
  width: 24rem; height: 24rem;
  inset-block-start: 30%; inset-inline-start: 38%;
  background: radial-gradient(circle, rgba(232, 213, 176, .16), transparent 65%);
  animation: drift1 30s var(--ease-in-out) infinite alternate-reverse;
}
@keyframes drift1 { to { transform: translate3d(-8%, 10%, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(10%, -8%, 0) scale(1.12); } }

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to left, rgba(232, 213, 176, .045) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 6) 100%;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
}
.hero-title .line { display: block; }
.hero-title .accent-line {
  margin-top: .12em;
  font-size: .56em;
  font-weight: 300;
  line-height: 1.12;
  color: var(--accent-strong);
  background-image: linear-gradient(100deg, var(--champagne), var(--accent-strong) 40%, var(--accent) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 36rem;
  margin: 1.75rem 0 2.25rem;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.75;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.75rem;
  margin: 2.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.trust-row .icon { color: var(--accent); }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.75rem;
  padding: .35rem .95rem .35rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 16, 13, .5);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dur-1) ease;
}
.google-badge:hover { border-color: var(--accent); color: var(--text); }
.google-badge .g-logo { width: 1.15rem; height: 1.15rem; }
.google-badge .score { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.google-badge .count { color: var(--text-muted); font-size: var(--fs-xs); }
.stars { display: inline-flex; gap: .1rem; color: var(--accent-strong); }
.stars svg { width: .9rem; height: .9rem; fill: currentColor; }

/* Hero visual */
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 30rem);
  perspective: 1200px;
}
.scales-art {
  position: absolute;
  inset: -12% -18% auto;
  width: 136%;
  height: auto;
  z-index: -1;
  color: var(--accent);
  opacity: .32;
}
.scales-art path,
.scales-art line,
.scales-art circle { fill: none; stroke: currentColor; stroke-width: 1; }

.arch {
  --angle: 0deg;
  position: relative;
  padding: 2px;
  border-radius: 999px 999px 2rem 2rem;
  background: conic-gradient(from var(--angle), rgba(227, 201, 154, .08) 0deg, var(--accent-strong) 60deg, rgba(227, 201, 154, .08) 140deg, rgba(227, 201, 154, .08) 220deg, var(--accent) 290deg, rgba(227, 201, 154, .08) 360deg);
  background-color: var(--line-strong);
  animation: spin 14s linear infinite;
  box-shadow: 0 50px 120px -40px rgba(201, 163, 106, .35);
  transform-style: preserve-3d;
}
@keyframes spin { to { --angle: 360deg; } }
.arch-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: inherit;
  background: var(--bg-elev);
}
.arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.arch-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 10, 8, .55) 100%);
  pointer-events: none;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.float-chip::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 163, 106, .18);
}
.float-chip--1 { inset-block-start: 14%; inset-inline-start: -14%; }
.float-chip--2 { inset-block-start: 52%; inset-inline-end: -12%; }
.float-chip--3 { inset-block-end: 9%; inset-inline-start: -6%; }

.hero-name-tag {
  position: absolute;
  inset-block-end: 1.25rem;
  inset-inline: 1.25rem;
  z-index: 1;
  color: var(--text);
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  text-align: center;
}

.scroll-cue {
  position: absolute;
  inset-block-end: 1.5rem;
  inset-inline-start: 50%;
  translate: 50% 0;
  display: grid;
  justify-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-decoration: none;
}
.scroll-cue span:last-child {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(var(--accent), transparent);
  animation: cue 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 64rem) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: min(80%, 24rem); margin-top: 1rem; }
  .float-chip--1 { inset-inline-start: -10%; }
  .float-chip--2 { inset-inline-end: -10%; }
  .scroll-cue { display: none; }
}
@media (max-width: 30rem) {
  .hero-ctas .btn { width: 100%; }
  .float-chip { font-size: .8125rem; padding: .5rem .8rem; }
  .float-chip--1 { inset-inline-start: -6%; }
  .float-chip--2 { inset-inline-end: -6%; }
  .float-chip--3 { inset-inline-start: 0; }
}

/* 7. Marquee -------------------------------------------------------------- */
.marquee {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(201, 163, 106, .05), transparent 30%, transparent 70%, rgba(201, 163, 106, .05));
}
.marquee-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.35rem 0;
  list-style: none;
}
.marquee-list li {
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  padding-inline-end: 2.25rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .7vw, 1.55rem);
  white-space: nowrap;
}
.marquee-list li::after {
  content: "";
  width: .45rem;
  height: .45rem;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(50%); } }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }

.marquee-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-end: var(--gutter);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-elev);
  color: var(--text);
}
.marquee-toggle .icon { width: 1rem; height: 1rem; }
.marquee-toggle .icon-play { display: none; }
.marquee.is-paused .marquee-toggle .icon-play { display: block; }
.marquee.is-paused .marquee-toggle .icon-pause { display: none; }
html.no-motion .marquee-toggle { display: none; }

/* 8. Sections (shared) ---------------------------------------------------- */
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--elev {
  background:
    radial-gradient(50rem 30rem at 100% 0%, rgba(201, 163, 106, .07), transparent 60%),
    var(--bg-elev);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.section-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -.02em;
}
.section-title em { font-weight: 300; }
.section-title em {
  font-style: normal;
  color: var(--accent-strong);
}
.section-intro {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.7;
}
.section-note {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

@media (max-width: 48rem) {
  .section-head { grid-template-columns: 1fr; }
}

/* Card base: glass surface with a pointer spotlight */
.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background-color: var(--bg-elev);
  background-image: linear-gradient(160deg, rgba(227, 201, 154, .06), transparent 45%);
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
  transition: border-color var(--dur-2) ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(28rem circle at var(--mx) var(--my), rgba(227, 201, 154, .13), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-2) ease;
}
.card:hover { border-color: rgba(227, 201, 154, .38); }
.card:hover::before { opacity: 1; }

/* 9. Practice (bento) ----------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bento > li { display: flex; }
.bento > li:nth-child(1) { grid-column: span 7; }
.bento > li:nth-child(2) { grid-column: span 5; }
.bento > li:nth-child(3) { grid-column: span 5; }
.bento > li:nth-child(4) { grid-column: span 7; }
.bento > li:nth-child(n+5) { grid-column: span 3; }

.practice-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.practice-card .num {
  position: absolute;
  inset-block-start: 1.5rem;
  inset-inline-end: 1.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: .9375rem;
  letter-spacing: .08em;
}
.practice-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: radial-gradient(circle at 30% 20%, rgba(227, 201, 154, .16), transparent 70%);
  color: var(--accent-strong);
}
.practice-icon .icon { width: 1.7rem; height: 1.7rem; }
.practice-card h3 { font-size: var(--fs-h3); margin-bottom: .75rem; }
.practice-card p { color: var(--text-muted); }
.practice-card .fact {
  display: grid;
  gap: .2rem;
  margin: 1.25rem 0 1.5rem;
  padding: .9rem 1rem;
  border-inline-start: 2px solid var(--accent);
  border-radius: .6rem 0 0 .6rem;
  background: rgba(201, 163, 106, .07);
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.practice-card .fact strong {
  color: var(--accent-strong);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
}
.practice-card .link-arrow { margin-top: auto; align-self: flex-start; }
.bento > li:nth-child(1) .practice-card,
.bento > li:nth-child(4) .practice-card {
  background-image:
    radial-gradient(34rem 20rem at 0% 100%, rgba(201, 163, 106, .12), transparent 60%),
    linear-gradient(160deg, rgba(227, 201, 154, .07), transparent 45%);
}

@media (max-width: 64rem) {
  .bento > li:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 40rem) {
  .bento > li:nth-child(n) { grid-column: 1 / -1; }
}

/* 10. Values -------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.value {
  padding: 2.25rem 1.75rem 2.5rem;
  border-inline-end: 1px solid var(--line);
}
.value:last-child { border-inline-end: 0; }
.value-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-strong);
}
.value-icon .icon { width: 1.5rem; height: 1.5rem; }
.value h3 { font-size: var(--fs-h3); margin-bottom: .75rem; }
.value p { color: var(--text-muted); }

.pull-quote {
  position: relative;
  max-width: 58rem;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  padding: 0;
  text-align: center;
}
.pull-quote .quote-mark {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.1rem + 2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
}
.pull-quote footer {
  margin-top: 1.5rem;
  color: var(--accent-strong);
  font-size: var(--fs-small);
  letter-spacing: .08em;
}

@media (max-width: 64rem) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(2) { border-inline-end: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 36rem) {
  .values-grid { grid-template-columns: 1fr; }
  .value { border-inline-end: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
}

/* 11. About --------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 4 / 5;
  background: var(--bg-elev-2);
}
.about-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 30%;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 10, 8, .6), transparent 40%);
  pointer-events: none;
}
.about-caption {
  position: absolute;
  inset-block-end: 1.25rem;
  inset-inline-start: 1.25rem;
  z-index: 1;
  padding: .55rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background-color: rgba(11, 10, 8, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-small);
}
.about-text .section-title { margin-bottom: 1.75rem; }
.about-text p { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.8; }
.about-text p strong { color: var(--text); font-weight: 500; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: var(--fs-small);
}
.badges .icon { color: var(--accent); }

@media (max-width: 64rem) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 30rem; width: 100%; }
}

/* 12. Process ------------------------------------------------------------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-line {
  position: absolute;
  inset-block-start: 1.75rem;
  inset-inline-start: 1.75rem;
  inset-inline-end: calc((100% - 6rem) / 4 - 1.75rem);
  height: 1px;
  background: var(--line-strong);
}
.process-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, var(--accent-strong), var(--accent));
  transform-origin: right center;
}
html.js-motion .process-line-fill { transform: scaleX(0); }
.step { position: relative; }
.step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.step p { color: var(--text-muted); }

@media (max-width: 56rem) {
  .process { grid-template-columns: 1fr; gap: 2.25rem; }
  .process-line {
    inset-block: 1.75rem;
    inset-inline-start: 1.75rem;
    inset-inline-end: auto;
    width: 1px;
    height: auto;
  }
  .process-line-fill { transform-origin: center top; background: linear-gradient(180deg, var(--accent-strong), var(--accent)); }
  html.js-motion .process-line-fill { transform: scaleY(0); }
  .step { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1.25rem; }
  .step-dot { grid-row: span 2; margin-bottom: 0; }
}

/* 13. Deadlines ----------------------------------------------------------- */
.deadlines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.deadlines > li { display: flex; }
.deadline {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2rem 1.6rem 1.6rem;
}
.deadline-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-family: var(--font-display);
  line-height: 1;
}
.deadline-value .n { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.deadline-value .sep { font-size: 2rem; color: var(--text-muted); }
.deadline-value .unit { font-size: 1.35rem; color: var(--text); }
.deadline p { color: var(--text-muted); font-size: var(--fs-small); }
.deadline .source {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
@media (max-width: 64rem) { .deadlines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .deadlines { grid-template-columns: 1fr; } }

/* 14. Reviews ------------------------------------------------------------- */
.reviews-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.carousel-nav { display: flex; gap: .6rem; }
.carousel-btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color var(--dur-1) ease, opacity var(--dur-1) ease;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--accent); }
.carousel-btn:disabled { opacity: .4; cursor: not-allowed; }
.carousel-btn .icon { width: 1.2rem; height: 1.2rem; }

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 24rem);
  gap: 1.25rem;
  margin: 0;
  padding: .25rem .25rem 1.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  overscroll-behavior-x: contain;
}
.reviews-track > li { display: flex; }
.review {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  padding: 1.75rem;
  scroll-snap-align: start;
}
.review blockquote { margin: 0; }
.review blockquote p {
  color: var(--text);
  font-size: 1.0313rem;
  line-height: 1.75;
}
.review-foot {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-elev-2);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: .95rem;
}
.review-meta { display: grid; line-height: 1.35; }
.review-meta strong { font-weight: 600; unicode-bidi: plaintext; text-align: start; }
.review-meta span { display: inline-flex; align-items: center; gap: .35rem; color: var(--text-muted); font-size: var(--fs-xs); }
.review-meta .g-logo { width: .85rem; height: .85rem; }
.reviews-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1rem; }

/* 15. FAQ ----------------------------------------------------------------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-aside .section-title { margin-bottom: 1.25rem; }
.faq-aside p { color: var(--text-muted); }
.faq-aside .btn { margin-top: 1.5rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-strong); }
.faq-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: .8rem;
  height: 1.5px;
  background: var(--accent-strong);
  transition: transform var(--dur-2) var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer-inner {
  padding: 0 0 1.5rem;
  padding-inline-end: 3.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}
@media (max-width: 56rem) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-answer-inner { padding-inline-end: 0; }
}

/* 16. Contact & form ------------------------------------------------------ */
.contact-section {
  background:
    radial-gradient(60rem 36rem at 0% 0%, rgba(201, 163, 106, .1), transparent 60%),
    radial-gradient(40rem 30rem at 100% 100%, rgba(140, 104, 58, .1), transparent 60%);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1.5rem;
  align-items: start;
}
.form-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.form-card-title { font-size: var(--fs-h3); margin-bottom: .4rem; }
.form-card-sub { color: var(--text-muted); margin-bottom: 1.75rem; }
.required-note { color: var(--text-muted); font-size: var(--fs-xs); margin: -1rem 0 1.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}
.field { display: grid; gap: .45rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label,
.fieldset-legend {
  color: var(--text);
  font-size: var(--fs-small);
  font-weight: 500;
}
.req { color: var(--accent-strong); }
.input {
  width: 100%;
  min-height: 3.25rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: .9rem;
  background-color: rgba(11, 10, 8, .6);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease;
}
.input::placeholder { color: #8F877B; opacity: 1; }
.input:hover { border-color: rgba(232, 213, 176, .45); }
.input:focus { border-color: var(--accent); background-color: rgba(11, 10, 8, .85); }
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.input[type="tel"],
.input[type="email"] { direction: ltr; text-align: right; }
.input[type="tel"]::placeholder,
.input[type="email"]::placeholder { text-align: right; }
textarea.input { min-height: 7.5rem; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.hint { color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.55; }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  color: var(--danger);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.field-error[hidden] { display: none; }
.field-error .icon { width: 1rem; height: 1rem; margin-top: .2rem; }

.chips-fieldset { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips-fieldset legend { padding: 0; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .55rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 10, 8, .4);
  color: var(--text-muted);
  font-size: var(--fs-small);
  transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease, color var(--dur-1) ease;
  pointer-events: none;
}
.chip span::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color var(--dur-1) ease;
}
.chip:hover span { border-color: rgba(232, 213, 176, .5); color: var(--text); }
.chip input:checked + span {
  border-color: var(--accent);
  background-color: rgba(201, 163, 106, .14);
  color: var(--text);
}
.chip input:checked + span::before { background-color: var(--accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.check {
  position: relative;
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: .75rem;
  align-items: start;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
  cursor: pointer;
}
.check input {
  width: 1.4rem;
  height: 1.4rem;
  margin: .1rem 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.privacy-notice {
  grid-column: 1 / -1;
  margin: .25rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: rgba(11, 10, 8, .35);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  line-height: 1.7;
}
.form-actions { grid-column: 1 / -1; display: grid; gap: .9rem; }

.btn-submit { width: 100%; min-height: 3.6rem; font-size: 1.0625rem; }
.btn-submit::after {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("../img/arrow-left.svg") center / contain no-repeat;
  mask: url("../img/arrow-left.svg") center / contain no-repeat;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn-submit:hover::after { transform: translateX(-4px); }
.btn-submit:disabled { cursor: progress; opacity: .92; }
.btn-submit:disabled::after {
  -webkit-mask: none;
  mask: none;
  background: none;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: spinner .8s linear infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }

.error-summary,
.form-alert {
  grid-column: 1 / -1;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 156, 138, .45);
  border-radius: .9rem;
  background: rgba(255, 156, 138, .08);
  color: var(--text);
  font-size: var(--fs-small);
}
.error-summary[hidden],
.form-alert[hidden] { display: none; }
.error-summary strong,
.form-alert strong { display: block; margin-bottom: .35rem; color: var(--danger); }
.error-summary ul { margin: .25rem 0 0; padding-inline-start: 1.1rem; }
.error-summary a { color: var(--text); }
.form-alert .alert-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }

/* collect.js fallback styling if our observer ever misses its status box */
#lead-form + [role="status"]:not(.lead-success) {
  margin: 1rem 0 0 !important;
  padding: 1rem 1.15rem !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: .9rem !important;
  background: var(--bg-elev-2) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  text-align: start !important;
}

.hp-field {
  position: absolute !important;
  inset-inline-start: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-success {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem;
  text-align: center;
}
.lead-success[hidden] { display: none; }
.lead-success h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.lead-success h3:focus { outline: none; }
.lead-success p { max-width: 30rem; color: var(--text-muted); }
.success-check {
  width: 5.5rem;
  height: 5.5rem;
  color: var(--accent-strong);
}
.success-check circle,
.success-check path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: var(--line-strong); }
.lead-success.is-visible .success-check path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: draw .9s .15s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }

.info-card { padding: clamp(1.5rem, 3vw, 2.25rem); }
.info-card h3 { font-size: var(--fs-h3); margin-bottom: 1.25rem; }
.info-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .25rem; }
.info-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: center;
  gap: .9rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: .8rem;
  color: var(--accent-strong);
}
.info-icon .icon { width: 1.2rem; height: 1.2rem; }
.info-label { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
.info-list a,
.info-value { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--accent-strong); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.nav-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }

.map-facade {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 1.25rem;
  min-height: 13rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background-color: var(--bg-elev-2);
  background-image:
    radial-gradient(circle at 50% 45%, rgba(201, 163, 106, .22), transparent 35%),
    linear-gradient(rgba(232, 213, 176, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 213, 176, .06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  text-align: center;
}
.map-facade-inner { display: grid; justify-items: center; gap: .6rem; padding: 1.5rem; }
.map-pin { width: 2.25rem; height: 2.25rem; color: var(--accent-strong); }
.map-note { color: var(--text-muted); font-size: var(--fs-xs); max-width: 16rem; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 64rem) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .form-grid { grid-template-columns: 1fr; }
}

/* 17. Footer -------------------------------------------------------------- */
.pre-footer {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.pre-footer h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.pre-footer p { color: var(--text-muted); font-size: var(--fs-lead); margin-bottom: 2rem; }
.pre-footer .hero-ctas { justify-content: center; }

.site-footer {
  position: relative;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand .footer-tagline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-brand p { color: var(--text-muted); font-size: var(--fs-small); }
.social {
  display: flex;
  gap: .6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: border-color var(--dur-1) ease, color var(--dur-1) ease;
}
.social a:hover { border-color: var(--accent); color: var(--accent-strong); }
.social .icon { width: 1.2rem; height: 1.2rem; }
.footer-col h2 {
  margin-bottom: 1.1rem;
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .06em;
}
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: .15rem; }
.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-align: start;
  text-decoration: none;
}
.footer-links a:hover,
.footer-links button:hover,
.footer-links a[aria-current="page"] { color: var(--text); }
.footer-contact li { color: var(--text-muted); font-size: var(--fs-small); padding: .3rem 0; }
.footer-contact a { min-height: 2.5rem; }

.wordmark {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 1rem + 16vw, 15rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.03em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(227, 201, 154, .28);
  user-select: none;
  pointer-events: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.75rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.legal-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.legal-links a { display: inline-flex; align-items: center; min-height: 2.25rem; color: var(--text-muted); }
.legal-links a:hover,
.legal-links a[aria-current="page"] { color: var(--text); }
.disclaimer { flex-basis: 100%; margin: 0; max-width: 60rem; line-height: 1.7; }
.credit { margin: 0; }
.credit a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.credit a:hover { text-decoration: underline; }

@media (max-width: 64rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 48rem) {
  .footer-grid { gap: 2rem 1.25rem; }
  .footer-bottom { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

/* 18. Floating WhatsApp --------------------------------------------------- */
.fab-whatsapp {
  position: fixed;
  inset-block-end: max(16px, env(safe-area-inset-bottom));
  inset-inline-end: 16px;
  z-index: var(--z-fab);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(37, 211, 102, .45);
  border-radius: 50%;
  background-color: rgba(18, 16, 13, .88);
  color: var(--wa);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7);
  text-decoration: none;
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-1) ease;
}
.fab-whatsapp:hover { transform: translateY(-2px); border-color: var(--wa); color: var(--wa); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }
.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, .6);
  animation: pulse 2.8s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.fab-tip {
  position: absolute;
  inset-inline-end: calc(100% + .75rem);
  top: 50%;
  translate: 0 -50%;
  padding: .45rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev-2);
  color: var(--text);
  font-size: var(--fs-xs);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-1) ease, visibility var(--dur-1) ease;
  pointer-events: none;
}
.fab-whatsapp:hover .fab-tip,
.fab-whatsapp:focus-visible .fab-tip { opacity: 1; visibility: visible; }
@media (max-width: 30rem) {
  .fab-whatsapp { width: 52px; height: 52px; }
  .fab-whatsapp svg { width: 26px; height: 26px; }
}

/* 19. Intro curtain (first visit per session, motion only) --------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: none;
  place-items: center;
  background: var(--bg);
  pointer-events: none;
}
html.intro-pending .intro {
  display: grid;
  animation: introFailsafe .01s 2.8s forwards;
}
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; } }
.intro-mark { width: 5rem; height: 5rem; color: var(--accent-strong); }
.intro-mark path,
.intro-mark circle { fill: none; stroke: currentColor; stroke-width: 1.2; }
html.no-motion .intro { display: none !important; }

/* 20. Legal pages --------------------------------------------------------- */
.legal { padding-top: var(--header-h); }
.legal-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(50rem 26rem at 100% 0%, rgba(201, 163, 106, .1), transparent 60%);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.breadcrumb li + li::before { content: "/"; margin-inline-end: .5rem; color: var(--line-strong); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.legal-hero h1 { font-size: var(--fs-h2); }
.legal-updated { margin-top: 1rem; color: var(--text-muted); font-size: var(--fs-small); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-y);
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-inline-start: 1px solid var(--line);
}
.legal-toc h2 {
  margin-bottom: .75rem;
  padding-inline-start: 1.25rem;
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .06em;
}
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex;
  gap: .6rem;
  padding: .45rem 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  text-decoration: none;
  border-inline-start: 2px solid transparent;
  margin-inline-start: -1px;
}
.legal-toc a::before { content: counter(toc) "."; color: var(--accent); }
.legal-toc a:hover,
.legal-toc a[aria-current="true"] { color: var(--text); border-inline-start-color: var(--accent); }

.prose { max-width: 72ch; color: var(--text-muted); font-size: 1.0625rem; line-height: 1.85; }
.prose h2 {
  margin: 3rem 0 1rem;
  color: var(--text);
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .75rem; color: var(--text); font-size: 1.2rem; }
.prose p { margin-bottom: 1.1em; }
.prose ul,
.prose ol { margin: 0 0 1.25em; padding-inline-start: 1.4rem; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent-strong); }
.prose table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.prose caption { margin-bottom: .5rem; color: var(--text); font-weight: 600; text-align: start; }
.prose th,
.prose td { padding: .75rem .9rem; border: 1px solid var(--line-strong); text-align: start; vertical-align: top; }
.prose th { background: var(--bg-elev-2); color: var(--text); font-weight: 600; }
.legal-note {
  margin: 1.75rem 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--glass-border);
  border-inline-start: 3px solid var(--accent);
  border-radius: .6rem;
  background: rgba(201, 163, 106, .07);
  color: var(--text);
}
.legal-contact {
  margin: 2rem 0 0;
  padding: 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.legal-contact ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.legal-contact li { padding: .25rem 0; }

@media (max-width: 56rem) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 0; }
}

/* 21. Motion states (only when html.js-motion is set) --------------------- */
html.js-motion [data-reveal] { opacity: 0; transform: translateY(32px); }
html.js-motion [data-hero] { opacity: 0; }
html.js-motion .wordmark { opacity: 0; }
html.no-motion [data-reveal],
html.no-motion [data-hero],
html.no-motion .wordmark { opacity: 1 !important; transform: none !important; }
html.no-motion .aurora,
html.no-motion .arch,
html.no-motion .marquee-track,
html.no-motion .fab-whatsapp::before,
html.no-motion .scroll-cue span:last-child { animation: none !important; }
html.no-motion .marquee-viewport { overflow-x: auto; }
html.no-motion .about-media img { filter: none !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .aurora,
  .arch,
  .marquee-track,
  .fab-whatsapp::before,
  .scroll-cue span:last-child { animation: none; }
}

/* 22. Lenis, view transitions, print -------------------------------------- */
html.lenis,
html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .35s; }
html.no-motion::view-transition-group(*),
html.no-motion::view-transition-old(*),
html.no-motion::view-transition-new(*) { animation: none; }

@media print {
  .grain, .decor, .fab-whatsapp, .site-header, .scroll-progress, .marquee, .intro, .map-facade, .a11y-root { display: none !important; }
  body { background: #fff; color: #000; }
  .legal { padding-top: 0; }
  .prose, .prose h2, .prose strong { color: #000; }
  a { color: #000; }
}
