/* Shared design system for the ericolisboa site (story, work, practice pages).
   Mirrors the homepage tokens: Neue Haas Grotesk Display, dark surface, tight
   display type, expo-out reveals. The ASCII field is confined to .hero only. */

* { margin: 0; padding: 0; box-sizing: border-box; }

@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('fonts/NeueHaasGroteskDisplay-Reg.woff2') format('woff2'),
         url('fonts/NeueHaasGroteskDisplay-Reg.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('fonts/NeueHaasGroteskDisplay-Medium.woff2') format('woff2'),
         url('fonts/NeueHaasGroteskDisplay-Medium.woff') format('woff');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Neue Haas Grotesk Display';
    src: url('fonts/NeueHaasGroteskDisplay-Bold.woff2') format('woff2'),
         url('fonts/NeueHaasGroteskDisplay-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray: #999999;
    --dark-gray: #1a1a1a;
    --line: rgba(255, 255, 255, 0.1);
    --line-soft: rgba(255, 255, 255, 0.05);
    --ease: cubic-bezier(0.35, 0.755, 0.42, 0.95);
    /* Color law: proof signal only, never decoration */
    --seed: #2EBA76;   /* intention, calibration, start */
    --bloom: #3D7BC8;  /* work, settlement, exchange */
    --root: #8B4FBF;   /* transformation, mastery */
    --gold: #D4A017;   /* anchored, sealed, on-chain fact */
}

/* ===================================================================
   Design System v1: philosophy kit (build once, reusable).
   Monochrome base. Color asserts a proof state only, never decorates.
   =================================================================== */

/* Tier accents: permitted on text, hairline, tick, seal border only */
.accent-seed { color: var(--seed); }
.accent-bloom { color: var(--bloom); }
.accent-root { color: var(--root); }
.accent-gold { color: var(--gold); }

/* 1. Seal mark: a hairline block marking a sealed record */
.seal-mark {
    display: inline-block; border: 1px solid var(--line); border-radius: 0;
    padding: 1.1rem 1.35rem; background: transparent;
}
.seal-mark.is-sealed { border-color: var(--gold); }
.seal-mark__caption {
    display: block; margin-top: 0.65rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}

/* 2. Zero Boundary rule: one luminous white divider per page */
.zero-boundary {
    border: 0; height: 1px; margin: 5rem auto; max-width: 1400px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

/* 3. Coherence meter: monochrome track, one tier-colored tick */
.coherence-meter {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gray);
}
.coherence-meter__track { position: relative; flex: 1; height: 2px; background: var(--line); }
.coherence-meter__tick {
    position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border-radius: 50%;
    transform: translate(-50%, -50%); background: var(--bloom);
}

/* 4. Category tag: C1 to C4 claim grade in place */
.cat-tag {
    display: inline-block; border: 1px solid var(--line); border-radius: 999px;
    padding: 0.15em 0.6em; color: var(--gray);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
}
.cat-tag--c1 { border-color: var(--seed); color: var(--seed); }
.cat-tag--c2 { border-color: var(--gold); color: var(--gold); }
.cat-tag--c3 { border-color: var(--bloom); color: var(--bloom); }
.cat-tag--c4 { border-color: var(--root); color: var(--root); }

/* 5. Evidence line: DOIs, hashes, gamma, dates as mono ornament */
.evidence {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gray);
}
.evidence strong { color: var(--white); font-weight: 600; }

/* Visible focus on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

/* Reduced motion: show end state, kill kinetic layers */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal, .animate-on-scroll { opacity: 1 !important; transform: none !important; }
}

html { background-color: #000000; }

body {
    font-family: 'Neue Haas Grotesk Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background-color: transparent;
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: inherit; }

/* Grain noise on the page background only, behind every element */
.grain {
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: -1;
    animation: grain 8s steps(10) infinite;
}
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    30% { transform: translate(7%, -25%); }
    50% { transform: translate(-15%, 10%); }
    70% { transform: translate(0%, 15%); }
    90% { transform: translate(-10%, 10%); }
}

