/* ============================================================
   significance.h.porb.dev — HARBOR early-analysis microsite
   Presentation identity: HARBOR deck-style dark navy/amber
   (bg #0F1115 / amber #C8962E) — the documented campaign/pitch
   identity from harbor-brand-system. Site-theme rules (neutral
   slate/blue-gray) apply to product sites; this is an outreach
   wedge built on the deck theme per brandkit amendment 2026-08-24.
   Type: Geist Sans/Mono. Stage hexes in H-A-R-B-O-R order.
   ============================================================ */

:root {
  /* HARBOR brand */
  --ink:        #0B0D12;
  --bg-dark:    #0F1115;
  --surface:    #171A21;
  --surface-2:  #1C2029;
  --border-dark:#2A2D35;
  --amber:      #C8962E;
  --amber-bright:#DFB85A;
  --amber-soft: rgba(200, 150, 46, .12);
  --cream:      #FAF8F3;
  --cream-2:    #F3EFE6;
  --paper:      #FFFFFF;
  --ink-soft:   #14171C;
  --muted:      #9A978E;
  --muted-dark: #B4B1A8;
  --line:       #E4DFD3;
  --line-dark:  #262A33;

  /* HARBOR 6-dot mark */
  --c1:#3B82F6; --c2:#8B5CF6; --c3:#EC4899; --c4:#F97316; --c5:#10B981; --c6:#06B6D4;

  /* type */
  --sans: "Geist Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --shadow-lg: 0 24px 60px -24px rgba(11, 13, 18, .45);
  --shadow-sm: 0 2px 12px -4px rgba(11, 13, 18, .12);
}

/* ---------- fonts (self-hosted Geist, woff2) ---------- */
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/geist-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/geist-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/geist-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Geist Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/geist-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/geist-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/geist-mono-500.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/geist-mono-600.woff2") format("woff2"); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--amber-soft); color: var(--ink); }

/* ---------- utilities ---------- */
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow {
  font: 600 12px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; margin-top: 14px; }
.hide-mobile { }
@media (max-width: 640px) { .hide-mobile { display: none; } }

/* ---------- dark sections ---------- */
.section-dark {
  background: var(--bg-dark);
  color: #E8E6E0;
}
.section-dark .lead, .section-dark .muted { color: var(--muted-dark); }
.section-dark p { color: var(--muted-dark); }
.section-dark h2 { color: #F3F1EA; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.scrolled { background: rgba(11, 13, 18, .94); border-bottom-color: rgba(255,255,255,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font: 500 13.5px/1 var(--sans);
  color: #C9C6BD;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--amber-bright); }
.nav-cta {
  font: 600 13.5px/1 var(--sans);
  color: var(--ink);
  background: var(--amber);
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--amber-bright); transform: translateY(-1px); }
@media (max-width: 980px) { .nav-links { gap: 18px; } .nav-links a { font-size: 13px; } }
.nav-burger {
  display: none;
  background: none; border: 1px solid var(--border-dark); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-burger svg { stroke: #E8E6E0; }
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(11,13,18,.98); border-bottom: 1px solid var(--border-dark);
    padding: 8px 0 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a.nav-cta { margin: 14px 24px 4px; width: auto; }
  .nav-burger { display: inline-flex; }
}

/* ---------- brand mark ---------- */
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark .dots { display: flex; gap: 4px; }
.mark .dot { width: 9px; height: 9px; border-radius: 50%; }
.mark .dot-letter {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 11px/1 var(--sans); color: #fff;
}
.mark .word { font: 700 17px/1 var(--sans); letter-spacing: .02em; color: #F3F1EA; }
.mark .word b { color: var(--muted-dark); font-weight: 500; }
.footer .mark .dot-letter { width: 18px; height: 18px; font-size: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #E8E6E0;
  overflow: hidden;
  padding: clamp(84px, 12vw, 150px) 0 clamp(64px, 9vw, 110px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200,150,46,.16), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero .eyebrow { color: var(--amber-bright); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
  max-width: 18ch;
  color: #F3F1EA;
}
.hero h1 .accent { color: var(--amber-bright); }
.hero .sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--muted-dark);
  max-width: 58ch;
}
.hero-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; }
.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(6px);
  align-self: center;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-panel .hp-label {
  font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-dark); margin-bottom: 18px;
}
.hero-panel .hp-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-panel .hp-row:last-of-type { border-bottom: none; }
.hero-panel .hp-k { font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted-dark); }
.hero-panel .hp-v { font: 600 14px/1.4 var(--sans); color: #F3F1EA; text-align: right; }
.hero-panel .hp-v.amber { color: var(--amber-bright); }
.hero-panel .hp-flow {
  margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--amber-soft); border: 1px solid rgba(200,150,46,.28);
  border-radius: 12px; padding: 12px 14px;
}
.hero-panel .hp-flow .flow-label { font: 600 12px/1.4 var(--sans); color: var(--amber-bright); }
.hero-panel .hp-flow .flow-arrow { font: 600 14px/1 var(--mono); color: var(--amber-bright); }
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-panel { max-width: 100%; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--sans);
  padding: 17px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer; border: none;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-bright); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(200,150,46,.45); }
