/* PM-2, the about page. Black, quiet, one idea a screen. */
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-ExtraLight.woff") format("woff"); font-weight: 200; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #000; --tile: #111113; --tile-2: #161618; --line: rgba(255,255,255,.12);
  --fg: #f5f5f7; --dim: #86868b; --dim-2: #6e6e73;
  --orange: #ff6a24; --orange-2: #ff8a4c; --oled: #8fe6ff;
  --good: #7ddc8a; --fair: #ffc24a; --bad: #ff5a4a;
  --case: #d8d6d0;
  --sans: "Inter Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px; --gut: max(22px, env(safe-area-inset-left));
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.47 var(--sans); letter-spacing: -.011em;
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "ss01", "cv11"; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; }

/* the local nav: name on the left, the sections and a pill on the right; frosted once the page moves under it */
.lnav { position: sticky; top: 0; z-index: 10; height: 52px; transition: background .3s, box-shadow .3s; padding-top: env(safe-area-inset-top); }
.lnav.stuck { background: rgba(0,0,0,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 var(--line); }
.lnav-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.lnav-name { font-weight: 500; font-size: 21px; letter-spacing: -.02em; text-decoration: none; }
.lnav-links { display: flex; align-items: center; gap: 26px; font-size: 12.5px; }
.lnav-links a { text-decoration: none; color: rgba(245,245,247,.82); transition: color .2s; }
.lnav-links a:hover { color: #fff; }
.pill { background: var(--orange); color: #fff !important; padding: 5px 13px 6px; border-radius: 980px; font-weight: 500; transition: background .2s; }
.pill:hover { background: var(--orange-2); }
.lnav .pill { transition: opacity .3s, background .2s; }
.lnav:not(.stuck) .pill { opacity: 0; pointer-events: none; }
.lnav-links a[aria-current] { color: #fff; }
.lnav-links { letter-spacing: 0; }

/* the opening: name, two lines, a sentence, then the box */
.hero { position: relative; margin-top: -52px; padding: calc(52px + clamp(40px, 5.5vh, 72px)) 0 8px; text-align: center; }
.hero-copy { padding: 0 var(--gut); }
.eyebrow { margin: 0 0 10px; font-weight: 500; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.01em; color: var(--orange); }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(50px, 8.4vw, 96px); line-height: 1.0; }
h2 { font-size: clamp(34px, 6.4vw, 80px); line-height: 1.04; }
.hero-sub { text-wrap: balance; margin: 18px auto 0; max-width: 34em; font-size: clamp(19px, 2vw, 24px); line-height: 1.33; color: var(--dim); letter-spacing: -.012em; }
.ctas { display: flex; gap: 26px; justify-content: center; align-items: center; margin: 26px 0 0; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 23px 13px; border-radius: 980px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 500; text-decoration: none; letter-spacing: -.01em;
       transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--orange-2); }
.btn:active { transform: scale(.97); }
.more { color: var(--orange-2); text-decoration: none; font-size: 17px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.hero-fig { margin: clamp(16px, 2.5vh, 28px) 0 0; overflow: hidden; }
@media (min-width: 701px) { .hero-fig img { aspect-ratio: 2.35 / 1; object-fit: cover; object-position: 50% 66%; } }
.hero-fig img { width: 100%; height: auto; transform-origin: 50% 30%; will-change: transform; }
.status { margin: 18px auto 0; padding: 0 var(--gut); max-width: 44em; font-size: 13px; line-height: 1.5; color: var(--dim); letter-spacing: 0; }

/* chapters */
.chap { padding: clamp(110px, 16vh, 180px) 0 0; }
.lede { margin: 24px 0 0; max-width: 30em; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.35; color: var(--dim); font-weight: 400; letter-spacing: -.013em; }
.lede strong { color: var(--fg); font-weight: 500; }
.frame { margin: clamp(48px, 8vh, 80px) auto 0; width: min(1440px, 100% - 2 * var(--gut)); border-radius: 30px; overflow: hidden; background: var(--tile); }
.frame img { width: 100%; height: auto; }
@media (min-width: 701px) { .frame img { aspect-ratio: 16 / 9; object-fit: cover; } }

/* the big reading */
.bignum { margin: clamp(56px, 9vh, 96px) 0 0; }
.bignum .n { margin: 0; font-weight: 200; font-size: clamp(96px, 17vw, 220px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
             background: linear-gradient(180deg, #fff 30%, #9a9aa0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bignum .u { font-size: .42em; letter-spacing: -.02em; margin-left: .08em; }
.bignum .eq { margin: 18px 0 0; font: 400 15px/1 var(--mono); color: var(--dim); letter-spacing: .02em; }
.bignum .eq span { color: var(--dim-2); margin: 0 .4em; }

/* tiles */
.tile { background: var(--tile); border-radius: 28px; padding: 34px 32px 32px; }
.k { margin: 22px 0 0; font-weight: 500; font-size: clamp(34px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1; }
.kd { margin: 8px 0 0; color: var(--dim); font-size: 15px; line-height: 1.4; }
.verdicts { list-style: none; margin: clamp(48px, 8vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.verdicts img, .oled img { width: 100%; height: auto; border-radius: 10px; background: #000; padding: 6% 5%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); image-rendering: auto; }
.v { margin: 0 0 18px; font-weight: 500; font-size: 15px; letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; }
.v::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.v.good { color: var(--good); } .v.fair { color: var(--fair); } .v.bad { color: var(--bad); }
.aside { margin: 28px 0 0; max-width: 36em; color: var(--dim); font-size: 17px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .lede { max-width: 22em; }

/* the wide picture between chapters */
.full { position: relative; margin: clamp(110px, 16vh, 180px) 0 0; height: min(78vh, 760px); overflow: hidden; background: #000; }
.full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
@media (max-width: 700px) { .full img { transform: scale(1.035); object-position: 62% 50%; } }
.full-cap { z-index: 1; text-wrap: balance; position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 56px); margin: 0; text-align: center; font-weight: 500; font-size: clamp(24px, 3vw, 36px);
            letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(0,0,0,.6); padding: 0 var(--gut); }
.full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0, transparent 22%, transparent 62%, rgba(0,0,0,.75) 100%); pointer-events: none; }

/* the design bento */
.bento { margin-top: clamp(48px, 8vh, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-img { grid-column: span 2; padding: 0; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; }
.b-img img { width: 100%; height: 100%; object-fit: cover; }
.b-img, .b-side { background: #000; }
.bento .b-img img { transform: scale(1.22); }
.b-side { margin: 0; padding: 0; overflow: hidden; }
.b-side img { width: 100%; height: 100%; object-fit: contain; }
picture { display: contents; }
h3 { margin: 0; font-weight: 500; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.split.apart { margin-top: 24px; grid-template-columns: 1fr 1fr; }
.apart .b-img { grid-column: auto; aspect-ratio: 4 / 5; }
.apart .lede { max-width: 20em; }
.b-fact { display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; }
.b-fact .k { margin-top: 0; }

/* specs */
.specs { padding: clamp(120px, 18vh, 200px) 0 0; }
.specs h2 { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.spec-grid { margin: 0; }
.spec-grid div { display: grid; grid-template-columns: minmax(150px, 1fr) 2.4fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.spec-grid dt { font-weight: 500; font-size: 19px; letter-spacing: -.015em; }
.spec-grid dd { margin: 0; color: var(--dim); font-size: 17px; line-height: 1.6; }

/* the end */
.end { padding: clamp(120px, 18vh, 200px) 0 clamp(100px, 14vh, 160px); text-align: center; }
.end .lede { margin-left: auto; margin-right: auto; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--dim); font-size: 12px; line-height: 1.55; letter-spacing: 0; }
.foot p { margin: 0 0 10px; max-width: 60em; }
.foot a { color: var(--fg); }
.nb { white-space: nowrap; }

/* coming into view: a short rise and fade (only when script runs; without it everything simply shows) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero .rv:not(.in) { transform: translateY(14px); }
.js .hero .rv:nth-child(2) { transition-delay: .08s; } .js .hero .rv:nth-child(3) { transition-delay: .16s; } .js .hero .rv:nth-child(4) { transition-delay: .24s; }
.js .verdicts .rv:nth-child(2) { transition-delay: .1s; } .js .verdicts .rv:nth-child(3) { transition-delay: .2s; }
.js .spec-grid .rv:not(.in) { transform: translateY(12px); }
.js .frame.rv:not(.in) { transform: translateY(40px) scale(.985); }
.js .frame.rv.in { transform: none; }

/* phones and narrow windows */
@media (max-width: 834px) {
  .lnav-links a:not(.pill) { display: none; }
  .lnav .pill { padding: 9px 16px 10px; font-size: 14px; }
  .verdicts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .verdicts::-webkit-scrollbar { display: none; }
  .verdicts li { flex: 0 0 84%; scroll-snap-align: center; }
  .js .verdicts .rv { opacity: 1; transform: none; transition: none; }
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; gap: 14px; }
  .b-img { grid-column: span 2; aspect-ratio: 4 / 3; }
  .b-side { grid-column: span 2; aspect-ratio: 1 / 1; } .b-side img { object-fit: cover; object-position: 50% 62%; }
  .split.apart { grid-template-columns: 1fr; }
  .apart .b-img { grid-column: auto; }
  .b-fact { min-height: 0; }
  .bento .b-fact:last-child { grid-column: span 2; }
  .tile { border-radius: 22px; padding: 26px 22px 24px; }
  .tile.b-img, .tile.b-side { padding: 0; }
  .full-cap { bottom: 28px; }
  .frame { border-radius: 20px; }
  .spec-grid div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .full { height: 62vh; }
  .br-w { display: none; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .ctas { gap: 18px; }
  .k { font-size: 30px; }
}

/* the film: a poster with one round play button; it plays in place with the browser's own controls */
.film { padding: clamp(110px, 16vh, 180px) 0 0; }
.film h2 { text-align: left; }
.film-frame { position: relative; margin: clamp(40px, 6vh, 64px) auto 0; width: min(1440px, 100% - 2 * var(--gut), (100vh - 170px) * 16 / 9); aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden;
              background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.film-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.film-play { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); display: flex; align-items: center; gap: 12px; border: 0;
             padding: 8px 20px 8px 8px; border-radius: 980px; background: rgba(28,28,30,.55); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
             box-shadow: inset 0 0 0 .5px rgba(255,255,255,.22); color: #fff; cursor: pointer; font: inherit; transition: opacity .4s var(--ease), background .3s; }
.film-play:hover { background: rgba(44,44,48,.62); }
.film-play .tri { width: 40px; height: 40px; border-radius: 50%; background: #fff; position: relative; flex: none; transition: transform .35s var(--ease); }
.film-play .tri::after { content: ""; position: absolute; left: 16px; top: 12.5px; border-style: solid; border-width: 7.5px 0 7.5px 12px; border-color: transparent transparent transparent #000; }
.film-play:hover .tri { transform: scale(1.06); }
.film-play .lbl { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.film-play .lbl i { font-style: normal; color: rgba(255,255,255,.6); margin-left: 6px; font-variant-numeric: tabular-nums; }
.film-frame { cursor: pointer; }
.film-frame.on { cursor: auto; }
.film-frame.on .film-play { opacity: 0; pointer-events: none; }
.film-cap { text-align: center; margin: 16px auto 0; padding: 0 var(--gut); color: var(--dim); font-size: 12px; letter-spacing: 0; }
.more.play-link::after { content: " ▸"; }
@media (max-width: 834px) {
  .film-frame { border-radius: 18px; }
  .film-play { padding: 6px 15px 6px 6px; gap: 9px; }
  .film-play .tri { width: 32px; height: 32px; } .film-play .tri::after { left: 13px; top: 10px; border-width: 6px 0 6px 9.5px; }
  .film-play .lbl { font-size: 14px; }
}
