:root {
  --bg: #060810;
  --bg-soft: rgba(15, 18, 31, 0.88);
  --panel: rgba(10, 14, 24, 0.78);
  --panel-2: rgba(19, 27, 43, 0.88);
  --text: #f8fbff;
  --muted: #b8c7dd;
  --accent: #f3c66d;
  --accent-2: #9ad7ff;
  --border: rgba(141, 163, 192, 0.2);
  --shadow: 0 24px 60px rgba(7, 9, 16, 0.35);
  --radius: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #03060c;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 0 0, rgba(154, 215, 255, 0.26), transparent 30rem),
    radial-gradient(circle at 72% 12%, rgba(18, 42, 78, 0.34), transparent 34rem),
    linear-gradient(160deg, #03060c 0%, #0b1326 50%, #13203b 100%);
}

body::after {
  background:
    radial-gradient(circle at 10% 15%, rgba(154, 215, 255, 0.08), transparent 12%),
    radial-gradient(circle at 85% 20%, rgba(243, 198, 109, 0.08), transparent 11%),
    radial-gradient(circle at 50% 60%, rgba(154, 215, 255, 0.05), transparent 12%);
  opacity: 0.9;
}

img {
  max-width: 100%;
  display: block;
}
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint style;
}

.star {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: var(--color);
  opacity: var(--opacity);
  box-shadow: 0 0 var(--glow) var(--color);
  transform: translate3d(var(--x), var(--y), 0);
  will-change: transform, opacity;
  animation: starTwinkle var(--twinkle-duration) ease-in-out var(--twinkle-delay) infinite alternate;
}

.star-blue,
.star-red {
  opacity: calc(var(--opacity) * 0.82);
}

.star-orange {
  opacity: calc(var(--opacity) * 0.9);
}

.star.no-twinkle {
  animation: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

@keyframes starTwinkle {
  from {
    opacity: calc(var(--opacity) * 0.5);
  }
  to {
    opacity: var(--opacity);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  min-height: 86px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(3, 6, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 85px;
  padding: 1rem 0;
}

.brand {
  flex: 1 1 210px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand .eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--accent);
}

.brand .title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.nav-links {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.9vw, 0.8rem);
  flex-wrap: nowrap;
}

.nav-links a {
  min-height: 0;
  padding: 0.56rem clamp(0.58rem, 0.85vw, 0.82rem);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.6;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(135deg, var(--accent), #ffd8a2);
  color: #100b03;
  box-shadow: 0 10px 26px rgba(243, 198, 109, 0.18);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 800;
  line-height: 1;
}

.menu-toggle::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1.08rem;
  color: inherit;
  background:
    linear-gradient(currentColor, currentColor) top center / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 33% / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 66% / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) bottom center / 100% 3px no-repeat;
  opacity: 0.86;
}

.hero {
  padding: 3.7rem 0 2.7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
  gap: 1.2rem;
  align-items: center;
}

.hero-copy {
  max-width: none;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: none;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffd8a2);
  color: #1d1606;
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255,255,255,0.02);
}

.hero-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -18% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(243, 198, 109, 0.18);
  filter: blur(10px);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-author {
  height: auto;
  max-height: none;
  align-self: center;
}

.hero-panel-author img {
  object-position: 52% 42%;
}

.intro-author-layout .hero-panel-author {
  height: 100%;
  min-height: 560px;
  margin-top: 0;
  max-height: none;
  align-self: stretch;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  width: 100%;
  padding: 1.1rem 1.4rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(3, 6, 12, 0.85));
}

.hero-overlay p {
  max-width: 100%;
  margin: 0;
  color: #f8fbff;
  overflow-wrap: anywhere;
}

