/* tryopen.computer: the ascent. Fog at the foot of the page, thin dark air at the summit. */

@font-face { font-family: 'Geist'; src: url('../fonts/Geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Marcellus'; src: url('../fonts/Marcellus.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'GreekCaps'; src: url('../fonts/GreekCaps.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0370-03FF, U+00B7, U+02B9; }

:root {
  --snow: #f4f5f6;
  --fog: #e6e8ea;
  --mist: #c9cdd1;
  --stone: #586069;
  --slate: #3c4148;
  --ink: #0c0e11;
  --night: #070a12;
  --ice: #a9d6ff;
  --glacier: #6fb7e9;
  --lilac: #c8b8ff;
  --alpen: #ffb38a;
  --rose: #f4a3b4;
  --ok: #3fae7a;
  --warn: #d79a3a;
  --bad: #d4605a;

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --carved: 'GreekCaps', 'Marcellus', 'Times New Roman', serif;

  --dawn: linear-gradient(100deg, var(--ice), var(--lilac) 48%, var(--alpen));
  --r: 18px;
  --r-lg: 26px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --alt: 0;            /* 0 at the foot of the page, 1 at the summit (set by js/site.js) */
  --shift: 0;          /* slow hue drift for the dawn light, 0..1 */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #e7e9eb;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(169, 214, 255, .55); color: var(--ink); }
:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----------------------------------------------------------------------------------------------- the sky */
/* One fixed layer behind everything. Its colour follows the climb; stars come out near the summit. */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 120%, rgba(255, 179, 138, calc(.10 * var(--alt))), transparent 60%),
    linear-gradient(180deg,
      color-mix(in oklab, #eceef0, #0d1424 calc(var(--sky, 0) * 100%)),
      color-mix(in oklab, #dde1e4, #070a12 calc(var(--sky, 0) * 100%)));
}
.sky::after {
  content: ''; position: absolute; inset: 0;
  opacity: clamp(0, calc((var(--alt) - .55) * 2.4), 1);
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 71% 24%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 71%, #dfe9ff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 40%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 22% 84%, #ffe9dc 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 46%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 8%, #fff 50%, transparent 51%);
  background-size: 420px 420px;
}

/* ------------------------------------------------------------------------------------------------ layout */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
section { position: relative; }

/* --------------------------------------------------------------------------------------------- type */
.carved {
  font-family: var(--carved);
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.3;
}
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--slate); }
.kicker .num { font-family: var(--carved); letter-spacing: .08em; font-size: 15px; color: var(--ink); }
.kicker .rule { width: 34px; height: 1px; background: currentColor; opacity: .5; }
.dark .kicker { color: rgba(244, 245, 246, .66); }
.dark .kicker .num { color: var(--snow); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .98; }
h1 { font-size: clamp(42px, 7.2vw, 108px); }
h2 { font-size: clamp(32px, 4.8vw, 66px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--slate); max-width: 38em; }
.dark .lead { color: rgba(244, 245, 246, .72); }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; }
.dawn-text {
  background: linear-gradient(100deg, #6c8fb3, #8a78c9 45%, #c97a52);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dark .dawn-text { background-image: var(--dawn); }

/* -------------------------------------------------------------------------------------------- glass */
.glass {
  position: relative;
  border-radius: var(--r);
  background: linear-gradient(140deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .22) 55%, rgba(255, 255, 255, .34));
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(12, 14, 17, .06),
    0 1px 2px rgba(12, 14, 17, .06),
    0 24px 60px -28px rgba(20, 30, 44, .45);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  overflow: hidden;
  isolation: isolate;
}
.glass::before { /* the travelling sheen */
  content: ''; position: absolute; inset: -40% -60%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .55) 49%, rgba(255, 255, 255, .0) 56%);
  transform: translateX(-60%);
  animation: sheen 9s cubic-bezier(.6, 0, .2, 1) infinite;
  animation-delay: var(--sheen-delay, 0s);
}
@keyframes sheen { 0%, 62% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.dark .glass, .glass.night {
  background: linear-gradient(140deg, rgba(40, 50, 66, .58), rgba(14, 18, 28, .42) 60%, rgba(30, 38, 52, .5));
  border-color: rgba(255, 255, 255, .13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -1px 0 rgba(0, 0, 0, .3),
    0 30px 80px -30px rgba(0, 0, 0, .7);
  color: var(--snow);
}
.dark .glass::before, .glass.night::before {
  background: linear-gradient(105deg, transparent 42%, rgba(200, 220, 255, .12) 49%, transparent 56%);
}
/* Reeded glass: the fluting of a Doric column, pressed into a pane. */
.fluted {
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .34) 0 1px,
      rgba(255, 255, 255, .0) 1px 7px,
      rgba(12, 14, 17, .05) 7px 8px,
      rgba(255, 255, 255, .12) 8px 13px),
    linear-gradient(140deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .22));
}
.dark .fluted, .night.fluted {
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .09) 0 1px,
      rgba(255, 255, 255, 0) 1px 7px,
      rgba(0, 0, 0, .18) 7px 8px,
      rgba(255, 255, 255, .03) 8px 13px),
    linear-gradient(140deg, rgba(40, 50, 66, .6), rgba(14, 18, 28, .44));
}

/* ------------------------------------------------------------------------------------------- buttons */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 560; font-size: 15px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s;
  overflow: hidden; isolation: isolate;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-dark {
  color: var(--snow);
  background: linear-gradient(180deg, #2a2f37, #0d1014);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -2px 6px rgba(0, 0, 0, .4), 0 12px 28px -12px rgba(12, 14, 17, .7);
}
.btn-dark::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from calc(var(--shift) * 360deg), var(--ice), var(--lilac), var(--alpen), var(--ice));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .85;
}
.btn-dark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 34px -12px rgba(12, 14, 17, .75), 0 0 0 4px rgba(169, 214, 255, .25); }
.btn-glass {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px -14px rgba(20, 30, 44, .5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .6)); }
.dark .btn-glass { color: var(--snow); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.dark .btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }

/* -------------------------------------------------------------------------------------------- header */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s, box-shadow .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.top.scrolled {
  background: color-mix(in oklab, rgba(236, 238, 240, .62), rgba(10, 14, 22, .62) calc(var(--sky, 0) * 100%));
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.top.on-dark { color: var(--snow); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .22)); }
.brand b { font-family: 'Marcellus', serif; font-weight: 400; font-size: 19px; letter-spacing: .2em; }
.brand small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; opacity: .62; margin-top: -2px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px; opacity: .78; transition: opacity .2s, background .2s; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .35); }
.top.on-dark .nav a:hover { background: rgba(255, 255, 255, .08); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; transition: background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .35); }
.top.on-dark .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 520px) { .brand small { display: none; } .top .wrap { gap: 8px; } .top .btn-sm { padding: 0 13px; } }

/* -------------------------------------------------------------------------------------------- altimeter */
.altimeter {
  position: fixed; right: 18px; top: 50%; z-index: 40; transform: translateY(-50%);
  height: min(56vh, 520px); width: 54px; pointer-events: none;
  color: color-mix(in oklab, var(--slate), var(--snow) calc(var(--sky, 0) * 100%));
  display: flex; flex-direction: column; align-items: flex-end;
}
.altimeter .scale { position: relative; flex: 1; width: 100%; }
.altimeter .scale::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .35; }
.altimeter .tick { position: absolute; right: 0; height: 1px; width: 8px; background: currentColor; opacity: .45; }
.altimeter .tick.major { width: 14px; opacity: .8; }
.altimeter .tick span { position: absolute; right: 20px; top: -7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .02em; white-space: nowrap; opacity: .9; }
.altimeter .marker {
  position: absolute; right: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 3px rgba(169, 214, 255, .5);
  top: calc((1 - var(--mark, 0)) * 100%); transform: translateY(-50%);
}
.dark-alt .altimeter .marker { background: var(--snow); }
.altimeter .read { margin-top: 12px; font-family: var(--mono); font-size: 11px; text-align: right; white-space: nowrap; }
.altimeter .read b { display: block; font-size: 15px; font-weight: 560; letter-spacing: -.02em; }
.altimeter .greek { position: absolute; left: -2px; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--carved); letter-spacing: .5em; font-size: 10px; opacity: .55; }
@media (max-width: 1100px) { .altimeter { display: none; } }
.altibar { /* phones: a thin altitude line under the header */
  display: none; position: fixed; left: 0; right: 0; top: 68px; z-index: 49; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--ice), var(--lilac), var(--alpen)); transform-origin: left; transform: scaleX(var(--alt));
}
@media (max-width: 1100px) { .altibar { display: block; } }

/* ----------------------------------------------------------------------------------------------- hero */
.hero { min-height: 100svh; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 120px; color: var(--ink); }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero-bg .peak {
  position: absolute; inset: -3% -2%;
  background: url('../img/everest-tiny.webp') center / cover no-repeat;
  transform: scale(calc(1.04 + var(--hero-p, 0) * .06)) translateY(calc(var(--hero-p, 0) * 3%));
  transform-origin: 50% 40%;
}
.hero-bg .peak img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg .peak img.ready { opacity: 1; }
.hero-bg .wash { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(236, 238, 240, .9) 0%, rgba(236, 238, 240, .62) 30%, rgba(236, 238, 240, 0) 58%),
  linear-gradient(0deg, #e7e9eb 0%, rgba(231, 233, 235, 0) 26%),
  linear-gradient(180deg, rgba(236, 238, 240, .5) 0%, rgba(236, 238, 240, 0) 22%); }
