/* ==========================================================================
   ProfKons — site styles
   Palette taken from the ProfKons logo and social posters:
   deep navy fields, logo blue, logo orange, gold accents.
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Italic-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy-950: #04112a;
  --navy-900: #071a3a;
  --navy-800: #0b2550;
  --navy-700: #143466;
  --blue: #0068be;
  --blue-on-dark: #5aa8f0;
  --orange: #f7900a;
  --orange-deep: #e07a00;
  --orange-text: #b35a00;
  --gold: #f2b632;
  --paper: #f3f6fa;
  --white: #ffffff;
  --ink: #13203d;
  --ink-2: #2d3954;
  --muted: #5a6680;
  --line: #dbe2ec;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.6rem + 3.4vw, 4rem);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --header-h: 78px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-lift: 0 24px 48px -24px rgba(7, 26, 58, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--step-0);
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.3; }

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

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 0.75rem 1.1rem;
  font-family: var(--font-sans); font-weight: 500; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; }
.logo-mark { width: 48px; height: 46px; flex: none; margin-top: 2px; }
.logo-mark .bubble { fill: #fff; stroke: var(--orange); stroke-width: 4.2; stroke-linejoin: round; }
.logo-mark .dot { fill: var(--blue); }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-word {
  font-family: var(--font-sans); font-weight: 700; font-size: 2.2rem;
  letter-spacing: -0.035em; line-height: 0.95;
}
.logo-prof { color: var(--blue); }
.logo-kons { color: var(--orange); }
.logo-tag {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.56rem;
  color: #0a3d7a; letter-spacing: 0; margin-top: 0.28rem; white-space: nowrap;
}
.logo--dark .logo-prof { color: var(--blue-on-dark); }
.logo--dark .logo-tag { color: #9cc3ee; }
.logo--dark .logo-mark .bubble { fill: var(--navy-900); }
.logo--dark .logo-mark .dot { fill: var(--blue-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.98rem; line-height: 1;
  padding: 1.05rem 1.65rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn-primary { background: var(--orange); color: var(--navy-950); }
.btn-primary:hover { background: #ffa22e; color: var(--navy-950); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-outline { border-color: var(--navy-800); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-sm { padding: 0.8rem 1.25rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(7, 26, 58, 0.45); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; gap: 0.25rem; }
.site-nav a:not(.btn) {
  display: block; padding: 0.55rem 0.8rem; border-radius: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.93rem;
  color: var(--ink); text-decoration: none; position: relative;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--navy-900); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.2rem;
  height: 3px; border-radius: 3px; background: var(--orange);
}
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-900);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: #fff; padding: 1rem var(--gutter) 1.75rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(7, 26, 58, 0.5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { padding: 0.95rem 0.25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"]::after { left: 0.25rem; right: auto; width: 28px; bottom: 0.45rem; }
  .site-nav .btn { align-self: flex-start; }
}

/* ---------- Shared section scaffolding ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
}
.section--navy h2, .section--navy h3 { color: #fff; }

.kicker {
  display: inline-flex; align-items: flex-start; gap: 0.75rem; line-height: 1.5;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  color: var(--blue); margin: 0 0 1rem;
}
.kicker::before { content: ""; flex: none; width: 30px; height: 3px; border-radius: 3px; background: var(--orange); margin-top: calc(0.75em - 1.5px); }
.section--navy .kicker, .page-hero .kicker, .hero .kicker { color: var(--blue-on-dark); }

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); }
.section--navy .lead { color: rgba(255, 255, 255, 0.85); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 + p { margin-top: 1.25rem; }

/* pillars line, as on the poster footers */
.pillars {
  --sep: calc(1.9rem + 1.5px);
  margin-left: calc(-1 * var(--sep)); clip-path: inset(-4px 0 -4px var(--sep));
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86);
  row-gap: 0.4rem;
}
.pillars li { display: flex; align-items: center; }
.pillars li::before {
  content: ""; width: 1.5px; height: 1.05em; background: var(--orange); margin-inline: 0.95rem; flex: none;
}
.pillars--ink { color: var(--navy-800); }

