/* jorven.de — Chrome Aurora.
   Nothin' × Ardor × Onoera: dot-matrix, serif, aurora, chrome. */

@font-face {
  font-family: "Doto";
  src: url("../fonts/doto-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #08090d;
  --ink: #f3f2ec;
  --dim: #918f88;
  --line: rgba(243, 242, 236, .16);
  --paper: #efeee7;
  --paper-ink: #101010;
  --paper-dim: #6b6a63;
  --mint: #5ff5c8;
  --blue: #3f9dff;
  --violet: #a78bfa;
  --pink: #ff9ecb;
  --peach: #ffc98a;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  --doto: "Doto", ui-monospace, monospace;
  --pad: clamp(18px, 3.4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--mint); color: #06110d; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.skip {
  position: absolute; left: 10px; top: -100px; z-index: 200;
  padding: 10px 14px; border-radius: 999px;
  background: var(--mint); color: #06110d;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.skip:focus { top: 10px; }

.wrap { width: min(1480px, 100%); margin: 0 auto; padding-inline: var(--pad); }

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--pad);
}
.nav-mark {
  display: flex; align-items: baseline; gap: 2px;
  font-family: var(--doto); font-weight: 900; font-size: 20px;
  letter-spacing: -.02em; text-transform: uppercase;
  text-shadow: 0 0 22px rgba(0, 0, 0, .55);
}
.nav-mark sup { font-family: var(--mono); font-size: 8px; letter-spacing: 0; transform: translateY(-6px); }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.monogram {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: grid; place-items: center;
  width: 82px; height: 44px;
  background: var(--bg);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 16px 16px;
  font-family: var(--serif); font-size: 24px; letter-spacing: .02em;
  color: var(--ink);
  transition: background .25s, color .25s;
}
.monogram:hover { background: var(--mint); color: #06110d; }
.nav-pill {
  display: flex; align-items: center; gap: 2px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 11, .42);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav-pill a {
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
  transition: color .25s, background .25s;
}
.nav-pill a:hover { color: var(--ink); background: rgba(243, 242, 236, .08); }
.nav-cta {
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #0a0a0b;
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  transition: transform .25s, background .25s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--mint); }

