* { box-sizing: border-box; }
:root {
    --bg: #f2f1ec;
    --surface: rgba(255, 255, 255, .68);
    --surface-strong: #fbfaf6;
    --ink: #0b0d0c;
    --muted: #686b67;
    --line: rgba(11, 13, 12, .14);
    --line-soft: rgba(11, 13, 12, .08);
    --acid: #c8ff3d;
    --acid-soft: rgba(200, 255, 61, .24);
    --violet: #7d61ff;
    --radius: 22px;
    --shadow: 0 28px 80px rgba(14, 17, 15, .12);
    --font-display: "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", Impact, sans-serif;
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-synthesis: none;
}
body::selection { background: var(--acid); color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.ambient {
    position: fixed;
    width: 34vw;
    aspect-ratio: 1;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(110px);
    opacity: .18;
    z-index: -1;
}
.ambient-one { top: -12vw; left: -10vw; background: var(--acid); }
.ambient-two { top: 28vh; right: -16vw; background: var(--violet); opacity: .10; }

.shell {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}
.nav {
    position: sticky;
    top: 14px;
    z-index: 20;
    min-height: 66px;
    margin-top: 14px;
    padding: 9px 10px 9px 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(11, 13, 12, .11);
    border-radius: 18px;
    background: rgba(246, 245, 240, .76);
    backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 8px 30px rgba(20, 23, 20, .05);
}
.brand {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}
.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ink);
    color: white;
    font: 900 13px/1 var(--font-sans);
    letter-spacing: -.04em;
    transform: rotate(-4deg);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-radius .35s ease;
}
.brand:hover .brand-mark { transform: rotate(4deg) scale(1.05); border-radius: 50%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 14px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.nav-links {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(255,255,255,.52);
}
.nav-links a {
    position: relative;
    padding: 9px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #595d58;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: -.01em;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}
.nav-links a:hover { color: var(--ink); transform: translateY(-1px); }
.nav-links a.is-active { background: var(--ink); color: #fff; }
.nav-meta {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4cae62;
    box-shadow: 0 0 0 5px rgba(76,174,98,.10);
    animation: live 2.5s ease infinite;
}
@keyframes live { 50% { box-shadow: 0 0 0 9px rgba(76,174,98,0); } }

.hero { padding: clamp(32px, 4vw, 62px) 0 0; }
.hero-kicker {
    display: grid;
    grid-template-columns: auto minmax(60px, 260px) auto;
    align-items: center;
    gap: 14px;
    width: max-content;
    max-width: 100%;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.kicker-rule { height: 1px; background: var(--line); }
.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(30px, 5vw, 90px);
    align-items: end;
}
.hero-copy h1 {
    margin: 0;
    max-width: 1120px;
    font-family: var(--font-display);
    font-size: clamp(72px, 11.6vw, 174px);
    line-height: .76;
    letter-spacing: -.065em;
    text-transform: uppercase;
    font-weight: 900;
}
.hero-copy h1 span { display: block; }
.hero-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink);
    text-stroke: 1.5px var(--ink);
}
.hero-aside { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
.stat {
    position: relative;
    overflow: hidden;
    min-height: 206px;
    padding: 19px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow);
}
.index-panel { gap: 18px; }
.stat::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -35px;
    top: -35px;
    border-radius: 50%;
    background: var(--acid);
    filter: blur(2px);
    opacity: .95;
}
.stat-label, .stat-unit { position: relative; z-index: 1; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.stat strong { position: relative; z-index: 1; font: 900 clamp(70px, 7vw, 102px)/.72 var(--font-display); letter-spacing: -.07em; }
.stat-unit { color: rgba(255,255,255,.55); }
.recent-feed {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.recent-title {
    margin-bottom: 8px;
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.recent-feed a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    text-decoration: none;
    color: #fff;
}
.recent-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 900;
}
.recent-icon img { width: 100%; height: 100%; object-fit: contain; }
.recent-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.recent-copy > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 850;
}
.recent-feed small {
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}
.scroll-cue {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.scroll-cue i { font-style: normal; font-size: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.gallery-section { margin-top: clamp(40px, 5vw, 72px); scroll-margin-top: 112px; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.section-title-wrap { display: flex; align-items: baseline; gap: 13px; }
.section-index { color: var(--muted); font: 800 10px/1 var(--font-sans); letter-spacing: .1em; }
.section-head h2 {
    margin: 0;
    font: 900 clamp(35px, 4vw, 58px)/.9 var(--font-display);
    letter-spacing: -.045em;
    text-transform: uppercase;
}
.section-count {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.section-actions { display: flex; align-items: center; gap: 8px; }
.sort-toggle {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(255,255,255,.52);
}
.sort-toggle button {
    height: 28px;
    border: 0;
    border-radius: 999px;
    padding: 0 10px;
    background: transparent;
    color: var(--muted);
    font: 800 10px/1 var(--font-sans);
    letter-spacing: .04em;
    cursor: pointer;
}
.sort-toggle button.is-active {
    background: var(--ink);
    color: #fff;
}
.section-toggle,
.show-more {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    color: var(--ink);
    font: 850 10px/1 var(--font-sans);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.section-toggle { padding: 9px 12px; }
.show-more {
    height: 42px;
    margin: 18px auto 0;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-toggle:hover,
.show-more:hover { background: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 2px 3px rgba(15,17,16,.02);
    transform: translateZ(0);
    transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s ease, border-color .5s ease, background .5s ease;
}
.site-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11,13,12,.18);
    background: rgba(255,255,255,.90);
    box-shadow: var(--shadow);
}
.shot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e5e4df;
    border-bottom: 1px solid var(--line-soft);
}
.featured-card .shot { aspect-ratio: 16 / 9.2; }
.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.16));
    opacity: 0;
    transition: opacity .4s ease;
}
.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.site-card:hover .shot img { transform: scale(1.045); filter: saturate(1.03) contrast(1.015); }
.site-card:hover .shot::after { opacity: 1; }
.site-body { padding: 16px; display: flex; flex-direction: column; gap: 17px; flex: 1; }
.featured-card .site-body { padding: 19px; }
.site-head { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; align-items: center; }
.favicon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 11px;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 12px;
    font-weight: 850;
}
.favicon img { width: 100%; height: 100%; object-fit: contain; }
.site-title { min-width: 0; }
.site-title h3 { margin: 0; font-size: 14px; line-height: 1.22; letter-spacing: -.025em; overflow-wrap: anywhere; }
.featured-card .site-title h3 { font-size: 17px; }
.host { margin-top: 4px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.site-body p {
    margin: 0;
    min-height: 2.9em;
    color: #555954;
    font-size: 13px;
    line-height: 1.48;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.open-link {
    position: relative;
    width: max-content;
    margin-top: auto;
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.open-link::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--acid);
    vertical-align: 1px;
}
.open-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: currentColor;
    transform-origin: right;
    transition: transform .3s ease;
}
.open-link:hover::after { transform: scaleX(.35); }

