/* gs-daylight — "אור יום". Ported from redesign/round2/1/assets/site.css (owner-approved prototype). */
@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 800; src: url("../fonts/rubik-hebrew-wght-normal.woff2") format("woff2-variations"), url("../fonts/rubik-hebrew-wght-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 800; src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/rubik-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ============================================================
   Round 2 · Direction 1 · "אור יום" (Daylight)
   Bright, airy, cinematic. Rubik only. Navy ink, gold glow.
   ============================================================ */

@view-transition { navigation: auto; }

:root {
  --paper: #FBF8F3;
  --paper-2: #F4EEE4;
  --sand: #EADFCC;
  --ink: #0D1B2A;
  --ink-2: #3B4757;
  --ink-3: #5A6472;
  --gold: #B8963E;
  --gold-ink: #7A5E1C;
  --glow: #F4D58C;
  --white: #FFFFFF;
  --line: rgba(13, 27, 42, 0.12);
  --wa: #1F7A4D;

  --f: "Rubik", "Heebo", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-arrive: cubic-bezier(0.16, 1, 0.3, 1);

  --r-s: 14px;
  --r-m: 22px;
  --r-l: 36px;

  --shadow-soft: 0 1px 2px rgba(13, 27, 42, .06), 0 12px 32px -12px rgba(60, 40, 10, .22);
  --shadow-lift: 0 2px 4px rgba(13, 27, 42, .06), 0 28px 60px -24px rgba(60, 40, 10, .35);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --dock-h: 0px;

  color-scheme: light;
}

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

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; hyphens: none; }
p { text-wrap: pretty; }

::selection { background: var(--glow); color: var(--ink); }
input, textarea { caret-color: var(--gold-ink); }

:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 10px;
}

html { scrollbar-color: var(--sand) var(--paper); }

.skip {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px;
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
  text-decoration: none; font-weight: 500;
}
.skip:focus { transform: none; }

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

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

/* ---------- touch / press baseline ---------- */
button, a, [role="button"], [role="tab"], .btn {
  touch-action: manipulation;
}
.btn, [role="tab"], .chip, .seg {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-size: 1.0625rem; font-weight: 500; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--ghost { --bg: rgba(255,255,255,.7); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 10px 24px -10px rgba(13,27,42,.45); }
  .btn--wa:hover { background: #196A42; }
  .btn--gold:hover { background: #C6A44C; }
  .btn--ghost:hover { --bg: #fff; }
}

.link {
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; text-decoration-color: var(--gold);
  transition: text-decoration-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: var(--gold-ink); text-decoration-color: currentColor; }
}

/* ---------- Header ---------- */
.mast {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60;
  padding-block: 14px;
  transition: background-color 300ms ease, box-shadow 300ms ease, padding 300ms var(--ease-out);
}
.mast.is-solid {
  background: rgba(251, 248, 243, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 8px;
}
.mast__in { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 13px; background: var(--gold);
  display: grid; place-items: center; color: var(--ink);
  font-weight: 800; font-size: 1rem; letter-spacing: .02em; direction: ltr;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.brand__name { display: grid; line-height: 1.15; }
.brand__name b { font-weight: 700; font-size: 1.0625rem; }
.brand__name span { font-size: .8125rem; color: var(--ink-2); }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 450;
  transition: background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: rgba(13,27,42,.06); } }
.nav a[aria-current="page"] { font-weight: 600; }
.mast__act { display: flex; gap: 8px; }
.mast__act .btn { min-height: 46px; padding-inline: 18px; font-size: 1rem; }
.mast__menu { display: none; }

@media (max-width: 960px) {
  .nav, .mast__act .btn--ghost { display: none; }
  .mast__act .btn--phone { display: none; }
  .mast__menu {
    display: inline-flex; width: 48px; height: 48px; border-radius: 14px; border: 0;
    background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--line);
    align-items: center; justify-content: center; cursor: pointer;
  }
  .mast__menu svg { width: 22px; height: 22px; }
  .brand__name span { display: none; }
}
@media (max-width: 760px) {
  .mast__act > .btn:not(.btn--ghost) { display: none; }
  .brand__name b { white-space: nowrap; font-size: 1rem; }
  .brand__mark { width: 40px; height: 40px; border-radius: 12px; }
}
.btn { white-space: nowrap; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  overflow: hidden; isolation: isolate;
}
.hero__stage {
  position: absolute; inset: 0; z-index: -1;
  clip-path: inset(0 0 0 0 round 0px);
  will-change: clip-path;
  background: var(--sand);
}
.slide {
  position: absolute; inset: 0; opacity: 0; margin: 0;
  transition: opacity 1400ms ease;
}
.slide.is-on { opacity: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
  transform-origin: var(--kb-origin, 50% 50%);
}
.slide.is-on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.0); } }

.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to left, rgba(251,248,243,.94) 0%, rgba(251,248,243,.82) 30%, rgba(251,248,243,.25) 56%, rgba(251,248,243,0) 70%),
    linear-gradient(to top, rgba(251,248,243,.5), rgba(251,248,243,0) 30%);
}
.hero__light {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  border-radius: 50%; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle, rgba(255,226,150,.85) 0%, rgba(255,226,150,.35) 35%, rgba(255,226,150,0) 65%);
  transform: translate3d(var(--lx, 70vw), var(--ly, 30vh), 0);
  will-change: transform;
}
.hero__in {
  height: 100%; display: grid; align-content: center;
  padding-block: 120px 120px;
}
.hero__copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  line-height: 1.02; letter-spacing: -0.02em; font-weight: 800;
}
.hero h1 .l1 { display: grid; }
.hero h1 .l1 > span { grid-area: 1 / 1; }
.hero h1 .l2 { display: block; font-weight: 300; color: var(--ink-2); }
.noun { white-space: nowrap; }
.noun .ch { display: inline-block; will-change: transform, opacity, filter; }
.noun .sp { display: inline-block; width: .28em; }
.noun[aria-hidden="true"] { visibility: hidden; }
.noun.is-live { visibility: visible; }
.hero__sub {
  margin-block-start: 26px; font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  line-height: 1.6; color: var(--ink-2); max-width: 30em;
}
.hero__sub { display: grid; }
.hero__sub > .sub { grid-area: 1 / 1; }
.hero__sub > .sub[aria-hidden="true"] { visibility: hidden; }
.hero__sub > .sub.is-live { visibility: visible; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }

.story {
  position: absolute; inset-block-end: 36px; inset-inline-end: var(--gutter);
  display: flex; align-items: center; gap: 10px;
  background: rgba(251,248,243,.78); padding: 8px 8px 8px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.seg {
  position: relative; width: 56px; height: 44px; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.seg i {
  display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(13,27,42,.16);
  overflow: hidden; position: relative;
}
.seg i::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: scaleX(0); transform-origin: right center;
}
.seg.is-done i::after { transform: scaleX(1); }
.seg.is-on i::after { animation: segfill var(--dur, 6s) linear forwards; }
.story.is-paused .seg.is-on i::after { animation-play-state: paused; }
@keyframes segfill { to { transform: scaleX(1); } }
.story__label { font-size: .9375rem; font-weight: 500; min-width: 4.5em; text-align: start; }
.pause {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); display: grid; place-items: center;
  transition: transform 140ms var(--ease-out);
}
.pause:active { transform: scale(.94); }
.pause svg { width: 16px; height: 16px; }

