/* The showcase: a neutral graphite wall so each concept keeps its own voice. */
@font-face { font-family: "Plex Sans"; src: url("../assets/fonts/plexsans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../assets/fonts/plexsans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../assets/fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../assets/fonts/bigshoulders-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root { --wall: #15171a; --panel: #1f2226; --rule: #3a3f46; --text: #f2f3f4; --soft: #b4bac2; --a: #0b5e99; --b: #ff5b14; --pad: clamp(1rem, 4vw, 3rem); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--text); font: 400 1.0625rem/1.6 "Plex Sans", system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.skip { position: absolute; left: -999px; background: #fff; color: #000; padding: .7rem 1rem; z-index: 9; }
.skip:focus { left: .5rem; top: .5rem; }
.eyebrow { font: 500 .78rem/1.4 "Plex Mono", monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); margin-bottom: 1rem; }
.demo { display: inline-block; border: 1px solid var(--text); color: var(--text); border-radius: 99px; padding: .05rem .6rem; margin-right: .5rem; }
main > section, .masthead, .end { max-width: 96rem; margin-inline: auto; padding-inline: var(--pad); }
main > section { padding-block: clamp(2.5rem, 6vw, 5rem); }
h2 { font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.intro { max-width: 46rem; color: var(--soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

.masthead { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.masthead h1 { font-weight: 600; font-size: clamp(2.5rem, 7.4vw, 6.75rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 1.5rem; max-width: 14ch; }
.masthead h1 span { color: var(--soft); }
.masthead nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.masthead nav a { border: 1px solid var(--rule); border-radius: 99px; padding: .5rem 1.1rem; text-decoration: none; font-weight: 600; font-size: .95rem; }
.masthead nav a:hover { background: var(--text); color: var(--wall); }

.heroes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); padding-block: 0 !important; }
.hero-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.hero-shot img { width: 100%; }
.hero-shot span { position: absolute; right: 1rem; bottom: 1rem; background: rgba(21, 23, 26, .92); padding: .45rem .9rem .45rem .45rem; border-radius: 99px; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.hero-shot b, .badge { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; font: 500 .85rem "Plex Mono", monospace; color: #15171a; }
.hero-a b, .badge-a { background: var(--a); color: #fff; }
.hero-b b, .badge-b { background: var(--b); }
.hero-shot:hover { transform: translateY(-6px); }
.hero-a { transform-origin: bottom right; }

.concepts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.concept { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: flex-start; }
.concept h2 { margin-bottom: 1.25rem; }
.name-a { font-family: "Big Shoulders", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .9; letter-spacing: .005em; color: var(--text); }
.name-b { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.3rem, 5.2vw, 4.75rem); line-height: .95; letter-spacing: -.02em; color: var(--b); }
.idea { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; margin-bottom: .8rem; max-width: 36rem; }
.feel { color: var(--soft); margin-bottom: 1.5rem; }
.open { display: inline-flex; align-items: center; min-height: 3rem; padding: .6rem 1.4rem; border-radius: 99px; font-weight: 600; text-decoration: none; color: #15171a; margin-bottom: 2rem; transition: transform .15s; }
.open::after { content: "→"; margin-left: .6rem; }
.open:hover { transform: translateX(4px); }
.open-a { background: var(--a); color: #fff; }
.open-b { background: var(--b); }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; width: 100%; border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: auto; }
.spec h3 { font: 500 .78rem "Plex Mono", monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); margin-bottom: .9rem; }
.swatches li { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: .8rem; padding: .3rem 0; font-size: .92rem; }
.swatches i { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.swatches b { font-weight: 600; }
.swatches span { font: 500 .78rem "Plex Mono", monospace; color: var(--soft); }
.types li { padding: .35rem 0 .7rem; }
.types b { display: block; font-size: 1.5rem; line-height: 1.15; font-weight: 400; }
.types span { color: var(--soft); font-size: .88rem; }
.type-a-0 b { font-family: "Big Shoulders", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 2rem; }
.type-a-2 b { font-family: "Plex Mono", monospace; font-size: 1.2rem; }
.type-b-0 b { font-family: "Archivo", sans-serif; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.3rem; }
.type-b-1 b { font-family: "Archivo", sans-serif; }
.type-b-2 b { font-family: "Archivo", sans-serif; font-weight: 700; font-stretch: 62%; text-transform: uppercase; letter-spacing: .08em; font-size: 1.3rem; }

.table-wrap { border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 1.1rem clamp(.9rem, 2vw, 1.6rem); border-top: 1px solid var(--rule); }
thead th, thead td { border-top: 0; font-weight: 600; font-size: 1.1rem; }
thead .badge { margin-right: .5rem; }
tbody th { font: 500 .78rem/1.5 "Plex Mono", monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); width: 17%; }
tbody td { width: 41.5%; }

.page-row { padding-top: clamp(2.25rem, 5vw, 4rem); }
.page-row > h3 { font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.01em; border-top: 1px solid var(--rule); padding-top: 1.1rem; margin-bottom: 1.25rem; }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.pair-name { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin-bottom: .9rem; }
.pair-name a { margin-left: auto; font-weight: 400; font-size: .92rem; color: var(--soft); }
.pair-name a:hover { color: var(--text); }
.devices { display: grid; grid-template-columns: minmax(0, 1fr) clamp(6.5rem, 22%, 10.5rem); gap: clamp(.6rem, 1.4vw, 1.1rem); align-items: end; }
.desk { background: #2a2e33; border-radius: 10px; overflow: hidden; border: 1px solid var(--rule); }
.desk-bar { display: flex; align-items: center; gap: .35rem; padding: .45rem .7rem; }
.desk-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #5b626b; }
.desk-bar span { margin-left: .6rem; flex: 1; min-width: 0; background: #15171a; border-radius: 99px; padding: .15rem .8rem; font: 500 .68rem "Plex Mono", monospace; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen { overflow-y: auto; overscroll-behavior: contain; background: #fff; scrollbar-width: thin; }
.screen img { width: 100%; }
.desk .screen { aspect-ratio: 1440 / 900; }
.phone { background: #0b0c0e; border: 1px solid var(--rule); border-radius: clamp(14px, 2vw, 26px); padding: clamp(5px, .7vw, 9px); }
.phone .screen { aspect-ratio: 390 / 800; border-radius: clamp(10px, 1.5vw, 19px); }

.notes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; max-width: 70rem; }
.notes li { border-top: 1px solid var(--rule); padding-top: 1rem; color: var(--soft); }
.notes b { color: var(--text); }
code { font: 500 .88em "Plex Mono", monospace; }
.end { border-top: 1px solid var(--rule); padding-block: 1.5rem 3rem; font: 500 .75rem "Plex Mono", monospace; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 60rem) {
  .heroes, .concepts, .pairs, .notes ul { grid-template-columns: minmax(0, 1fr); }
  .pair + .pair { margin-top: 1rem; }
}
@media (max-width: 40rem) {
  .spec { grid-template-columns: minmax(0, 1fr); }
  table, tbody, tr, th, td { display: block; width: 100% !important; }
  thead { display: none; }
  tbody th { padding-bottom: 0; }
  tbody td { border-top: 0; padding-top: .5rem; padding-bottom: .5rem; }
  tbody td::before { display: block; font-weight: 600; color: var(--soft); font-size: .85rem; }
  tbody td:nth-child(2)::before { content: "A · To Scale"; color: var(--text); }
  tbody td:nth-child(3)::before { content: "B · Game Day"; color: var(--b); }
  tbody td:last-child { padding-bottom: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-shot, .open { transition: none; } }
