/* ==========================================================================
   Marko Martinović — Cycling Coach
   Palette: UCI rainbow (blue · red · black · yellow · green) on white
   ========================================================================== */

/* ---------- Fonts (self-hosted, GDPR friendly) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --uci-blue: #0072ce;
  --uci-red: #e2001a;
  --uci-black: #000000;
  --uci-yellow: #ffd100;
  --uci-green: #009a3e;

  --ink: #0b0d10;
  --ink-2: #14181d;
  --ink-3: #1e242b;
  --text: #1a1d21;
  --muted: #5a636e;
  --line: #e3e6ea;
  --surface: #f4f5f7;
  --paper: #ffffff;
  --accent: var(--uci-blue);
  --accent-hover: #005ba6;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 72px;

  --stripes: linear-gradient(to bottom,
    var(--uci-blue) 0 20%, var(--uci-red) 20% 40%, var(--uci-black) 40% 60%,
    var(--uci-yellow) 60% 80%, var(--uci-green) 80% 100%);
  --stripes-h: linear-gradient(to right,
    var(--uci-blue) 0 20%, var(--uci-red) 20% 40%, var(--uci-black) 40% 60%,
    var(--uci-yellow) 60% 80%, var(--uci-green) 80% 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--uci-blue); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 10px; flex: none;
  background: var(--stripes);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(36px, 5vw, 60px);
  line-height: .98;
  letter-spacing: .005em;
  margin-bottom: 24px;
}
.section-intro { font-size: 18px; color: var(--muted); max-width: 56ch; }

/* ---------- UCI stripe elements ---------- */
.uci-bar { height: 5px; background: var(--stripes-h); }

.uci-band { display: grid; grid-template-rows: repeat(5, 7px); }
.uci-band i:nth-child(1), .portrait-band i:nth-child(1) { background: var(--uci-blue); }
.uci-band i:nth-child(2), .portrait-band i:nth-child(2) { background: var(--uci-red); }
.uci-band i:nth-child(3), .portrait-band i:nth-child(3) { background: var(--uci-black); }
.uci-band i:nth-child(4), .portrait-band i:nth-child(4) { background: var(--uci-yellow); }
.uci-band i:nth-child(5), .portrait-band i:nth-child(5) { background: var(--uci-green); }
.uci-band-thin { grid-template-rows: repeat(5, 3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.1;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: .04em;
}
.brand-role {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted); margin-top: 5px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav ul a {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink);
  position: relative; padding: 6px 0;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang-switch button {
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .1em;
  border: 0; background: transparent; color: var(--muted); padding: 7px 11px; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 120px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: end;
  padding-bottom: clamp(48px, 7vw, 96px);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 8.2vw, 112px);
  line-height: .92;
  letter-spacing: -.005em;
  margin-bottom: 28px;
}
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-title-card { display: flex; flex-direction: column; align-items: flex-start; justify-self: end; }
.big-number {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(160px, 22vw, 300px); line-height: .8; letter-spacing: -.02em;
}
.big-number span { color: var(--accent); font-size: .5em; vertical-align: .9em; margin-left: .04em; }
.mini-stripes { display: block; width: 100%; height: 20px; margin: 18px 0 14px; background: var(--stripes); }
.big-number-label {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}

/* ---------- Credentials ---------- */
.credentials { background: var(--ink); color: #fff; }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred { padding: 36px 32px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 6px; }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred-value { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: .02em; line-height: 1.1; }
.cred-label { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--surface); }
.section-head { margin-bottom: 48px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.portrait { margin: 0; }
.portrait img, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait-placeholder {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, #232a33 0%, transparent 60%),
    var(--ink);
  display: flex; align-items: flex-start; justify-content: flex-start; padding: 32px;
}
.portrait-monogram {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 11vw, 140px);
  line-height: .85; color: #fff; letter-spacing: -.02em;
}
.portrait-band {
  position: absolute; left: 0; right: 0; top: 52%;
  display: grid; grid-template-rows: repeat(5, 14px);
}
.portrait figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 14px; font-size: 14px; color: var(--muted);
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.portrait figcaption strong { color: var(--ink); font-weight: 600; }

.about-copy p { color: #3a4048; }
.facts {
  margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.facts dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--ink); }

