/* ============================================================
   WLC Ltd — Transport Consultancy
   Theme: charcoal #292927 + gold #c9a368
   ============================================================ */

:root {
    --c-bg-dark: #292927;
    --c-bg-darker: #1e1e1c;
    --c-bg-light: #f5f1ea;
    --c-bg-white: #ffffff;
    --c-text-dark: #1d1d1b;
    --c-text-muted: #5a5a55;
    --c-text-light: #f5f1ea;
    --c-text-light-muted: #b8b3a8;
    --c-gold: #c9a368;
    --c-gold-bright: #d9b87a;
    --c-gold-dim: #8c7547;
    --c-border: rgba(201, 163, 104, 0.25);
    --c-border-light: rgba(29, 29, 27, 0.1);

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container: 1200px;
    --container-narrow: 880px;

    --shadow-soft: 0 10px 30px rgba(29, 29, 27, 0.08);
    --shadow-strong: 0 20px 60px rgba(29, 29, 27, 0.18);

    --radius: 4px;
    --transition: 240ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--c-text-dark);
    background: var(--c-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--c-gold-dim);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--c-gold);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--c-gold);
    color: var(--c-bg-darker);
    padding: 12px 18px;
    font-weight: 600;
    z-index: 200;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.05rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.12em; }

p { margin: 0 0 1em; }

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--c-text-muted);
}

.eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
    font-weight: 600;
    margin-bottom: 14px;
}

.heading-accent {
    display: inline-block;
    position: relative;
}
.heading-accent::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--c-gold);
    margin-top: 14px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid var(--c-gold);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1;
}

.btn--primary {
    background: var(--c-gold);
    color: var(--c-bg-darker);
}
.btn--primary:hover {
    background: var(--c-gold-bright);
    border-color: var(--c-gold-bright);
    color: var(--c-bg-darker);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--c-gold);
}
.btn--ghost:hover {
    background: var(--c-gold);
    color: var(--c-bg-darker);
}

.btn--ghost-dark {
    background: transparent;
    color: var(--c-bg-darker);
    border-color: var(--c-bg-darker);
}
.btn--ghost-dark:hover {
    background: var(--c-bg-darker);
    color: var(--c-text-light);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-bg-dark);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}

.site-header__brand {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.site-header__logo {
    height: 56px;
    width: auto;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.site-nav__link {
    display: inline-block;
    padding: 10px 18px;
    color: var(--c-text-light);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    position: relative;
}

.site-nav__link:hover {
    color: var(--c-gold-bright);
}

.site-nav__link.is-active {
    color: var(--c-gold);
}
.site-nav__link.is-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--c-gold);
}

.site-nav__link--cta {
    border: 1.5px solid var(--c-gold);
    margin-left: 10px;
    padding: 9px 22px;
}
.site-nav__link--cta:hover {
    background: var(--c-gold);
    color: var(--c-bg-darker);
}
.site-nav__link--cta.is-active {
    background: var(--c-gold);
    color: var(--c-bg-darker);
}
.site-nav__link--cta.is-active::after { display: none; }

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--c-text-light);
    transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero (Home) ---------- */
.hero {
    background: var(--c-bg-dark);
    color: var(--c-text-light);
    padding: clamp(70px, 11vw, 130px) 0 clamp(70px, 11vw, 120px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 163, 104, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 163, 104, 0.06), transparent 55%);
    pointer-events: none;
}

.hero__layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
@media (min-width: 900px) {
    .hero__layout {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 70px;
    }
}

.hero__content {
    max-width: 640px;
}

.hero__media {
    position: relative;
}
.hero__media img {
    width: 100%;
    aspect-ratio: 3 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
}
.hero__media::before,
.hero__media::after {
    content: '';
    position: absolute;
    width: 72px;
    height: 72px;
    pointer-events: none;
}
.hero__media::before {
    top: -14px;
    right: -14px;
    border-top: 3px solid var(--c-gold);
    border-right: 3px solid var(--c-gold);
}
.hero__media::after {
    bottom: -14px;
    left: -14px;
    border-bottom: 3px solid var(--c-gold);
    border-left: 3px solid var(--c-gold);
}

.hero__title {
    color: var(--c-text-light);
    margin-bottom: 24px;
}
.hero__title em {
    color: var(--c-gold);
    font-style: normal;
}

.hero__lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--c-text-light-muted);
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Page hero (smaller, for inner pages) ---------- */
.page-hero {
    background: var(--c-bg-dark);
    color: var(--c-text-light);
    padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 9vw, 100px);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 163, 104, 0.1), transparent 60%);
}
.page-hero__inner { position: relative; }
.page-hero h1 { color: var(--c-text-light); margin-bottom: 16px; }
.page-hero p {
    color: var(--c-text-light-muted);
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto;
}
.page-hero p + p { margin-top: 14px; }
.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(70px, 10vw, 120px) 0;
}
.section--light {
    background: var(--c-bg-light);
}
.section--dark {
    background: var(--c-bg-dark);
    color: var(--c-text-light);
}
.section--dark h1, .section--dark h2, .section--dark h3 {
    color: var(--c-text-light);
}

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