/* Navigation */
nav {
    position: fixed; top: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    display: flex; justify-content: flex-start; align-items: center; gap: 2.5rem;
    background: transparent;
    backdrop-filter: none;
    animation: fadeIn 1s var(--ease);
    transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
nav.scrolled { background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); padding: 1rem 2rem; }
.nav-links + .cta-button { margin-left: auto; }

.hero h1 { word-break: keep-all; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--white); }
.logo-mark { font-family: 'Neue Haas Grotesk Display', sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: -0.01em; color: #ffffff; }
.logo-mark strong { font-weight: 800; }
.logo-mark::before { content: "["; }
.logo-mark::after { content: "]"; }
/* Brackets keep full size; the inner label is 30% smaller. */
.logo-mark .logo-text { font-size: 0.7em; }

.nav-links {
    display: flex; gap: 2rem; list-style: none;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.nav-links a { text-decoration: none; transition: opacity 0.2s; opacity: 0.85; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { border-bottom: 1px solid var(--white); padding-bottom: 2px; }

.cta-button {
    background: transparent; color: var(--white);
    padding: 0.8rem 1.6rem; border: 1.5px solid var(--white); border-radius: 0;
    text-decoration: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s, transform 0.2s; display: inline-block;
}
.cta-button:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }

/* Page hero (ASCII field mounts here, behind .hero-content) */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex; align-items: flex-end;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, var(--black) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; width: 100%; }
.hero .eyebrow {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--gray); margin-bottom: 1.5rem;
    animation: fadeInUp 1s var(--ease) 0.1s both;
}
.hero h1 {
    font-size: clamp(3rem, 8.5vw, 6.5rem);
    font-weight: 700; line-height: 0.9; letter-spacing: -0.04em;
    max-width: 1100px;
    animation: fadeInUp 1.1s var(--ease) 0.2s both;
}
.hero .lede {
    margin-top: 2rem; max-width: 640px;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gray); line-height: 1.6;
    animation: fadeInUp 1.1s var(--ease) 0.4s both;
}

/* Generic section scaffolding */
.section { max-width: 1400px; margin: 0 auto; padding: 6rem 2rem; }
.section-head {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--gray); margin-bottom: 2.5rem;
    border-top: 1px solid var(--line); padding-top: 1.5rem;
}
.section h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700; line-height: 0.95; letter-spacing: -0.03em;
    margin-bottom: 2rem; max-width: 900px;
}
.section .body-copy { max-width: 720px; }
.section .body-copy p {
    font-size: 1.0625rem; color: var(--gray); line-height: 1.75; margin-bottom: 1.5rem;
}
.section .body-copy strong { color: var(--white); font-weight: 500; }

/* Lead statement (large pull quote) */
.lead-statement {
    font-size: clamp(1.6rem, 3.2vw, 2.75rem);
    font-weight: 500; line-height: 1.15; letter-spacing: -0.02em;
    max-width: 1000px;
}
.lead-statement .muted { color: var(--gray); }

/* Two-column meta grid */
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.meta-grid .label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gray); margin-bottom: 0.75rem;
}

