/* ==========================================================================
   ALT HOUSE — site stylesheet
   Palette and type follow the brand mockups: near-black bands alternating
   with warm cream, one royal blue accent, condensed uppercase display type.
   ========================================================================== */

:root {
    --ink:        #0b0d12;   /* dark band background */
    --ink-2:      #12151d;   /* raised surfaces on dark */
    --line-dark:  #262b36;   /* hairlines on dark */
    --cream:      #f1ece3;   /* light band background */
    --cream-2:    #e9e2d5;   /* raised surfaces on light */
    --line-light: #d8d1c3;   /* hairlines on light */
    --blue:       #2f52e0;   /* the accent — use sparingly */
    --blue-soft:  #5f7ce8;   /* accent on dark backgrounds */
    --text-dark:  #1c1e24;   /* body text on cream */
    --muted-dark: #565a63;   /* secondary text on cream */
    --text-light: #ece7dd;   /* body text on ink */
    --muted-light:#a2a7b2;   /* secondary text on ink */
    --ph-light:   #c9c5bd;   /* photo placeholder on cream */
    --ph-dark:    #232833;   /* photo placeholder on ink */

    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body:    "Inter", -apple-system, "Helvetica Neue", sans-serif;
    --font-script:  "Caveat", cursive;

    --container: 1120px;
    --pad: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin: 0;
}

h1.display { font-size: clamp(2.75rem, 7vw, 4.75rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 3rem); }
h3.display { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

.display .accent { color: var(--blue); }
.band--dark .display .accent { color: var(--blue-soft); }
.accent { color: var(--blue); }

.kicker {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.85rem;
    color: var(--blue);
    margin: 0 0 0.75rem;
}
.band--dark .kicker { color: var(--blue-soft); }

/* short horizontal accent rule used under headings */
.tick {
    width: 44px;
    height: 3px;
    background: var(--blue);
    border: 0;
    margin: 1.25rem 0;
}

.lede {
    font-size: 1.125rem;
    max-width: 34em;
}

.muted { color: var(--muted-dark); }
.band--dark .muted { color: var(--muted-light); }

/* --------------------------------------------------------------------------
   Bands — alternating dark / cream page sections
   -------------------------------------------------------------------------- */

.band { padding-block: clamp(3.5rem, 8vw, 6rem); }

.band--dark {
    background: var(--ink);
    color: var(--text-light);
}

.band--light {
    background: var(--cream);
    color: var(--text-dark);
}

.band--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
    background: var(--ink);
    color: var(--text-light);
    border-bottom: 1px solid var(--line-dark);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 76px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    margin-right: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav__mark { width: 34px; height: 37px; color: var(--text-light); }

.nav__wordmark { display: flex; flex-direction: column; line-height: 1.1; }

.nav__name {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 1.05rem;
}

.nav__tag {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    color: var(--muted-light);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 1.8vw, 1.6rem);
}

