/* Fresh redesign: split hero, airy cards, glass accents */
:root {
  --bg: #0a0f14;
  --ink: #eaf0f6;
  --muted: #a6b3c2;
  --accent: #58d0ff;
  --accent-700: #21ace6;
  --panel: rgba(16, 22, 29, 0.7);
  --edge: #1b2733;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(70rem 50rem at 0% -10%, #16263a, transparent 65%),
    radial-gradient(70rem 50rem at 110% 10%, #15283d, transparent 65%),
    var(--bg);
  background-attachment: fixed, fixed, fixed;
  color: var(--ink);
  line-height: 1.65;
}

.wrap { width: min(1000px, 92%); margin: 0 auto; }

/* Masthead */
.masthead {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,15,20,0.85), rgba(10,15,20,0.55)),
    url('assets/img/header.svg') center/cover no-repeat;
  border-bottom: 1px solid var(--edge);
  background-position: top center;
  min-height: 240px;
}
.masthead::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60rem 30rem at 15% -10%, rgba(122,226,255,.08), transparent 70%),
              radial-gradient(40rem 20rem at 110% 0%, rgba(42,176,232,.08), transparent 70%);
  pointer-events: none;
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; padding: 2.4rem 0 2.6rem; }
.brand { display: flex; align-items: center; gap: 1rem; }
.brand h1 { margin: 0; font-size: 1.85rem; letter-spacing: .2px; }
.brand .tag { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.brand .subnote { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.logo { height: 56px; width: auto; flex: 0 0 auto; filter: drop-shadow(0 6px 18px rgba(88,208,255,.25)); }

/* Panels */
.panel {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.25rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
}

.callout { background: rgba(16, 22, 29, 0.55); border: 1px solid var(--edge); border-radius: 12px; padding: 1rem; }
.callout h3 { margin-top: 0; margin-bottom: .4rem; font-size: 1.1rem; }

h2 { margin: .1rem 0  .5rem; font-size: 1.4rem; }
p { margin: 0 0 .75rem; color: var(--muted); }

.bullets { margin: .25rem 0 .25rem 1rem; padding: 0; }
.bullets li { margin: .35rem 0; }

.steps { margin: .25rem 0 0 1rem; }
.steps li { margin: .35rem 0; }

.note { color: var(--muted); font-size: .95rem; }

/* CTAs */
.cta-row { display: flex; gap: .6rem; margin-top: .5rem; }
.cta {
  display: inline-block;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--edge);
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
}
.cta.primary { background: var(--accent); color: #062031; box-shadow: 0 12px 28px rgba(88,208,255,.28); border-color: transparent; }
.cta.primary:hover { background: var(--accent-700); transform: translateY(-1px); }
.cta.ghost { background: transparent; color: var(--accent); }
.cta.ghost:hover { background: rgba(88,208,255,.08); }

/* Footer */
.footer { margin: 2rem 0 2.5rem; color: var(--muted); }
.footer .wrap { display: flex; gap: .6rem; align-items: center; }
.sep { opacity: .6; }

/* Code & strong */
code { background: #0f1a24; color: #c6e1ff; padding: .12rem .38rem; border-radius: .35rem; }
strong { color: #f1f6fb; }

@media (max-width: 840px) {
  .hero-grid { grid-template-columns: 1fr; }
  .masthead { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
  margin-top: .4rem;
}
.shot {
  background: rgba(16, 22, 29, 0.55);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: .55rem;
}
.shot img { width: 100%; height: auto; display: block; border-radius: 8px; }
.shot .cap { margin: .4rem .2rem 0; color: var(--muted); font-size: .92rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 50; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox-box { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.45); padding: .75rem; max-width: 92vw; max-height: 88vh; }
.lightbox-img { display: block; max-width: 90vw; max-height: 70vh; border-radius: 10px; }
.lb-cap { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.lightbox-close { position: absolute; margin-top: -.25rem; margin-left: calc(92vw - 2rem); background: transparent; color: var(--ink); border: 0; font-size: 1.6rem; cursor: pointer; }
.shot img { cursor: zoom-in; }
