:root {
  --paper: #f6f5ef;
  --ink: #2d342b;
  --muted: #666b60;
  --accent: #a7492e;
  --olive: #374b38;
  --line: #dcded3;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #dfc8a9; color: #263323; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2 { margin: 0; }
em { font-weight: inherit; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 10px 20px; z-index: 20; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 105px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font: 400 32px/1 var(--serif); letter-spacing: -.8px; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; gap: 34px; padding-left: 12px; font-size: 13px; }
.site-header nav a { padding: 10px 0; position: relative; }
.site-header nav a::after { content: ""; height: 1px; position: absolute; left: 0; right: 0; bottom: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-header nav a:hover::after { transform: scaleX(1); }
.header-github { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.header-github .icon { width: 18px; height: 18px; }
.header-github:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.2fr .9fr; align-items: center; gap: 64px; padding-block: 82px 95px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.9px; text-transform: uppercase; }
.hero .eyebrow { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
.little-sun { color: var(--accent); font-size: 29px; line-height: 1; }
h1 { font: 400 clamp(64px, 7.3vw, 100px)/1.02 var(--serif); letter-spacing: -2.8px; }
h1 em { color: var(--accent); white-space: nowrap; }
.hero-description { max-width: 400px; margin-top: 30px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 23px; padding: 15px 22px; min-height: 54px; background: var(--olive); color: #fff; font-size: 12px; font-weight: 500; border: 1px solid var(--olive); border-radius: 3px; transition: background .2s, transform .2s; }
.button:hover { background: #253d29; transform: translateY(-2px); }
.button .icon { width: 17px; height: 17px; }
.hero .button { margin-top: 30px; }
.hero-footnote { display: flex; align-items: center; gap: 13px; margin-top: 39px; color: var(--muted); font-size: 11px; }
.small-rule { width: 27px; height: 1px; background: #adb1a3; }
.hero-art { position: relative; padding: 13px 13px 26px 9px; }
.mountain-postcard { padding: 10px 10px 0; background: #fffef9; border: 1px solid #e3e1d7; transform: rotate(3deg); box-shadow: 0 7px 18px #3138230c, 0 25px 40px #31382306; }
.mountain-postcard img { width: 100%; height: 419px; object-fit: cover; object-position: 50% 45%; filter: saturate(.72); }
.mountain-postcard figcaption { display: flex; align-items: center; justify-content: space-between; min-height: 57px; padding: 3px 11px; font: italic 22px/1.3 var(--serif); }
.mountain-postcard figcaption .icon { width: 29px; height: 29px; color: #7b8478; }
.orbit-note { position: absolute; width: 107px; height: 107px; right: -34px; top: -31px; z-index: 2; background: #e9d7ae; color: #544f30; border-radius: 50%; transform: rotate(14deg); }
.orbit-note > svg:first-child { width: 100%; height: 100%; fill: currentColor; font: 500 9.5px var(--sans); letter-spacing: 1.2px; }
.orbit-note .badge-mountain { position: absolute; width: 35px; height: 35px; left: 36px; top: 33px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.lab-sticker { position: absolute; display: flex; align-items: center; gap: 13px; bottom: 84px; left: -47px; background: #e9ece1; padding: 18px 20px; box-shadow: 0 5px 14px #1c311a10; transform: rotate(-4deg); border: 1px solid #dce1d3; transition: transform .2s; }
.lab-sticker:hover { transform: rotate(-1deg) translateY(-3px); }
.sticker-icon { display: grid; place-items: center; height: 38px; width: 38px; border: 1px solid #c2cbbb; border-radius: 50%; color: var(--olive); }
.sticker-label { display: block; text-transform: uppercase; font-size: 8px; letter-spacing: 1.2px; color: #5c6855; margin-bottom: 3px; }
.lab-sticker strong { display: block; font-size: 11px; font-weight: 500; }
.sticker-arrow { width: 16px; height: 16px; margin-left: 3px; }

.interest-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-label { color: var(--muted); font-size: 9px; letter-spacing: 1.25px; text-transform: uppercase; }
.strip-items { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: 12px; }
.strip-items [aria-hidden] { color: #a48450; font-size: 19px; }

.homelab-section { padding-block: 112px 105px; }
.section-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 90px; margin-bottom: 49px; }
.section-label { display: flex; gap: 17px; align-items: center; margin-bottom: 23px; }
.section-label > span { color: var(--accent); font-size: 10px; border: 1px solid #d6c9b8; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; letter-spacing: 0; }
h2 { font: 400 62px/1.07 var(--serif); letter-spacing: -1.1px; }
h2 em { color: #68735c; }
.section-intro > p, .mountains-intro-copy > p { max-width: 360px; font-size: 14px; line-height: 1.9; color: var(--muted); padding-bottom: 6px; }
.lab-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: start; }
.lab-blueprint { min-width: 0; background: #eceee5; border: 1px solid #dde1d4; border-radius: 4px; padding: 26px 25px 22px; margin-top: 5px; }
.blueprint-heading { display: flex; justify-content: space-between; gap: 20px; font: 500 9px/1.5 var(--sans); letter-spacing: 1.4px; color: #53614e; }
.blueprint-heading span:last-child { color: #5b6555; font-size: 9px; letter-spacing: .8px; }
.lab-map { height: 390px; position: relative; margin-block: 4px; background-image: radial-gradient(#a4ae973e .8px, transparent .8px); background-size: 15px 15px; }
.map-connections { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #b7c1aa; stroke-width: 1; }
.map-connections path { stroke-dasharray: 3 5; }
.map-connections circle:last-child { stroke-dasharray: 2 6; }
.map-center { position: absolute; left: 50%; top: 51.3%; transform: translate(-50%, -50%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.map-center > .icon { width: 37px; height: 37px; stroke-width: 1; color: #5d7054; }
.map-center > span { font: italic 16px/1 var(--serif); color: #56664d; }
.map-node { position: absolute; display: flex; align-items: center; flex-direction: column; gap: 9px; transform: translate(-50%, -50%); border: 0; padding: 7px; background: transparent; white-space: nowrap; font-size: 10px; font-weight: 500; }
.node-icon { display: grid; place-items: center; width: 50px; height: 50px; background: #f6f7f0; border: 1px solid #c6cebb; border-radius: 11px; color: #627657; box-shadow: 0 3px 0 #dce1d3; transition: background .2s, color .2s, transform .2s; }
.node-icon .icon { width: 24px; height: 24px; stroke-width: 1.4; }
.node-unifi { left: 50%; top: 16%; }
.node-assistant { left: 16%; top: 38%; }
.node-teslamate { left: 84%; top: 38%; }
.node-pi { left: 28%; top: 85%; }
.node-ubuntu { left: 72%; top: 85%; }
.map-node:hover .node-icon { transform: translateY(-3px); border-color: #718864; }
.lab-blueprint[data-active="assistant"] .node-assistant .node-icon,
.lab-blueprint[data-active="teslamate"] .node-teslamate .node-icon,
.lab-blueprint[data-active="unifi"] .node-unifi .node-icon,
.lab-blueprint[data-active="pi"] .node-pi .node-icon,
.lab-blueprint[data-active="ubuntu"] .node-ubuntu .node-icon { background: var(--olive); color: #fff; border-color: var(--olive); box-shadow: 0 3px 0 #b8c3ab; }
.blueprint-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #d2d9c7; padding-top: 17px; }
.blueprint-caption { font: italic 17px/1.3 var(--serif); color: #57654e; }
.map-hint { font-size: 9px; color: #59664f; }
.map-hint span { margin-left: 6px; font-size: 14px; }
.list-eyebrow { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.lab-item { border-top: 1px solid var(--line); }
.lab-item:last-child { border-bottom: 1px solid var(--line); }
.lab-item summary { display: flex; gap: 20px; align-items: center; list-style: none; padding: 20px 0; }
.lab-item summary::-webkit-details-marker { display: none; }
.item-number { font-size: 10px; color: #626b58; align-self: flex-start; padding-top: 3px; }
.item-title { display: block; flex: 1; font-size: 17px; line-height: 1.35; font-weight: 500; letter-spacing: -.3px; }
.item-title small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 5px; letter-spacing: 0; }
.details-toggle { display: block; width: 24px; height: 24px; position: relative; border: 1px solid #d6dace; border-radius: 50%; flex: 0 0 auto; }
.details-toggle::before, .details-toggle::after { content: ""; position: absolute; top: 10px; left: 7px; width: 8px; height: 1px; background: #5b6950; transition: transform .2s; }
.details-toggle::after { transform: rotate(90deg); }
.lab-item[open] .details-toggle::after { transform: rotate(0); }
.lab-item[open] .item-title { color: var(--olive); }
.lab-item summary:hover .item-title { color: var(--accent); }
.item-content { padding: 0 34px 23px; }
.item-content p { font-size: 12px; line-height: 1.85; color: var(--muted); max-width: 350px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 10px; font-weight: 500; margin-top: 14px; }
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { text-decoration: underline; }

.mountains-section { background: #edeee7; border-block: 1px solid #e2e4d8; padding-block: 85px 37px; }
.mountains-section .section-intro { margin-bottom: 43px; }
.mountains-section h2 em { color: #68735c; }
.mountains-intro-copy { padding-bottom: 4px; }
.mountain-aside { display: flex; align-items: center; gap: 10px; margin-top: 19px; font: italic 20px/1.3 var(--serif); color: #58674e; }
.mountain-aside .icon { width: 24px; height: 24px; stroke-width: 1.2; }
.slope-photo { position: relative; background: #64758a; overflow: hidden; border-radius: 3px; }
.slope-photo > img { width: 100%; height: 438px; object-fit: cover; object-position: 50% 47%; filter: saturate(.65); }
.slope-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #11252f80 100%); pointer-events: none; }
.slope-photo figcaption { position: absolute; z-index: 1; inset: auto 40px 31px; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: white; text-shadow: 0 1px 12px #0a182488; }
.photo-note { font: 400 44px/1.06 var(--serif); }
.photo-label { display: flex; align-items: center; gap: 11px; font-size: 9px; letter-spacing: 1.4px; padding-bottom: 5px; }
.photo-label .icon { width: 26px; height: 26px; }
.image-credit { text-align: right; color: #58634f; font-size: 10px; margin-top: 14px; }
.image-credit a { text-decoration: underline; text-decoration-color: #a8b19d; }
.image-credit a:hover { color: var(--ink); }

.closing-section { text-align: center; padding-block: 84px 87px; }
.closing-asterisk { display: block; color: var(--accent); font-size: 55px; line-height: 1; margin-bottom: 27px; }
.closing-section .eyebrow { font-size: 9px; color: var(--muted); margin-bottom: 19px; }
.closing-section h2 { font-size: 60px; }
.closing-section h2 em { color: var(--accent); }
.closing-section > p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 24px; }
.closing-section .button { margin-top: 29px; gap: 13px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 30px; }
.site-footer .wordmark { font-size: 26px; }
.site-footer p { font-size: 10px; color: var(--muted); }
.back-to-top { font-size: 10px; display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.back-to-top:hover { color: var(--accent); }
.back-to-top span { font-size: 17px; }

@media (min-width: 1500px) {
  .hero { padding-block: 100px 110px; }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 80px); }
  .hero { gap: 45px; padding-block: 72px 83px; }
  h1 { font-size: 7.3vw; letter-spacing: -2px; }
  .mountain-postcard img { height: 370px; }
  .orbit-note { right: -19px; width: 94px; height: 94px; }
  .orbit-note .badge-mountain { width: 31px; height: 31px; left: 31px; top: 29px; }
  .lab-sticker { padding: 14px; gap: 10px; left: -34px; }
  .lab-sticker strong { font-size: 10px; }
  .hero-footnote { margin-top: 28px; }
  .strip-items { gap: 23px; font-size: 10px; }
  .strip-label { font-size: 8px; }
  .section-intro { gap: 50px; }
  h2 { font-size: 55px; }
  .lab-layout { gap: 40px; }
  .lab-blueprint { padding-inline: 18px; }
  .lab-map { height: 380px; }
  .map-hint { display: none; }
  .map-node { font-size: 9px; }
  .node-icon { width: 44px; height: 44px; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { height: 86px; }
  .site-header nav { gap: 22px; font-size: 12px; padding-left: 0; }
  .header-github { font-size: 12px; gap: 5px; }
  .hero { grid-template-columns: 1fr; padding-block: 57px 60px; gap: 46px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow { justify-content: center; }
  h1 { font-size: clamp(60px, 10.2vw, 82px); }
  .hero-description { max-width: 410px; margin-inline: auto; margin-top: 23px; }
  .hero .button { margin-top: 24px; }
  .hero-footnote { display: none; }
  .hero-art { width: min(395px, calc(100% - 34px)); margin-inline: auto; padding-bottom: 35px; }
  .mountain-postcard img { height: 365px; }
  .orbit-note { top: -11px; right: -19px; }
  .lab-sticker { left: -18px; bottom: 87px; padding: 14px 16px; }
  .lab-sticker strong { font-size: 11px; }
  .interest-strip { flex-direction: column; gap: 12px; padding-block: 21px; }
  .strip-label { font-size: 8px; }
  .strip-items { gap: 25px; font-size: 11px; }
  .homelab-section { padding-block: 72px; }
  .section-intro { grid-template-columns: 1fr; gap: 23px; margin-bottom: 31px; }
  .section-intro > p, .mountains-intro-copy > p { max-width: 500px; }
  .section-label { margin-bottom: 18px; }
  h2 { font-size: 54px; }
  .lab-layout { grid-template-columns: 1fr; gap: 31px; }
  .lab-blueprint { max-width: 540px; width: 100%; margin-inline: auto; padding-inline: 25px; }
  .lab-map { height: 390px; }
  .node-icon { width: 50px; height: 50px; }
  .map-node { font-size: 10px; }
  .map-hint { display: block; }
  .lab-details { max-width: 540px; width: 100%; margin-inline: auto; }
  .item-content p { max-width: 420px; font-size: 13px; }
  .lab-item summary { padding-block: 18px; }
  .mountains-section { padding-block: 66px 28px; }
  .mountains-section .section-intro { margin-bottom: 29px; }
  .slope-photo > img { height: 385px; }
  .slope-photo figcaption { inset-inline: 26px; bottom: 25px; }
  .photo-note { font-size: 39px; }
  .photo-label { font-size: 7px; letter-spacing: .8px; gap: 6px; }
  .image-credit { font-size: 10px; text-align: left; }
  .closing-section { padding-block: 64px 67px; }
  .closing-section h2 { font-size: 55px; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 78px; flex-wrap: wrap; gap: 8px; }
  .wordmark { font-size: 28px; }
  .site-header nav { gap: 17px; font-size: 10px; margin-left: auto; }
  .header-github { margin-left: 8px; }
  .header-github > span { display: none; }
  .header-github { padding: 8px 2px; }
  .hero { padding-top: 45px; gap: 38px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 20px; }
  .little-sun { font-size: 24px; }
  h1 { font-size: clamp(48px, 12.3vw, 59px); letter-spacing: -1.7px; }
  .hero-description { font-size: 14px; max-width: 300px; margin-top: 22px; line-height: 1.85; }
  .hero .button { font-size: 11px; padding: 13px 18px; min-height: 48px; gap: 17px; }
  .hero-art { width: calc(100% - 31px); }
  .mountain-postcard { padding: 8px 8px 0; }
  .mountain-postcard img { height: 325px; }
  .mountain-postcard figcaption { min-height: 53px; font-size: 20px; padding-inline: 5px; }
  .orbit-note { width: 83px; height: 83px; top: -4px; right: -14px; }
  .orbit-note .badge-mountain { width: 28px; height: 28px; left: 28px; top: 25px; }
  .lab-sticker { padding: 12px 13px; left: -13px; gap: 9px; }
  .sticker-icon { width: 33px; height: 33px; }
  .sticker-icon .icon { width: 19px; height: 19px; }
  .sticker-label { font-size: 7px; letter-spacing: 1px; }
  .lab-sticker strong { font-size: 9px; }
  .sticker-arrow { width: 13px; height: 13px; }
  .strip-items { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 11px 20px; font-size: 11px; text-align: center; }
  .strip-items [aria-hidden] { display: none; }
  h2 { font-size: 47px; }
  .section-intro > p, .mountains-intro-copy > p { font-size: 13px; }
  .homelab-section { padding-block: 58px; }
  .section-label { font-size: 10px; }
  .lab-blueprint { padding: 22px 13px 19px; }
  .blueprint-heading { padding-inline: 3px; font-size: 8px; }
  .blueprint-heading span:last-child { font-size: 8px; }
  .lab-map { height: 318px; }
  .map-center > .icon { width: 29px; height: 29px; }
  .map-center > span { font-size: 13px; }
  .map-node { font-size: 8px; padding: 7px 2px; }
  .node-icon { width: 41px; height: 41px; border-radius: 9px; }
  .node-icon .icon { width: 21px; height: 21px; }
  .blueprint-footer { gap: 8px; padding-inline: 4px; }
  .blueprint-caption { font-size: 15px; }
  .map-hint { font-size: 8px; }
  .map-hint span { margin-left: 1px; }
  .item-title { font-size: 16px; }
  .item-title small { font-size: 10px; }
  .item-content p { font-size: 12px; }
  .mountains-section { padding-top: 58px; }
  .mountain-aside { font-size: 19px; margin-top: 16px; }
  .slope-photo > img { height: 365px; object-position: 54% center; }
  .slope-photo figcaption { inset-inline: 20px; bottom: 22px; flex-direction: column; align-items: start; gap: 23px; }
  .photo-note { font-size: 37px; }
  .photo-label { font-size: 7px; letter-spacing: 1.2px; }
  .photo-label .icon { width: 21px; height: 21px; }
  .image-credit { font-size: 9px; line-height: 1.7; max-width: 310px; }
  .closing-section { padding-block: 58px; }
  .closing-asterisk { font-size: 45px; margin-bottom: 24px; }
  .closing-section h2 { font-size: 46px; }
  .closing-section > p:not(.eyebrow) { font-size: 12px; }
  .closing-section .eyebrow { font-size: 8px; }
  .closing-section .button { font-size: 11px; min-height: 49px; }
  .site-footer { flex-wrap: wrap; gap: 17px; padding-block: 23px; }
  .site-footer .wordmark { font-size: 25px; }
  .site-footer p { order: 3; width: 100%; font-size: 9px; }
  .back-to-top { font-size: 9px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 10px; font-size: 9px; }
  .header-github { margin-left: 0; }
  .wordmark { font-size: 25px; }
  h1 { font-size: 44px; }
  .strip-items { gap: 9px; font-size: 11px; }
  .lab-sticker { padding-inline: 10px; gap: 7px; }
  .lab-sticker strong { font-size: 8px; }
  .map-hint { display: none; }
  .desktop-break { display: none; }
}

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

@media print {
  body { background: white; font-size: 12px; }
  .wrap { width: 100%; }
  .site-header { height: 60px; }
  .hero { padding-block: 30px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: 54px; }
  h2, .closing-section h2 { font-size: 42px; }
  .hero-art { width: 250px; }
  .mountain-postcard img { height: 230px; }
  .lab-sticker, .orbit-note, .map-hint, .back-to-top { display: none; }
  .homelab-section, .mountains-section, .closing-section { padding-block: 30px; }
  .lab-item { break-inside: avoid; }
  .lab-item::details-content { content-visibility: visible; }
  .slope-photo > img { height: 280px; }
}
