@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00B3DC;      /* brand blue */
    --accent: #0B4F6C;       /* deep navy blue, for contrast against brand blue */
    --pulse-green: #8DC63F;  /* logo pulse-line green */
    --ink: #1c1a17;
    --bg-cream: #FAF7F2;
    --bg-white: #ffffff;
    --text-muted: #625d56;
    --border: #e2ecf0;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background-color: var(--bg-cream); color: var(--ink); line-height: 1.65; font-weight: 400; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 5%; }
.section { padding: 90px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-white); }

.eyebrow { position: relative; display: flex; width: fit-content; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; color: var(--accent); margin: 0 0 16px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--primary); display: inline-block; flex-shrink: 0; }
.section-head.center .eyebrow, .hero-text .eyebrow, .page-hero .eyebrow { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* --- Navigation --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 5%; background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(8px);
    position: sticky; top: 0; z-index: 2000; border-bottom: 1px solid var(--border);
}
.logo img { height: 54px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.72rem; transition: 0.25s; text-transform: uppercase; letter-spacing: 0.4px; padding-bottom: 3px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; background: var(--ink); height: 2px; width: 24px; position: relative; transition: 0.3s;
}
.nav-toggle-label span::before { content: ''; position: absolute; top: -8px; }
.nav-toggle-label span::after { content: ''; position: absolute; bottom: -8px; }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 40px 0 30px; min-height: 460px; display: flex; align-items: center; }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-text { position: relative; max-width: 760px; margin: 0 auto; padding: 16px 20px; }
.hero-text::before {
    content: ''; position: absolute; inset: -30px -14% -26px; z-index: -1;
    background:
        radial-gradient(ellipse 68% 58% at 50% 26%, rgba(6,7,9,0.82) 0%, rgba(6,7,9,0.58) 45%, rgba(6,7,9,0) 76%),
        radial-gradient(ellipse 62% 54% at 50% 88%, rgba(6,7,9,0.78) 0%, rgba(6,7,9,0.5) 45%, rgba(6,7,9,0) 78%);
}
.hero-text .eyebrow { color: #7fd4ff; }
.hero-text .eyebrow::before { background: #7fd4ff; }
.hero-badge { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.78rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 1.2px; text-transform: uppercase; }
.hero-badge i { font-size: 0.85rem; }
.hero h1 { position: relative; z-index: 1; font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 600; line-height: 1.1; margin-bottom: 22px; color: #fff; }
.hero-text h1 .blue { color: #4fd1ff; }
.hero-text h1 .pink { color: var(--pulse-green); }
.hero-text > p { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; color: rgba(255,255,255,0.88); font-size: 1.15rem; }
.hero-text > p strong { color: #fff; }

/* --- Ambient pulse trace (hero background) --- */
.pulse-bg { position: absolute; top: 50%; left: 50%; width: 100vw; margin-left: -50vw; height: 140px; transform: translateY(-50%); opacity: 0.4; pointer-events: none; z-index: 0; overflow: hidden; }
.pulse-bg svg { position: absolute; top: 0; left: -40%; display: block; width: 180%; height: 100%; animation: pulse-scroll 4s linear infinite; }
@keyframes pulse-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-16.6667%); }
}
@media (prefers-reduced-motion: reduce) {
    .pulse-bg svg { animation: none; }
}
.page-hero { padding: 56px 0 30px; text-align: center; border-bottom: 1px solid var(--border); background: var(--bg-white); }
.page-hero h1, .page-hero h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.blue { color: var(--primary); }
.pink { color: var(--accent); }

/* --- Hero background image (behind the text) --- */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: hero-pan 26s ease-in-out infinite alternate; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,14,0.1) 0%, rgba(8,10,14,0.05) 45%, rgba(8,10,14,0.15) 100%); }
@keyframes hero-pan {
    from { transform: scale(1.06) translate(0, 0); }
    to { transform: scale(1.16) translate(-1.5%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg-img, .product-showcase-img { animation: none; }
}
@media (max-width: 768px) {
    .hero { min-height: 420px; padding: 40px 0 30px; }
}

/* --- Product showcase (image as full-bleed animated background, text overlaid) --- */
.product-showcase { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; padding: 0; }
.product-showcase-bg { position: absolute; inset: 0; z-index: 0; }
.product-showcase-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: hero-pan 26s ease-in-out infinite alternate; }
.product-showcase-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,10,14,0.94) 0%, rgba(8,10,14,0.85) 50%, rgba(8,10,14,0.45) 82%, rgba(8,10,14,0.15) 100%); }
.product-showcase-content { position: relative; z-index: 1; max-width: 920px; width: 100%; padding: 60px 8%; color: #fff; }
.product-showcase-content .eyebrow.light { color: #7fd4ff; }
.product-showcase-content .eyebrow.light::before { background: #7fd4ff; }
.product-showcase-content h2 { color: #fff; margin: 12px 0 18px; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.product-showcase-content p { color: rgba(255,255,255,0.82); margin-bottom: 24px; }
.product-showcase-content ul { list-style: none; text-align: left; margin-bottom: 30px; }
.product-showcase-content ul li { margin-bottom: 12px; color: #fff; }
.product-showcase-content ul li i { color: #4fd1ff; margin-right: 8px; }
@media (max-width: 768px) {
    .product-showcase { min-height: auto; }
    .product-showcase-content { padding: 40px 8%; max-width: 100%; }
}

/* --- Stat band --- */
.stat-band { background: var(--ink); color: #fff; padding: 32px 0; }
.stat-band .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px 0; text-align: center; }
.stat-band .stat { position: relative; flex: 1; min-width: 140px; padding: 0 22px; }
.stat-band .stat::before { content: ''; display: block; width: 34px; height: 3px; background: var(--primary); margin: 0 auto 16px; border-radius: 2px; }
.stat-band .stat:not(:last-child)::after { content: ''; position: absolute; top: 8px; right: 0; width: 1px; height: calc(100% - 16px); background: rgba(255,255,255,0.14); }
.stat-band .stat h3 { font-family: var(--serif); font-size: 2.5rem; color: #fff; margin-bottom: 6px; }
.stat-band .stat p { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: #b9b3a8; font-weight: 600; }
@media (max-width: 768px) {
    .stat-band .stat:not(:last-child)::after { display: none; }
}

/* --- Pull quote --- */
.pull-quote { position: relative; max-width: 760px; margin: 20px auto; padding: 6px 0 6px 40px; border-left: 3px solid var(--accent); }
.pull-quote::before { content: '\201C'; position: absolute; left: 4px; top: -18px; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--primary); opacity: 0.5; }
.pull-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.55rem); line-height: 1.5; color: var(--ink); }
.pull-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); }

/* --- Grid & Cards --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
@media (max-width: 380px) {
    .grid-2 { grid-template-columns: 1fr; }
}
.card { padding: 30px; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; background: var(--bg-white); text-align: left; box-shadow: 0 10px 24px rgba(28, 26, 23, 0.045); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(28, 26, 23, 0.09); }
.card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 16px; display: inline-block; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card.center { text-align: center; }
.teaser-image { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; margin-bottom: 18px; display: block; background: var(--bg-cream); }

.use-case-card { border-left: 3px solid var(--accent); background: var(--bg-white); padding: 32px; border-radius: 0 6px 6px 0; border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: left; box-shadow: 0 10px 24px rgba(28, 26, 23, 0.045); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.use-case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(28, 26, 23, 0.09); }
.use-case-card h4 { color: var(--primary); font-size: 1.25rem; margin-bottom: 12px; font-family: var(--serif); }
.use-case-card p { color: var(--text-muted); }


/* --- Founder showcase --- */
.founder-showcase { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; margin-top: 10px; }
.founder-photo { text-align: center; order: 2; }
.founder-photo img { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; border: 5px solid var(--bg-white); box-shadow: 0 20px 45px rgba(28, 26, 23, 0.14); }
.founder-photo h3 { margin-top: 20px; font-size: 1.3rem; }
.founder-photo p { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.6px; margin-top: 3px; }

.founder-achievements { display: flex; flex-direction: column; gap: 28px; width: 250px; }
.founder-achievements.left { order: 1; align-items: flex-end; margin-left: auto; }
.founder-achievements.right { order: 3; align-items: flex-start; margin-right: auto; }

.achievement-badge { display: flex; align-items: center; gap: 12px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; box-shadow: 0 10px 24px rgba(28, 26, 23, 0.05); width: 230px; box-sizing: border-box; transition: box-shadow 0.25s ease; }
.achievement-badge:hover { box-shadow: 0 18px 36px rgba(28, 26, 23, 0.1); }
.achievement-badge i { color: var(--primary); font-size: 1.05rem; flex-shrink: 0; width: 20px; text-align: center; }
.achievement-badge strong { display: block; font-family: var(--serif); font-size: 0.85rem; line-height: 1.3; }
.achievement-badge span { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; line-height: 1.35; }

/* Subtle horizontal stagger on the middle badge only - vertical gaps stay perfectly even on both sides */
.founder-achievements.left .achievement-badge.sway-2 { align-self: flex-start; }
.founder-achievements.right .achievement-badge.sway-2 { align-self: flex-end; }

@media (max-width: 860px) {
    .founder-showcase { grid-template-columns: 1fr; text-align: center; }
    .founder-achievements.left, .founder-achievements.right { align-items: center; width: 100%; max-width: 340px; margin: 0 auto; }
    .founder-photo { order: 1; }
    .founder-achievements.left { order: 2; }
    .founder-achievements.right { order: 3; }
    .founder-achievements .achievement-badge { width: 100%; max-width: 340px; align-self: center !important; }
}

/* --- Leadership team grid --- */
.leadership-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.leadership-row + .leadership-row { margin-top: 24px; }

.leader-card {
    width: 210px; text-align: center; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: 14px;
    padding: 30px 18px 24px; position: relative; overflow: hidden;
    box-shadow: 0 10px 26px rgba(28, 26, 23, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.leader-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--pulse-green));
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.leader-card:hover { transform: translateY(-7px); box-shadow: 0 24px 44px rgba(28, 26, 23, 0.12); border-color: rgba(0, 179, 220, 0.35); }
.leader-card:hover::before { transform: scaleX(1); }
.leader-card img {
    width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--bg-white); box-shadow: 0 0 0 3px rgba(0, 179, 220, 0.16), 0 14px 26px rgba(28, 26, 23, 0.12);
    margin-bottom: 16px; transition: box-shadow 0.3s ease;
}
.leader-card:hover img { box-shadow: 0 0 0 3px rgba(0, 179, 220, 0.32), 0 18px 30px rgba(28, 26, 23, 0.16); }
.leader-card h3 { font-size: 1rem; margin-bottom: 5px; }
.leader-card p { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

/* Featured = core leadership, given a bit more presence */
.leader-card.featured { width: 225px; padding: 32px 20px 26px; border-top: 3px solid var(--primary); }
.leader-card.featured::before { display: none; }
.leader-card.featured img {
    width: 122px; height: 122px;
    box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.22), 0 16px 30px rgba(28, 26, 23, 0.14);
}
.leader-card.featured:hover img { box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.4), 0 20px 34px rgba(28, 26, 23, 0.18); }
.leader-card.featured h3 { font-size: 1.15rem; }
.leader-card.featured p { color: var(--accent); font-weight: 700; }

/* Labelled dividers between the leadership block and the wider roster */
.section-divider { display: flex; align-items: center; gap: 18px; margin: 54px 0 30px; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.section-divider span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); white-space: nowrap; }
.section-divider span i { color: var(--primary); font-size: 0.85rem; }
.section-divider.top { margin-top: 6px; }

