/* ============================================================
   Designa → Buser · "The circle closes"
   A scroll-driven color transformation from Designa cyan
   into Buser magenta. Editorial, dark, refined.
   ============================================================ */

:root {
    --designa: #23EAE7;
    --buser: #f11075;
    /* --t is driven by scroll (0 = Designa, 1 = Buser) via JS */
    --t: 0;
    --accent: color-mix(in oklab, var(--designa), var(--buser) calc(var(--t) * 100%));
    --accent-soft: color-mix(in oklab, var(--accent) 22%, transparent);

    --bg: #0e0d11;
    --bg-2: #16141b;
    --ink: #f4f2f5;
    --ink-dim: rgba(244, 242, 245, 0.62);
    --line: rgba(255, 255, 255, 0.09);

    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Atmosphere: twin auroras (cyan top-left, magenta bottom-right) that
   breathe with the scroll transformation. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60vw 60vw at 12% 8%, color-mix(in oklab, var(--designa) calc((1 - var(--t)) * 26%), transparent), transparent 60%),
        radial-gradient(65vw 65vw at 88% 96%, color-mix(in oklab, var(--buser) calc(var(--t) * 30%), transparent), transparent 62%),
        var(--bg);
    transition: background 0.15s linear;
}

/* Fine grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    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='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}

a {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: 700;
    color: var(--accent);
    transition: color 0.15s linear;
}

/* --- Scroll progress bar (the transformation, made literal) --- */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 3000;
    transform-origin: 0 50%;
    transform: scaleX(var(--t));
    background: linear-gradient(90deg, var(--designa), var(--buser));
    box-shadow: 0 0 14px color-mix(in oklab, var(--accent) 70%, transparent);
}

/* --- Bilingual visibility --- */
body.lang-pt .en,
body.lang-en .pt {
    display: none !important;
}

.lang-toggle {
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 3000;
    display: flex;
    gap: 4px;
    background: rgba(10, 9, 13, 0.55);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(12px);
}

.lang-toggle button {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: var(--ink);
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 7px 13px;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.25s, background 0.25s;
}

.lang-toggle button .flag {
    font-size: 1.05rem;
    line-height: 1;
}

.lang-toggle button.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn.primary {
    background: var(--accent);
    color: #0b0a0d;
    box-shadow: 0 0 26px color-mix(in oklab, var(--accent) 45%, transparent);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px color-mix(in oklab, var(--accent) 70%, transparent);
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--ink);
}

.btn.ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* --- Eyebrow chip --- */
.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    border: 1px solid var(--accent-soft);
    border-radius: 50px;
    padding: 7px 20px;
    transition: color 0.15s linear, border-color 0.15s linear;
}

/* --- Brand lockup: Designa → Buser --- */
.lockup {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin: 30px auto 40px;
    padding: 18px 34px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 70px;
}

.lockup .designa-logo {
    height: 34px;
    width: auto;
}

.lockup .buser-logo {
    height: 26px;
    width: auto;
}

.lockup .arrow {
    color: var(--accent);
    font-size: 1.5rem;
    transition: color 0.15s linear;
    animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(6px);
        opacity: 1;
    }
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 90px;
}

.hero-inner {
    max-width: 900px;
}

/* Hero: lockup on its own line (top), date below it */
.hero .lockup {
    display: flex;
    width: fit-content;
    margin: 0 auto 20px;
}

.hero .eyebrow {
    margin-bottom: 10px;
}

.hero h1 {
    font-family: var(--display);
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 6px 0 26px;
}

.hero h1 .accentword {
    font-style: italic;
    color: var(--buser);
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--ink-dim);
    max-width: 680px;
    margin: 0 auto 42px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Sections --- */
section {
    padding: 110px 0;
    position: relative;
}

.section-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--ink-dim);
    margin-bottom: 46px;
}

.section-label::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: var(--accent);
    transition: background 0.15s linear;
}

/* --- Arc 2017 → 2026 --- */
.arc {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 840px;
    margin: 0 auto;
}

.arc-node {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
}

.arc-node .arc-logo {
    height: 34px;
    width: auto;
    display: block;
    margin: 0 auto 20px;
}

