:root {
  --bg: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --sans: "Sora", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 14px/1.65 var(--sans); -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 0 28px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.mark { font-weight: 500; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; }
.nav nav { display: flex; gap: 28px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.nav nav a:hover { color: var(--ink); }

/* hero */
.hero { text-align: center; padding: 88px 28px 44px; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 18px; }
.hero h1 { font-weight: 200; font-size: clamp(38px, 7.4vw, 84px); line-height: 1.06; letter-spacing: -0.04em; margin: 0 0 24px; }
.sub { color: var(--muted); font-size: 17px; font-weight: 300; margin: 0; }

/* filters */
.filters { padding: 8px 0 8px; }
.searchrow { display: flex; align-items: flex-end; gap: 20px; border-bottom: 1px solid var(--line); }
.searchrow:focus-within { border-color: var(--ink); }
.toggle { flex: none; font: 400 13px var(--sans); letter-spacing: .02em; color: var(--ink); background: var(--soft); border: 0; border-radius: 980px; padding: 8px 18px; margin-bottom: 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.toggle:hover { background: #e8e8ed; }
.toggle b { font-weight: 500; font-size: 11px; background: var(--ink); color: #fff; border-radius: 980px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; }
.search { flex: 1; min-width: 0; width: 100%; font: 300 24px/1.3 var(--sans); letter-spacing: -0.025em; padding: 18px 0; border: 0; outline: none; background: transparent; border-radius: 0; color: var(--ink); -webkit-appearance: none; }
.search::placeholder { color: #b0b0b5; }
.controls { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 26px 0 8px; }
.sel { display: flex; flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.sel select { font: 400 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 6px 22px 6px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2386868b' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; min-width: 96px; }
.pillrow { display: flex; align-items: baseline; gap: 18px; margin-top: 16px; }
.cap { flex: 0 0 92px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: 400 13px var(--sans); color: var(--ink); background: var(--soft); border: 0; border-radius: 980px; padding: 7px 15px; cursor: pointer; transition: background .15s, color .15s; }
.pill:hover { background: #e8e8ed; }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* manufacturers */
.sec { font-weight: 300; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 56px 0 20px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px; background: transparent; margin-bottom: 40px; }
.logo-tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 34px 12px 26px; border-radius: 18px; transition: background .2s; text-align: center; }
.logo-tile:hover { background: var(--soft); }
.logo-box { height: 78px; width: 100%; display: flex; align-items: center; justify-content: center; }
.logo-box img { max-width: 64%; max-height: 74px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: opacity .2s, filter .2s; }
.logo-tile:hover .logo-box img { filter: none; opacity: 1; }
.wordmark { font-weight: 300; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-name { margin-top: 16px; font-size: 13px; font-weight: 500; }
.logo-count { font-size: 12px; color: var(--faint); }

/* results */
.results { padding-top: 24px; margin-bottom: 40px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); padding: 18px 0 22px; }
.toolbar button { font: inherit; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0; }
.toolbar button:hover { text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 44px 24px; }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 20px; }
.tile { display: block; }
.ph { position: relative; display: block; aspect-ratio: 4/3; background: var(--soft); border-radius: 14px; overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover .ph img { transform: scale(1.035); }
.ph i { position: absolute; left: 16px; bottom: 12px; font-style: normal; font-weight: 200; font-size: 40px; letter-spacing: -0.03em; line-height: 1; color: #c7c7cc; }
.ph:has(img) i { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.cap2 { display: block; padding: 14px 2px 0; }
.cap2 small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.cap2 b { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--faint); font-weight: 300; font-size: 22px; padding: 80px 0; }
.more { display: block; margin: 56px auto 0; font: 400 14px var(--sans); background: var(--soft); border: 0; border-radius: 980px; padding: 12px 28px; cursor: pointer; }
.more:hover { background: #e8e8ed; }

/* manufacturer page */
.maker-head { padding-top: 56px; padding-bottom: 24px; }
.crumb { font-size: 12px; color: var(--faint); margin: 0 0 28px; letter-spacing: .02em; }
.crumb a:hover { color: var(--ink); }
.crumb span { margin: 0 6px; }
.maker-title { display: flex; align-items: center; gap: 28px; margin-bottom: 14px; }
.maker-logo { height: 64px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); }
.maker-head h1 { font-weight: 200; font-size: clamp(34px, 6vw, 64px); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }

/* concept page */
.detail { padding-top: 40px; }
.d-head { padding: 28px 0 44px; max-width: 820px; }
.d-head h1 { font-weight: 200; font-size: clamp(32px, 5.8vw, 66px); letter-spacing: -0.035em; line-height: 1.06; margin: 0 0 26px; }
.lede { font-size: 20px; font-weight: 300; line-height: 1.5; color: #3a3a3c; margin: 0; letter-spacing: -0.01em; }
.credit { font-size: 11px; color: var(--faint); margin: 16px 0 0; line-height: 1.5; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.gallery { margin-top: 8px; }
.stage { position: relative; aspect-ratio: 16 / 10; max-height: 74vh; width: 100%; background: var(--soft); border-radius: 22px; overflow: hidden; }
.stage-link { position: absolute; inset: 0; display: block; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.gallery.loading .stage img { opacity: .55; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); background: rgba(255,255,255,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 8px rgba(0,0,0,.12); transition: background .2s, transform .2s; }
.arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.arrow.prev { left: 16px; }
.arrow.next { right: 16px; }
.count { position: absolute; right: 16px; bottom: 14px; z-index: 2; font-size: 12px; letter-spacing: .06em; color: #fff; background: rgba(0,0,0,.42); padding: 3px 10px; border-radius: 980px; }
.gcap { font-size: 11px; color: var(--faint); margin: 10px 4px 0; line-height: 1.4; min-height: 16px; }
.gcap a { text-decoration: underline; text-underline-offset: 2px; }
.strip { display: flex; gap: 12px; margin-top: 18px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 auto; width: 104px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--soft); cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.strip-item:hover { opacity: .9; }
.strip-item[aria-selected="true"] { opacity: 1; outline-color: var(--ink); }
.strip-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery .credit { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin: 64px 0 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 6px 0 0; font-size: 20px; font-weight: 300; letter-spacing: -0.01em; }
.facts a:hover { text-decoration: underline; }
.block { padding-top: 64px; }
.block h2 { font-weight: 300; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 0 0 22px; }
.prod-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prod-list li { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; padding: 20px 0; border-bottom: 1px solid var(--line); }
.prod-list .y { font-weight: 200; font-size: 28px; letter-spacing: -0.03em; color: var(--faint); min-width: 70px; }
.prod-list strong { font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.prod-list .n { color: var(--muted); }
.none { color: var(--faint); margin: 0; }
.links { display: flex; flex-wrap: wrap; gap: 16px; }
.links a { display: block; background: var(--soft); border-radius: 18px; padding: 22px 28px; min-width: 260px; font-weight: 500; transition: background .2s; }
.links a:hover { background: #ebebef; }
.links span { display: block; font-weight: 400; font-size: 12px; color: var(--faint); margin-top: 4px; }

.foot { margin-top: 120px; border-top: 1px solid var(--line); padding: 32px 0 56px; color: var(--faint); font-size: 11px; line-height: 1.7; }

@media (max-width: 640px) {
  .wrap, .nav-in { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 72px; }
  .search { font-size: 22px; }
  .pillrow { flex-direction: column; gap: 8px; }
  .cap { flex: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .grid.small { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .lede { font-size: 17px; }
  .maker-title { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.more-makers { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 40px; font-size: 14px; font-weight: 300; line-height: 1.4; }
.more-makers a { color: var(--muted); transition: color .15s; }
.more-makers a:hover { color: var(--ink); }
.more-makers small { font-size: 11px; color: var(--faint); margin-left: 5px; }

/* single-colour logos: shown as a grey mask, filled with the brand colour on hover */
.logo-tint { display: block; width: 64%; height: 70px; background: #6e6e73; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background-color .25s; }
.logo-tile:hover .logo-tint { background: var(--tint); }
.maker-tint { width: 120px; height: 64px; -webkit-mask-position: left center; mask-position: left center; }
.sub a.plain { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.sub a.plain:hover { text-decoration-color: var(--ink); }
.nophoto a { text-decoration: underline; text-underline-offset: 2px; }

.yt { position: relative; display: block; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; margin-bottom: 8px; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); }
.yt-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid #1d1d1f; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
iframe.yt { cursor: default; }
.detail .gcap { margin-bottom: 24px; }
@media (max-width: 600px) { .search { font-size: 17px; } }