@media (max-width: 600px) {
    .leader-card, .leader-card.featured { width: 100%; max-width: 260px; }
    .section-divider { margin: 40px 0 24px; }
}

/* --- Trust / credibility strip --- */
.trust-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; padding: 12px 24px; border-radius: 40px; background: rgba(250, 247, 242, 0.9); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(28, 26, 23, 0.06); position: relative; z-index: 1; }
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink); }
.trust-strip i { color: var(--primary); font-size: 1rem; }

/* --- Institution strip --- */
.institution-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 6px; }
.institution-strip span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.institution-strip span strong { color: var(--ink); font-family: var(--serif); }

/* --- Numbered list / process --- */
.numbered-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; row-gap: 44px; margin-top: 10px; }
.numbered-item { flex: 0 1 240px; }
.numbered-item .num { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); opacity: 0.55; margin-bottom: 8px; display: block; }
.numbered-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.numbered-item p { color: var(--text-muted); font-size: 0.92rem; }
.numbered-item.boxed { border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; padding: 28px; background: var(--bg-white); box-shadow: 0 10px 24px rgba(28, 26, 23, 0.045); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.numbered-item.boxed:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(28, 26, 23, 0.09); }

/* --- Finding / research cards --- */
.finding-card { background: var(--bg-white); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; padding: 28px; box-shadow: 0 10px 24px rgba(28, 26, 23, 0.045); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.finding-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(28, 26, 23, 0.09); }
.finding-card h4 { font-size: 1rem; margin-bottom: 8px; }
.finding-card p { color: var(--text-muted); font-size: 0.88rem; }

