/* =====================================================
   Capital H — Soft Editorial (white + blue)
   Primary: #3435b0  |  BG: #ffffff  |  Font: Open Sans
   ===================================================== */

:root {
  --c-primary: #3435b0;
  --c-primary-700: #2a2b8f;
  --c-primary-900: #1e1f6b;
  --c-primary-50: #f5f5fc;
  --c-primary-100: #ebebf7;
  --c-primary-200: #d4d5ee;
  --c-primary-300: #b9bafe;
  --c-primary-tint: #f7f8fd;

  --c-bg: #ffffff;
  --c-bg-warm: #fafaf8;
  --c-bg-soft: #f7f8fd;

  --c-ink: #1a1a2e;
  --c-ink-2: #2e2e44;
  --c-ink-3: #5a5a72;
  --c-ink-4: #8e8ea4;

  --c-line: #ececf5;
  --c-line-strong: #d9d9e6;
  --c-warn: #b03434;
  --c-warn-bg: #fff4f4;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26,26,46,.04), 0 6px 18px rgba(26,26,46,.04);
  --shadow-md: 0 4px 14px rgba(26,26,46,.06), 0 24px 60px rgba(26,26,46,.08);
  --shadow-lg: 0 10px 30px rgba(52,53,176,.14), 0 30px 80px rgba(26,26,46,.10);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-emph: cubic-bezier(.65,.0,.35,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip; /* progressive: hidden fallback for iOS ≤15.3, clip for modern */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--c-primary-200); color: var(--c-primary-900); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  position: relative;
}