.section {
  padding: 1rem 0 3.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.section-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.mini-grid,
.feature-grid,
.card-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.quick-overview {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.intro-author-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.intro-story-stack {
  display: grid;
  gap: 0.85rem;
}

.intro-story-stack .info-tile {
  padding: 1.05rem 1.15rem;
}

@media (min-width: 901px) {
  .intro-author-layout .hero-panel-author {
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
  }
}

.quick-overview-track-wrap {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: quickOverviewScroll 32s linear infinite;
  will-change: transform;
}

.quick-overview-track-wrap:hover {
  animation-play-state: paused;
}

.quick-overview-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.quick-overview-item {
  flex: 0 0 320px;
  min-width: 320px;
  height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-overview-item:hover,
.quick-overview-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 198, 109, 0.48);
  background: rgba(243, 198, 109, 0.08);
  outline: none;
}

.info-tile,
.feature-card,
.story-card,
.news-card,
.gallery-link {
  display: block;
  height: 100%;
  color: inherit;
}

.gallery-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-tile {
  padding: 1.15rem 1.2rem;
}

.info-tile .label {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  background: rgba(154, 215, 255, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--accent-2);
  margin-bottom: 0.8rem;
}

.info-tile h3,
.feature-card h3,
.story-card h3,
.news-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.info-tile p,
.feature-card p,
.story-card p,
.news-card p,
.gallery-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.2rem;
}

.feature-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.gallery-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.preview-main,
.preview-side {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.preview-main::after,
.preview-side a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 58%),
    radial-gradient(circle at top right, rgba(154, 215, 255, 0.22), transparent 34%),
    linear-gradient(180deg, transparent 52%, rgba(3, 6, 12, 0.35) 100%);
  opacity: 0;
  transform: translateX(-26%);
  transition: opacity 320ms ease, transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}

.preview-main img,
.preview-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.85, 0.2, 1), filter 300ms ease;
  will-change: transform;
}

.preview-side {
  display: grid;
  gap: 1rem;
}

.preview-side a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 180px;
}

.preview-main:hover img,
.preview-main:focus-within img,
.preview-side a:hover img,
.preview-side a:focus-visible img {
  transform: translate3d(-1.5%, -1.5%, 0) scale(1.12);
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
}

.preview-main:hover::after,
.preview-main:focus-within::after,
.preview-side a:hover::after,
.preview-side a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
  overflow: hidden;
}

.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.story-card .content {
  padding: 1rem 1.1rem 1.1rem;
}

.news-card {
  padding: 1.1rem;
}

.news-card .date {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 50rem;
}

.filter-btn {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  align-items: start;
}

.gallery-link {
  display: block;
  height: 100%;
  color: inherit;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  transform: translateY(0);
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms ease,
    box-shadow 300ms ease,
    background 300ms ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 6, 12, 0.12) 45%, rgba(3, 6, 12, 0.72) 100%),
    radial-gradient(circle at top right, rgba(154, 215, 255, 0.25), transparent 32%),
    radial-gradient(circle at bottom left, rgba(243, 198, 109, 0.18), transparent 28%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-card:hover,
.gallery-card:focus-within {
  border-color: rgba(154, 215, 255, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255,255,255,0.015));
}

.gallery-card:hover::before,
.gallery-card:focus-within::before {
  opacity: 1;
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition:
    transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1),
    filter 320ms ease,
    opacity 320ms ease;
  position: relative;
  z-index: 0;
  will-change: transform;
}


.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: translate3d(-1.5%, -1.5%, 0) scale(1.12);
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
}
.gallery-card .content {
  position: relative;
  padding: 1rem 1.1rem 1.1rem;
  z-index: 2;
}

.gallery-card .content h3,
.gallery-card .content p {
  position: relative;
  z-index: 2;
}

.gallery-card .meta {
  margin-top: 0.6rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 300ms ease, transform 300ms ease;
}

.gallery-card:hover .meta,
.gallery-card:focus-within .meta {
  color: #ffdca9;
  transform: translateX(2px);
}

.gallery-number {
  display: none;
}

.gallery-label {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 18, 31, 0.88);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f8fbff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.variant-a:hover,
.variant-a:focus-within,
.variant-b:hover,
.variant-b:focus-within,
.variant-c:hover,
.variant-c:focus-within,
.variant-d:hover,
.variant-d:focus-within,
.variant-e:hover,
.variant-e:focus-within,
.variant-f:hover,
.variant-f:focus-within {
  transform: translateY(-8px) rotate(0.15deg);
  box-shadow:
    0 30px 74px rgba(5, 8, 14, 0.52),
    0 0 0 1px rgba(154, 215, 255, 0.2),
    0 0 34px rgba(154, 215, 255, 0.16);
}

