/* mountainlooplabs.com. The Contour identity from the brand sprint
   (~/Workspace/mountainloop-brand, round 2): paper, forest ink, one trail-blaze
   orange, and a generated topo map with the products as stops on a loop. */

/* Fonts: self-hosted from Google Fonts, latin and latin-ext. Inter and
   Figtree are only for the Yaak, Platform Pixels and Kabook! names. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/figtree-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/figtree-800-latin.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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-400-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-400-700-latin.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: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-400-italic-latin.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: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/inter-700-latin.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: 'JetBrains Mono'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-500-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-500-italic-latin.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: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-400-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-400-700-latin.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; }

:root {
  --paper: #F3EFE6; --card: #FBF8F2; --ink: #1E2A22; --ink2: #5E6B60; --line: #CFC6B3; --rule: #E1DACB;
  --blaze: #E0592A; --blaze-ink: #B5431A; --lake: #3E7C8C; --lake-ink: #33697A; --moss: #6B7F4A; --night: #141B17; --night-line: #2A362E; --forest: #1E2A22;
  --sans: 'Instrument Sans', system-ui, sans-serif; --serif: 'Instrument Serif', Georgia, serif; --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --pad: clamp(18px, 4vw, 48px); --max: 1240px;
  --shadow: 0 1px 0 rgba(30, 42, 34, .04), 0 18px 40px -28px rgba(30, 42, 34, .45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk { width: 1em; height: 1em; color: var(--ink); }


/* ---------- Nav, hero map, products ---------- */
/* ---------- Nav ---------- */
.nav { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad);
  background: linear-gradient(var(--paper) 30%, rgba(243, 239, 230, 0)); }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.lockup .mk { width: 32px; height: 32px; flex: none; }
.lockup .wm { font: 600 19px/1 var(--sans); letter-spacing: -.025em; white-space: nowrap; }
.lockup .wm small { font-size: 1em; font-weight: 400; color: var(--ink2); margin-left: .18em; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 15px; }
.nav nav a { text-decoration: none; padding: 7px 12px; border-radius: 99px; color: var(--ink); }
.nav nav a:hover { background: rgba(30, 42, 34, .06); }
.nav .gh { display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: var(--paper) !important; padding: 8px 14px 8px 12px; }
.nav .gh:hover { background: #2c3b31 !important; }
.gh svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .nav nav a:not(.gh) { display: none; } .nav .gh span { display: none; } .nav .gh { padding: 9px; } .nav { height: 62px; } .lockup .wm { font-size: 17.5px; } .lockup .mk { width: 28px; height: 28px; } }