/* ====== Typography ====== */
h1, h2, h3, h4, h5 { color: var(--c-ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
p  { margin: 0 0 1em 0; color: var(--c-ink-2); }
em { font-style: italic; font-weight: 400; color: var(--c-primary); }
strong { font-weight: 700; }

.display {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.display em { font-weight: 300; font-style: italic; color: var(--c-primary); }
.display--light { color: #fff; }
.display--light em { color: var(--c-primary-300); }

/* ====== Section head ====== */
.kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-primary);
  margin-bottom: 20px;
  font-style: italic;
}
.kicker__num {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--c-primary-300);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.kicker--light { color: var(--c-primary-300); }
.kicker--light .kicker__num { color: rgba(255,255,255,.5); }

.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--c-ink-3);
  margin-top: 20px;
  line-height: 1.6;
  max-width: 640px;
  font-weight: 300;
}
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-pill); padding: 13px 24px;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease-out), background .2s, color .2s, box-shadow .25s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn__arrow { transition: transform .25s var(--ease-out); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(52,53,176,.22); }
.btn--primary:hover { background: var(--c-primary-700); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(52,53,176,.32); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary-200); }
.btn--ghost:hover { background: var(--c-primary-50); border-color: var(--c-primary); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--white { background: #fff; color: var(--c-primary); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.18); }

/* ====== Nav ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--c-primary);
  padding-top: env(safe-area-inset-top, 0px);
}
/* (no scrolled border — was rendering as a thin white seam on iPhone) */
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo img { height: 36px; width: auto; display: block; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a {
  color: rgba(255,255,255,.82); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: ''; position: absolute;
  left: 0; bottom: -2px; width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 10px 18px; font-size: 0.88rem; background: #fff; color: var(--c-primary); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.nav__cta:hover { background: #fff; color: var(--c-primary-700); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.nav__burger { display: none; background: transparent; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: #fff; display: block; transition: transform .25s, opacity .2s; border-radius: 2px; }
.nav__burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2){ opacity: 0; }
.nav__burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; background: var(--c-primary);
    padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid rgba(255,255,255,.12);
    gap: 4px;
    /* Hide fully above the viewport: move up by full height + the 64px top offset
       (+ buffer) so the bottom edge/border never peeks, regardless of item count. */
    transform: translateY(calc(-100% - 80px));
    transition: transform .3s var(--ease-out);
  }
  .nav__links a {
    padding: 14px 0;            /* ≥44px tap target */
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links.open { transform: translateY(0); }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 130px 0 0;
  overflow-x: hidden;     /* fallback for iOS Safari ≤15 */
  overflow-x: clip;
  overflow-y: visible;    /* let the illustration spill into the next section */
  isolation: isolate;
  z-index: 2;             /* sit above the directive section so the overlap is visible */
}

.hero__megaH {
  position: absolute;
  top: 0; right: -12%; bottom: 0;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.hero__megaH img {
  width: min(95vh, 75vw);
  height: auto;
  display: block;
  opacity: 0.05;            /* whisper-level ghost */
  transform: translateY(4%);
  animation: hFloat 16s ease-in-out infinite;
  /* Soft fade toward all edges so the mark dissolves into the background */
  -webkit-mask-image: radial-gradient(ellipse at center, #000 18%, rgba(0,0,0,.45) 50%, transparent 72%);
          mask-image: radial-gradient(ellipse at center, #000 18%, rgba(0,0,0,.45) 50%, transparent 72%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
@keyframes hFloat {
  0%, 100% { transform: translateY(4%) rotate(0); }
  50%      { transform: translateY(0%) rotate(-1deg); }
}
.hero__noise {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(52,53,176,.04), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner { position: relative; padding-top: 56px; }

.hero__top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--c-ink-2);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--c-primary); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52,53,176,.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(52,53,176,.18); }
  50% { box-shadow: 0 0 0 10px rgba(52,53,176,0); }
}
.hero__eyebrow strong { font-weight: 700; color: var(--c-primary); }

.hero__index {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; color: var(--c-ink-4); font-weight: 500;
  font-style: italic;
}
.hero__index-divider { width: 28px; height: 1px; background: var(--c-line-strong); }

.hero__title {
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 48px;
  max-width: 1100px;
  color: var(--c-ink);
  text-wrap: balance;
}
.hero__title .line { display: block; }
.hero__title .line--2 { padding-left: 0; }
.hero__title em { font-style: italic; font-weight: 300; color: var(--c-primary); }
.hero__strike { position: relative; color: var(--c-ink-4); margin-right: 0.2em; font-weight: 300; font-style: italic; }
.hero__strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; top: 54%;
  height: 0.06em;
  background: var(--c-primary);
  border-radius: 2px;
  transform-origin: left;
  animation: strikeIn 1.1s var(--ease-emph) .5s both;
}
@keyframes strikeIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__replace { color: var(--c-primary); font-style: italic; font-weight: 300; }

.hero__meta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 96px;
}
.hero__lede p {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--c-ink-2);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 28px;
  font-weight: 300;
}
.hero__lede p strong { font-weight: 600; color: var(--c-ink); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__illustration {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transform: translateY(110px); /* shift down so the bottom spills into the directive section */
}
.hero__illustration img {
  width: 100%;
  max-width: 825px;             /* +25% (660 → 825) */
  height: auto;
  display: block;
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 820px) {
  .hero { padding-top: 84px; }
  .hero__inner { padding-top: 20px; }
  .hero__title { font-size: clamp(2rem, 9.5vw, 3.2rem); margin-bottom: 28px; }
  .hero__title .line--2 { padding-left: 0; }
  .hero__meta { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .hero__lede p { font-size: 1rem; margin-bottom: 22px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__illustration { transform: none; }
  .hero__illustration img { max-width: 320px; margin: 0 auto; }
}

/* ====== Marquee — soft ====== */
.marquee {
  overflow: hidden;
  padding: 24px 0;
  background: var(--c-primary);
  color: rgba(255,255,255,.92);
}
.marquee--hero { background: var(--c-primary); }
.marquee--divider { padding: 32px 0; background: var(--c-primary-50); color: var(--c-primary); }
.marquee__track {
  display: flex; gap: 40px;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
  width: max-content;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.015em;
}
.marquee__track--reverse { animation-direction: reverse; animation-duration: 38s; font-style: normal; font-weight: 600; }
.marquee__track .dot-sep { color: rgba(255,255,255,.35); font-style: normal; }
.marquee--divider .dot-sep { color: var(--c-primary-300); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   DIRECTIVE — primary blue (warm, detached)
   ===================================================== */
.directive {
  background: var(--c-primary);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.directive__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.directive__inner { position: relative; z-index: 1; }

.directive__head { margin-bottom: 72px; max-width: 980px; }
.directive__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  margin-bottom: 36px;
}
.eu-stars { width: 16px; height: 16px; color: rgba(255,255,255,.85); display: inline-flex; }
.eu-stars svg { width: 100%; height: 100%; }
.directive__label .dot-sep { color: rgba(255,255,255,.35); }

.directive__title {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
}
.directive__title em { font-style: italic; font-weight: 300; color: var(--c-primary-300); display: block; }
.directive__title-en {
  display: inline-block;
  font-weight: 300;
  font-size: 0.5em;
  color: rgba(255,255,255,.6);
  letter-spacing: -0.02em;
  font-style: italic;
  vertical-align: middle;
  margin-top: 0.2em;
}

.directive__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.directive__lead p {
  font-size: 1.1rem; line-height: 1.65;
  color: rgba(255,255,255,.85);
  font-weight: 300;
}
.directive__lead p strong { color: #fff; font-weight: 600; }
.directive__lead em { color: var(--c-primary-300); font-style: italic; }
.directive__source {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--c-primary-300);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(185,186,254,.4);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.directive__source:hover { color: #fff; border-color: #fff; }

.directive__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.directive__points li {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.directive__points li:first-child { border-top: 0; padding-top: 0; }
.directive__points .bullet {
  font-size: 1.3rem; font-weight: 600;
  color: rgba(255,255,255,.6);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  font-style: italic;
}
.directive__points h4 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; font-weight: 600; }
.directive__points p { margin: 0; color: rgba(255,255,255,.75); font-size: 0.98rem; font-weight: 300; line-height: 1.55; }

.directive__quote {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 48px;
}
.directive__quote p {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.95);
  margin: 0;
  max-width: 900px;
  letter-spacing: -0.015em;
}
.directive__quote em { font-weight: 500; color: var(--c-primary-300); font-style: italic; }

@media (max-width: 820px) {
  .directive { padding: 100px 0; }
  .directive__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================
   REALITY (soft question cards)
   ===================================================== */
.reality { padding: 140px 0 120px; background: #fff; }
.reality__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reality__col {
  padding: 36px 32px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s, background .3s;
}
.reality__col:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--c-primary-700); }

.reality__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.reality__col h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.reality__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.reality__col li {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255,255,255,.92);
  position: relative;
  padding-left: 22px;
}
.reality__col li::before {
  content: '“';
  position: absolute; left: 0; top: -0.12em;
  font-size: 1.5rem; font-style: normal;
  color: var(--c-primary-300);
  font-weight: 700;
  line-height: 1;
}

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

/* =====================================================
   STATEMENT — soft prose
   ===================================================== */
.statement {
  background: var(--c-primary-tint);
  padding: 120px 0;
}
.statement__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.statement p {
  font-size: clamp(1.8rem, 4.4vw, 4rem);
  line-height: 1.1;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  color: var(--c-ink);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.statement__word { display: inline; margin-right: 0.18em; }
.statement__strike {
  position: relative;
  color: var(--c-ink-4);
}
.statement__strike::after {
  content: '';
  position: absolute;
  left: -3%; right: -3%; top: 56%;
  height: 0.07em;
  background: var(--c-primary);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-emph);
}
.reveal.is-visible .statement__strike::after { transform: scaleX(1); transition-delay: .5s; }
.statement__accent { color: var(--c-primary); font-weight: 400; }

/* =====================================================
   CHALLENGE / OPPORTUNITY (soft cards)
   ===================================================== */
.challenge { padding: 140px 0; background: #fff; }
.challenge__split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.challenge__side {
  padding: 48px 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.challenge__side:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.challenge__side--win { background: var(--c-primary); color: #fff; border-color: transparent; }
.challenge__tag {
  display: inline-block;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 500;
  color: var(--c-primary);
  padding: 8px 16px;
  background: var(--c-primary-50);
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
}
.challenge__tag--win { color: #fff; background: rgba(255,255,255,.14); }
.challenge__side h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  font-weight: 700;
  text-wrap: balance;
}
.challenge__side--win h3 { color: #fff; }
.challenge__side ul { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; }
.challenge__side li {
  font-size: 1.08rem;
  padding-left: 28px;
  position: relative;
  color: var(--c-ink-2);
  line-height: 1.4;
  font-weight: 300;
}
.challenge__side li::before {
  content: '';
  position: absolute; left: 0; top: 0.6em;
  width: 14px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.challenge__side--win li { color: rgba(255,255,255,.92); }
.challenge__side--win li::before { background: var(--c-primary-300); }
.challenge__side li strong { font-weight: 600; color: var(--c-ink); }
.challenge__side--win li strong { color: #fff; }
.challenge__note {
  padding-top: 24px; border-top: 1px solid var(--c-line);
  font-size: 0.95rem; color: var(--c-ink-3); margin: 0;
  font-style: italic;
  font-weight: 300;
}
.challenge__side--win .challenge__note { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.85); }
.challenge__side--win .challenge__note strong { color: #fff; font-weight: 600; }

.triad {
  margin-top: 24px;
  background: var(--c-primary-tint);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--c-primary-100);
}
.triad__title {
  padding: 48px;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  display: flex; align-items: center;
}
.triad__title em { color: var(--c-primary); font-style: italic; font-weight: 300; }
.triad__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--c-primary-100);
  background: #fff;
}
.triad__item {
  padding: 40px 32px;
  border-right: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 18px;
  justify-content: space-between;
  min-height: 200px;
  transition: background .25s;
}
.triad__item:last-child { border-right: 0; }
.triad__item:hover { background: var(--c-primary-tint); }
.triad__item span {
  font-size: 2.2rem; font-weight: 300; font-style: italic;
  color: var(--c-primary);
  line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.triad__item h4 { color: var(--c-ink); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }

@media (max-width: 880px) {
  .challenge__split { grid-template-columns: 1fr; }
  .triad { grid-template-columns: 1fr; }
  .triad__items { grid-template-columns: 1fr; border-left: 0; border-top: 1px solid var(--c-primary-100); }
  .triad__item { border-right: 0; border-bottom: 1px solid var(--c-line); min-height: 140px; }
  .triad__item:last-child { border-bottom: 0; }
}

/* =====================================================
   PROGRAM (soft pillars)
   ===================================================== */
.program { padding: 140px 0; background: #fff; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 18px;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); }
.pillar__num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.pillar h4 { font-size: 1.3rem; line-height: 1.25; font-weight: 600; }
.pillar p { color: var(--c-ink-3); margin: 0; font-size: 0.98rem; font-weight: 300; line-height: 1.55; }

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

/* =====================================================
   PROCESS — soft cream timeline
   ===================================================== */
.process { padding: 140px 0; background: #fff; position: relative; overflow: hidden; }
.process__shape {
  position: absolute; top: 0; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--c-primary-50), transparent 60%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(20px);
}

.steps { list-style: none; padding: 0; margin: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 36px;
  padding: 36px 0;
  border-top: 1px solid var(--c-line);
  align-items: center;
  transition: padding-left 0.35s var(--ease-out);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--c-line); }
.step:hover { padding-left: 20px; }
.step__num {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-primary-300);
  font-variant-numeric: tabular-nums;
  transition: color .35s;
}
.step:hover .step__num { color: var(--c-primary); }
.step__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 10px; letter-spacing: -0.02em; font-weight: 700; }
.step__body p { color: var(--c-ink-3); margin: 0; max-width: 720px; font-weight: 300; line-height: 1.6; }
.step__tag {
  font-size: 0.78rem;
  color: var(--c-primary);
  font-style: italic;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--c-primary-50);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .step { grid-template-columns: 60px 1fr; gap: 22px; }
  .step__tag { grid-column: 1 / -1; justify-self: start; }
}

/* =====================================================
   SERVICES (soft panels)
   ===================================================== */
.services { padding: 140px 0; background: var(--c-primary); }
/* temni razdelek (03): svetla tipografija glave in uvoda panela */
.services .display { color: #fff; }
.services .display em { color: var(--c-primary-300); }
.services .kicker { color: var(--c-primary-300); }
.services .kicker__num { color: rgba(255,255,255,.5); }
.services .panel__intro h3 { color: #fff; }
.services .panel__intro p { color: rgba(255,255,255,.78); }
.services .panel__no { color: var(--c-primary-300); }

.services__tabs {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-pill);
  width: max-content; max-width: 100%;
  margin: 0 auto 64px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.tab {
  background: transparent;
  color: var(--c-ink-3);
  border: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.tab:hover { color: var(--c-primary); }
.tab--active { background: var(--c-primary); color: #fff; box-shadow: 0 4px 12px rgba(52,53,176,.2); }

.services__panels { position: relative; min-height: 380px; }
.panel {
  display: none;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  animation: panelIn .5s var(--ease-out);
}
.panel--active { display: grid; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.panel__intro { position: sticky; top: 100px; align-self: start; }
.panel__no {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--c-primary);
  font-weight: 500;
  display: block; margin-bottom: 16px;
}
.panel__intro h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 700;
  text-wrap: balance;
}
.panel__intro p { color: var(--c-ink-3); font-size: 1.05rem; font-weight: 300; }

.panel__cards {
  display: grid; gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.svc {
  padding: 28px 32px;
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "num title"
    "num text";
  column-gap: 20px;
  row-gap: 6px;
  align-items: start;
  transition: background .25s, padding-left .3s var(--ease-out);
}
.svc:last-child { border-bottom: 0; }
.svc:hover { background: var(--c-primary-tint); padding-left: 44px; }
.svc__no {
  grid-area: num;
  font-size: 1.1rem; font-weight: 300; font-style: italic;
  letter-spacing: -0.02em;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.svc h4 { grid-area: title; font-size: 1.15rem; margin-bottom: 0; font-weight: 600; }
.svc p { grid-area: text; color: var(--c-ink-3); margin: 0; font-size: 0.96rem; font-weight: 300; line-height: 1.55; }

@media (max-width: 880px) {
  .panel { grid-template-columns: 1fr; gap: 32px; }
  .panel__intro { position: static; }
}

/* =====================================================
   OUTCOMES (soft quote cards)
   ===================================================== */
.outcomes { padding: 140px 0; background: #fff; }
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.outcome {
  position: relative;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: background .3s, transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.outcome::before {
  content: attr(data-tag);
  display: inline-block;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--c-primary);
  font-weight: 500;
  margin-bottom: 20px;
}
.outcome p {
  margin: 0;
  color: var(--c-ink);
  position: relative;
  padding-left: 22px;
}
.outcome p::before {
  content: '“';
  position: absolute; left: 0; top: -0.18em;
  font-size: 1.8em; font-style: normal;
  color: var(--c-primary);
  font-weight: 700; line-height: 1;
}
.outcome p::after { content: '”'; }
.outcome:hover {
  background: var(--c-primary);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.outcome:hover::before, .outcome:hover p { color: #fff; }
.outcome:hover p::before { color: var(--c-primary-300); }

@media (max-width: 880px) {
  .outcomes__grid { grid-template-columns: 1fr; }
  .outcome { min-height: 140px; }
}

/* =====================================================
   BRAND (primary)
   ===================================================== */
.brand {
  padding: 140px 0;
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.brand__bigH {
  position: absolute;
  top: 0; right: -8%; bottom: 0;
  width: 80%;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none;
  overflow: hidden;
}
.brand__bigH span {
  font-weight: 700;
  font-size: min(140vh, 110vw);
  line-height: 0.78;
  color: rgba(255,255,255,.06);
  letter-spacing: -0.07em;
  transform: translateX(15%);
}
.brand .container { position: relative; z-index: 1; }

.brand__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "intro rohi"
    "intro services";
  gap: 48px 64px;
  align-items: start;
}
.brand__intro { grid-area: intro; }
.brand__intro p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 540px; line-height: 1.65; font-weight: 300; }
.brand__intro .display { margin-bottom: 28px; }

.brand__rohi {
  grid-area: rohi;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
}
.rohi__big {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.rohi__small { color: rgba(255,255,255,.82); font-size: 0.92rem; line-height: 1.55; font-weight: 300; }
.rohi__small strong { color: #fff; display: block; font-size: 0.98rem; margin-bottom: 4px; font-weight: 600; }
.rohi__small span { display: block; }

.brand__services { grid-area: services; }
.brand__services h4 {
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 500;
}
.brand__services ul { list-style: none; padding: 0; margin: 0; }
.brand__services li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  transition: padding-left .25s;
}
.brand__services li:hover { padding-left: 8px; }
.brand__services li > span {
  font-size: 0.95rem;
  color: var(--c-primary-300);
  padding-top: 4px;
  font-style: italic;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.brand__services li strong { color: #fff; display: block; font-size: 1.05rem; margin-bottom: 2px; font-weight: 600; }
.brand__services li em { color: rgba(255,255,255,.75); font-style: normal; font-size: 0.9rem; display: block; line-height: 1.5; font-weight: 300; }
.brand__services li em i { font-style: italic; color: rgba(255,255,255,.9); }

@media (max-width: 880px) {
  .brand__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "rohi" "services"; gap: 32px; }
  .brand__rohi { grid-template-columns: 1fr; gap: 14px; }
}

/* =====================================================
   TEAM (soft cards, full color photos)
   ===================================================== */
.team { padding: 140px 0; background: #fff; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.member {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); }
.member__photo { aspect-ratio: 4/4; overflow: hidden; background: var(--c-primary-tint); position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 28px 28px 32px; }
.member__no {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--c-primary);
  font-weight: 500;
  display: block; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.member h3 { font-size: 1.5rem; line-height: 1.1; margin-bottom: 8px; letter-spacing: -0.02em; font-weight: 700; }
.member__role {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--c-primary);
  margin-bottom: 14px;
  font-weight: 500;
}
.member__body p { color: var(--c-ink-3); font-size: 0.96rem; margin: 0; font-weight: 300; line-height: 1.55; }

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

/* =====================================================
   FINAL CTA (primary blue, soft)
   ===================================================== */
.cta {
  padding: 140px 0;
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 100%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 0%, rgba(255,255,255,.1), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; max-width: 1000px; }
.cta__inner h2 { margin-bottom: 24px; font-weight: 700; }
.cta__h2-accent { color: var(--c-primary-300); font-style: italic; font-weight: 300; }
.cta__inner > p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin: 0 0 36px; font-weight: 300; line-height: 1.65; }
.cta__row { display: flex; gap: 12px; flex-wrap: wrap; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--c-primary-900);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; margin-bottom: 64px; }
.footer__lockup img { height: 48px; width: auto; margin-bottom: 20px; }
.footer__lockup p { color: rgba(255,255,255,.65); font-size: 0.92rem; max-width: 320px; font-weight: 300; }
.footer__lockup em { color: var(--c-primary-300); font-style: italic; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer__col h5 {
  color: #fff; font-size: 0.95rem;
  margin-bottom: 16px; font-weight: 600;
  font-style: italic;
}
.footer__col a {
  display: block; color: rgba(255,255,255,.65); text-decoration: none;
  margin-bottom: 10px; transition: color .2s, padding .2s;
  font-size: 0.92rem; font-weight: 300;
}
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__legal { color: rgba(255,255,255,.65); margin: 0; line-height: 1.65; font-size: 0.92rem; font-weight: 300; }
.footer__legal a { color: var(--c-primary-300); display: inline; margin: 0; padding: 0 !important; }
.footer__legal a:hover { color: #fff; }
.footer__legal strong { color: #fff; font-weight: 600; }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-weight: 300;
}

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   MODAL
   ===================================================== */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: modalFade .25s var(--ease-out); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(26,26,46,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 960px; width: 100%;
  max-height: 92vh;
  max-height: 92svh; /* iOS Safari: small viewport (excludes URL bar) */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalIn .4s var(--ease-out);
}
@keyframes modalIn { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--c-line);
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 2;
  transition: background .2s, transform .2s, color .2s;
}
.modal__close:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; color: currentColor; }

.modal__split { display: grid; grid-template-columns: 0.85fr 1.15fr; max-height: 92vh; max-height: 92svh; overflow: hidden; }
.modal__aside {
  background: var(--c-primary);
  color: #fff;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.modal__asideH {
  position: absolute; bottom: -10%; right: -20%;
  font-size: 28rem; font-weight: 700;
  line-height: 0.78;
  color: rgba(255,255,255,.08);
  letter-spacing: -0.07em;
  pointer-events: none;
}
.modal__logo {
  width: 140px;
  height: auto;
  margin: 0 0 24px -10px; /* slight negative left so square logo aligns optically with text below */
  position: relative;
  display: block;
}
@media (max-width: 760px) {
  .modal__logo { width: 100px; margin-bottom: 16px; }
}
.modal__aside h3 {
  color: #fff;
  font-size: 2rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
  position: relative;
  font-weight: 700;
}
.modal__aside h3 em { font-style: italic; font-weight: 300; color: var(--c-primary-300); }
.modal__aside p { color: rgba(255,255,255,.85); font-size: 0.95rem; line-height: 1.55; margin-bottom: 28px; position: relative; font-weight: 300; }
.modal__aside em { color: var(--c-primary-300); font-style: italic; }
.modal__bullets { list-style: none; padding: 0; margin: auto 0 0 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.modal__bullets li { padding-left: 26px; position: relative; font-size: 0.92rem; color: rgba(255,255,255,.88); font-weight: 400; }
.modal__bullets li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.modal__form { padding: 44px 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--c-ink-2); }
.field label span { color: var(--c-warn); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; /* ≥16px prevents iOS Safari auto-zoom on focus */
  padding: 13px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(52,53,176,.12);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input.error, .field select.error, .field textarea.error { border-color: var(--c-warn); background: var(--c-warn-bg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 10px 0; cursor: pointer; user-select: none; position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  width: 20px; height: 20px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 5px;
  background: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
  transition: background .15s, border-color .15s;
}
.check__box::after {
  content: '';
  width: 10px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .15s var(--ease-out);
  margin-top: -2px;
}
.check input:checked + .check__box { background: var(--c-primary); border-color: var(--c-primary); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check.error .check__box { border-color: var(--c-warn); background: var(--c-warn-bg); }
.check__text { font-size: 0.88rem; color: var(--c-ink-3); line-height: 1.55; font-weight: 300; }
.check__text a { color: var(--c-primary); text-decoration: underline; }
.check__text span { color: var(--c-warn); }

.form__actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.form__hint { font-size: 0.82rem; color: var(--c-ink-4); margin: 0; font-style: italic; }
.form__hint span { color: var(--c-warn); }

.form__success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  background: var(--c-primary-tint);
  border-radius: var(--radius-lg);
  margin-top: 12px;
  border: 1px solid var(--c-primary-100);
}
.form__success.show { display: block; animation: panelIn .4s var(--ease-out); }
.form__success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.form__success-icon svg { width: 30px; height: 30px; }
.form__success h4 { margin-bottom: 6px; color: var(--c-primary); font-size: 1.2rem; }
.form__success p { margin: 0; color: var(--c-ink-3); font-weight: 300; }

@media (max-width: 760px) {
  .modal__split { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__aside { padding: 32px 24px; }
  .modal__form { padding: 32px 24px; }
  .modal__bullets { margin-top: 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =====================================================
   Reveal animation
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Scroll padding so anchor jumps clear the fixed nav (snap disabled) */
html { scroll-padding-top: 70px; }

/* =====================================================
   Mobile compaction (< 820px)
   The desktop design uses 140px section padding which
   produces tall sluggish sections on small viewports.
   ===================================================== */
@media (max-width: 820px) {
  .directive,
  .reality,
  .statement,
  .challenge,
  .program,
  .process,
  .services,
  .outcomes,
  .brand,
  .team,
  .cta { padding: 72px 0; }

  .section-head { margin-bottom: 36px; }
  .section-head--center { text-align: left; }
  .section-head--center .section-lede { margin-left: 0; margin-right: 0; }

  .display { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .section-lede { font-size: 1rem; margin-top: 14px; }

  /* Directive */
  .directive__head { margin-bottom: 40px; }
  .directive__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .directive__points li { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; }
  .directive__points .bullet { font-size: 1.05rem; }
  .directive__points h4 { font-size: 1.05rem; }
  .directive__quote { padding-top: 32px; }
  .directive__quote p { font-size: 1.25rem; }

  /* Reality cards stack tighter */
  .reality__col { padding: 26px 22px; }
  .reality__col li { font-size: 1rem; }

  /* Statement band */
  .statement p { font-size: clamp(1.5rem, 7vw, 2.2rem); }

  /* Challenge */
  .challenge__side { padding: 32px 24px; }
  .challenge__side h3 { font-size: 1.5rem; margin-bottom: 20px; }
  .triad__title { padding: 28px 24px; }
  .triad__item { padding: 24px; min-height: 0; }

  /* Program pillars */
  .pillar { padding: 28px 22px; }

  /* Process timeline */
  .step { padding: 24px 0; gap: 16px; }
  .step__num { font-size: 2.2rem; }
  .step__body h3 { font-size: 1.25rem; }

  /* Services */
  .services__tabs {
    margin-bottom: 32px;
    padding: 4px;
    gap: 2px;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
  }
  .tab {
    padding: 9px 10px;
    font-size: 0.78rem;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }
  .panel { gap: 24px; }
  .panel__intro h3 { font-size: 1.7rem; }
  .svc { padding: 22px 20px; column-gap: 14px; }
  .svc:hover { padding-left: 22px; }
  .svc h4 { font-size: 1.05rem; }

  /* Outcomes */
  .outcome { padding: 26px 22px; min-height: 0; font-size: 1.05rem; }

  /* Brand */
  .brand__intro p { font-size: 1rem; }
  .brand__rohi { padding: 24px; }
  .rohi__big { font-size: 2.6rem; }

  /* Team */
  .team__grid { gap: 18px; }
  .member__body { padding: 22px 22px 26px; }
  .member h3 { font-size: 1.3rem; }

  /* CTA */
  .cta__inner > p { font-size: 1rem; margin-bottom: 28px; }
  .cta__row { flex-direction: column; align-items: stretch; }
  .cta__row .btn { width: 100%; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer__top { margin-bottom: 36px; }
  .footer__bottom { font-size: 0.78rem; }

  /* Hard guard: nothing in any section should push horizontal layout */
  main > section { max-width: 100vw; overflow-x: hidden; }
}

/* =====================================================
   QUIZ — self-assessment
   ===================================================== */
.quiz { padding: 140px 0; background: var(--c-primary); }
/* modri razdelek (Samoocena): svetla tipografija glave; kartica kviza ostane bela */
.quiz .display { color: #fff; }
.quiz .display em { color: var(--c-primary-300); }
.quiz .kicker { color: var(--c-primary-300); }
.quiz .section-lede { color: rgba(255,255,255,.78); }
.quiz__card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 980px;
  margin: 0 auto;
}
.quiz__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-4);
  font-weight: 600;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.quiz__counter { color: var(--c-primary); font-variant-numeric: tabular-nums; }
.quiz__counter #quizCount { color: var(--c-primary); }

.quiz__questions { display: flex; flex-direction: column; gap: 10px; }
.quiz__q {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  background: var(--c-bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transition: background .2s, border-color .2s;
}
.quiz__q:hover { border-color: var(--c-line); }
.quiz__q.is-answered { background: #fff; border-color: var(--c-primary-100); }
.quiz__no {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1.3;
}
.quiz__body h4 {
  font-size: 1.02rem;
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--c-ink);
}
.quiz__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--c-ink-3);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
}
.quiz__choice { display: flex; gap: 6px; }
.quiz__opt {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-ink-3);
  background: #fff;
  border: 1px solid var(--c-line-strong);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  min-width: 64px;
}
.quiz__opt:hover { border-color: var(--c-primary); color: var(--c-primary); }
.quiz__opt:active { transform: scale(0.97); }
.quiz__opt.is-selected {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 4px 12px rgba(52,53,176,.2);
}

.quiz__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.quiz__privacy {
  margin: 0;
  font-size: 0.86rem;
  color: var(--c-ink-3);
  font-weight: 300;
  max-width: 460px;
  font-style: italic;
}
.quiz__foot .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--c-ink-4);
  box-shadow: none;
}
.quiz__foot .btn[disabled]:hover { transform: none; background: var(--c-ink-4); }

/* Results */
.quiz__result { text-align: center; padding: 16px 0 8px; animation: panelIn .5s var(--ease-out); }
.quiz__score {
  display: inline-grid;
  place-items: center;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 3.4rem;
  font-weight: 700;
  margin: 8px auto 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  position: relative;
  letter-spacing: -0.03em;
}
.quiz__result h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.quiz__result h3 em { color: var(--c-primary); font-style: italic; font-weight: 300; }
.quiz__verdict {
  font-size: 1.05rem;
  color: var(--c-ink-2);
  margin: 0 auto 28px;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.55;
}
.quiz__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quiz__cta .btn { white-space: nowrap; }

@media (max-width: 820px) {
  .quiz { padding: 56px 0; }
  .quiz__card {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }
  .quiz__meta {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    gap: 6px;
  }
  .quiz__meta-label {
    flex: 1;
    line-height: 1.4;
  }

  /* Replace the broken grid with a flex column on mobile */
  .quiz__q {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 16px 14px;
    border-radius: var(--radius);
  }
  .quiz__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  /* Number sits inline as a small italic prefix above the question */
  .quiz__no {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--c-primary);
    font-style: normal;
    text-transform: uppercase;
    margin: 0;
  }
  .quiz__body h4 {
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 600;
  }
  .quiz__body p {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  /* Da/Ne pills stretch full width and become real tap targets */
  .quiz__choice {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
  }
  .quiz__opt {
    flex: 1 1 0;
    padding: 12px 0;
    min-width: 0;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .quiz__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
    padding-top: 18px;
  }
  .quiz__foot .btn { width: 100%; padding: 14px 16px; }
  .quiz__privacy { text-align: center; max-width: none; font-size: 0.78rem; }
  .quiz__score { width: 120px; height: 120px; font-size: 2.6rem; }
  .quiz__cta { flex-direction: column; align-items: stretch; }
  .quiz__cta .btn { width: 100%; }
}

/* =====================================================
   MODAL — Terms & Policy (single-column reading panel)
   Stacks above contact modal when triggered from form.
   ===================================================== */
.modal--terms { z-index: 1100; }
.modal__panel--terms {
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  max-height: 92svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.terms {
  overflow-y: auto;
  padding: 48px 56px 40px;
  -webkit-overflow-scrolling: touch;
}
.terms__head { margin-bottom: 28px; padding-right: 40px; }
.terms__head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 6px;
  font-weight: 700;
}
.terms__meta { color: var(--c-ink-4); font-size: 0.88rem; margin: 0; font-style: italic; }

.terms__toc {
  background: var(--c-bg-soft);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  border: 1px solid var(--c-line);
}
.terms__toc strong {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-4);
  margin-bottom: 10px;
  font-weight: 600;
}
.terms__toc ol { padding-left: 22px; margin: 0; color: var(--c-ink-3); }
.terms__toc li { padding: 4px 0; }
.terms__toc a { color: var(--c-primary); text-decoration: none; font-weight: 500; }
.terms__toc a:hover { text-decoration: underline; }

.terms section {
  margin-bottom: 32px;
  scroll-margin-top: 16px;
}
.terms section h3 {
  font-size: 1.2rem;
  color: var(--c-primary);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.terms section h4 {
  font-size: 1rem;
  margin: 22px 0 8px;
  font-weight: 600;
  color: var(--c-ink);
}
.terms p, .terms li {
  color: var(--c-ink-2);
  line-height: 1.65;
  font-size: 0.95rem;
  font-weight: 300;
}
.terms p { margin: 0 0 12px; }
.terms ul { padding-left: 22px; margin: 0 0 14px; }
.terms a { color: var(--c-primary); }
.terms strong { color: var(--c-ink); font-weight: 600; }
.terms em { color: var(--c-primary); font-style: italic; }

.terms__note {
  padding: 14px 18px;
  border-left: 3px solid var(--c-primary);
  background: var(--c-primary-50);
  border-radius: 4px;
  margin: 18px 0 0;
}
.terms__note p { margin: 0; color: var(--c-ink); font-size: 0.92rem; }

@media (max-width: 760px) {
  .modal__panel--terms { max-height: 96vh; max-height: 96svh; border-radius: var(--radius-lg); }
  .terms { padding: 32px 22px 28px; }
  .terms__head { padding-right: 52px; }
  .terms__head h2 { font-size: 1.35rem; }
  .terms__toc { padding: 16px 18px; }
  .terms section { margin-bottom: 26px; }
}

/* =====================================================
   Cookie consent (Google Consent Mode v2)
   ===================================================== */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 16px;
  transform: translateY(130%);
  transition: transform .45s var(--ease-out);
  pointer-events: none;
}
.cookie-consent.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-consent__inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  background: var(--c-bg);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cookie-consent__text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--c-ink);
  font-size: 1rem;
}
.cookie-consent__text p {
  margin: 0;
  max-width: 64ch;
  color: var(--c-ink-3);
  font-size: 0.9rem;
  line-height: 1.55;
}
.cookie-consent__text a { color: var(--c-primary); text-decoration: underline; }
.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}
.cookie-consent__btn { padding: 11px 22px; font-size: 0.9rem; }

@media (max-width: 720px) {
  .cookie-consent { padding: 12px; }
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }
  .cookie-consent__actions { gap: 10px; }
  .cookie-consent__btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: none; }
}

/* =====================================================
   Jezikovni preklopnik SL / HR
   ===================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}
.lang-switch__btn {
  appearance: none; -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .04em;
  line-height: 1;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch__btn:hover { background: rgba(255,255,255,.18); }
.lang-switch__btn.is-active { background: #fff; color: var(--c-primary); }
.lang-switch__btn.is-active:hover { background: #fff; }

@media (max-width: 880px) {
  .nav__inner { gap: 14px; }
  .lang-switch { margin-left: auto; }
}
