/* Self-hosted fonts (latin + latin-ext). Inter is a variable font covering 400-600. All fonts are licensed under the SIL Open Font License 1.1. Local files only, no third-party font requests. */
/* latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('media/3454102127bd.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('media/0a7db4011ad8.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; }
/* latin-ext */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('media/352c606398c8.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('media/05ba48a1a662.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; }
/* latin-ext */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('media/cf3eb50fb210.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('media/f11d729bb0a4.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; }
/* latin-ext */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('media/be0c59f306e1.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('media/35c2a72b759f.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; }

/* EPS draft site — design tokens + layout. Copy/images live in content.js. */
:root {
  --ink: #0E1B2E;         /* deep navy: dark sections, text */
  --forest: #162A45;      /* deep navy */
  --forest-2: #1E3A5F;
  --accent: #F06820;      /* Dylan-pack orange */
  --accent-ink: #C24A0C;  /* accessible orange for text on light */
  --paper: #F7F4F0;
  --mist: #EBE4DC;
  --white: #FFFFFF;
  --text: #121820;
  --muted: #5A6570;
  --on-dark: #F2F4F7;
  --on-dark-muted: #A8B3C2;
  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --sec-y: clamp(72px, 10vw, 144px);
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--f-body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -0.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 500 .78rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.2rem; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 15px 24px; border-radius: 999px; font: 600 .98rem/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #F5833F; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-icon { padding: 0; width: 50px; height: 50px; gap: 0; justify-content: center; }
.actions .btn-icon { flex: 0 0 auto; }
.btn-icon svg { display: block; width: 20px; height: 20px; }
.f-social { display: flex; gap: 12px; margin-top: 16px; }
.site-footer .f-social .btn-ghost { color: var(--white); border-color: currentColor; }
.site-footer .f-social .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,27,46,.0); color: var(--white); transition: background .3s, box-shadow .3s; }
.site-header { background: rgba(14,27,46,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.scrolled { background: rgba(14,27,46,.94); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { display: block; width: auto; height: 58px; max-width: 220px; object-fit: contain; object-position: left center; mix-blend-mode: lighten; }
.logo-mark.big { height: 96px; max-width: min(100%, 420px); margin-bottom: 1.2rem; }
.logo-sub { font-size: .8rem; line-height: 1.2; color: var(--on-dark-muted); max-width: 12ch; }
#site-nav { display: flex; align-items: center; gap: 24px; }
#site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
#site-nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--on-dark); transition: background .2s, color .2s; }
#site-nav ul a:hover { background: rgba(255,255,255,.08); }
#site-nav ul a[aria-current="page"] { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--white); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; transition: transform .25s var(--ease), opacity .2s; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.nav-open .burger { background: transparent; }
.nav-open .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* Sections / themes */
.sec { padding: var(--sec-y) 0; position: relative; }
.theme-dark { background: var(--ink); color: var(--on-dark); }
.theme-dark .lead, .theme-dark p:not(.eyebrow) { color: var(--on-dark-muted); }
.theme-dark h2, .theme-dark h3 { color: var(--white); }
.theme-dark .eyebrow { color: var(--accent); }
.theme-dark .btn-ghost:hover { background: var(--white); color: var(--ink); }
.theme-tint { background: var(--mist); }
.sec-head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.head-row .sec-head { margin-bottom: 0; }

/* Hero */
.sec-hero { padding: 0; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; margin-top: -76px; padding-top: 76px; }
.sec-hero.v-page { min-height: min(68vh, 640px); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-shade { background: linear-gradient(180deg, rgba(14,27,46,.55) 0%, rgba(14,27,46,.15) 35%, rgba(14,27,46,.85) 100%), linear-gradient(90deg, rgba(14,27,46,.75), rgba(14,27,46,0) 70%); }
.hero-inner { position: relative; width: 100%; padding-top: 80px; padding-bottom: clamp(56px, 8vw, 110px); }
.hero-inner h1 { max-width: 16ch; }
.v-page .hero-inner h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); max-width: 18ch; }
.sec-hero .eyebrow { color: var(--accent); }
.sec-hero .slogan { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.15rem, 2.1vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.25; color: var(--white); max-width: 28ch; margin: 0 0 0.85rem; }
.sec-hero .lead { color: var(--on-dark); }
.sec-hero .btn-ghost { color: var(--white); }
.sec-hero .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.sec-hero .hero-inner > * { animation: rise .9s var(--ease) both; }
.sec-hero .hero-inner > *:nth-child(2) { animation-delay: .08s; }
.sec-hero .hero-inner > *:nth-child(3) { animation-delay: .16s; }
.sec-hero .hero-inner > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }

/* Split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-body p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.theme-dark .split-body p:not(.eyebrow) { color: var(--on-dark-muted); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 34px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E1B2E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Features (numbered list) */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(18,24,32,.14); }
.feature { padding: 36px 32px 40px 0; border-bottom: 1px solid rgba(18,24,32,.14); }
.feature:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgba(18,24,32,.14); }
.feature .num { display: block; font: 500 .85rem var(--f-mono); color: var(--accent-ink); margin-bottom: 28px; }
.feature p { color: var(--muted); margin: 0; }
.theme-dark .features, .theme-dark .feature { border-color: rgba(255,255,255,.12); }
.theme-dark .feature .num { color: var(--accent); }

