:root {
  --paper: #F4F5F2;
  --paper-2: #E9ECE8;
  --graphite: #1C2126;
  --graphite-2: #48515A;
  --construct: #A9B3BC;
  --grid: rgba(28, 33, 38, 0.055);
  --blue: #2563C9;
  --blue-deep: #17447F;
  --sky-ink: #FFFFFF;
  --display: 'Karantina', 'Noto Sans Hebrew', sans-serif;
  --body: 'Noto Sans Hebrew', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --bar-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--graphite-2) var(--paper-2); }
body {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--graphite);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 0.9; letter-spacing: 0; text-wrap: balance; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  font-family: var(--body); font-size: 17px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 2px;
  transition: background-color .2s ease, color .2s ease, transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 201, 0.7); }
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--graphite); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--graphite); }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--bar-h);
  background: var(--paper);
  border-bottom: 1px solid var(--graphite);
}
.bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: 0.18em; direction: ltr; }
.brand-role { font-size: 13px; color: var(--graphite-2); margin-top: 4px; }
.bar-actions { display: flex; align-items: center; gap: 18px; }
.bar-phone { font-size: 16px; font-weight: 500; text-decoration: none; direction: ltr; }
.bar-phone:hover { color: var(--blue); }
.bar .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.bar .btn svg { width: 18px; height: 18px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin-inline: auto 0; padding-inline: 24px; }
.nav a { font-size: 16px; font-weight: 500; text-decoration: none; padding: 6px 0 4px; border-bottom: 1.5px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: currentColor; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; background: none; border: 1.5px solid var(--graphite); border-radius: 2px; color: var(--graphite); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Scrub stage ---------- */
.stage { position: relative; height: 560vh; }
.stage-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  background: #fff;
}
.film, .film-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.film { opacity: 0; transition: opacity .3s ease; }
.film.ready { opacity: 1; }
.paper-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0) 58%);
  pointer-events: none;
}
.scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(10, 22, 40, 0.72) 0%, rgba(10, 22, 40, 0.38) 38%, rgba(10, 22, 40, 0) 62%),
    linear-gradient(0deg, rgba(10, 22, 40, 0.35) 0%, rgba(10, 22, 40, 0) 30%);
  opacity: 0;
  pointer-events: none;
}

.chapters { position: absolute; inset: var(--bar-h) 0 0 0; }
.chapter {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: 50%;
  width: min(620px, calc(100% - 2 * var(--gutter)));
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  will-change: opacity, translate;
}
.chapter.on { visibility: visible; }
.chapter h1, .chapter h2 { font-size: clamp(64px, 9vw, 132px); }
.chapter p { font-size: clamp(18px, 1.5vw, 21px); max-width: 30em; margin-top: 22px; }
.chapter .stage-tag {
  display: inline-block;
  font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1;
  padding: 6px 12px 4px;
  border: 1.5px solid currentColor;
  margin-bottom: 18px;
}
.chapter-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chapter.light { color: var(--sky-ink); text-shadow: 0 2px 18px rgba(5, 15, 30, 0.35); }
.chapter.light p { color: rgba(255, 255, 255, 0.92); }
.chapter-dark p { color: var(--graphite-2); }

.dim {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
  color: var(--graphite-2);
  font-family: var(--display); font-size: 22px; line-height: 1;
}
.dim svg { flex: 1; height: 14px; min-width: 60px; }