/* icon discs, as on the posters */
.disc {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--navy-900); color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
}
.disc .icon { width: 28px; height: 28px; }
.disc--ring {
  background: transparent; color: #fff; box-shadow: none;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  width: 78px; height: 78px;
}
.disc--ring .icon { width: 32px; height: 32px; }

/* chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.85rem; line-height: 1.2;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800);
}
.section--paper .chips li { background: #fff; }

/* check list */
.checklist { list-style: none; display: grid; gap: 0.2rem 2.5rem; }
.checklist li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-sans); font-weight: 500; font-size: 1rem; color: var(--navy-900); line-height: 1.45;
}
.checklist .icon { width: 1.25rem; height: 1.25rem; color: var(--orange-deep); margin-top: 0.1rem; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(30, 86, 160, 0.55) 0%, rgba(30, 86, 160, 0) 70%),
    linear-gradient(160deg, #0a2246 0%, #061733 55%, #04112a 100%);
  color: rgba(255, 255, 255, 0.85);
}
.hero::before {
  /* faint engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.hero-stage { position: relative; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end; gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(calc(100svh - var(--header-h) - 120px), 680px);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.hero-copy { padding-bottom: clamp(3rem, 6vw, 5.5rem); align-self: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 3.7vw, 4.1rem); line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 .line { display: block; }
.hero h1 .line--accent { color: var(--orange); }
.hero-role {
  font-family: var(--font-sans); font-weight: 500; font-size: 1rem; color: var(--blue-on-dark);
  margin-bottom: 1.4rem; display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.5;
}
.hero-role::before { content: ""; flex: none; width: 30px; height: 3px; border-radius: 3px; background: var(--orange); margin-top: calc(0.75em - 1.5px); }
.hero-sub { font-size: var(--step-1); line-height: 1.6; max-width: 34em; margin-top: 1.6rem; color: rgba(255, 255, 255, 0.84); }
.hero .pillars { margin-top: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.4rem; }

.hero-portrait { position: relative; align-self: end; justify-self: center; width: min(100%, 440px); }
.hero-portrait img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.hero-nameplate {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: max-content; max-width: 92%;
  padding: 0.95rem 1.3rem 1rem; border-radius: var(--radius-md);
  background: rgba(4, 17, 42, 0.78); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-align: center;
}
.hero-nameplate strong { display: block; font-family: var(--font-sans); font-weight: 700; color: #fff; font-size: 1.12rem; letter-spacing: -0.01em; }
.hero-nameplate span { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 0.82rem; line-height: 1.45; }
.hero-nameplate .np-role { color: var(--orange); margin-top: 0.15rem; }
.hero-nameplate .np-cred { color: rgba(255, 255, 255, 0.78); }

.journey-line { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.journey-line svg { width: 100%; height: 100%; }
.journey-line .jl-path {
  fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.journey-line .jl-glow { fill: none; stroke: rgba(247, 144, 10, 0.25); stroke-width: 12; stroke-linecap: round; filter: blur(6px); }
.journey-line .jl-node { fill: var(--navy-900); stroke: var(--orange); stroke-width: 3; }
.journey-line .jl-arrow { fill: var(--orange); }

@media (prefers-reduced-motion: no-preference) {
  .js .journey-line .jl-path, .js .journey-line .jl-glow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-line 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards; }
  .js .journey-line .jl-node, .js .journey-line .jl-arrow { opacity: 0; animation: pop-in 0.4s ease forwards; }
  .js .journey-line .jl-node:nth-of-type(1) { animation-delay: 0.65s; }
  .js .journey-line .jl-node:nth-of-type(2) { animation-delay: 1.05s; }
  .js .journey-line .jl-node:nth-of-type(3) { animation-delay: 1.45s; }
  .js .journey-line .jl-arrow { animation-delay: 1.9s; }
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes pop-in { to { opacity: 1; } }

/* method band under the hero */
.method-band { position: relative; border-top: 1px solid var(--line-dark); background: rgba(4, 17, 42, 0.55); }
.method-band ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.method-band li {
  position: relative; padding: 1.6rem 1.2rem 1.7rem 0;
  font-family: var(--font-sans); font-weight: 700; color: #fff;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem); letter-spacing: -0.015em;
  display: flex; align-items: baseline; gap: 0.7rem;
}
.method-band li::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 3px; border-radius: 0 0 3px 3px;
  width: calc(var(--i) * 25%); min-width: 40px; background: var(--orange);
}
.method-band li span { font-size: 0.8rem; font-weight: 500; color: var(--gold); letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-portrait { width: min(88%, 380px); }
  .method-band ol { grid-template-columns: repeat(2, 1fr); }
  .method-band li { padding: 1.1rem 1rem 1.2rem 0; }
  .method-band li::before { width: 32px; min-width: 0; }
  .hero .journey-line { display: none; }
}
@media (max-width: 760px) {
  .page-hero .journey-line { display: none; }
  .logo-word { font-size: 1.95rem; }
  .logo-mark { width: 42px; height: 40px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 90% at 85% 10%, rgba(30, 86, 160, 0.5) 0%, rgba(30, 86, 160, 0) 70%),
    linear-gradient(160deg, #0a2246 0%, #061733 60%, #04112a 100%);
  color: rgba(255, 255, 255, 0.84);
  padding-block: clamp(4rem, 3rem + 5vw, 7rem) clamp(3.75rem, 3rem + 4vw, 6rem);
}
.page-hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem); letter-spacing: -0.03em; line-height: 1.06; }
.page-hero .lead { color: rgba(255, 255, 255, 0.84); max-width: 34em; margin-top: 1.5rem; }
.page-hero .pillars { margin-top: 2rem; }
.page-hero .journey-line { opacity: 0.9; }