.fog { position: absolute; left: 0; right: 0; height: 60%; background: url('../img/fog.webp') 0 0 / 1280px 640px repeat-x; opacity: .55; pointer-events: none; will-change: background-position; }
.fog.f1 { bottom: 4%; animation: drift 90s linear infinite; }
.fog.f2 { bottom: 22%; opacity: .32; background-size: 1800px 900px; animation: drift 140s linear infinite reverse; filter: blur(2px); }
.fog.f3 { bottom: -12%; opacity: .8; background-size: 1100px 550px; animation: drift 70s linear infinite; }
@keyframes drift { to { background-position: 1280px 0; } }
.hero canvas.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero canvas.cables { position: absolute; left: 0; top: 0; width: 100%; height: 118%; z-index: 3; pointer-events: none; }
.hero .wrap { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.hero-copy h1 { margin: 22px 0 22px; }
.hero-copy h1 em { font-style: normal; display: block; }
.hero-copy .lead { color: #2c3138; max-width: 31em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: var(--slate); }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts span::before { content: ''; width: 5px; height: 5px; border-radius: 1px; background: var(--dawn); transform: rotate(45deg); }

/* the pull request that floats in the hero */
.hero-pr { justify-self: end; width: min(100%, 410px); padding: 0; transform: rotate(-1.2deg); --sheen-delay: 1.5s; }
.pr-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid rgba(12, 14, 17, .07); }
.pr-head .state { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #4fbf8a, #2f9a66); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.pr-head .state.merged { background: linear-gradient(180deg, #9a86e8, #6f58c9); }
.pr-head .state svg { width: 12px; height: 12px; }
.pr-head .id { font-family: var(--mono); font-size: 12px; color: var(--stone); margin-left: auto; }
.pr-title { padding: 12px 18px 0; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.pr-by { padding: 4px 18px 0; font-size: 12.5px; color: var(--stone); }
.pr-by b { color: var(--slate); font-weight: 560; }
.diff { margin: 14px 18px 4px; border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: 13px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(12, 14, 17, .06); }
.diff div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; }
.diff .minus { background: rgba(212, 96, 90, .09); color: #9b3a35; }
.diff .plus { background: rgba(63, 174, 122, .1); color: #1f7a50; }
.diff .meta { color: var(--stone); font-size: 12px; }
.checks { list-style: none; margin: 10px 0 0; padding: 4px 18px 6px; display: grid; gap: 2px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 6px 0; }
.checks li .dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(12, 14, 17, .07); transition: background .3s, transform .3s; }
.checks li .dot svg { width: 11px; height: 11px; opacity: 0; transition: opacity .2s; }
.checks li.pass .dot { background: linear-gradient(180deg, #55c690, #2f9a66); transform: scale(1.04); }
.checks li.pass .dot svg { opacity: 1; color: #fff; }
.checks li.run .dot { background: conic-gradient(var(--glacier) 0 30%, rgba(12, 14, 17, .08) 30%); animation: spin .8s linear infinite; }
.checks li.fail .dot { background: linear-gradient(180deg, #e27d76, #c4504a); }
.checks li small { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--stone); }
@keyframes spin { to { transform: rotate(360deg); } }
.pr-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px 18px; }
.pr-foot .who { font-size: 12.5px; color: var(--stone); }
.pr-foot .btn { margin-left: auto; }
.merge-btn { background: linear-gradient(180deg, #4fbf8a, #2f9a66) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -10px rgba(47, 154, 102, .7) !important; }
.merge-btn[disabled] { filter: grayscale(.8); opacity: .55; cursor: default; }

@media (max-width: 960px) {
  .hero { padding: 96px 0 90px; align-items: flex-start; }
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .hero-pr { justify-self: start; transform: none; }
  .hero-bg .wash { background:
    linear-gradient(180deg, rgba(236, 238, 240, .82) 0%, rgba(236, 238, 240, .5) 46%, rgba(236, 238, 240, .2) 70%, #e7e9eb 100%); }
}

/* ------------------------------------------------------------------------------------------- camps */
.camp { padding: clamp(96px, 13vw, 170px) 0; }
.camp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.camp-head h2 { margin-top: 18px; }
.camp-head .lead { justify-self: end; }
@media (max-width: 900px) { .camp-head { grid-template-columns: 1fr; } .camp-head .lead { justify-self: start; } }
.dark { color: var(--snow); }

/* meander: the Greek key, as a hairline divider */
.meander {
  height: 14px; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13.5h3.5v-10h10v7h-6v-3.5h2.5' fill='none' stroke='%233c4148' stroke-width='1'/%3E%3Cpath d='M14 13.5h3.5v-10h10v7h-6v-3.5h2.5' fill='none' stroke='%233c4148' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 28px 14px repeat-x;
}
.dark .meander { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13.5h3.5v-10h10v7h-6v-3.5h2.5' fill='none' stroke='%23e6e8ea' stroke-width='1'/%3E%3Cpath d='M14 13.5h3.5v-10h10v7h-6v-3.5h2.5' fill='none' stroke='%23e6e8ea' stroke-width='1'/%3E%3C/svg%3E"); opacity: .28; }

/* block rule: a row of tiles that drift through the dawn colours */
.blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 3px; height: 18px; overflow: hidden; }
.blocks i { display: block; height: 18px; border-radius: 3px; background: var(--dawn); background-size: 600% 100%; opacity: .15; animation: tile 7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.37s); }
@keyframes tile { 0%, 100% { opacity: .08; background-position: 0 0; } 50% { opacity: .55; background-position: 100% 0; } }

/* Base camp: the sentence */
.statement { font-size: clamp(28px, 4.1vw, 58px); line-height: 1.46; letter-spacing: -.03em; font-weight: 520; max-width: 22em; }
.statement .chip {
  display: inline-flex; align-items: center; gap: .3em; padding: 0 .36em .02em; margin: 0 .04em; border-radius: .34em; line-height: 1.12;
  vertical-align: .05em; font-weight: 600; white-space: nowrap;
  background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .35));
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(20, 30, 44, .4);
}
.statement .chip svg { width: .72em; height: .72em; }
.statement .muted { color: var(--stone); }

/* the thread */
.thread { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .thread { grid-template-columns: 1fr; } }
.chat { padding: 10px; }
.chat .bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px 12px; font-size: 13px; color: var(--stone); border-bottom: 1px solid rgba(12, 14, 17, .06); }
.chat .bar b { color: var(--ink); font-weight: 600; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 10px; }
.msg .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(140deg, #5b6470, #2b3038); }
.msg .av img { width: 34px; height: 34px; border-radius: 50%; }
.msg .name { font-weight: 620; font-size: 14px; }
.msg .name small { font-weight: 400; color: var(--stone); margin-left: 6px; font-size: 12px; }
.msg p { margin: 3px 0 0; font-size: 15px; }
.msg .mention { color: #3b6fa4; background: rgba(111, 183, 233, .16); border-radius: 5px; padding: 0 4px; font-weight: 560; }
.msg .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg .links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; padding: 7px 11px; border-radius: 10px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(12, 14, 17, .07); }
.msg .links a i { width: 8px; height: 8px; border-radius: 50%; background: #3fae7a; }
.msg .links a i.m { background: #7c66d6; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); opacity: .4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: 1; } }
.aside-note { padding: 26px; }
.aside-note h3 { margin-bottom: 10px; }
.aside-note p { margin: 0 0 12px; color: var(--slate); font-size: 15px; }
.aside-note .src { font-size: 12.5px; color: var(--stone); }

/* Camp I: the computer's screen */
.screen-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 960px) { .screen-grid { grid-template-columns: 1fr; } }
.steer { display: grid; gap: 14px; margin-top: 30px; }
.steer div { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.steer .g { font-family: var(--carved); font-size: 17px; line-height: 1.2; }
.steer p { margin: 0; font-size: 15px; color: var(--slate); }
.steer b { color: var(--ink); font-weight: 600; }
.window { padding: 0; }
.window .titlebar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(12, 14, 17, .07); font-size: 12px; color: var(--stone); }
.window .titlebar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(12, 14, 17, .14); }
.window .titlebar span { margin-left: 10px; font-family: var(--mono); }
.window .titlebar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); color: #2f9a66; }
.window .titlebar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.panes { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 380px; }
@media (max-width: 640px) { .panes { grid-template-columns: 1fr; } }
.term { padding: 16px 16px 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #283039; background: rgba(255, 255, 255, .28); overflow: hidden; min-height: 380px; }
.term .l { white-space: pre-wrap; word-break: break-word; }
.term .c { color: var(--stone); }
.term .k { color: #5a50b8; }
.term .s { color: #2f8a5f; }
.term .n { color: #b5683a; }
.term .caret { display: inline-block; width: 7px; height: 14px; background: var(--ink); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.side { border-left: 1px solid rgba(12, 14, 17, .07); padding: 16px; display: grid; gap: 12px; align-content: start; background: rgba(255, 255, 255, .18); }
@media (max-width: 640px) { .side { border-left: 0; border-top: 1px solid rgba(12, 14, 17, .07); } }
.side h4 { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.quote-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(12, 14, 17, .05); font-size: 13px; }
.quote-row .tk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; background: linear-gradient(140deg, #5b6470, #20252c); flex: none; }
.quote-row b { font-weight: 600; }
.quote-row .px { margin-left: auto; font-family: var(--mono); font-size: 12.5px; }
.quote-row .ch { font-family: var(--mono); font-size: 11px; color: var(--stone); width: 52px; text-align: right; }
.spark { height: 64px; border-radius: 11px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(12, 14, 17, .05); padding: 6px; }
.spark svg { width: 100%; height: 100%; }

/* Camp II: the pull request plate */
.plate-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); gap: 20px; align-items: center; }
.plate { grid-column: 2; padding: 0; transform: rotate(.6deg); }
.plate .diff { font-size: 14px; }
.plate .pr-title { font-size: 21px; }
.notes { display: grid; gap: 22px; }
.notes.l { grid-column: 1; text-align: right; }
.notes.r { grid-column: 3; }
.note { position: relative; font-size: 14px; color: var(--slate); line-height: 1.5; }
.note b { display: block; color: var(--ink); font-weight: 620; font-size: 15px; margin-bottom: 2px; }
.note .g { font-family: var(--carved); font-size: 13px; margin-right: 6px; color: var(--stone); }
.notes.l .note::after, .notes.r .note::after { content: ''; position: absolute; top: 11px; width: 26px; height: 1px; background: var(--stone); opacity: .5; }
.notes.l .note::after { right: -36px; }
.notes.r .note::after { left: -36px; }
@media (max-width: 1060px) {
  .plate-wrap { grid-template-columns: 1fr; }
  .plate { grid-column: 1; order: -1; transform: none; max-width: 560px; }
  .notes.l, .notes.r { grid-column: 1; text-align: left; grid-template-columns: 1fr 1fr; }
  .notes .note::after { display: none; }
}
@media (max-width: 560px) { .notes.l, .notes.r { grid-template-columns: 1fr; } }

/* Camp III: the temple of four checks */
.temple { position: relative; max-width: 1080px; margin: 0 auto; }
.pediment { position: relative; height: clamp(60px, 9vw, 110px); margin: 0 -2%; }
.pediment svg { width: 100%; height: 100%; }
.architrave { padding: 18px 26px; border-radius: 10px 10px 4px 4px; text-align: center; margin: 0 -1%; }
.architrave .carved { font-size: clamp(11px, 1.2vw, 14px); letter-spacing: .38em; }
.architrave p { margin: 6px 0 0; font-size: clamp(16px, 1.6vw, 20px); font-weight: 560; letter-spacing: -.02em; }
.colonnade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 34px); margin-top: 14px; }
.column { position: relative; display: flex; flex-direction: column; min-height: 420px; }
.column .capital { height: 16px; margin: 0 -10px; border-radius: 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .16); }
.column .echinus { height: 10px; margin: 0 -4px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); border-top: 0; }
.column .shaft { flex: 1; margin: 0 6px; padding: 26px 18px 22px; border-radius: 6px; display: flex; flex-direction: column; gap: 12px; }
.column .shaft .gk { font-family: var(--carved); font-size: 30px; line-height: 1; opacity: .9; }
.column .shaft h3 { font-size: 21px; }
.column .shaft p { margin: 0; font-size: 14px; color: rgba(244, 245, 246, .72); }
.column .shaft .rule { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: rgba(244, 245, 246, .55); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 12px; }
.column .base { height: 12px; margin: 0 -6px; border-radius: 3px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); }
.column .lamp { position: absolute; left: 50%; top: 32px; width: 60%; height: 2px; transform: translateX(-50%); background: var(--dawn); filter: blur(.5px); opacity: .0; transition: opacity .6s; }
.column.lit .lamp { opacity: .9; }
.stylobate { height: 16px; margin-top: 10px; border-radius: 4px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .12); }
.stylobate + .stylobate { margin: 4px -1.5% 0; }
@media (max-width: 900px) { .colonnade { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } .column { min-height: 330px; } }
@media (max-width: 520px) { .colonnade { grid-template-columns: 1fr; } .column { min-height: 0; } .pediment { display: none; } }

/* Camp IV: solo or team */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.seg button { border: 0; background: none; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: rgba(244, 245, 246, .7); transition: background .25s, color .25s; }
.seg button[aria-pressed='true'] { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.reviewers { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; }
.rv { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: transform .3s, background .3s, border-color .3s; }
.rv.ok { background: linear-gradient(180deg, rgba(79, 191, 138, .35), rgba(47, 154, 102, .25)); border-color: rgba(85, 198, 144, .7); transform: translateY(-3px); }
.rv.ok::after { content: ''; position: absolute; right: -5px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: #3fae7a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rv small { position: absolute; bottom: -20px; font-size: 11px; font-weight: 400; opacity: .6; white-space: nowrap; }
.meter { margin-top: 30px; }
.meter .row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(244, 245, 246, .7); margin-bottom: 8px; }
.meter .row b { color: var(--snow); font-family: var(--mono); font-weight: 520; }
.meter input[type=range] { width: 100%; accent-color: #c8b8ff; }
.auto-log { margin-top: 18px; display: grid; gap: 8px; font-family: var(--mono); font-size: 12.5px; }
.auto-log div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.auto-log .tag { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.auto-log .tag.a { background: rgba(124, 102, 214, .3); color: #d8cffc; }
.auto-log .tag.w { background: rgba(215, 154, 58, .22); color: #f3d3a0; }
.panel { padding: clamp(22px, 2.6vw, 32px); }
.panel h3 { margin: 6px 0 10px; }
.panel > p { margin: 0; color: rgba(244, 245, 246, .7); font-size: 15px; }

/* Summit */
.summit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) { .summit-grid { grid-template-columns: 1fr; } }
.holdings { display: grid; gap: 8px; margin-top: 16px; }
.hold { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.hold .tk { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: rgba(255, 255, 255, .1); }
.hold b { font-weight: 600; }
.hold small { display: block; color: rgba(244, 245, 246, .55); font-size: 12px; }
.hold .v { text-align: right; font-family: var(--mono); font-size: 13px; }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 18px; display: flex; }
.bar i { display: block; height: 100%; }
.log { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; display: grid; gap: 0; }
.log div { display: grid; grid-template-columns: 16px 64px 1fr; gap: 12px; align-items: start; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.log .node { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; background: #7c66d6; box-shadow: 0 0 0 3px rgba(124, 102, 214, .2); }
.log .node.o { background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); box-shadow: none; }
.log .h { color: rgba(244, 245, 246, .5); }
.ropes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 900px) { .ropes { grid-template-columns: 1fr; } }
.rope { padding: 20px 22px; }
.rope .carved { opacity: .6; font-size: 11px; }
.rope p { margin: 8px 0 0; font-size: 14.5px; color: rgba(244, 245, 246, .78); }
.rope p b { color: var(--snow); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 580; font-size: 16.5px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s; opacity: .7; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { margin: 0 0 18px; color: rgba(244, 245, 246, .74); font-size: 15px; max-width: 46em; }

/* Final call */
.final { text-align: center; padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 9vw, 120px); }
@keyframes float { 50% { transform: translateY(-10px); } }
.final h2 { max-width: 13em; margin: 0 auto; }
.final .lead { margin: 20px auto 0; }
.final .cta-row { justify-content: center; }

/* Footer */
.foot { padding: 40px 0 46px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(244, 245, 246, .62); font-size: 13.5px; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 26px; align-items: start; }
.foot .brand b { color: var(--snow); }
.foot p { margin: 12px 0 0; max-width: 34em; font-size: 12.5px; line-height: 1.6; }
.foot nav { display: grid; gap: 8px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--snow); }
.foot .copy { text-align: right; white-space: nowrap; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } .foot .copy { text-align: left; } }

/* reveal on scroll */
.rv-up { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv-up { opacity: 1; transform: none; transition: none; }
  .glass::before, .fog, .blocks i { animation: none !important; }
}

/* ------------------------------------------------------------------------------------------ companion */
.companion { position: fixed; right: 20px; bottom: 20px; z-index: 80; }
.companion .orb-btn {
  position: relative; width: 112px; height: 112px; border: 0; padding: 0; background: none; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.companion .orb-btn canvas, .companion .orb-btn img { position: absolute; inset: 0; width: 100%; height: 100%; }
.companion .orb-btn img { padding: 16px; transition: opacity .5s; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .28)); }
.companion .orb-btn.live img { opacity: 0; }
.companion .hint {
  position: absolute; right: 100px; bottom: 64px; width: max-content; max-width: 220px; padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  font-size: 13.5px; line-height: 1.35; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; pointer-events: none;
}
.companion .hint.show { opacity: 1; transform: none; }
.drawer {
  position: fixed; right: 20px; bottom: 140px; z-index: 81; width: min(400px, calc(100vw - 32px)); height: min(560px, calc(100vh - 190px));
  display: flex; flex-direction: column; padding: 0; border-radius: 22px;
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; pointer-events: none;
  transition: opacity .3s, transform .35s cubic-bezier(.2, .8, .2, 1);
  color: var(--ink);
}
.drawer.open { opacity: 1; transform: none; pointer-events: auto; }
.drawer .dh { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(12, 14, 17, .08); }
.drawer .dh img { width: 30px; height: 30px; }
.drawer .dh b { font-weight: 620; font-size: 15px; }
.drawer .dh small { display: block; font-size: 11.5px; color: var(--stone); font-family: var(--mono); }
.drawer .dh button { margin-left: auto; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(12, 14, 17, .06); display: grid; place-items: center; }
.drawer .dh button svg { width: 14px; height: 14px; }
.drawer .log-c { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 15px; font-size: 14.5px; line-height: 1.45; }
.bubble.me { align-self: flex-end; background: linear-gradient(180deg, #2a2f37, #12161b); color: var(--snow); border-bottom-right-radius: 5px; }
.bubble.bot { align-self: flex-start; background: rgba(255, 255, 255, .72); border: 1px solid rgba(12, 14, 17, .06); border-bottom-left-radius: 5px; }
.bubble.bot p { margin: 0 0 6px; } .bubble.bot p:last-child { margin: 0; }
.bubble .mini-pr { margin-top: 8px; padding: 10px; border-radius: 11px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(12, 14, 17, .08); font-size: 13px; }
.bubble .mini-pr .diff { margin: 8px 0 0; font-size: 12px; }
.bubble .mini-pr a { display: inline-flex; margin-top: 8px; font-weight: 600; font-size: 13px; }
.drawer .chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.drawer .chips button { border: 1px solid rgba(12, 14, 17, .1); background: rgba(255, 255, 255, .6); border-radius: 99px; padding: 6px 11px; font-size: 12.5px; }
.drawer form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(12, 14, 17, .08); }
.drawer input { flex: 1; min-width: 0; height: 42px; border-radius: 12px; border: 1px solid rgba(12, 14, 17, .12); background: rgba(255, 255, 255, .75); padding: 0 12px; font: inherit; font-size: 15px; }
.drawer form button { width: 42px; height: 42px; border-radius: 12px; border: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2a2f37, #0d1014); }
.drawer form button svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .companion { right: 12px; bottom: 12px; }
  .companion .orb-btn { width: 84px; height: 84px; }
  .companion .orb-btn img { padding: 12px; }
  .companion .hint { display: none; }
  .drawer { right: 8px; left: 8px; width: auto; bottom: 104px; height: min(520px, calc(100svh - 130px)); }
}

/* the dawn light turns slowly around the dark buttons */
@property --shift { syntax: '<number>'; inherits: true; initial-value: 0; }
.btn-dark::after { animation: shift-hue 9s linear infinite; }
@keyframes shift-hue { to { --shift: 1; } }
@media (prefers-reduced-motion: reduce) { .btn-dark::after { animation: none; } }

/* a faint topographic map under the light camps, the same lines turned to frost under the dark ones */
.camp::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('../img/topo.svg') center / cover no-repeat;
  opacity: .085;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.camp:nth-of-type(even)::before { transform: scaleX(-1); }
.camp.dark::before { filter: invert(1); opacity: .06; }

/* ----------------------------------------------------------------------------------------------- permit */
.permit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .permit-grid { grid-template-columns: 1fr 1fr; } .permit-grid .flow-card { grid-column: 1 / -1; } }
@media (max-width: 640px) { .permit-grid { grid-template-columns: 1fr; } }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.price-card .carved { opacity: .6; font-size: 11px; }
.price-card .amt { font-size: clamp(34px, 3.6vw, 46px); font-weight: 620; letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
.price-card .amt small { font-size: 15px; font-weight: 450; letter-spacing: 0; opacity: .6; margin-left: 6px; }
.price-card p { margin: 0; font-size: 14.5px; color: rgba(244, 245, 246, .72); }
.price-card .tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.price-card .tag.soon { background: rgba(215, 154, 58, .16); border-color: rgba(215, 154, 58, .35); color: #f3d3a0; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.flow-card { padding: 24px 26px; }
.flow { display: grid; gap: 0; margin-top: 14px; }
.flow .step { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; position: relative; padding: 10px 0; }
.flow .step + .step::before { content: ''; position: absolute; left: 18px; top: -10px; height: 20px; width: 2px; background: linear-gradient(var(--ice), var(--alpen)); opacity: .5; }
.flow .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.flow .ic.fire { background: linear-gradient(160deg, rgba(255, 179, 138, .35), rgba(244, 163, 180, .2)); border-color: rgba(255, 179, 138, .5); }
.flow b { display: block; font-weight: 600; font-size: 14.5px; }
.flow span { font-size: 13px; color: rgba(244, 245, 246, .62); }
.flow .pulse { position: absolute; left: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--alpen); box-shadow: 0 0 12px var(--alpen); animation: drop 3.2s cubic-bezier(.5, 0, .5, 1) infinite; opacity: 0; }
@keyframes drop { 0% { top: 12px; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 22px); opacity: 0; } }
.burn-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .12); font-family: var(--mono); font-size: 12.5px; color: rgba(244, 245, 246, .66); }
.burn-stats b { display: block; color: var(--snow); font-size: 16px; font-weight: 560; }
.permit-note { margin-top: 18px; font-size: 14px; color: rgba(244, 245, 246, .6); max-width: 60em; }

/* the cables melt into the mist where the words are, and stay solid everywhere else */
.hero canvas.cables {
  -webkit-mask-image: radial-gradient(ellipse 36% 38% at 25% 44%, transparent 52%, rgba(0, 0, 0, .35) 78%, #000 100%);
  mask-image: radial-gradient(ellipse 36% 38% at 25% 44%, transparent 52%, rgba(0, 0, 0, .35) 78%, #000 100%);
}
@media (max-width: 960px) {
  .hero canvas.cables {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 46%, #000 64%);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 46%, #000 64%);
  }
}
.companion { will-change: transform; }
.companion .orb-btn { cursor: grab; }
.companion.dragging .orb-btn { cursor: grabbing; }
.companion.dragging .hint { opacity: 0 !important; }

/* phones: the peak and its cables own the top of the screen, the words start where the fog thickens */
@media (max-width: 760px) {
  .hero { padding-top: 44vh; padding-top: 44svh; }
  .hero-bg .peak { inset: 0 -4% auto -4%; height: 64vh; height: 64svh; background-position: center 30%; }
  .hero-bg .peak img { object-position: center 30%; }
  .hero-bg .wash { background: linear-gradient(180deg, rgba(236, 238, 240, .1) 0, rgba(236, 238, 240, .12) 26svh, rgba(236, 238, 240, .78) 46svh, #e7e9eb 64svh); }
  .hero canvas.cables { height: 54vh; height: 54svh;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 86%);
    mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 86%); }
  .fog.f2 { bottom: auto; top: 18svh; height: 40svh; }
  .fog.f1 { bottom: auto; top: 36svh; height: 34svh; }
  .fog.f3 { display: none; }
}
@media (max-width: 760px) { .foot nav { gap: 0; } .foot nav a { padding: 9px 0; } }

/* sockets where the cables from the mountain plug into the pull request */
.hero-pr { overflow: visible; }
.hero-pr .socket { position: absolute; left: -7px; width: 14px; height: 14px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 50% 50%, #0c0e11 0 34%, #c9d3dc 36% 58%, #f4f5f6 60%);
  box-shadow: 0 0 0 1px rgba(12, 14, 17, .18), 0 2px 6px rgba(0, 0, 0, .25); transition: box-shadow .35s; }
.hero-pr .socket { left: auto; top: auto; bottom: -7px; }
.hero-pr .socket:nth-of-type(1) { left: calc(17% - 7px); } .hero-pr .socket:nth-of-type(2) { left: calc(50% - 7px); } .hero-pr .socket:nth-of-type(3) { left: calc(83% - 7px); }
.hero-pr .socket.hot { box-shadow: 0 0 0 1px rgba(169, 214, 255, .9), 0 0 16px 4px rgba(169, 214, 255, .75), 0 0 30px 10px rgba(255, 179, 138, .35); }
@media (max-width: 960px) {
  .hero-pr .socket { left: auto; top: -7px !important; }
  .hero-pr .socket:nth-of-type(1) { left: 25%; } .hero-pr .socket:nth-of-type(2) { left: 50%; } .hero-pr .socket:nth-of-type(3) { left: 75%; }
}

.drawer .dh .voice-btn { margin-left: auto; }
.drawer .dh .voice-btn + button { margin-left: 6px; }
.drawer .dh .voice-btn[aria-pressed='true'] { color: #2f7fbf; background: rgba(111, 183, 233, .16); }
.session .voice-btn { margin-left: auto; width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: rgba(244, 245, 246, .8); display: grid; place-items: center; }
.session .voice-btn[aria-pressed='true'] { color: #a9d6ff; border-color: rgba(169, 214, 255, .4); }
.session > .ph .voice-btn + .carved { margin-left: 10px; }

/* the hoses plug into the card: their canvas draws above it on wide screens (clicks still pass through) */
@media (min-width: 961px) {
  .hero canvas.cables { z-index: 5; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 960px) { .hero-pr .socket { display: none; } }
@media (min-width: 961px) {
  .hero .wrap { align-items: start; }
  .hero-copy { padding-top: 2vh; }
  .hero-pr { margin-top: -2vh; }
}

/* phones: a small port plate under the picture, where the hoses from the cave plug in */
.port-plate { display: none; }
@media (max-width: 960px) {
  .port-plate { display: flex; align-items: center; gap: 10px; position: relative; overflow: visible; height: 46px; padding: 0 16px; margin: 0 0 22px; border-radius: 14px; font-size: 12px; color: var(--slate); }
  .port-plate .socket { position: absolute; top: -7px; width: 14px; height: 14px; border-radius: 50%; z-index: 2;
    background: radial-gradient(circle at 50% 50%, #0c0e11 0 34%, #c9d3dc 36% 58%, #f4f5f6 60%);
    box-shadow: 0 0 0 1px rgba(12, 14, 17, .18), 0 2px 6px rgba(0, 0, 0, .25); transition: box-shadow .35s; }
  .port-plate .socket:nth-of-type(1) { left: calc(30% - 7px); } .port-plate .socket:nth-of-type(2) { left: calc(70% - 7px); }
  .port-plate .socket.hot { box-shadow: 0 0 0 1px rgba(169, 214, 255, .9), 0 0 16px 4px rgba(169, 214, 255, .75); }
  .port-plate b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 500; color: #2f9a66; }
  .port-plate b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
  .hero canvas.cables { z-index: 5; -webkit-mask-image: none; mask-image: none; height: 60vh; height: 60svh; }
  .hero { padding-top: 46vh; padding-top: 46svh; }
}

/* stock and token marks: the brand tile fills a round disc */
.tk.logo { background: #fff !important; padding: 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(12, 14, 17, .12), 0 3px 8px -4px rgba(12, 14, 17, .35); }
.tk.logo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }


/* ---------------------------------------------------------------- the pull request as a machine (generator)
   A brushed metal bezel around the glass, four screws, and a base manifold. The hoses from the screen jacks seat
   in chrome collars on the base's lower edge (the .socket elements: the page aims each plug at a socket's centre);
   each port's lamp lights when a ball arrives through it. */
.hero-pr::after { content: ''; position: absolute; inset: -6px; border-radius: calc(var(--r) + 6px); padding: 6px; pointer-events: none; z-index: 1;
  background: linear-gradient(158deg, #fbfcfd 0%, #c4ccd4 22%, #eef1f4 42%, #9aa3ac 63%, #dde2e7 82%, #a7b0b9 100%);
  box-shadow: 0 18px 40px -18px rgba(12, 14, 17, .55);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.hero-pr .screw { position: absolute; z-index: 3; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #b8c0c8 55%, #6f7880);
  box-shadow: 0 0 0 1px rgba(12, 14, 17, .25), inset 0 -1px 1px rgba(0, 0, 0, .25); }
.hero-pr .screw::after { content: ''; position: absolute; left: 1.5px; right: 1.5px; top: 4px; height: 1px; background: rgba(40, 46, 52, .7); transform: rotate(-35deg); }
.hero-pr > .screw.tl { top: -3px; left: -3px; } .hero-pr > .screw.tr { top: -3px; right: -3px; }
.hero-pr .pr-foot { padding-bottom: 14px; }
.pr-base { position: relative; height: 64px; margin: 2px 0 0; border-radius: 0 0 calc(var(--r) - 1px) calc(var(--r) - 1px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #4b525b 0%, #2b3036 34%, #1c1f24 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 8px rgba(0, 0, 0, .55), 0 -1px 0 rgba(12, 14, 17, .18); }
.pr-base .port { position: absolute; top: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  font: 500 8.5px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: rgba(236, 240, 244, .62); }
.pr-base .port:nth-child(1) { left: 17%; } .pr-base .port:nth-child(2) { left: 50%; } .pr-base .port:nth-child(3) { left: 83%; }
.pr-base .port i { width: 6px; height: 6px; border-radius: 50%; background: #3d6f5a; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); transition: background .25s, box-shadow .25s; }
.pr-base .vent { position: absolute; top: 30px; height: 16px; width: 13%; border-radius: 4px;
  background: repeating-linear-gradient(180deg, #08090b 0 2px, rgba(255, 255, 255, .07) 2px 4px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .08); }
.pr-base .vent:nth-child(4) { left: calc(33.5% - 6.5%); } .pr-base .vent:nth-child(5) { left: calc(66.5% - 6.5%); }
.pr-base .screw { bottom: 9px; } .pr-base .screw:nth-child(6) { left: 12px; } .pr-base .screw:nth-child(7) { right: 12px; }
.hero-pr .socket:nth-of-type(1).hot ~ .pr-base .port:nth-child(1) i,
.hero-pr .socket:nth-of-type(2).hot ~ .pr-base .port:nth-child(2) i,
.hero-pr .socket:nth-of-type(3).hot ~ .pr-base .port:nth-child(3) i { background: #bfe6ff; box-shadow: 0 0 8px 2px rgba(169, 214, 255, .9); }
@media (min-width: 961px) {
  .hero-pr .socket { width: 46px; height: 18px; bottom: -9px; border-radius: 8px; z-index: 4;
    background: linear-gradient(180deg, #fdfdfe 0%, #c6ced6 38%, #7b858e 52%, #b7c0c8 70%, #eef1f4 100%);
    box-shadow: 0 0 0 1px rgba(12, 14, 17, .4), 0 4px 10px rgba(0, 0, 0, .35); }
  .hero-pr .socket:nth-of-type(1) { left: calc(17% - 23px); } .hero-pr .socket:nth-of-type(2) { left: calc(50% - 23px); } .hero-pr .socket:nth-of-type(3) { left: calc(83% - 23px); }
  .hero-pr .socket.hot { box-shadow: 0 0 0 1px rgba(169, 214, 255, .95), 0 0 18px 6px rgba(169, 214, 255, .6), 0 0 34px 12px rgba(255, 179, 138, .28); }
}
@media (max-width: 960px) {
  .pr-base { height: 46px; } .pr-base .port { top: 10px; } .pr-base .vent { top: 25px; height: 11px; }
  .hero-pr::after { inset: -4px; padding: 4px; border-radius: calc(var(--r) + 4px); }
  /* the phone's port plate is the same machine: a metal manifold with two collars on its top edge */
  .port-plate { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px), linear-gradient(180deg, #4b525b, #24282e 60%, #1c1f24);
    border-color: rgba(255, 255, 255, .22); color: rgba(236, 240, 244, .78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 30px -16px rgba(12, 14, 17, .6); }
  .port-plate b { color: #7fd6a8; }
  .port-plate .socket { width: 40px; height: 16px; top: -8px; border-radius: 7px;
    background: linear-gradient(180deg, #fdfdfe 0%, #c6ced6 38%, #7b858e 52%, #b7c0c8 70%, #eef1f4 100%);
    box-shadow: 0 0 0 1px rgba(12, 14, 17, .4), 0 3px 8px rgba(0, 0, 0, .35); }
  .port-plate .socket:nth-of-type(1) { left: calc(30% - 20px); } .port-plate .socket:nth-of-type(2) { left: calc(70% - 20px); }
}

/* the screen jacks: where each hose comes out of the screen (placed by the page from c.onJacks) */
.hero .jack { position: absolute; z-index: 4; width: var(--jr, 60px); height: var(--jr, 60px); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, #07080a 0 27%, #3b434c 29% 33%, rgba(169, 214, 255, .95) 35% 39%, #c9d1d8 41% 47%, transparent 49%),
    radial-gradient(circle at 38% 30%, #ffffff 0%, #e4e8ec 40%, #b9c1c9 100%);
  box-shadow: 0 0 0 1px rgba(12, 14, 17, .18), inset 0 2px 3px rgba(255, 255, 255, .9), inset 0 -3px 6px rgba(12, 14, 17, .22), 0 10px 22px -8px rgba(12, 14, 17, .45), 0 0 22px 2px rgba(169, 214, 255, .35); }
.hero .jack::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(12, 14, 17, .08); }

/* the coin: header buy button, address strip in the final section, footer CA line */
.btn-coin { color: var(--ink); background: linear-gradient(180deg, #ffffff, #e6eaee); border: 1px solid rgba(12, 14, 17, .14); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -12px rgba(12, 14, 17, .45); }
.btn-coin:hover { background: linear-gradient(180deg, #fff, #f1f3f5); box-shadow: inset 0 1px 0 #fff, 0 0 0 4px rgba(79, 191, 138, .22); }
@media (max-width: 640px) { .top-buy { display: none; } }
.coin-ca { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 26px auto 0; padding: 12px 16px; max-width: 760px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.coin-ca .carved { font-size: 11px; letter-spacing: .2em; opacity: .75; }
.coin-ca code { font: 500 14px/1.3 var(--mono); color: var(--snow); word-break: break-all; }
.ca-copy { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: #f4f5f6; border: 0; border-radius: 99px; padding: 8px 14px; cursor: pointer; }
.ca-copy:hover { background: #fff; }
.foot .ca-line { display: block; margin-top: 6px; font-size: 11px; opacity: .75; white-space: normal; }
.foot .ca-line code { font-family: var(--mono); word-break: break-all; }