.insight-block { padding: 20px 24px; margin-bottom: 14px; border-left: 3px solid var(--accent); background: var(--bg-white); border-radius: 0 4px 4px 0; }
.insight-block strong { font-family: var(--serif); }

.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 340px)); gap: 20px 40px; justify-content: center; }
@media (max-width: 600px) {
    .insight-grid { grid-template-columns: 1fr; }
}

/* --- Flex Layouts --- */
.flex-row { display: flex; gap: 60px; align-items: center; justify-content: center; flex-wrap: wrap; }
.flex-row.align-top { align-items: flex-start; }
.flex-item { flex: 1; min-width: 320px; }
.flex-reverse { flex-direction: row-reverse; }
.flex-item img { border-radius: 6px; }

/* --- Data Flow --- */
.flow-container { background: var(--bg-white); padding: 44px; border-radius: 6px; border: 1px solid var(--border); margin-top: 40px; text-align: center; }
.flow-container h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 6px; }
.flow-wrapper { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.flow-step { position: relative; flex: 1; min-width: 140px; padding: 0 6px; }
.flow-step:not(:last-child)::after { content: '\2192'; position: absolute; top: 18px; right: -12px; color: var(--border); font-size: 1.2rem; font-weight: 700; }
.flow-icon { width: 56px; height: 56px; background: var(--bg-cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--accent); font-size: 1.3rem; border: 1px solid var(--border); }
.flow-step strong { font-size: 0.85rem; }
.flow-step p { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 768px) {
    .flow-step:not(:last-child)::after { display: none; }
}

/* --- Ecosystem strip --- */
.ecosystem-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.ecosystem-strip span { padding: 8px 16px; border: 1px solid var(--border); border-radius: 3px; font-size: 0.8rem; font-weight: 600; background: var(--bg-white); }

/* --- Metric strip (accuracy/precision/recall) --- */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 10px; }
.metric-card { text-align: center; padding: 28px 20px; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; background: var(--bg-white); }
.metric-card h4 { font-family: var(--serif); color: var(--primary); font-size: 1.05rem; margin-bottom: 10px; }
.metric-card p { font-size: 0.85rem; color: var(--text-muted); }

