/* =========================================
   RAWGRAVEL HUB - MAIN STYLESHEET (v5 "Kompass & Etappen")
   Design 1:1 aus rawgravel.cc übernommen:
   Graublau als Grundton, Neon-Volt als Akzent, Archivo, Höhenlinien.
   Vorheriger Stand: style.css.bak-20261001
   ========================================= */

/* --- 0. SCHRIFT (selbst gehostet, DSGVO-konform) --- */
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("assets/fonts/archivo-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- 1. TOKENS --- */
:root {
    --chalk: #F3F5F7;        /* kühles Hellgrau */
    --chalk-2: #E8EDF1;
    --white: #FFFFFF;
    --ink: #1C2733;          /* Graublau, dunkel */
    --ink-2: #34495E;
    --ink-deep: #121A23;
    --slate: #586B7D;        /* Logo-Graublau */
    --slate-300: #A7B4C1;
    --volt: #C6F432;         /* Neon-Akzent */
    --volt-2: #B4E221;

    --text: #1C2733;
    --text-2: #475666;
    --line: rgba(28, 39, 51, 0.12);
    --line-strong: rgba(28, 39, 51, 0.22);

    /* Kompatibilität mit alten Variablennamen */
    --bg-page: var(--chalk);
    --bg-element: var(--chalk-2);
    --text-dark: var(--text);
    --text-light: #FFFFFF;
    --accent-blue: var(--slate);
    --accent-orange: var(--ink);
    --card-radius: 22px;

    --r-lg: 22px;
    --r-md: 16px;

    --shadow-1: 0 1px 2px rgba(28, 39, 51, 0.06), 0 4px 12px rgba(28, 39, 51, 0.05);
    --shadow-2: 0 2px 4px rgba(28, 39, 51, 0.05), 0 24px 48px -24px rgba(28, 39, 51, 0.35);
    --shadow-3: 0 4px 8px rgba(28, 39, 51, 0.06), 0 50px 90px -40px rgba(28, 39, 51, 0.55);

    --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --wide: 118%;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gutter: max(5vw, calc((100vw - 1240px) / 2));
}

/* --- 2. BASIS & TYPOGRAFIE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.62;
    color: var(--text);
    background: var(--chalk);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::selection { background: var(--volt); color: var(--ink); }

img { max-width: 100%; }

/* Überschriften: breit laufend, mittleres Gewicht */
h1, h2, h3 {
    font-weight: 500;
    font-stretch: var(--wide);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text);
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.2; }

h1 span, h1 i, h2 span, h2 i { font-style: normal; color: inherit; }

p { max-width: 66ch; }

strong { font-weight: 600; color: var(--text); }

a { color: var(--ink-2); }

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--volt);
}

.container {
    width: 100%;
    margin: 0 auto 110px;
    padding: 0 var(--gutter);
    flex: 1;
}

/* --- 3. HEADER --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--gutter);
    background: rgba(243, 245, 247, 0.78);
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border-bottom: 1px solid var(--line);
}

.logo-area, .hub-logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.logo-img { display: block; height: 56px; width: auto; }

.menu-toggle, .hub-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--ink);
    cursor: pointer;
}

.menu-toggle .bar, .hub-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--volt);
    transition: transform 0.35s var(--ease), opacity 0.2s ease;
}

.menu-toggle.is-active .bar:nth-child(1), .hub-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2), .hub-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3), .hub-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nav-menu, .hub-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 4%;
    right: 4%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 10px;
    border-radius: var(--r-lg);
    background: var(--ink);
    box-shadow: var(--shadow-3);
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease), opacity 0.3s ease;
}

#nav-menu.is-open, .hub-nav.is-open { max-height: 480px; padding: 10px; opacity: 1; }

#nav-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }

#nav-menu a, .hub-nav a {
    display: block;
    padding: 14px 18px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-decoration: none;
}

#nav-menu a:hover, .hub-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

#nav-menu li:last-child a, .hub-nav a:last-child { margin-top: 6px; text-align: center; background: var(--volt); color: var(--ink); font-weight: 600; }

@media (min-width: 900px) {
    .menu-toggle, .hub-menu-toggle { display: none; }

    #nav-menu, .hub-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        max-height: none;
        opacity: 1;
        overflow: visible;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    #nav-menu ul { flex-direction: row; align-items: center; gap: 4px; }

    #nav-menu a, .hub-nav a { color: var(--text-2); padding: 9px 16px; border-radius: 999px; font-size: 0.95rem; }
    #nav-menu a:hover, .hub-nav a:hover { color: var(--text); background: var(--chalk-2); }

    #nav-menu li:last-child a, .hub-nav a:last-child { margin: 0 0 0 10px; padding: 10px 22px; background: var(--ink); color: #fff; }
    #nav-menu li:last-child a:hover, .hub-nav a:last-child:hover { background: var(--ink-2); }
}

/* --- 4. BUTTONS --- */
.cta-volt, .cta-primary, .btn-outline, .btn-white, .btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.3s var(--ease), border-color 0.25s ease;
}