/* Long-form legal / policy content */
.prose {
    max-width: 760px;
    margin: 0 auto;
    color: var(--c-text-dark);
}
.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 2.2em 0 0.6em;
}
.prose > *:first-child { margin-top: 0; }
.prose p {
    margin: 0 0 1.2em;
}
.prose ul, .prose ol {
    margin: 0 0 1.4em 1.4em;
    padding: 0;
}
.prose li {
    margin-bottom: 0.5em;
}
.prose a {
    color: var(--c-gold-dim);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.prose a:hover {
    color: var(--c-gold);
}
.prose code {
    background: rgba(29, 29, 27, 0.06);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.95em;
}
.section__head .heading-accent::after {
    margin-left: auto;
    margin-right: auto;
}
.section__head p {
    color: var(--c-text-muted);
    font-size: 1.1rem;
}

/* ---------- About (Home) ---------- */
.about {
    background: var(--c-bg-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: stretch;
}

@media (min-width: 900px) {
    .about__grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 80px;
    }
}

.about__body p {
    margin-bottom: 1.1em;
    color: var(--c-text-dark);
}

.about__media {
    position: relative;
    align-self: start;
}
@media (min-width: 900px) {
    .about__media {
        position: sticky;
        top: 100px;
    }
}
.about__media img {
    width: 100%;
    aspect-ratio: 3 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.about__media::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 88px;
    height: 88px;
    border-bottom: 3px solid var(--c-gold);
    border-right: 3px solid var(--c-gold);
    pointer-events: none;
}

.about__stats {
    list-style: none;
    margin: 64px 0 0;
    padding: 40px 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
    background: var(--c-bg-light);
    border-left: 3px solid var(--c-gold);
    border-radius: var(--radius);
}
@media (min-width: 760px) {
    .about__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}
.about__stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--c-gold-dim);
    line-height: 1;
    margin-bottom: 8px;
}
.about__stat span {
    color: var(--c-text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---------- Services page rows ---------- */
.service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: clamp(50px, 7vw, 80px) 0;
    border-bottom: 1px solid var(--c-border-light);
}
.service-row:last-child { border-bottom: none; }

@media (min-width: 880px) {
    .service-row {
        grid-template-columns: 1fr 1fr;
        gap: 70px;
    }
    .service-row--reverse .service-row__media {
        order: 2;
    }
}

.service-row__media {
    position: relative;
    aspect-ratio: 4 / 3;
}
.service-row__media::before,
.service-row__media::after {
    content: '';
    position: absolute;
    width: 72px;
    height: 72px;
    pointer-events: none;
    z-index: 2;
}
.service-row__media::before {
    top: -14px;
    right: -14px;
    border-top: 3px solid var(--c-gold);
    border-right: 3px solid var(--c-gold);
}
.service-row__media::after {
    bottom: -14px;
    left: -14px;
    border-bottom: 3px solid var(--c-gold);
    border-left: 3px solid var(--c-gold);
}
.service-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.service-row__media--no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--c-bg-dark), #3a3a36);
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 40px 30px;
    overflow: hidden;
}
.service-row__media-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-gold);
}
.service-row__media-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 600;
    color: var(--c-text-light);
    line-height: 1.2;
    max-width: 18ch;
}

.service-row__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    color: var(--c-gold);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.service-row h2 {
    margin-bottom: 18px;
}

.service-row p {
    color: var(--c-text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ---------- CTA strip ---------- */
.cta-strip {
    background: var(--c-bg-dark);
    color: var(--c-text-light);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 163, 104, 0.12), transparent 60%);
}
.cta-strip__inner { position: relative; }
.cta-strip h2 {
    color: var(--c-text-light);
    margin-bottom: 16px;
}
.cta-strip p {
    color: var(--c-text-light-muted);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 28px;
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 880px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 70px;
    }
}

.contact-form {
    background: var(--c-bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--c-border-light);
}
.contact-form h2 {
    margin-top: 0;
}

