@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fragment+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --beacon-night: #0a0f1a;
  --fog-milk: #e8ecf2;
  --lens-glass: #6b8fa8;
  --brass-glow: #b8956a;
  --signal-red: #8b3a3a;
  --sea-slate: #2a3548;
  --keeper-cream: #f4efe4;
  --prism-green: #5a8a7a;
  --wick-amber: #c9a66b;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'Fragment Mono', monospace;
  --lens-x: 50%;
  --lens-y: 50%;
  --beam-angle: 128deg;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fog-milk);
  background: var(--beacon-night);
  overflow-x: hidden !important;
  max-width: 100vw;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

.lantern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 143, 168, 0.15);
  transition: background 0.3s ease;
}

.lantern-header.scrolled {
  background: rgba(10, 15, 26, 0.98);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo img {
  height: 42px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lens-glass);
  transition: color 0.3s ease;
  position: relative;
}

.header-nav a:hover {
  color: var(--brass-glow);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--wick-amber);
  transition: width 0.4s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.visibility-readout {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--prism-green);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visibility-readout .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-red);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  background: var(--brass-glow);
  color: var(--beacon-night);
  border: 1px solid var(--brass-glow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-primary .vis-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-red);
  transition: background 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 1px;
  background: var(--wick-amber);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(201, 166, 107, 0.3);
}

.btn-primary:hover .vis-dot {
  background: var(--wick-amber);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lens-glass);
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--lens-glass);
  transition: all 0.4s ease;
}

.btn-secondary:hover {
  color: var(--wick-amber);
}

.btn-secondary:hover::after {
  background: linear-gradient(90deg, transparent, var(--wick-amber), transparent);
  animation: beam-sweep 0.6s ease;
}

@keyframes beam-sweep {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fog-milk);
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--beacon-night);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog-milk);
}

body.menu-open {
  overflow: hidden !important;
}

.hero-fog-beam {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 4rem;
  background: var(--beacon-night);
}

.hero-fog-beam::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 45%, rgba(107, 143, 168, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 30% 70%, rgba(184, 149, 106, 0.06) 0%, transparent 50%),
    conic-gradient(from var(--beam-angle) at 60% 50%, transparent 0deg, rgba(201, 166, 107, 0.04) 30deg, transparent 60deg);
  pointer-events: none;
}

.fog-veil {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.lens-sector {
  position: absolute;
  width: 55vw;
  max-width: 700px;
  height: 55vw;
  max-height: 700px;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center,
      transparent 0px,
      transparent 18px,
      rgba(107, 143, 168, 0.06) 18px,
      rgba(107, 143, 168, 0.06) 20px,
      transparent 20px,
      transparent 38px);
  border: 1px solid rgba(107, 143, 168, 0.12);
  pointer-events: none;
}

@media (min-width: 1025px) and (hover: hover) {
  .lens-sector {
    background:
      repeating-radial-gradient(circle at var(--lens-x) var(--lens-y),
        transparent 0px,
        transparent 18px,
        rgba(107, 143, 168, 0.08) 18px,
        rgba(107, 143, 168, 0.08) 20px,
        transparent 20px,
        transparent 38px);
  }
}

.beam-arc {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  pointer-events: none;
}

.beam-arc svg {
  width: 100%;
  height: 100%;
}

.beam-sweep-line {
  stroke: rgba(201, 166, 107, 0.3);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: beam-reveal 2.5s ease forwards 0.5s;
}

@keyframes beam-reveal {
  to { stroke-dashoffset: 0; }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text-zone {
  position: relative;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--fog-milk);
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-headline .fog-pane {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s ease forwards;
}

.hero-headline .fog-pane:nth-child(1) { animation-delay: 0.2s; }
.hero-headline .fog-pane:nth-child(2) { animation-delay: 0.4s; color: var(--brass-glow); }
.hero-headline .fog-pane:nth-child(3) { animation-delay: 0.6s; }

.hero-sector-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--lens-glass);
  border: 1px solid rgba(107, 143, 168, 0.3);
  padding: 0.4rem 0.8rem;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.8s;
}

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.keeper-note {
  background: var(--keeper-cream);
  color: var(--beacon-night);
  padding: 1.5rem 2rem;
  max-width: 420px;
  position: relative;
  margin: 2rem 0;
  opacity: 0;
  transform: translateX(-20px);
  animation: slide-note 0.8s ease forwards 1s;
  border-left: 3px solid var(--brass-glow);
}

.keeper-note::before {
  content: 'KEEPER NOTE';
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--brass-glow);
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  background: var(--keeper-cream);
  padding: 0 0.5rem;
}