/* Cards: grid + bento */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.theme-tint .card { background: var(--paper); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(14,27,46,.35); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px 26px 28px; }
.card-body p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--accent-ink); }
.tag { display: inline-block; font: 500 .72rem/1 var(--f-mono); text-transform: none; letter-spacing: .12em; background: var(--ink); color: var(--accent); padding: 7px 10px; border-radius: 999px; margin-bottom: 14px; }
/* bento: first card large, image-overlay style */
.cards.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
.cards.bento .card { min-height: 300px; }
.cards.bento .card .card-media { position: absolute; inset: 0; }
.cards.bento .card .card-media img { height: 100%; aspect-ratio: auto; }
.cards.bento .card .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,46,0) 25%, rgba(14,27,46,.92) 100%); }
.cards.bento .card-body { position: relative; margin-top: auto; color: var(--white); }
.cards.bento .card-link, .cards.bento .card > .card-body:only-child { height: 100%; }
.cards.bento .card:not(:has(.card-link)) { display: flex; flex-direction: column; }
.cards.bento .card-body p { color: var(--on-dark-muted); }
.cards.bento .card .more { color: var(--accent); }
.cards.bento .card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cards.bento .card:nth-child(1) h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.cards.bento .card:nth-child(2) { grid-column: span 2; }
/* 5-card bento: 1 big + 2x2 small */
.cards.bento .card:nth-child(2):nth-last-child(4) { grid-column: span 1; }
/* 6-card bento: last two share a row */
.cards.bento .card:nth-child(6):last-child { grid-column: span 2; }
.cards.bento .card:nth-child(5):nth-last-child(2) { grid-column: span 2; }
/* plain cards (no image) */
.cards.plain .card { border: 1px solid rgba(18,24,32,.1); }
.cards.plain .card-body { padding: 30px; }
.cards.plain .card h3 { margin-top: 28px; }

/* Stats / objectives */
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.stat-value { display: block; font: 800 clamp(2.4rem, 4.4vw, 4rem)/1 var(--f-display); letter-spacing: -0.04em; color: var(--accent); margin-bottom: 14px; }
.stat-label { display: block; font-weight: 600; color: var(--white); font-size: 1.05rem; }
.stat p { margin: 8px 0 0; font-size: .92rem; }
.stat-value.long { font-size: clamp(1.8rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; }
.sec-stats:not(.theme-dark) .stat { background: var(--white); border-color: rgba(18,24,32,.08); }
.sec-stats:not(.theme-dark) .stat-label { color: var(--text); }
.sec-stats:not(.theme-dark) .stat p { color: var(--muted); }
.v-objectives .stat { background: var(--forest) !important; border: 0; min-height: 280px; display: flex; flex-direction: column; }
.v-objectives .stat-value { font-size: 1rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .1em; margin-bottom: auto; }
.v-objectives .stat-label { font: 700 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--white) !important; margin-top: 48px; }
.v-objectives .stat p { color: var(--on-dark-muted) !important; }
.v-objectives .stat:nth-child(1) { background: var(--accent) !important; }
.v-objectives .stat:nth-child(1) .stat-value, .v-objectives .stat:nth-child(1) .stat-label, .v-objectives .stat:nth-child(1) p { color: var(--ink) !important; }