/* ---------- Home: problem ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.problem-grid h2 { position: sticky; top: calc(var(--header-h) + 2rem); max-width: 14ch; }
.symptoms { list-style: none; counter-reset: s; }
.symptoms li {
  display: grid; grid-template-columns: 2.2rem 1fr; align-items: baseline;
  padding: 1.15rem 0; border-top: 1px solid var(--line);
  font-size: 1.3rem; line-height: 1.45; color: var(--navy-900);
}
.symptoms li:last-child { border-bottom: 1px solid var(--line); }
.symptoms li::before {
  content: ""; width: 14px; height: 3px; border-radius: 3px; background: var(--orange); transform: translateY(-0.35em);
}
.diagnosis {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift);
}
.diagnosis-main { background: var(--navy-900); color: #fff; padding: clamp(2rem, 4vw, 3.25rem); }
.diagnosis-main p {
  font-family: var(--font-sans); font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.5; color: #fff; letter-spacing: -0.01em;
}
.diagnosis-main .method { margin-top: 1.5rem; font-weight: 700; color: var(--orange); font-size: 1.05rem; letter-spacing: 0.01em; }
.diagnosis-quote { background: var(--orange); color: var(--navy-950); padding: clamp(2rem, 4vw, 3.25rem); display: flex; flex-direction: column; justify-content: center; }
.diagnosis-quote blockquote { margin: 0; font-style: italic; font-size: 1.2rem; line-height: 1.6; }
.diagnosis-quote blockquote p:first-child { font-weight: 600; font-size: 1.35rem; margin-bottom: 0.6em; }

@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid h2 { position: static; max-width: none; }
  .diagnosis { grid-template-columns: 1fr; }
  .symptoms li { font-size: 1.15rem; }
}

/* ---------- Home: founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.founder-photo { position: relative; max-width: 400px; }
.founder-photo::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--orange) 0%, var(--gold) 100%); z-index: 0;
}
.founder-photo img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.founder-badge {
  position: absolute; z-index: 2; left: -1rem; bottom: 2rem;
  background: var(--navy-900); color: #fff; border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem; max-width: 240px; box-shadow: var(--shadow-lift);
  font-family: var(--font-sans); font-weight: 500; font-size: 0.82rem; line-height: 1.4;
}
.founder-badge strong { display: block; font-weight: 700; font-size: 1.6rem; color: var(--orange); line-height: 1.1; letter-spacing: -0.02em; }
.founder-name { margin-bottom: 0.45rem; }
.founder-title { font-family: var(--font-sans); font-weight: 500; color: var(--orange-text); font-size: 1.05rem; margin-bottom: 0.35rem; line-height: 1.5; }
.founder-roles { font-family: var(--font-sans); font-weight: 500; color: var(--muted); font-size: 0.95rem; margin-bottom: 1.6rem; line-height: 1.5; }
.credential {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; margin-bottom: 1.8rem;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px;
}
.credential .icon { color: var(--blue); width: 1.75rem; height: 1.75rem; }
.credential p { margin: 0; font-family: var(--font-sans); font-size: 0.92rem; line-height: 1.45; color: var(--muted); }
.credential strong { display: block; color: var(--navy-900); font-weight: 700; font-size: 0.98rem; }
.founder-body p { max-width: 62ch; }
.industries { margin: 1.75rem 0 2rem; }
.industries h3 { font-size: 1rem; margin-bottom: 0.85rem; color: var(--navy-800); }

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; margin-inline: auto 2rem; }
}

/* ---------- Home: philosophy (five dimensions) ---------- */
.dimensions { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.dimensions li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem;
  padding: 0.5rem 1rem; position: relative;
  font-family: var(--font-sans); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; line-height: 1.35;
}
.dimensions li + li::before { content: ""; position: absolute; left: 0; top: 18%; height: 44%; width: 1px; background: var(--line-dark); }
.philosophy-close { max-width: 46em; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; text-align: center; font-size: var(--step-1); color: rgba(255, 255, 255, 0.86); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center h2 { margin-inline: auto; }

@media (max-width: 860px) {
  .dimensions { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .dimensions li + li::before { display: none; }
  .dimensions li:last-child { grid-column: 1 / -1; }
}

/* ---------- Home: outcomes ---------- */
.outcomes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.outcomes li { padding: clamp(1.75rem, 3vw, 2.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.outcomes .disc { margin-bottom: 1.5rem; }
.outcomes h3 { margin-bottom: 0.65rem; }
.outcomes p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
@media (max-width: 960px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .outcomes { grid-template-columns: 1fr; } }

.pullquote { margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; max-width: 900px; text-align: center; }
.pullquote svg { width: 56px; height: 44px; margin: 0 auto 1rem; color: var(--gold); }
.pullquote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1.25; color: var(--navy-900); letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- Approach journey (signature) ---------- */
.journey-wrap { position: relative; }
.journey { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 0.5rem; }
.journey-track { position: absolute; left: 0; right: 0; top: 0.5rem; height: 160px; pointer-events: none; }
.journey-track svg { width: 100%; height: 100%; overflow: visible; }
.journey-track path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey-arrow { position: absolute; right: -14px; width: 26px; height: 26px; color: var(--orange); transform: rotate(-10deg); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--rise) 0.85rem 0; }
.journey .node {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; flex: none;
  background: var(--navy-900); color: #fff; box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px var(--orange);
}
.journey .node .icon { width: 32px; height: 32px; }
.journey .stem { width: 2px; height: 30px; background: var(--orange); position: relative; margin-top: 8px; }
.journey .stem::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: translateX(-50%); }
.journey h3 {
  margin-top: 1.4rem; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-900);
  display: flex; align-items: baseline; justify-content: center; gap: 0.5rem;
}
.journey h3 span { color: var(--orange-text); font-size: 0.78rem; letter-spacing: 0.06em; }
.journey p { margin-top: 0.6rem; font-size: 0.97rem; line-height: 1.62; color: var(--muted); }

@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .journey-track, .journey-arrow { display: none; }
  .journey li { padding: 0 0 2.2rem; display: grid; grid-template-columns: 78px 1fr; column-gap: 1.4rem; align-items: start; text-align: left; }
  .journey li::before { content: ""; position: absolute; left: 38px; top: 78px; bottom: 0; width: 2px; background: var(--orange); }
  .journey li:last-child::before { display: none; }
  .journey .stem { display: none; }
  .journey h3 { margin-top: 0.9rem; grid-column: 2; justify-content: flex-start; }
  .journey p { grid-column: 2; }
  .journey .node { grid-row: span 2; box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px var(--orange); }
}

