:root {
  --bg: #081450;
  --bg-light: #0c1c5c;
  --bg-card: #1434a4;
  --text: #f7f1e6;
  --muted: #d8c7aa;
  --dim: #9b8d76;
  --gold: #d4b056;
  --gold-bright: #f6ecd4;
  --wine: #1434a4;
  --border: rgba(246, 236, 212, 0.18);
  --display: "Cinzel", "Iowan Old Style", Palatino, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}
body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: #1a1408;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; color: var(--gold-bright); }
h3 { margin: 0 0 8px; color: var(--gold-bright); font-size: 20px; }
.section-copy {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 38rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(12px + var(--safe-top)) 22px 12px;
  padding-left: calc(22px + var(--safe-left));
  padding-right: calc(22px + var(--safe-right));
  background: rgba(8, 20, 80, 0.72);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  text-shadow: 0 0 14px rgba(241, 215, 122, 0.28);
}
.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  background: transparent;
  animation: bloom-glow-soft 4.8s ease-in-out infinite;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  letter-spacing: -0.01em;
  font-size: 15px;
  font-weight: 500;
}
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  border: 1px solid transparent;
}
.nav-cta, .btn.gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1408 !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 32%, transparent);
}
.btn.ghost {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.06);
}
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  background: rgba(255, 248, 230, 0.08);
  color: var(--gold-bright);
  font: 600 13px/1 var(--sans);
}