.nav__menu a:not(.btn) {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--text-light);
    padding-block: 0.35rem;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav__menu a:not(.btn):hover { color: #fff; border-bottom-color: var(--muted-light); }
.nav__menu a.is-active { color: #fff; border-bottom-color: var(--blue-soft); }

.nav__cta { white-space: nowrap; padding: 0.65rem 1.3rem; }

.nav__toggle { display: none; }

@media (max-width: 960px) {
    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: 0;
        padding: 0.5rem;
        cursor: pointer;
    }
    .nav__toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-light);
        transition: transform 0.2s, opacity 0.2s;
    }
    .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--ink);
        border-bottom: 1px solid var(--line-dark);
        padding: 1rem var(--pad) 1.5rem;
        gap: 0.25rem;
    }
    .nav.is-open .nav__menu { display: flex; }
    .nav__menu a:not(.btn) { padding-block: 0.65rem; border-bottom: 1px solid var(--line-dark); }
    .nav__cta { margin-top: 0.75rem; text-align: center; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--solid {
    background: var(--ink);
    color: var(--text-light);
}
.btn--solid:hover { background: var(--blue); color: #fff; }

.band--dark .btn--solid,
.btn--blue {
    background: var(--blue);
    color: #fff;
}
.band--dark .btn--solid:hover,
.btn--blue:hover { background: var(--blue-soft); }

.btn--outline {
    border-color: currentColor;
    color: inherit;
    background: transparent;
}
.btn--outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.arrow-link {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--blue);
}
.band--dark .arrow-link { color: var(--blue-soft); }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* quiet "coming soon" tag where a learn-more link would otherwise sit */
.soon {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    color: var(--muted-light);
}

/* real photos dropped into placeholder slots */
.photo {
    display: block;
    width: 100%;
    height: auto;
}

/* real photo cropped to a placeholder ratio (see partials/photo.blade.php) */
.photo-frame { margin: 0; }

.photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-frame--wide    img { aspect-ratio: 16 / 9; }
.photo-frame--tall    img { aspect-ratio: 4 / 5; }
.photo-frame--square  img { aspect-ratio: 1; }
.photo-frame--banner  img { aspect-ratio: 21 / 9; }
.photo-frame--natural img { aspect-ratio: auto; height: auto; }

.photo-frame figcaption {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-dark);
}

.band--dark .photo-frame figcaption { color: var(--muted-light); }

/* --------------------------------------------------------------------------
   Photo placeholders — gray blocks standing in for final photography
   -------------------------------------------------------------------------- */

.ph {
    margin: 0;
    background: var(--ph-light);
    color: #6d6a64;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    padding: 1rem;
}

.band--dark .ph { background: var(--ph-dark); color: #7d8494; }

.ph svg { width: 34px; height: 34px; opacity: 0.75; }

.ph figcaption {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    max-width: 24em;
    line-height: 1.5;
}

.ph--wide   { aspect-ratio: 16 / 9; }
.ph--tall   { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1; }
.ph--banner { aspect-ratio: 21 / 9; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 820px) {
    .hero__grid { grid-template-columns: 1fr; }
}

/* the tall courtside photo shouldn't tower over the hero copy */
.hero__grid .photo-frame--tall {
    width: 100%;
    max-width: 360px;
    justify-self: center;
}

/* small icon+label strip under a hero (Private by design / Built around you…) */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--line-dark);
}

.pillars > div {
    padding: 1.25rem 1rem 0.25rem;
    border-left: 1px solid var(--line-dark);
    text-align: center;
}
.pillars > div:first-child { border-left: 0; }

.pillars svg { width: 30px; height: 30px; margin: 0 auto 0.6rem; color: var(--blue-soft); }

.pillars p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    color: var(--muted-light);
}

/* --------------------------------------------------------------------------
   Numbered feature rows (01–06 sections on program pages)
   -------------------------------------------------------------------------- */

.feature {
    display: grid;
    grid-template-columns: 90px 1.35fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

@media (max-width: 820px) {
    .feature { grid-template-columns: 64px 1fr; }
    .feature__side { grid-column: 2; }
}

.feature__num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
    color: var(--blue);
    letter-spacing: 0.05em;
}
.band--dark .feature__num { color: var(--blue-soft); }

.feature__body h2, .feature__body h3 { margin-top: 0; }

.feature__body p { max-width: 36em; }

.feature__body .close {
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    font-family: var(--font-display);
    letter-spacing: 0.12em;
}
.band--dark .feature__body .close { color: var(--blue-soft); }

/* side column: hairline + stacked labels, like the mockups */
.feature__side {
    border-left: 1px solid var(--line-light);
    padding-left: 1.5rem;
    align-self: center;
}
.band--dark .feature__side { border-left-color: var(--line-dark); }

.feature__side ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.feature__side li {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
}

.feature__side .ph { margin-top: 0; }

/* tag list inside body copy: Technical / Tactical / Movement … */
.slashes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0;
    padding: 0;
    margin: 1rem 0;
    list-style: none;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.92rem;
}

