/* GALI STRATEGY — Palette B · Editorial Premium + Modern Executive */

:root {
  --ivory: #F8F7F3;      /* רקע בסיס */
  --navy: #243E68;       /* כותרות ואלמנטים מובילים */
  --orange: #F18B52;     /* הדגשות קטנות וקווי הפרדה */
  --sky: #E8EEF5;        /* מקטעי רקע עדינים */
  --ink: #282D35;        /* טקסט רץ */

  --orange-text: #B3541F;  /* כתום כהה לטקסט קטן — ניגודיות AA על רקע בהיר */
  --navy-deep: #182D4D;
  --line: #D8E1EC;
  --white: #FFFFFF;
  --warm: #FDF3EC;

  --font-head: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  --font-body: 'Assistant', 'Arial Hebrew', Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 36px);
  --section-y: clamp(72px, 9vw, 112px);
  --radius: 10px;
  --shadow: 0 10px 28px rgba(36, 62, 104, .06);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 18px/1.85 var(--font-body);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -.025em;
  margin: 0 0 22px;
}
h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.3vw, 44px); font-weight: 600; }
h3 { font-size: clamp(21px, 1.9vw, 24px); font-weight: 600; margin-bottom: 14px; }
p  { margin: 0 0 18px; }
a  { color: inherit; }

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

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section-y); }
.band--soft { background: var(--sky); }
.band--warm { background: var(--warm); }
.band--value { background: linear-gradient(115deg, #E7EFFA, #DCEBFA 60%, #FCE6D7); }

.eyebrow {
  font: 700 14px/1.4 var(--font-head);
  letter-spacing: .06em;
  color: var(--orange-text);
  margin-bottom: 16px;
}
.intro { max-width: 800px; font-size: clamp(19px, 1.6vw, 21px); margin-bottom: 44px; }
.num { font: 800 16px/1 var(--font-head); color: var(--orange-text); margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--navy-deep);
  font: 700 16px/1.2 var(--font-head);
  padding: 13px 26px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.btn:hover { background: #FFA06E; transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ----------
   ב-RTL הילד הראשון ב-flex מופיע בצד ימין: התפריט (ראשון ב-DOM) מימין, הלוגו (אחרון) משמאל. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 243, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  max-width: var(--max); margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font: 700 20px/1 var(--font-head);
  letter-spacing: .08em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.brand { margin-right: auto; }   /* פיזי ולא לוגי: ללוגו dir="ltr". דוחף אותו לשמאל; התפריט ו-WhatsApp צמודים מימין */
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.site-nav a:not(.btn):hover { color: var(--navy); border-bottom-color: var(--orange); }
.site-nav .btn { padding: 10px 22px; }

/* WhatsApp */
.wa {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .28);
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.wa svg { width: 24px; height: 24px; fill: currentColor; }
.wa:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 211, 102, .34); }
.wa[hidden] { display: none; }
.wa--header { margin-inline-start: -10px; }   /* צמוד ל"בואו נדבר" */
.wa--contact { width: 50px; height: 50px; }
.wa--contact svg { width: 27px; height: 27px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; position: relative;
}
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.menu-toggle__bar { top: 21px; }
.menu-toggle__bar::before, .menu-toggle__bar::after { content: ''; left: 0; }
.menu-toggle__bar::before { top: -6px; }
.menu-toggle__bar::after  { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  min-height: min(680px, calc(100vh - var(--header-h)));
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
  isolation: isolate;
}
.hero h1 { margin-bottom: 18px; }
.hero__services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 26px 0 26px;
}
.hero__service {
  margin: 0;
  border-inline-start: 3px solid var(--orange);   /* קו כתום דק לצד כל בלוק */
  padding: 4px 14px;
  color: var(--navy);
  font: 600 clamp(18px, 1.65vw, 23px)/1.45 var(--font-head);
  letter-spacing: -.015em;
  display: flex; align-items: center;
}
.hero__lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.75; max-width: 640px; margin: 0; }