@media (max-width: 860px) {
  .nav-pill { display: none; }
  .monogram { width: 64px; height: 38px; font-size: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
  overflow: hidden;
  isolation: isolate;
}
.aurora { position: absolute; inset: -20% -10%; z-index: -3; filter: blur(70px) saturate(1.15); opacity: .85; }
.aurora i { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) {
  width: 46vw; height: 46vw; left: 52%; top: 4%;
  background: radial-gradient(circle, rgba(95, 245, 200, .85), rgba(63, 157, 255, .35) 55%, transparent 72%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 38vw; height: 38vw; left: 18%; top: 22%;
  background: radial-gradient(circle, rgba(167, 139, 250, .7), rgba(255, 158, 203, .28) 58%, transparent 74%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 34vw; height: 34vw; right: 4%; top: 38%;
  background: radial-gradient(circle, rgba(63, 157, 255, .55), transparent 70%);
  animation: drift-c 29s ease-in-out infinite alternate;
}
.aurora i:nth-child(4) {
  width: 26vw; height: 26vw; left: 40%; top: 2%;
  background: radial-gradient(circle, rgba(255, 201, 138, .5), transparent 70%);
  animation: drift-b 24s ease-in-out infinite alternate-reverse;
}
.aurora i:nth-child(5) {
  width: 70vw; height: 40vw; left: 12%; top: 34%;
  background: radial-gradient(ellipse, rgba(38, 78, 132, .55), rgba(10, 18, 32, .2) 58%, transparent 76%);
  animation: drift-c 34s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { to { transform: translate3d(-6%, 8%, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(7%, -5%, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(-4%, -9%, 0) scale(1.2); } }

.ribbon {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
  opacity: .8;
  pointer-events: none;
}

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero-meta {
  position: absolute; left: var(--pad); right: var(--pad); top: 104px; z-index: 2;
  display: flex; justify-content: space-between; gap: 20px;
  color: rgba(243, 242, 236, .72);
}
.hero-meta span:nth-child(2) { text-align: right; }
.hero-meta b { color: var(--mint); font-weight: 400; }

.hero-wordbox { position: relative; z-index: 1; padding-inline: var(--pad); }
.hero-word {
  position: relative; z-index: 1;
  display: inline-block;
  margin: 0;
  font-family: var(--doto);
  font-weight: 900;
  font-size: clamp(84px, 24vw, 400px);
  line-height: .62;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(103deg, #fff 0%, #e9fff8 30%, #d6e8ff 52%, #ecdcff 70%, #fff6e8 88%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 60px rgba(95, 245, 200, .13));
}
.hero-word::after {
  content: ""; position: absolute; z-index: -1;
  left: 42%; right: 2%; top: 24%; bottom: -12%;
  background:
    radial-gradient(circle at 38% 44%, rgba(255, 255, 255, .9) 0 3%, transparent 4%),
    radial-gradient(circle at 58% 30%, rgba(167, 139, 250, .9) 0 9%, transparent 10%),
    radial-gradient(circle at 72% 62%, rgba(63, 157, 255, .8) 0 12%, transparent 13%),
    conic-gradient(from 210deg, #0a0a0b, #6a6a86 14%, #fff 28%, #4a4a68 44%, #0a0a0b 62%, #b9b9d9 80%, #0a0a0b);
  border-radius: 54% 46% 38% 62% / 48% 58% 42% 52%;
  filter: blur(16px) contrast(1.22) saturate(1.1);
  opacity: .62;
  mix-blend-mode: screen;
}

.hero-bottom {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 40px;
  padding: 26px var(--pad) 30px;
  border-top: 1px solid rgba(243, 242, 236, .18);
  margin-top: clamp(20px, 3vw, 44px);
}
.hero-kicker { position: absolute; left: var(--pad); top: -34px; color: rgba(243, 242, 236, .75); }
.hero-claim {
  margin: 0; max-width: 22ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.1vw, 48px);
  line-height: .98; letter-spacing: -.015em;
}
.hero-claim em { color: var(--mint); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--ink); color: #0a0a0b;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.cta span { transition: transform .25s; }
.cta:hover { background: var(--mint); transform: translateY(-2px); }
.cta:hover span { transform: translateX(3px); }
.cta.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(243, 242, 236, .34); }
.cta.ghost:hover { background: rgba(243, 242, 236, .08); }

.badge {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid rgba(243, 242, 236, .3);
  display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(243, 242, 236, .8);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero { min-height: 92svh; padding-top: 96px; }
  .hero-wordbox { margin-bottom: 18px; }
  .hero-meta span:nth-child(2) { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero-actions { justify-content: flex-start; }
  .badge { display: none; }
}

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 11px 0; background: rgba(10, 10, 11, .6); }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: tick 42s linear infinite; }
.ticker span { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.ticker b { color: var(--ink); font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.sec-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: clamp(26px, 4vw, 48px);
}
.sec-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.sec-head h2 em { font-style: italic; color: var(--dim); }
.sec-head .mono { color: var(--dim); }

/* Statement */
.statement { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.statement h2 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 78px);
  line-height: .98; letter-spacing: -.025em;
  max-width: 19ch;
}
.statement h2 em { font-style: italic; color: var(--mint); }
.statement .col p { margin: 0 0 18px; color: #b6b4ac; font-size: 15px; line-height: 1.6; max-width: 42ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 26px; }
.facts div { background: var(--bg); padding: 14px 16px; }
.facts b { display: block; font-family: var(--doto); font-size: 26px; font-weight: 900; line-height: 1; }
.facts span { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } }

/* Live rows */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 52px minmax(0, 1.4fr) minmax(0, .9fr) 90px 34px;
  align-items: center; gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(95, 245, 200, .14), rgba(63, 157, 255, .09) 45%, rgba(167, 139, 250, .14));
  opacity: 0; transition: opacity .3s;
}
.row:hover { padding-inline: 18px 10px; }
.row:hover::before { opacity: 1; }
.row-num { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--dim); }
.row-name { font-size: clamp(20px, 2.3vw, 32px); letter-spacing: -.035em; line-height: 1.05; }
.row-domain { display: block; margin-top: 5px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--dim); text-transform: lowercase; }
.row-desc { font-size: 13px; line-height: 1.45; color: #a5a39b; }
.row-state { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); white-space: nowrap; }
.row-arrow { justify-self: end; font-size: 18px; color: var(--dim); transition: transform .3s, color .3s; }
.row:hover .row-arrow { transform: translate(3px, -3px); color: var(--ink); }
@media (max-width: 860px) {
  .row { grid-template-columns: 34px 1fr 26px; gap: 8px 12px; }
  .row-desc { grid-column: 2 / -1; }
  .row-state { display: none; }
}

/* Index cards */
.index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.idx {
  background: var(--bg); padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 26px;
  transition: background .3s, box-shadow .3s;
  border-radius: 18px;
}
.idx:hover { background: #121214; box-shadow: 0 0 0 1px rgba(95, 245, 200, .18); }
.idx-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); }
.idx h3 { margin: 0; font-size: clamp(18px, 1.9vw, 24px); letter-spacing: -.03em; font-weight: 500; }
.idx p { margin: 6px 0 0; font-size: 13px; color: #9d9b93; line-height: 1.5; max-width: 38ch; }
.idx-bar { height: 2px; background: linear-gradient(90deg, var(--mint), var(--blue), var(--violet)); opacity: .5; width: 34%; transition: width .4s; border-radius: 999px; }
.idx:hover .idx-bar { width: 100%; }
@media (max-width: 760px) { .index-grid { grid-template-columns: 1fr; } }

/* Apps (light) */
.light { background: var(--paper); color: var(--paper-ink); }
.light .sec-head { border-color: rgba(16, 16, 16, .18); }
.light .sec-head .mono { color: var(--paper-dim); }
.light .sec-head h2 em { color: #8b8a80; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app {
  position: relative; overflow: hidden;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  transition: transform .35s, box-shadow .35s;
}
.app:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(8, 9, 13, .45); }
.app-glow { position: absolute; right: -30%; top: -45%; width: 90%; aspect-ratio: 1; border-radius: 50%; filter: blur(34px); opacity: .5; transition: opacity .35s, transform .35s; }
.app:hover .app-glow { opacity: .8; transform: scale(1.15); }
.app:nth-child(1) .app-glow { background: radial-gradient(circle, var(--peach), transparent 68%); }
.app:nth-child(2) .app-glow { background: radial-gradient(circle, var(--violet), transparent 68%); }
.app:nth-child(3) .app-glow { background: radial-gradient(circle, var(--mint), transparent 68%); }
.app:nth-child(4) .app-glow { background: radial-gradient(circle, var(--pink), transparent 68%); }
.app:nth-child(5) .app-glow { background: radial-gradient(circle, var(--blue), transparent 68%); }
.app:nth-child(6) .app-glow { background: radial-gradient(circle, var(--mint), var(--blue) 40%, transparent 70%); }
.app-top { position: relative; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); }
.app h3 { position: relative; margin: 0; font-size: 21px; letter-spacing: -.03em; font-weight: 500; }
.app p { position: relative; margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #55544d; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .apps { grid-template-columns: 1fr; } .app { min-height: 180px; } }

/* Info */
.info { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.info h2 {
  margin: 0 0 22px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 72px); line-height: .98; letter-spacing: -.025em;
  max-width: 16ch;
}
.info h2 em { font-style: italic; color: var(--mint); }
.info p { margin: 0 0 16px; color: #b6b4ac; font-size: 15px; line-height: 1.65; max-width: 48ch; }
.info-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.info-list dd { margin: 0; font-size: 13px; text-align: right; }
.info-list a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) { .info { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { padding: clamp(50px, 8vw, 100px) 0 26px; border-top: 1px solid var(--line); }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 34px; }
.foot-cta h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; letter-spacing: -.02em; }
.foot-cta h2 em { font-style: italic; color: var(--mint); }
.foot-word {
  display: block; width: max-content;
  margin: 0; padding-top: 8px;
  font-family: var(--doto); font-weight: 900;
  font-size: clamp(78px, 21.6vw, 340px); line-height: .62; letter-spacing: -.01em;
  text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 236, .4);
}
.foot-simple { padding-bottom: 26px; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); }
.foot-meta a:hover { color: var(--ink); }