/* Downloads */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dl a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dl a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(14,27,46,.35); }
.dl-media { background: var(--mist); padding: 22px 22px 0; }
.dl-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px 8px 0 0; box-shadow: 0 10px 30px -12px rgba(14,27,46,.5); transition: transform .4s var(--ease); }
.dl a:hover .dl-media img { transform: translateY(-6px); }
.dl-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dl-body h3 { font-size: 1.1rem; }
.dl-meta { font: 500 .78rem var(--f-mono); color: var(--muted); }
.dl-btn { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--accent-ink); }

/* News */
.news-featured { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.nf-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.nf-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.nf-body h3 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
.nf-body p { color: var(--on-dark-muted); }
.nf-body time { font: 500 .85rem var(--f-mono); color: var(--accent); margin-bottom: 12px; }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(18,24,32,.16); }
.news-list a { display: grid; grid-template-columns: 170px 1fr auto; grid-template-areas: "date title arrow" "date text arrow"; column-gap: 32px; padding: 28px 8px; border-bottom: 1px solid rgba(18,24,32,.16); text-decoration: none; transition: background .25s, padding .25s var(--ease); }
.news-list a:hover { background: var(--white); padding-left: 20px; }
.news-list time { grid-area: date; font: 500 .85rem/1.9 var(--f-mono); color: var(--accent-ink); }
.news-list h3 { grid-area: title; margin: 0 0 6px; }
.news-list p { grid-area: text; margin: 0; color: var(--muted); }
.news-list .arrow { grid-area: arrow; align-self: center; font-size: 1.5rem; color: var(--accent-ink); transition: transform .25s var(--ease); }
.news-list a:hover .arrow { transform: translateX(6px); }

/* Team */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 18px; }
.member-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.member-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member-media img { transform: scale(1.04); }
.member h3 { margin-bottom: 4px; }
.member .role { font: 500 .8rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.member .bio { color: var(--muted); font-size: .95rem; }
/* Few team members: keep cards a sensible size instead of stretching */
.team.n-2 { grid-template-columns: repeat(2, minmax(0, 360px)); }
.team.n-3 { grid-template-columns: repeat(3, minmax(0, 360px)); }
/* Single team member: horizontal profile card */
.team.single { grid-template-columns: 1fr; }
.team.single .member { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(18px, 2.5vw, 28px); }
.team.single .member-media { margin: 0; }
.team.single .member h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.team.single .member .role { font-size: .9rem; margin-bottom: 18px; }
.team.single .member .bio { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 60ch; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact .sec-head { margin-bottom: 36px; }
.direct { padding: 20px 0; border-top: 1px solid rgba(18,24,32,.14); }
.direct h3 { font-size: 1rem; font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); }
.direct p { margin: 0; }
.contact-map { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; }
.contact-form { background: var(--ink); color: var(--on-dark); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); }
.contact-form h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.note { color: var(--on-dark-muted); font-size: .92rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 28px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--on-dark); }
.field input, .field select, .field textarea, .nl-row input { width: 100%; font: inherit; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); padding: 13px 14px; transition: border-color .2s, background .2s; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .nl-row input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); }
.form-status { margin: 14px 0 0; color: var(--accent); min-height: 1.2em; font-size: .92rem; }

/* CTA band (full-bleed image) */
.sec-cta { background: var(--forest); color: var(--white); overflow: hidden; text-align: left; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,42,69,.97) 0%, rgba(22,42,69,.7) 55%, rgba(22,42,69,.35)); }
.cta-inner { position: relative; }
.cta-inner h2 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.cta-inner .lead { color: var(--on-dark); }

