/* Biztech Software — site styles. No framework: tokens, a handful of layout primitives and components. */

:root {
    --green: #8bba35;          /* logo green */
    --green-bright: #a3d14a;
    --green-ink: #4f7412;      /* green text on white (AA) */
    --green-wash: #f2f8e6;
    --ink: #121518;            /* dark sections */
    --ink-2: #1b1f23;
    --ink-3: #262b30;
    --text: #1d2125;
    --muted: #5a626a;
    --muted-on-dark: #a9b1b8;
    --line: #e4e7ea;
    --line-dark: #2e343a;
    --surface: #f5f7f8;
    --white: #fff;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgb(16 24 32 / .06), 0 1px 3px rgb(16 24 32 / .08);
    --shadow: 0 10px 30px -12px rgb(16 24 32 / .25), 0 4px 10px -6px rgb(16 24 32 / .12);
    --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / .45);

    --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --font-display: "Inter Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 120px);
    --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 720; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

.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: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-surface { background: var(--surface); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead, .section-dark p { color: var(--muted-on-dark); }
.section-dark a:not(.btn) { color: var(--green-bright); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--green-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--green); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--green-bright); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1.15fr; }
    .split.media-first > :first-child { order: 2; }
    .split.even { grid-template-columns: 1fr 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn-primary { background: var(--green); color: var(--ink); box-shadow: 0 6px 20px -8px rgb(139 186 53 / .8); }
.btn-primary:hover { background: var(--green-bright); color: var(--ink); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--text); color: var(--text); }
.btn-ghost-light { color: var(--white); border-color: rgb(255 255 255 / .28); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); background: rgb(255 255 255 / .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgb(255 255 255 / .92); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgb(16 24 32 / .2); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand img { width: 130px; height: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
    background: none; border: 0; font: inherit; font-size: .98rem; font-weight: 560; color: var(--text);
    text-decoration: none; cursor: pointer;
}
.nav-link:hover, .has-menu.is-open > .nav-link { background: var(--surface); color: var(--text); }
.nav-link.is-active { color: var(--green-ink); }
.nav-chevron { width: 16px; height: 16px; transition: transform .2s; }
.has-menu { position: relative; }
.has-menu.is-open .nav-chevron { transform: rotate(180deg); }
.menu {
    position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 240px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu-wide { min-width: 640px; }
.menu-wide .menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu-wide .menu-list > li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
.has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1024px) {
    .has-menu:hover > .menu, .has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: none; }
    .has-menu:hover .nav-chevron { transform: rotate(180deg); }
}
.menu-list { list-style: none; }
.menu-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.menu-link:hover, .menu-link[aria-current="page"] { background: var(--surface); color: var(--text); }
.menu-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green-wash); color: var(--green-ink); flex: none; }
.menu-icon .icon { width: 20px; height: 20px; }
.menu-title { display: block; font-weight: 640; font-size: .96rem; line-height: 1.3; }
.menu-summary { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--text); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }

@media (max-width: 1023px) {
    .nav-toggle { display: grid; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); padding: 16px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    /* backdrop-filter makes the header the containing block for the fixed panel, so drop it while open */
    .nav-open .site-header { backdrop-filter: none; background: var(--white); border-bottom-color: var(--line); }
    .nav-open .nav-toggle-open { display: none; }
    .nav-open .nav-toggle-close { display: block; }
    .nav-open { overflow: hidden; }
    .nav-list { flex-direction: column; align-items: stretch; margin: 0; }
    .nav-list > li { border-bottom: 1px solid var(--line); }
    .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 1.1rem; }
    .nav-link:hover, .has-menu.is-open > .nav-link { background: none; }
    .menu, .menu-wide { position: static; translate: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
    .has-menu.is-open > .menu { display: block; }
    .menu-wide .menu-list { grid-template-columns: 1fr; }
    .menu-wide .menu-list > li:first-child { border: 0; margin: 0; padding: 0; }
    .nav-actions { flex-direction: column; align-items: stretch; margin: 24px 0 0; gap: 12px; }
    .nav-actions .nav-link { border-bottom: 1px solid var(--line); }
    .nav-actions .btn { min-height: 52px; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: radial-gradient(1200px 600px at 85% -10%, rgb(139 186 53 / .22), transparent 60%),
                radial-gradient(900px 500px at -10% 110%, rgb(139 186 53 / .10), transparent 60%), var(--ink);
    color: var(--white); padding-block: clamp(56px, 8vw, 110px) clamp(64px, 9vw, 120px);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1.1fr; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { color: var(--muted-on-dark); max-width: 560px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: var(--muted-on-dark); font-size: .95rem; list-style: none; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--green); width: 18px; height: 18px; }

.hero-visual { position: relative; padding-bottom: 12%; }
.hero-visual .frame-main { position: relative; z-index: 1; }
.hero-visual .frame-float { position: absolute; z-index: 2; right: -4%; bottom: 0; width: 52%; }
@media (max-width: 999px) { .hero-visual .frame-float { right: 0; } }

/* ---------- Media frames ---------- */
.frame {
    border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.frame-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-dark); }