.btn-ghost {
  background: transparent;
  color: #E8E6E0;
  border: 1px solid var(--border-dark);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-bright); }
.hero-meta {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: .04em;
  color: var(--muted);
}
.hero-meta span { padding: 8px 12px; border: 1px solid var(--border-dark); border-radius: 999px; }

/* ---------- stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -1px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.stat { background: var(--bg-dark); padding: 30px 22px; text-align: center; }
.stat .num {
  font: 700 clamp(1.7rem, 3vw, 2.5rem)/1 var(--sans);
  letter-spacing: -.02em;
  color: var(--amber-bright);
}
.stat .lbl {
  margin-top: 10px;
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 24px 16px; } .stat .lbl { min-height: 2.6em; display: flex; align-items: flex-start; justify-content: center; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; border-radius: 14px; } .stat { padding: 22px 18px; text-align: left; display: flex; flex-direction: column; } .stat .num { font-size: 1.9rem; } .stat .lbl { min-height: 0; justify-content: flex-start; } }

/* ---------- cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card.dark {
  background: var(--surface);
  border-color: var(--border-dark);
}
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- framework phases ---------- */
.phase {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.phase:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.phase .num {
  font: 700 13px/1 var(--mono);
  color: var(--amber);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.phase h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin-top: 12px; }
.phase p { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.phase .dot-row { display: flex; gap: 5px; margin-bottom: 14px; }
.phase .dot-row i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

/* ---------- engagement tiers ---------- */
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.tier .kicker { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.tier h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 6px; }
.tier .price { font: 700 1.7rem/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.tier .price small { font: 500 .9rem/1 var(--sans); color: var(--muted); }
.tier ul { margin: 18px 0 22px; list-style: none; flex: 1; }
.tier li {
  padding-left: 26px; position: relative;
  font-size: .93rem; color: var(--ink-soft); margin-bottom: 10px;
}
.tier li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber-soft); border: 2px solid var(--amber);
}
.tier .btn { justify-content: center; }
.tier.featured { border-color: var(--amber); box-shadow: 0 20px 50px -20px rgba(200,150,46,.35); }
.tier .btn-ghost { color: #57544D; border-color: var(--line); }
.tier .btn-ghost:hover { color: var(--ink-soft); border-color: var(--amber); }

/* ---------- two-stream ---------- */
.stream {
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 44px);
  color: #E8E6E0;
}
.stream h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; color: #F3F1EA; margin: 14px 0 8px; }
.stream p { color: var(--muted-dark); font-size: .98rem; }
.stream .tag {
  display: inline-block;
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-bright);
  background: var(--amber-soft);
  border: 1px solid rgba(200,150,46,.3);
  padding: 7px 10px; border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- why harbor ---------- */
.why-list { list-style: none; }
.why-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-list .ic {
  flex: 0 0 40px; height: 40px; border-radius: 12px;
  background: var(--amber-soft); border: 1px solid rgba(200,150,46,.3);
  display: flex; align-items: center; justify-content: center;
}
.why-list h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.why-list p { font-size: .93rem; color: var(--muted); margin-top: 3px; }

/* ---------- CTA + form ---------- */
.cta-panel {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: clamp(30px, 5vw, 56px);
  color: #E8E6E0;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: -40% -20% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200,150,46,.14), transparent 65%);
  pointer-events: none;
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); position: relative; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-dark); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  color: #F3F1EA;
  font: 500 16px/1.4 var(--sans);
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23DFB85A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: #F3F1EA; background: var(--surface); }
.form-ok {
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.4);
  color: #6EE7B7; border-radius: 10px; padding: 14px 16px;
  font: 500 14px/1.5 var(--sans); margin-top: 4px;
}
.form-error {
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4);
  color: #FCA5A5; border-radius: 10px; padding: 14px 16px;
  font: 500 14px/1.5 var(--sans); margin-top: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--muted);
  padding: 44px 0 96px;
  font-size: .85rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer .mark .word { color: #E8E6E0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--amber-bright); }

/* ---------- scroll reveal (progressive enhancement: content visible by default) ---------- */
/* Default state: fully visible. Only when JS confirms it can reveal do we hide pre-reveal,
   so no-JS / screenshot / old-browser users always see the content. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-grid, .hero-glow { display: none; }
}

/* ---------- focus + a11y ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--amber); color: var(--ink);
  padding: 12px 18px; border-radius: 0 0 10px 0;
  font: 600 13px/1 var(--sans);
}
.skip-link:focus { left: 0; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,13,18,.96);
  border-top: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sticky-cta .btn { width: 100%; justify-content: center; padding: 15px 20px; }
@media (max-width: 760px) {
  .sticky-cta.visible { display: block; }
  body { padding-bottom: 0; }
}

/* ---------- light-section contrast pass ---------- */
.section .lead { color: #55534C; }
.card p, .phase p, .tier li { color: #57544D; }
.why-list p { color: #57544D; }
.section:not(.section-dark) .eyebrow { color: #A9761F; }