.slashes li:not(:last-child)::after {
    content: "/";
    margin-inline: 0.65rem;
    color: var(--blue);
    font-weight: 500;
}
.band--dark .slashes li:not(:last-child)::after { color: var(--blue-soft); }

/* phones: single column — number sits above the heading, side content goes
   full-width under a top hairline instead of a squeezed, indented strip */
@media (max-width: 600px) {
    .feature {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature__num { font-size: 1.6rem; }

    .feature__side {
        grid-column: 1;
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--line-light);
        padding-top: 1.25rem;
        align-self: stretch;
    }
    .band--dark .feature__side { border-top-color: var(--line-dark); }

    /* stacked label lists become a compact two-column grid */
    .feature__side ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem 1rem;
    }
}

/* --------------------------------------------------------------------------
   Cards (Four areas, team grid, why-ALT strip)
   -------------------------------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

/* 3-across → 2-up → single column; a lone last card spans the full row */
@media (max-width: 1020px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .cards { grid-template-columns: 1fr; }
}

.card {
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: center;
    align-items: center;
}

.band--light .card {
    background: #faf7f1;
    border-color: var(--line-light);
}

.card svg { width: 40px; height: 40px; color: var(--blue-soft); stroke-width: 1.5; }
.band--light .card svg { color: var(--blue); }

.card h3 { margin: 0; }

.card p { margin: 0; font-size: 0.95rem; color: var(--muted-light); flex-grow: 1; }
.band--light .card p { color: var(--muted-dark); }

/* one or two large feature icons with a label and short caption */
.duo {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    justify-content: center;
}

.duo > div {
    text-align: center;
    flex: 1 1 150px;
    max-width: 230px;
}

.duo svg {
    width: clamp(88px, 10vw, 120px);
    height: auto;
    margin: 0 auto 1rem;
    color: var(--blue);
}
.band--dark .duo svg { color: var(--blue-soft); }

.duo h4 {
    margin: 0 0 0.3rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 1rem;
}

.duo p { margin: 0; font-size: 0.85rem; color: var(--muted-light); }
.band--light .duo p { color: var(--muted-dark); }

/* a large icon sitting above a side-column list */
.side-icon {
    display: block;
    width: clamp(90px, 9vw, 118px);
    height: auto;
    margin: 0 0 1.25rem;
    color: var(--blue);
}
.band--dark .side-icon { color: var(--blue-soft); }

/* small inline icon sitting beside a line of contact text */
.contact-ic {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--blue);
    stroke-width: 1.5;
}
.band--dark .contact-ic { color: var(--blue-soft); }

/* icon chips row (one-team strips, why-ALT grid) */
.chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.chips > div { text-align: center; padding: 1rem 0.5rem; }

.chips svg { width: 34px; height: 34px; margin: 0 auto 0.6rem; color: var(--blue-soft); stroke-width: 1.5; }
.band--light .chips svg { color: var(--blue); }

.chips h4 {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
}

.chips p { margin: 0; font-size: 0.85rem; color: var(--muted-light); }
.band--light .chips p { color: var(--muted-dark); }

/* narrow screens: force icon strips to a 2x2 grid — auto-fit would otherwise
   land on 3 columns with an orphaned 4th item at in-between widths */