.variant-a:hover img,
.variant-a:focus-within img,
.variant-b:hover img,
.variant-b:focus-within img,
.variant-c:hover img,
.variant-c:focus-within img,
.variant-d:hover img,
.variant-d:focus-within img,
.variant-e:hover img,
.variant-e:focus-within img,
.variant-f:hover img,
.variant-f:focus-within img {
  transform: translate3d(-1.5%, -1.5%, 0) scale(1.12);
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
  transition:
    transform 900ms cubic-bezier(0.2, 0.85, 0.2, 1),
    filter 320ms ease,
    opacity 320ms ease;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.equipment-list {
  padding: 0.2rem 0 0 1.2rem;
  color: var(--muted);
}

.equipment-list li + li {
  margin-top: 0.45rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
}

.site-footer .footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

@keyframes quickOverviewScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 1rem));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .intro-author-layout,
  .gallery-preview,
  .two-column,
  .card-grid,
  .feature-grid,
  .timeline-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6, 8, 16, 0.95);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.32rem;
    flex: 0 0 auto;
    min-height: 46px;
    min-width: 78px;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 86px;
  }

  .navbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    min-height: 86px;
    padding: 0.75rem 0;
  }

  .brand {
    padding-top: 0.05rem;
  }

  .brand .eyebrow {
    font-size: 0.7rem;
  }

  .brand .title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    padding: 0.58rem 0.95rem;
  }

  .hero {
    padding-top: 2.35rem;
    padding-bottom: 2.3rem;
  }

  .hero-panel {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-panel-author {
    height: auto;
    min-height: 0;
  }

  .intro-author-layout .hero-panel-author {
    order: -1;
    height: auto;
    min-height: 0;
    margin-top: 0;
  }

  .hero-panel-author img {
    object-position: 56% 30%;
  }

  .btn {
    width: 100%;
  }
}

.object-hero {
  padding: 3.5rem 0 1rem;
}

.object-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.4rem;
  align-items: end;
}

.object-copy h1 {
  margin: 0.3rem 0 0.9rem;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.object-lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  color: var(--muted);
  background: rgba(255,255,255,0.025);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--text);
  border-color: rgba(154, 215, 255, 0.38);
  background: rgba(154, 215, 255, 0.08);
}

.object-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.object-tags span {
  display: inline-flex;
  align-items: center;
  color: #d8e9f9;
  font-weight: 650;
}

.object-tags span + span::before {
  content: "/";
  margin-right: 0.75rem;
  color: rgba(184, 199, 221, 0.45);
  font-weight: 400;
}
.object-main-image,
.object-image-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  box-shadow: var(--shadow);
}

.object-main-image img,
.object-image-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.85, 0.2, 1), filter 300ms ease;
}

.object-main-image img {
  height: min(58vw, 520px);
  min-height: 340px;
}

.object-main-image::after,
.object-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(3, 6, 12, 0.74) 100%);
  opacity: 0.72;
  pointer-events: none;
}

.object-main-image span,
.object-image-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-weight: 800;
}

.object-main-image:hover img,
.object-main-image:focus-visible img,
.object-image-card:hover img,
.object-image-card:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.04);
}

.object-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.object-story p + p,
.object-note p + p {
  margin-top: 0.8rem;
}

.object-tech dl {
  display: grid;
  gap: 0.72rem;
  margin: 1rem 0 0;
}

.object-tech dl div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.72rem;
}

.object-tech dt {
  color: var(--accent);
  font-weight: 800;
}

.object-tech dd {
  margin: 0;
  color: var(--muted);
}

.object-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.object-image-card img {
  height: 230px;
}

.object-image-entry {
  min-width: 0;
}

.object-image-entry .object-image-card {
  width: 100%;
}

