/* Clear Anchor - clearanchor.co */

:root {
  --ink: #0a1017;
  --panel: #0d1620;
  --panel-2: #101b26;
  --line: rgba(203, 224, 236, 0.12);
  --line-soft: rgba(203, 224, 236, 0.07);
  --foam: #e8eff4;
  --mist: #92a5b2;
  --signal: #54c3d3;
  --signal-ink: #0a1017;
  --signal-dim: rgba(84, 195, 211, 0.12);
  --max: 1120px;
  --pad: 24px;
}

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

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  background: var(--ink);
  color: var(--foam);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--signal); color: var(--signal-ink); }

a { color: var(--foam); text-decoration: none; }
a:hover { color: var(--signal); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 16, 23, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand:hover { color: var(--foam); }
.brand svg { display: block; }
.brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  font-stretch: 110%;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--mist); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--foam); }
.nav a.nav-cta {
  color: var(--foam);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 3px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav a.nav-cta:hover { border-color: var(--signal); color: var(--signal); background: var(--signal-dim); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 96px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mist);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}
.kicker::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: var(--line);
}
.kicker .mono { color: var(--signal); font-size: 12.5px; }

h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 28px;
  max-width: 54ch;
  font-size: 18.5px;
  color: var(--mist);
}
.hero-sub strong { color: var(--foam); font-weight: 600; }

.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--signal); color: var(--signal-ink); }
.btn-solid:hover { background: #6fd2e0; color: var(--signal-ink); }
.btn-ghost { border-color: var(--line); color: var(--foam); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }

/* nautical chart backdrop */
.chart {
  position: absolute;
  top: 50%;
  right: -180px;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.chart .ring { fill: none; stroke: var(--line-soft); stroke-width: 1; }
.chart .ring-accent { stroke: rgba(84, 195, 211, 0.22); }
.chart .tick { stroke: var(--line); stroke-width: 1; }
.chart .cross { stroke: var(--line-soft); stroke-width: 1; stroke-dasharray: 2 6; }
.chart .anchor { fill: none; stroke: var(--signal); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }

/* one load-in moment, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1, .hero-sub, .hero-actions {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
  }
  .hero h1 { animation-delay: 0.08s; }
  .hero-sub { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  .chart .anchor {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 1.4s ease-out 0.3s forwards;
  }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- stat band ---------- */

.stats { border-bottom: 1px solid var(--line-soft); background: var(--panel); }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 26px 24px 28px 0; }
.stat + .stat { border-left: 1px solid var(--line-soft); padding-left: 28px; }
.stat dt { color: var(--mist); font-size: 13px; font-weight: 500; letter-spacing: 0.03em; }
.stat dd { margin-top: 7px; font-size: 17px; font-weight: 600; }
.stat dd .mono { font-size: 15.5px; color: var(--signal); }

/* ---------- sections ---------- */

.section { padding: 96px 0 0; }
.section:last-of-type { padding-bottom: 0; }

.sec-head {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  margin-bottom: 52px;
}
.sec-label { color: var(--signal); font-size: 13px; font-weight: 500; letter-spacing: 0.05em; }
.sec-head h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.12;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.sec-head .sec-note { grid-column: 2; max-width: 58ch; color: var(--mist); margin-top: 14px; font-size: 17px; }

/* three columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.col h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; }
.col p { color: var(--mist); font-size: 16px; }

/* vertical cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.card {
  background: var(--ink);
  padding: 30px 28px 34px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: background 0.15s ease;
}
.card:hover { background: var(--panel); }
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.card p { color: var(--mist); font-size: 15.5px; }
.card.card-next { background: var(--panel); grid-column: span 2; }
.card.card-next h3 { color: var(--signal); }

/* deliverables */
.deliver { border-top: 1px solid var(--line); }
.deliver-row {
  display: grid;
  grid-template-columns: 220px 1fr 170px;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.deliver-row h3 { font-size: 18.5px; font-weight: 700; }
.deliver-row p { color: var(--mist); font-size: 16px; max-width: 56ch; }
.deliver-row .model { color: var(--signal); font-size: 13.5px; text-align: right; }

/* standards */
.standards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.standard { border-left: 2px solid var(--signal); padding-left: 22px; }
.standard h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.standard p { color: var(--mist); font-size: 15.5px; }

/* ---------- cta band ---------- */

.cta-band {
  margin-top: 110px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}
.cta-band .wrap { padding-top: 84px; padding-bottom: 84px; }
.cta-band h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.012em;
  line-height: 1.08;
  max-width: 20ch;
}
.cta-band p { margin-top: 20px; max-width: 58ch; color: var(--mist); font-size: 17.5px; }
.cta-band .hero-actions { margin-top: 36px; }
.cta-mail { color: var(--mist); font-size: 15px; margin-top: 22px; }
.cta-mail a { color: var(--signal); }

/* ---------- footer ---------- */

.site-foot { padding: 56px 0 46px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line-soft);
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--mist); font-size: 14.5px; max-width: 34ch; }
.foot-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--mist); margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 9px; }
.foot-col a, .foot-col address { color: var(--foam); font-size: 15px; font-style: normal; line-height: 1.7; }
.foot-col a:hover { color: var(--signal); }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: var(--mist);
  font-size: 13.5px;
}

/* ---------- inner pages ---------- */

.page { padding: 88px 0 20px; }
.page h1 { font-size: clamp(34px, 5vw, 54px); }
.page .lede { margin-top: 22px; max-width: 56ch; color: var(--mist); font-size: 18px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 56px; }
.contact-cell { background: var(--ink); padding: 32px 28px 36px; }
.contact-cell h2 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.contact-cell p { color: var(--mist); font-size: 15.5px; margin-bottom: 18px; min-height: 72px; }
.contact-cell a.mail { color: var(--signal); font-size: 15.5px; font-weight: 600; word-break: break-all; }
.contact-cell address { font-style: normal; color: var(--foam); font-size: 15.5px; line-height: 1.7; }

.page-note { margin-top: 44px; color: var(--mist); font-size: 15.5px; max-width: 60ch; border-left: 2px solid var(--signal); padding-left: 20px; }

/* legal pages */
.legal { max-width: 760px; }
.legal .updated { margin-top: 18px; color: var(--mist); font-size: 14px; }
.legal section { margin-top: 44px; }
.legal h2 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.legal p, .legal li { color: var(--mist); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--signal); }

/* 404 */
.notfound { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }
.notfound .code { color: var(--signal); font-size: 15px; margin-bottom: 16px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 20px 24px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 24px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .cols3 { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .sec-head .sec-note { grid-column: 1; }
  .deliver-row { grid-template-columns: 180px 1fr; }
  .deliver-row .model { grid-column: 2; text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cell p { min-height: 0; }
  .chart { right: -320px; opacity: 0.55; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 64px; }
  .section { padding-top: 72px; }
  .cols3, .cards, .standards, .foot-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card.card-next { grid-column: auto; }
  .deliver-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .deliver-row .model { grid-column: auto; }
  .kicker { flex-wrap: wrap; row-gap: 6px; }
  .kicker span { white-space: nowrap; }
  .nav { gap: 18px; }
  .nav a.nav-link-hide { display: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .cta-band .wrap { padding-top: 60px; padding-bottom: 60px; }
  .chart { display: none; }
}