.rail {
  position: absolute;
  inset-inline-end: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 22px;
  list-style: none;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  padding-inline-start: 22px;
  color: var(--graphite-2);
  transition: color .4s ease;
}
.rail::before, .rail::after {
  content: ""; position: absolute;
  inset-inline-start: 0; top: 4px; bottom: 4px; width: 2px;
}
.rail::before { background: currentColor; opacity: .25; }
.rail::after { background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); }
.rail li { opacity: .45; transition: opacity .3s ease, transform .3s ease; }
.rail li.on { opacity: 1; transform: translateX(-4px); }
.stage-sticky.photo .rail { color: #fff; text-shadow: 0 1px 10px rgba(5, 15, 30, 0.6); }
.stage-sticky.photo .rail::after { background: #fff; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 14px; color: var(--graphite-2);
}
.scroll-cue svg { width: 18px; height: 34px; animation: cue 1.8s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Paths ---------- */
.paths { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.paths-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; }
.paths-head h2 { font-size: clamp(64px, 8vw, 112px); }
.paths-head p { max-width: 26em; color: var(--graphite-2); }
.span-dim { margin: clamp(40px, 6vw, 64px) 0 0; color: var(--graphite); }
.span-dim svg { width: 100%; height: 22px; display: block; }
.span-dim .labels { display: flex; justify-content: space-between; font-family: var(--display); font-size: 24px; line-height: 1; margin-top: 8px; color: var(--graphite-2); }
.path-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--graphite); margin-top: 28px; }
.path { padding: 34px clamp(18px, 2.6vw, 40px) 10px; border-inline-start: 1px dashed var(--construct); display: flex; flex-direction: column; }
.path:first-child { border-inline-start: 0; padding-inline-start: 0; }
.path-for { font-size: 16px; font-weight: 500; color: var(--graphite-2); }
.path h4 { font-family: var(--display); font-weight: 700; line-height: 0.9; font-size: clamp(84px, 9vw, 128px); margin: 6px 0 22px; }
.path-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: clamp(48px, 7vw, 80px); }
.path-group h3 { font-size: clamp(48px, 5vw, 68px); }
.path-group span { color: var(--graphite-2); }
.path-cols.two { grid-template-columns: repeat(2, 1fr); }
a.path-go { text-decoration: none; }
.path ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.path li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: baseline; }
.path li svg { width: 12px; height: 12px; color: var(--blue); transform: translateY(1px); }
.path-go {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 17px; font-weight: 600;
  background: none; border: 0; cursor: pointer; color: var(--blue);
  padding: 8px 0; border-bottom: 1.5px solid currentColor;
  transition: gap .2s ease, color .2s ease;
}
.path-go svg { width: 18px; height: 18px; }
.path-go:hover { gap: 16px; color: var(--blue-deep); }

/* ---------- Frida ---------- */
.frida { padding: clamp(80px, 10vw, 140px) 0; border-top: 1.5px solid var(--graphite); background: rgba(255, 255, 255, 0.55); }
.frida-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.figure { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.figure-frame { position: absolute; inset: -14px; border: 1px solid var(--graphite); pointer-events: none; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callouts path {
  fill: none; stroke: var(--graphite); stroke-width: 1.4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1);
}
.callouts circle { fill: var(--blue); opacity: 0; transition: opacity .3s ease .2s; }
.callout {
  position: absolute;
  font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 700;
  background: var(--paper);
  border: 1.5px solid var(--graphite);
  padding: 8px 14px 5px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap;
}
.figure.drawn .callouts path { stroke-dashoffset: 0; }
.figure.drawn .callouts circle { opacity: 1; }
.figure.drawn .callout { opacity: 1; transform: none; }
.figure.drawn .c2 { transition-delay: .25s; }
.figure.drawn .c3 { transition-delay: .5s; }
.c1 { top: 18%; left: -16%; }
.c2 { top: 52%; right: -14%; }
.c3 { bottom: 9%; left: -10%; }

.frida-copy h2 { font-size: clamp(64px, 7.5vw, 108px); margin-bottom: 26px; }
.frida-copy p { max-width: 34em; }
.frida-copy p + p { margin-top: 16px; }
.roles { list-style: none; margin-top: 34px; border-top: 1.5px solid var(--graphite); }
.roles li { display: grid; grid-template-columns: minmax(130px, 0.4fr) 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--construct); }
.roles b { font-family: var(--display); font-size: 30px; line-height: 1.05; font-weight: 700; }
.roles span { color: var(--graphite-2); font-size: 16px; }
.roles a { color: var(--blue); font-weight: 600; text-underline-offset: 4px; }

/* ---------- Credential stamps ---------- */
.stamps { display: flex; flex-wrap: wrap; gap: 22px 26px; list-style: none; margin-top: 34px; padding: 6px; }
.stamp {
  --r: -2deg;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1 1 210px; padding: 14px 18px 12px; max-width: 280px;
  color: var(--blue); background: rgba(255, 255, 255, 0.7);
  border: 2px solid currentColor; outline: 1px solid currentColor; outline-offset: 4px;
  transform: rotate(var(--r));
  transition: transform .32s cubic-bezier(.2, .9, .3, 1.25), opacity .18s ease;
}
.stamp:nth-child(2) { --r: 1.5deg; transition-delay: .28s; }
.stamp:nth-child(3) { --r: -0.8deg; transition-delay: .56s; }
.stamp-k { font-family: var(--display); font-size: 24px; line-height: 1; }
.stamp b { font-family: var(--display); font-size: 34px; line-height: 1; font-weight: 700; }
.stamp-v { font-size: 14px; font-weight: 600; }
.stamps.armed:not(.in) .stamp { opacity: 0; transform: rotate(var(--r)) scale(1.35); }