.object-image-description {
  margin: 0.8rem 0.15rem 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.object-note {
  max-width: 860px;
}

@media (max-width: 1080px) {
  .navbar {
    gap: 0.5rem;
  }

  .brand {
    flex-basis: 170px;
  }

  .brand .title {
    font-size: 1.05rem;
  }

  .nav-links {
    gap: 0.28rem;
  }

  .nav-links a {
    padding: 0.5rem 0.55rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 900px) {
  .object-hero-grid,
  .object-layout,
  .object-image-grid {
    grid-template-columns: 1fr;
  }

  .object-main-image img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .object-tech dl div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .object-main-image img,
  .object-image-card img {
    height: 260px;
    min-height: 0;
  }
}
.object-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(3, 6, 12, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.object-lightbox figure {
  display: grid;
  gap: 0.75rem;
  width: min(1180px, 96vw);
  margin: 0;
}

.object-lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.object-lightbox figcaption {
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.object-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  background: rgba(15, 18, 31, 0.92);
  cursor: pointer;
  font-weight: 800;
}
.section-nav {
  position: relative;
  background: transparent;
  border-block: 0;
}

.section-nav-inner {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 1rem 0 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 198, 109, 0.5) transparent;
}

.section-nav a,
.section-nav .filter-btn {
  white-space: nowrap;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-weight: 700;
  font-size: 0.9rem;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav .filter-btn:hover,
.section-nav .filter-btn:focus-visible {
  color: var(--text);
  border-color: rgba(122, 167, 255, 0.5);
  background: rgba(122, 167, 255, 0.12);
}

.section-nav .filter-btn.active,
.section-nav .filter-btn.active:hover,
.section-nav .filter-btn.active:focus-visible {
  color: var(--text);
  border-color: rgba(243, 198, 109, 0.32);
  background: rgba(243, 198, 109, 0.12);
}

.equipment-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.equipment-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.equipment-photo,
.equipment-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.02);
}

.equipment-photo img,
.equipment-card-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.85, 0.2, 1), filter 300ms ease;
}

.equipment-photo img {
  height: 260px;
}

.equipment-card-image img {
  height: 100%;
  min-height: 280px;
}

.equipment-photo::after,
.equipment-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 6, 12, 0.72) 100%);
  pointer-events: none;
}

.equipment-photo span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-weight: 800;
}

.equipment-photo:hover img,
.equipment-photo:focus-visible img,
.equipment-card-image:hover img,
.equipment-card-image:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.04);
}

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.equipment-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0.012));
  box-shadow: var(--shadow);
}

.equipment-card-body {
  padding: 1.35rem;
}

.equipment-kicker {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.equipment-card h3,
.equipment-card h2 {
  margin-top: 0;
}

.equipment-list.compact li + li {
  margin-top: 0.28rem;
}

@media (max-width: 900px) {
  .equipment-card {
    grid-template-columns: 1fr;
  }

  .equipment-media-grid {
    grid-template-columns: 1fr;
  }

}

.diy-intro {
  max-width: 980px;
}

.diy-projects .container {
  display: grid;
  gap: 1.2rem;
}

.diy-project {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0.012));
  box-shadow: var(--shadow);
  scroll-margin-top: 130px;
}

.diy-project.is-hidden {
  display: none;
}

.diy-project-copy {
  padding: 0.35rem;
}

.diy-project-copy h2 {
  margin-top: 0;
}

.diy-project-copy p {
  color: var(--muted);
}

.diy-points {
  columns: 2;
  column-gap: 1.4rem;
}

.diy-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.diy-photo {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}

.diy-photo img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.85, 0.2, 1), filter 300ms ease;
}

.diy-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 6, 12, 0.76) 100%);
  pointer-events: none;
}

.diy-photo span {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.8rem;
  z-index: 2;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.diy-photo:hover img,
.diy-photo:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.05);
}

@media (max-width: 900px) {
  .diy-project {
    grid-template-columns: 1fr;
    scroll-margin-top: 105px;
  }
}

@media (max-width: 640px) {
  .diy-gallery,
  .diy-points {
    columns: auto;
    grid-template-columns: 1fr;
  }
}

.blog-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.blog-feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.014));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-timeline {
  display: grid;
  gap: 0.75rem;
}

.blog-entry {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.018);
}

.blog-entry time {
  color: var(--accent);
  font-weight: 800;
}

.blog-entry h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.blog-entry p {
  margin: 0;
  color: var(--muted);
}

.blog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.blog-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  font-size: 0.88rem;
  font-weight: 800;
}

.blog-links a:hover,
.blog-links a:focus-visible {
  border-color: rgba(122, 167, 255, 0.5);
  background: rgba(122, 167, 255, 0.12);
}

@media (max-width: 900px) {
  .blog-feature-grid,
  .blog-entry {
    grid-template-columns: 1fr;
  }
}

.guestbook-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