/* Logos */
.sec-logos { padding: calc(var(--sec-y) * .6) 0; }
.logos-title { font-size: clamp(1.3rem, 2vw, 1.8rem); text-align: center; margin-bottom: 36px; color: var(--muted); }
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logos img { border-radius: var(--radius-sm); filter: grayscale(1); opacity: .8; transition: opacity .3s, filter .3s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 88px 0 28px; border-top: 3px solid var(--accent); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.5fr; gap: 48px; }
.f-h { font: 500 .78rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer p { margin: 0 0 .4em; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.f-links a, .f-bottom a { text-decoration: none; color: var(--on-dark); }
.f-links a:hover, .f-bottom a:hover { color: var(--accent); }
.newsletter .f-h { font: 700 1.4rem/1.15 var(--f-display); letter-spacing: -0.02em; text-transform: none; }
.nl-row { display: flex; gap: 8px; margin-top: 16px; }
.nl-row input { border-radius: 999px; padding: 13px 18px; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Reveal-on-scroll (only when JS + motion allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1360px) {
  .logo-sub { display: none; }
}
@media (max-width: 1180px) {
  #site-nav ul a { padding: 8px 7px; font-size: .88rem; }
}
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  #site-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px; background: var(--ink); padding: 20px var(--pad) 32px; transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; max-height: calc(100vh - 76px); overflow: auto; }
  .nav-open #site-nav { transform: none; visibility: visible; }
  #site-nav ul { flex-direction: column; }
  #site-nav ul a { font: 700 1.6rem/1.2 var(--f-display); padding: 10px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  #site-nav .btn { justify-content: center; }
  .logo-sub { display: block; }
  .stats, .downloads, .team, .logos { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature:not(:nth-child(3n+1)) { padding: 32px 24px 36px 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(18,24,32,.14); }
  .theme-dark .feature:nth-child(even) { border-color: rgba(255,255,255,.12); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.bento { grid-template-columns: repeat(2, 1fr); }
  .cards.bento .card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .cards.bento .card:nth-child(1) { grid-column: span 2 !important; min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact { grid-template-columns: 1fr; }
  .team.single .member { grid-template-columns: 1fr; }
  .team.single .member-media { max-width: 420px; }
  .team.n-2, .team.n-3 { grid-template-columns: repeat(2, 1fr); }
  .split.reverse .split-media { order: 0; }
  .news-featured { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { height: 68px; }
  .sec-hero { margin-top: -68px; padding-top: 68px; min-height: 88vh; }
  .sec-hero.v-page { min-height: 70vh; }
  .hero-media img, .cta-media img { object-position: 22% center; }
  #site-nav { inset: 68px 0 auto 0; }
  .stats, .downloads, .team, .logos, .cards, .cards.bento, .features, .footer-grid, .fields { grid-template-columns: 1fr; }
  .downloads { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dl-media { padding: 14px 14px 0; }
  .dl-body { padding: 14px 14px 18px; }
  .dl-body h3 { font-size: .98rem; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .cards.bento .card, .cards.bento .card:nth-child(1) { grid-column: auto !important; min-height: 300px; }
  .cards.bento .card:nth-child(1) { min-height: 400px; }
  .feature, .feature:nth-child(even), .feature:not(:nth-child(3n+1)) { padding: 26px 0; border-left: 0; }
  .feature .num { margin-bottom: 14px; }
  .v-objectives .stat { min-height: 0; }
  .v-objectives .stat-label { margin-top: 28px; }
  .news-list a { grid-template-columns: 1fr auto; grid-template-areas: "date arrow" "title arrow" "text arrow"; column-gap: 16px; }
  .nl-row { flex-direction: column; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .member .bio { font-size: .88rem; }
  .team.single { grid-template-columns: 1fr; }
  .team.single .member .bio { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-media img { transform: none; }
}
.nf-body .tag, .theme-dark .tag { background: var(--accent); color: var(--ink); }

.tag { line-height: 1.35; border-radius: 10px; max-width: 100%; white-space: normal; }


h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); font-style: normal; font-weight: 600; letter-spacing: 0.005em; line-height: 1.04; }
h1 { font-weight: 700; letter-spacing: 0.01em; font-size: clamp(2.9rem, 7.6vw, 6.8rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: 0.01em; line-height: 1.12; }
h4 { font-size: 1.3rem; } h5 { font-size: 1.15rem; } h6 { font-size: 1rem; }
.hero-inner h1 { max-width: 20ch; }
.v-page .hero-inner h1 { font-size: clamp(2.8rem, 6.3vw, 5.7rem); max-width: 22ch; }
.sec-hero .slogan { font-weight: 600; letter-spacing: 0.01em; font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.stat-value { font-weight: 700; letter-spacing: 0; }
.stat-value.long { letter-spacing: 0; }
.v-objectives .stat-label { font-weight: 600; letter-spacing: 0.01em; font-size: clamp(1.6rem, 2.3vw, 2.15rem); }
.newsletter .f-h { font-weight: 600; letter-spacing: 0.01em; font-size: 1.65rem; }
.cards.bento .card:nth-child(1) h3 { font-size: clamp(1.8rem, 2.9vw, 2.7rem); }
.team.single .member h3 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.contact-form h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta-inner h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
@media (max-width: 1100px) { #site-nav ul a { font-weight: 600; letter-spacing: 0.01em; font-size: 1.85rem; } }

/* go-live 2026-10-15: no-image splits, forms */
.split.no-media { grid-template-columns: 1fr; max-width: 860px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .82rem; opacity: .8; margin: 0 0 16px; }
.form-terms-note { font-size: .82rem; opacity: .8; margin: 12px 0 0; }
.form-terms-note a { color: inherit; text-decoration: underline; }
.form-terms-note a:hover { color: var(--accent); }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin-top: 12px; }
.nl-consent input { margin-top: 3px; }
[aria-invalid="true"] { border-color: #FF8A4F !important; }
.form-success { font-size: 1.05rem; font-weight: 600; color: var(--accent); margin: 0; }
.hero-media:empty + .hero-shade { display: none; }


.team .member-media img { aspect-ratio: auto; height: auto; object-fit: contain; }


.sec-hero .slogan { max-width: none; }
.sec-hero .slogan .ln { display: block; white-space: nowrap; }
@media (max-width: 520px) { .sec-hero .slogan { font-size: min(1.3rem, 5.2vw); } }



.sec-hero .hero-media{
  background: url(media/a2d080115f43.png) right center / auto 95% no-repeat;
  opacity: .42;
  transform: scale(1.02);
}
.sec-hero .hero-media>*{display:none!important}
.sec-hero .hero-media:empty + .hero-shade{display:block!important}
/* slightly stronger shade so headlines stay readable over logo fade */
.sec-hero .hero-shade{
  background: linear-gradient(90deg, rgba(14,27,46,.88) 0%, rgba(14,27,46,.62) 42%, rgba(14,27,46,.28) 78%, rgba(14,27,46,.18) 100%),
              linear-gradient(180deg, rgba(14,27,46,.35) 0%, rgba(14,27,46,.12) 40%, rgba(14,27,46,.55) 100%) !important;
}

.site-header li.has-sub{position:relative}.site-header .sub{display:none;position:absolute;top:100%;left:0;min-width:210px;margin:0;padding:.4rem 0;list-style:none;background:#2b2b2b;box-shadow:0 8px 24px rgba(0,0,0,.25);z-index:60}.site-header li.has-sub:hover>.sub,.site-header li.has-sub:focus-within>.sub{display:block}.site-header .sub li{display:block;margin:0}.site-header .sub a{display:block;padding:.45rem 1rem;white-space:nowrap;color:#fff}@media (max-width:1100px){.site-header .sub{display:block;position:static;box-shadow:none;background:none;padding:0 0 0 1rem;min-width:0}}
/* partner logo cards (Business Partners + Other EPS Business Partners) */#partners .card-media{background:#fff;height:120px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;padding:14px;overflow:hidden}#partners .card-media img{width:auto!important;height:auto!important;max-width:80%;max-height:92px;object-fit:contain;aspect-ratio:auto}
img[alt="Genset Reliability logo"]{background:#fff!important;object-fit:contain!important;box-sizing:border-box;padding:16px!important;opacity:1!important;filter:none!important;}

body[data-page="partners"] .card-link[href="partner-genset-reliability.html"] .card-media{padding:8px!important;}
body[data-page="partners"] .card-link[href="partner-genset-reliability.html"] .card-media img{max-width:96%!important;max-height:108px!important;padding:8px!important;object-fit:contain!important;}


body[data-page="home"] #offer h2{white-space:pre-line;}
body[data-page="contact"] .field[data-parts-only][hidden]{display:none!important;}