.scrollcue {
  position: absolute; inset-block-end: 40px; inset-inline-start: var(--gutter);
  font-size: .875rem; color: var(--ink-2); display: flex; align-items: center; gap: 10px;
}
.scrollcue span {
  width: 1.5px; height: 40px; background: linear-gradient(var(--ink), transparent);
  transform-origin: top; animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* hero → window statement */
.statement {
  position: absolute; inset-block: 0; inset-inline-start: var(--gutter);
  width: min(40%, 520px); display: grid; align-content: center; gap: 22px;
  opacity: 0; pointer-events: none;
}
.statement.is-on { pointer-events: auto; }
.statement p.big {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.22; font-weight: 600; letter-spacing: -0.01em;
}
.statement p.big em { font-style: normal; color: var(--gold-ink); }
.statement p.small { color: var(--ink-2); font-size: 1.125rem; max-width: 26em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  list-style: none; padding: 8px 14px; border-radius: 999px; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; font-weight: 500;
}
.facts { padding: 0; margin: 0; }

@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(251,248,243,.98) 0%, rgba(251,248,243,.92) 40%, rgba(251,248,243,.35) 62%, rgba(251,248,243,0) 78%);
  }
  .hero__in { align-content: end; padding-block: 100px 112px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero__sub { margin-block-start: 16px; }
  .hero__cta { margin-block-start: 22px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { padding-inline: 12px; }
  .hero__cta .btn--line { grid-column: 1 / -1; }
  .story { inset-block-end: 18px; inset-inline: var(--gutter); justify-content: space-between; padding-inline-start: 12px; }
  .seg { width: 100%; }
  .story__label { display: none; }
  .scrollcue { display: none; }
  .statement { inset-inline: var(--gutter); width: auto; align-content: start; padding-block-start: 96px; gap: 14px; }
  .statement p.big { font-size: 1.6rem; }
  .statement p.small { font-size: 1rem; }
  .hero__light { display: none; }
  .slide img { object-position: var(--mpos, 40% 70%); transform-origin: var(--mpos, 40% 70%); }
}

/* ---------- Section scaffolding ---------- */
.sec { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.sec__head { display: grid; gap: 14px; margin-block-end: clamp(32px, 4vw, 56px); max-width: 760px; }
.sec h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 750;
}
.sec__lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 34em; }

/* ---------- Area selector (morph) ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.tabs { display: grid; align-content: start; gap: 2px; counter-reset: none; }
.tab {
  position: relative; text-align: start; border: 0; background: none; cursor: pointer;
  padding: 18px 20px 18px 16px; border-radius: var(--r-m);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center;
  transition: background-color 250ms ease;
}
.tab__t { font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 450; line-height: 1.2; transition: font-weight 300ms var(--ease-out), color 250ms ease; color: var(--ink-2); }
.tab__s { grid-column: 1; font-size: .9375rem; color: var(--ink-3); display: none; }
.tab__dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--gold);
  transform: scale(0); transition: transform 300ms var(--ease-out);
}
.tab[aria-selected="true"] { background: var(--paper-2); }
.tab[aria-selected="true"] .tab__t { font-weight: 700; color: var(--ink); }
.tab[aria-selected="true"] .tab__s { display: block; }
.tab[aria-selected="true"] .tab__dot { transform: scale(1); }
.tab:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .tab:hover .tab__t { color: var(--ink); }
  .tab:hover { background: rgba(234,223,204,.45); }
}

.panel {
  position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 620px;
  background: var(--sand); box-shadow: var(--shadow-lift); isolation: isolate;
}
.panel__img { position: absolute; inset: 0; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__img.is-entering { z-index: 1; }
.panel__card {
  position: absolute; inset-inline: 20px; inset-block-end: 20px; z-index: 3;
  background: rgba(251,248,243,.92);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-radius: calc(var(--r-l) - 14px); padding: 26px 28px 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, var(--shadow-soft);
  display: grid; gap: 14px;
}
.panel__card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; font-weight: 700; }
.panel__card p { color: var(--ink-2); }
.panel__swap { display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: .9375rem; font-weight: 450; text-decoration: none;
  transition: box-shadow 200ms ease, transform 140ms var(--ease-out);
}
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.panel__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-block-start: 4px; }
.panel__acts .btn { min-height: 48px; }

@media (max-width: 900px) {
  .areas { grid-template-columns: 1fr; }
  .tabs {
    display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-block-end: 6px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex: none; scroll-snap-align: start; padding: 10px 16px; min-height: 48px;
    border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: #fff;
    grid-template-columns: auto;
  }
  .tab__t { font-size: 1rem; white-space: nowrap; }
  .tab__dot, .tab[aria-selected="true"] .tab__s { display: none; }
  .tab[aria-selected="true"] { background: var(--ink); box-shadow: none; }
  .tab[aria-selected="true"] .tab__t { color: var(--paper); font-weight: 600; }
  .panel { min-height: 600px; border-radius: 28px; }
  .panel__card { inset-inline: 12px; inset-block-end: 12px; padding: 20px; }
}

/* ---------- Process story (pinned) ---------- */
.process { background: var(--ink); color: var(--paper); overflow: hidden; }
.process .sec__lede { color: rgba(251,248,243,.78); }
.process__pin { min-height: 100svh; display: grid; align-items: center; padding-block: 100px; }
.js-motion .process__pin { height: 100svh; padding-block: 0; }
.process__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center;
}
.process h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
.steps { position: relative; margin-block-start: 40px; display: grid; gap: 40px; }
.step { display: grid; align-content: start; gap: 14px; }
.js-motion .steps { display: block; min-height: 250px; }
.js-motion .step { position: absolute; inset: 0; }
.step__n {
  font-size: clamp(5rem, 9vw, 8rem); line-height: .9; font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.step__n small { font-size: 1.125rem; font-weight: 400; color: rgba(251,248,243,.6); letter-spacing: 0; margin-inline-start: 8px; }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 650; line-height: 1.15; }
.step p { color: rgba(251,248,243,.8); font-size: 1.125rem; max-width: 26em; }
.steps__bar {
  display: flex; gap: 6px; margin-block-start: 28px; max-width: 360px;
}
.steps__bar i { flex: 1; height: 4px; border-radius: 4px; background: rgba(251,248,243,.18); overflow: hidden; position: relative; }
.steps__bar i b { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.frames {
  position: relative; height: min(68svh, 640px); border-radius: var(--r-l); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); background: #1b2a3a;
}
.frame { position: absolute; inset: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.frame + .frame { clip-path: inset(100% 0 0 0); }
.frames__glow {
  position: absolute; inset: -20%; pointer-events: none; z-index: 5; mix-blend-mode: soft-light;
  background: radial-gradient(circle at 70% 20%, rgba(255,220,140,.7), rgba(255,220,140,0) 55%);
}

@media (max-width: 900px) {
  .process__pin, .js-motion .process__pin { height: 100svh; min-height: 0; padding-block: 76px 24px; align-items: start; }
  html:not(.js-motion) .process__pin { height: auto; }
  .process__grid { grid-template-columns: 1fr; gap: 20px; }
  .process__media { order: -1; }
  .frames { height: 34svh; border-radius: 24px; }
  .js-motion .steps { margin-block-start: 18px; min-height: 210px; }
  .step__n { font-size: 4rem; }
  .step p { font-size: 1rem; }
  .process h2 { font-size: 1.75rem; }
}

/* ---------- Calculator ---------- */
.calc { background: var(--paper-2); }
.calc__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.calc__box { background: #fff; border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-soft); display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field label, .field legend { font-weight: 600; font-size: 1.0625rem; padding: 0; }
.field output { font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer;
  --p: 30%;
}
.range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 8px;
  background: linear-gradient(to left, var(--ink) var(--p), var(--sand) var(--p));
}
.range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--sand); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--ink); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; margin-top: -11px;
  background: #fff; border: 0; box-shadow: 0 0 0 2px var(--ink), 0 6px 14px -4px rgba(13,27,42,.5);
  transition: transform 140ms var(--ease-out);
}
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px var(--ink); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--gold-ink), 0 0 0 6px rgba(184,150,62,.3); }

.toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 16px; padding: 4px; position: relative; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label {
  position: relative; z-index: 1; min-height: 48px; display: grid; place-items: center; text-align: center;
  font-weight: 500; font-size: .9875rem; cursor: pointer; border-radius: 12px; padding: 6px 10px; line-height: 1.25;
  transition: color 200ms ease;
}
.toggle__pill {
  position: absolute; inset-block: 4px; inset-inline-start: 4px; width: calc(50% - 4px);
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-soft);
  transition: transform 320ms var(--ease-drawer);
}
.toggle.is-b .toggle__pill { transform: translateX(-100%); }
.toggle input:focus-visible + label { outline: 3px solid var(--gold-ink); outline-offset: 2px; }

.result { display: grid; gap: 18px; }
.result__label { font-size: 1.0625rem; color: var(--ink-2); font-weight: 500; }
.amount {
  display: flex; align-items: baseline; gap: .12em; direction: ltr; justify-content: flex-end;
  font-size: clamp(3rem, 6.4vw, 5.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.amount .cur { font-size: .5em; font-weight: 500; color: var(--ink-2); margin-inline-end: .1em; }
.odo { display: inline-flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; position: relative; width: .62em; }
.odo__d > span { display: flex; flex-direction: column; transition: transform 900ms var(--ease-arrive); will-change: transform; }
.odo__d > span > span { height: 1em; line-height: 1; display: block; text-align: center; }
.odo__c { display: inline-block; width: .28em; }
.range-note { font-size: 1rem; color: var(--ink-2); }
.range-note b { color: var(--ink); font-variant-numeric: tabular-nums; }
.months { display: flex; flex-wrap: wrap; gap: 4px; direction: rtl; min-height: 26px; }
.months i {
  width: 14px; height: 22px; border-radius: 4px; background: var(--sand);
  transform-origin: bottom; animation: mpop 360ms var(--ease-out) both;
}
.months i.t1 { background: #C9B48A; } .months i.t2 { background: var(--gold); } .months i.t3 { background: var(--gold-ink); }
@keyframes mpop { from { transform: scaleY(.3); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--ink-2); padding: 0; margin: 0; list-style: none; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }
.notice { font-size: .875rem; color: var(--ink-3); }
.calc__empty { font-size: 1.125rem; color: var(--ink-2); font-weight: 500; }

@media (max-width: 900px) { .calc__grid { grid-template-columns: 1fr; } .amount { justify-content: flex-start; direction: ltr; } }

/* ---------- People ---------- */
.people__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.person { perspective: 1200px; }
.person__card {
  position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--sand);
  transform-style: preserve-3d; transition: transform 500ms var(--ease-out), box-shadow 300ms ease;
  box-shadow: var(--shadow-soft);
}
.person__card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 20%; }
.person__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,240,200,.45), rgba(255,240,200,0) 50%);
}
.person__body { display: grid; gap: 6px; padding-block-start: 20px; }
.person h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.15; }
.person .role { color: var(--gold-ink); font-weight: 600; }
.person p { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .person:hover .person__card { box-shadow: var(--shadow-lift); }
  .person:hover .person__glare { opacity: 1; }
}
@media (max-width: 700px) { .people__grid { grid-template-columns: 1fr; } .person__card img { aspect-ratio: 4 / 3.4; object-position: 50% 18%; } }

/* ---------- Guides strip ---------- */
.guides__top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.rail-ctl { display: flex; gap: 8px; }
.rail-ctl button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center;
  transition: transform 140ms var(--ease-out), box-shadow 200ms ease;
}
.rail-ctl button:active { transform: scale(.94); }
.rail-ctl svg { width: 20px; height: 20px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-block: 8px 24px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.guide {
  scroll-snap-align: start; text-decoration: none; display: grid; gap: 14px;
}
.guide__img { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.guide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.guide__tag { font-size: .875rem; font-weight: 600; color: var(--gold-ink); }
.guide h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 650; }
.guide p { color: var(--ink-2); font-size: 1rem; }
@media (hover: hover) and (pointer: fine) { .guide:hover .guide__img img { transform: scale(1.05); } .guide:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--gold); } }
@media (max-width: 700px) { .rail-ctl { display: none; } }