/* ---------- Why ProfKons ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.split-aside h2 { margin-bottom: 1.25rem; }
.split-aside .btn { margin-top: 1.75rem; }
.reasons { list-style: none; }
.reasons li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.25rem 1.1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons .icon { width: 2.2rem; height: 2.2rem; color: var(--orange-deep); grid-row: span 2; margin-top: 0.15rem; }
.reasons h3 { font-size: 1.18rem; }
.reasons p { color: var(--muted); font-size: 1.02rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-aside { position: static; } }

/* ---------- Credentials ---------- */
.credentials-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.credentials-grid h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.credentials-grid h2 em { font-style: normal; color: var(--orange); }
.period { font-family: var(--font-sans); font-weight: 500; color: var(--gold); font-size: 1rem; margin-bottom: 1.4rem; }
.bars { list-style: none; display: grid; gap: 1.35rem; }
.bars li { display: grid; grid-template-columns: 4.6rem 1fr; align-items: center; column-gap: 1.2rem; row-gap: 0.45rem; }
.bars .num { grid-row: span 2; font-family: var(--font-sans); font-weight: 700; font-size: 2.6rem; line-height: 1; color: #fff; letter-spacing: -0.03em; text-align: right; }
.bars .label { font-family: var(--font-sans); font-weight: 500; font-size: 0.98rem; color: rgba(255, 255, 255, 0.86); }
.bars .track { display: block; height: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bars .fill { display: block; height: 100%; width: var(--w); border-radius: 12px; background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 100%); }
.bars li:nth-child(1) .fill { background: linear-gradient(90deg, #2c78d6 0%, var(--blue-on-dark) 100%); }
.bars-note { margin-top: 1.4rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); font-family: var(--font-sans); }
@media (max-width: 860px) { .credentials-grid { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); max-width: 18ch; margin-inline: auto; letter-spacing: -0.03em; }
.closing .lead { margin: 1.4rem auto 0; max-width: 34em; font-style: italic; }
.closing-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 2.5rem auto 0; gap: 0.6rem 0; }
.closing-steps li { display: flex; align-items: center; font-family: var(--font-sans); font-weight: 700; color: var(--navy-800); font-size: 1.02rem; }
.closing-steps li + li::before { content: ""; width: 28px; height: 2px; background: var(--orange); margin-inline: 0.9rem; border-radius: 2px; }
@media (max-width: 720px) {
  .closing-steps { flex-direction: column; align-items: center; gap: 0.5rem; }
  .closing-steps li + li::before { display: none; }
}
.closing-cta { margin-top: 2.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.closing-cta p { font-family: var(--font-sans); font-weight: 500; color: var(--muted); margin: 0; }

/* CTA panel (inner pages) */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem;
  padding: clamp(2.25rem, 5vw, 3.75rem); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%); color: rgba(255, 255, 255, 0.84);
}
.cta-panel::after {
  content: ""; position: absolute; right: -140px; bottom: -205px; width: 560px; height: 260px; z-index: -1;
  border-top: 3px solid var(--orange); border-radius: 50%; transform: rotate(-14deg); opacity: 0.85;
}
.cta-panel h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); max-width: 22ch; }
.cta-panel p { margin-top: 0.8rem; max-width: 40em; }
@media (max-width: 760px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.belief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.belief-statement { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.3; color: var(--navy-900); font-weight: 500; letter-spacing: -0.01em; }
.belief-statement em { color: var(--blue); font-style: italic; }
.intent-list { margin-top: 1.25rem; }
.works-here {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 1.15rem; color: var(--navy-900);
}
.works-here::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }
@media (max-width: 860px) { .belief-grid { grid-template-columns: 1fr; } }