@media (max-width: 900px) {
  .guestbook-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-nav-inner {
    padding-right: 2.5rem;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.25rem), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2.25rem), transparent 100%);
  }
}

@media (hover: none), (pointer: coarse) {
  .quick-overview {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(243, 198, 109, 0.5) transparent;
  }

  .quick-overview-track-wrap {
    animation: none;
    will-change: auto;
  }

  .quick-overview-track[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .star,
  .quick-overview-track-wrap {
    animation: none;
  }

  .quick-overview {
    overflow-x: auto;
  }

  .quick-overview-track-wrap {
    will-change: auto;
  }

  .quick-overview-track[aria-hidden="true"] {
    display: none;
  }
}

.guestbook-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
  box-shadow: var(--shadow);
}

.section-header.compact {
  margin-bottom: 1rem;
}

.section-header.compact h2 {
  font-size: 1.35rem;
}

.guestbook-alert {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.guestbook-alert.success {
  border: 1px solid rgba(112, 214, 165, 0.34);
  color: #dbffec;
  background: rgba(112, 214, 165, 0.12);
}

.guestbook-alert.error {
  border: 1px solid rgba(255, 117, 117, 0.36);
  color: #ffe3e3;
  background: rgba(255, 117, 117, 0.12);
}

.guestbook-alert ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.guestbook-form {
  display: grid;
  gap: 0.9rem;
}

.guestbook-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.guestbook-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--text);
  font-weight: 800;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.72rem 0.78rem;
  color: var(--text);
  background: rgba(7, 10, 18, 0.72);
  font: inherit;
}

.guestbook-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.6;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  outline: 2px solid rgba(122, 167, 255, 0.32);
  border-color: rgba(122, 167, 255, 0.58);
}

.guestbook-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.guestbook-submit-row {
  display: flex;
  gap: 0.8rem;
  align-items: end;
  justify-content: space-between;
}

.guestbook-captcha {
  max-width: 240px;
}