@keyframes slide-note {
  to { opacity: 1; transform: translateX(0); }
}

.bearing-anchor {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--lens-glass);
  letter-spacing: 0.08em;
  margin: 1.5rem 0;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1.2s;
}

.bearing-anchor span {
  color: var(--brass-glow);
}

.bearing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.bearing-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  background: rgba(107, 143, 168, 0.1);
  border: 1px solid rgba(107, 143, 168, 0.2);
  color: var(--lens-glass);
  opacity: 0;
  animation: fade-up 0.6s ease forwards;
}

.bearing-chip:nth-child(1) { animation-delay: 1.3s; }
.bearing-chip:nth-child(2) { animation-delay: 1.5s; }
.bearing-chip:nth-child(3) { animation-delay: 1.7s; }

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1.8s;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid rgba(107, 143, 168, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-visual .vis-caption {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--lens-glass);
  letter-spacing: 0.08em;
  background: var(--beacon-night);
  padding: 0.3rem 0.6rem;
}

section {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.bearing-marker-strip {
  background: var(--sea-slate);
  border-top: 1px solid rgba(107, 143, 168, 0.1);
  border-bottom: 1px solid rgba(107, 143, 168, 0.1);
  overflow: hidden;
}

.marker-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.marker-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--lens-glass);
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(107, 143, 168, 0.15);
  position: relative;
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.marker-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--signal-red);
  border-radius: 50%;
}

.low-visibility-field {
  background: var(--beacon-night);
  position: relative;
}

.low-visibility-field::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lens-glass), transparent);
  opacity: 0.2;
}

.lvf-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.fog-lens-panel {
  position: relative;
  padding: 3rem;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(107, 143, 168, 0.08) 0%, transparent 50%),
    var(--sea-slate);
  border: 1px solid rgba(107, 143, 168, 0.12);
}

.fog-lens-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  color: var(--fog-milk);
}

.fog-lens-panel p {
  color: rgba(232, 236, 242, 0.75);
  margin-bottom: 1rem;
}

.lvf-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lvf-card {
  background: var(--keeper-cream);
  color: var(--beacon-night);
  padding: 1.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lvf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.lvf-card .card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--brass-glow);
  margin-bottom: 0.5rem;
}

.lvf-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.guided-outputs {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(184, 149, 106, 0.05) 0%, transparent 60%),
    var(--beacon-night);
}

.section-heading-asymmetric {
  margin-bottom: 3rem;
}

.section-heading-asymmetric h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  max-width: 600px;
}

.section-heading-asymmetric .heading-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--lens-glass);
  margin-bottom: 0.8rem;
}

.lantern-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.primary-bearing {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(107, 143, 168, 0.15);
  transition: transform 0.4s ease;
}

.primary-bearing:hover {
  transform: translateY(-6px);
}

.primary-bearing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.primary-bearing .outcome-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10, 15, 26, 0.95));
}

.primary-bearing h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.outcome-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--lens-glass);
  margin-bottom: 0.3rem;
}

.safe-sector {
  position: relative;
  border: 1px solid rgba(107, 143, 168, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease;
  background: var(--sea-slate);
}

.safe-sector:hover {
  transform: translateY(-4px);
}

.safe-sector img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.safe-sector .sector-body {
  padding: 1.2rem;
}

.safe-sector h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.fixed-signal-thesis {
  background: var(--sea-slate);
  position: relative;
  overflow: hidden;
}

.fixed-signal-thesis::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 180deg at 20% 50%, transparent 0deg, rgba(107, 143, 168, 0.06) 60deg, transparent 120deg);
  pointer-events: none;
}

.thesis-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.thesis-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--fog-milk);
  position: relative;
}