/* ---------- Testimonials ---------- */
.words { padding: clamp(80px, 10vw, 140px) 0; border-top: 1.5px solid var(--graphite); overflow: hidden; }
.words-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 5vw, 52px); }
.words-head h2 { font-size: clamp(64px, 8vw, 112px); }
.words-head p { max-width: 26em; color: var(--graphite-2); margin-top: 14px; }
.words-nav { display: flex; align-items: center; gap: 10px; }
.words-count { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--graphite-2); margin-inline-end: 12px; min-width: 3.4em; }
.words-count b { color: var(--graphite); font-weight: 700; }
.arrow {
  display: grid; place-items: center;
  width: 56px; height: 56px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(37, 99, 201, 0.7);
  transition: background-color .2s ease, transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.arrow svg { width: 24px; height: 24px; }
.arrow.prev svg { transform: scaleX(-1); }
.arrow:hover { background: var(--blue-deep); }
.arrow.next:hover { transform: translateX(-3px); }
.arrow.prev:hover { transform: translateX(3px); }
.arrow:disabled { opacity: .28; cursor: default; transform: none; box-shadow: none; }

.words-track {
  --gap: clamp(16px, 2vw, 28px);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap)) / 2);
  gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 6px;
}
.words-track::-webkit-scrollbar { display: none; }
.tcard {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--graphite);
  box-shadow: 0 30px 60px -44px rgba(28, 33, 38, 0.45);
}
.tcard-meta { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--graphite); }
.tcard-meta > div + div { border-inline-start: 1px solid var(--graphite); }
.tcard-stars { color: var(--blue); letter-spacing: 2px; }
.tcard-meta > div { padding: 12px 18px; }
.tcard-meta .cell-value { font-size: 16px; }
.tcard-kind { color: var(--blue); font-weight: 600; }
.tcard blockquote { flex: 1; padding: 22px clamp(20px, 2.4vw, 30px) 18px; font-size: 18px; line-height: 1.7; }
.tcard blockquote::before {
  content: "”"; display: block;
  font-family: Georgia, 'Times New Roman', serif; font-size: 84px; font-weight: 700; line-height: .9; height: 40px;
  color: var(--blue);
}
.tcard figcaption { padding: 14px clamp(20px, 2.4vw, 30px) 20px; border-top: 1px dashed var(--construct); }
.tcard figcaption b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 700; }
.tcard figcaption span { font-size: 15px; color: var(--graphite-2); }

