/* ==========================================================================
   Drew Stratton — Audio Engineer
   Design tokens → base → layout → components
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
    /* Surfaces */
    --bg: #08090b;
    --surface: #101317;
    --surface-2: #14181d;

    /* Lines */
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);

    /* Type */
    --text: #eef1f5;
    --text-2: #a3abb8;
    --text-3: #6d7683;

    /* Accent — pulled from the blue acoustic panels in the studio photo */
    --accent: #5aa2ff;
    --accent-soft: rgba(90, 162, 255, .14);
    --accent-line: rgba(90, 162, 255, .35);

    /* Type families */
    --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    /* Rhythm */
    --gutter: clamp(1.25rem, 5vw, 3.5rem);
    --wrap: 1180px;
    --section-y: clamp(5rem, 11vw, 9.5rem);
    --radius: 14px;
    --radius-lg: 20px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset / base --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: clamp(1rem, .28vw + .94rem, 1.0625rem);
    line-height: 1.65;
    letter-spacing: -.008em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, canvas, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .18s var(--ease);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--accent);
    color: #05070a;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: .7rem 1.1rem;
    background: var(--accent);
    color: #05070a;
    font-weight: 600;
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* Fine film grain — keeps the flat blacks from banding */
.grain {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: .035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Shared type ---------------------------------------------------------- */
.eyebrow,
.section-label {
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-3);
}

.section-num {
    color: var(--accent);
    margin-right: .85rem;
}

.section-title {
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin-top: 1.1rem;
}

.section-intro,
.section-head .section-intro {
    color: var(--text-2);
    max-width: 46ch;
    margin-top: 1.25rem;
}

.lead {
    font-size: clamp(1.075rem, .5vw + .95rem, 1.3rem);
    line-height: 1.55;
    letter-spacing: -.015em;
    color: var(--text);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .85rem 1.4rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: .94rem;
    font-weight: 550;
    letter-spacing: -.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease),
                color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    --btn-bg: var(--accent);
    --btn-fg: #05070a;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 8px 30px -12px rgba(90, 162, 255, .8);
}
.btn--primary:hover { --btn-bg: #7ab4ff; }

.btn--ghost {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(6px);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: var(--line-2);
    color: var(--text);
}

.btn--sm { padding: .55rem 1rem; font-size: .84rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

.btn-icon {
    width: 1.15em;
    height: 1.15em;
    fill: currentColor;
    flex: none;
}
.btn-icon--stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Header --------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background .3s var(--ease), border-color .3s var(--ease),
                backdrop-filter .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: rgba(8, 9, 11, .72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.site-header.is-stuck .scroll-progress { opacity: 1; }

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -.02em;
    margin-right: auto;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 18px;
}
.brand-mark span {
    display: block;
    width: 2px;
    border-radius: 1px;
    background: var(--accent);
    transition: height .3s var(--ease);
}
.brand-mark span:nth-child(1) { height: 6px; }
.brand-mark span:nth-child(2) { height: 12px; }
.brand-mark span:nth-child(3) { height: 18px; }
.brand-mark span:nth-child(4) { height: 10px; }
.brand-mark span:nth-child(5) { height: 5px; }

.brand:hover .brand-mark span:nth-child(1) { height: 12px; }
.brand:hover .brand-mark span:nth-child(2) { height: 6px; }
.brand:hover .brand-mark span:nth-child(3) { height: 13px; }
.brand:hover .brand-mark span:nth-child(4) { height: 18px; }
.brand:hover .brand-mark span:nth-child(5) { height: 9px; }

.brand-name { font-size: .98rem; }

.nav {
    display: flex;
    align-items: center;
    gap: clamp(.4rem, 2vw, 1.4rem);
}
.nav a {
    position: relative;
    padding: .45rem .2rem;
    color: var(--text-2);
    font-size: .92rem;
    font-weight: 500;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { transform: scaleX(1); }

@media (max-width: 640px) {
    .header-cta { display: none; }
    .brand-name { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 20svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
    .hero-media img {
        width: 100%;
        height: 100%;
        margin: 0px 0 0 0px;
        background-position: center;
        transition: transform 0.5s ease;
        object-fit: cover;
        object-position: 40% 30%;
        filter: saturate(.85) contrast(1.04);
        transform: scale(1.04);
        animation: heroIn 1.6s var(--ease) both;
    }

@keyframes heroIn {
    from { opacity: 0; transform: scale(1.1); }
    to   { opacity: 1; transform: scale(1.04); }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(8, 9, 11, .5) 0%, rgba(8, 9, 11, .18) 26%, rgba(8, 9, 11, .55) 48%, rgba(8, 9, 11, .86) 70%, rgba(8, 9, 11, .93) 100%),
        linear-gradient(to bottom, rgba(8, 9, 11, .75) 0%, rgba(8, 9, 11, .1) 28%, rgba(8, 9, 11, .55) 68%, var(--bg) 100%);
}

.hero-inner {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(3rem, 8vh, 6rem);
    padding-top: 7rem;
}

.hero-copy {
    max-width: 40rem;
    animation: riseIn .9s var(--ease) .25s both;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

.hero-title {
    font-size: clamp(3.4rem, 12.5vw, 8.5rem);
    font-weight: 600;
    line-height: .88;
    letter-spacing: -.055em;
    margin: .5rem 0 0;
    text-wrap: balance;
}

.hero-sub {
    margin-top: 1.5rem;
    max-width: 34rem;
    font-size: clamp(1.02rem, .55vw + .9rem, 1.25rem);
    line-height: 1.6;
    color: var(--text-2);
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2.25rem;
}
@media (max-width: 460px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
}

.hero-rail {
    position: relative;
    border-top: 1px solid var(--line);
    background: linear-gradient(to top, var(--bg), rgba(8, 9, 11, .35));
    animation: riseIn .9s var(--ease) .55s both;
}
.hero-rail-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .9rem;
    padding-block: 1.05rem;
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-3);
}
.hero-rail-inner i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .55;
}

@media (min-width: 900px) {
    .hero-inner { justify-content: flex-end; }
    .hero-copy { margin-left: 46%; }
}

/* --- Sections ------------------------------------------------------------- */
.section {
    position: relative;
    padding-block: 75px;
    scroll-margin-top: 68px;
}
.section--alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* --- Work grid ------------------------------------------------------------ */
.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .3s var(--ease), transform .35s var(--ease),
                box-shadow .35s var(--ease);
}
.card:hover {
    border-color: var(--line-2);
    box-shadow: 0 24px 60px -40px rgba(0, 0, 0, .9);
}

.card-body { padding: clamp(1.25rem, 2.4vw, 1.75rem); }
.card-body--top { padding-bottom: .9rem; }

.card-meta {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-3);
}