.cta-volt, .btn-white {
    background: var(--volt);
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -12px rgba(120, 160, 0, 0.9);
}

.cta-volt:hover, .btn-white:hover { background: var(--volt-2); transform: translateY(-2px); }

.cta-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 26px -14px rgba(28, 39, 51, 0.9);
}

.cta-primary:hover { background: var(--ink-2); transform: translateY(-2px); }

.btn-outline { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Glas-Button */
.btn-glass {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-1), inset 0 1px 0 #fff;
    color: var(--ink);
}

.btn-glass:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2), inset 0 1px 0 #fff; }

.text-link {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(var(--volt), var(--volt)) left bottom / 0 3px no-repeat;
    transition: background-size 0.3s var(--ease);
}

.text-link:hover { background-size: 100% 3px; }

/* --- 5. HUB: SEKTIONEN & RASTER --- */
html { scroll-behavior: smooth; }
body.hub-page { display: block; overflow-x: hidden; }
.hub-shell { width: 100%; padding: 0 var(--gutter); margin: 0 auto; }

.hub-section { position: relative; isolation: isolate; padding: clamp(80px, 10vw, 130px) 0; }
.hub-section--soft { background: var(--chalk-2); overflow: hidden; }

/* Höhenlinien als Textur */
.hub-hero::before, .hub-section--soft::before, .hub-contact-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("images/topo.svg") center / cover no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.hub-hero { overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 100px); }
.hub-hero::before {
    -webkit-mask: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    mask: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

.hub-hero-grid, .hub-split { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }

/* Kicker im Hero: Pill mit Volt-Punkt */
.hub-hero .hub-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 7px 14px 7px 8px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.hub-hero .hub-eyebrow::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--volt);
    box-shadow: inset 0 0 0 5px var(--ink);
}

.hub-eyebrow {
    margin-bottom: 10px;
    color: var(--slate);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-hero h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.3rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 28px;
    max-width: 15ch;
}

.hub-section-heading h2, .hub-feature h2, .hub-contact h2 { margin-bottom: 14px; }

.hub-lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--text-2); margin-bottom: 34px; max-width: 54ch; }

.hub-actions, .hub-inline-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hub-hero .hub-actions { margin-top: 0; }
.hub-inline-cta { gap: 12px 28px; }

.hub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.hub-tags span {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--text-2);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Verfügbarkeit: dunkle Pill mit Volt-Schrift */
.hub-status {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--volt);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Bilder */
.hub-media-placeholder {
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--chalk-2);
    box-shadow: var(--shadow-3);
}

.hub-media-placeholder img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hub-hero-media img { aspect-ratio: 4 / 3; object-position: center 30%; }
.hub-about-media img { aspect-ratio: 4 / 3; object-position: center 75%; }

.hub-section-heading { max-width: 680px; margin-bottom: 52px; }
.hub-split .hub-section-heading { margin-bottom: 0; }
.hub-section-heading p:not(.hub-eyebrow), .hub-feature-copy > p, .hub-intro-copy p { color: var(--text-2); font-size: 1.1rem; }
.hub-section-heading p:not(.hub-eyebrow) { margin-bottom: 18px; }
.hub-section-heading .cta-primary, .hub-section-heading .cta-volt { margin-top: 10px; }
.hub-intro-copy p { font-size: 1.0625rem; margin-bottom: 18px; }

.hub-club-logo { display: block; width: 72px; height: 72px; object-fit: cover; margin: 0 0 22px; border-radius: 50%; box-shadow: var(--shadow-2); }

/* Trainingsabschnitt im Blocksatz mit Silbentrennung */
#training .hub-section-heading p:not(.hub-eyebrow) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* --- 6. HUB: KARTEN --- */
.hub-card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.hub-info-card, .hub-link-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(26px, 3vw, 34px);
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}

.hub-info-card h3, .hub-link-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hub-info-card p, .hub-link-card p { color: var(--text-2); font-size: 0.98rem; }
.hub-link-card p:not(.hub-card-kicker) { margin-bottom: 24px; }
.hub-link-card .btn-outline { width: 100%; margin-top: auto; }

/* Nummer wie die Etappen-Knoten */
.hub-index {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--volt);
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.hub-card-kicker { margin-bottom: 6px; color: var(--slate); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; }

.community-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--volt);
}

.community-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Notiz: dunkle Karte wie im Radcomputer */
.hub-note {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--r-lg);
    color: #fff;
    background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 70%);
    box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hub-note-mark {
    margin-bottom: 6px;
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 600;
    font-stretch: 125%;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: var(--volt);
}

.hub-note h3 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.hub-note p:not(.hub-note-mark) { color: rgba(255, 255, 255, 0.78); }
.hub-note p + p:not(.hub-note-mark) { margin-top: 12px; }
.hub-muted { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--volt) !important; font-size: 0.9rem; font-weight: 600; }

/* Masterclass-Feature */
.hub-feature {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}

