/* snowlightlabs.com */
@font-face {
  font-family: "Valley Sans";
  src: url("/fonts/ValleySans.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #16202F; --raised: #1D2939; --raised-glass: rgba(29, 41, 57, 0.84);
  --text: #F6F0E6; --muted: #A9B0BE;
  --line: rgba(255, 245, 230, 0.11); --glow: #F2B66D; --glow-ink: #16202F;
  --glow-soft: rgba(242, 182, 109, 0.14); --flake: #F6F0E6;
  --sky-1: #0E1724; --sky-2: #19283C; --sky-3: #273345;
  --alpen-1: #F2B66D; --alpen-2: #E08F4F;
  --ridge-1: #213249; --ridge-2: #1A273A; --ridge-3: #16202F;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F6F0E6; --raised: #FFFBF5; --raised-glass: rgba(255, 251, 245, 0.86);
    --text: #16202F; --muted: #5E6779;
    --line: rgba(22, 32, 47, 0.11); --glow: #D98A2B; --glow-ink: #FFFBF5;
    --glow-soft: rgba(217, 138, 43, 0.13); --flake: #16202F;
    --sky-1: #DFD7C8; --sky-2: #EEE5D6; --sky-3: #F6E9D4;
    --alpen-1: #F2B66D; --alpen-2: #E39A45;
    --ridge-1: #D5CBB9; --ridge-2: #E4DAC9; --ridge-3: #F6F0E6;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  position: relative; overflow-x: hidden;
  margin: 0; background: var(--bg); color: var(--text);
  font: 18px/1.6 "Valley Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--glow); text-underline-offset: 3px; }
a:hover { color: var(--glow); }
.wrap { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 24px; }
main, footer { position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--raised); padding: 6px 10px; border-radius: 6px; z-index: 10; }

/* Dusk alpine horizon backdrop */
.horizon {
  position: absolute; inset: 0 0 auto 0; height: 560px;
  pointer-events: none; overflow: hidden; z-index: 0;
}
.horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.horizon::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: 0.14;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.horizon .sky-1 { stop-color: var(--sky-1); }
.horizon .sky-2 { stop-color: var(--sky-2); }
.horizon .sky-3 { stop-color: var(--sky-3); }
.horizon .sky-end { stop-color: var(--bg); }
.horizon .alpen-1 { stop-color: var(--alpen-1); stop-opacity: 0.36; }
.horizon .alpen-2 { stop-color: var(--alpen-2); stop-opacity: 0.14; }
.horizon .alpen-end { stop-color: var(--bg); stop-opacity: 0; }
.horizon .mist-0 { stop-color: var(--bg); stop-opacity: 0; }
.horizon .mist-mid { stop-color: var(--bg); stop-opacity: 0.88; }
.horizon .mist-1 { stop-color: var(--bg); stop-opacity: 1; }
.horizon .horizon-stars { fill: #F6F0E6; opacity: 0.85; }
.horizon .ridge-1 { fill: var(--ridge-1); fill-opacity: 0.72; }
.horizon .ridge-2 { fill: var(--ridge-2); fill-opacity: 0.88; }
.horizon .ridge-3 { fill: var(--ridge-3); }
.horizon .ridge-rim { stroke: var(--glow); stroke-opacity: 0.35; }
@media (prefers-color-scheme: light) {
  .horizon .alpen-1 { stop-opacity: 0.45; }
  .horizon .alpen-2 { stop-opacity: 0.16; }
  .horizon .horizon-stars { opacity: 0; }
  .horizon .ridge-rim { stroke-opacity: 0.32; }
}

/* The wordmark: letters in the text color, the light in --glow. */
.mark .ink { fill: var(--text); }
.mark .flake { fill: var(--flake); }
.mark .glow { fill: var(--glow); }
.mark .labs { fill: var(--muted); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 16px; }
.home { display: flex; align-items: center; text-decoration: none; transition: opacity 0.15s ease; }
.home:hover { opacity: 0.88; }
.top .mark.large { width: 192px; height: auto; display: block; }
.top .symbol { width: 32px; height: 32px; display: block; }
.top nav { display: flex; align-items: center; gap: 24px; font-size: 15px; padding-top: 6px; }
.top nav a { color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
.top nav a:hover { color: var(--text); }
.top nav a.nav-cta { color: var(--glow); font-weight: 500; }

/* Hero */
.hero { padding-top: 40px; padding-bottom: 52px; }
.hero h1 { font-size: 34px; line-height: 1.22; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 14px; max-width: 22em; }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; max-width: 38em; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin: 0 0 24px; }

/* Apps grid */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app {
  display: flex; flex-direction: column;
  background: var(--raised-glass); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; text-decoration: none; color: inherit;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.app:hover { color: inherit; border-color: var(--glow); transform: translateY(-2px); }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.app img { width: 64px; height: 64px; display: block; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25)); }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--line); color: var(--muted);
}
.badge-soon { background: var(--glow-soft); border-color: transparent; color: var(--glow); }
.app h3 { font-size: 24px; font-weight: 500; margin: 0 0 2px; line-height: 1.2; }
.platforms { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.app p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.55; flex: 1; }
.app-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px;
}
.app-foot .cost { color: var(--muted); }
.app-foot .where { color: var(--text); font-weight: 500; white-space: nowrap; }
.app-foot .where span { color: var(--glow); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principle h3 { font-size: 17px; font-weight: 500; color: var(--glow); margin: 0 0 8px; }
.principle p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Consulting & Client Work */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service {
  background: var(--raised); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.service h3 { font-size: 19px; font-weight: 500; margin: 0 0 8px; color: var(--text); }
.service p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Contact */
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact h2 { margin-bottom: 10px; }
.contact p { margin: 0; font-size: 20px; color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px;
  background: var(--glow); color: var(--glow-ink);
  font-weight: 500; font-size: 16px; text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { color: var(--glow-ink); opacity: 0.92; transform: translateY(-1px); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

@media (max-width: 760px) {
  .top .mark.large { width: 156px; }
  .hero { padding-top: 28px; padding-bottom: 40px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .apps, .principles, .services { grid-template-columns: 1fr; gap: 16px; }
  section { padding: 44px 0; }
  .contact p { font-size: 18px; }
}
@media (max-width: 440px) {
  .top { gap: 12px; }
  .top .mark.large { width: 136px; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav a.hide-small { display: none; }
}