.thesis-headline .sector-arc {
  display: inline;
  background: linear-gradient(135deg, var(--lens-glass), var(--brass-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.thesis-card {
  background: var(--keeper-cream);
  color: var(--beacon-night);
  padding: 2rem;
  position: relative;
}

.vis-annotation {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--prism-green);
  margin-top: 1rem;
}

.service-beams {
  background: var(--beacon-night);
  position: relative;
}

.beam-sector-map {
  position: relative;
  min-height: 600px;
  margin-top: 2rem;
}

.service-beam {
  position: absolute;
  background: rgba(42, 53, 72, 0.8);
  border: 1px solid rgba(107, 143, 168, 0.15);
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.service-beam:hover {
  transform: translateY(-4px);
  border-color: var(--brass-glow);
}

.service-beam.primary-beam {
  width: 45%;
  top: 5%;
  left: 5%;
  padding: 2rem;
  background: rgba(42, 53, 72, 0.95);
  border-color: rgba(184, 149, 106, 0.3);
}

.service-beam.beam-2 {
  width: 35%;
  top: 10%;
  right: 5%;
}

.service-beam.beam-3 {
  width: 30%;
  top: 45%;
  left: 15%;
}

.service-beam.beam-4 {
  width: 32%;
  top: 50%;
  right: 10%;
}

.service-beam.beam-5 {
  width: 28%;
  bottom: 5%;
  left: 30%;
}

.service-beam.beam-6 {
  width: 30%;
  bottom: 8%;
  right: 5%;
}

.service-beam .beam-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--brass-glow);
  margin-bottom: 0.5rem;
}

.service-beam h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-beam p {
  font-size: 0.9rem;
  color: rgba(232, 236, 242, 0.7);
  margin-bottom: 0.5rem;
}

.service-beam .beam-path {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--lens-glass);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(107, 143, 168, 0.1);
}

.service-beams-mobile {
  display: none;
}

.visibility-proof {
  background: var(--sea-slate);
}

.proof-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
}

.proof-fog {
  background: rgba(10, 15, 26, 0.6);
  padding: 3rem;
  border: 1px solid rgba(107, 143, 168, 0.1);
  position: relative;
}

.proof-fog::before {
  content: 'FOG FIELD';
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--signal-red);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.proof-clear {
  background: var(--keeper-cream);
  color: var(--beacon-night);
  padding: 3rem;
  position: relative;
}

.proof-clear::before {
  content: 'CLEAR BEARING';
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--prism-green);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.proof-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.proof-marker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(107, 143, 168, 0.2);
}

.counter-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--brass-glow);
  display: block;
  margin-bottom: 0.3rem;
}

.about-keeper {
  background: var(--beacon-night);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border: 1px solid rgba(107, 143, 168, 0.15);
}

.about-image .fog-note {
  position: absolute;
  bottom: -1rem;
  left: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: var(--keeper-cream);
  color: var(--beacon-night);
  padding: 0.5rem 1rem;
}

.beacon-sequence {
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(184, 149, 106, 0.06) 0%, transparent 60%),
    var(--sea-slate);
}

.sequence-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.sequence-step {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(107, 143, 168, 0.12);
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.sequence-step:hover {
  border-color: var(--brass-glow);
  transform: translateY(-4px);
}

.sequence-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--lens-glass);
  margin-bottom: 0.8rem;
}

.sequence-step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--brass-glow);
}

.sequence-step p {
  font-size: 0.85rem;
  color: rgba(232, 236, 242, 0.65);
}

.keeper-marquee {
  overflow: hidden;
  max-width: 100vw;
  background: var(--beacon-night);
  border-top: 1px solid rgba(107, 143, 168, 0.08);
  border-bottom: 1px solid rgba(107, 143, 168, 0.08);
  padding: 1.2rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left 40s linear infinite;
}

.marquee-track-reverse {
  display: flex;
  width: max-content;
  animation: marquee-right 35s linear infinite;
  margin-top: 0.5rem;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--lens-glass);
  padding: 0.4rem 2rem;
  white-space: nowrap;
  border-right: 1px solid rgba(107, 143, 168, 0.1);
}

.visibility-cta {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(107, 143, 168, 0.08) 0%, transparent 60%),
    var(--beacon-night);
  text-align: center;
  position: relative;
}

.cta-sector-panel {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border: 1px solid rgba(184, 149, 106, 0.2);
  position: relative;
}

.cta-sector-panel::before,
.cta-sector-panel::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid var(--brass-glow);
}

.cta-sector-panel::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.cta-sector-panel::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.cta-sector-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-sector-panel p {
  color: rgba(232, 236, 242, 0.7);
  margin-bottom: 2rem;
}

.contact-preview {
  background: var(--sea-slate);
}

.contact-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-detail {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: var(--lens-glass);
}

.contact-detail strong {
  color: var(--fog-milk);
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.lantern-footer {
  background: var(--beacon-night);
  border-top: 1px solid rgba(107, 143, 168, 0.1);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  color: rgba(232, 236, 242, 0.6);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--brass-glow);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(232, 236, 242, 0.6);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--fog-milk);
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(107, 143, 168, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(232, 236, 242, 0.4);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(232, 236, 242, 0.4);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--lens-glass);
}

.page-hero {
  padding: 8rem 1.5rem 4rem;
  background: var(--beacon-night);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(107, 143, 168, 0.06) 0%, transparent 60%);
}

.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.page-hero .page-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--lens-glass);
}