.arc-node .arc-logo.buser {
    height: 26px;
    margin-top: 4px;
    margin-bottom: 24px;
    /* Buser logo rendered in white above 2026 */
    filter: brightness(0) invert(1);
}

.arc-node .year {
    font-family: var(--display);
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 1;
    display: block;
    margin-bottom: 14px;
    color: var(--designa);
}

.arc-node.future .year {
    color: var(--buser);
}

.arc-node p {
    margin: 0;
    color: var(--ink-dim);
    font-size: 1.05rem;
}

.arc-link {
    display: flex;
    align-items: center;
    padding: 0 26px;
    font-size: 1.8rem;
    color: var(--accent);
    transition: color 0.15s linear;
}

@media (max-width: 720px) {
    .arc {
        flex-direction: column;
        gap: 16px;
    }

    .arc-node {
        width: 100%;
        min-width: 0;
    }

    .arc-link {
        justify-content: center;
        transform: rotate(90deg);
        padding: 0;
    }
}

/* --- Letter --- */
.letter-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.letter {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(244, 242, 245, 0.9);
}

.letter p {
    margin-bottom: 1.6rem;
}

.letter p:first-of-type::first-letter {
    font-family: var(--display);
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 0.8;
    float: left;
    padding: 6px 14px 0 0;
    color: var(--accent);
    transition: color 0.15s linear;
}

.signature {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 40px;
    transition: color 0.15s linear;
}

/* --- Press --- */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.press-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 26px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.press-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.055);
}

.press-card .outlet {
    font-weight: 800;
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.press-card .headline {
    color: var(--ink-dim);
    font-size: 0.95rem;
    font-weight: 400;
    flex: 1;
}

.press-card .read {
    margin-top: 18px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    transition: color 0.15s linear;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
    max-width: 960px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 40px 30px;
    text-align: center;
}

.team-card .photo-ring {
    width: 118px;
    height: 118px;
    margin: 0 auto 22px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--designa), var(--buser));
}

.team-card .photo-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid var(--bg);
}

.team-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.team-card .role {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 16px;
    transition: color 0.15s linear;
}

.team-card p {
    margin: 0;
    color: var(--ink-dim);
    font-size: 0.98rem;
}

/* --- Cinematic bus band --- */
.bus-band {
    position: relative;
    height: clamp(340px, 52vh, 560px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.bus-band .bus-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: -2;
    transform: scale(1.05);
}

/* Tint the photo toward the current transformation color + darken for text */
.bus-band::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to bottom, rgba(14, 13, 17, 0.55) 0%, rgba(14, 13, 17, 0.2) 40%, rgba(14, 13, 17, 0.9) 100%),
        color-mix(in oklab, var(--buser) calc(18% + var(--t) * 22%), transparent);
    mix-blend-mode: normal;
    transition: background 0.15s linear;
}

.bus-band .bus-caption {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 0 28px 54px;
}

.bus-band .bus-caption h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 12px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.bus-band .bus-caption p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

/* --- Footer: fully Buser --- */
.footer {
    padding: 120px 0 60px;
    text-align: center;
    background:
        radial-gradient(70vw 40vw at 50% 120%, color-mix(in oklab, var(--buser) 22%, transparent), transparent 70%),
        linear-gradient(to bottom, transparent, rgba(241, 16, 117, 0.06));
    border-top: 1px solid var(--line);
}

.footer .buser-logo-big {
    height: 40px;
    width: auto;
    margin-bottom: 26px;
}

.footer h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 34px;
}

.footer .copyright {
    margin-top: 60px;
    font-size: 0.85rem;
    color: rgba(244, 242, 245, 0.4);
    letter-spacing: 0.5px;
}

/* --- Reveal animations --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.load {
    opacity: 0;
    transform: translateY(22px);
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.d1 {
    animation-delay: 0.12s;
}

.d2 {
    animation-delay: 0.26s;
}

.d3 {
    animation-delay: 0.4s;
}

.d4 {
    animation-delay: 0.54s;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .load,
    .reveal,
    .lockup .arrow {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 720px) {
    section {
        padding: 80px 0;
    }

    .lockup {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
}
