@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080716;
    --bg-2: #10102a;
    --ink: #f8f1db;
    --muted: #c7bfa6;
    --gold: #f4c95d;
    --gold-2: #b8860b;
    --ruby: #891a2f;
    --emerald: #135c42;
    --blue: #1a3c78;
    --purple: #352066;
    --glass: rgba(255, 255, 255, 0.08);
    --line: rgba(244, 201, 93, 0.25);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background:
    radial-gradient(circle at 20% 10%, rgba(244, 201, 93, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(53, 32, 102, 0.65), transparent 35%),
    linear-gradient(135deg, var(--bg), #05050c 40%, #101024);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(244,201,93,0.8) 1px, transparent 1px);
    background-size: 90px 90px, 130px 130px;
    background-position: 0 0, 40px 60px;
    opacity: 0.22;
    z-index: -3;
}

.mist {
    position: fixed;
    inset: auto -10% -25% -10%;
    height: 45vh;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.12), transparent 65%);
    filter: blur(24px);
    opacity: 0.35;
    z-index: -2;
    animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: translateX(-2%); }
    to { transform: translateX(2%); }
}

a {
    color: inherit;
    text-decoration: none;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 6vw;
    background: rgba(8, 7, 22, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: "Cinzel", Georgia, serif;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--gold);
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #fff3ba 0%, var(--gold) 42%, #7a5109 100%);
    color: #1d1405;
    box-shadow: 0 0 24px rgba(244, 201, 93, 0.45);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--muted);
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--glass);
}

.hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
    padding: 6rem 6vw 4rem;
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(244, 201, 93, 0.08);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
}

h1, h2, h3 {
    font-family: "Cinzel", Georgia, serif;
    line-height: 1.08;
}

h1 {
    font-size: clamp(3.1rem, 8vw, 7.8rem);
    letter-spacing: -0.07em;
    margin-bottom: 1.2rem;
    text-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.gold-text {
    background: linear-gradient(100deg, #fff4b5, var(--gold), #c68918);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.btn-primary {
    color: #1b1306;
    background: linear-gradient(135deg, #fff0a8, var(--gold), #b97808);
    box-shadow: 0 12px 30px rgba(244, 201, 93, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(244, 201, 93, 0.35);
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-card {
    position: relative;
    min-height: 560px;
    border-radius: 32px;
    padding: 2rem;
    background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    radial-gradient(circle at 50% 0%, rgba(244,201,93,0.2), transparent 42%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.moon {
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff8cf, #d8c476 55%, #796319 100%);
    box-shadow: 0 0 55px rgba(255, 238, 168, 0.55);
}

.castle {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(420px, 85%);
    height: 410px;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.55));
}

.tower,
.hall,
.roof,
.bridge {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, #343247, #171625);
    border: 1px solid rgba(244,201,93,0.18);
}

.tower::before,
.hall::before {
    content: "";
    position: absolute;
    inset: 18px 50% auto auto;
    width: 7px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(#fff2a3, #8f5d0b);
    box-shadow: 40px 28px 0 #d99f25, -32px 62px 0 #f4c95d;
    opacity: 0.9;
}

.tower.one { left: 30px; width: 76px; height: 245px; border-radius: 22px 22px 0 0; }
.tower.two { left: 116px; width: 58px; height: 325px; border-radius: 20px 20px 0 0; }
.tower.three { right: 88px; width: 70px; height: 285px; border-radius: 22px 22px 0 0; }
.tower.four { right: 25px; width: 50px; height: 205px; border-radius: 18px 18px 0 0; }

.hall {
    left: 145px;
    width: 160px;
    height: 180px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, #3f3a50, #171625);
}

.roof {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, #6e1d2f, #260912);
    border: none;
}

.roof.r1 { left: 20px; bottom: 245px; width: 96px; height: 96px; }
.roof.r2 { left: 104px; bottom: 325px; width: 82px; height: 95px; }
.roof.r3 { right: 75px; bottom: 285px; width: 94px; height: 98px; }
.roof.r4 { right: 14px; bottom: 205px; width: 72px; height: 80px; }
.roof.r5 { left: 128px; bottom: 180px; width: 195px; height: 95px; }

.bridge {
    left: -35px;
    right: -35px;
    height: 65px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #2c2a3d, #11101d);
}

.floating-card {
    position: absolute;
    z-index: 2;
    left: 1.6rem;
    bottom: 1.6rem;
    max-width: 250px;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(6, 5, 16, 0.72);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.floating-card strong {
    display: block;
    color: var(--gold);
    margin-bottom: 0.35rem;
    font-family: "Cinzel", Georgia, serif;
}

.floating-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 18px var(--gold);
    animation: float 5s ease-in-out infinite;
}

.spark.s1 { top: 28%; left: 15%; animation-delay: 0s; }
.spark.s2 { top: 44%; right: 18%; animation-delay: 1s; }
.spark.s3 { top: 18%; right: 44%; animation-delay: 2s; }
.spark.s4 { bottom: 32%; left: 28%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.65; }
    50% { transform: translateY(-28px) scale(1.3); opacity: 1; }
}

section {
    padding: 5.5rem 6vw;
    position: relative;
}

.section-header {
    max-width: 820px;
    margin-bottom: 2.4rem;
}

.section-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 0.7rem;
}

h2 {
    font-size: clamp(2.2rem, 4.8vw, 4.6rem);
    letter-spacing: -0.045em;
    margin-bottom: 0.9rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

.thesis-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025));
    box-shadow: var(--shadow);
}

.thesis-art {
    min-height: 380px;
    border-radius: 26px;
    background:
    linear-gradient(rgba(255, 152, 152, 0.18), rgba(172, 172, 172, 0.66)),
    radial-gradient(circle at 20% 25%, rgba(255, 226, 153, 0.35), transparent 22%),
    linear-gradient(145deg, var(--ruby), var(--purple), #060512);
    position: relative;
    overflow: hidden;
}

.thesis-art::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(244,201,93,0.35);
    border-radius: 22px;
}

.wand {
    position: absolute;
    left: 16%;
    bottom: 18%;
    width: 260px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4d2c15, #d79d42, #3a1f0c);
    transform: rotate(-33deg);
    box-shadow: 0 0 22px rgba(244,201,93,0.28);
}

.wand::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 50%;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, #fff8c9, var(--gold), transparent 68%);
    filter: blur(2px);
}

.quote-mark {
    position: absolute;
    right: 1.5rem;
    bottom: -1.4rem;
    font-family: Georgia, serif;
    font-size: 12rem;
    line-height: 1;
    color: rgba(244, 201, 93, 0.16);
}

.thesis-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thesis-content h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.thesis-content p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.pull-quote {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--gold);
    background: rgba(244,201,93,0.07);
    border-radius: 0 18px 18px 0;
    color: var(--ink) !important;
    font-weight: 700;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.timeline-card,
.info-card,
.ride-card,
.impact-card {
    position: relative;
    padding: 1.4rem;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025));
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.timeline-card:hover,
.info-card:hover,
.ride-card:hover,
.impact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244,201,93,0.55);
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035));
}

