/* ===== אֶשְׁכּוֹלוֹת — תכנית מצוינות בבניין הכוח ===== */
:root {
  --petrol: #036586;
  --petrol-deep: #024a64;
  --petrol-700: #035673;
  --teal: #2d98bc;
  --teal-soft: #5fb4d2;
  --green: #98c159;
  --green-deep: #88c049;
  --gray: #8f8e91;
  --ink: #16242b;
  --muted: #5b6b73;
  --paper: #ffffff;
  --mist: #f3f7f9;
  --mist-2: #e8f0f3;
  --line: #dde7eb;
  --shadow-sm: 0 2px 10px rgba(3, 101, 134, .07);
  --shadow-md: 0 12px 34px rgba(3, 101, 134, .13);
  --shadow-lg: 0 26px 60px rgba(3, 101, 134, .20);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
section { position: relative; }

/* ===== Helpers ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  color: var(--teal); text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(45, 152, 188, .1);
  border: 1px solid rgba(45, 152, 188, .22);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.sec-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.sec-head h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.01em;
  margin: 18px 0 14px; color: var(--ink);
}
.sec-head p { font-size: 1.12rem; color: var(--muted); }
.br-m { display: none; }
.accent { color: var(--teal); }
.accent-g { color: var(--green-deep); }

/* Press — כותבים עלינו */
.press-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.press-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.press-item:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow-md); }
.press-source { flex: none; font-size: .82rem; font-weight: 800; color: var(--petrol); background: rgba(45,152,188,.1); border: 1px solid rgba(45,152,188,.22); border-radius: 999px; padding: 6px 14px; }
.press-title { flex: 1; font-weight: 700; color: var(--ink); }
.press-arrow { flex: none; width: 22px; height: 22px; color: var(--teal); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.02rem; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-label { display: inline-block; text-align: center; }
.btn-primary { background: var(--green); color: #143a02; box-shadow: 0 10px 26px rgba(152, 193, 89, .42); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(152, 193, 89, .55); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.btn-dark { background: var(--petrol); color: #fff; box-shadow: var(--shadow-md); }
.btn-dark:hover { transform: translateY(-3px); background: var(--petrol-deep); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0; transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  box-shadow: 0 4px 22px rgba(3, 101, 134, .09); padding: 9px 0;
}
.site-header .wrap { width: 100%; max-width: none; padding-inline: clamp(14px, 2vw, 28px); }
.nav { display: flex; align-items: center; justify-content: flex-start; gap: 22px; }
.nav-sep { flex: none; width: 2px; height: 26px; background: var(--green); border-radius: 2px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; }
.brand-txt { line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.28rem; color: #fff; transition: color .3s; }
.brand-sub { font-size: .72rem; color: rgba(255, 255, 255, .8); font-weight: 600; transition: color .3s; }
.scrolled .brand-name { color: var(--ink); }
.scrolled .brand-sub { color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .9); transition: color .25s; position: relative; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; right: 0; bottom: -5px; width: 0; height: 2px; background: var(--green); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
@media (min-width: 1201px) { .nav-links a.active::after { width: 100%; } }
.scrolled .nav-links a { color: var(--muted); }
.scrolled .nav-links a:hover { color: var(--petrol); }
.nav-cta { padding: 10px 22px; font-size: .95rem; margin-inline-start: auto; }
@media (min-width: 1201px) { .nav-contact-link { display: none; } }
.scrolled .btn-ghost { color: var(--petrol); border-color: var(--petrol); }
.scrolled .btn-ghost:hover { background: var(--petrol); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.scrolled .burger span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(circle at 75% 20%, #0a7298 0%, var(--petrol) 45%, var(--petrol-deep) 100%);
  color: #fff; overflow: hidden; padding: 130px 0 90px;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape { position: absolute; opacity: .9; }
.s1 { top: -8%; right: -4%; width: 0; height: 0; border-style: solid; border-width: 0 230px 360px 0; border-color: transparent var(--green) transparent transparent; opacity: .22; }
.s2 { bottom: -12%; left: -6%; width: 0; height: 0; border-style: solid; border-width: 380px 280px 0 0; border-color: var(--teal) transparent transparent transparent; opacity: .18; }
.s3 { top: 12%; left: 8%; width: 130px; height: 130px; background: var(--green); transform: rotate(28deg); border-radius: 28px; opacity: .12; }
.s4 { bottom: 16%; right: 12%; width: 90px; height: 90px; border: 3px solid rgba(255,255,255,.25); border-radius: 22px; transform: rotate(15deg); }
.float { animation: floaty 7s ease-in-out infinite; }
.float.alt { animation-duration: 9s; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(28deg); } 50% { transform: translateY(-22px) rotate(34deg); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-eyebrow { background: rgba(152, 193, 89, .16); border-color: rgba(152, 193, 89, .4); color: #cfe9a6; }
.hero-eyebrow::before { background: var(--green); }
.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.2rem); font-weight: 800; line-height: 1.32;
  letter-spacing: -.01em; margin: 12px 0 6px; padding-bottom: .12em;
  background: linear-gradient(120deg, #fff 30%, #cfe9a6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #cfe9a6; /* fallback so niqqud marks stay visible */
}
.hero-tag { font-size: clamp(1.15rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--green); margin-bottom: 22px; }
.hero-lead { font-size: 1.18rem; color: rgba(255, 255, 255, .9); max-width: 560px; margin-bottom: 18px; }
.hero-verse {
  border-right: 1.5px solid var(--green); padding: 6px 16px 6px 0; margin: 0 0 32px;
  font-size: 1.02rem; font-style: italic; color: rgba(255, 255, 255, .82); max-width: 540px;
}
.hero-verse cite { display: block; font-style: normal; font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 4px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badge-wrap { display: flex; justify-content: center; position: relative; }
.hero-badge-ring {
  position: relative; width: min(400px, 70vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 68%);
}
@media (min-width: 981px) {
  .hero-badge-ring { width: min(480px, 40vw); }
  .hero-badge-wrap { transform: translateX(44px); }
}
.hero-badge-ring::before {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .25);
}
.hero-badge-ring::after {
  content: ""; position: absolute; inset: 30px; border-radius: 50%; z-index: 0;
  border: 1.5px solid rgba(152, 193, 89, .4); animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge-ring img { position: relative; z-index: 1; width: 72%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); animation: floaty2 6s ease-in-out infinite; }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; }
.hero-scroll .mouse::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--green); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } }

/* ===== Marquee strip ===== */
.strip { background: var(--ink); color: #fff; padding: 18px 0; overflow: hidden; direction: ltr; }
.marquee { display: flex; width: max-content; white-space: nowrap; animation: slide 55s linear infinite; direction: ltr; }
.marquee-track { display: flex; gap: 52px; align-items: center; padding-inline-end: 52px; }
.marquee span { font-weight: 700; font-size: 1.05rem; opacity: .85; display: inline-flex; gap: 52px; align-items: center; }
.marquee span::after { content: "✦"; color: var(--green); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===== About ===== */
.about { padding: 110px 0; background-image: linear-gradient(rgba(255,255,255,.55), rgba(243,247,249,.66)), url('assets/about-bg.jpg'); background-size: cover; background-position: center; }
.about .pillar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.about-lead { font-size: 1.3rem; line-height: 1.7; max-width: 880px; margin: 0 auto 56px; text-align: center; color: var(--ink); }
.about-lead b { color: var(--petrol); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--mist); border-radius: var(--radius-lg); padding: 36px 30px;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-align: center;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(45,152,188,.3); }
.pillar .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 18px; background: linear-gradient(135deg, var(--teal), var(--petrol)); color: #fff; }
.pillar:nth-child(2) .ic { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.pillar:nth-child(3) .ic { background: linear-gradient(135deg, var(--gray), #6e6d70); }
.pillar .ic svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 1.02rem; }

/* ===== Why (gap) ===== */
.why { padding: 110px 0; background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-card {
  background: #fff; border-radius: var(--radius); padding: 32px 30px; position: relative;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.why-card::before { content: ""; position: absolute; top: 0; right: 0; width: 5px; height: 100%; background: var(--green); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card .num { font-size: 2.4rem; font-weight: 800; color: var(--mist-2); line-height: 1; position: absolute; left: 24px; top: 18px; }
.why-card h3 { font-size: 1.32rem; font-weight: 800; margin-bottom: 10px; color: var(--petrol); padding-left: 50px; }
.why-card p { color: var(--muted); }

/* ===== Roles (7 hats) ===== */
.roles { padding: 110px 0; background: var(--petrol-deep); color: #fff; overflow: hidden; }
.roles::before { content: ""; position: absolute; top: -10%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(152,193,89,.18), transparent 70%); }
.roles .sec-head h2 { color: #fff; }
.roles .sec-head p { color: rgba(255,255,255,.8); }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.role {
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease), background .3s, border-color .3s;
  backdrop-filter: blur(4px);
}
.role:hover { transform: translateY(-7px); background: rgba(255, 255, 255, .1); border-color: rgba(152, 193, 89, .5); }
.role-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.role-ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--green)); color: #06303f; }
.role-ic svg { width: 26px; height: 26px; }
.role h3 { font-size: 1.18rem; font-weight: 800; }
.role .tagq { font-size: .78rem; font-weight: 700; letter-spacing: .05em; color: var(--green); text-transform: uppercase; }
.role p { color: rgba(255, 255, 255, .82); font-size: .98rem; }

/* ===== Skills ===== */
.skills { padding: 110px 0; background: var(--paper); }
.skills-list { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.skill {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: center;
  background: var(--mist); border-radius: var(--radius); padding: 24px 28px;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.skill:hover { transform: translatex(-6px); box-shadow: var(--shadow-md); }
.skill-step { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--petrol)); box-shadow: 0 6px 16px rgba(45, 152, 188, .38); }
.skill:nth-child(even) .skill-step { background: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 8px 20px rgba(152, 193, 89, .45); }
.skill h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 4px; }
.skill p { color: var(--muted); font-size: 1rem; }

/* ===== Training timeline ===== */
.training { padding: 110px 0; background: linear-gradient(180deg, var(--mist-2), var(--mist)); }
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; right: 31px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--teal), var(--green)); border-radius: 3px; }
.tl-item { position: relative; padding: 0 90px 38px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; right: 12px; top: 0; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); display: grid; place-items: center; font-weight: 800; color: var(--petrol); z-index: 2; box-shadow: var(--shadow-sm); }
.tl-item:nth-child(even) .tl-dot { border-color: var(--green); color: var(--green-deep); }
.tl-card { background: #fff; border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.tl-card:hover { transform: translateX(-6px); box-shadow: var(--shadow-md); }
.tl-card h3 { font-size: 1.24rem; font-weight: 800; color: var(--petrol); margin-bottom: 8px; }
.tl-card p { color: var(--muted); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tl-tags span { font-size: .78rem; font-weight: 700; color: var(--teal); background: rgba(45,152,188,.1); padding: 4px 12px; border-radius: 999px; }

/* ===== Horizontal timeline (scrollable) ===== */
.timeline-h { max-width: none; display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x; padding: 16px 2px 22px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; }
.timeline-h::before { display: none; }
.timeline-h .tl-item { flex: 0 0 400px; max-width: 85vw; padding: 0; display: flex; flex-direction: column; gap: 18px; scroll-snap-align: start; }
.timeline-h .tl-dot { position: static; align-self: center; }
.timeline-h .tl-card { flex: 1; text-align: center; padding: 32px 34px; }
.timeline-h .tl-card:hover { transform: translateY(-6px); }
.timeline-h::-webkit-scrollbar { display: none; }

/* Screening carousel arrows */
.screen-carousel { position: relative; }
.screen-nav { display: contents; }
.screen-arrow { display: grid; position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--petrol); border: 0; cursor: pointer; place-items: center; box-shadow: var(--shadow-md); z-index: 6; transition: transform .25s var(--ease), background .25s; }
.screen-arrow.next { left: 6px; }
.screen-arrow.back { right: 6px; }
.screen-arrow:hover { background: var(--petrol-deep); transform: translateY(-50%) scale(1.08); }
.screen-arrow:active { transform: translateY(-50%) scale(.92); }
.screen-arrow svg { width: 22px; height: 22px; color: #fff; }
@media (min-width: 761px) {
  .screen-carousel { padding-inline: 64px; }
}
@media (max-width: 760px) {
  .screen-nav { display: flex; flex-direction: row-reverse; justify-content: center; gap: 28px; margin-top: 10px; }
  .screen-arrow { position: static; transform: none; }
  .screen-arrow:hover { transform: scale(1.08); }
  .screen-arrow:active { transform: scale(.92); }
  .timeline-h .tl-card:hover { transform: none; }
}

/* ===== Stats ===== */
.stats { padding: 90px 0; background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; text-align: center; }
.stat .n { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--teal-soft), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: .92rem; color: rgba(255, 255, 255, .72); margin-top: 8px; font-weight: 600; }

/* ===== Career ===== */
.career { padding: 110px 0; background: var(--paper); }
.career-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.career-img { background: var(--mist); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.career-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin: 26px 0; }
.career-steps li { display: flex; gap: 16px; align-items: flex-start; }
.career-steps .b { flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--green)); color: #06303f; display: grid; place-items: center; font-weight: 800; }
.career-steps b { color: var(--petrol); display: block; }
.career-steps span { color: var(--muted); font-size: .98rem; }
.career-quote { background: linear-gradient(135deg, var(--petrol), var(--teal)); color: #fff; padding: 22px 26px; border-radius: var(--radius); font-weight: 700; font-size: 1.1rem; box-shadow: var(--shadow-md); }
.career-quote b { color: var(--green); font-size: 1.4rem; }

/* ===== Profile (who fits) ===== */
.profile { padding: 110px 0; background: linear-gradient(180deg, var(--mist), #fff); }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trait { display: flex; align-items: flex-start; gap: 16px; background: #fff; border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.trait:hover { transform: translateY(-6px); border-color: var(--green); }
.trait .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; background: rgba(45,152,188,.12); color: var(--petrol); display: grid; place-items: center; }
.trait .ic svg { width: 24px; height: 24px; }
.trait-txt { flex: 1; min-width: 0; }
.trait h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 6px; }
.trait p { color: var(--muted); font-size: .96rem; }

/* ===== FAQ ===== */
.faq { padding: 110px 0; background: var(--paper); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q { width: 100%; text-align: right; background: none; border: 0; cursor: pointer; padding: 22px 26px; font-size: 1.1rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s, background .3s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--green); color: #143a02; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 26px 22px; color: var(--muted); }

/* ===== CTA / Form ===== */
.cta { padding: 110px 0; background: radial-gradient(circle at 75% 20%, #0a7298 0%, var(--petrol) 45%, var(--petrol-deep) 100%); color: #fff; overflow: hidden; }
.cta::after { content: ""; position: absolute; bottom: -30%; left: -8%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(152,193,89,.2), transparent 70%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; position: relative; z-index: 2; }
.cta-grid > div:first-child { padding-top: 40px; }
.cta h2 { font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.cta h2 span { color: var(--green); }
.cta-lead { font-size: 1.28rem; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cta-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.cta-points .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #143a02; display: grid; place-items: center; font-weight: 800; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { color: var(--ink); font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--mist); transition: border-color .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ok { width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .ok svg { width: 38px; height: 38px; }
.form-success h3 { color: var(--petrol); }

/* ===== Footer ===== */
.footer { background: #0c171c; color: rgba(255, 255, 255, .72); padding: 60px 0 28px; }
.footer-emblem { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-emblem img { width: clamp(200px, 32vw, 300px); transition: transform .4s var(--ease); }
.footer-emblem img:hover { transform: translateY(-4px) scale(1.03); }
.footer-emblem span { font-size: .9rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.6); }
.footer p { font-size: .96rem; margin-top: 14px; max-width: 380px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--green); }
.footer-pin { display: flex; align-items: center; gap: 14px; }
.footer-pin img { width: 70px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.footer-bottom .sig { color: var(--green); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-lead, .hero-verse { margin-inline: auto; }
  .hero-verse { border: 0; border-top: 1.5px solid var(--green); padding: 14px 0 0; }
  .hero-badge-wrap { order: -1; margin-bottom: 10px; }
  .pillars, .roles-grid, .profile-grid { grid-template-columns: 1fr 1fr; }
  .career-grid, .cta-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .why-grid, .roles-grid, .profile-grid { grid-template-columns: 1fr; }
  .pillars { display: flex; grid-template-columns: none; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; touch-action: pan-x; padding: 16px 0 26px; scrollbar-width: none; -ms-overflow-style: none; align-items: stretch; }
  .pillars::-webkit-scrollbar { display: none; }
  .pillars .pillar { flex: 0 0 82%; scroll-snap-align: center; }
  .pillars .pillar:hover { transform: none; box-shadow: var(--shadow-sm); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.25fr 1fr; gap: 24px 18px; }
  .footer-top > div:nth-child(3) { grid-column: 1 / -1; }
  .footer p { font-size: .9rem; }
  .skill { grid-template-columns: 1fr; text-align: center; }
  .skill-step { margin: 0 auto; }
  section { padding-block: 70px !important; }
}

/* ===== Restructure additions ===== */
.sec { padding: 110px 0; position: relative; }
.bg-white { background: var(--paper); }
.bg-mist { background: linear-gradient(180deg, var(--mist), var(--mist-2)); }
.bg-dark { background: radial-gradient(circle at 75% 20%, #0a7298 0%, var(--petrol) 45%, var(--petrol-deep) 100%); color: #fff; overflow: hidden; }
/* brighter green on the dark petrol sections for better pop */
.hero, .bg-dark, .cta { --green: #a6da55; --green-deep: #a6da55; }
.bg-dark::before { content: ""; position: absolute; top: -10%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(152,193,89,.16), transparent 70%); pointer-events: none; }
.bg-dark .sec-head h2 { color: #fff; }
.bg-dark .sec-head p { color: rgba(255,255,255,.82); }
.bg-dark .wrap { position: relative; z-index: 2; }

/* reassuring lead paragraph */
.lead-note { max-width: 840px; margin: 0 auto 46px; text-align: center; font-size: 1.14rem; line-height: 1.7; color: var(--muted); }
.lead-note strong { color: var(--petrol); font-weight: 700; }
.bg-dark .lead-note { color: rgba(255,255,255,.85); }
.bg-dark .lead-note strong { color: var(--green); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.chips span { font-size: .98rem; font-weight: 700; color: var(--petrol); background: var(--mist); border: 1px solid var(--line); padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.chips span:hover { transform: translateY(-3px); border-color: var(--teal); }

/* two-column info cards (screening) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 44px auto 0; }
.info-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.32rem; font-weight: 800; color: var(--petrol); margin-bottom: 18px; display: flex; align-items: center; gap: 11px; }
.info-card h3 svg { width: 26px; height: 26px; flex: none; color: var(--teal); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 1rem; }
.check-list .ck { flex: none; width: 23px; height: 23px; border-radius: 50%; background: var(--green); color: #143a02; display: grid; place-items: center; font-weight: 800; font-size: .78rem; margin-top: 2px; }

/* section-level CTA */
.sec-cta { text-align: center; margin-top: 50px; }

/* ===== Interactive process stepper (Work section) ===== */
.process { max-width: 1100px; margin: 0 auto; position: relative; }
.process-row { display: flex; justify-content: space-between; gap: 10px; position: relative; }
.process-row::before { content: ""; position: absolute; top: 40px; right: 4%; left: 4%; height: 3px; background: rgba(255, 255, 255, .16); border-radius: 3px; z-index: 0; }
.proc-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; position: relative; z-index: 1; }
.proc-circle {
  width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 800; color: #fff; background: var(--petrol-deep);
  border: 3px solid rgba(255, 255, 255, .3); transition: all .3s var(--ease); flex: none;
}
.proc-title { font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, .65); text-align: center; line-height: 1.25; transition: color .3s; }
.proc-step:hover .proc-circle, .proc-step:focus-visible .proc-circle { border-color: var(--green); color: var(--green); transform: translateY(-4px); }
.proc-step.is-active .proc-circle { background: var(--green); border-color: var(--green); color: #143a02; transform: scale(1.12); box-shadow: 0 12px 30px rgba(152, 193, 89, .5); }
.proc-step.is-active .proc-title { color: #fff; }
.proc-step:focus-visible { outline: none; }

/* content as a narrow vertical card positioned under the active circle */
.proc-panel { position: absolute; width: 320px; left: 0; top: 150px; z-index: 5; display: grid; }
.proc-content { grid-area: 1 / 1; background: #fff; border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-lg); position: relative; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
.proc-content.is-shown { opacity: 1; visibility: visible; }
.proc-content h3 { font-size: 1.32rem; font-weight: 800; color: var(--petrol); margin-bottom: 12px; }
.proc-content p { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }

@media (max-width: 760px) {
  .process-row { overflow-x: auto; overflow-y: visible; justify-content: flex-start; gap: 22px; padding-top: 20px; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .process-row::before { display: none; }
  .proc-step { flex: 0 0 auto; width: 96px; }
  .proc-panel { position: static; width: auto; margin-top: 28px; }
}

/* values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); border-top: 4px solid var(--green); box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value h3 { font-size: 1.2rem; font-weight: 800; color: var(--petrol); margin-bottom: 8px; line-height: 1.25; }
.value p { color: var(--muted); font-size: .99rem; }

/* oversized service-path heading — single line */
#path .sec-head { max-width: 1100px; }
#path .sec-head h2 { font-size: clamp(1.7rem, 7.2vw, 5.4rem); line-height: 1.06; white-space: nowrap; }
@media (max-width: 640px) {
  #path .sec-head h2 { white-space: normal; font-size: clamp(2.5rem, 12vw, 3.6rem); line-height: 1.12; }
  #path .sec-head h2 .accent-g { display: block; }
}

/* gallery */
#gallery { background: radial-gradient(circle at 78% 14%, #0c2c39 0%, #061319 55%, #02080c 100%); }
#gallery::before { display: none; }
#gallery .sec-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.08; }
.gallery-wrap { position: relative; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 6; transition: transform .25s var(--ease), background .25s; }
.gallery-arrow.next { left: clamp(14px, 4vw, 54px); }
.gallery-arrow.back { right: clamp(14px, 4vw, 54px); }
.gallery-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.09); }
.gallery-arrow svg { width: 26px; height: 26px; color: var(--petrol); }
.gallery-viewport { overflow: hidden; padding: 8px 0 18px; }
.gallery-scroll { display: flex; direction: ltr; will-change: transform; }
.gallery-scroll figure { flex: 0 0 auto; width: 64vw; margin: 0; padding: 0 8px; box-sizing: border-box; opacity: .7; transition: opacity .45s var(--ease); }
.gallery-scroll figure.is-current { opacity: 1; }
.gallery-figinner { position: relative; width: 100%; padding-bottom: 62.5%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); cursor: zoom-in; }
.gallery-scroll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gallery-scroll figure.is-current:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2, 8, 12, .92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; backdrop-filter: blur(4px); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 22px; left: 26px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .25s, transform .25s; }
.lightbox-close:hover { background: rgba(255,255,255,.25); transform: scale(1.08); }

/* values section background photo — large, flag-focused, lighter blue */
#values { background-image: linear-gradient(180deg, rgba(2,74,100,.6) 0%, rgba(2,74,100,.32) 45%, rgba(2,74,100,.55) 100%), url('assets/monument.jpg'); background-size: cover; background-position: center 44%; }
#values .value { background: rgba(255,255,255,.82); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }

/* parents */
.parents { background: linear-gradient(180deg, var(--mist), #fff); }
.parents-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 46px; align-items: start; max-width: 1080px; margin: 0 auto; }
.parents-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.06rem; line-height: 1.75; }
.parents-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-md); position: sticky; top: 96px; }
.parents-card h3 { color: var(--petrol); font-size: 1.32rem; font-weight: 800; margin-bottom: 20px; }
.parents-closing { text-align: center; max-width: 760px; margin: 46px auto 0; font-size: 1.28rem; font-weight: 700; color: var(--petrol); line-height: 1.5; }

/* form two-up */
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.two label { margin-bottom: 6px; }

/* mobile nav collapses earlier (8 items) */
@media (max-width: 1200px) {
  .nav { justify-content: space-between; }
  .nav-sep { display: none; }
  .nav-links { position: fixed; top: 0; left: 0; right: auto; height: 100vh; height: 100dvh; width: max-content; min-width: 180px; max-width: 80vw; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; background: var(--petrol-deep); transform: translateX(-100%); transition: transform .35s var(--ease); padding: 76px 32px 40px; box-shadow: 10px 0 40px rgba(0,0,0,.35); overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 105; }
  .nav-links.open { transform: none; }
  .nav-links a, .scrolled .nav-links a { color: #fff; font-size: 1.12rem; }
  .nav-links a:hover, .scrolled .nav-links a:hover { color: #fff; }
  .nav-cta { display: none; }
  .burger { display: flex; z-index: 110; }
}

@media (max-width: 880px) {
  .two-col, .parents-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .parents-card { position: static; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
}

/* ===== Mobile polish (dedicated phone tuning) ===== */
@media (max-width: 820px) {
  .proc-circle { width: 62px; height: 62px; font-size: 1.45rem; }
  .proc-title { font-size: .84rem; }
  .timeline-h .tl-item { flex: 0 0 300px; }
}
@media (max-width: 640px) {
  /* hero */
  .hero { padding: 100px 0 64px; min-height: auto; }
  .hero-grid { gap: 8px; }
  .hero-badge-wrap { margin-bottom: -6px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-text h1 { order: 0; }
  .hero-eyebrow { order: -1; background: none; border: 0; padding: 0; margin: 0 0 4px; text-transform: none; letter-spacing: normal; font-weight: 600; font-size: .98rem; color: rgba(255, 255, 255, .72); }
  .hero-eyebrow::before { display: none; }
  .hero h1 { line-height: 1.22; font-size: clamp(3rem, 15vw, 4.2rem); margin: 0 0 4px; }
  .hero-tag { font-size: 1.2rem; margin-bottom: 28px; }
  .cta-dash { display: none; }
  .hero-lead { font-size: 1.04rem; margin-bottom: 14px; }
  .hero-verse { font-size: .92rem; margin-bottom: 24px; }
  .hero-badge-ring { width: min(280px, 62vw); }
  .hero-cta { gap: 8px; margin-top: 22px; flex-wrap: nowrap; justify-content: center; }
  .hero-cta .btn { width: auto; gap: 6px; justify-content: center; text-align: center; padding-inline: 13px; font-size: .82rem; white-space: nowrap; }
  .hero-cta .btn-primary { flex: 0 0 auto; }
  .hero-cta .btn-ghost { flex: 0 1 auto; }
  .hero-cta .btn svg { width: 15px; height: 15px; }
  .br-m { display: block; }
  .hero-scroll { display: none; }
  /* section headers / body text */
  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 1.02rem; }
  .about-lead, .lead-note { font-size: 1.04rem; }
  .parents-closing { font-size: 1.12rem; }
  /* marquee (keep gap == padding for seamless loop) */
  .marquee-track { gap: 34px; padding-inline-end: 34px; }
  .marquee span { font-size: .98rem; }
  /* work / process */
  .proc-circle { width: 56px; height: 56px; font-size: 1.3rem; border-width: 2.5px; }
  .proc-title { font-size: .8rem; }
  .process-row { gap: 16px; }
  .proc-content { padding: 24px 22px; }
  .proc-content h3 { font-size: 1.2rem; }
  /* screening / path cards */
  .timeline-h .tl-item { flex: 0 0 84vw; }
  .timeline-h .tl-card { padding: 26px 24px; }
  /* gallery */
  #gallery .sec-head h2 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .gallery-scroll figure { width: 80vw; padding: 0 6px; }
  .gallery-arrow { width: 44px; height: 44px; }
  .gallery-arrow svg { width: 22px; height: 22px; }
  /* values */
  .value h3 { font-size: 1.12rem; }
  /* contact */
  .cta h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cta-grid > div:first-child { padding-top: 0; text-align: center; }
  .cta-lead { font-size: 1.1rem; }
  .cta-points { width: fit-content; max-width: 100%; margin-inline: auto; align-items: flex-start; text-align: right; }
  .cta-points li { justify-content: flex-start; }
  .form-card { padding: 26px 22px; }
  /* footer */
  .footer-emblem img { width: 210px; }
  .footer-emblem { padding-bottom: 30px; margin-bottom: 30px; }
}