.empty {
    margin: 84px 0 140px;
    min-height: 310px;
    padding: 54px 28px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    border: 1px dashed rgba(11,13,12,.22);
    border-radius: 28px;
    background: rgba(255,255,255,.38);
}
.empty-icon { font-size: 34px; color: var(--violet); }
.empty strong { margin-top: 18px; font: 900 clamp(30px,4vw,52px)/1 var(--font-display); text-transform: uppercase; letter-spacing: -.04em; }
.empty p { max-width: 420px; margin: 14px auto 0; color: var(--muted); line-height: 1.5; }
.footer {
    margin-top: 130px;
    padding: 26px 0 38px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
}
.footer > div { display: flex; align-items: center; gap: 10px; }
.footer-mark { padding: 7px 8px; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 900; }
.footer a { text-decoration: none; color: var(--ink); }

.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 1; transform: none; }
.js-reveal.is-ready .reveal { opacity: 1; transform: none; }
.js-reveal.is-ready .reveal.is-visible { opacity: 1; transform: none; }
.gallery .reveal:nth-child(2) { transition-delay: .05s; }
.gallery .reveal:nth-child(3) { transition-delay: .10s; }
.gallery .reveal:nth-child(4) { transition-delay: .05s; }
.gallery .reveal:nth-child(5) { transition-delay: .10s; }
.gallery .reveal:nth-child(6) { transition-delay: .15s; }

@media (hover: none) {
    .site-card:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .001ms !important; }
    .js-reveal .reveal,
    .js-reveal.is-ready .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1280px) {
    .gallery { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .featured-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1040px) {
    .shell { width: min(100% - 32px, 1440px); }
    .hero-main { grid-template-columns: minmax(0,1fr) 180px; gap: 30px; }
    .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .shell { width: min(100% - 22px, 1440px); }
    .nav { top: 8px; margin-top: 8px; grid-template-columns: 1fr auto; border-radius: 15px; }
    .brand-copy, .nav-meta { display: none; }
    .nav-links { justify-self: end; max-width: calc(100vw - 86px); overflow-x: auto; scrollbar-width: none; }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { padding: 8px 11px; white-space: nowrap; }
    .hero {
        min-height: 85svh;
        display: grid;
        grid-template-rows: auto 1fr;
        padding-top: 48px;
    }
    .hero-kicker { grid-template-columns: auto 50px auto; margin-bottom: 18px; font-size: 8px; }
    .hero-main {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 20px;
    }
    .hero-copy h1 { font-size: clamp(54px, 18vw, 96px); line-height: .79; }
    .hero-aside {
        width: min(100%, 390px);
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
    .stat { min-height: 158px; }
    .stat strong { font-size: 72px; }
    .scroll-cue {
        width: min(100%, 390px);
        justify-content: center;
        gap: 12px;
        padding-bottom: 0;
        text-align: center;
    }
    .hero + .gallery-section { margin-top: 10px; }
    .gallery, .featured-grid { grid-template-columns: 1fr; }
    .gallery-section { margin-top: 54px; }
    .section-head h2 { font-size: 42px; }
    .featured-card .shot, .shot { aspect-ratio: 16 / 10.5; }
    .footer { margin-top: 90px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .gallery-section {
        margin-top: 34px;
        scroll-margin-top: 86px;
    }
    .section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px 12px;
        margin-bottom: 14px;
        padding-top: 14px;
    }
    .section-title-wrap {
        min-width: 0;
        gap: 0;
    }
    .section-index {
        display: none;
    }
    .section-head h2 {
        max-width: 100%;
        font-size: clamp(21px, 7vw, 30px);
        line-height: 1;
        letter-spacing: -.025em;
        text-transform: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .section-actions {
        display: contents;
    }
    .section-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        padding: 8px 11px;
        text-transform: none;
    }
    .section-count {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        padding: 6px 10px;
        font-size: 9px;
        text-transform: none;
        white-space: nowrap;
    }
    .sort-toggle {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .sort-toggle button {
        min-height: 27px;
        height: auto;
        padding: 6px 8px;
        font-size: 9px;
        white-space: normal;
    }
}
@media (max-width: 430px) {
    .hero-kicker span:last-child { display: none; }
    .hero-kicker { grid-template-columns: auto 70px; }
    .hero-copy h1 { font-size: clamp(52px, 18.5vw, 78px); }
    .stat { min-height: 138px; }
}