.hero__portrait { margin: 0; }
.hero__portrait img { background: #CFCAC4; object-position: 50% 25%; }   /* רקע בגוון הצילום עד לטעינה; מיקוד בפנים */
.hero__portrait img,
.portrait-placeholder {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;            /* זהה ליחס הצילום, כך שהתמונה לא נחתכת או מוגדלת */
  height: auto;
  margin-inline: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(36, 62, 104, .14);
  display: block;
}
.portrait-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(140deg, #A9C9EF 0%, #E6EFFB 48%, #FFCBAC 100%);
  color: var(--navy); font-size: 16px; font-weight: 600; text-align: center; padding: 20px;
}
.portrait-placeholder span { font-size: 54px; line-height: 1; }

/* ---------- 2. Cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid #DCE4EF;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(36, 62, 104, .1); }
.card p:last-child { margin-bottom: 0; }

/* ---------- 3. Services — שני מודלים במשקל חזותי זהה ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.service {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid #D6E1F0;
  border-top: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.service__tag { font-weight: 700; color: var(--navy); }
.service ul { margin: 4px 0 26px; padding-inline-start: 22px; }
.service li { margin: 5px 0; }
.service li::marker { color: var(--orange); }
.service__engagement {
  margin: auto 0 0;
  background: #EDF3FB;
  border-radius: 6px;
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- 4. Value + diagram ---------- */
.value { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.diagram { margin: 0; text-align: center; }
.hub {
  position: relative;
  width: 100%; max-width: 480px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.hub__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__orbit { fill: none; stroke: #B7CBE6; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hub__flow  { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .75; }
.hub__dots circle { fill: var(--orange); }
.hub__comet { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .14 .86;
              transform-box: fill-box; transform-origin: center; transform: rotate(-90deg);
              animation: hub-comet 9s linear infinite; }
.hub__ring  { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7;
              transform-box: fill-box; transform-origin: center; animation: hub-spin 40s linear infinite; }
.hub__core  { fill: var(--navy); }
.hub__pulse { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; animation: hub-pulse 3.2s ease-out infinite; }

.hub__nodes { list-style: none; margin: 0; padding: 0; }
.hub__node {
  position: absolute;
  transform: translate(50%, -50%);   /* RTL: right-anchored */
  background: var(--white);
  border: 1px solid #C9D8EC;
  border-radius: 999px;
  padding: 10px 22px;
  color: var(--navy);
  font: 700 clamp(15px, 1.5vw, 18px)/1.2 var(--font-head);
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(36, 62, 104, .10);
}
.hub__node::before {
  content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); margin-inline-end: 9px; vertical-align: middle; transform: translateY(-1px);
}
/* נקודות על המסלול (רדיוס 150 מתוך 400, באלכסון) — סדר קריאה RTL: ימין-עליון ← שמאל-עליון ← ימין-תחתון ← שמאל-תחתון */
.hub__node--1 { top: 20.75%; right: 20.75%; }
.hub__node--2 { top: 20.75%; right: 79.25%; }
.hub__node--3 { top: 79.25%; right: 20.75%; }
.hub__node--4 { top: 79.25%; right: 79.25%; }

.hub__result {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  color: #fff;
  font: 700 clamp(17px, 1.8vw, 22px)/1.25 var(--font-head);
  text-align: center;
}
.diagram__caption { margin-top: 18px; font: 600 17px/1.5 var(--font-head); color: var(--navy); }
.diagram__caption::before {
  content: ''; display: block; width: 40px; height: 2px; background: var(--orange);
  margin: 0 auto 12px; border-radius: 2px;
}

/* כניסה בגלילה: המסלול והזרימות "נמתחים" פנימה */
.js .diagram .hub__orbit { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .1s; }
.js .diagram .hub__flow  { stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease .9s; }
.js .diagram .hub__node  { opacity: 0; transition: opacity .6s ease; }
.js .diagram .hub__node--1 { transition-delay: .3s; }
.js .diagram .hub__node--2 { transition-delay: .5s; }
.js .diagram .hub__node--3 { transition-delay: .7s; }
.js .diagram .hub__node--4 { transition-delay: .9s; }
.js .diagram .hub__comet { opacity: 0; transition: opacity .8s ease 1.6s; }
.js .diagram.is-visible .hub__comet { opacity: 1; }
.js .diagram .hub__dots { opacity: 0; transition: opacity .6s ease 1.8s; }
.js .diagram.is-visible .hub__orbit,
.js .diagram.is-visible .hub__flow { stroke-dashoffset: 0; }
.js .diagram.is-visible .hub__node,
.js .diagram.is-visible .hub__dots { opacity: 1; }

@keyframes hub-comet { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hub-spin  { to { transform: rotate(360deg); } }
@keyframes hub-pulse { 0% { opacity: .35; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }

/* ---------- 5–6. Prose ---------- */
.prose { max-width: 880px; }
.prose p { font-size: clamp(18px, 1.6vw, 21px); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 7. Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: start; }
.direct-links { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.direct-links a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 22px 45px rgba(36, 62, 104, .08);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.field { margin-bottom: 14px; min-width: 0; }
.field input::placeholder { color: #8A93A3; }
.field input[dir="ltr"] { text-align: right; }   /* טלפון/אימייל: כתיבה משמאל לימין, יישור לימין כמו שאר השדות */
.field input[dir="ltr"]:placeholder-shown { direction: rtl; }
.field label { display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #C9D3E0; border-radius: 6px;
  background: #fff; color: var(--ink);
  padding: 12px 14px;
  font: 400 17px/1.5 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(241, 139, 82, .35); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field__error { min-height: 0; margin: 4px 0 0; font-size: 14px; color: #B42318; }
.field__error:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.btn--submit { width: 100%; margin-top: 10px; font-size: 17px; padding: 14px; }
.form__status { margin: 14px 0 0; font-size: 15px; }
.form__status:empty { display: none; }
.form__status[data-state="success"] { color: #1E6B3A; font-weight: 600; }
.form__status[data-state="error"]   { color: #B42318; }
.form__status[data-state="pending"] { color: var(--navy); background: #EDF3FB; padding: 12px 14px; border-radius: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: #fff;
  text-align: center; padding: 28px var(--gutter);
  font-size: 14px; letter-spacing: .04em;
}

/* ---------- מעברים מעוגלים בין מקטעים ----------
   מקטע צבעוני מקבל mask עם קצה עליון/תחתון מעוגל; האזור שמחוץ לקשת שקוף וחושף את הרקע הבהיר.
   margin שלילי גורם לקשת "לחדור" לשטח של המקטע הסמוך, כך שהמרווחים הכוללים לא גדלים. */
:root {
  --curve: clamp(34px, 5.5vw, 84px);
  --wave-a-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V58C240 10 520 0 760 28S1240 96 1440 40V100Z'/%3E%3C/svg%3E");
  --wave-a-bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V52C1200 100 900 96 640 66S200 10 0 46Z'/%3E%3C/svg%3E");
  --wave-b-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V72Q720 -28 1440 72V100Z'/%3E%3C/svg%3E");
  --wave-b-bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V28Q720 128 0 28Z'/%3E%3C/svg%3E");
  --wave-c-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C420 96 1000 0 1440 52V100Z'/%3E%3C/svg%3E");
  --wave-c-bot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V62C1060 102 640 18 0 72Z'/%3E%3C/svg%3E");
}
.band--soft  { --w-top: var(--wave-a-top); --w-bot: var(--wave-a-bot); }
.band--value { --w-top: var(--wave-b-top); --w-bot: var(--wave-c-bot); }
.band--warm  { --w-top: var(--wave-c-top); --w-bot: var(--wave-a-bot); }
.band--soft, .band--value, .band--warm, .site-footer {
  position: relative;
  margin-block: calc(-1 * var(--curve));
  padding-block: calc(var(--section-y) + var(--curve));
  -webkit-mask:
    var(--w-top) top / 100% var(--curve) no-repeat,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--curve) + 2px) no-repeat,
    var(--w-bot) bottom / 100% var(--curve) no-repeat;
          mask:
    var(--w-top) top / 100% var(--curve) no-repeat,
    linear-gradient(#000 0 0) center / 100% calc(100% - 2 * var(--curve) + 2px) no-repeat,
    var(--w-bot) bottom / 100% var(--curve) no-repeat;
}
/* Footer: קשת רק למעלה */
.site-footer {
  --w-top: var(--wave-b-top);
  margin-bottom: 0;
  padding-top: calc(28px + var(--curve));
  padding-bottom: 28px;
  -webkit-mask:
    var(--w-top) top / 100% var(--curve) no-repeat,
    linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--curve) + 2px) no-repeat;
          mask:
    var(--w-top) top / 100% var(--curve) no-repeat,
    linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--curve) + 2px) no-repeat;
}
#contact { padding-bottom: calc(var(--section-y) + var(--curve) * .6); }

/* שכבת עומק: "סרט" גלי עדין בגוון כהה מעט מתחת לקשת העליונה של כל מקטע צבעוני */
:root {
  --ribbon-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23243E68' fill-opacity='.055' d='M0 64C260 18 560 8 820 40S1260 104 1440 52V92C1230 132 960 126 700 100S220 58 0 104Z'/%3E%3C/svg%3E");
  --ribbon-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23243E68' fill-opacity='.05' d='M0 80Q720 -6 1440 80V112Q720 30 0 112Z'/%3E%3C/svg%3E");
  --ribbon-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23F18B52' fill-opacity='.10' d='M0 44C420 104 1000 10 1440 62V98C1000 52 420 136 0 84Z'/%3E%3C/svg%3E");
  --accent-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23F18B52' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke' d='M0 92Q720 6 1440 92'/%3E%3C/svg%3E");
}
.band--soft::before, .band--value::before, .band--warm::before, .site-footer::before {
  content: '';
  position: absolute; inset-inline: 0; top: 0;
  height: calc(var(--curve) * 1.4);
  background: var(--ribbon) top / 100% 100% no-repeat;
  pointer-events: none;
}
.band--soft::before  { --ribbon: var(--ribbon-a); }
.band--value::before { background: var(--accent-b) top / 100% 100% no-repeat, var(--ribbon-b) top / 100% 100% no-repeat; }
.band--warm::before  { --ribbon: var(--ribbon-c); }
.site-footer::before { background: var(--accent-b) top / 100% 100% no-repeat; opacity: .9; }
.band > .wrap, .site-footer > * { position: relative; z-index: 1; }
.band--warm { background: #FFF0E6; }

/* ---------- Scroll reveal (רק כש-JS פעיל) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__services { gap: 12px; }
  .hero__service { font-size: 18px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .wa--header { margin-inline-start: 0; width: 42px; height: 42px; }
  .site-nav {
    position: absolute; top: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(36, 62, 104, .08);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-nav .btn { margin-top: 16px; text-align: center; padding: 14px; }

  .hero, .value, .contact, .services, .cards { grid-template-columns: 1fr; }
  .hero { min-height: 0; gap: 40px; }
  .hero__services { grid-template-columns: 1fr; gap: 10px; margin: 22px 0; }
  .hero__service { font-size: 20px; padding-block: 2px; }
  .hero__portrait img, .portrait-placeholder { max-width: 320px; border-radius: 16px; }
  .hub__node { padding: 8px 15px; }
}

@media (max-width: 520px) {
  .form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .brand { font-size: 17px; letter-spacing: .06em; }
  .hub__node { padding: 7px 12px; font-size: 14px; }
  .hub__node::before { width: 6px; height: 6px; margin-inline-end: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .diagram .hub__orbit, .js .diagram .hub__flow { stroke-dashoffset: 0; }
  .js .diagram .hub__node { opacity: 1; }
  .hub__dots, .hub__pulse, .hub__comet { display: none; }
}
