/* ============================================================
   SKIVANT — skivant.com
   A holding company for snow sports and the outdoors.

   Theme: the mountain itself. A night-sky hero with layered
   ridgelines, snow-white working sections, alpenglow as the one
   warm accent. Trail markers (circle / square / diamond) carry
   the "what we take on" section, because every skier already
   knows how to read them.

   No Skivant brand kit exists yet (see README). The wordmark
   here is typographic — Sora, letterspaced — matching the
   stand-in used in the Skivant DIN app, and the mark is a drawn
   ridgeline. Both are meant to be replaced.
   ============================================================ */

:root {
  /* night — hero, dark bands, footer */
  --night: #061320;
  --night-2: #0b2035;
  --night-3: #12304c;

  /* snow — working sections */
  --snow: #f4f8fb;
  --snow-warm: #fbfcfd;
  --white: #ffffff;

  /* ink + text */
  --ink: #0a1725;
  --muted: #5d7180;
  --muted-light: #8fa2b0;
  --on-night: rgba(255, 255, 255, .74);

  /* accents */
  --glacier: #6fc2e8;
  --glacier-deep: #2b7fb0;
  --alpenglow: #f2764b;
  --alpenglow-deep: #d85a2e;

  --hairline: #dce5ec;
  --hairline-night: rgba(255, 255, 255, .12);

  --wrap: 1200px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 10px rgba(10, 23, 37, .06);
  --shadow-md: 0 14px 38px rgba(10, 23, 37, .10);
  --shadow-lg: 0 30px 80px rgba(6, 19, 32, .32);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.024em;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--glacier-deep); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--glacier); outline-offset: 3px; border-radius: 4px; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--glacier-deep); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow-light { color: var(--glacier); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .55; }
.lede { font-size: 19.5px; line-height: 1.6; color: var(--muted); }
.on-night .lede, .lede-light { color: var(--on-night); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, background .16s ease, border-color .16s ease,
              color .16s ease, box-shadow .16s ease;
}
.btn-lg { font-size: 16.5px; padding: 15px 30px; }
.btn-block { display: flex; width: 100%; }

.btn-glow { background: var(--alpenglow); color: #fff; box-shadow: 0 8px 22px rgba(242, 118, 75, .32); }
.btn-glow:hover { background: var(--alpenglow-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 118, 75, .4); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--night-3); transform: translateY(-2px); }

.btn-snow { background: #fff; color: var(--ink); }
.btn-snow:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-line { border-color: rgba(10, 23, 37, .2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: rgba(10, 23, 37, .04); transform: translateY(-2px); }

.btn-line-light { border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
/* The bar sits in the flow above the hero, so its default colour is the
   top of the hero gradient — the seam disappears. Once you scroll it
   becomes the translucent, blurred version. */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #030c16; border-bottom: 1px solid transparent;
  transition: background .28s ease, border-color .28s ease;
}
.nav.scrolled, .nav-solid {
  background: rgba(6, 19, 32, .93);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--hairline-night);
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-word {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: .2em; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); transition: color .16s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 10px; flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  background: var(--night); border-top: 1px solid var(--hairline-night);
  padding: 18px 24px 26px; display: grid; gap: 4px;
}
.mobile-menu a { color: rgba(255, 255, 255, .86); padding: 12px 2px; font-weight: 500; }
.mobile-menu .btn { margin-top: 12px; }

/* ============================================================
   ALPINE CANVAS — shared by the hero and every dark band
   ============================================================ */
.alpine {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(111, 194, 232, .18) 0%, transparent 62%),
    radial-gradient(700px 420px at 12% 6%, rgba(242, 118, 75, .12) 0%, transparent 58%),
    linear-gradient(180deg, #030c16 0%, var(--night) 46%, var(--night-2) 100%);
}
.alpine > .wrap, .alpine > .conditions { position: relative; z-index: 3; }

/* stars */
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #fff; opacity: .4; animation: twinkle 5s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .8; } }

/* ridgelines */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; z-index: 1; pointer-events: none; }
.ridge-far { opacity: .3; }
.ridge-mid { opacity: .6; }
.ridge-near { opacity: 1; }