/* ---------- Final CTA ---------- */
.final { position: relative; padding-block: clamp(80px, 12vw, 180px); isolation: isolate; overflow: hidden; }
.final__bg { position: absolute; inset: -12% 0; z-index: -2; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.final::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(251,248,243,.0) 0%, rgba(251,248,243,.0) 40%, rgba(13,27,42,.25) 100%);
}
.final__card {
  width: min(560px, 100%); background: rgba(251,248,243,.94); border-radius: var(--r-l);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-lift); display: grid; gap: 18px;
}
.final__card h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; font-weight: 750; letter-spacing: -0.02em; }
.final__card p { color: var(--ink-2); font-size: 1.125rem; }
.final__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* forms */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input { display: grid; gap: 6px; }
.input label { font-weight: 600; font-size: .9375rem; }
.input input, .input select {
  width: 100%; min-height: 54px; border-radius: 14px; border: 0; padding: 0 16px;
  font: inherit; font-size: 16px; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(13,27,42,.22);
  transition: box-shadow 200ms ease;
}
.input input::placeholder { color: #6B7480; }
.input input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(184,150,62,.35); }
.input input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B3261E; }
.input .err { color: #B3261E; font-size: .875rem; font-weight: 500; min-height: 0; }
.input input[type="tel"] { direction: ltr; text-align: right; }
.form__note { font-size: .8125rem; color: var(--ink-3); }
.form .btn { width: 100%; }
.sent { display: none; gap: 10px; text-align: center; justify-items: center; padding-block: 12px; }
.sent svg { width: 64px; height: 64px; }
.sent svg circle { stroke-dasharray: 190; stroke-dashoffset: 190; }
.sent svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.is-sent .sent { display: grid; }
.is-sent .sent svg circle { animation: draw 600ms var(--ease-out) forwards; }
.is-sent .sent svg path { animation: draw 400ms 380ms var(--ease-out) forwards; }
.is-sent .form { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent h3 { font-size: 1.5rem; font-weight: 700; }

@media (max-width: 760px) {
  .final { padding-block: 280px 40px; }
  .final__bg { inset: 0; height: 420px; }
  .final__bg img { object-position: 50% 50%; }
  .final::after { background: linear-gradient(to top, var(--paper) 0, var(--paper) calc(100% - 420px), rgba(251,248,243,0) calc(100% - 260px)); }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(251,248,243,.85); padding-block: 64px calc(40px + var(--dock-h)); }
.foot a { color: var(--paper); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4, .foot .foot__h { color: var(--paper); font-size: 1rem; font-weight: 600; margin-block-end: 12px; line-height: 1.4; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { text-decoration: none; display: inline-block; padding-block: 6px; }
@media (hover: hover) and (pointer: fine) { .foot ul a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.foot .brand__name span { color: rgba(251,248,243,.7); }
.foot__fine { margin-block-start: 48px; padding-block-start: 22px; border-block-start: 1px solid rgba(251,248,243,.14); font-size: .875rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: rgba(251,248,243,.72); }
.ltr { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: none; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 6px;
  background: rgba(13,27,42,.9); border-radius: 22px;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 40px -16px rgba(13,27,42,.6);
  transform: translateY(calc(100% + 30px)); transition: transform 420ms var(--ease-drawer);
}
.dock.is-on { transform: none; }
.dock a, .dock button {
  min-height: 56px; border-radius: 16px; border: 0; background: rgba(255,255,255,.08); color: var(--paper);
  display: grid; place-items: center; gap: 2px; text-decoration: none; font-size: .8125rem; font-weight: 500; cursor: pointer;
  padding-block: 6px; transition: transform 120ms var(--ease-out), background-color 160ms ease;
  user-select: none; -webkit-user-select: none;
}
.dock a:active, .dock button:active { transform: scale(.95); background: rgba(255,255,255,.18); }
.dock svg { width: 22px; height: 22px; }
.dock .is-wa { background: var(--wa); }
@media (max-width: 760px) { .dock { display: grid; } :root { --dock-h: 84px; } }

/* ---------- Sheet (callback) ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(13,27,42,.42);
  opacity: 0; pointer-events: none; transition: opacity 300ms ease;
}
.scrim.is-on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 100; inset-inline: 0; inset-block-end: 0;
  margin-inline: auto; width: min(520px, 100%);
  background: var(--paper); border-radius: 28px 28px 0 0;
  padding: 10px 22px calc(26px + env(safe-area-inset-bottom, 0px));
  transform: translateY(105%); visibility: hidden;
  transition: transform 460ms var(--ease-drawer), visibility 0s 460ms;
  box-shadow: 0 -20px 60px -20px rgba(13,27,42,.4);
  max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
}
.sheet.is-on { transform: none; visibility: visible; transition: transform 460ms var(--ease-drawer), visibility 0s; }
.sheet.is-drag { transition: none; }
.sheet__grab { display: grid; place-items: center; height: 28px; touch-action: none; cursor: grab; }
.sheet__grab i { width: 44px; height: 5px; border-radius: 5px; background: rgba(13,27,42,.2); }
.sheet__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-block: 4px 16px; touch-action: none; }
.sheet h2 { font-size: 1.625rem; font-weight: 700; line-height: 1.2; }
.sheet__head p { color: var(--ink-2); font-size: 1rem; margin-block-start: 4px; }
.x {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--paper-2); cursor: pointer;
  display: grid; place-items: center;
}
.x svg { width: 18px; height: 18px; }
.sheet__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block-start: 16px; }
.sheet__alt .btn { min-height: 48px; font-size: .9375rem; }
@media (min-width: 761px) {
  .sheet { inset-block-end: auto; inset-block-start: 50%; border-radius: 28px; padding-block-start: 22px;
    transform: translateY(-46%) scale(.96); opacity: 0;
    transition: transform 320ms var(--ease-out), opacity 220ms ease, visibility 0s 320ms; }
  .sheet.is-on { transform: translateY(-50%); opacity: 1; transition: transform 320ms var(--ease-out), opacity 220ms ease, visibility 0s; }
  .sheet__grab { display: none; }
}

/* ---------- Menu (mobile) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--paper);
  display: grid; align-content: start; padding: 96px var(--gutter) 40px; gap: 6px;
  clip-path: circle(0 at calc(100% - 0px) 0); visibility: hidden;
  transition: clip-path 520ms var(--ease-in-out), visibility 0s 520ms;
}
html[dir="rtl"] .menu { clip-path: circle(0 at 44px 40px); }
.menu.is-on { clip-path: circle(150% at 44px 40px); visibility: visible; transition: clip-path 620ms var(--ease-in-out), visibility 0s; }
.menu a.big { font-size: 2.25rem; font-weight: 700; text-decoration: none; padding-block: 8px; }
.menu .x { position: absolute; inset-block-start: 18px; inset-inline-end: var(--gutter); }

/* ---------- Practice page ---------- */
.p-hero { position: relative; min-height: 88svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.p-hero__img { position: absolute; inset: 0; z-index: -2; view-transition-name: area-photo; }
.p-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.p-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(251,248,243,.96) 0%, rgba(251,248,243,.88) 38%, rgba(251,248,243,.2) 66%, rgba(251,248,243,0) 80%);
}
.p-hero__in { padding-block: 140px 72px; max-width: 720px; display: grid; gap: 20px; }
.crumbs { display: flex; gap: 8px; font-size: .9375rem; color: var(--ink-2); padding: 0; margin: 0; list-style: none; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.p-hero h1 { font-size: clamp(2.6rem, 5.8vw, 5.25rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; view-transition-name: area-title; }
.p-hero p.sub { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--ink-2); max-width: 30em; }
.meta { font-size: .875rem; color: var(--ink-3); }
@media (max-width: 760px) {
  .p-hero { min-height: 92svh; }
  .p-hero::after { background: linear-gradient(to top, rgba(251,248,243,.98) 0%, rgba(251,248,243,.94) 48%, rgba(251,248,243,.2) 72%, rgba(251,248,243,0) 86%); }
  .p-hero__in { padding-block: 120px 40px; }
}

.sit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.sit__list { display: grid; gap: 10px; }
.sit__btn {
  text-align: start; border: 0; cursor: pointer; background: #fff; border-radius: var(--r-m);
  padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); font-size: 1.1875rem; font-weight: 500; line-height: 1.3;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background-color 250ms ease, color 250ms ease, transform 140ms var(--ease-out);
}
.sit__btn svg { width: 20px; height: 20px; flex: none; transition: transform 300ms var(--ease-out); }
.sit__btn:active { transform: scale(.985); }
.sit__btn[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.sit__btn[aria-selected="true"] svg { transform: translateX(-4px); }
.answer {
  background: #fff; border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-soft);
  display: grid; gap: 18px; min-height: 100%;
}
.answer h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.2; }
.answer ul { margin: 0; padding-inline-start: 1.1em; display: grid; gap: 8px; color: var(--ink-2); }
.answer ul li::marker { color: var(--gold); }
.deadline {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center;
  background: var(--paper-2); border-radius: var(--r-m); padding: 18px 20px;
}
.deadline b { grid-row: span 2; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.deadline span { font-weight: 600; }
.deadline small { color: var(--ink-2); font-size: .9375rem; }
.answer__acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .sit { grid-template-columns: 1fr; } .sit__btn { font-size: 1.0625rem; padding: 16px 18px; } }

/* deadlines timeline */
.tl { position: relative; margin-block-start: 24px; }
.tl__track { position: relative; height: 4px; border-radius: 4px; background: var(--sand); margin-block: 70px 0; }
.tl__fill { position: absolute; inset: 0; background: var(--gold); border-radius: 4px; transform: scaleX(0); transform-origin: right; }
.tl__pts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-block-start: -12px; padding: 0; list-style: none; }
.tl__pt { display: grid; gap: 8px; position: relative; }
.tl__pt::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--gold);
}
.tl__pt b { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; margin-block-start: 8px; }
.tl__pt span { font-weight: 600; }
.tl__pt small { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 760px) {
  .tl__track { display: none; }
  .tl__pts { grid-template-columns: 1fr; gap: 24px; margin: 0; border-inline-start: 3px solid var(--sand); padding-inline-start: 22px; }
  .tl__pt::before { position: absolute; inset-inline-start: -34px; inset-block-start: 6px; }
  .tl__pt b { margin: 0; }
}

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how__item { display: grid; gap: 14px; align-content: start; }
.how__img { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 5 / 4; background: var(--sand); }
.how__img img { width: 100%; height: 100%; object-fit: cover; }
.how h3 { font-size: 1.375rem; font-weight: 650; }
.how p { color: var(--ink-2); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

.lawyer { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: #fff; border-radius: var(--r-l); padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--shadow-soft); }
.lawyer img { border-radius: calc(var(--r-l) - 10px); aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; width: 100%; }
.lawyer h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; }
.lawyer .role { color: var(--gold-ink); font-weight: 600; }
.lawyer p { color: var(--ink-2); margin-block-start: 10px; max-width: 34em; }
.lawyer .answer__acts { margin-block-start: 20px; }
@media (max-width: 760px) { .lawyer { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.125rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform 300ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); max-width: 46em; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

.disclaimer { font-size: .9375rem; color: var(--ink-2); border-block-start: 1px solid var(--line); padding-block-start: 18px; margin-block-start: 40px; }

/* ---------- View transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
::view-transition-group(area-photo) { animation-duration: 640ms; animation-timing-function: var(--ease-in-out); }
::view-transition-group(area-title) { animation-duration: 560ms; animation-timing-function: var(--ease-in-out); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .slide { transition: opacity 600ms ease; }
  .slide.is-on img, .slide img { animation: none; transform: none; }
  .scrollcue span { animation: none; }
  .hero__light { display: none; }
  .frame img { transform: none; }
  .odo__d > span { transition: none; }
  .months i { animation: none; }
  .sheet, .sheet.is-on { transition: opacity 200ms ease, visibility 0s; }
  .sheet:not(.is-on) { opacity: 0; }
  .menu, .menu.is-on { transition: opacity 200ms ease, visibility 0s; clip-path: none; }
  .menu:not(.is-on) { opacity: 0; }
  .dock { transition: opacity 200ms ease; }
  .person__card, .guide__img img { transition: none; }
  .seg.is-on i::after { animation: none; transform: scaleX(1); }
  .tl__fill { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .mast.is-solid, .panel__card, .final__card, .story, .dock { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock { background: var(--ink); }
}

/* ============================================================
   MULTI-PAGE SITE (round 2, owner choice): shared chrome + pages
   ============================================================ */

/* header stays put across page transitions */
.mast { view-transition-name: mast; }
.dock { view-transition-name: dock; }
::view-transition-group(mast), ::view-transition-group(dock) { animation: none; }
::view-transition-old(mast), ::view-transition-old(dock) { display: none; }
::view-transition-new(mast), ::view-transition-new(dock) { animation: none; }
::view-transition-group(guide-title) { animation-duration: 560ms; animation-timing-function: var(--ease-in-out); }
::view-transition-group(page-title) { animation-duration: 480ms; animation-timing-function: var(--ease-in-out); }

body.solid-mast .mast { background: rgba(251, 248, 243, 0.86); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line); }

/* nav with mega menu */
.nav { align-items: center; }
.nav__btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer;
  padding: 10px 14px; border-radius: 999px; font-weight: 450; font-size: 1rem; min-height: 44px;
  transition: background-color 200ms ease;
}
.nav__btn svg { width: 14px; height: 14px; transition: transform 250ms var(--ease-out); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__btn[aria-current="page"], .nav a[aria-current="page"] { font-weight: 650; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 12px 12px 4px 4px; }
@media (hover: hover) and (pointer: fine) { .nav__btn:hover { background: rgba(13,27,42,.06); } }
.nav__item { position: relative; }
.mega {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: -16px; z-index: 5;
  width: min(760px, 70vw); background: var(--paper); border-radius: 26px; padding: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 70px -24px rgba(13,27,42,.4), 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transform-origin: top right; opacity: 0; transform: translateY(-6px) scale(.98); visibility: hidden;
  transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s 220ms;
}
.mega.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s; }
.mega a {
  display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; padding: 10px; border-radius: 16px;
  text-decoration: none; transition: background-color 160ms ease;
}
.mega a img { grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.mega a b { font-weight: 650; line-height: 1.25; }
.mega a span { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.mega a[aria-current="page"] { background: var(--paper-2); }
@media (hover: hover) and (pointer: fine) { .mega a:hover { background: var(--paper-2); } }
.mega__all { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: center; background: var(--ink); color: var(--paper); margin-block-start: 6px; padding: 14px 18px !important; }
.mega__all svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .mega a.mega__all:hover { background: #1b2c40; } }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--line); transition: transform 140ms var(--ease-out);
}
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 1180px) { .mast__act .btn--phone { display: none; } .nav__btn, .nav a { padding-inline: 10px; } }
@media (max-width: 960px) { .mast__act .icon-btn--search { display: none; } }

/* search overlay */
.finder {
  position: fixed; inset: 0; z-index: 96; background: rgba(13,27,42,.4); display: grid; align-items: start; justify-items: center;
  padding: 90px var(--gutter) 20px; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s 200ms;
}
.finder.is-on { opacity: 1; visibility: visible; transition: opacity 200ms ease, visibility 0s; }
.finder__box {
  width: min(720px, 100%); background: var(--paper); border-radius: 26px; padding: 14px; box-shadow: var(--shadow-lift);
  transform: translateY(-12px) scale(.98); transition: transform 260ms var(--ease-out);
}
.finder.is-on .finder__box { transform: none; }
.finder form { display: flex; gap: 8px; align-items: center; }
.finder input {
  flex: 1; min-height: 58px; border: 0; border-radius: 16px; padding: 0 18px; font: inherit; font-size: 1.25rem;
  background: #fff; box-shadow: inset 0 0 0 1.5px rgba(13,27,42,.2); color: var(--ink);
}
.finder input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(184,150,62,.35); }
.finder__hint { font-size: .9375rem; color: var(--ink-2); padding: 12px 6px 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.finder__live { display: grid; gap: 2px; padding-block-start: 6px; }
.finder__live a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.finder__live a small { color: var(--gold-ink); font-weight: 600; font-size: .8125rem; }
.finder__live a:focus-visible, .finder__live a:hover { background: var(--paper-2); }

/* mobile menu extras */
.menu { overflow-y: auto; overscroll-behavior: contain; padding-block-end: calc(120px + env(safe-area-inset-bottom, 0px)); }
.menu__search { display: flex; gap: 8px; margin-block-end: 10px; }
.menu__search input { flex: 1; min-height: 52px; border: 0; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(13,27,42,.2); }
.menu__sub { display: grid; gap: 2px; padding-inline-start: 4px; margin-block: 2px 10px; }
.menu__sub a { text-decoration: none; padding: 9px 0; font-size: 1.0625rem; color: var(--ink-2); }
.menu a.big[aria-current="page"], .menu__sub a[aria-current="page"] { color: var(--gold-ink); }
.menu__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block-start: 16px; }

/* page head without photo */
.page-head { padding-block: 140px 40px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(244,213,140,.55), rgba(244,213,140,0) 60%); z-index: -1;
}
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; view-transition-name: page-title; }
.page-head .sub { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--ink-2); max-width: 34em; margin-block-start: 18px; }
.page-head .crumbs { margin-block-end: 18px; }
@media (max-width: 760px) { .page-head { padding-block: 108px 28px; } }

