:root {
  --navy: #13254A;
  --navy-deep: #0B1630;
  --navy-mid: #1A2E5C;
  --paper: #F4F1EA;
  --gold: #F6C453;
  --green: #3CCB8A;
  --muted: #A9B6D3;
  --line: rgba(255, 255, 255, .09);
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--paper);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); max-width: 22ch; }
.eyebrow {
  margin: 0 0 14px; color: var(--gold);
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 22, 48, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none;
         font-family: var(--serif); font-weight: 600; font-size: 19px; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--paper); }
@media (max-width: 520px) { .nav nav a:not(:last-child) { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1A2F5E 0%, var(--navy-deep) 100%);
  padding: 72px 0 0;
}
.tower { position: absolute; right: -60px; top: 40px; width: 420px; opacity: .55; pointer-events: none; }
.tower .lit { animation: flicker 6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 48% { opacity: 1; } 50% { opacity: .75; } 52% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tower .lit { animation: none; } }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end;
}
.hero-copy { padding-bottom: 96px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { color: #D4DCEC; font-size: 19px; max-width: 34em; margin: 22px 0 32px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px;
  padding: 9px 20px 9px 16px; transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge span { display: flex; flex-direction: column; font-size: 21px; font-weight: 600; line-height: 1.05; }
.store-badge small { font-size: 11px; font-weight: 400; letter-spacing: .02em; }
.fine { margin: 0; color: var(--muted); font-size: 14px; }

.hero-phone { display: flex; justify-content: center; }
.phone {
  width: min(330px, 100%);
  padding: 10px; border-radius: 52px 52px 0 0;
  background: #05091A;
  border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0;
  box-shadow: 0 -10px 80px rgba(246, 196, 83, .14), 0 30px 80px rgba(0, 0, 0, .5);
  max-height: 620px; overflow: hidden;
}
.phone img { border-radius: 42px 42px 0 0; }

@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 32px; }
  .tower { width: 280px; right: -110px; top: 10px; opacity: .3; }
  .phone { width: min(300px, 86%); max-height: 460px; }
}

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy); }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-row div { padding: 26px 12px; text-align: center; border-left: 1px solid var(--line); }
.strip-row div:first-child { border-left: 0; }
.strip b { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); font-variant-numeric: tabular-nums; }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) {
  .strip-row { grid-template-columns: repeat(2, 1fr); }
  .strip-row div:nth-child(3) { border-left: 0; }
  .strip-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: 96px 0; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); border-radius: 22px; padding: 28px;
}
.card .emoji { font-size: 30px; line-height: 1; margin-bottom: 14px; }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card ul { margin: 0; padding: 0; list-style: none; color: #C9D3E8; }
.card li { position: relative; padding-left: 20px; margin: 8px 0; font-size: 16px; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--green); }

/* Quote */
.quote { background: var(--paper); color: var(--navy); padding: 80px 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.18; font-weight: 600; }
.quote p { margin: 18px 0 0; color: #5A6785; }

/* Gallery */
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 44px max(24px, calc((100vw - 1120px) / 2 + 24px)) 12px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.gallery:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.gallery figure { flex: 0 0 240px; margin: 0; scroll-snap-align: center; }
.gallery img { border-radius: 26px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.gallery figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .gallery { padding-left: 16px; padding-right: 16px; } .gallery figure { flex-basis: 70%; } }

/* Privacy */
.privacy { background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-row { display: flex; gap: 28px; align-items: flex-start; }
.privacy .lock { font-size: 44px; line-height: 1; }
.privacy h2 { max-width: none; font-size: clamp(26px, 3.4vw, 36px); }
.privacy p { color: #C9D3E8; max-width: 44em; margin: 14px 0 0; }
@media (max-width: 600px) { .privacy-row { flex-direction: column; gap: 14px; } }

/* Final */
.final { padding: 96px 0 80px; text-align: center; }
.final .wordmark { width: min(360px, 80%); margin: 0 auto; }
.final p { color: var(--muted); font-size: 19px; margin: 18px 0 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 24px; }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* Document pages (privacy, support) */
.doc { background: var(--paper); color: var(--navy); }
.doc .nav { background: rgba(244, 241, 234, .85); border-bottom-color: rgba(19, 37, 74, .1); }
.doc .brand, .doc .nav nav a:hover { color: var(--navy); }
.doc .nav nav a { color: #5A6785; }
.doc main { max-width: 720px; margin: 0 auto; padding: 56px 24px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 6px; }
.doc .date { color: #5A6785; margin: 0 0 36px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; border-left: 4px solid var(--gold); padding-left: 12px; max-width: none; }
.doc a { color: #1F6E4A; }
.doc .foot { border-top-color: rgba(19, 37, 74, .1); color: #5A6785; }
.doc .foot a { color: #5A6785; }
.doc .foot a:hover { color: var(--navy); }
.contact {
  display: inline-block; margin-top: 8px; padding: 12px 20px; border-radius: 12px;
  background: var(--navy); color: var(--paper) !important; text-decoration: none; font-weight: 600;
}
details { border-bottom: 1px solid rgba(19, 37, 74, .12); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: #5A6785; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: #34425F; }