.hero {
  position: relative;
  min-height: min(92dvh, 920px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    url("/static/harbor-dusk.jpg?v=1") center 42% / cover no-repeat;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 80, 0.28) 0%, rgba(8, 20, 80, 0.12) 38%, rgba(8, 20, 80, 0.55) 78%, #081450 100%);
}
.lamps {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.lamp {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d2 0%, #ffd36a 32%, rgba(255, 168, 52, 0.45) 58%, transparent 74%);
  box-shadow: 0 0 12px 5px rgba(255, 196, 90, 0.7), 0 0 30px 14px rgba(255, 150, 40, 0.28);
  mix-blend-mode: screen;
  animation: lamp-flicker 2.8s ease-in-out infinite;
}
.lamp.lantern {
  left: 34%;
  top: 22%;
  width: 20px;
  height: 26px;
  animation-duration: 3.6s;
}
.lamp.w1 { left: 18%; top: 26%; animation-delay: 0.4s; }
.lamp.w2 { left: 24%; top: 24%; animation-delay: 1.1s; }
.lamp.w3 { left: 42%; top: 25%; animation-delay: 0.7s; }
.lamp.w4 { left: 52%; top: 24%; animation-delay: 1.6s; }
.lamp.w5 { left: 61%; top: 26%; animation-delay: 0.2s; }
.lamp.glow {
  width: 90px;
  height: 56px;
  background: radial-gradient(ellipse, rgba(255, 196, 90, 0.26), transparent 70%);
  box-shadow: none;
  filter: blur(8px);
}
.lamp.g1 { left: 28%; top: 18%; }
.lamp.g2 { left: 50%; top: 18%; animation-delay: 1.8s; }
@keyframes lamp-flicker {
  0%, 100% { opacity: 0.62; transform: scale(0.88); filter: brightness(0.88); }
  18% { opacity: 0.95; transform: scale(1.06); filter: brightness(1.12); }
  55% { opacity: 1; transform: scale(1.1); filter: brightness(1.18); }
  78% { opacity: 0.78; transform: scale(0.96); filter: brightness(0.95); }
}
.shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.shine-wash {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 58% 48% at 50% 48%, rgba(255, 228, 168, 0.3), transparent 58%),
    radial-gradient(ellipse 86% 70% at 50% 50%, rgba(212, 175, 55, 0.14), transparent 72%);
  animation: kind-wash 16s ease-in-out infinite;
}
.shine-ring,
.shine-ray {
  display: none;
}
@keyframes kind-wash {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}
@keyframes kind-ring {
  0% { transform: translate(-50%, -50%) scale(0.18); opacity: 0.55; }
  18% { opacity: 0.32; }
  100% { transform: translate(-50%, -50%) scale(7.4); opacity: 0; }
}
@keyframes kind-ray {
  0%, 100% { opacity: 0; filter: blur(2px); }
  22% { opacity: 0.55; }
  50% { opacity: 0.18; }
  72% { opacity: 0.4; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  text-align: center;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mark-wrap {
  position: relative;
  width: 152px;
  height: 170px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
}
.hero-mark {
  width: 86%;
  height: 86%;
  border-radius: 0;
  margin: 0;
  object-fit: contain;
  display: block;
  overflow: visible;
  background: transparent;
  position: relative;
  z-index: 1;
  transform: none;
  animation: mark-breathe 3.8s ease-in-out infinite;
}
.mark-halo {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1.5px solid rgba(241, 215, 122, 0.42);
  box-shadow: 0 0 16px rgba(241, 215, 122, 0.16);
  pointer-events: none;
  z-index: 0;
  animation: halo-out 4.2s ease-out infinite;
}
.mark-halo.late { animation-delay: 2.1s; }
.mark-life {
  position: absolute;
  inset: 7%;
  background: url("/static/logo-outline.svg?v=50") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(241, 215, 122, 0.48));
  animation: life-out 4.2s ease-out infinite;
}
.mark-life.late { animation-delay: 2.1s; }
@keyframes halo-out {
  0% { transform: scale(0.88); opacity: 0.55; }
  78% { transform: scale(2.15); opacity: 0; }
  100% { transform: scale(2.15); opacity: 0; }
}
@keyframes life-out {
  0% { transform: scale(1); opacity: 0.82; }
  70% { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}
@keyframes mark-breathe {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(241, 215, 122, 0.28)); }
  50% { filter: drop-shadow(0 0 20px rgba(241, 215, 122, 0.55)); }
}
@keyframes bloom-glow-soft {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.28)); }
  50% { filter: drop-shadow(0 0 14px rgba(241, 215, 122, 0.55)); }
}
@keyframes bloom-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes bloom-glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.22), 0 0 48px rgba(241, 215, 122, 0.12);
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(241, 215, 122, 0.72));
    box-shadow: 0 0 36px rgba(241, 215, 122, 0.42), 0 0 80px rgba(212, 175, 55, 0.22);
  }
}
.hero h1 {
  display: block;
  margin: 0 0 12px;
  font-size: clamp(32px, 6.2vw, 64px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 0 28px rgba(241, 215, 122, 0.35);
}
.slogan {
  margin: 0 auto 16px;
  max-width: 36rem;
  font-family: var(--display);
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.35;
  color: var(--gold);
}
.lede {
  margin: 0 auto 28px;
  max-width: 28rem;
  padding: 0 8px;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.paths, .product, .services, .promise, .plus, .store, .shots { padding: 84px 0; }
.product { background: linear-gradient(180deg, #081450, #0c1c5c 55%, #081450); }
.services { background: #081450; }
.shots { background: linear-gradient(180deg, #081450, #0a1858 50%, #081450); }
.shot-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.shot-row figure { margin: 0; text-align: center; }
.shot-row img {
  width: min(280px, 32vw);
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: #081450;
}
.shot-row figcaption {
  margin-top: 10px;
  color: var(--gold-bright);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: rgba(20, 52, 164, 0.28);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 20px 20px;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  box-shadow: inset 0 1px 0 rgba(241, 212, 138, 0.08);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 28px color-mix(in srgb, var(--gold) 16%, transparent), inset 0 1px 0 rgba(241, 212, 138, 0.12);
  transform: translateY(-2px);
  color: inherit;
}
.service-card img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 16px;
}
.service-card p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.5; }
.paths { background: linear-gradient(180deg, #081450, #0c1c5c 40%, #081450); }
.path-grid, .promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.path-card, .promise article, .plan {
  background: rgba(20, 52, 164, 0.28);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 22px 22px;
  min-height: 176px;
  color: inherit;
  display: block;
  box-shadow: inset 0 1px 0 rgba(241, 212, 138, 0.08);
}
.path-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 28px color-mix(in srgb, var(--gold) 16%, transparent), inset 0 1px 0 rgba(241, 212, 138, 0.12);
  transform: translateY(-2px);
  color: inherit;
}
.path-kicker {
  display: block;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 18px;
}
.path-card p, .promise article p, .plan li { color: var(--muted); margin: 0; }
.promise article { min-height: 0; }
.promise-grid { grid-template-columns: repeat(3, 1fr); }

.plus-panel, .store-panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 32px;
  background:
    radial-gradient(500px 180px at 20% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%),
    rgba(8, 20, 80, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(241, 212, 138, 0.08);
}
.plan-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan.featured { border-color: color-mix(in srgb, var(--gold) 55%, transparent); box-shadow: 0 0 32px rgba(212, 175, 55, 0.12); }
.price { font-family: var(--display); color: var(--gold); font-size: 28px; margin: 0 0 12px; }
.price span { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0 0 20px; padding-left: 1.1em; color: var(--muted); }
.plan li { margin: 0 0 6px; }
.fine { color: var(--dim); font-size: 13px; margin: 18px 0 0; }
.store-panel { text-align: center; }
.store-panel img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto 16px;
  background: transparent;
  filter: drop-shadow(0 0 14px rgba(241, 215, 122, 0.32));
}
.store-panel .section-copy { margin-left: auto; margin-right: auto; }
.store-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.site-foot {
  border-top: 1px solid var(--border);
  padding: 36px 0 calc(36px + var(--safe-bottom));
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}
.site-foot strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.site-foot nav { display: flex; flex-direction: column; gap: 8px; }
.site-foot a { color: var(--muted); min-height: 36px; display: inline-flex; align-items: center; }

.legal-body { padding: calc(48px + var(--safe-top)) 0 80px; }
.legal-body h1 { color: var(--gold-bright); letter-spacing: 0.1em; text-transform: uppercase; }
.legal-body h2 { font-size: 22px; margin: 28px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { padding-left: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  .hero-mark, .mark-halo, .mark-life, .shine-wash, .shine-ring, .shine-ray, .lamp { animation: none; }
  .shine { display: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 980px) {
  .path-grid, .promise-grid, .plan-duo, .foot-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .nav-brand span { letter-spacing: 0.06em; font-size: 11px; }
  .nav-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(68px + var(--safe-top));
    flex-direction: column;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    z-index: 12;
  }
  .site-nav.open .nav-links { display: flex; }
  .hero { min-height: 92dvh; place-items: center; }
  .hero-inner { width: min(760px, calc(100% - 28px)); padding: 20px 0; }
  .hero-mark-wrap { width: 128px; height: 144px; }
  .hero h1 {
    letter-spacing: 0.06em;
    font-size: 24px;
    padding: 0 4px;
  }
  .slogan { font-size: 16px; padding: 0 8px; max-width: 20rem; }
  .lede { font-size: 15px; padding: 0 4px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .paths, .product, .services, .promise, .plus, .store, .shots { padding: 56px 0; }
  .shot-row img { width: min(220px, 78vw); }
  .service-card { min-height: 0; }
  .plus-panel, .store-panel { padding: 24px 18px; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

.harbor-prose {
  max-width: 38rem;
}
.harbor-prose p {
  color: var(--muted);
  margin: 0 0 1.15em;
  font-size: 18px;
  line-height: 1.7;
}
.about {
  background: linear-gradient(180deg, #081450, #0c1c5c 55%, #081450);
}