.tag {
    display: inline-block;
    padding: .28rem .55rem;
    border-radius: 5px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: #9cc8ff;
    font-size: .62rem;
    letter-spacing: .14em;
}
.tag--live {
    background: rgba(255, 138, 92, .12);
    border-color: rgba(255, 138, 92, .35);
    color: #ffb290;
}
.tag--release {
    background: rgba(110, 226, 168, .1);
    border-color: rgba(110, 226, 168, .3);
    color: #8fe6bd;
}

.card-title {
    margin-top: .7rem;
    font-size: clamp(1.2rem, 1.5vw, 1.55rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.2;
}
.card-sub {
    margin-top: .25rem;
    color: var(--text-2);
    font-size: .95rem;
}

@media (min-width: 860px) {
    .card--audio { grid-column: span 6; }
}

/* The Spotify embed's internal layout breaks below ~300px, so the
   feature/stream row only splits once there is room for it. */
@media (min-width: 1000px) {
    .card--feature { grid-column: span 7; }
    .card--stream  { grid-column: span 5; }

    /* Let the still fill whatever height the Spotify card sets for the row. */
    .card--feature .video-frame {
        flex: 1;
        aspect-ratio: auto;
        min-height: 320px;
    }
}

/* --- Video ---------------------------------------------------------------- */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.video-frame img,
.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-poster {
    transition: transform .6s var(--ease), filter .4s var(--ease);
    filter: saturate(.9) brightness(.82);
}
.video-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 9, 11, .65), transparent 55%);
    pointer-events: none;
}
.card:hover .video-poster {
    transform: scale(1.03);
    filter: saturate(1) brightness(.9);
}

.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(8, 9, 11, .45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background .25s var(--ease), transform .25s var(--ease),
                border-color .25s var(--ease);
}
.video-play svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    margin-left: 3px;
}
.video-play:hover {
    background: var(--accent);
    border-color: transparent;
    transform: scale(1.07);
}
.video-play:hover svg { fill: #05070a; }

/* --- Spotify embed -------------------------------------------------------- */
.card--stream { justify-content: space-between; }
.embed {
    padding: 0 clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.25rem, 2.4vw, 1.75rem);
    margin-top: auto;
}
.embed iframe {
    border-radius: 12px;
    width: 100%;
}

/* --- Audio player --------------------------------------------------------- */
.player {
    padding: 0 clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.1rem, 2vw, 1.4rem);
    margin-top: auto;
}

