:root {
    --bg: #0b0d10;
    --bg-soft: #11151a;
    --panel: rgba(255,255,255,.055);
    --panel-hover: rgba(255,255,255,.085);
    --text: #f5f7f8;
    --muted: #9ca6b2;
    --line: rgba(255,255,255,.10);
    --accent: #a8ff78;
    --accent2: #78ffd6;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 5%, rgba(89,125,255,.14), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(120,255,214,.10), transparent 32%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    z-index: -1;
}

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

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

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(22px);
    background: rgba(11,13,16,.70);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 760;
    letter-spacing: -.03em;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background:
        linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 40px rgba(120,255,214,.15);
    position: relative;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid #07100c;
    border-radius: 6px;
    transform: rotate(45deg);
}

.navlinks {
    display: flex;
    gap: 30px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.navlinks a {
    transition: color .2s ease;
}

.navlinks a:hover,
.navlinks a.active {
    color: white;
}

.nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: white !important;
    background: rgba(255,255,255,.04);
}

.hero {
    padding: 105px 0 70px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
    color: #cbd2da;
    background: rgba(255,255,255,.035);
    font-size: 13px;
}

.dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--accent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 70px;
}

h1 {
    margin: 24px 0;
    font-size: clamp(52px, 7vw, 94px);
    line-height: .96;
    letter-spacing: -.065em;
    max-width: 900px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, #a8ff78 48%, #78ffd6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.lead {
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    font-weight: 650;
    font-size: 14px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #07100c;
    border-color: transparent;
}

.btn-secondary {
    background: rgba(255,255,255,.045);
}

.hero-art {
    position: relative;
    min-height: 520px;
}

.hero-photo {
    position: absolute;
    inset: 20px 0 0 20px;
    height: 470px;
    width: calc(100% - 20px);
    object-fit: cover;
    border-radius: 28px;
    filter: saturate(.78) contrast(1.05);
    border: 1px solid var(--line);
}

.floating-card {
    position: absolute;
    padding: 17px;
    border-radius: 18px;
    background: rgba(18,22,27,.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.float-a {
    left: -25px;
    bottom: 35px;
    width: 210px;
}

.float-b {
    right: -20px;
    top: 45px;
    width: 185px;
}

.mini-label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 9px;
}

.metric {
    font-size: 27px;
    font-weight: 760;
    letter-spacing: -.04em;
}

section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 32px;
}

.section-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 55px);
    letter-spacing: -.045em;
}

.section-copy {
    color: var(--muted);
    max-width: 560px;
    line-height: 1.65;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.22);
    background: var(--panel-hover);
}

.card img {
    height: 245px;
    width: 100%;
    object-fit: cover;
    filter: saturate(.72);
}

.card-body {
    padding: 24px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 13px;
}

.card h3 {
    font-size: 26px;
    margin: 0 0 12px;
    letter-spacing: -.035em;
}

.card p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.price {
    color: var(--accent);
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    color: #ccd4db;
}

.banner {
    padding: 45px;
    border-radius: 28px;
    background:
        linear-gradient(125deg, rgba(168,255,120,.12), rgba(120,255,214,.035)),
        rgba(255,255,255,.035);
    border: 1px solid rgba(168,255,120,.18);
}

.banner h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 60px);
    letter-spacing: -.05em;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}

.stat {
    padding: 28px;
    background: rgba(255,255,255,.025);
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-size: 34px;
    letter-spacing: -.04em;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}

.page-hero {
    padding: 95px 0 45px;
}

.page-hero h1 {
    max-width: 1000px;
}

.content-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
}

.prose {
    color: #c7ced6;
    line-height: 1.8;
    font-size: 18px;
}

.prose h2 {
    color: white;
    font-size: 36px;
    letter-spacing: -.04em;
    margin-top: 50px;
}

.journal-item {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    align-items: center;
}

.journal-item:last-child {
    border-bottom: 1px solid var(--line);
}

.journal-date {
    color: var(--muted);
    font-size: 13px;
}

.journal-item h3 {
    margin: 0 0 7px;
    font-size: 22px;
}

.journal-item p {
    margin: 0;
    color: var(--muted);
}

.arrow {
    font-size: 25px;
    transition: transform .2s ease;
}

.journal-item:hover .arrow {
    transform: translateX(5px);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
}

.contact-block {
    padding: 38px;
    background: var(--bg-soft);
}

.contact-block h3 {
    margin-top: 0;
    font-size: 27px;
}

.contact-block p {
    color: var(--muted);
    line-height: 1.7;
}

.fake-input {
    border: 1px solid var(--line);
    padding: 15px 16px;
    border-radius: 13px;
    margin-top: 12px;
    color: var(--muted);
    background: rgba(255,255,255,.025);
}

footer {
    margin-top: 85px;
    border-top: 1px solid var(--line);
    padding: 45px 0;
    color: var(--muted);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: .18s ease both fade-out;
}

::view-transition-new(root) {
    animation: .35s ease both fade-in;
}

@keyframes fade-out {
    to { opacity: 0; transform: translateY(-8px); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 900px) {
    .hero-grid,
    .content-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 430px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .navlinks a:not(.nav-cta) {
        display: none;
    }

    .journal-item {
        grid-template-columns: 1fr;
    }

    .arrow {
        display: none;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }

    .hero {
        padding-top: 70px;
    }

    h1 {
        font-size: 52px;
    }

    .hero-art {
        min-height: 350px;
    }

    .hero-photo {
        height: 330px;
        inset-left: 0;
    }

    .float-b {
        display: none;
    }

    .float-a {
        left: 10px;
        bottom: 0;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .banner {
        padding: 28px;
    }

    .footer-grid {
        flex-direction: column;
    }
}