/* snowfall */
.snow { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.snow i {
  position: absolute; top: -14px; border-radius: 50%; background: #fff;
  opacity: 0; animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translate3d(0, -20px, 0); opacity: 0; }
  12%  { opacity: .7; }
  88%  { opacity: .45; }
  100% { transform: translate3d(26px, 100vh, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stars i { animation: none; }
  .snow { display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 92px 0 0; }
.hero-inner { max-width: 840px; padding-bottom: 128px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); margin: 22px 0 24px; letter-spacing: -.03em; }
.hero h1 .glacier {
  background: linear-gradient(100deg, var(--glacier) 10%, #d4edfb 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { max-width: 650px; font-size: clamp(18px, 2.1vw, 21px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* conditions strip — the facts, plainly */
.conditions {
  border-top: 1px solid var(--hairline-night);
  background: rgba(3, 12, 22, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.conditions-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.conditions-grid > div { padding: 26px 26px 28px; border-left: 1px solid var(--hairline-night); }
.conditions-grid > div:first-child { border-left: 0; padding-left: 0; }
.cond-k {
  font-size: 11.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--glacier); margin-bottom: 8px;
}
.cond-v { font-family: var(--display); font-weight: 600; font-size: 19px; color: #fff; letter-spacing: -.01em; }
.cond-n { font-size: 14px; color: rgba(255, 255, 255, .55); margin-top: 4px; }

/* ============================================================
   BANDS + SECTION HEADS
   ============================================================ */
.band { padding: 104px 0; }
.band-snow { background: var(--snow); }
.band-white { background: var(--white); }
.band-warm { background: var(--snow-warm); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.band-tight { padding: 76px 0; }
.band-contour {
  background-color: var(--snow-warm);
  background-image: repeating-radial-gradient(circle at 84% 26%,
    rgba(43, 127, 176, .07) 0 1px, transparent 1px 44px);
}

.section-head { max-width: 730px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 46px); margin: 18px 0; }
.section-head p { font-size: 18.5px; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; }
.on-night .section-head p { color: var(--on-night); }
.on-night h2, .on-night h3 { color: #fff; }

/* ============================================================
   CARDS
   ============================================================ */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdde7; }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(43, 127, 176, .1); color: var(--glacier-deep); margin-bottom: 20px;
}
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16.5px; }

/* ============================================================
   RUNS — trail-marker tiers
   ============================================================ */
.runs { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.run {
  border: 1px solid var(--hairline-night); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04); padding: 30px 28px 32px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.run:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.marker { width: 32px; height: 32px; display: block; margin-bottom: 20px; }
.marker-green { border-radius: 50%; background: #2e9e5b; }
.marker-blue  { background: #2b7fb0; }
.marker-black { background: #0d1a26; border: 2px solid rgba(255, 255, 255, .55); transform: rotate(45deg); width: 27px; height: 27px; margin-left: 3px; }
.run .run-k {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--glacier); margin-bottom: 12px; display: block;
}
.run h3 { font-size: 20px; margin-bottom: 10px; }
.run p { color: var(--on-night); font-size: 16.5px; }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.sector {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 20px 22px; transition: border-color .18s ease, transform .18s ease;
}
.sector:hover { border-color: var(--glacier); transform: translateY(-2px); }
.sector svg { flex: 0 0 auto; color: var(--glacier-deep); margin-top: 2px; }
.sector strong { display: block; font-family: var(--display); font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; }
.sector span { font-size: 15px; color: var(--muted); }
.sector-lead { border-color: rgba(43, 127, 176, .4); background: rgba(43, 127, 176, .05); }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: linear-gradient(135deg, var(--night-2) 0%, var(--night) 58%, #1d1510 100%); color: #fff; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 3; padding: 92px 0; text-align: center; }
.cta h2 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 20px; }
.cta p { color: var(--on-night); font-size: 19px; max-width: 630px; margin: 0 auto 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   PAGE HEADS + PROSE
   ============================================================ */
.page-head { padding: 58px 0 74px; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 56px); margin: 20px 0 18px; }
.page-head p { color: var(--on-night); font-size: 18.5px; max-width: 680px; }

.prose { max-width: 760px; margin: 0 auto; padding: 72px 0 96px; }
.prose h2 { font-size: 26px; margin: 46px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: #2f4354; font-size: 17px; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--glacier-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-size: 14.5px; color: var(--muted-light); }
.note {
  background: #fff; border: 1px solid var(--hairline); border-left: 3px solid var(--glacier);
  border-radius: var(--r-sm); padding: 20px 22px; margin: 24px 0;
}
.note p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 28px; }
.contact-item { display: flex; gap: 16px; }
.contact-item svg { color: var(--glacier-deep); flex: 0 0 auto; margin-top: 3px; }
.contact-item h3 { font-size: 17px; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 16.5px; }
.contact-item a.big { font-size: 21px; font-family: var(--display); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.contact-item a:hover { color: var(--glacier-deep); }

.pitch-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-md); }
.pitch-card h3 { font-size: 21px; margin-bottom: 10px; }
.pitch-card p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.pitch-card ol { list-style: none; counter-reset: p; display: grid; gap: 14px; margin-bottom: 24px; }
.pitch-card ol li { counter-increment: p; position: relative; padding-left: 34px; font-size: 16px; color: #2f4354; }
.pitch-card ol li::before {
  content: counter(p); position: absolute; left: 0; top: 2px;
  width: 23px; height: 23px; border-radius: 50%; background: rgba(43, 127, 176, .12);
  color: var(--glacier-deep); font-size: 12.5px; font-weight: 700; display: grid; place-items: center;
  font-family: var(--display);
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--night); color: rgba(255, 255, 255, .7); padding: 72px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.foot-brand { max-width: 340px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-tag { font-size: 16px; color: rgba(255, 255, 255, .62); margin-bottom: 20px; }
.foot-contact { font-style: normal; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.foot-contact strong { color: #fff; font-weight: 600; letter-spacing: .04em; }
.foot-contact a:hover { color: var(--glacier); }
.foot h4 { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-family: var(--body); font-weight: 600; }
.foot-links { display: contents; }
.foot-links > div { display: grid; gap: 11px; align-content: start; }
.foot-links a { font-size: 15px; color: rgba(255, 255, 255, .64); }
.foot-links a:hover { color: #fff; }
.foot-base {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--hairline-night);
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; align-items: center;
}
.foot-base p { font-size: 14px; color: rgba(255, 255, 255, .5); }
.foot-disclaimer { font-size: 13px; color: rgba(255, 255, 255, .42); max-width: 780px; margin-top: 16px; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .cards, .runs, .sectors { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .conditions-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero { padding-top: 54px; }
  .hero-inner { padding-bottom: 92px; }
  .band { padding: 74px 0; }
  .section-head { margin-bottom: 38px; }
  .cards, .cards-2, .runs, .sectors { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr; }
  .conditions-grid > div { border-left: 0; padding: 20px 0; border-top: 1px solid var(--hairline-night); }
  .conditions-grid > div:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .foot-brand { grid-column: 1 / -1; }
  .prose { padding: 52px 0 72px; }
  .cta-inner { padding: 72px 0; }
}

/* ============================================================
   MESSAGE FORM (message.html, thanks.html)
   ============================================================ */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-md); display: grid; gap: 22px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted-light); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16.5px; color: var(--ink);
  background: var(--snow-warm); border: 1.5px solid var(--hairline); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #c3d4e0; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--glacier-deep);
  box-shadow: 0 0 0 3.5px rgba(43, 127, 176, .18);
}
.hint { font-size: 14px; color: var(--muted); }
.form-note { font-size: 14px; color: var(--muted); line-height: 1.6; }
.form-note a { color: var(--glacier-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-error {
  background: #fdf0ec; border: 1px solid #f2c4b5; border-left: 3px solid var(--alpenglow-deep);
  border-radius: var(--r-sm); padding: 16px 20px; margin-bottom: 22px; color: #7a2c14; font-size: 16px;
}
.btn:disabled { opacity: .65; cursor: default; transform: none; box-shadow: none; }

/* spam trap: off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 760px) {
  .form-card { padding: 24px 20px; }
}