/* ---------- Hero map ---------- */
.hero { position: relative; background: var(--paper); }
.map { position: relative; height: clamp(600px, calc(100svh - 150px), 780px); overflow: hidden; touch-action: pan-y; }
.map canvas, .map svg.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.map canvas { opacity: 1; }
.map svg.topo { overflow: visible; }
.map::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(243, 239, 230, .97) 0, rgba(243, 239, 230, .9) 28%, rgba(243, 239, 230, 0) 52%), linear-gradient(rgba(243, 239, 230, 0) 82%, var(--paper)); }
@media (pointer: fine) { .map { cursor: crosshair; } }
.topo .c { fill: none; stroke: #CFC6B3; stroke-width: .9; }
.topo .ci { fill: none; stroke: #B5A98F; stroke-width: 1.45; }
.topo .grid { stroke: rgba(30, 42, 34, .07); stroke-width: 1; }
.topo .gl { font: 500 10px var(--mono); fill: rgba(94, 107, 96, .7); }
.topo .el { font: 500 10.5px var(--mono); fill: #8A7F68; paint-order: stroke; stroke: #EFEADF; stroke-width: 5px; stroke-linejoin: round; letter-spacing: .02em; }
.topo .lake { fill: rgba(62, 124, 140, .2); stroke: var(--lake); stroke-width: 1.3; }
.topo .lake-l { font: italic 500 10.5px var(--mono); fill: var(--lake); }
.topo .stream { fill: none; stroke: var(--lake); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.topo .summit { fill: var(--ink); }
.topo .sl { font: 600 11px var(--mono); fill: var(--ink); paint-order: stroke; stroke: #F1ECE2; stroke-width: 5px; stroke-linejoin: round; }
.topo .sl2 { font: 500 10.5px var(--mono); fill: var(--ink2); paint-order: stroke; stroke: #F1ECE2; stroke-width: 5px; stroke-linejoin: round; }
.topo .halo { fill: none; stroke: rgba(251, 248, 242, .85); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.topo .trail { fill: none; stroke: var(--blaze); stroke-width: 2.6; stroke-dasharray: 7 5; stroke-linecap: round; stroke-linejoin: round; }
.topo .spur { fill: none; stroke: var(--blaze); stroke-width: 2; stroke-dasharray: 3 5; stroke-linecap: round; opacity: .9; }
.topo .th { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.topo .thl { font: 600 10px var(--mono); fill: var(--ink); letter-spacing: .06em; paint-order: stroke; stroke: #F1ECE2; stroke-width: 5px; stroke-linejoin: round; }
.topo .wpd { fill: var(--card); stroke: var(--ink); stroke-width: 2; transition: fill .2s, stroke .2s; }
.topo .wpd.on { fill: var(--blaze); stroke: var(--card); }
.topo .leader { stroke: var(--ink); stroke-width: 1.2; opacity: .5; }
.topo .hiker circle.b { fill: var(--blaze); stroke: var(--card); stroke-width: 3; }
.topo .hiker circle.r { fill: none; stroke: var(--blaze); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.topo .hiker.walking circle.r { animation: ping 1s ease-out infinite; }
@keyframes ping { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.topo .xh { stroke: var(--ink); stroke-width: 1; opacity: 0; transition: opacity .2s; pointer-events: none; }
.map.hover .topo .xh { opacity: .55; }

/* waypoint tiles (HTML over the svg) */
.wps { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.wp { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translateX(-50%); opacity: 0; transition: opacity .35s; }
.wp.in { opacity: 1; }
.wp .pin { width: 40px; height: 40px; border-radius: 11px; background: var(--card); box-shadow: 0 0 0 1.5px var(--ink), 0 8px 18px -8px rgba(30, 42, 34, .55); padding: 4px; display: grid; place-items: center; transition: box-shadow .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); flex: none; }
.wp:not(.in) .pin { transform: scale(.5); }
.wp .pin img { width: 32px; height: 32px; border-radius: 8px; }
.wp .lab { display: flex; align-items: center; font: 600 10px/1 var(--mono); letter-spacing: .04em; color: var(--ink); background: rgba(251, 248, 242, .94); padding: 4px 6px; border-radius: 5px; white-space: nowrap; box-shadow: 0 0 0 1px rgba(30, 42, 34, .12); transition: background .2s, color .2s; }
.wp .lab span { display: none; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: -.01em; margin-left: 7px; }
.wp .lab span em { font-family: var(--serif); font-weight: 400; font-size: 1.1em; }
.wp .lab span b { color: #B69BFF; }
.wp.on { z-index: 2; }
.wp.on .pin { box-shadow: 0 0 0 2.5px var(--blaze), 0 12px 24px -8px rgba(30, 42, 34, .6); transform: scale(1.14); }
.wp.on .lab { background: var(--ink); color: var(--paper); box-shadow: none; padding: 6px 9px; font-size: 10.5px; }
.wp.on .lab span { display: inline; }
.wp:focus-visible { outline: none; } .wp:focus-visible .pin { box-shadow: 0 0 0 3px var(--lake); }

/* map ui */
.mapui { position: absolute; z-index: 5; font: 500 10.5px/1.3 var(--mono); letter-spacing: .03em; color: var(--ink); pointer-events: none; }
.readout { left: var(--pad); bottom: 40px; display: flex; gap: 18px; align-items: stretch; padding: 10px 12px; border-radius: 10px; background: rgba(251, 248, 242, .92); box-shadow: 0 0 0 1px rgba(30, 42, 34, .1), 0 12px 30px -20px rgba(30, 42, 34, .4); }
.readout .ro { display: flex; flex-direction: column; gap: 3px; min-width: 150px; justify-content: center; }
.readout b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.readout .k { color: var(--ink2); text-transform: uppercase; letter-spacing: .08em; font-size: 9.5px; }
.readout .g { color: var(--ink2); font-variant-numeric: tabular-nums; }
.readout .prof { padding-left: 16px; border-left: 1px dashed var(--line); }
.prof .t { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.prof .t span { color: var(--ink2); }
.prof .t b { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.prof svg { width: 210px; height: 50px; overflow: visible; }
.prof .pa { fill: rgba(224, 89, 42, .1); }
.prof .pl { fill: none; stroke: var(--blaze); stroke-width: 1.5; }
.prof .pt { stroke: var(--ink); stroke-width: 1; opacity: .3; }
.prof .ptl { font: 600 8.5px var(--mono); fill: var(--ink2); }
.prof .pd { fill: var(--blaze); stroke: var(--card); stroke-width: 2; }
.legend { right: var(--pad); bottom: 40px; display: flex; align-items: flex-end; gap: 18px; padding: 10px 12px; border-radius: 10px; background: rgba(251, 248, 242, .8); }
.scalebar { display: flex; flex-direction: column; gap: 4px; }
.scalebar i { display: flex; height: 5px; border: 1px solid var(--ink); }
.scalebar i b { flex: 1; } .scalebar i b:nth-child(odd) { background: var(--ink); }
.scalebar span { display: flex; justify-content: space-between; color: var(--ink2); }
.north { display: flex; align-items: center; gap: 8px; color: var(--ink2); justify-self: end; }
.north svg { width: 16px; height: 22px; }
@media (max-width: 900px) { .legend { display: none; } }

.hero-copy { position: absolute; z-index: 6; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; display: flex; align-items: center; }
.hero-copy .in { pointer-events: auto; width: min(560px, 46%); margin-left: var(--pad); padding-top: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.blaze { display: inline-block; width: 6px; height: 13px; border-radius: 1.5px; background: var(--blaze); flex: none; }
.hero h1 { margin-top: 20px; font-weight: 500; font-size: clamp(44px, 5.6vw, 76px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { font-size: 1.08em; padding-right: .03em; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: #3F4B42; max-width: 470px; }
.ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: #2c3b31; }
.btn.line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: rgba(251, 248, 242, .6); }
.btn.line:hover { background: var(--card); }
.btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .map { height: clamp(440px, 122vw, 560px); }
  .map::after { background: linear-gradient(rgba(243, 239, 230, 0) 70%, var(--paper) 99%); }
  .hero-copy { position: relative; display: block; margin-top: -36px; }
  .hero-copy .in { width: auto; margin: 0; padding: 0 var(--pad); }
  .readout { display: none; }
  .readout b { font-size: 13px; }
  .readout .g { display: none; }
}

/* ---------- Products ---------- */
.products { padding-top: clamp(64px, 8vw, 104px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: 26px; }
.sec-head h2 { margin-top: 12px; font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -.04em; }
.sec-head p { color: var(--ink2); max-width: 420px; font-size: 16px; }
/* product name styles */
.n-yaak { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.035em; }
.n-pp { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.035em; }
.n-pp em { font-weight: 400; font-size: 1.12em; letter-spacing: -.01em; }
.n-kb { font-family: 'Figtree', sans-serif; font-weight: 800; letter-spacing: -.03em; }
.n-kb b { color: #6D35F2; font-weight: 800; margin-left: .02em; }
.n-pk { font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; }


/* Pull the full stop in against the italic word. */
.hero h1 em { margin-right: -.1em; }

/* ---------- Round 2: product cards ----------
   One plate per product, in that product's own colours, and nothing else:
   icon, name, one line, where it runs, where it lives. Dark pair on top,
   light pair below, so the grid reads as two calm rows. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.wpc { position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 30px 32px 26px; border-radius: 24px; background: var(--p-bg); color: var(--p-fg); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--p-rule), 0 1px 0 rgba(30, 42, 34, .04), 0 24px 48px -36px rgba(30, 42, 34, .5);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.wpc-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .6); }
.pc-n { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--p-mute); font-variant-numeric: tabular-nums; }
.wpc h3 { margin-top: 30px; font-size: clamp(30px, 3vw, 38px); line-height: 1; }
.pc-line { margin: 10px 0 26px; max-width: 30ch; font-size: 17px; line-height: 1.45; color: var(--p-fg); opacity: .78; }
.pc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--p-rule); display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; }
.pc-meta { color: var(--p-mute); }
.pc-go { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--p-acc); }
.pc-go svg { width: 15px; height: 15px; transition: transform .25s; }
.wpc:hover, .wpc.on { transform: translateY(-2px); }
.wpc:hover .pc-go svg { transform: translate(2px, -2px); }
.wpc.on .pc-n { color: var(--p-acc); }
.wpc:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; }
@media (max-width: 760px) { .wpc { min-height: 0; padding: 24px 22px 20px; border-radius: 20px; } .wpc-icon { width: 56px; height: 56px; border-radius: 13px; } .wpc h3 { margin-top: 24px; } .pc-line { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .wpc, .pc-go svg { transition: none; } }

/* Each product's own colours. A new product gets a block here and a card in
   index.html; the map gives it a stop on the loop by itself. */
.p-yaak { --p-bg: #1d1b2c; --p-fg: #F4F1FB; --p-mute: #9A94B8; --p-acc: #c294ff; --p-rule: rgba(244, 241, 251, .09); }
.p-pp { --p-bg: #17130f; --p-fg: #f1ebe0; --p-mute: #958C7F; --p-acc: #ef3b2c; --p-rule: rgba(241, 235, 224, .09); }
.p-kb { --p-bg: #ffffff; --p-fg: #16131F; --p-mute: #6B6679; --p-acc: #6D35F2; --p-rule: rgba(22, 19, 31, .08); }
.p-pk { --p-bg: #FBF6EC; --p-fg: #2E2118; --p-mute: #86705E; --p-acc: #B34A20; --p-rule: rgba(46, 33, 24, .09); }
.p-kb, .p-pk { box-shadow: inset 0 0 0 1px var(--p-rule), 0 0 0 1px rgba(30, 42, 34, .07), 0 24px 48px -36px rgba(30, 42, 34, .45); }
/* On the dark cards a faint light edge keeps a dark icon off the card. */
.p-yaak .wpc-icon, .p-pp .wpc-icon { box-shadow: 0 0 0 1px rgba(241, 235, 224, .16), 0 12px 24px -14px rgba(0, 0, 0, .6); }
/* Pakratt's icon is the rat on a transparent ground; it sits on cream. */
img[src$="pakratt.svg"] { background: #F5E6CC; }

/* Many stops on the loop: smaller pins, labels only on the chosen one. */
.wps.dense .pin { width: 32px; height: 32px; border-radius: 9px; padding: 3px; }
.wps.dense .pin img { width: 26px; height: 26px; border-radius: 6px; }
.wps.dense .wp:not(.on) .lab { display: none; }

/* ---------- Company ---------- */
/* ---------- About ---------- */
.about { padding-top: 110px; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.about h2 { margin-top: 12px; font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -.04em; }
.facts { display: grid; font: 500 13px/1.45 var(--mono); }
.facts div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.facts div:last-child { border-bottom: 1px dashed var(--line); }
.facts dt { color: var(--ink2); text-transform: uppercase; letter-spacing: .07em; font-size: 10.5px; padding-top: 2px; }
.facts dd { color: var(--ink); overflow-wrap: anywhere; }
.about-grid { align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .facts { margin-top: 4px; } }

/* ---------- Footer ---------- */
/* ---------- Footer ---------- */
.foot { position: relative; margin-top: 120px; background: var(--night); color: #D9DED6; overflow: hidden; }
.foot svg.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot .topo .c { stroke: var(--night-line); stroke-width: 1; }
.foot .topo .ci { stroke: #34443A; stroke-width: 1.6; }
.foot .topo .trail { stroke: rgba(224, 89, 42, .55); stroke-width: 2; }
.foot-in { position: relative; padding-top: 64px; padding-bottom: 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot .lockup { color: #F3EFE6; }
.foot .lockup .mk { color: #F3EFE6; width: 40px; height: 40px; }
.foot .lockup .wm { font-size: 24px; } .foot .lockup .wm small { color: #95A397; }
.foot .tagline { margin-top: 16px; color: #95A397; max-width: 340px; font-size: 15px; }
.foot h4 { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #7C8A7F; margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; font-size: 15px; }
.foot ul a { text-decoration: none; color: #E8ECE5; }
.foot ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bot { margin-top: 70px; padding-top: 16px; border-top: 1px solid #2A362E; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font: 500 11px/1.5 var(--mono); color: #7C8A7F; letter-spacing: .03em; }
@media (max-width: 760px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > :first-child { grid-column: 1 / -1; } .foot-bot { margin-top: 44px; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: minmax(0, 1fr); gap: 28px; } }


/* ---------- 404 ---------- */
.lost-top { position: relative; height: 72px; }
.lost { padding-top: clamp(80px, 16vh, 160px); padding-bottom: 40px; }
.lost h1 { margin-top: 14px; font-weight: 500; font-size: clamp(48px, 8vw, 96px); line-height: .98; letter-spacing: -.045em; }
.lost h1 em { margin-right: -.1em; }
.lost p { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: #3F4B42; }
.lost-go { margin-top: 28px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blaze-ink); text-decoration: none; }
.lost-go svg { width: 16px; height: 16px; transition: transform .25s; }
.lost-go:hover svg { transform: translate(2px, -2px); }
@media (max-width: 380px) { .wpc { padding-left: 18px; padding-right: 18px; } .pc-line { font-size: 15px; } }
