:root {
  --ink: #f5f7ff;
  --muted: #c7d2ff;
  --brand: #3ed1ff;
  --brand-2: #7bff9e;
  --warm: #ffd166;
  --deep: #0b0f1e;
  --deep-2: #101a3a;
  --panel: rgba(15, 23, 48, 0.7);
  --panel-strong: rgba(18, 31, 70, 0.9);
  --stroke: rgba(140, 174, 255, 0.2);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 20% 10%, rgba(62, 209, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(123, 255, 158, 0.12), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255, 209, 102, 0.12), transparent 45%),
    linear-gradient(140deg, #05060d, #0a1130 40%, #0b193d 70%, #07112a);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(2px 2px at 20px 40px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 90px 120px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 240px 80px, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

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

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

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 18, 0.6);
  border-bottom: 1px solid var(--stroke);
  z-index: 50;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #0b0f1e;
  box-shadow: 0 12px 24px rgba(62, 209, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(62, 209, 255, 0.3);
}

.btn-ghost {
  border-color: var(--stroke);
  color: var(--ink);
  background: rgba(10, 17, 48, 0.6);
}

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

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 40px 0 20px;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.hero-panel .stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke);
}

.hero-panel .stat:last-child {
  border-bottom: none;
}

.tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(62, 209, 255, 0.16);
  color: var(--brand);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

section {
  margin-top: 48px;
}

section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  max-width: 720px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.shot {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 18, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--ink);
  background: rgba(12, 18, 36, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.9rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.callout {
  background: linear-gradient(120deg, rgba(62, 209, 255, 0.12), rgba(123, 255, 158, 0.1));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
  align-items: center;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

pre {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(6, 10, 24, 0.8);
  border: 1px solid var(--stroke);
  color: #e4edff;
  overflow-x: auto;
  font-size: 0.9rem;
}

code {
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

footer {
  border-top: 1px solid var(--stroke);
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 20px;
  }
}
/* WP layout overrides */
body .wp-site-blocks,
body .wp-site-blocks > *,
body .entry-content,
body .entry-content > *,
body .wp-block-post-content,
body .wp-block-post-content > * {
  max-width: none !important;
}

body .wp-site-blocks,
body .entry-content,
body .wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide the WP theme header/footer, keep the site header we added */
.wp-block-template-part {
  display: none !important;
}
/* Force wide layout in WP */
:root {
  --max: 1400px;
}

.nav,
main {
  max-width: min(1400px, 94vw);
  width: 100%;
}