.wave {
    position: relative;
    height: 88px;
    cursor: pointer;
    touch-action: pan-y;
    border-radius: 6px;
    transition: opacity .2s var(--ease);
}
.wave canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.wave:focus-visible { outline-offset: 6px; }

.transport {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
}

.pbtn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    transition: color .2s var(--ease), background .2s var(--ease),
                transform .2s var(--ease);
}
.pbtn svg { width: 19px; height: 19px; fill: currentColor; }
.pbtn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.pbtn:active { transform: scale(.94); }

.pbtn--main {
    width: 42px;
    height: 42px;
    background: var(--text);
    color: #05070a;
    flex: none;
}
.pbtn--main:hover {
    background: var(--accent);
    color: #05070a;
    transform: scale(1.05);
}
.pbtn--main svg { width: 21px; height: 21px; }

.ico-pause,
.player.is-playing .ico-play { display: none; }
.player.is-playing .ico-pause { display: block; }

.pbtn--sm { width: 30px; height: 30px; }
.pbtn--sm svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ico-muted,
.player.is-muted .ico-vol { display: none; }
.player.is-muted .ico-muted { display: block; }

.timecode {
    margin-left: auto;
    font-family: var(--mono);
    font-size: .74rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-2);
    letter-spacing: .02em;
    white-space: nowrap;
}
.timecode i {
    font-style: normal;
    color: var(--text-3);
    margin-inline: .4rem;
}

.volume {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 18px;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    transition: width .3s var(--ease), opacity .3s var(--ease);
}
.volume:hover .vol-slider,
.vol-slider:focus-visible { width: 64px; opacity: 1; }

.vol-slider::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .16);
}
.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--text);
}
.vol-slider::-moz-range-track {
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .16);
}
.vol-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: var(--text);
}

@media (max-width: 400px) {
    .volume { display: none; }
}

/* --- About ---------------------------------------------------------------- */
.about-grid {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
}

.about-copy p + p { margin-top: 1.1rem; }
.about-copy .lead { margin-top: 1.75rem; }
.about-copy p:not(.lead) { color: var(--text-2); }

.about-panel {
    padding: clamp(1.5rem, 3vw, 2.1rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
@media (min-width: 900px) {
    .about-panel { position: sticky; top: 100px; }
}

.panel-title {
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-3);
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}

.discipline {
    display: grid;
    gap: .3rem;
    padding-block: 1.1rem;
    border-bottom: 1px solid var(--line);
}
.discipline:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 480px) {
    .discipline { grid-template-columns: 5.5rem 1fr; gap: 1rem; }
}

.discipline dt {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    padding-top: .2rem;
}
.discipline dd {
    margin: 0;
    font-size: .96rem;
    color: var(--text);
    line-height: 1.7;
}
.discipline dd span {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-3);
    vertical-align: middle;
    margin-inline: .6rem;
}

/* --- Contact -------------------------------------------------------------- */
.section--contact {
    position: relative;
    overflow: hidden;
}
.section--contact::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    width: min(900px, 120%);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(90, 162, 255, .1), transparent 62%);
    pointer-events: none;
}

.contact {
    position: relative;
    text-align: center;
    max-width: 46rem;
    margin-inline: auto;
}
.contact-title {
    margin-top: 1.2rem;
    font-size: clamp(2rem, 5.2vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.04em;
    text-wrap: balance;
}
.contact-sub {
    margin: 1.4rem auto 0;
    max-width: 42ch;
    color: var(--text-2);
    text-wrap: pretty;
}
.contact .btn--lg { margin-top: 2.25rem; }

.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.75rem;
    margin-top: 3.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--line);
    font-size: .92rem;
    color: var(--text-2);
    text-wrap: balance;
}
.contact-list span {
    display: block;
    margin-bottom: .55rem;
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: .9rem;
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
    padding-block: 2.25rem;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    font-size: .86rem;
    color: var(--text-3);
}
.footer-brand { color: var(--text-2); font-weight: 500; }
.footer-note { margin-right: auto; }

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--text-2);
    font-weight: 500;
}
.footer-top svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s var(--ease);
}
.footer-top:hover { color: var(--accent); }
.footer-top:hover svg { transform: translateY(-3px); }

@media (max-width: 560px) {
    .footer-note { width: 100%; margin-right: 0; }
}

/* --- Scroll reveal -------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --- Motion / contrast preferences ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal { opacity: 1; transform: none; }
    .hero-media img { transform: scale(1.04); }
}

.city {
    animation: fadein 0.2s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(13px);
    }

    to {
        opacity: 1;
    }
}
