* { box-sizing: border-box; }
.ad-placement { display: grid; grid-template-columns: max-content; justify-content: center; justify-content: safe center; padding-block: 50px; overflow-x: auto; scrollbar-width: none; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .19em; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.06; overflow-wrap: anywhere; }
.shell { width: min(calc(100% - 4rem), 1280px); margin-inline: auto; }
.skip { position: absolute; top: .6rem; left: 1rem; z-index: 5; color: var(--paper); background: var(--ink); padding: .55rem 1rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 76px; gap: .7rem; }
.masthead { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.masthead img { width: 150px; height: auto; }
.masthead span { font-weight: 700; }
.wide-nav { display: flex; gap: clamp(.85rem, 2.4vw, 2.3rem); align-items: center; }
.wide-nav a, .small-nav a { text-decoration: none; font-size: .95rem; font-weight: 650; }
.wide-nav a[aria-current], .small-nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.small-nav { display: none; position: relative; }
.small-nav summary { display: flex; gap: .5rem; align-items: center; padding: .5rem .65rem; border: 1px solid var(--line); font-weight: 700; cursor: pointer; list-style: none; }
.small-nav summary::-webkit-details-marker { display: none; }
.small-nav summary::after { content: ''; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.small-nav[open] summary::after { transform: translateY(2px) rotate(225deg); }
.small-nav nav { position: absolute; right: 0; top: calc(100% + .45rem); min-width: 190px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 28px #0003; }
.small-nav a { display: block; padding: .68rem 1rem; }
.small-nav a + a { border-top: 1px solid var(--line); }
.cover { width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; background: var(--surface); }
.hero-photo { display: block; }
.kicker { color: var(--accent); font: 650 .85rem/1.35 var(--label); letter-spacing: .11em; text-transform: uppercase; }
.read-meta { display: flex; flex-wrap: wrap; gap: .8rem; color: var(--muted); font: 500 .85rem/1.5 var(--label); }
.read-link { display: inline-block; font-size: .92rem; font-weight: 700; }
.shelf-heading > p:not(.kicker), .card-copy p, .listing-head > p:not(.kicker) { color: var(--muted); }
.shelf-heading { display: grid; justify-items: start; align-content: start; gap: .65rem; }
.shelf-heading h2 { font-size: clamp(1.75rem, 3.1vw, 3rem); }
.card-link { display: block; text-decoration: none; }
.card-link:hover h3 { text-decoration: underline; }
.card-copy { display: grid; align-content: start; gap: .65rem; padding-block: .8rem; }
.card-copy h3 { font-size: clamp(1.18rem, 2vw, 1.62rem); }
.card-copy p { line-height: 1.45; }
.foot { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.75rem; align-items: center; padding-block: 2.2rem; }
.footer-brand a { font: 700 1.25rem/1.3 var(--display); text-decoration: none; }
.footer-brand p, .copyright { color: var(--muted); font-size: .875rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; font-size: .9rem; }
.copyright { grid-column: 1/-1; }
.crumb { margin-block: 1.4rem 2rem; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .65rem; margin: 0; padding: 0; list-style: none; }
.crumb li + li::before { content: '/'; margin-right: .55rem; color: var(--accent); }
.listing, .info { padding-bottom: 4rem; }
.listing-head { display: grid; gap: .8rem; margin: 0 0 2.5rem; padding: 1.6rem 0 2rem; border-bottom: 1px solid var(--line); }
.listing-head h1, .info h1 { font: 700 clamp(2.6rem, 6.5vw, 5.6rem)/1 var(--display); letter-spacing: -.035em; }
.category-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.6rem; }
.article-head { display: grid; gap: .85rem; }
.article-head h1 { font: 700 clamp(2.35rem, 6.1vw, 5.1rem)/1.04 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.article-deck { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.36rem); max-width: 49rem; }
.article-image { max-width: 980px; margin: 2rem auto 2.6rem; }
.reading { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 69ch); align-items: start; gap: clamp(1.5rem, 4.5vw, 4.5rem); justify-content: center; }
.toc { padding: .85rem 1rem; border: 1px solid var(--line); font-size: .89rem; min-width: 0; overflow-wrap: anywhere; }
.toc p { font-weight: 700; }
.toc ol { margin: .55rem 0 0; padding-inline-start: 1.15rem; }
.toc li + li { margin-top: .5rem; }
.prose { font: 1.063rem/1.75 var(--reading); overflow-wrap: anywhere; }
.prose h2, .prose h3 { font-family: var(--display); margin: 1.9em 0 .48em; }
.prose h2 { font-size: clamp(1.46rem, 3.15vw, 2.22rem); }
.prose h3 { font-size: 1.28rem; }
.prose p + p { margin-top: 1.02em; }
.prose li + li { margin-top: .35em; }
.prose img { max-width: 100%; }
.info .prose { max-width: 70ch; margin: 0 auto; }
.info h1 { margin-bottom: .45em; }
.updated { color: var(--muted); font: .9rem/1.4 var(--label); }
.more { margin-block: clamp(2.5rem, 6vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.more h2 { margin-bottom: 1.2rem; font: 700 clamp(1.65rem, 3vw, 2.5rem)/1.1 var(--display); }
.related-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 900px) {
  .wide-nav { display: none; }
  .small-nav { display: block; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 63px; }
  .masthead img { width: 115px; }
  .masthead span, .small-nav summary { font-size: .85rem; }
  .masthead { gap: .12rem; }
  .category-cards, .related-cards, .reading, .footer-inner { grid-template-columns: 1fr; }
  .reading { gap: 1.65rem; }
  .article-image { margin-block: 1.4rem 1.65rem; }
  .prose { font-size: 1.04rem; }
  .crumb { margin-bottom: 1.2rem; }
  .footer-inner { gap: 1.2rem; }
}

:root {
  color-scheme: dark;
  --paper: #101513;
  --surface: #202925;
  --ink: #f4f6ee;
  --muted: #b9c3b9;
  --line: #3c4c44;
  --accent: #afff60;
  --sans: 'Segoe UI', Arial, sans-serif;
  --display: 'Segoe UI', Arial, sans-serif;
  --reading: 'Segoe UI', Arial, sans-serif;
  --label: Consolas, 'Courier New', monospace;
}
.top { background: #151d19; }
.masthead span { color: var(--accent); font: 700 .85rem var(--label); text-transform: uppercase; border-left: 1px solid var(--line); padding-left: .6rem; }
.home-hero { padding-block: clamp(1.8rem, 4.7vw, 4.5rem) 2.5rem; }
.hero-intro { display: grid; grid-template-columns: 1fr minmax(14rem, 23rem); align-items: end; gap: .65rem 1.7rem; margin-bottom: 1.75rem; }
.hero-intro .kicker { grid-column: 1/-1; }
.hero-intro h1 { font: 750 clamp(2.65rem, 6.5vw, 6.15rem)/.98 var(--display); letter-spacing: -.069em; max-width: 15ch; }
.intro-deck { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.23rem); padding-bottom: .15rem; }
.hero-feature { display: grid; grid-template-columns: minmax(16rem, 29%) minmax(0, 1fr); border: 1px solid var(--line); background: var(--surface); }
.hero-photo { grid-column: 2; grid-row: 1; min-width: 0; }
.hero-photo .cover { height: 100%; min-height: 360px; max-height: 510px; }
.hero-story { display: flex; flex-direction: column; justify-content: end; align-items: start; gap: .8rem; grid-column: 1; grid-row: 1; padding: clamp(1.05rem, 2.8vw, 2.15rem); border-top: 4px solid var(--accent); }
.hero-story h2 { font-size: clamp(1.55rem, 2.7vw, 2.65rem); letter-spacing: -.033em; }
.hero-story h2 a { text-decoration: none; }
.hero-story > p:not(.kicker) { color: var(--muted); }
.hero-story .read-link { color: var(--accent); }
.shelf { border-top: 1px solid var(--line); padding-block: clamp(2rem, 4.5vw, 4rem); }
.shelf-inner { display: grid; grid-template-columns: minmax(12rem, 21%) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 3rem); }
.shelf-heading h2, .card-copy h3 { letter-spacing: -.035em; }
.shelf-heading .read-link { color: var(--accent); }
.shelf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.shelf-cards .story-card { border-top: 1px solid var(--line); padding-top: .55rem; }
.shelf-connected-home, .shelf-reliability { background: #141d18; }
.shelf-connected-home .shelf-cards, .shelf-reliability .shelf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shelf-connected-home .card-link, .shelf-reliability .card-link { display: grid; grid-template-columns: 36% 1fr; align-items: start; gap: .75rem; }
.shelf-connected-home .card-copy, .shelf-reliability .card-copy { padding-block: 0; }
.shelf-digital-life .shelf-cards, .shelf-gear .shelf-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-head { max-width: 980px; margin-inline: auto; padding-top: 1rem; }
.article-head .read-meta { border-top: 1px solid var(--line); padding-top: .8rem; }
.toc { border-left: 3px solid var(--accent); }
.article-body { color: #e3e8df; }
.article-body h2 { color: var(--ink); }
@media (max-width: 1050px) {
  .shelf-digital-life .shelf-cards, .shelf-gear .shelf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-connected-home .card-link, .shelf-reliability .card-link { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-intro, .hero-feature, .shelf-inner { grid-template-columns: 1fr; }
  .hero-photo, .hero-story { grid-column: auto; grid-row: auto; }
  .hero-photo .cover { min-height: 0; height: auto; }
  .hero-story { border-top: 0; border-left: 3px solid var(--accent); }
  .shelf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .shelf .shelf-cards { grid-template-columns: 1fr; }
  .shelf .card-link { display: grid; grid-template-columns: 35% minmax(0,1fr); gap: .65rem; align-items: start; }
  .shelf .card-copy { padding: 0; gap: .4rem; }
  .shelf .card-copy p { font-size: .9rem; }
}