/* Coaching cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 60px 32px 32px; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
  background: var(--ink); border-radius: var(--radius) var(--radius) 0 0;
}
.card-featured::before { background: var(--stripes-h); height: 6px; }
.card-featured { border-color: #cfd4da; box-shadow: 0 20px 40px -24px rgba(11,13,16,.25); }
.card-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); border: 1px solid currentColor; border-radius: 99px; padding: 3px 10px;
}
.card h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 30px; line-height: 1; margin: 0 0 14px;
}
.card > p { color: var(--muted); font-size: 16px; }
.checklist { list-style: none; margin: 8px 0 32px; padding: 0; flex: 1; }
.checklist li {
  position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.note { margin: 32px 0 0; color: var(--muted); font-size: 15px; text-align: center; }

/* Method (dark) */
.section-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .section-intro { color: rgba(255,255,255,.7); }
.section-dark .eyebrow { color: #5cb1f0; }

.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #5cb1f0; line-height: 1.1; }
.steps h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 16px; color: rgba(255,255,255,.68); }

.chart-card {
  margin: 0; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  padding: 24px 24px 20px; position: sticky; top: calc(var(--header-h) + 32px);
}
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.chart-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.chart-note { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.chart-svg svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.chart-legend li { display: flex; align-items: center; gap: 8px; }
.key { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.key-ctl { background: #3d9be9; height: 4px; }
.key-atl { background: #ff4d5e; }
.key-tsb { width: 12px; height: 12px; border-radius: 1px; background: linear-gradient(to bottom, var(--uci-green) 0 50%, var(--uci-yellow) 50% 100%); }

/* SVG chart parts */
.pmc-grid { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.pmc-zero { stroke: rgba(255,255,255,.25); stroke-width: 1; }
.pmc-axis { fill: rgba(255,255,255,.4); font: 500 11px var(--font-body); }
.pmc-ctl-area { fill: url(#ctlFill); }
.pmc-ctl { fill: none; stroke: #3d9be9; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.pmc-atl { fill: none; stroke: #ff4d5e; stroke-width: 1.5; stroke-linejoin: round; opacity: .85; }
.pmc-pos { fill: var(--uci-green); }
.pmc-neg { fill: var(--uci-yellow); opacity: .85; }
.pmc-race { stroke: rgba(255,255,255,.55); stroke-dasharray: 3 4; }
.pmc-race-label { fill: #fff; font: 600 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; }

.chart-card .pmc-ctl, .chart-card .pmc-atl { stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-card.is-visible .pmc-ctl, .chart-card.is-visible .pmc-atl { transition: stroke-dashoffset 2.2s cubic-bezier(.4,0,.2,1); stroke-dashoffset: 0; }
.chart-card .pmc-bars, .chart-card .pmc-ctl-area { opacity: 0; transition: opacity 1.2s ease .8s; }
.chart-card.is-visible .pmc-bars, .chart-card.is-visible .pmc-ctl-area { opacity: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-direct { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-list { margin: 8px 0 0; display: grid; gap: 14px; }
.contact-list dt { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-list dd { margin: 0; }
.contact-email { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); word-break: break-word; }
.contact-email:hover { color: var(--accent); }
.contact-wa { display: inline-flex; align-items: center; gap: 10px; }
.contact-wa .wa-icon { width: .95em; height: .95em; flex: none; color: #25d366; }

.contact-form {
  background: var(--surface); border-radius: 6px; padding: clamp(24px, 4vw, 44px);
  border-top: 6px solid transparent; border-image: var(--stripes-h) 1;
  border-image-slice: 1; border-image-width: 6px 0 0 0;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--paper);
  border: 1px solid #d3d8de; border-radius: var(--radius); padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b0d10' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,114,206,.18);
}
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: var(--uci-red); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 24px; cursor: pointer; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent.is-invalid span { color: var(--uci-red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--uci-green); font-weight: 500; }
.form-status.err { color: var(--uci-red); font-weight: 500; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mark { width: 56px; height: 56px; flex: none; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; }
.footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .brand-name { color: #fff; font-size: 26px; }
.footer-role { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-email { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .02em; }
.footer-email:hover { color: #5cb1f0; }
.footer-copy { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav, .site-nav ul { gap: 20px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 5px); bottom: 0;
    background: var(--paper); flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; border-top: 1px solid var(--line);
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    overflow-y: auto;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; font-size: 28px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .lang-switch { align-self: flex-start; }
  .lang-switch button { font-size: 17px; padding: 10px 18px; }
  .site-nav .btn { padding: 16px 28px; font-size: 18px; }

  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-title-card { justify-self: start; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
  .big-number { font-size: 120px; }
  .mini-stripes { width: 20px; height: 100px; margin: 0; }
  .big-number-label { font-size: 20px; max-width: 12ch; }

  .about-grid, .contact-grid, .method-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .chart-card { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
  .cred:first-child { border-top: 0; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 auto; }
  .brand-name { font-size: 19px; }
  .card { padding: 56px 24px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chart-card .pmc-ctl, .chart-card .pmc-atl { stroke-dashoffset: 0; }
  .chart-card .pmc-bars, .chart-card .pmc-ctl-area { opacity: 1; }
}