/* Timeline (work) */
.timeline { border-top: 1px solid var(--line); }
.timeline-item {
    display: grid; grid-template-columns: 180px 1fr; gap: 2rem;
    padding: 2rem 0; border-bottom: 1px solid var(--line-soft);
    transition: background 0.3s;
}
.timeline-item:hover { background: rgba(255, 255, 255, 0.02); }
.timeline-date { font-size: 0.85rem; color: var(--gray); letter-spacing: 0.02em; padding-top: 0.25rem; }
.timeline-role { font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.timeline-org { color: var(--gray); font-size: 0.95rem; }
.timeline-acc { margin-top: 1rem; list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.timeline-acc li { position: relative; padding-left: 1.1rem; color: var(--gray); font-size: 0.95rem; line-height: 1.55; }
.timeline-acc li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }

/* Roles as a static two-column list */
.htimeline-wrap { position: relative; }
.htimeline { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-top: 2rem; }
.htimeline .timeline-item { display: block; border-bottom: none; padding: 1.75rem; background: var(--dark-gray); border: 1px solid var(--line-soft); border-radius: 0.5rem; }
.htimeline .timeline-date { padding-top: 0; margin-bottom: 0.6rem; font-size: 0.8rem; }
.htimeline .timeline-role { font-size: 1.25rem; margin-bottom: 0.35rem; }
.htimeline .timeline-org { font-size: 0.9rem; }
.htimeline .timeline-acc { margin-top: 1rem; }
@media (max-width: 768px) { .htimeline { grid-template-columns: 1fr; } }

/* Mixed image + practice rows */
.mix-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.mix-row--rev .mix-media { order: 2; }
.mix-media { border-radius: 0.5rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-gray); }
.mix-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mix-media:hover img { transform: scale(1.04); }
.mix-text h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.05; }
.mix-text p { color: var(--gray); font-size: 1.05rem; line-height: 1.7; max-width: 48ch; }
@media (max-width: 968px) {
    .mix-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .mix-row--rev .mix-media { order: 0; }
}

/* Domain / card grid (practice) */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
    background: var(--dark-gray); border: 1px solid var(--line-soft);
    border-radius: 0.5rem; padding: 2.5rem;
    transition: transform 0.3s var(--ease), background 0.3s;
}
.card:hover { transform: translateY(-0.4rem); background: rgba(26, 26, 26, 0.85); }
.card .num { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 1.25rem; }
.card h3 { font-size: 1.65rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.card p { color: var(--gray); font-size: 0.98rem; line-height: 1.65; margin-bottom: 1rem; }
.card .wow { color: var(--white); font-size: 0.98rem; line-height: 1.6; font-weight: 500; }

/* Numbered competency list */
.num-list { border-top: 1px solid var(--line); }
.num-list-item { display: grid; grid-template-columns: 64px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line-soft); }
.num-list-item .n { font-size: 1.25rem; color: var(--gray); }
.num-list-item h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.num-list-item p { color: var(--gray); font-size: 0.98rem; line-height: 1.65; }
.num-list-item .q { color: var(--white); font-size: 1.05rem; font-weight: 500; line-height: 1.5; margin-bottom: 0.7rem; letter-spacing: -0.01em; }

/* How I lead: three cards side by side */
.lead-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 968px) { .lead-cards { grid-template-columns: 1fr; } }

/* Plain lists (record: memberships, languages, recognition) */
.plain-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.plain-list li { color: var(--gray); font-size: 0.95rem; line-height: 1.55; }
.plain-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2.5rem; }
@media (max-width: 968px) { .plain-list.two-col { grid-template-columns: 1fr; } }