.year {
    font-family: "Cinzel", Georgia, serif;
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.timeline-card h3,
.info-card h3,
.ride-card h3,
.impact-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    color: var(--ink);
}

.timeline-card p,
.info-card p,
.ride-card p,
.impact-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(244,201,93,0.12);
    border: 1px solid var(--line);
    font-size: 1.6rem;
}

.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: center;
}

.poster {
    min-height: 520px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background:
    linear-gradient(rgba(8,7,22,0.2), rgba(8,7,22,0.84)),
    radial-gradient(circle at 50% 18%, rgba(255,245,180,0.45), transparent 16%),
    linear-gradient(160deg, #421020, #151530 45%, #03030a);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.poster-image {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: 
        translate(-62.5%, -44%);
    
    width: 320px;
    max-width: 80%;

    object-fit: contain;

    filter:
        drop-shadow(0 0 30px rgba(244,201,93,0.25))
        brightness(1.05);

    z-index: 2;
}

.poster::before {
    content: "HOGWARTS EXPRESS";
    position: absolute;
    left: 50%;
    bottom: 16%;
    transform: translateX(-50%);
    width: 78%;
    padding: 1.1rem;
    text-align: center;
    border: 2px solid rgba(244,201,93,0.55);
    border-radius: 18px;
    font-family: "Cinzel", Georgia, serif;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--gold);
    background: rgba(0,0,0,0.45);
}

.poster::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 36%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 22px 0 rgba(244,201,93,0.28), 0 44px 0 rgba(244,201,93,0.14);
}

.DA-image {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: 
        translate(-50%, -44%);
    
    width: 93%;

    object-fit: contain;

    filter:
        drop-shadow(0 0 30px rgba(244,201,93,0.25))
        brightness(1.05);

    z-index: 2;
}

.ride-list {
    display: grid;
    gap: 1rem;
}

.ride-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1b1306;
    background: linear-gradient(135deg, #fff0a8, var(--gold), #b97808);
    font-weight: 900;
}

.consumerism {
    border-radius: 34px;
    padding: 2.2rem;
    border: 1px solid var(--line);
    background:
    linear-gradient(135deg, rgba(137,26,47,0.45), rgba(19,92,66,0.25), rgba(26,60,120,0.32)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    box-shadow: var(--shadow);
}

.argument-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.argument-card {
    padding: 1.3rem;
    border-radius: 24px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.13);
}

.argument-card h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.argument-card p {
    color: var(--muted);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
}

.large-impact {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
    linear-gradient(rgba(8,7,22,0.2), rgba(8,7,22,0.86)),
    radial-gradient(circle at 20% 20%, rgba(244,201,93,0.32), transparent 22%),
    linear-gradient(145deg, var(--blue), var(--purple));
}

.stack {
    display: grid;
    gap: 1rem;
}

.conclusion {
    text-align: center;
    padding-bottom: 6rem;
}

.conclusion .section-header {
    margin-left: auto;
    margin-right: auto;
}

.conclusion-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 34px;
    border: 1px solid var(--line);
    background:
    radial-gradient(circle at 50% 0%, rgba(244,201,93,0.2), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
    box-shadow: var(--shadow);
}

.conclusion-card p {
    color: var(--muted);
    font-size: 1.12rem;
    margin-bottom: 1rem;
}

footer {
    padding: 3rem 6vw;
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,0.35);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: 2rem;
    align-items: start;
}

footer h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

footer p,
footer li {
    color: var(--muted);
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.footer-note {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(244,201,93,0.16);
    color: rgba(248,241,219,0.65);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.sources {
    text-decoration: underline;
    font-style: italic;
}

@media (max-width: 980px) {
    .hero,
    .thesis-box,
    .split,
    .impact-grid,
    .footer-grid {
    grid-template-columns: 1fr;
    }

    .hero {
    padding-top: 4rem;
    }

    .hero-card {
    min-height: 480px;
    }

    .timeline,
    .design-grid,
    .argument-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .navbar {
    align-items: flex-start;
    flex-direction: column;
    }

    .nav-links {
    justify-content: flex-start;
    }

    .hero {
    min-height: auto;
    }

    .timeline,
    .design-grid,
    .argument-grid {
    grid-template-columns: 1fr;
    }

    .hero-card,
    .poster,
    .thesis-art {
    min-height: 360px;
    }

    .castle {
    transform: translateX(-50%) scale(0.78);
    transform-origin: bottom center;
    }
}