/* --- Institution list --- */
/* --- Legal pages (Terms & Privacy) --- */
.legal-content { max-width: 820px; margin: 0 auto; line-height: 1.8; }
.legal-content .updated-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 44px; }
.legal-content h2 { font-size: 1.4rem; margin: 48px 0 18px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 30px 0 14px; font-family: var(--sans); font-weight: 700; color: var(--ink); }
.legal-content p { margin: 0 0 24px; color: var(--text-muted); }
.legal-content ul, .legal-content ol { margin: 0 0 24px 22px; color: var(--text-muted); }
.legal-content li { margin-bottom: 12px; }
.legal-content li:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }

.institution-list { list-style: none; margin-top: 20px; }
.institution-list li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted); }
.institution-list li:last-child { border-bottom: none; }
.institution-list strong { color: var(--ink); }

/* --- Dark Section --- */
.dark-section { background: var(--ink); color: #fff; padding: 80px 0; }
.contact-box { background: rgba(255, 255, 255, 0.04); padding: 40px; border-radius: 6px; text-align: left; max-width: 800px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.12); }
.contact-box.inline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.contact-box.inline h4 { margin-bottom: 6px; }
.contact-box.inline p { margin-bottom: 0; color: #cbd5e1; font-size: 0.9rem; }
.contact-box.inline .btn { flex-shrink: 0; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 3px; background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.15); transition: 0.25s; }
.social-btn:hover { background: var(--accent); border-color: var(--accent); }