/* ---------- Legal & 404 ---------- */
.legal { padding: clamp(110px, 12vw, 170px) var(--pad) 70px; max-width: 900px; }
.legal .kicker { color: var(--dim); margin-bottom: 14px; }
.legal h1 {
  margin: 0 0 28px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 8vw, 110px);
  line-height: .92; letter-spacing: -.03em;
}
.legal h1 em { font-style: italic; color: var(--mint); }
.legal p { color: #b6b4ac; margin: 0 0 14px; max-width: 62ch; line-height: 1.65; }
.legal h2 {
  margin: 38px 0 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint);
}
.legal ul { margin: 0 0 16px; padding-left: 18px; color: #b6b4ac; max-width: 62ch; }
.legal li { margin-bottom: 5px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }

.error {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 70px;
  overflow: hidden;
  isolation: isolate;
}
.error .aurora { opacity: .55; }
.error .kicker { color: var(--dim); margin-bottom: 10px; }
.error h1 {
  margin: 0;
  font-family: var(--doto); font-weight: 900;
  font-size: clamp(150px, 34vw, 440px);
  line-height: .66; letter-spacing: .01em;
  background: linear-gradient(103deg, #fff, #d6e8ff 45%, #ecdcff 70%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error p { max-width: 44ch; color: #b6b4ac; margin: 24px 0 28px; }
.error .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker { overflow-x: auto; }
}

@media (max-width: 720px) {
  .sec-head { flex-wrap: wrap; gap: 8px; }
  .sec-head .mono { display: none; }
  .section { padding: 56px 0; }
}

/* Featured row (portfolio) and index filter. */
.row-feature .row-name { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.02em; }
.row-feature { border-left: 2px solid var(--mint); padding-left: 16px; }
.filters { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.js .filters { display: flex; }
.chip {
  font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--dim); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--ink); border-color: rgba(243, 242, 236, .4); }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--mint); border-color: var(--mint); }
.chip:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.idx[hidden] { display: none; }
.index-grid.filtered { background: none; border: 0; gap: 12px; }
.index-grid.filtered .idx { outline: 1px solid var(--line); }