.field {
    margin-bottom: 20px;
}
.field label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-bottom: 8px;
}
.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--c-border-light);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--c-bg-light);
    color: var(--c-text-dark);
    transition: all var(--transition);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-gold);
    background: var(--c-bg-white);
    box-shadow: 0 0 0 3px rgba(201, 163, 104, 0.15);
}
.field textarea {
    min-height: 140px;
    resize: vertical;
}
.field--honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-banner {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 500;
}
.form-banner--success {
    background: #e8f3ec;
    color: #1f5934;
    border-left: 4px solid #2f8f55;
}
.form-banner--error {
    background: #f8e9e8;
    color: #7a2620;
    border-left: 4px solid #c8423a;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-card {
    background: var(--c-bg-light);
    padding: 28px;
    border-radius: var(--radius);
    border-left: 3px solid var(--c-gold);
}
.contact-card h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}
.contact-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.contact-card li {
    margin-bottom: 8px;
    font-size: 1.02rem;
}
.contact-card li:last-child { margin-bottom: 0; }
.contact-card a {
    color: var(--c-text-dark);
    font-weight: 500;
}
.contact-card a:hover {
    color: var(--c-gold-dim);
}
.contact-card .label {
    display: block;
    font-size: 0.78rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.contact-card address {
    font-style: normal;
    line-height: 1.7;
    color: var(--c-text-dark);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-bg-darker);
    color: var(--c-text-light-muted);
    padding: 70px 0 0;
    font-size: 0.95rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

@media (min-width: 700px) {
    .site-footer__grid {
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 80px;
        align-items: center;
    }
    .site-footer__col {
        text-align: right;
    }
}

.site-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-footer__logo {
    width: 200px;
    height: auto;
}

@media (max-width: 699px) {
    .site-footer__col {
        padding-left: 32px;
    }
}

.site-footer__heading {
    color: var(--c-text-light);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
    font-family: var(--font-sans);
}
.site-footer__heading--spaced {
    margin-top: 32px;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer__list a {
    color: var(--c-text-light-muted);
}
.site-footer__list a:hover {
    color: var(--c-gold);
}

.site-footer__address {
    font-style: normal;
    line-height: 1.75;
}

.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201, 163, 104, 0.4);
    color: var(--c-text-light-muted);
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}
.site-footer__social a:hover,
.site-footer__social a:focus-visible {
    border-color: var(--c-gold);
    color: var(--c-gold);
    background: rgba(201, 163, 104, 0.08);
    transform: translateY(-2px);
}
.site-footer__social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 699px) {
    .site-footer__social {
        justify-content: flex-start;
    }
}

.site-footer__base {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--c-text-light-muted);
}
.site-footer__base p { margin: 0; }
.site-footer__base p + p { margin-top: 8px; }
.site-footer__legal-links a { color: var(--c-text-light-muted); }
.site-footer__legal-links a:hover { color: var(--c-gold); }
.site-footer__legal-links span { margin: 0 6px; opacity: 0.5; }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--c-bg-dark);
        border-bottom: 1px solid var(--c-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 320ms ease;
    }
    .site-nav.is-open {
        max-height: 400px;
    }
    .site-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 14px 24px 22px;
        align-items: stretch;
    }
    .site-nav__link,
    .site-nav__link--cta {
        padding: 14px 0;
        text-align: left;
        margin-left: 0;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .site-nav__link.is-active::after { display: none; }
    .site-nav__link--cta {
        margin-top: 6px;
        text-align: center;
        border: 1.5px solid var(--c-gold);
        border-radius: var(--radius);
    }

    .site-header__logo { height: 44px; }
}

/* ============================================================
   Motion — scroll snap, hero entrance, reveal-on-scroll
   All wrapped in prefers-reduced-motion guards.
   ============================================================ */

html {
    scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-snap-type: y proximity;
    }
    .hero,
    .page-hero,
    .cta-strip {
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    /* Hero entrance — CSS keyframes triggered on page load */
    .hero__content > * {
        opacity: 0;
        animation: heroRise 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .hero__content > *:nth-child(1) { animation-delay: 100ms; }
    .hero__content > *:nth-child(2) { animation-delay: 220ms; }
    .hero__content > *:nth-child(3) { animation-delay: 340ms; }
    .hero__content > *:nth-child(4) { animation-delay: 460ms; }

    .hero__media {
        opacity: 0;
        animation: heroSlideIn 900ms cubic-bezier(0.16, 1, 0.3, 1) 280ms forwards;
    }
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Reveal-on-scroll — only active when JS has flagged it,
   so non-JS / failed-JS visitors still see content. */
body.with-reveals .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
body.with-reveals .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
body.with-reveals .reveal--delay-1 { transition-delay: 120ms; }
body.with-reveals .reveal--delay-2 { transition-delay: 240ms; }
body.with-reveals .reveal--delay-3 { transition-delay: 360ms; }

body.with-reveals .reveal--from-left { transform: translateX(-48px); }
body.with-reveals .reveal--from-right { transform: translateX(48px); }
body.with-reveals .reveal--from-left.is-visible,
body.with-reveals .reveal--from-right.is-visible { transform: translateX(0); }

