
:root{
  color-scheme: light dark;
  --bg:#f6f7fb; --panel:#ffffff; --soft:#f3f5f9; --text:#0b1324; --muted:#475467;
  --brand:#2f5cff; --brand-2:#06b6d4; --ring:0 0 0 3px rgba(48,92,255,.28);
  --gap:18px; --radius:18px; --shadow:0 10px 30px rgba(0,0,0,.08);
  --nav-h:64px; --border:#e5e7eb; --link:#1d4ed8;
  --cap1:#f6f7fb; --cap2:#eceff5; --cap-border:#e5e7eb;
}
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b0d12; --panel:#11131a; --soft:#161926; --text:#e6eaf2; --muted:#98a2b3;
    --brand:#5b8cff; --brand-2:#22d3ee; --ring:0 0 0 3px rgba(91,140,255,.35);
    --shadow:0 6px 30px rgba(0,0,0,.35); --border:#1d2233; --link:#c3d3ff;
    --cap1:#171a25; --cap2:#121522; --cap-border:#1b2130;
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,var(--bg),var(--soft));color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;line-height:1.6}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}
.container{max-width:1200px;margin-inline:auto;padding:0 clamp(16px,3vw,28px)}

.header{position:sticky;top:0;z-index:100;background:color-mix(in srgb,var(--panel) 92%,transparent);
  backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid var(--border);
  min-height:var(--nav-h);transition:min-height .25s ease,box-shadow .25s ease,padding .25s ease}
.header.shrink{min-height:56px;box-shadow:0 6px 20px rgba(0,0,0,.08)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:10px}
.brand{font-weight:900;letter-spacing:.3px}.small{font-size:14px;color:var(--muted)} .nav .links a{margin-left:18px}

.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:var(--brand-2)}
.hero{padding:64px 0 28px}.hero h1{font-size:clamp(30px,5vw,48px);line-height:1.13;margin:6px 0 12px}.hero p{color:var(--muted);max-width:68ch}
.btn{display:inline-block;border:1px solid color-mix(in srgb,var(--brand) 35%, black 10%);
  background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 80%, #1a2236 20%),var(--panel));
  color:inherit;padding:14px 18px;border-radius:16px;font-weight:700;box-shadow:var(--shadow)} .btn:focus{outline:none;box-shadow:var(--ring)}
.section{padding:36px 0} .footer{border-top:1px solid var(--border);color:var(--muted);padding:32px 0;margin-top:40px}

.grid{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:linear-gradient(180deg,var(--panel),var(--soft));border-radius:18px;padding:18px;border:1px solid var(--border)} .card h3{margin-top:0}

.masonry{column-gap:32px}
@media (min-width:1100px){.masonry{column-count:3}}
@media (min-width:700px) and (max-width:1099px){.masonry{column-count:2}}
@media (max-width:699px){.masonry{column-count:1}}
.tile{break-inside:avoid;margin:0 0 24px 0;border-radius:22px;overflow:hidden;background:color-mix(in srgb,var(--panel) 92%, black 8%);position:relative;border:1px solid var(--border)}
.tile img{display:block;width:100%;height:auto;transition:transform .4s ease, filter .4s ease} .tile:hover img{transform:scale(1.02)}

.tile .cap{
  position:absolute;left:14px;right:14px;bottom:14px;
  padding:18px 20px;border-radius:16px;border:1px solid var(--cap-border);
  background:linear-gradient(180deg, var(--cap1), var(--cap2));
  color:inherit;font-weight:800; letter-spacing:.015em;
  font-size:clamp(22px, 6vw, 32px); line-height:1.1;
  box-shadow:var(--shadow); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.lightbox{z-index:9999; backdrop-filter:saturate(120%) blur(10px); backdrop-filter:saturate(120%) blur(8px);position:fixed;inset:0;background:rgba(6,8,13,.55);display:none;align-items:center;justify-content:center;padding:20px}
.lightbox.open{display:flex} .lightbox img{transition:transform .25s ease, box-shadow .25s ease;transform-origin:center;cursor:zoom-in;transition:transform .25s ease, box-shadow .25s ease;transform-origin:center;cursor:zoom-in;max-width:96vw;max-height:90vh;border-radius:16px;box-shadow:var(--shadow)}
.lightbox .close{position:absolute;top:20px;right:20px;background:rgba(0,0,0,.75);color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:12px 16px;cursor:pointer;font-size:26px;line-height:1;box-shadow:0 6px 18px rgba(0,0,0,.45);z-index:10}.lightbox .close:hover{background:rgba(0,0,0,.9)}

.breadcrumbs{font-size:13px;color:var(--muted);margin:8px 0 16px}.reveal{opacity:0;transform:translateY(14px);filter:blur(4px)}
.reveal.is-in{opacity:1;transform:none;filter:none;transition:opacity .6s ease, transform .6s ease, filter .6s ease}
.reveal-zoom{opacity:0;transform:scale(.96)} .reveal-zoom.is-in{opacity:1;transform:none;transition:opacity .6s ease, transform .6s ease}

.ham{display:none;align-items:center;justify-content:center;flex-direction:column;width:44px;height:44px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(180deg,var(--panel),var(--soft));cursor:pointer}
.ham:focus{outline:none;box-shadow:var(--ring)} .ham-line{display:block;width:24px;height:2px;background:currentColor;border-radius:2px;transition:transform .25s ease,opacity .2s ease} .ham-line + .ham-line{margin-top:5px}
.ham.active .ham-line:nth-child(1){transform:translateY(7px) rotate(45deg)} .ham.active .ham-line:nth-child(2){opacity:0} .ham.active .ham-line:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.backdrop{position:fixed;inset:0;display:none;background:rgba(0,0,0,.35);z-index:90} .backdrop.show{display:block}
.drawer{position:fixed;top:0;right:0;height:100dvh;width:min(80vw,420px);background:linear-gradient(180deg,var(--panel),var(--soft));border-left:1px solid var(--border);box-shadow:0 10px 30px rgba(0,0,0,.12);transform:translateX(100%);transition:transform .30s ease;z-index:99;padding:16px}
.drawer.open{transform:translateX(0)} .drawer a{display:block;padding:14px 12px;border-radius:10px;color:inherit;border:1px solid transparent} .drawer a:hover{border-color:var(--border);background:color-mix(in srgb,var(--panel) 90%, black 10%)} body.drawer-open{overflow:hidden}
.drawer-top{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:6px 6px 10px;margin:-16px -16px 12px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,var(--panel),var(--soft));z-index:1}
.drawer-close{border:1px solid var(--border);background:linear-gradient(180deg,var(--panel),var(--soft));border-radius:999px;padding:8px 12px;cursor:pointer}
.drawer-close:focus{outline:none;box-shadow:var(--ring)}

.to-top{position:fixed;right:16px;bottom:16px;z-index:90;border:1px solid var(--border);background:linear-gradient(180deg,var(--panel),var(--soft));border-radius:999px;padding:10px 12px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease} .to-top.show{opacity:1;pointer-events:auto}

@media (max-width:768px){
  .nav .links a{display:none}
  .ham{display:inline-flex}
  .container{padding-left:28px;padding-right:28px}
  .section{padding:36px 0}
  .masonry{column-gap:26px}
  .tile{margin:0 0 26px 0;border-radius:22px}
  .btn{padding:16px 18px}
}

@media (max-width: 640px){
.masonry{column-gap:20px}
.tile{margin-bottom:20px}
.tile img{border-radius:14px}
.cap{margin-top:8px}
}

.facts{list-style:disc;padding-left:1.25rem;display:grid;gap:.5rem;margin:0}
