/* Polar Vision Marketing — site styles
   Black-and-white, hard edges, the horizon cut from the PVM mark.
   One cold accent (glacier blue) for links and focus only. */

/* ---- self-hosted fonts (variable) ---- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- tokens ---- */
:root {
  --ink:        #0b0d10;
  --ink-hover:  #272c33;
  --ink-soft:   #4a5560;
  --ink-muted:  #5f6b76;
  --line:       #e1e6ea;
  --line-soft:  #edf1f4;
  --bg:         #ffffff;
  --bg-tint:    #f4f7f9;
  --accent:     #176fae;
  --accent-ink: #0f5f96;
  --on-ink:     #ffffff;
  --on-ink-soft:#b8c2cc;
  --max:        1080px;
  --radius:     4px;
  --cut:        3px; /* the horizon rule */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Outfit, system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- skip link ---- */
.skip {
  position: absolute; left: 16px; top: -100px;
  background: var(--ink); color: var(--on-ink);
  padding: 8px 14px; border-radius: var(--radius); z-index: 100;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---- header ---- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark img { display: block; height: 22px; width: auto; }
.site-head .wordmark img { height: 28px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: var(--radius);
  background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; border: 1px solid var(--ink);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: var(--on-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* ---- the cut: a short horizon rule above section headings ---- */
.rule { display: block; width: 44px; height: var(--cut); background: var(--ink); margin: 0 0 20px; }

/* ---- hero ---- */
.hero { padding: clamp(60px, 9.5vw, 116px) 0 clamp(44px, 7vw, 84px); }
.hero h1 { max-width: 15ch; margin-bottom: .55em; }
.hero p.lead {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: var(--ink-soft); max-width: 44ch; margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.loc { color: var(--ink-muted); font-size: .92rem; margin: 1.6rem 0 0; }

/* ---- sections ---- */
section { padding: clamp(48px, 7vw, 88px) 0; }
.tint { background: var(--bg-tint); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-intro { color: var(--ink-soft); max-width: 54ch; margin-bottom: 2rem; }

/* ---- cards ---- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-top: var(--cut) solid var(--ink);
  border-radius: var(--radius); padding: 26px 24px 24px;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---- steps ---- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 22px; max-width: 640px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 18px; align-items: start; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  width: 36px; height: 36px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink);
  font-family: Outfit, sans-serif; font-weight: 700; font-size: .9rem; letter-spacing: 0;
}
.steps h3 { margin: 6px 0 .25em; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---- stats ---- */
.stats { display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-start; }
.stat { border-top: var(--cut) solid var(--ink); padding-top: 14px; min-width: 200px; }
.stat .n {
  font-family: Outfit, sans-serif; font-weight: 800; color: var(--ink);
  font-size: clamp(2.4rem, 5.6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; display: block;
}
.stat .l { color: var(--ink-soft); font-size: .95rem; display: block; margin-top: 6px; }
.stat-note { color: var(--ink-muted); font-size: .88rem; margin-top: 1.6rem; max-width: 52ch; }

/* ---- fit ---- */
.fit p { max-width: 58ch; color: var(--ink-soft); }
.fit strong { color: var(--ink); font-weight: 600; }

/* ---- contact ---- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 1.4rem; }
.contact-email { font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact-email:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---- footer ---- */
.site-foot {
  background: var(--ink); color: var(--on-ink-soft);
  padding: 44px 0 52px; font-size: .9rem;
}
.foot-in { display: flex; flex-wrap: wrap; gap: 20px 24px; justify-content: space-between; align-items: flex-end; }
.foot-brand { display: grid; gap: 14px; }
.foot-brand img { display: block; height: 20px; width: auto; }
.foot-brand span { display: block; }
.foot-links { display: flex; gap: 20px; }
.site-foot a { color: var(--on-ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--on-ink); text-decoration: underline; }
.site-foot :focus-visible { outline-color: var(--on-ink); }

/* ---- legal / utility pages ---- */
.legal { padding: clamp(40px, 6vw, 72px) 24px; max-width: 72ch; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { margin-top: 2.2rem; font-size: 1.25rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--ink); }

.notfound { padding: clamp(72px, 14vw, 160px) 24px; max-width: 48ch; }
.notfound p { color: var(--ink-soft); margin-bottom: 1.6rem; }

@media (max-width: 480px) {
  .site-head .wordmark img { height: 22px; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