.functions { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.functions li { background: #fff; padding: 1.6rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; min-height: 150px; }
.functions .icon { width: 2rem; height: 2rem; color: var(--blue); }
.functions span { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; color: var(--navy-900); line-height: 1.3; margin-top: auto; }
.functions-note { margin-top: 2rem; max-width: 52em; font-size: var(--step-1); color: var(--ink-2); }
@media (max-width: 960px) { .functions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .functions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .functions li { min-height: 130px; } }

.difference-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.difference-grid .split-aside p { font-size: var(--step-1); }
.difference-grid .split-aside .strong { font-family: var(--font-sans); font-weight: 700; color: #fff; font-size: 1.35rem; margin-top: 0.5rem; letter-spacing: -0.01em; }
.steps { list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, var(--orange), var(--gold)); }
.steps li {
  counter-increment: step; position: relative; display: flex; align-items: center; gap: 1.3rem;
  padding: 0.7rem 0; font-family: var(--font-sans); font-weight: 500; font-size: 1.12rem; color: #fff;
}
.steps li::before {
  content: counter(step); flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--navy-900); border: 2px solid var(--orange); color: var(--orange);
  font-weight: 700; font-size: 0.95rem;
}
.execution-line {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-dark);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); color: #fff; line-height: 1.35; max-width: 30em;
}
@media (max-width: 860px) { .difference-grid { grid-template-columns: 1fr; } }