/* home: compact sections */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.duo__faces { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo__faces figure { margin: 0; display: grid; gap: 10px; }
.duo__faces img { border-radius: var(--r-l); aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 18%; width: 100%; box-shadow: var(--shadow-soft); }
.duo__faces figure:nth-child(2) { margin-block-start: 48px; }
.duo__faces figcaption { font-weight: 650; }
.duo__faces figcaption span { display: block; font-weight: 400; color: var(--ink-2); font-size: .9375rem; }
.duo__text { display: grid; gap: 18px; }
.duo__text p.big { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.duo__text p.big em { font-style: normal; color: var(--gold-ink); }
.duo__text p { color: var(--ink-2); font-size: 1.125rem; max-width: 34em; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.more { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-block-end: clamp(28px, 3.5vw, 48px); }
.more .sec__head { margin: 0; }

/* area cards */
.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.acard {
  position: relative; display: grid; align-content: end; min-height: 380px; border-radius: var(--r-l); overflow: hidden;
  text-decoration: none; color: var(--paper); isolation: isolate; background: var(--ink);
  box-shadow: var(--shadow-soft); transition: box-shadow 300ms ease, transform 140ms var(--ease-out);
}
.acard:active { transform: scale(.985); }
.acard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.acard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13,27,42,.92) 0%, rgba(13,27,42,.55) 42%, rgba(13,27,42,.05) 75%); }
.acard__body { padding: 24px; display: grid; gap: 8px; }
.acard h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.15; font-weight: 700; }
.acard p { color: rgba(251,248,243,.85); font-size: 1rem; }
.acard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--glow); margin-block-start: 6px; }
.acard__go svg { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .acard:hover { box-shadow: var(--shadow-lift); }
  .acard:hover img { transform: scale(1.06); }
  .acard:hover .acard__go svg { transform: translateX(-5px); }
}
@media (max-width: 1000px) { .acards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .acards { grid-template-columns: 1fr; } .acard { min-height: 300px; } }

