:root {
  --deep: #0b3a6e;
  --deep-2: #0a2540;
  --mid: #1e6bb8;
  --sky: #e8f3fc;
  --off: #f7fbff;
  --surface: #ffffff;
  --honey: #e6a817;
  --honey-light: #f9d56a;
  --success: #2f9e6b;
  --ink: #0a2540;
  --muted: #5a6f86;
  --line: #d7e6f5;
  --glow: rgba(230, 168, 23, 0.38);
  --shadow: 0 18px 50px rgba(11, 58, 110, 0.12);
  --radius: 22px;
  --display: "Fraunces", "Iowan Old Style", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(230, 168, 23, 0.22), transparent 60%),
    radial-gradient(800px 480px at -10% 20%, rgba(30, 107, 184, 0.18), transparent 55%),
    linear-gradient(165deg, var(--sky) 0%, var(--off) 42%, #dceaf8 100%);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath fill='none' stroke='%231e6bb8' stroke-opacity='0.35' stroke-width='1' d='M42 2 L80 24 V68 L42 90 L4 68 V24 Z'/%3E%3C/svg%3E");
}

a {
  color: var(--mid);
}

img {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site {
  position: relative;
  z-index: 1;
  padding-bottom: 96px;
}

/* —— left spine (desktop) —— */
.spine {
  display: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 12px var(--glow));
}

.spine a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spine a:hover,
.spine a.is-active {
  color: var(--deep);
}

/* —— bottom dock (mobile + always as backup) —— */
.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 30;
  width: min(calc(100% - 24px), 560px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  background: rgba(10, 37, 64, 0.92);
  color: var(--surface);
  border: 1px solid rgba(230, 168, 23, 0.35);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(11, 58, 110, 0.35), 0 0 24px rgba(230, 168, 23, 0.18);
  backdrop-filter: blur(14px);
}

.dock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--surface);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
}

.dock-brand svg {
  width: 28px;
  height: 28px;
}

.dock-toggle {
  border: 0;
  background: var(--honey);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.dock-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  background: rgba(10, 37, 64, 0.96);
  border: 1px solid rgba(215, 230, 245, 0.2);
  border-radius: 18px;
  padding: 10px;
  flex-direction: column;
  gap: 4px;
}

.dock.is-open .dock-panel {
  display: flex;
}

.dock-panel a {
  color: var(--surface);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.dock-panel a:hover {
  background: rgba(230, 168, 23, 0.18);
}

/* —— hero —— */
.hero {
  display: grid;
  gap: 28px;
  padding: 36px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.hero h1 {
  margin: 14px 0 12px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--mid);
}

.lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-honey {
  background: var(--honey);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(230, 168, 23, 0.35), 0 10px 28px rgba(230, 168, 23, 0.28);
}

.btn-honey:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--deep);
  border-color: var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.metric {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.metric b {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--mid);
}

.metric span {
  font-size: 0.78rem;
  color: var(--muted);
}

.round-card {
  background: linear-gradient(160deg, var(--deep) 0%, #0f4a82 55%, var(--mid) 140%);
  color: var(--surface);
  border-radius: 28px;
  padding: 22px;
  border: 1px solid rgba(230, 168, 23, 0.35);
  box-shadow: var(--shadow), 0 0 40px rgba(30, 107, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.round-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
}

.round-card h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  position: relative;
}

.round-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-bottom: 14px;
}

.progress > i {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--honey), var(--honey-light));
}

.round-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

.round-meta div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
}

.round-meta small {
  display: block;
  opacity: 0.7;
  font-size: 0.72rem;
}

/* —— sections —— */
section {
  padding: 56px 0;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 8px;
}

h2.display {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 28px;
}

.bento {
  display: grid;
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(11, 58, 110, 0.06);
}

.card h3 {
  margin: 8px 0 8px;
  font-family: var(--display);
  font-size: 1.28rem;
}

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

.num {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(230, 168, 23, 0.18);
  color: var(--deep);
  font-weight: 800;
  font-size: 0.78rem;
}

.about-grid {
  display: grid;
  gap: 16px;
}

.disclaimer {
  border-left: 3px solid var(--honey);
  padding: 4px 0 4px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* privacy accordion */
.legal {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
}

.legal details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.legal details:last-of-type {
  border-bottom: 0;
}

.legal summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.legal summary::-webkit-details-marker {
  display: none;
}

.legal summary::after {
  content: "+";
  color: var(--honey);
  font-size: 1.2rem;
}

.legal details[open] summary::after {
  content: "–";
}

.legal details p,
.legal details ul {
  color: var(--muted);
  margin: 10px 0 0;
}

.legal details li {
  margin: 6px 0;
}

.date-chip {
  display: inline-block;
  margin: 8px 0 18px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

/* contact */
.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.contact-card span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card a {
  font-weight: 700;
  text-decoration: none;
  color: var(--deep);
}

.foot {
  padding: 24px 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .site {
    padding-left: 132px;
    padding-bottom: 48px;
  }

  .spine {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: fixed;
    left: 22px;
    top: 28px;
    bottom: 28px;
    width: 92px;
    z-index: 20;
    padding: 18px 10px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    align-items: center;
  }

  .spine nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    flex: 1;
    justify-content: center;
  }

  .dock {
    display: none;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding-top: 48px;
  }

  .bento {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .card-wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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