/* Chip rosters (clients, industries) */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
    border: 1px solid var(--line); border-radius: 2rem;
    padding: 0.6rem 1.1rem; font-size: 0.9rem; color: var(--white);
    transition: background 0.2s, border-color 0.2s;
}
.chip:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.stat .figure { font-size: clamp(2.5rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat .caption { margin-top: 0.75rem; color: var(--gray); font-size: 0.9rem; }

/* CTA strip */
.cta-strip { max-width: 1400px; margin: 0 auto; padding: 6rem 2rem 8rem; }
.cta-strip h2 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 2rem; max-width: 900px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 5rem 2rem 3rem; }
.footer-content { max-width: 1400px; margin: 0 auto; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; margin-bottom: 4rem; }
.footer-column h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.footer-column p, .footer-column a { font-size: 0.875rem; color: var(--gray); line-height: 1.7; text-decoration: none; display: block; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--gray); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Keyframes */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scrolling word marquee */
.coherence-banner { padding: 4rem 0; overflow: hidden; }
.coherence-text { font-size: clamp(5rem, 16vw, 15rem); font-weight: 700; white-space: nowrap; color: rgba(255, 255, 255, 0.1); letter-spacing: 0.02em; line-height: 0.85; display: inline-block; animation: scrollMarquee 40s linear infinite; }

/* Hero photo slider (tech-tribe staggered gallery: full bleed, varied sizes,
   alternating vertical offsets, 8px radius, warm glow top-left) */
.hero-gallery { position: relative; overflow: hidden; z-index: 2; margin-top: -11rem; }
/* work hero: fixed taller height, with space above the headline and below the
   lede so the overlapping cards never crowd the text */
.hero--overlap { height: 105vh; min-height: 880px; padding-top: 13rem; padding-bottom: 15rem; }
.hero-gallery::before {
    content: ""; position: absolute; top: -20%; left: -4%;
    width: 46%; height: 130%;
    background: radial-gradient(circle, rgba(217, 160, 90, 0.16), transparent 62%);
    pointer-events: none; z-index: 0;
}
.hero-slider {
    position: relative; z-index: 1;
    display: flex; align-items: flex-start; gap: 1.5rem;
    width: max-content; padding: 2rem 0 3.5rem; will-change: transform;
}
.hero-slide {
    flex: 0 0 clamp(192px, 17.6vw, 256px);
    height: clamp(240px, 22.4vw, 320px);
    border-radius: 8px; overflow: hidden; background: var(--dark-gray);
}
/* varied widths + a clean alternating up/down stagger (tech-tribe look). Classes
   are intrinsic (assigned in JS) so cloned slides keep the exact sequence and the
   loop stays seamless. is-down is purely a vertical offset so the rhythm reads. */
.hero-slide.is-down { margin-top: 5.5rem; }
.hero-slide.is-wide { flex-basis: clamp(288px, 25.6vw, 384px); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.hero-slide:hover img { transform: scale(1.05); }

/* Join the Network email capture (avatar social proof + pill input) */
.join-network { max-width: 780px; margin: 0 auto; }
.join-proof { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.join-avatars { display: flex; flex-shrink: 0; }
.join-avatars .avatar { width: 48px; height: 48px; border-radius: 50%; margin-left: -14px; border: 2px solid var(--black); }
.join-avatars .avatar:first-child { margin-left: 0; }
.join-avatars .a1 { background: linear-gradient(145deg, #7dccf0, #7c3aed); }
.join-avatars .a2 { background: linear-gradient(145deg, #ffdbf1, #2013bb); }
.join-avatars .a3 { background: linear-gradient(145deg, #daf4f2, #16a34a); }
.join-avatars .a4 { background: linear-gradient(145deg, #c084fc, #2563eb); }
.join-proof p { color: var(--gray); font-size: 1.1rem; line-height: 1.4; }
.join-proof strong { color: var(--white); font-weight: 700; }
.join-form { display: flex; align-items: center; background: var(--white); border-radius: 999px; padding: 0.4rem 0.4rem 0.4rem 1.6rem; }
.join-form input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; font-family: inherit; font-size: 1.05rem; color: #111; padding: 0.95rem 0; }
.join-form input::placeholder { color: #8a8a99; }
.join-form button { background: #0e0e12; color: #fff; border: none; border-radius: 999px; padding: 1rem 1.9rem; font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.join-form button:hover { background: #000; }
@media (max-width: 560px) {
    .join-form { flex-direction: column; background: transparent; padding: 0; gap: 0.75rem; align-items: stretch; }
    .join-form input { background: var(--white); border-radius: 999px; padding: 1rem 1.5rem; }
    .join-form button { border-radius: 999px; }
}

/* Logo marquee */
.logo-marquee { overflow: hidden; padding: 3rem 0; }
.logo-track { display: flex; width: max-content; animation: scrollMarquee 34s linear infinite; }
.logo-group { display: flex; align-items: center; gap: 4.5rem; padding-right: 4.5rem; flex-shrink: 0; }
.logo-track img { height: 30px; width: auto; opacity: 0.55; filter: brightness(0) invert(1); transition: opacity 0.3s; }
.logo-track img:hover { opacity: 1; }

/* Offer: statement beside feature list */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.offer-aside { position: sticky; top: 110px; align-self: start; }
.offer-statement { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.offer-note { font-size: 1rem; color: var(--gray); font-weight: 400; line-height: 1.7; margin-bottom: 2rem; }
.feature-list { display: flex; flex-direction: column; gap: 2.25rem; }
.feature-item .feature-icon { width: 1.6rem; height: 1.6rem; margin-bottom: 0.85rem; display: block; }
.feature-item .feature-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--white); stroke-width: 1.6; }
.feature-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.feature-item p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

/* Showcase image cards */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.mix-grid .mix-offset { margin-top: 3.5rem; }
@media (max-width: 968px) { .mix-grid { grid-template-columns: 1fr; } .mix-grid .mix-offset { margin-top: 0; } }
.showcase-card { position: relative; aspect-ratio: 3 / 4; border-radius: 0.5rem; overflow: hidden; }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.showcase-card:hover img { transform: scale(1.04); }
.showcase-card .showcase-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.showcase-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.showcase-card p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 0.4rem; line-height: 1.5; }

/* Pricing tiers */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.price-card { background: var(--dark-gray); border: 1px solid var(--line-soft); border-radius: 0.75rem; padding: 2.25rem; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), border-color 0.3s; }
.price-card:hover { transform: translateY(-0.4rem); }
.price-card.is-featured { border-color: rgba(255, 255, 255, 0.3); }
.price-tag { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray); margin-bottom: 1rem; }
.price-name { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1; }
.price-desc { color: var(--gray); font-size: 0.97rem; line-height: 1.6; margin-bottom: 1.75rem; }
.price-amount { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.price-amount span { font-size: 1rem; color: var(--gray); font-weight: 400; letter-spacing: 0; }
.price-cta { display: block; text-align: center; background: transparent; color: var(--white); border: 1.5px solid var(--white); border-radius: 0; padding: 1rem 1.25rem; font-family: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.2s; }
.price-cta:hover { background: var(--white); color: #000; transform: translateY(-2px); }
.price-included { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.5rem; }
.price-included-head { font-size: 0.85rem; font-weight: 700; margin-bottom: 1.1rem; }
.price-included ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.price-included li { position: relative; padding-left: 1.5rem; color: var(--gray); font-size: 0.92rem; line-height: 1.5; }
.price-included li strong { color: var(--white); font-weight: 600; }
.price-included li::before { content: "✳"; position: absolute; left: 0; color: var(--white); font-size: 0.8rem; }
@media (max-width: 968px) { .price-grid { grid-template-columns: 1fr; } }

/* How it works steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.step-note { font-size: 0.82rem; color: var(--gray); opacity: 0.7; margin-top: 0.85rem; }
@media (max-width: 968px) { .steps-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q { width: 100%; background: none; border: none; color: var(--white); font-family: inherit; font-size: 1.1rem; font-weight: 500; text-align: left; padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; letter-spacing: -0.01em; }
.faq-q .faq-mark { color: var(--gray); font-size: 1.4rem; line-height: 1; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .faq-mark { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { color: var(--gray); line-height: 1.7; padding: 0 0 1.6rem; max-width: 70ch; }

@media (max-width: 968px) {
    .offer-grid, .showcase-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .meta-grid, .card-grid, .stat-band { grid-template-columns: 1fr; gap: 2rem; }
    .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .footer-columns { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Mobile: standardized spacing and framing across all components */
@media (max-width: 768px) {
    nav { padding: 1.1rem 1.25rem; }
    .section { padding: 4rem 1.25rem; }
    .hero { padding: 8rem 1.25rem 3rem; min-height: auto; }
    .hero .lede { max-width: 100%; }
    .hero--overlap { height: auto; min-height: auto; padding-top: 8rem; padding-bottom: 3rem; }
    .hero-gallery { margin-top: 0; }
    .hero-gallery::before { display: none; }
    .hero-slider { padding: 1.5rem 0 2rem; }
    .cta-strip { padding: 4rem 1.25rem 5rem; }
    .footer { padding: 4rem 1.25rem 3rem; }
    .logo-marquee, .coherence-banner { padding: 2.5rem 0; }
    .card, .price-card { padding: 1.75rem; }
    .section-head { margin-bottom: 1.75rem; }
}