/* brief steps (home) */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps4 li { background: rgba(251,248,243,.06); border-radius: var(--r-m); padding: 24px; display: grid; gap: 10px; align-content: start; box-shadow: inset 0 0 0 1px rgba(251,248,243,.12); }
.steps4 b { font-size: 3rem; line-height: 1; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.steps4 h3 { font-size: 1.25rem; font-weight: 650; }
.steps4 p { color: rgba(251,248,243,.78); font-size: 1rem; }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }

.band { background: var(--paper-2); border-radius: var(--r-l); padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 750; line-height: 1.1; letter-spacing: -0.015em; }
.band p { color: var(--ink-2); margin-block-start: 10px; max-width: 34em; }
.band__num { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; color: var(--gold-ink); line-height: 1; letter-spacing: -0.03em; direction: ltr; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* guides library */
.lib__bar { display: grid; gap: 16px; position: sticky; inset-block-start: 74px; z-index: 20; padding-block: 12px; background: linear-gradient(var(--paper) 80%, rgba(251,248,243,0)); }
.lib__search { position: relative; max-width: 560px; }
.lib__search svg { position: absolute; inset-inline-start: 18px; inset-block-start: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.lib__search input {
  width: 100%; min-height: 56px; border: 0; border-radius: 999px; padding-inline: 52px 20px; font: inherit; font-size: 16px; background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(13,27,42,.2);
}
.lib__search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(184,150,62,.35); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; font-size: .9875rem; transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.filter:active { transform: scale(.96); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.filter span { opacity: .65; margin-inline-start: 4px; font-variant-numeric: tabular-nums; }
.lib__count { font-size: .9375rem; color: var(--ink-2); }
.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gcard { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.gcard[hidden] { display: none; }
.gcard .guide__img { aspect-ratio: 16 / 10; }
.gcard h3 { font-size: 1.3125rem; line-height: 1.3; font-weight: 650; }
.gcard p { color: var(--ink-2); font-size: 1rem; }
.gcard mark, .results mark { background: var(--glow); color: inherit; border-radius: 3px; padding-inline: 1px; }
@media (hover: hover) and (pointer: fine) { .gcard:hover .guide__img img { transform: scale(1.05); } .gcard:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--gold); } }
@media (max-width: 1000px) { .gcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gcards { grid-template-columns: 1fr; } .lib__bar { inset-block-start: 64px; } }
.empty { display: none; text-align: center; padding: 60px 16px; gap: 14px; justify-items: center; }
.empty.is-on { display: grid; }
.empty h2 { font-size: 1.75rem; font-weight: 700; }
.empty p { color: var(--ink-2); }

/* article */
.progress { position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 70; background: transparent; }
.progress i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.art-head { padding-block: 140px 36px; }
.art-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; max-width: 20em; view-transition-name: guide-title; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .9375rem; margin-block-start: 18px; align-items: center; }
.art-meta .tag { color: var(--gold-ink); font-weight: 650; text-decoration: none; }
.art-cover { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 21 / 8; margin-block: 8px 48px; background: var(--sand); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; inset-block-start: 96px; display: grid; gap: 10px; }
.toc h2 { font-size: 1rem; font-weight: 700; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-inline-start: 2px solid var(--sand); }
.toc ol a { display: block; padding: 7px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; text-decoration: none; color: var(--ink-2); font-size: .9375rem; line-height: 1.4; transition: color 200ms ease, border-color 200ms ease; }
.toc ol a.is-on { color: var(--ink); font-weight: 600; border-color: var(--gold); }
.toc__cta { margin-block-start: 14px; background: var(--paper-2); border-radius: var(--r-m); padding: 18px; display: grid; gap: 10px; }
.toc__cta p { font-weight: 600; }
.toc__cta .btn { min-height: 46px; font-size: .9375rem; }
.prose { font-size: 1.125rem; line-height: 1.8; max-width: 68ch; }
.prose > * + * { margin-block-start: 1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; font-weight: 750; margin-block-start: 2em; scroll-margin-top: 100px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.3125rem; font-weight: 700; margin-block-start: 1.6em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; display: grid; gap: .4em; }
.prose li::marker { color: var(--gold-ink); }
.prose strong, .prose b { font-weight: 650; }
.prose .note { background: var(--paper-2); border-radius: var(--r-m); padding: 18px 22px; font-size: 1.0625rem; position: relative; }
.prose .note__t { display: block; color: var(--gold-ink); font-weight: 700; margin-block-end: 4px; }
.tablewrap { overflow-x: auto; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: .6em 1em; text-align: start; border-block-end: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: var(--paper-2); }
.topicbox { margin-block-start: 56px; border-radius: var(--r-l); background: var(--ink); color: var(--paper); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 14px; position: relative; overflow: hidden; isolation: isolate; }
.topicbox::before { content: ""; position: absolute; inset-block-start: -60%; inset-inline-start: -20%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(244,213,140,.35), rgba(244,213,140,0) 60%); z-index: -1; }
.topicbox h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; }
.topicbox p { color: rgba(251,248,243,.82); }
.topicbox .hero__cta { margin: 6px 0 0; }
.topicbox .btn--line { --fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.topicbox .link { color: var(--glow); }
@media (max-width: 960px) { .art { grid-template-columns: 1fr; } .toc { position: static; order: -1; } .toc ol { display: none; } .toc.is-open ol { display: grid; } .toc h2 button { all: unset; cursor: pointer; display: flex; justify-content: space-between; width: 100%; min-height: 44px; align-items: center; } .art-cover { aspect-ratio: 16 / 9; } }
.toc__toggle { display: none; }
@media (max-width: 960px) { .toc__toggle { display: inline-flex; } .toc__label { display: none; } .toc { background: #fff; border-radius: var(--r-m); padding: 6px 16px; box-shadow: inset 0 0 0 1px var(--line); } .toc__cta { display: none; } }
.toc__toggle { width: 100%; min-height: 48px; border: 0; background: none; font: inherit; font-weight: 700; justify-content: space-between; align-items: center; cursor: pointer; }
.toc__toggle svg { width: 18px; height: 18px; transition: transform 250ms var(--ease-out); }
.toc.is-open .toc__toggle svg { transform: rotate(180deg); }

/* calculator page */
.cflow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cflow .result { position: sticky; inset-block-start: 100px; background: #fff; border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-soft); }
.tline { position: relative; display: grid; gap: 10px; }
.tline__row { display: flex; flex-wrap: wrap; gap: 4px; direction: rtl; }
.tline__row i { width: 16px; height: 26px; border-radius: 4px; background: var(--sand); transform-origin: bottom; animation: mpop 360ms var(--ease-out) both; }
.tline__row i.t0 { background: repeating-linear-gradient(135deg, var(--sand) 0 4px, #f3ebdd 4px 8px); }
.tline__row i.t1 { background: #C9B48A; } .tline__row i.t2 { background: var(--gold); } .tline__row i.t3 { background: var(--gold-ink); }
.cstep { display: grid; gap: 16px; }
.cstep__h { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; }
.cstep__h span { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 1rem; flex: none; }
.lead { border-block-start: 1px solid var(--line); padding-block-start: 22px; margin-block-start: 6px; display: grid; gap: 14px; }
@media (max-width: 900px) { .cflow { grid-template-columns: 1fr; } .cflow .result { position: static; } }
.law { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.law > div { background: #fff; border-radius: var(--r-m); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.law h3 { font-size: 1.1875rem; font-weight: 700; }
.law ul { margin: 0; padding-inline-start: 1.1em; color: var(--ink-2); display: grid; gap: 6px; }
.law li::marker { color: var(--gold); }
@media (max-width: 760px) { .law { grid-template-columns: 1fr; } }

/* contact page */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-l); text-decoration: none;
  background: #fff; box-shadow: var(--shadow-soft); min-height: 200px; transition: transform 140ms var(--ease-out), box-shadow 300ms ease;
}
.tile:active { transform: scale(.98); }
.tile svg { width: 34px; height: 34px; }
.tile b { font-size: 1.5rem; font-weight: 700; }
.tile span { color: var(--ink-2); }
.tile .num { font-size: 1.375rem; font-weight: 700; color: var(--ink); direction: ltr; unicode-bidi: isolate; }
.tile--wa { background: var(--wa); color: #fff; } .tile--wa span { color: rgba(255,255,255,.88); }
.tile--ink { background: var(--ink); color: var(--paper); } .tile--ink span { color: rgba(251,248,243,.8); }
@media (hover: hover) and (pointer: fine) { .tile:hover { box-shadow: var(--shadow-lift); } }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.info { display: grid; gap: 18px; align-content: start; }
.info dl { margin: 0; display: grid; gap: 14px; }
.info dt { font-weight: 700; }
.info dd { margin: 0; color: var(--ink-2); }
.map {
  position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 380px; background: #EFE7D8;
  background-image: linear-gradient(rgba(13,27,42,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(13,27,42,.06) 1px, transparent 1px);
  background-size: 48px 48px; box-shadow: inset 0 0 0 1px var(--line);
}
.map svg.roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; inset-block-start: 44%; inset-inline-start: 46%; display: grid; justify-items: center; gap: 8px; }
.map__pin i { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(184,150,62,.25), 0 8px 18px -4px rgba(13,27,42,.4); }
.map__pin i::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.4s var(--ease-out) infinite; }
.map__pin b { background: #fff; padding: 6px 12px; border-radius: 10px; font-size: .9375rem; box-shadow: var(--shadow-soft); white-space: nowrap; }
.map__note { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; font-size: .8125rem; color: var(--ink-2); background: rgba(251,248,243,.9); padding: 4px 10px; border-radius: 8px; }
.map__acts { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; display: flex; gap: 8px; }
.map__acts .btn { min-height: 44px; font-size: .9375rem; padding-inline: 14px; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } .map { min-height: 300px; } .map__acts { inset-inline: 14px; inset-block-end: 44px; } }
.formcard { background: #fff; border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-soft); display: grid; gap: 16px; max-width: 640px; }

/* search page */
.sbox { display: flex; gap: 10px; max-width: 720px; margin-block-start: 22px; }
.sbox input { flex: 1; min-height: 58px; border: 0; border-radius: 16px; padding: 0 18px; font: inherit; font-size: 1.125rem; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(13,27,42,.22); }
.sbox input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(184,150,62,.35); }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 860px; }
.results a { display: grid; gap: 6px; padding: 20px 22px; background: #fff; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow 200ms ease, transform 140ms var(--ease-out); }
.results a:active { transform: scale(.99); }
.results small { color: var(--gold-ink); font-weight: 650; }
.results b { font-size: 1.25rem; font-weight: 700; }
.results span { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .results a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* 404 */
.lost { min-height: 100svh; display: grid; align-content: center; padding-block: 120px 60px; }
.lost__big { font-size: clamp(6rem, 18vw, 14rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--sand); direction: ltr; text-align: start; }
.lost h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.1; margin-block-start: 10px; }
.lost p { color: var(--ink-2); font-size: 1.125rem; margin-block-start: 10px; max-width: 32em; }
.lost__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block-start: 34px; }
.lost__links a { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.lost__links a span { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 860px) { .lost__links { grid-template-columns: 1fr 1fr; } }

/* about */
.partners { display: grid; gap: clamp(48px, 7vw, 96px); }
.partner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.partner:nth-child(2) .partner__img { order: 2; }
.partner__img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lift); }
.partner__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.partner h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.015em; }
.partner .role { color: var(--gold-ink); font-weight: 650; margin-block: 8px 14px; }
.partner p { color: var(--ink-2); font-size: 1.125rem; max-width: 34em; }
.partner ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; }
.partner li { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); font-weight: 500; font-size: .9375rem; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } .partner:nth-child(2) .partner__img { order: 0; } .partner__img { aspect-ratio: 4 / 3.4; } }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.gallery figure:nth-child(1) { grid-column: span 7; grid-row: span 3; }
.gallery figure:nth-child(2) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery figure:nth-child(5) { grid-column: span 3; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; } .gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 2; } .gallery figure:nth-child(1) { grid-column: span 2; } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values > div { background: #fff; border-radius: var(--r-m); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.values h3 { font-size: 1.3125rem; font-weight: 700; }
.values p { color: var(--ink-2); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* area page: facts */
.facts2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts2 > div { background: #fff; border-radius: var(--r-m); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.facts2 b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--gold-ink); line-height: 1.1; letter-spacing: -0.01em; }
.facts2 span { font-weight: 650; }
.facts2 small { color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 860px) { .facts2 { grid-template-columns: 1fr; } }
.deadline b.word { font-size: clamp(1.5rem, 2.4vw, 2rem); }

@media (prefers-reduced-motion: reduce) {
  .mega, .finder, .finder__box { transition: opacity 150ms ease, visibility 0s; transform: none; }
  .acard img, .acard:hover img { transition: none; transform: none; }
  .map__pin i::after { animation: none; }
  .tline__row i { animation: none; }
  .gallery img { height: 100%; }
}

.sec .panel__card h2.panel__h { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.sec .formcard h2, .sec .info h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.sec .gcard h2 { font-size: 1.3125rem; line-height: 1.3; font-weight: 650; letter-spacing: 0; }
.sec .faq + .disclaimer { margin-block-start: 32px; }
h2.sec__h2 + .faq { margin-block-start: 28px; }
.sec h2.sec__h2 { margin-block-end: 0; }

/* partner portraits: one frame everywhere (owner, 20 Oct): same 4:5 crop, heads aligned in the source files */
.portrait, .duo__faces img, .partner__img img, .lawyer img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0%; width: 100%; height: auto; }
.duo__faces { align-items: start; }
.duo__faces figure:nth-child(2) { margin-block-start: 0; }
.partner__img { aspect-ratio: 4 / 5; max-width: 480px; }
.partner__img img { height: 100%; }
.lawyer { grid-template-columns: 280px 1fr; }
.lawyer img { border-radius: calc(var(--r-l) - 10px); }
@media (max-width: 860px) { .partner__img { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; } }
@media (max-width: 760px) { .lawyer { grid-template-columns: 1fr; } .lawyer img { max-width: 420px; } }

/* one office: every stock photo gets the same warm daylight grade, radius and frame (owner, 20 Oct) */
:root { --grade: sepia(.05) saturate(1.06) hue-rotate(-3deg) contrast(1.07) brightness(.99); } /* warm, but crisp: the office series is already high-key */
img.is-graded { filter: var(--grade); }
.slide img, .p-hero__img img, .final__bg img { filter: var(--grade); }
.slide picture { display: contents; }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.gallery figure, .gallery figure:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; border-radius: var(--r-m); box-shadow: var(--shadow-soft); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { height: 112%; }
.guide__img, .art-cover, .how__img, .frames, .panel, .acard { box-shadow: var(--shadow-soft); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }

.draft { display: inline-block; justify-self: start; background: var(--glow); color: var(--ink); font-weight: 650; font-size: .9375rem; padding: 6px 12px; border-radius: 10px; }
@media (min-width: 1001px) { .acard--wide { grid-column: span 2; } .acard--last { grid-column: span 2; } }
@media (max-width: 1000px) and (min-width: 641px) { .acard--wide { grid-column: span 2; } }

/* gs-daylight: additions for WordPress content and for the pieces the prototype did not have
   (cookie banner, calculator in the mega menu, real form errors, legal pages, pagination, print). */

/* ---------- small buttons, honeypot, form failure ---------- */
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__fail { color: #8A1C14; background: #FBEDEA; border-radius: 12px; padding: 10px 14px; font-size: .9375rem; }
.form__fail[hidden] { display: none; }
.sent:focus { outline: none; }
.sent:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 4px; }
#main:focus { outline: none; }

/* ---------- mega menu: the calculator as the eighth tile ---------- */
.mega__ic { grid-row: span 2; inline-size: 64px; block-size: 64px; border-radius: 12px; display: grid; place-items: center; background: var(--glow); color: var(--ink); }
.mega__ic svg { inline-size: 30px; block-size: 30px; }
.band--calc .btn svg:first-child { inline-size: 20px; block-size: 20px; }
.calc-wa { width: 100%; margin-block-start: 10px; }

/* ---------- cookie banner (compact, never over the dock, F-006) ---------- */
#gs-cookie { display: block; }
html.gs-ck #gs-cookie:not(.is-open) { display: none !important; }
.ck {
  position: fixed; z-index: 70; inset-inline-start: 16px; inset-block-end: calc(16px + var(--dock-h) + env(safe-area-inset-bottom, 0px));
  inline-size: min(440px, calc(100vw - 32px)); max-block-size: calc(100dvh - 120px); overflow: auto;
  background: var(--paper); color: var(--ink); border-radius: 20px; padding: 16px 18px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(13,27,42,.45);
  font-size: .9375rem; line-height: 1.5;
  animation: ck-in 220ms var(--ease-out) both; /* translate only: the card is opaque from the first frame */
}
@keyframes ck-in { from { transform: translateY(12px); } }
.ck__h { font-weight: 700; font-size: 1rem; margin-block-end: 4px; }
.ck__p { color: var(--ink-2); }
.ck__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.ck__acts .btn { flex: 1 1 auto; }
.ck__set { margin-block-start: 14px; padding-block-start: 12px; border-block-start: 1px solid var(--line); display: grid; gap: 12px; }
.ck__set[hidden] { display: none; }
.ck__set fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.ck__opt { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.ck__opt input { inline-size: 22px; block-size: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.ck__opt b { display: block; font-weight: 650; }
@media (max-width: 760px) {
  /* a slim card above the dock; the page and the dock stay usable */
  .ck { inset-inline: 10px; inline-size: auto; inset-block-end: calc(10px + var(--dock-h) + env(safe-area-inset-bottom, 0px)); padding: 14px; font-size: .875rem; }
  .ck__acts .btn { min-height: 44px; padding-inline: 12px; }
  /* The accessibility button sits at the bottom-left corner of this row on phones. */
  .ck__acts { padding-inline-end: 42px; }
}
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }
@media print { .ck, .dock, .mast, .menu, .finder, .sheet, .scrim, .progress, .toc, .final, .topicbox, .foot { display: none !important; } body { background: #fff; } .prose { max-width: none; } }

.foot__ck { background: none; border: 0; padding: 0; color: var(--paper); font: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.foot__legal a { display: inline-block; padding-block: 4px; }

/* ---------- WordPress prose (guides, legal pages, area pages' longer text) ---------- */
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose img { border-radius: var(--r-m); height: auto; }
.prose blockquote { margin: 0; padding-inline-start: 18px; border-inline-start: 3px solid var(--gold); color: var(--ink-2); }
.tablewrap { overflow-x: auto; max-width: 100%; border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--line); }
.tablewrap:focus-visible { outline: 3px solid var(--gold-ink); }
.page-prose { margin-inline: auto; }
.page-prose [style*="text-align: justify"], .page-prose [style*="text-align:justify"] { text-align: start !important; }
.page-builder { max-width: 100%; overflow-x: hidden; }
.area-more .prose { margin-inline: auto; }
.area-more .prose > h2:first-child { margin-block-start: 0; }
.law-wrap { margin-block-start: clamp(48px, 7vw, 88px); }
.law-wrap .sec__lede { margin-block: 10px 22px; }
.calc-head { margin-block-end: 20px; }
.calc-sec { scroll-margin-top: 90px; }

/* ---------- pagination ---------- */
.pagination { margin-block-start: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-inline-size: 44px; min-block-size: 44px; display: inline-grid; place-items: center; padding-inline: 14px; border-radius: 12px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); box-shadow: none; }

/* ---------- media from WordPress ---------- */
.mega a img { inline-size: 64px; block-size: 64px; }
.gcard img, .acard img, .guide__img img, .art-cover img, .p-hero__img img, .panel__img img, .final__bg img, .frame img, .gallery img, .slide img { inline-size: 100%; }
.gs-daylight .wp-caption { max-width: 100%; }

/* Old-theme WPCode leftovers that print outside the templates (random Google-review cards, F-032). */
#gs-rev-holder { display: none !important; }

@media (min-width: 761px) { .ck { inset-inline-start: auto; inset-inline-end: 20px; inset-block-end: 20px; } }

/* The RTL origin rule outranks .menu.is-on in specificity: restate the open state (and reduced motion). */
html[dir="rtl"] .menu.is-on { clip-path: circle(150% at 44px 40px); }
@media (prefers-reduced-motion: reduce) { html[dir="rtl"] .menu, html[dir="rtl"] .menu.is-on { clip-path: none; } }

/* Legal pages still built with Elementor: readable column, Hebrew text aligned to the start (F-074). */
.page-builder { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; }
.page-builder .elementor-widget-container, .page-builder p, .page-builder h2, .page-builder h3, .page-builder li { text-align: start !important; }
.page-builder .elementor-section .elementor-container { max-width: none !important; }

/* Who handles the area: both partners, same frame size, side by side (owner decision). */
.lawyers { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border-radius: var(--r-l); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow-soft); }
.lawyers__faces { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.lawyers__faces figure { margin: 0; display: grid; gap: 8px; }
.lawyers__faces img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; object-position: 50% 0%; border-radius: calc(var(--r-l) - 14px); }
.lawyers__faces figcaption { display: grid; gap: 2px; font-weight: 650; font-size: 1rem; }
.lawyers__faces figcaption span { font-weight: 400; font-size: .875rem; color: var(--ink-2); }
.lawyers__text { display: grid; gap: 12px; }
.lawyers__text .role { color: var(--gold-ink); font-weight: 650; }
.lawyers__text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 750; line-height: 1.1; }
.lawyers__text p { color: var(--ink-2); }
@media (max-width: 760px) { .lawyers { grid-template-columns: 1fr; } }
.foot__hours { padding-block: 6px; }

/* Phones: the header sits over the hero photo, so it always gets the frosted paper backing — the firm's
   name was unreadable over dark parts of the photo (live check, 20 Oct). */
@media (max-width: 899px) {
  .mast { background: rgba(251, 248, 243, 0.86); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 1px 0 var(--line); }
}