.hub-feature .hub-media-placeholder { min-height: 260px; border-radius: 0; box-shadow: none; }
.hub-feature-copy { padding: clamp(28px, 5vw, 56px); }
.hub-feature-copy > p { margin-bottom: 16px; }

.hub-list { list-style: none; display: grid; grid-template-columns: 1fr; margin: 26px 0 32px; }
.hub-list li { position: relative; padding: 11px 0 11px 32px; border-top: 1px solid var(--line); color: var(--text-2); }
.hub-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ink) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6F432' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M5 12.5l4.5 4.5L19 7.5'/%3e%3c/svg%3e") center / 11px no-repeat;
}

@media (min-width: 560px) { .hub-list { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

/* --- 7. HUB: KONTAKT (Graublau-Banner) --- */
.hub-contact { padding-top: 0; }

.hub-contact-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: auto;
    margin: 0 var(--gutter);
    padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
    border-radius: 30px;
    text-align: center;
    color: #fff;
    background: var(--ink);
    box-shadow: var(--shadow-3);
}

.hub-contact-inner::before { opacity: 0.12; filter: invert(1); }
.hub-contact .hub-eyebrow { color: var(--volt); }
.hub-contact h2 { color: #fff; }
.hub-contact-inner > p:not(.hub-eyebrow) { color: rgba(255, 255, 255, 0.75); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }
.hub-contact .hub-actions { justify-content: center; }

/* --- 8. UNTERSEITEN & RECHTLICHES --- */
.page-header { width: 100%; padding: clamp(56px, 8vw, 104px) var(--gutter) 44px; }
.page-header h1 { font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5.6rem); max-width: 14ch; }

.legal-card { padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.legal-card h2 { font-size: 1.6rem; margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.legal-card p, .legal-card li { color: var(--text-2); margin-bottom: 14px; }
.legal-card ul { padding-left: 20px; margin-bottom: 15px; }
.legal-card a { color: var(--ink-2); font-weight: 500; overflow-wrap: anywhere; }

/* --- 9. FOOTER --- */
footer, .hub-footer {
    margin-top: auto;
    padding: 56px 20px 44px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-2);
    background: var(--white);
    border-top: 1px solid var(--line);
}

footer p { margin: 0 auto; }
.hub-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo { display: block; width: auto; height: 44px; margin: 0 auto 20px; }
.hub-footer .footer-logo { margin-bottom: 6px; }
.footer-links, .hub-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 14px; }
.hub-footer-links { margin-top: 0; }
.footer-links a, .hub-footer-links a, .hub-cookie-settings {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(var(--volt), var(--volt)) left bottom / 0 3px no-repeat;
    transition: background-size 0.3s var(--ease);
}
.footer-links a:hover, .hub-footer-links a:hover, .hub-cookie-settings:hover { background-size: 100% 3px; }
.hub-cookie-settings { border: 0; padding: 0; font-family: inherit; font-size: inherit; cursor: pointer; background-color: transparent; }
.hub-footer small { font-size: 0.85rem; color: var(--text-2); }

/* vom Consent-Skript eingefügter Button im Footer */
.cookie-settings-link {
    margin-top: 10px;
    padding: 4px 2px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cookie-settings-link:hover { color: var(--ink); }

/* --- 10. SCROLL-REVEAL --- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- 11. RESPONSIVE & BEWEGUNG --- */
@media (min-width: 700px) {
    .hub-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .hub-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .hub-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 90px; }
    .hub-feature { grid-template-columns: 0.95fr 1.05fr; }
    .hub-feature .hub-media-placeholder { min-height: 100%; }
    #about .hub-split { align-items: start; }
    #about .hub-about-media { max-width: 420px; justify-self: end; }
    #about .hub-about-media img { aspect-ratio: 3 / 4; object-position: center; }
}

@media (min-width: 1000px) {
    .hub-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 72px; }
    .hub-hero-media { max-width: 440px; justify-self: end; }
    .hub-hero-media img { aspect-ratio: 3 / 4; }
}

@media (min-width: 1100px) {
    .hub-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
    .logo-img { height: 44px; }

    .page-header { padding-top: 40px; }
    .page-header h1 { font-size: clamp(2rem, 9vw, 2.6rem); }

    .hub-hero { padding-top: 32px; }
    .hub-hero .hub-eyebrow { font-size: 0.82rem; padding: 6px 12px 6px 7px; margin-bottom: 20px; }
    .hub-hero .hub-eyebrow::before { width: 14px; height: 14px; box-shadow: inset 0 0 0 4px var(--ink); }
    .hub-hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 20px; }
    .hub-lead { font-size: 1rem; margin-bottom: 26px; }
    .hub-actions > a { flex: 1 1 100%; }
    .hub-hero-grid { gap: 44px; }

    h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
    .hub-section { padding: 64px 0; }
    .hub-contact { padding-top: 0; }
    .hub-section-heading { margin-bottom: 32px; }
    .hub-section-heading p:not(.hub-eyebrow), .hub-feature-copy > p { font-size: 1rem; }
    .hub-contact-inner { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
    .reveal { opacity: 1; transform: none; }
}