/* --- Auto-scrolling gallery --- */
.auto-scroll-wrap { overflow: hidden; }
.auto-scroll-track { display: flex; gap: 20px; width: max-content; animation: auto-scroll 26s linear infinite; }
@media (hover: hover) and (pointer: fine) {
    .auto-scroll-wrap:hover .auto-scroll-track { animation-play-state: paused; }
}
@keyframes auto-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .auto-scroll-track { animation: none; }
}

/* --- Buttons --- */
.btn { display: inline-block; padding: 13px 30px; border-radius: 3px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.7px; text-decoration: none; transition: 0.25s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #08394d; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.hero .btn-outline { border-color: #fff; background: #fff; color: var(--ink); }
.hero .btn-outline:hover { background: transparent; color: #fff; }

/* --- Page teaser cards (home) --- */
.teaser-card { display: block; text-decoration: none; color: inherit; }
.teaser-card .card { height: 100%; display: flex; flex-direction: column; transition: border-color 0.25s; }
.teaser-card:hover .card { border-color: var(--accent); }
.teaser-more { display: inline-flex; align-items: center; gap: 7px; align-self: flex-end; margin-top: auto; padding-top: 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent); }
.teaser-more i { font-size: 0.7rem; transition: transform 0.25s ease; }
.teaser-card:hover .teaser-more i { transform: translateX(4px); }

/* --- Video embed --- */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 6px; border: 1px solid var(--border); max-width: 860px; margin: 0 auto; box-shadow: 0 24px 50px rgba(28, 26, 23, 0.08); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- Footer --- */
footer.site-footer { padding: 34px 0 26px; color: var(--text-muted); font-size: 0.82rem; background: var(--bg-white); border-top: 1px solid var(--border); }
footer.site-footer .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
footer.site-footer .footer-brand p { margin: 0; }
footer.site-footer .footer-tagline { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 0.9rem; margin-bottom: 6px !important; }
footer.site-footer .footer-social { display: flex; gap: 10px; }
footer.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 3px; border: 1px solid var(--border); color: var(--text-muted); transition: 0.25s; font-size: 0.82rem; }
footer.site-footer .footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
footer.site-footer .footer-links { display: flex; gap: 22px; }
footer.site-footer .footer-links a { color: var(--text-muted); text-decoration: none; }
footer.site-footer .footer-links a:hover { color: var(--accent); }
@media (max-width: 600px) {
    footer.site-footer .footer-inner { justify-content: center; text-align: center; }
}

/* --- Scroll reveal --- */
.legal-section { padding: 90px 0; border-bottom: 1px solid var(--border); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .logo img { height: 42px; }
    .nav-toggle-label { display: block; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-cream); display: none; flex-direction: column; padding: 25px; z-index: 2000; border-bottom: 1px solid var(--border); }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .flex-row { flex-direction: column; text-align: center; }
    .flow-wrapper { flex-direction: column; }
    .flow-step { min-width: 100%; margin-bottom: 20px; }
    .stat-band .container { justify-content: flex-start; }
}