.equation { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 0; margin-top: 2.25rem; }
.equation li { display: flex; align-items: center; }
.equation li span {
  font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; color: var(--navy-900);
  padding: 0.75rem 1.05rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--navy-800);
}
.equation li + li::before { content: "+"; font-family: var(--font-sans); font-weight: 700; color: var(--orange-deep); font-size: 1.3rem; margin-inline: 0.5rem; }
.equation li.result::before { content: "="; }
.equation li.result span { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.belief-big { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 20ch; }

.leader-strip { display: grid; grid-template-columns: 150px 1fr auto; gap: 2rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.leader-strip img { width: 150px; height: 170px; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-md); }
.leader-strip h3 { font-size: 1.4rem; }
.leader-strip .role { font-family: var(--font-sans); font-weight: 500; color: var(--orange-text); font-size: 0.95rem; margin: 0.3rem 0 0.6rem; }
.leader-strip p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .leader-strip { grid-template-columns: 1fr; } .leader-strip img { width: 120px; height: 140px; } }

/* ---------- Services ---------- */
.services-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.service-index { position: sticky; top: calc(var(--header-h) + 2rem); }
.service-index p { font-family: var(--font-sans); font-weight: 700; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.service-index ol { list-style: none; border-left: 2px solid var(--line); }
.service-index a {
  display: flex; gap: 0.7rem; padding: 0.6rem 0 0.6rem 1.1rem; margin-left: -2px; border-left: 2px solid transparent;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.93rem; color: var(--ink-2); text-decoration: none; line-height: 1.35;
}
.service-index a span { color: var(--orange-text); font-weight: 700; }
.service-index a:hover, .service-index a.is-active { color: var(--navy-900); border-left-color: var(--orange); }
.service { padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.service:first-child { border-top: 0; padding-top: 0; }
.service-head { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.5rem; align-items: baseline; margin-bottom: 1.6rem; }
.service-num { font-family: var(--font-sans); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--orange); letter-spacing: -0.04em; grid-row: span 2; }
.service h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); }
.service-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--blue); margin: 0; }
.service-desc { font-size: 1.12rem; max-width: 46em; margin-bottom: 1.6rem; }
.focus-label { font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; color: var(--navy-800); margin: 0 0 0.4rem; }
.focus { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.focus li {
  display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.75rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem; color: var(--navy-900); line-height: 1.4;
}
.focus .icon { width: 1.1rem; height: 1.1rem; color: var(--orange-deep); margin-top: 0.12rem; }
.levers-box { background: var(--navy-900); border-radius: var(--radius-md); padding: 1.1rem 1.4rem; margin: 0.4rem 0 1.8rem; }
.levers {
  --sep: calc(1.7rem + 1.5px);
  margin-left: calc(-1 * var(--sep)); clip-path: inset(-4px 0 -4px var(--sep));
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
}
.levers li { display: flex; align-items: center; }
.levers li::before { content: ""; width: 1.5px; height: 1.1em; background: var(--orange); margin-inline: 0.85rem; flex: none; }
@media (max-width: 1040px) { .focus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .services-layout { grid-template-columns: 1fr; }
  .service-index { position: static; }
  .service-index ol { display: grid; grid-template-columns: 1fr 1fr; border-left: 0; gap: 0.25rem 1rem; }
  .service-index a { border-left: 0; padding-left: 0; margin-left: 0; }
}
@media (max-width: 560px) { .focus { grid-template-columns: 1fr; } .service-index ol { grid-template-columns: 1fr; } }

/* ---------- Who we partner ---------- */
.partners { list-style: none; display: grid; gap: 1.25rem; }
.partner {
  display: grid; grid-template-columns: 84px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem 2.5rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.partner .disc { width: 72px; height: 72px; }
.partner h2 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); }
.partner p { color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; } }

