/* Springloft Studio. One family (Archivo, variable width and weight), label slabs taken from the channel's thumbnails. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #141414;
  --paper: #f5f5f2;
  --slab: #ffffff;
  --slab-ink: #141414;
  --coral: #e8715a;
  --coral-ink: #b4442f;
  --graphite: #55585d;
  --rule: #d6d7d2;
  --photo: #1b1c1e;
  --focus: #1d5fd1;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eeeeea;
    --paper: #121314;
    --slab: #f4f4f1;
    --slab-ink: #141414;
    --graphite: #a5a8ad;
    --rule: #2c2e31;
    --coral-ink: #f08c77;
    --focus: #8ab4ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--coral); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slab); color: var(--slab-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; }
@media (prefers-color-scheme: dark) { .brand img { filter: invert(1); } }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; font-weight: 600; font-stretch: 92%; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--coral); }
.nav .yt { color: var(--coral-ink); }

/* Label slabs: the channel's thumbnail type, used for page titles */
.slabs { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; position: relative; padding-left: 18px; font-weight: 800; font-stretch: 88%; line-height: 1.05; letter-spacing: -0.015em; }
.slabs::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--coral); }
.slabs > span { display: inline-block; background: var(--slab); color: var(--slab-ink); padding: 0.06em 0.22em 0.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.slabs .s1 { font-size: clamp(2.1rem, 6vw, 4.1rem); }
.slabs .s2 { font-size: clamp(1.6rem, 4.2vw, 3rem); }
.slabs .s3 { font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; font-stretch: 95%; letter-spacing: 0; }

/* Hero */
.hero { position: relative; background: var(--photo); color: #fff; overflow: hidden; }
.hero .banner, .hero .banner img { display: block; width: 100%; height: auto; }
.hero .wrap { position: relative; display: flex; flex-direction: column; gap: 24px; padding-top: 36px; padding-bottom: 48px; }
.hero .lede { max-width: 46ch; margin: 0; font-size: 1.125rem; color: #f2f2ef; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--coral); color: #141414; font-weight: 700; font-stretch: 92%; text-decoration: none; padding: 12px 18px; border: 0; }
.button:hover { background: #f0846f; }
.button svg { width: 22px; height: 22px; }

/* Page header (non-home) */
.page-head { padding: 48px 0 24px; }
.page-head .meta { color: var(--graphite); margin: 18px 0 0; }
.page-head.with-photo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.page-head.with-photo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* Sections */
main section { padding: 40px 0; }
main section + section { border-top: 1px solid var(--rule); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; font-stretch: 90%; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 8px; }
h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 92%; line-height: 1.2; margin: 0 0 6px; }
.sub { color: var(--graphite); margin: 0 0 24px; max-width: var(--measure); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1em; }

.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.intro p { font-size: 1.2rem; line-height: 1.5; margin: 0 0 0.8em; max-width: 52ch; }
.intro figure { margin: 0; }

figcaption { color: var(--graphite); font-size: 0.875rem; margin-top: 8px; }

/* Headphone picker: brand rows */
.brands { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.brands > li { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.brands > li:last-child { border-bottom: 1px solid var(--rule); }
.brand-name { font-weight: 800; font-stretch: 90%; font-size: 1.25rem; }
.models { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.models a { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-weight: 600; padding: 6px 12px 7px; background: var(--slab); color: var(--slab-ink); box-shadow: inset 0 0 0 1px var(--rule); }
.models a:hover { box-shadow: inset 4px 0 0 var(--coral), inset 0 0 0 1px var(--rule); }
.models .count { color: #5b5e63; font-weight: 500; font-size: 0.875rem; }

/* Model tiles (headphones index) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.tile a { text-decoration: none; display: block; }
.tile .ph { aspect-ratio: 16 / 9; background: var(--photo); overflow: hidden; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile h3 { margin: 12px 0 2px; }
.tile p { margin: 0; color: var(--graphite); font-size: 0.9375rem; }
.tile a:hover h3 { text-decoration: underline; text-decoration-color: var(--coral); }

/* Video list */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.video a { display: block; text-decoration: none; }
.video .th { position: relative; aspect-ratio: 16 / 9; background: var(--photo); overflow: hidden; }
.video .th img { width: 100%; height: 100%; object-fit: cover; }
.video .len { position: absolute; right: 6px; bottom: 6px; background: rgba(0, 0, 0, 0.82); color: #fff; font-size: 0.8125rem; font-weight: 600; padding: 1px 6px; }
.video .t { margin: 10px 0 2px; font-weight: 600; font-stretch: 95%; line-height: 1.3; font-size: 1rem; }
.video .m { margin: 0; color: var(--graphite); font-size: 0.875rem; }
.video a:hover .t { text-decoration: underline; text-decoration-color: var(--coral); }
.video a:hover .th::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 4px var(--coral); }

.kinds { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.kinds a { display: inline-block; text-decoration: none; padding: 6px 12px; border: 1px solid var(--rule); font-weight: 600; font-stretch: 95%; }
.kinds a:hover { border-color: var(--coral); }

.playlists { columns: 2 22rem; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.playlists li { break-inside: avoid; padding: 8px 0; border-top: 1px solid var(--rule); }
.playlists .n { color: var(--graphite); font-size: 0.875rem; }

.figure-wide { margin: 0; }
.figure-wide img { background: #fff; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair img { background: #fff; }

.related { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.related a { font-weight: 600; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 32px 0 48px; color: var(--graphite); font-size: 0.9375rem; margin-top: 24px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.site-foot p { margin: 0; }

@media (max-width: 760px) {
  .page-head.with-photo .wrap, .intro, .pair { grid-template-columns: minmax(0, 1fr); }
  .brands > li { grid-template-columns: 1fr; gap: 8px; }
  .nav { gap: 2px 16px; font-size: 0.9375rem; }
}


@media print {
  .site-head nav, .hero picture, .skip { display: none; }
  body { background: #fff; color: #000; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kinds .count { color: var(--graphite); font-weight: 500; font-size: 0.875rem; margin-left: 4px; }
.crumbs { padding-top: 16px; font-size: 0.9375rem; color: var(--graphite); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--rule); }
.crumbs + main .page-head { padding-top: 24px; }
.videos.start { grid-template-columns: minmax(0, 640px); }
.videos.start .t { font-size: 1.2rem; }
.slabs { max-width: 100%; }
.slabs > span { max-width: 100%; overflow-wrap: anywhere; }
.slabs .s1, .slabs .s2 { overflow-wrap: normal; }
@media (max-width: 760px) {
  .slabs .s1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .slabs .s2 { font-size: clamp(1.35rem, 6.4vw, 1.8rem); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-underline-offset: 0.2em; }
.text-link svg { width: 22px; height: 22px; color: var(--coral); }
.video .go { margin: 2px 0 0; color: var(--coral-ink); font-size: 0.875rem; font-weight: 600; }
.tile h2 { font-size: 1.3rem; font-weight: 700; font-stretch: 92%; line-height: 1.2; margin: 12px 0 2px; }
.page-head.with-photo .wrap { align-items: start; }
.jumps { margin-top: 20px; }
@media (max-width: 760px) {
  .hero .wrap { padding-top: 28px; }
}
.story h2 { margin-top: 36px; }
.story h2:first-child { margin-top: 0; }
.story-list { padding-left: 1.2em; margin: 0 0 1em; }
.story-list li { margin-bottom: 0.6em; }
.first-video { margin-top: 16px; font-weight: 600; }
.intro figure { position: sticky; top: 24px; }
.contact { max-width: 40rem; display: grid; gap: 6px; }
.contact label { font-weight: 600; margin-top: 12px; }
.contact input, .contact textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--graphite); padding: 10px 12px; width: 100%; border-radius: 0; }
.contact input:focus-visible, .contact textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.contact .cf-turnstile { margin-top: 16px; min-height: 65px; }
.contact .button { cursor: pointer; font-size: 1rem; }
.contact .small { color: var(--graphite); font-size: 0.875rem; max-width: 60ch; }
.form-error { background: var(--slab); color: #9b2c18; border-left: 6px solid var(--coral); padding: 10px 14px; margin: 0 0 8px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

main section.hero { padding: 0; }