.page-content {
  background: var(--keeper-cream);
  color: var(--beacon-night);
  min-height: 50vh;
}

.page-content-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page-content-inner h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--beacon-night);
}

.page-content-inner h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
}

.page-content-inner p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.page-content-inner ul, .page-content-inner ol {
  margin: 1rem 0 1rem 1.5rem;
  list-style: disc;
}

.page-content-inner li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.page-content-dark {
  background: var(--beacon-night);
  color: var(--fog-milk);
}

.page-content-dark .page-content-inner h2,
.page-content-dark .page-content-inner h3 {
  color: var(--fog-milk);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-content .legal-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lens-glass);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--brass-glow);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.8rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: rgba(232, 236, 242, 0.85);
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1rem 1.5rem;
  list-style: disc;
  color: rgba(232, 236, 242, 0.85);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.contact-form-section {
  background: var(--beacon-night);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.bearing-form {
  background: var(--keeper-cream);
  color: var(--beacon-night);
  padding: 2.5rem;
  position: relative;
}

.bearing-form::before {
  content: 'BEARING REQUEST';
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--brass-glow);
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--keeper-cream);
  padding: 0 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--sea-slate);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(42, 53, 72, 0.2);
  background: var(--fog-milk);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--beacon-night);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass-glow);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--signal-red);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--signal-red);
  margin-top: 0.3rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.map-container {
  margin-top: 2rem;
  border: 1px solid rgba(107, 143, 168, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  filter: grayscale(30%) contrast(1.1);
}

.faq-section {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid rgba(107, 143, 168, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--fog-milk);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--brass-glow);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  color: rgba(232, 236, 242, 0.7);
  font-size: 0.95rem;
}

.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--beacon-night);
  padding: 8rem 1.5rem 4rem;
}

.thanks-panel {
  max-width: 600px;
  padding: 3rem;
  border: 1px solid rgba(184, 149, 106, 0.2);
}

.thanks-panel h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--brass-glow);
}

.thanks-panel p {
  color: rgba(232, 236, 242, 0.7);
  margin-bottom: 2rem;
}

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

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.services-page-beams {
  position: relative;
  min-height: 500px;
}

.service-accordion {
  border: 1px solid rgba(107, 143, 168, 0.12);
  margin-bottom: 1rem;
  background: var(--sea-slate);
}

.service-accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-accordion-header h3 {
  font-size: 1.2rem;
  color: var(--fog-milk);
}

.service-accordion-header .acc-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--lens-glass);
}

.service-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-accordion.active .service-accordion-body {
  max-height: 600px;
}

.service-accordion-body-inner {
  padding: 0 1.5rem 1.5rem;
  color: rgba(232, 236, 242, 0.75);
}

.portfolio-lantern {
  margin-bottom: 4rem;
}

.portfolio-lantern-alt {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
}

.portfolio-lantern-alt.reverse {
  grid-template-columns: 1.5fr 1fr;
}

.outcome-detail {
  padding: 1.5rem;
  background: var(--sea-slate);
  border: 1px solid rgba(107, 143, 168, 0.12);
  margin-top: 1rem;
}

.outcome-detail dt {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--brass-glow);
  margin-bottom: 0.2rem;
}

.outcome-detail dd {
  margin-bottom: 1rem;
  color: rgba(232, 236, 242, 0.8);
}

@media (max-width: 1024px) {
  .header-nav, .visibility-readout, .header-cta-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .lens-sector {
    width: 80vw;
    right: -20%;
    opacity: 0.5;
  }

  .lvf-layout,
  .thesis-layout,
  .proof-layout,
  .about-layout,
  .contact-layout,
  .contact-preview-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .lantern-layout {
    grid-template-columns: 1fr;
  }

  .primary-bearing {
    grid-row: span 1;
  }

  .beam-sector-map {
    display: none;
  }

  .service-beams-mobile {
    display: block;
  }

  .service-beam-mobile {
    background: var(--sea-slate);
    border: 1px solid rgba(107, 143, 168, 0.12);
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .portfolio-lantern-alt,
  .portfolio-lantern-alt.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-fog-beam {
    padding-top: 6rem;
  }

  .section-inner {
    padding: 3rem 1.2rem;
  }

  .marker-strip-inner {
    flex-direction: column;
  }

  .marker-item {
    min-width: 100%;
  }

  .sequence-steps {
    flex-direction: column;
    align-items: center;
  }

  .sequence-step {
    max-width: 100%;
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1025px) and (hover: hover) {
  .parallax-layer {
    transition: transform 0.1s ease-out;
  }
}