/* ---------- Gallery & insights ---------- */
.selfcheck { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.selfcheck-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.selfcheck-aside p { margin-top: 1rem; }
.selfcheck-result {
  margin-top: 1.75rem; padding: 1.4rem 1.5rem; border-radius: var(--radius-md);
  background: var(--navy-900); color: rgba(255, 255, 255, 0.85);
}
.selfcheck-result p { margin: 0 0 1rem; font-family: var(--font-sans); font-weight: 500; font-size: 1rem; }
.selfcheck-result strong { color: var(--orange); font-size: 1.25rem; }
.challenges { list-style: none; display: grid; gap: 0.6rem; }
.challenge label {
  display: flex; gap: 1rem; align-items: flex-start; cursor: pointer;
  padding: 1rem 1.2rem; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: #fff;
  font-size: 1.1rem; line-height: 1.45; color: var(--navy-900);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.challenge input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.challenge .box {
  flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #9aa7bd; margin-top: 0.1rem;
  display: grid; place-items: center; color: transparent; transition: all 0.15s ease;
}
.challenge .box .icon { width: 15px; height: 15px; stroke-width: 3; }
.challenge input:checked + label { border-color: var(--orange); background: #fff8ee; }
.challenge input:checked + label .box { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.challenge input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .selfcheck { grid-template-columns: 1fr; } .selfcheck-aside { position: static; } }

.topics { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.topics li {
  display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: baseline; padding: 1.3rem 0; border-top: 1px solid var(--line-dark);
  font-family: var(--font-sans); font-weight: 700; font-size: 1.12rem; color: #fff; line-height: 1.4; letter-spacing: -0.01em;
}
.topics li::before { content: ""; width: 14px; height: 3px; border-radius: 3px; background: var(--orange); transform: translateY(-0.3em); }
.topics-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.topics-foot p { margin: 0; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; }
.gallery figure { margin: 0; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius-md); overflow: hidden; position: relative; box-shadow: var(--shadow-lift);
}
.gallery img { width: 100%; transition: transform 0.4s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 0.9rem; font-family: var(--font-sans); font-weight: 700; color: var(--navy-900); font-size: 0.98rem; line-height: 1.4; }
.gallery figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(4, 17, 42, 0.88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { text-align: center; color: #fff; font-family: var(--font-sans); font-weight: 500; margin-top: 0.8rem; }
.lightbox-close {
  position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--orange); color: var(--navy-950); display: grid; place-items: center; cursor: pointer;
}
@media (max-width: 600px) { .lightbox-close { top: -54px; right: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card {
  position: sticky; top: calc(var(--header-h) + 2rem);
  background: var(--navy-900); color: rgba(255, 255, 255, 0.84); border-radius: var(--radius-lg); overflow: hidden;
}
.contact-card-head { display: flex; gap: 1.2rem; align-items: center; padding: 1.75rem 1.75rem 1.5rem; border-bottom: 1px solid var(--line-dark); }
.contact-card-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--gold); }
.contact-card h2 { font-size: 1.4rem; color: #fff; }
.contact-card .role { font-family: var(--font-sans); font-weight: 500; color: var(--orange); font-size: 0.92rem; margin: 0.2rem 0 0; }
.contact-card .roles { padding: 1.25rem 1.75rem; font-family: var(--font-sans); font-weight: 500; font-size: 0.86rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); border-bottom: 1px solid var(--line-dark); margin: 0; }
.contact-lines { list-style: none; padding: 0.75rem 1rem 1.25rem; }
.contact-lines a {
  display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0.75rem; border-radius: 12px;
  color: #fff; text-decoration: none; font-family: var(--font-sans); font-weight: 500; font-size: 1rem; word-break: break-word;
}
.contact-lines a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.contact-lines .ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy-900); }
.contact-lines .ico .icon { width: 19px; height: 19px; }
.contact-lines small { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; }

.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); }
.form-wrap h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.form-wrap > p { margin-top: 0.75rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem 1.25rem; margin-top: 2rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem; color: var(--navy-900); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem; border-radius: 12px; border: 1.5px solid #c9d2df; background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 104, 190, 0.15); }
.field.has-error input, .field.has-error textarea { border-color: #c2410c; }
.field .error { font-family: var(--font-sans); font-size: 0.82rem; color: #b42318; min-height: 0; }
.form-foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot p { margin: 0; font-family: var(--font-sans); font-size: 0.85rem; color: var(--muted); max-width: 32em; line-height: 1.5; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: 12px; font-family: var(--font-sans); font-size: 0.95rem; line-height: 1.5; display: none; }
.form-status.is-visible { display: block; background: #eef6ff; color: var(--navy-900); border: 1px solid #c7defa; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: static; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin: 2.5rem 0 0.8rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal .updated { font-family: var(--font-sans); font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.72); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 45%, var(--blue) 100%); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem) 3rem; }
.footer-brand p { margin-top: 1.25rem; font-family: var(--font-sans); font-weight: 500; color: #fff; font-size: 0.98rem; line-height: 1.5; max-width: 26em; }
.footer-brand .pillars { margin-top: 1rem; font-size: 0.68rem; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.12em; }
.footer-brand .pillars { --sep: calc(1.2rem + 1.5px); }
.footer-brand .pillars li::before { margin-inline: 0.6rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-family: var(--font-sans); font-weight: 500; font-size: 0.93rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-sub { margin-top: 1.75rem; }
.footer-contact { list-style: none; display: grid; gap: 0.7rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: center; }
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-family: var(--font-sans); font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .journey-line, .hero::before { display: none !important; }
  .hero, .page-hero, .section--navy { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--navy h2 { color: #000 !important; }
}
