.header-ui__box-10 { width: 2.5rem; height: 2.5rem; }

.hero-tide__band { min-height: 34rem; display: flex; align-items: center; }
.hero-tide__waves { height: 11rem; }
.hero-tide__wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.hero-tide__wave--1 { animation: hero-tide-drift 22s linear infinite; }
.hero-tide__wave--2 { animation: hero-tide-drift 16s linear infinite reverse; height: 85%; }
.hero-tide__wave--3 { animation: hero-tide-drift 28s linear infinite; height: 60%; }

.hero-tide__copy > * { opacity: 0; transform: translateY(1.5rem); animation: hero-tide-rise 900ms cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-tide__copy > *:nth-child(2) { animation-delay: 140ms; }
.hero-tide__copy > *:nth-child(3) { animation-delay: 280ms; }
.hero-tide__title { letter-spacing: -0.02em; }

.hero-tide__chip { max-width: 14rem; overflow-wrap: anywhere; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: hero-tide-float 6s ease-in-out infinite; }
.hero-tide__chip--0 { top: 66% !important; left: 2% !important; }
.hero-tide__chip--1 { top: 14% !important; left: auto !important; right: 2%; animation-delay: -3s; }

@keyframes hero-tide-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hero-tide-rise { to { opacity: 1; transform: none; } }
@keyframes hero-tide-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
    .hero-tide__wave, .hero-tide__chip { animation: none; }
    .hero-tide__copy > * { animation: none; opacity: 1; transform: none; }
}

/* the floating chips sit at the section edges from xl up: keep the copy narrow enough that a long headline never runs under them */
@media (min-width: 1200px) { .hero-tide__copy { max-width: 44rem; margin-left: auto; margin-right: auto; } }

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.hero-tide[hidden], .hero-tide [hidden], .hero-tide .hidden.d-none { display: none !important; }

/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}

.pulse-stack__eyebrow {
    letter-spacing: 0.12em;
}

.pulse-stack__heading {
    letter-spacing: -0.02em;
}

.pulse-stack__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

.pulse-stack__double {
    border-top-style: double;
}

.pulse-stack__glow {
    width: 16rem;
    height: 16rem;
    transform: translate(30%, 30%);
    filter: blur(14px);
}

.pulse-stack__frost {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pulse-stack__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pulse-stack__track {
    height: 0.25rem;
}

.pulse-stack__fill {
    width: 0;
    animation: pulse-stack-fill 1.8s ease forwards;
}

.pulse-stack__fill--1 { --pulse-stack-end: 84%; animation-delay: 0.15s; }
.pulse-stack__fill--2 { --pulse-stack-end: 52%; animation-delay: 0.4s; }
.pulse-stack__fill--3 { --pulse-stack-end: 68%; animation-delay: 0.65s; }

@keyframes pulse-stack-fill {
    from { width: 0; }
    to { width: var(--pulse-stack-end); }
}

.pulse-stack__marquee {
    width: max-content;
    animation: pulse-stack-marquee 22s linear infinite;
}

@keyframes pulse-stack-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.pulse-stack__band {
    margin-inline: -1rem;
    padding-inline: 1rem;
}

@media (min-width: 768px) {
    .pulse-stack__band {
        margin-inline: -1.5rem;
        padding-inline: 1.5rem;
    }
}

.pulse-stack__chip {
    width: max-content;
    max-width: 14rem;
}

.pulse-stack__copy {
    max-width: 34rem;
}

.pulse-stack__photo {
    aspect-ratio: 3 / 4;
    width: 100%;
}

.pulse-stack__img {
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .pulse-stack__marquee,
    .pulse-stack__fill {
        animation: none;
    }

    .pulse-stack__fill--1 { width: 84%; }
    .pulse-stack__fill--2 { width: 52%; }
    .pulse-stack__fill--3 { width: 68%; }
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.writeup-document__text-panel-inset {
    padding: 4rem;
}

.writeup-document__img-tilt {
    transform: rotate(6deg);
}

.ledger-rail__img { object-fit: cover; height: 16rem; }
.ledger-rail__bars { height: 8rem; }
.ledger-rail__bar {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    transform-origin: bottom center;
    animation: ledger-rail-bar 2.8s ease-in-out infinite;
}
.ledger-rail__bar--1 { height: 35%; opacity: 0.22; }
.ledger-rail__bar--2 { height: 50%; opacity: 0.34; animation-delay: 0.2s; }
.ledger-rail__bar--3 { height: 64%; opacity: 0.46; animation-delay: 0.4s; }
.ledger-rail__bar--4 { height: 82%; opacity: 0.6; animation-delay: 0.6s; }
.ledger-rail__bar--5 { height: 100%; opacity: 1; animation-delay: 0.8s; }
@keyframes ledger-rail-bar {
    0%, 100% { transform: scaleY(0.45); }
    50% { transform: scaleY(1); }
}
.ledger-rail__avatars { margin: 0; padding: 0; list-style: none; }
.ledger-rail__avatar { width: 2.75rem; height: 2.75rem; }
.ledger-rail__avatar + .ledger-rail__avatar { margin-left: -0.75rem; }
@media (prefers-reduced-motion: reduce) {
    .ledger-rail__bar { animation: none; }
}