.frame-light .frame-bar { border-bottom-color: var(--line); background: var(--surface); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4147; }
.frame-light .frame-bar span { background: #d5d9dd; }
.frame-bar b { margin-left: 8px; font-size: .75rem; font-weight: 600; color: var(--muted-on-dark); letter-spacing: .02em; }
.frame-light .frame-bar b { color: var(--muted); }
.frame img { width: 100%; }
.figure { margin: 0; }
.figure figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--white); padding: clamp(24px, 3vw, 36px); }
.stat-value { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 760; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.stat-value span { color: var(--green); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: .98rem; line-height: 1.45; }
.section-dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section-dark .stat { background: var(--ink); }
.section-dark .stat-value { color: var(--white); }

/* ---------- Cards ---------- */
.card {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 30px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: rgb(139 186 53 / .7); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
a.card .text-link { margin-top: auto; padding-top: 8px; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green-wash); color: var(--green-ink); }
.card-icon .icon { width: 24px; height: 24px; }
.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .card p, .section-dark .feature p { color: var(--muted-on-dark); }
.section-dark .card-icon { background: rgb(139 186 53 / .14); color: var(--green-bright); }
.section-surface .card { border-color: transparent; box-shadow: var(--shadow-sm); }

.feature-list { display: grid; gap: 22px; list-style: none; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.feature h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.feature .card-icon { width: 42px; height: 42px; border-radius: 11px; }
.feature .card-icon .icon { width: 21px; height: 21px; }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--green-ink); }
.section-dark .check-list .icon { color: var(--green); }
.check-list.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 24px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pill-list li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 550; }
.section-dark .pill-list li { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }

/* ---------- Product rows (home + overview) ---------- */
.product-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Showcase (alternating rows) ---------- */
.showcase { display: grid; gap: clamp(72px, 10vw, 120px); }
.showcase .split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); gap: 12px; list-style: none; }
.logo-wall li { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.logo-wall a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-wall img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.logo-wall-label { margin-bottom: 20px; font-size: .95rem; }
.logo-wall.large {grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.logo-wall.large img { max-height: 84px; }

/* ---------- Callout / CTA ---------- */
.cta {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px);
    background: radial-gradient(700px 300px at 100% 0%, rgb(139 186 53 / .35), transparent 60%), var(--ink); color: var(--white);
    display: grid; gap: 28px; align-items: center;
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted-on-dark); margin: 0; max-width: 620px; }

.highlight {
    display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg); background: var(--green-wash); border: 1px solid #dcebc0;
}
@media (min-width: 800px) { .highlight { grid-template-columns: auto 1fr; } }
.highlight .big { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 780; letter-spacing: -.05em; line-height: .9; color: var(--green-ink); }
.highlight h3 { font-size: 1.35rem; margin-bottom: 6px; }
.highlight p { margin: 0; color: var(--muted); }

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white);
    padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(800px 400px at 90% 0%, rgb(139 186 53 / .25), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 900px; }
.page-hero .lead { color: var(--muted-on-dark); max-width: 720px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero.with-media { padding-bottom: 0; }
.page-hero-media { margin-top: clamp(40px, 6vw, 64px); margin-bottom: calc(clamp(40px, 8vw, 100px) * -1); position: relative; z-index: 1; }
.page-hero.with-media + .section { padding-top: calc(var(--section) + clamp(40px, 8vw, 100px)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 20px; font-size: .9rem; color: var(--muted-on-dark); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted-on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

.highlight .big small { font-size: .38em; letter-spacing: 0; margin-left: 4px; }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 24px; margin-top: 24px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; }
.steps li::before {
    content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--ink); color: var(--green); font-weight: 750;
}
.steps h3 { font-size: 1.08rem; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Device shots ---------- */
.phone-shot { display: grid; place-items: center; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 30%, var(--green-wash), var(--surface) 70%); }
.phone-shot img { width: 220px; filter: drop-shadow(0 24px 40px rgb(16 24 32 / .25)); }
.web-shot img { width: 100%; max-width: 1000px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .45)); }
.screen-portrait { max-width: 340px; margin-inline: auto; }

/* ---------- Gallery (scroll-snap, no JS) ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 640px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; }
.gallery > * { scroll-snap-align: start; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose strong { color: var(--text); }

/* ---------- Timeline (news) ---------- */
.timeline { list-style: none; display: grid; gap: 24px; position: relative; }
.timeline-item { display: grid; gap: 20px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
@media (min-width: 800px) { .timeline-item { grid-template-columns: 160px 1fr; } }
.timeline-date { font-weight: 700; color: var(--green-ink); font-size: .95rem; }
.timeline-item h2 { font-size: 1.4rem; }
.timeline-item p { color: var(--muted); }
.timeline-item img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin-top: 8px; max-width: 520px; width: 100%; }

/* ---------- Team ---------- */
.team-group + .team-group { margin-top: 48px; }
.team-group h2 { font-size: 1.25rem; margin-bottom: 18px; color: var(--muted); font-weight: 650; letter-spacing: -.01em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; list-style: none; }
.person { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--ink); color: var(--green); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.person-name { font-weight: 650; line-height: 1.3; }
.person-role { font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* ---------- Contact ---------- */
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }

.contact-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); }
.contact-card h2 { font-size: 1.3rem; }
.contact-grid { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.contact-grid li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.contact-grid .card-icon { width: 40px; height: 40px; border-radius: 10px; }
.contact-grid .card-icon .icon { width: 20px; height: 20px; }
.contact-grid strong { display: block; font-size: .95rem; }
.contact-grid span, .contact-grid a { color: var(--muted); overflow-wrap: anywhere; }
.contact-grid a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 48px; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 130px; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.footer-support { display: flex; gap: 10px; align-items: center; color: var(--white); }
.footer-support .icon { color: var(--green); }
.footer-heading { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; font-weight: 700; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; border-top: 1px solid var(--line-dark); padding-block: 24px 32px; font-size: .85rem; }
.footer-legal p { margin: 0; max-width: 760px; }
.footer-legal a { text-decoration: underline; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 16px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@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; }
}

@media print {
    .site-header, .site-footer, .cta, .btn { display: none !important; }
    .hero, .page-hero, .section-dark { background: none; color: var(--text); }
}