@media (max-width: 560px) {
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .pillars > div { border-left: 0; padding-bottom: 1rem; }
    .pillars > div:nth-child(even) { border-left: 1px solid var(--line-dark); }

    .chips { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Founder note / signature
   -------------------------------------------------------------------------- */

.note {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 820px) {
    .note { grid-template-columns: 1fr; }
}

.note__aside {
    border: 1px solid var(--line-light);
    padding: 2rem;
    align-self: start;
    background: #faf7f1;
}

.note__quote {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.55;
    margin-top: 0;
}

.signature {
    font-family: var(--font-script);
    font-size: 2.4rem;
    line-height: 1;
    margin: 2rem 0 0.25rem;
    color: var(--text-dark);
}

.signature-img {
    display: block;
    width: clamp(200px, 26vw, 280px);
    height: auto;
    margin: 2rem 0 0.75rem;
    mix-blend-mode: multiply;
}

.signature-caption {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
}

.signature-caption small {
    display: block;
    color: var(--muted-dark);
    letter-spacing: 0.14em;
    font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.team-card {
    background: #faf7f1;
    border: 1px solid var(--line-light);
    padding: 1.75rem 1.5rem;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color 0.15s, transform 0.15s;
}

.team-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.team-card.is-active { border-color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }

.team-card .mark { width: 30px; height: 33px; color: var(--muted-dark); margin-bottom: 0.9rem; }

.team-card__num {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.1em;
}

.team-card h3 { margin: 0; }

.team-card__role {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-dark);
    font-weight: 600;
}

.team-card__cta {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    color: var(--blue);
}
.team-card__cta::after { content: " \2192"; }

/* expanded profile panel */
.profile {
    background: var(--ink);
    color: var(--text-light);
    padding: clamp(2rem, 5vw, 3.5rem);
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 820px) {
    .profile { grid-template-columns: 1fr; }
}

.profile[hidden] { display: none; }

.profile h3 { margin: 0 0 0.25rem; }

.profile__role {
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.9rem;
    color: var(--blue-soft);
}

.profile h4 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--blue-soft);
}

.profile p { color: var(--muted-light); margin-top: 0; }

.profile .close-line {
    color: var(--text-light);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Contact / application form
   -------------------------------------------------------------------------- */

.form-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.3fr;
    gap: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 820px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 0.9rem; }

.field label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
    color: var(--muted-dark);
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line-light);
    background: #faf7f1;
    padding: 0.8rem 0.9rem;
    font: inherit;
    color: var(--text-dark);
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: -1px;
}

.field .hint { font-size: 0.82rem; color: var(--muted-dark); margin: 0.3rem 0 0; }

.field--error input,
.field--error textarea { border-color: #b3372f; }

.error-text { color: #b3372f; font-size: 0.85rem; margin: 0.3rem 0 0; }

.form-submit { width: 100%; margin-top: 0.5rem; }

.flash {
    background: #e7efe4;
    border: 1px solid #9dbb92;
    color: #2c4a24;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

/* honeypot — visually gone, still in the DOM for bots to find */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   CTA band + misc
   -------------------------------------------------------------------------- */

.cta-band { text-align: center; }

.cta-band .btn { margin-top: 1.75rem; }

.cta-band .tick { margin-inline: auto; }

.motto {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    text-align: center;
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 820px) {
    .split { grid-template-columns: 1fr; }
}

/* subtle reveal on scroll — JS adds .in when visible */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .reveal.in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    background: var(--ink);
    color: var(--text-light);
    border-top: 1px solid var(--line-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-block: 3.5rem;
}

@media (max-width: 820px) {
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer__mark { width: 40px; height: 44px; color: var(--text-light); margin-bottom: 1rem; }

.footer__name {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 1.2rem;
    margin: 0;
}

.footer__tagline {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    color: var(--muted-light);
    margin: 0.25rem 0 1rem;
}

.footer__blurb { color: var(--muted-light); font-size: 0.92rem; max-width: 30em; margin: 0; }

.footer__heading {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.85rem;
    color: var(--blue-soft);
    margin: 0 0 1rem;
}

.footer__col { display: flex; flex-direction: column; gap: 0.55rem; }

.footer__col a, .footer__col p {
    color: var(--muted-light);
    text-decoration: none;
    font-size: 0.95rem;
    margin: 0;
}

.footer__col a:hover { color: var(--text-light); }

.footer__bar { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; }

.footer__bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__motto {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    margin: 0;
}

.footer__legal { color: var(--muted-light); font-size: 0.8rem; margin: 0; }