.words-dim { margin-top: 26px; height: 14px; position: relative; color: var(--graphite); }
.words-dim::before { content: ""; position: absolute; inset: 6px 0 auto; height: 1.5px; background: currentColor; opacity: .2; }
.words-dim::after {
  content: ""; position: absolute; inset: 6px 0 auto; height: 1.5px; background: var(--blue);
  transform-origin: right; transform: scaleX(var(--p, 0)); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Inner pages ---------- */
.phead { padding: calc(var(--bar-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); }
.phead-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--graphite-2); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--construct); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.phead h1 { font-size: clamp(64px, 8.4vw, 124px); }
.phead .lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--graphite-2); max-width: 32em; margin-top: 24px; }
.phead .chapter-actions { margin-top: 34px; }
.plate { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid var(--graphite); background: #fff; }
.plate.tall img { aspect-ratio: 4 / 5; object-position: 50% 15%; max-width: 440px; margin-inline: auto; }
.plate::before { content: ""; position: absolute; inset: -14px; border: 1px solid var(--graphite); pointer-events: none; }

.band { padding: clamp(80px, 10vw, 140px) 0; border-top: 1.5px solid var(--graphite); }
.band.white { background: rgba(255, 255, 255, 0.55); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.band-head h2 { font-size: clamp(56px, 7vw, 100px); }
.band-head p { max-width: 28em; color: var(--graphite-2); }

.svc { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1.5px solid var(--graphite); }
.svc-item { padding: 30px clamp(18px, 2.6vw, 40px) 34px; border-bottom: 1px dashed var(--construct); }
.svc-item:nth-child(odd) { padding-inline-start: 0; border-inline-end: 1px dashed var(--construct); }
.svc.three { grid-template-columns: repeat(3, 1fr); }
.svc.three .svc-item, .svc.three .svc-item:nth-child(odd) { padding-inline: clamp(18px, 2.6vw, 36px); border-inline-end: 0; border-bottom: 0; }
.svc.three .svc-item:first-child { padding-inline-start: 0; }
.svc.three .svc-item + .svc-item { border-inline-start: 1px dashed var(--construct); }
.svc-num { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--blue); }
.svc-item h3 { font-size: clamp(40px, 4vw, 56px); margin: 8px 0 14px; }
.svc-item p { color: var(--graphite-2); max-width: 34em; }
.svc-item p a { color: var(--blue); font-weight: 600; text-underline-offset: 4px; }
.svc-item ul { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.svc-item li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: baseline; }
.svc-item li svg { width: 12px; height: 12px; color: var(--blue); transform: translateY(1px); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 clamp(14px, 2vw, 28px) 0 0; }
.steps li + li { border-inline-start: 1px dashed var(--construct); padding-inline-start: clamp(14px, 2vw, 28px); }
.steps li:first-child { padding-inline-start: 0; }
.steps b { display: block; font-family: var(--display); font-size: clamp(34px, 3.2vw, 44px); line-height: 1; margin: 14px 0 10px; }
.steps span { color: var(--graphite-2); font-size: 16px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 26px; line-height: 1; color: var(--blue); }

.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.areas li { padding: 8px 16px 6px; border: 1.5px solid var(--graphite); background: #fff; font-family: var(--display); font-size: 26px; line-height: 1; }

.faq { border-top: 1.5px solid var(--graphite); max-width: 900px; }
.faq details { border-bottom: 1px dashed var(--construct); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 40px; line-height: .6; color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .ans { padding: 0 0 22px; color: var(--graphite-2); max-width: 46em; }

.gallery-band { padding: 0 0 clamp(80px, 10vw, 140px); border-top: 0; background: rgba(255, 255, 255, 0.55); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.gallery figure { background: #fff; border: 1.5px solid var(--graphite); padding: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.band-title { font-size: clamp(52px, 6vw, 88px); margin-bottom: 24px; }
.prose p { max-width: 36em; }
.prose p + p { margin-top: 16px; }
.prose h3 { font-size: clamp(36px, 3.6vw, 48px); margin: 30px 0 10px; }
.prose a { color: var(--blue); font-weight: 600; text-underline-offset: 4px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--graphite); }
.related a { display: block; padding: 26px clamp(18px, 2.6vw, 36px) 28px; text-decoration: none; border-inline-start: 1px dashed var(--construct); transition: background-color .2s ease; }
.related a:first-child { border-inline-start: 0; }
.related a:hover { background: #fff; }
.related b { display: block; font-family: var(--display); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.related span { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--blue); font-weight: 600; }
.related svg { width: 18px; height: 18px; }

/* ---------- Title block contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0 clamp(96px, 11vw, 150px); border-top: 1.5px solid var(--graphite); }
.contact-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 5vw, 52px); }
.contact-head h2 { font-size: clamp(64px, 8vw, 116px); }
.contact-head p { max-width: 24em; color: var(--graphite-2); }

.tblock {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  border: 2.5px solid var(--graphite);
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(28, 33, 38, 0.45);
}
.tb-form { padding: clamp(22px, 3.5vw, 44px); border-inline-end: 1.5px solid var(--graphite); }
.cell { padding: 14px 20px; border-bottom: 1px solid var(--graphite); }
.cell:last-child { border-bottom: 0; }
.cell-label { display: block; font-family: var(--display); font-size: 19px; line-height: 1; color: var(--graphite-2); margin-bottom: 6px; }
.cell-value { font-size: 17px; font-weight: 500; }
.cell-value a { text-decoration: none; }
.cell-value a:hover { color: var(--blue); }
.cell-split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.cell-split > div { padding: 14px 20px; }
.cell-split > div + div { border-inline-start: 1px solid var(--graphite); }
.cell-logo { display: flex; align-items: center; gap: 14px; }
.cell-logo img { height: 72px; width: auto; }
.cell-logo .brand-name { font-size: 34px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.tb-title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4vw, 56px); line-height: 0.95; margin-bottom: 4px; }
.tb-sub { color: var(--graphite-2); font-size: 16px; margin-bottom: 26px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; border: 0; min-width: 0; }
.field .lab { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field .req { color: var(--blue); }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%;
  font-family: var(--body); font-size: 17px; color: var(--graphite);
  background: var(--paper);
  border: 0; border-bottom: 1.5px solid var(--graphite);
  border-radius: 0;
  padding: 12px 12px 10px;
  caret-color: var(--blue);
  transition: background-color .2s ease, border-color .2s ease;
}
.field input[type="tel"] { direction: ltr; text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: #5F6871; }
.field input:focus, .field textarea:focus { outline: none; background: #EEF3FB; border-bottom-color: var(--blue); }
.field input.invalid { border-bottom-color: #C2361F; background: #FBEFEC; }
.field textarea { resize: vertical; min-height: 88px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--graphite);
  font-size: 15px; cursor: pointer; background: #fff;
  transition: background-color .15s ease, color .15s ease;
}
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips label:hover { background: var(--paper-2); }
.chips label:has(input:checked) { background: var(--graphite); color: #fff; }
.chips label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.err { display: none; color: #B42F1A; font-size: 15px; margin-bottom: 12px; }
.tb-form .btn-blue { width: 100%; }
.done { display: none; padding: 20px 0; }
.done .tb-title { color: var(--blue); }
.done p { color: var(--graphite-2); margin-bottom: 20px; }
.linkbtn { background: none; border: 0; font-family: var(--body); font-size: 15px; color: var(--graphite-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; margin-top: 14px; }

.foot { border-top: 1.5px solid var(--graphite); padding: clamp(40px, 5vw, 64px) 0 26px; font-size: 15px; color: var(--graphite-2); background: rgba(255, 255, 255, 0.55); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px clamp(24px, 4vw, 56px); }
.foot-grid > * { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot-grid b { font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 700; color: var(--graphite); margin-bottom: 6px; }
.foot-brand img { height: 56px; width: auto; margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--blue); }
.foot-base a { color: var(--graphite); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px dashed var(--construct); font-size: 14px; }

.dock { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .bar-phone { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 29;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px var(--gutter) 18px;
    background: var(--paper); border-bottom: 1px solid var(--graphite);
    box-shadow: 0 24px 40px -30px rgba(28, 33, 38, 0.5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav a { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; padding: 14px 0 10px; border-bottom: 1px dashed var(--construct); }
  .nav a:last-child { border-bottom: 0; }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
}

@media (max-width: 1000px) {
  .svc.three { grid-template-columns: 1fr; }
  .svc.three .svc-item, .svc.three .svc-item:nth-child(odd) { padding-inline: 0; border-inline-start: 0; border-bottom: 1px dashed var(--construct); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phead-grid, .split { grid-template-columns: 1fr; }
  .plate { max-width: 520px; margin-top: 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .related { grid-template-columns: 1fr; }
  .related a { border-inline-start: 0; border-top: 1px dashed var(--construct); padding-inline: 0; }
  .related a:first-child { border-top: 0; }
  .path-cols, .path-cols.two { grid-template-columns: 1fr; }
  .path { border-inline-start: 0; border-top: 1px dashed var(--construct); padding-inline: 0; }
  .path:first-child { border-top: 0; }
  .frida-grid { grid-template-columns: 1fr; }
  .figure { max-width: 420px; margin-bottom: 30px; }
  .tblock { grid-template-columns: 1fr; }
  .tb-form { border-inline-end: 0; }
  .tb-meta { display: none; }
}

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .svc, .svc.three { grid-template-columns: 1fr; }
  .svc.three .svc-item, .svc.three .svc-item:nth-child(odd) { padding-inline: 0; border-inline-start: 0; border-bottom: 1px dashed var(--construct); }
  .svc-item, .svc-item:nth-child(odd) { padding-inline: 0; border-inline-end: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-inline-start: 0; padding-inline-start: 0; }
  :root { --bar-h: 60px; }
  body { font-size: 17px; padding-bottom: 76px; }
  .brand img { height: 42px; }
  .brand-name { font-size: 24px; }
  .bar-phone, .bar .btn span { display: none; }
  .bar .btn { width: 44px; padding: 0; }
  .chapter { top: auto; bottom: calc(96px + env(safe-area-inset-bottom)); transform: none; }
  .chapter h1, .chapter h2 { font-size: clamp(58px, 17vw, 84px); }
  .chapter p { margin-top: 14px; }
  .chapter .btn { width: 100%; }
  .chapter-first { top: 22px; bottom: auto; }
  .chapter-first .chapter-actions { display: none; }
  .paper-scrim { background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0) 70%); }
  .scrim { background: linear-gradient(0deg, rgba(10, 22, 40, 0.82) 0%, rgba(10, 22, 40, 0.5) 42%, rgba(10, 22, 40, 0) 70%); }
  .film, .film-poster { object-position: 50% 55%; }
  .rail { display: none; }
  .scroll-cue { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .c1 { left: -4%; top: 10%; }
  .c2 { right: -4%; }
  .c3 { left: -2%; }
  .callout { font-size: 24px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .roles li { grid-template-columns: 1fr; gap: 2px; }
  .words-track { grid-auto-columns: 86%; }
  .arrow { width: 50px; height: 50px; }

  .dock {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--graphite);
  }
  .dock .btn { min-height: 50px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
  .callouts path, .callout, .callouts circle, .film, .words-dim::after { transition: none; }
  .words-track { scroll-behavior: auto; }
  .stamp { transition: none; }
}