.guestbook-submit {
  border: 0;
  cursor: pointer;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  color: #1d1606;
  background:
    linear-gradient(135deg, #f3c66d, #ffd8a2);
  box-shadow:
    0 16px 34px rgba(243, 198, 109, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-weight: 900;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.guestbook-submit:hover,
.guestbook-submit:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.04);
  box-shadow:
    0 20px 42px rgba(243, 198, 109, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.guestbook-submit:active {
  transform: translateY(0);
  box-shadow:
    0 10px 24px rgba(243, 198, 109, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.guestbook-admin-link {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.15rem;
}

.guestbook-admin-link a {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.guestbook-admin-link a:hover,
.guestbook-admin-link a:focus-visible {
  color: var(--text);
}

.guestbook-admin-link span {
  border: 1px solid rgba(122, 167, 255, 0.32);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  color: var(--accent);
  background: rgba(122, 167, 255, 0.08);
}

.guestbook-empty {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .guestbook-fields,
  .guestbook-submit-row {
    grid-template-columns: 1fr;
  }

  .guestbook-submit-row {
    display: grid;
    align-items: stretch;
  }

  .guestbook-captcha {
    max-width: none;
  }

  .guestbook-submit {
    width: 100%;
  }
}

.guestbook-entries {
  display: grid;
  gap: 0.8rem;
}

.guestbook-entry {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255,255,255,0.022);
}

.guestbook-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.7rem;
  align-items: baseline;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.guestbook-entry-meta strong {
  color: var(--text);
  font-size: 1.05rem;
}

.guestbook-entry-meta time {
  color: var(--accent);
  font-weight: 800;
}

.guestbook-entry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.stats-admin {
  display: grid;
  gap: 1rem;
}

.stats-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.stats-admin-nav .back-link {
  border-color: rgba(243, 198, 109, 0.72);
  background: linear-gradient(135deg, var(--accent), #ffd8a2);
  color: #100b03;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(243, 198, 109, 0.16);
}

.stats-admin-nav .back-link:hover,
.stats-admin-nav .back-link:focus-visible {
  border-color: rgba(255, 232, 190, 0.88);
  background: linear-gradient(135deg, #ffd88a, #ffe7bf);
  color: #100b03;
  box-shadow: 0 14px 34px rgba(243, 198, 109, 0.24);
}

.stats-login-panel {
  max-width: 620px;
  margin: 0 auto;
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stats-kpi,
.stats-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
  box-shadow: var(--shadow);
}

.stats-kpi {
  padding: 1.15rem;
}

.stats-kpi span,
.stats-kpi small {
  display: block;
  color: var(--muted);
}

.stats-kpi strong {
  display: block;
  margin: 0.24rem 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
}

.stats-panel {
  padding: 1.15rem;
  overflow: hidden;
}

.stats-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stats-bars {
  display: grid;
  gap: 0.85rem;
}

.stats-bar-row {
  display: grid;
  gap: 0.38rem;
}

.stats-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.stats-bar-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-bar-meta strong {
  color: var(--accent);
}

.stats-bar {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(122, 167, 255, 0.1);
}

.stats-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.stats-hour-grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(18px, 1fr));
  gap: 0.35rem;
  align-items: end;
  min-height: 170px;
  padding-top: 1rem;
}

.stats-hour {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.35rem;
  align-items: end;
  min-height: 150px;
}

.stats-hour span {
  display: block;
  min-height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent-2), rgba(154, 215, 255, 0.2));
}

.stats-hour small {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.stats-table-wrap {
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
}

.stats-table th,
.stats-table td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.75rem 0.65rem;
  text-align: left;
}

.stats-table th {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.stats-table td {
  color: var(--muted);
}

.stats-debug {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.stats-debug span {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}

.stats-debug strong {
  color: var(--text);
}

.admin-dashboard {
  display: grid;
  gap: 1rem;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-status-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(154, 215, 255, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--muted);
}

.admin-status-strip strong {
  color: var(--text);
}

.admin-status-strip .needs-attention {
  border-color: rgba(255, 196, 110, 0.38);
  background: rgba(255, 196, 110, 0.09);
}

.admin-dashboard-card {
  display: grid;
  gap: 0.4rem;
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(154, 215, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-dashboard-card:hover,
.admin-dashboard-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(154, 215, 255, 0.45);
  background:
    radial-gradient(circle at 18% 12%, rgba(154, 215, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
}

.admin-dashboard-card-stats {
  border-color: rgba(89, 179, 255, 0.24);
  background:
    radial-gradient(circle at 18% 12%, rgba(154, 215, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(89, 179, 255, 0.07), rgba(255,255,255,0.014));
}

.admin-dashboard-card-stats:hover,
.admin-dashboard-card-stats:focus-visible {
  border-color: rgba(89, 179, 255, 0.5);
  background:
    radial-gradient(circle at 18% 12%, rgba(154, 215, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(89, 179, 255, 0.11), rgba(255,255,255,0.018));
}

.admin-dashboard-card-book {
  border-color: rgba(255, 196, 110, 0.3);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 196, 110, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 196, 110, 0.07), rgba(255,255,255,0.014));
}

.admin-dashboard-card-book:hover,
.admin-dashboard-card-book:focus-visible {
  border-color: rgba(255, 196, 110, 0.56);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 196, 110, 0.25), transparent 34%),
    linear-gradient(180deg, rgba(255, 196, 110, 0.12), rgba(255,255,255,0.018));
}

.admin-dashboard-card-book strong {
  color: #ffc46e;
}

.admin-dashboard-card span,
.admin-dashboard-card small {
  color: var(--muted);
}

.admin-dashboard-card strong {
  color: var(--text);
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1;
}

.admin-anchor-section {
  display: grid;
  gap: 1rem;
  position: relative;
  padding: 1.35rem;
  border: 1px solid rgba(154, 215, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(154, 215, 255, 0.08), transparent 34%),
    rgba(255,255,255,0.018);
  scroll-margin-top: 110px;
}

.admin-anchor-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 8px 0 0 8px;
}

.admin-section-stats {
  order: 10;
  border-color: rgba(89, 179, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(89, 179, 255, 0.1), transparent 18%),
    radial-gradient(circle at 12% 0%, rgba(154, 215, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(33, 91, 160, 0.18), rgba(255,255,255,0.016));
  box-shadow: 0 24px 70px rgba(24, 84, 150, 0.18);
}

.admin-section-book {
  order: 20;
  margin-top: 1.4rem;
  border-color: rgba(255, 196, 110, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 196, 110, 0.1), transparent 18%),
    radial-gradient(circle at 12% 0%, rgba(255, 196, 110, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(117, 82, 35, 0.18), rgba(255,255,255,0.014));
  box-shadow: 0 24px 70px rgba(117, 82, 35, 0.18);
}

.admin-section-stats::before {
  background: linear-gradient(180deg, var(--accent), rgba(89, 179, 255, 0.18));
}

.admin-section-book::before {
  background: linear-gradient(180deg, #ffc46e, rgba(255, 196, 110, 0.18));
}

.admin-section-stats > .section-header,
.admin-section-book > .section-header {
  position: relative;
  padding: 0.15rem 0 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-section-stats > .section-header .eyebrow {
  color: #9ad7ff;
}

.admin-section-book > .section-header .eyebrow {
  color: #ffc46e;
}

.admin-section-stats > .section-header h2,
.admin-section-book > .section-header h2 {
  margin-top: 0.15rem;
}

.admin-section-stats .stats-kpi {
  border-color: rgba(89, 179, 255, 0.18);
  background: linear-gradient(180deg, rgba(89, 179, 255, 0.055), rgba(255,255,255,0.014));
}

.admin-section-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.admin-section-toolbar form {
  margin: 0;
}

.admin-section-book .stats-kpi,
.admin-section-book .admin-book-entry {
  border-color: rgba(255, 196, 110, 0.16);
  background: linear-gradient(180deg, rgba(255, 196, 110, 0.045), rgba(255,255,255,0.014));
}

.inline-admin-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.inline-admin-link:hover,
.inline-admin-link:focus-visible {
  color: var(--text);
}

.admin-book-user {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  overflow-wrap: anywhere;
}

.admin-book-grid {
  align-items: start;
}

.admin-book-panel {
  max-height: none;
}

.admin-book-list {
  display: grid;
  gap: 0.9rem;
}

.admin-book-entry {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.032);
}

.admin-book-entry.is-pending {
  border-color: rgba(154, 215, 255, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(154, 215, 255, 0.08), transparent 38%),
    rgba(255,255,255,0.04);
}

.admin-book-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-book-meta strong {
  color: var(--text);
  font-size: 1rem;
}

.admin-book-meta span,
.admin-book-meta time {
  display: inline-flex;
  align-items: center;
}

.admin-book-entry p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(154, 215, 255, 0.34);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-action-button:hover,
.admin-action-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(154, 215, 255, 0.58);
  background: rgba(154, 215, 255, 0.13);
}

.admin-action-button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06101f;
}

.admin-action-button.secondary {
  border-color: rgba(203, 213, 225, 0.3);
}

.admin-action-button.danger {
  border-color: rgba(255, 142, 153, 0.42);
  background: rgba(220, 78, 92, 0.18);
  color: #ffe9eb;
}

.admin-action-button.danger:hover,
.admin-action-button.danger:focus-visible {
  border-color: rgba(255, 142, 153, 0.62);
  background: rgba(220, 78, 92, 0.28);
}

@media (max-width: 900px) {
  .stats-kpi-grid,
  .stats-grid,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .stats-admin-nav {
    justify-content: flex-start;
  }
}

/* Opt-in telescope finder cursor, currently rendered only by admin.php. */
.astro-pointer {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.has-astro-pointer,
  body.has-astro-pointer * {
    cursor: none !important;
  }

  body.has-astro-pointer textarea,
  body.has-astro-pointer input:not([type]),
  body.has-astro-pointer input[type="text"],
  body.has-astro-pointer input[type="password"],
  body.has-astro-pointer input[type="email"],
  body.has-astro-pointer input[type="search"],
  body.has-astro-pointer input[type="url"],
  body.has-astro-pointer input[type="tel"],
  body.has-astro-pointer input[type="number"],
  body.has-astro-pointer [contenteditable="true"] {
    cursor: text !important;
  }

  .astro-pointer {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    display: block;
    width: 34px;
    height: 34px;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 120ms ease;
    will-change: left, top;
  }

  .astro-pointer.is-visible {
    opacity: 0.92;
  }

  .astro-pointer.is-suspended {
    opacity: 0;
  }

  .astro-pointer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(232, 246, 255, 0.86), rgba(232, 246, 255, 0.86)) center top / 1px 5px no-repeat,
      linear-gradient(rgba(232, 246, 255, 0.86), rgba(232, 246, 255, 0.86)) right center / 5px 1px no-repeat,
      linear-gradient(rgba(232, 246, 255, 0.86), rgba(232, 246, 255, 0.86)) center bottom / 1px 5px no-repeat,
      linear-gradient(rgba(232, 246, 255, 0.86), rgba(232, 246, 255, 0.86)) left center / 5px 1px no-repeat;
    filter: drop-shadow(0 0 3px rgba(108, 190, 255, 0.42));
    transition: filter 220ms ease, transform 220ms ease;
  }

  .astro-pointer-ring {
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(181, 225, 255, 0.78);
    border-right-color: rgba(247, 203, 118, 0.5);
    border-bottom-color: transparent;
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(93, 179, 255, 0.08);
    transform: rotate(-28deg);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  }

  .astro-pointer-star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    background: #fff8df;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    filter:
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
      drop-shadow(0 0 4px rgba(123, 199, 255, 0.55));
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: filter 220ms ease, transform 220ms ease;
  }

  .astro-pointer.is-interactive::before {
    filter: drop-shadow(0 0 5px rgba(111, 199, 255, 0.72));
    transform: scale(1.08);
  }

  .astro-pointer.is-interactive .astro-pointer-ring {
    border-color: rgba(210, 238, 255, 0.92);
    border-right-color: rgba(248, 207, 125, 0.82);
    border-bottom-color: transparent;
    box-shadow:
      inset 0 0 7px rgba(111, 199, 255, 0.16),
      0 0 8px rgba(111, 199, 255, 0.14);
    transform: rotate(16deg) scale(1.12);
  }

  .astro-pointer.is-interactive .astro-pointer-star {
    animation: astro-pointer-star-glow 1.15s ease-in-out infinite;
    transform: translate(-50%, -50%) scale(1.28);
  }

  .astro-pointer.is-pressed::before {
    transform: scale(0.92);
  }

  .astro-pointer.is-pressed .astro-pointer-ring {
    transform: rotate(32deg) scale(0.86);
  }

  .astro-pointer.is-pressed .astro-pointer-star {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes astro-pointer-star-glow {
  0%,
  100% {
    background: #fff8df;
    filter:
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.96))
      drop-shadow(0 0 5px rgba(120, 201, 255, 0.65));
  }

  50% {
    background: #ffffff;
    filter:
      drop-shadow(0 0 3px rgba(255, 255, 255, 1))
      drop-shadow(0 0 8px rgba(146, 215, 255, 0.9))
      drop-shadow(0 0 12px rgba(247, 203, 118, 0.42));
  }
}

@media (prefers-reduced-motion: reduce) {
  .astro-pointer,
  .astro-pointer::before,
  .astro-pointer-ring,
  .astro-pointer-star {
    transition: none !important;
    animation: none !important;
  }
}

.parallax-lab {
  isolation: isolate;
}

.parallax-lab-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.parallax-lab-hero .container {
  max-width: 920px;
}

.parallax-lab-hero h1 {
  max-width: 12ch;
}

.parallax-lab-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.parallax-lab-band {
  border-block: 1px solid rgba(154, 215, 255, 0.13);
  background: rgba(3, 7, 15, 0.54);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.parallax-lab-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(154, 215, 255, 0.15);
  border-radius: 8px;
  background: rgba(154, 215, 255, 0.15);
}

.parallax-lab-metric {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.7rem;
  min-height: 82px;
  padding: 1rem 1.1rem;
  background: rgba(5, 9, 18, 0.88);
}

.parallax-lab-metric strong {
  font-size: 1.35rem;
}

.parallax-lab-metric span:last-child {
  color: var(--muted);
}

.parallax-color-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 12px var(--swatch);
}

.parallax-lab-space {
  min-height: 78vh;
  display: flex;
  align-items: center;
}

.parallax-lab-space-alt .parallax-lab-copy {
  margin-left: auto;
  text-align: right;
}

.parallax-lab-copy {
  max-width: 650px;
}

.parallax-lab-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 760px) {
  .parallax-lab-hero,
  .parallax-lab-space {
    min-height: 66vh;
  }

  .parallax-lab-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parallax-lab-space-alt .parallax-lab-copy {
    margin-left: 0;
    text-align: left;
  }
}
