/* ============================================================
   IITH GARAGE — "THE PROVING GROUND"  (redesign, preview only)
   Warm bone canvas · near-black warm ink · one flame accent.
   Colossal Anton display · Inter body · JetBrains Mono data.
   Full-viewport runway of the 7 builds. Scroll-driven reveals.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------------------------------------- */
:root {
  --bone:      #F4F2EC;   /* warm off-white canvas   */
  --bone-2:    #ECE9E0;   /* alt light band          */
  --paper:     #FFFFFF;
  --ink:       #16130E;   /* warm near-black         */
  --ink-2:     #1C1915;   /* dark section ground     */
  --ink-3:     #262119;   /* dark card ground        */
  --fog:       #6C6557;   /* muted warm grey (light) */
  --fog-d:     #A79E8C;   /* muted on dark           */
  --line:      #D9D3C4;   /* hairline on light       */
  --line-d:    rgba(244,242,236,.16); /* hairline on dark */
  --hair:      var(--line);  /* contextual hairline — flips on dark */

  --flame:      #FF4A17;
  --flame-deep: #E03B0C;
  --flame-wash: #FFE6DC;

  --live:    #3F9B6D;
  --testing: #C98A2B;
  --soon:    #8C8577;

  --ease:  cubic-bezier(.16, 1, .3, 1);
  --ease2: cubic-bezier(.7, 0, .2, 1);
  --dur:   .8s;

  --maxw:   1320px;
  --gutter: clamp(18px, 4.5vw, 76px);

  --f-display: "Anton", "Arial Narrow", sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--flame); color: #fff; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bone-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--bone-2); border-radius: 99px; }

/* ---------- Type primitives ---------------------------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .005em;
}
.kicker {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fog);
  display: inline-flex; align-items: center; gap: .8em;
}
.kicker::before { content: attr(data-n); color: var(--flame); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout ------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 168px); position: relative; }
.section--dark, .runway, .foot { --hair: var(--line-d); }
.section--dark { background: var(--ink-2); color: var(--bone); }
.section--dark .kicker { color: var(--fog-d); }
.section--bone2 { background: var(--bone-2); }

.section__head { margin-bottom: clamp(36px, 6vw, 76px); }
.section__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: 1.0; letter-spacing: .01em; font-size: clamp(2.6rem, 8vw, 6.5rem); margin-top: 18px; }
.section__intro { max-width: 46ch; margin-top: 20px; color: var(--fog); font-size: 1.05rem; }
.section--dark .section__intro { color: var(--fog-d); }

/* faint blueprint verticals */
.gridlines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.gridlines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); opacity: .4; }
.section--dark .gridlines i { background: var(--hair); }
.gridlines i:nth-child(1) { left: 25%; }
.gridlines i:nth-child(2) { left: 50%; }
.gridlines i:nth-child(3) { left: 75%; }
@media (max-width: 700px) { .gridlines i:nth-child(1), .gridlines i:nth-child(3) { display: none; } }

/* crop marks */
.crop { position: relative; }
.crop::before, .crop::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--flame); z-index: 3; }
.crop::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.crop::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* ---------- Loader ------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 999; background: var(--ink); display: grid; place-items: center; transition: transform .8s var(--ease2); }
.loader.is-done { transform: translateY(-101%); }
.loader span { font-family: var(--f-display); text-transform: uppercase; color: var(--bone); font-size: clamp(2rem, 9vw, 6rem); letter-spacing: .02em; overflow: hidden; }
.loader span b { display: inline-block; font-weight: 400; animation: loadUp .7s var(--ease) forwards; transform: translateY(105%); }
@keyframes loadUp { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

/* ---------- Nav --------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: 66px;
  display: flex; align-items: center;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: color-mix(in srgb, var(--bone) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav.on-dark { color: var(--bone); }
.nav.on-dark.is-stuck { background: color-mix(in srgb, var(--ink) 72%, transparent); border-bottom-color: var(--hair); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; }
.brand svg { width: 20px; height: 20px; color: var(--flame); flex: none; }
.nav__links { display: flex; gap: 30px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.nav__links a { position: relative; opacity: .7; transition: opacity .2s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--flame); }
.nav__tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 99px; padding: 6px 13px; opacity: .85; }
.nav__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 26%, transparent); }
@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 620px) { .nav__tag { display: none; } .nav { height: 58px; } }

/* ---------- Hero ------------------------------------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 40px; position: relative; overflow: hidden; }

.hero__title { position: relative; z-index: 2; max-width: 62%; }
.hero__title h1 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.5rem, 9vw, 7.6rem); line-height: 1.0; letter-spacing: .006em; }
.hero__title .l2 { display: block; }
.hero__title .flame { color: var(--flame); }
.hero__title .outline { color: transparent; -webkit-text-stroke: clamp(1.4px, .3vw, 2.4px) var(--ink); }
@media (max-width: 1080px) { .hero__title { max-width: 100%; } }

.hero__foot { position: relative; z-index: 2; margin-top: clamp(30px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: 62%; }
@media (max-width: 1080px) { .hero__foot { max-width: 100%; } }
.hero__lede { max-width: 40ch; color: var(--fog); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero__cred { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fog); display: flex; align-items: center; gap: 10px; }
.hero__cred svg { width: 16px; height: 16px; color: var(--flame); }

/* floating stat card */
.statcard {
  position: relative; z-index: 2; align-self: flex-end;
  background: color-mix(in srgb, var(--paper) 62%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 3px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.statcard div { padding: 15px 18px; border-left: 1px solid var(--line); }
.statcard div:first-child { border-left: 0; }
.statcard b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; line-height: 1; letter-spacing: .01em; }
.statcard span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .11em; text-transform: uppercase; color: var(--fog); margin-top: 8px; display: block; }
@media (max-width: 820px) { .statcard { grid-template-columns: 1fr 1fr; } .statcard div:nth-child(odd) { border-left: 0; } .statcard div:nth-child(even) { border-left: 1px solid var(--line); } .statcard div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 620px) { .statcard { width: 100%; } }

/* fanned stack of build screenshots, right side */
.hero__art { position: absolute; right: calc(var(--gutter) + 6px); top: 50%; transform: translateY(-48%); width: min(37vw, 460px); aspect-ratio: 1 / 0.84; z-index: 1; pointer-events: none; }
.hero__art::after { content: ""; position: absolute; left: -26px; top: 6%; width: 56px; height: 56px; background: var(--flame); z-index: 0; }
.hero__card { position: absolute; left: 0; top: 6%; width: 100%; transition: transform .5s var(--ease); }
.hero__card .panel__frame { box-shadow: 0 46px 84px -44px rgba(22,19,14,.5); }
.hero__card.c1 { transform: rotate(-7deg) translate(-8%, -4%) scale(.85); opacity: .42; z-index: 1; }
.hero__card.c2 { transform: rotate(3.5deg) translate(6%, 6%) scale(.92); opacity: .7; z-index: 2; }
.hero__card.c3 { transform: rotate(-1.5deg); z-index: 3; }
@media (max-width: 1080px) { .hero__art { opacity: .1; width: 74vw; right: -18vw; } }
@media (max-width: 700px) { .hero__art { display: none; } }

/* marquee strip of all previews */
.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bone) 80%, transparent); backdrop-filter: blur(6px); overflow: hidden; }
.marquee { display: flex; gap: 14px; padding: 12px 0; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee img { height: 62px; width: auto; border-radius: 3px; border: 1px solid var(--line); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

.scrollcue { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 3; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fog); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scrollcue i { width: 1px; height: 40px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 700px) { .scrollcue { display: none; } }

/* ---------- THE RUNWAY (7 fullscreen panels) --------- */
.runway { background: var(--ink-2); color: var(--bone); }
.panel {
  min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(90px, 12vh, 150px) var(--gutter);
  max-width: var(--maxw); margin-inline: auto;
  border-top: 1px solid var(--hair);
  position: relative;
}
.panel:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.panel:nth-child(even) .panel__media { order: -1; }
.panel__ghost { position: absolute; top: clamp(40px, 8vh, 90px); right: var(--gutter); font-family: var(--f-display); font-weight: 400; font-size: clamp(7rem, 24vw, 22rem); line-height: .7; color: transparent; -webkit-text-stroke: 1.5px rgba(244,242,236,.3); z-index: 0; pointer-events: none; user-select: none; }
.panel:nth-child(even) .panel__ghost { right: auto; left: var(--gutter); }

.panel__body { position: relative; z-index: 2; }
.panel__cat { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fog-d); }
.panel__name { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: .01em; margin: 14px 0 18px; }
.panel__lede { max-width: 44ch; color: var(--fog-d); font-size: 1.02rem; }
.panel__stat { margin-top: 26px; display: flex; align-items: baseline; gap: 14px; }
.panel__stat b { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--flame); }
.panel__stat span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog-d); }
.panel__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.panel__chips span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .04em; border: 1px solid var(--hair); border-radius: 3px; padding: 4px 9px; color: var(--fog-d); }
.panel__cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.panel__media { position: relative; z-index: 1; }
.panel__frame { border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; background: var(--ink-3); box-shadow: 0 50px 90px -50px rgba(0,0,0,.7); }
.panel__bar { display: flex; align-items: center; gap: 12px; padding: 11px 15px; border-bottom: 1px solid var(--hair); }
.panel__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--hair); }
.panel__bar span { font-family: var(--f-mono); font-size: .68rem; color: var(--fog-d); margin-left: 6px; }
.panel__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

/* under-development panel */
.panel--wip .panel__body { opacity: .82; }
.panel--wip .panel__frame img { filter: grayscale(1) brightness(.42) blur(2px); }
.panel__wiptag { color: var(--flame); }
.panel__cover { position: absolute; inset: 0; top: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: color-mix(in srgb, var(--ink-2) 55%, transparent); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.panel__cover span { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .04em; color: var(--bone); }
.panel__cover small { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); }

.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--hair); color: var(--fog-d); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--live { color: #6FCF9B; }
.chip--testing { color: #E8B563; }
.chip--soon { color: var(--fog-d); }

@media (max-width: 900px) {
  .panel, .panel:nth-child(even) { grid-template-columns: 1fr; gap: 30px; }
  .panel:nth-child(even) .panel__media { order: 0; }
  .panel__media { order: -1; }
  .panel__ghost { font-size: 34vw; top: 60px; }
}

/* ---------- INDEX (compact list) -------------------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 6px; font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.filterbar button { color: var(--fog-d); padding: 4px 0; position: relative; }
.section:not(.section--dark) .filterbar button { color: var(--fog); }
.filterbar button.is-on { color: currentColor; }
.filterbar button.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--flame); }

.ilist { list-style: none; padding: 0; border-top: 1px solid var(--hair); }
.section:not(.section--dark) .ilist { border-top-color: var(--line); }
.irow {
  display: grid; grid-template-columns: 62px 1fr auto auto; align-items: center; gap: 22px;
  width: 100%; text-align: left; padding: 24px 10px;
  border-bottom: 1px solid var(--hair); position: relative;
  color: inherit; transition: padding-left .35s var(--ease), background .35s var(--ease);
}
.section:not(.section--dark) .irow { border-bottom-color: var(--line); }
.irow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--flame); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.irow:hover { padding-left: 20px; background: color-mix(in srgb, currentColor 5%, transparent); }
.irow:hover::before { transform: scaleY(1); }
.irow__n { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; color: var(--fog-d); transition: color .3s var(--ease); }
.section:not(.section--dark) .irow__n { color: var(--fog); }
.irow:hover .irow__n { color: var(--flame); }
.irow__main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.irow__name { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .015em; line-height: 1; }
.irow__blurb { display: block; color: var(--fog-d); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section:not(.section--dark) .irow__blurb { color: var(--fog); }
.irow__arrow { transition: transform .3s var(--ease); }
.irow:hover .irow__arrow { transform: translate(4px, -4px); color: var(--flame); }
@media (max-width: 680px) {
  .irow { grid-template-columns: 40px 1fr auto; gap: 14px; padding: 20px 4px; }
  .irow__chip { display: none; }
  .irow__blurb { white-space: normal; }
}

/* ---------- Buttons -------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding: 13px 20px; border-radius: 3px; border: 1px solid currentColor; transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--flame { background: var(--flame); border-color: var(--flame); color: #fff; }
.btn--flame:hover { background: var(--flame-deep); border-color: var(--flame-deep); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.section--dark .btn--solid { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--ghost { opacity: .7; }
.btn--ghost:hover { opacity: 1; }

/* ---------- Roadmap (scannable list) -------------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 54px); align-items: start; }
@media (max-width: 940px) { .board { grid-template-columns: 1fr; gap: 40px; } }
.col__head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--flame); padding-bottom: 11px; margin-bottom: 4px; }
.col__head h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.12rem; letter-spacing: .03em; }
.col__head span { font-family: var(--f-mono); font-size: .74rem; color: var(--fog); }
.brows { list-style: none; padding: 0; margin: 0; }
.brow { padding: 15px 2px; border-bottom: 1px solid var(--hair); }
.brow__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.brow__title { flex: 1 1 auto; min-width: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.brow__date { flex: none; font-family: var(--f-mono); font-size: .64rem; color: var(--fog); white-space: nowrap; letter-spacing: .04em; }
.brow__meta { flex: 1 0 100%; font-family: var(--f-mono); font-size: .58rem; color: var(--fog); text-transform: uppercase; letter-spacing: .09em; }
.brow__meta.is-testing { color: var(--testing); }
.bcard__new { display: inline-block; font-family: var(--f-mono); font-size: .54rem; letter-spacing: .14em; color: var(--flame); border: 1px solid color-mix(in srgb, var(--flame) 45%, transparent); border-radius: 3px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; }
.pbar { height: 3px; background: var(--hair); border-radius: 2px; margin-top: 10px; overflow: hidden; max-width: 170px; }
.pbar i { display: block; height: 100%; background: var(--flame); }
.pnote { font-family: var(--f-mono); font-size: .58rem; color: var(--fog); margin-top: 6px; }

/* ---------- Timeline ----------------------------- */
.tl { list-style: none; padding: 0; border-left: 1px solid var(--line); margin-left: 4px; }
.tl li { position: relative; padding: 0 0 44px 34px; }
.tl li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; background: var(--bone); border: 1px solid var(--fog); }
.tl li.is-new::before { background: var(--flame); border-color: var(--flame); }
.tl__date { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; color: var(--fog); }
.tl li.is-new .tl__date { color: var(--flame); }
.tl__title { font-family: var(--f-body); font-weight: 600; font-size: 1.14rem; margin: 4px 0 7px; }
.tl__body { font-size: .9rem; color: var(--fog); max-width: 62ch; }

/* ---------- Stack ------------------------------- */
.stackm { border-top: 1px solid var(--hair); }
.srow { display: grid; grid-template-columns: 260px 1fr 220px; gap: 26px; padding: 22px 4px; border-bottom: 1px solid var(--hair); }
.srow__tech { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
.srow__note { font-size: .9rem; color: var(--fog-d); }
.srow__proj { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.srow__proj span { font-family: var(--f-mono); font-size: .62rem; color: var(--fog-d); border: 1px solid var(--hair); border-radius: 3px; padding: 2px 7px; height: fit-content; }
@media (max-width: 860px) { .srow { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Footer ----------------------------- */
.foot { background: var(--ink-2); color: var(--bone); padding-top: clamp(72px, 10vw, 132px); overflow: hidden; position: relative; }
.foot__eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fog-d); margin-bottom: 18px; }
.foot__cta { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.1rem, 7.4vw, 5.4rem); line-height: 1.0; letter-spacing: .01em; }
.foot__link { display: inline-block; color: var(--flame); transition: color .2s var(--ease); }
.foot__link:hover { color: var(--bone); }
.foot__arrow { display: inline-block; transition: transform .25s var(--ease); }
.foot__link:hover .foot__arrow { transform: translate(5px, -5px); }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; margin-top: clamp(48px, 7vw, 84px); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__name { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em; margin-bottom: 12px; }
.foot p { font-size: .86rem; color: var(--fog-d); max-width: 40ch; }
.foot__social { display: flex; gap: 18px; margin-top: 20px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; }
.foot__social a { border-bottom: 1px solid var(--hair); padding-bottom: 3px; transition: color .2s var(--ease), border-color .2s var(--ease); }
.foot__social a:hover { color: var(--flame); border-color: var(--flame); }
.foot h5 { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fog-d); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .88rem; }
.foot ul a { opacity: .78; transition: opacity .2s var(--ease), color .2s var(--ease); }
.foot ul a:hover { opacity: 1; color: var(--flame); }
.foot__meta { border-top: 1px solid var(--hair); margin-top: clamp(44px, 7vw, 78px); padding: 22px 0; font-family: var(--f-mono); font-size: .7rem; color: var(--fog-d); letter-spacing: .06em; }
.foot__wm { padding: 0 var(--gutter); margin-bottom: -.13em; overflow: hidden; }
.foot__wm span { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.4rem, 20vw, 17rem); line-height: .72; letter-spacing: .008em; color: rgba(244, 242, 236, .05); white-space: nowrap; user-select: none; }

/* ---------- Reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-wipe img { clip-path: inset(0 100% 0 0); }
.reveal-wipe.is-in img { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease2); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .reveal-wipe img, .reveal-wipe.is-in img { clip-path: none; transition: none; }
}

/* ---------- Small screens --------------------- */
@media (max-width: 620px) {
  .hero { padding-top: 84px; }
  .hero__title, .hero__foot { max-width: 100%; }
  .hero__title h1 { font-size: 10.2vw; line-height: 1.02; }
  .section__title { font-size: 10.5vw; }
  .panel__name { font-size: 10.5vw; }
  .foot__cta { font-size: 9vw; }
  .hero__foot { flex-direction: column; align-items: stretch; }
  .section, .hero { --gutter: 18px; }
}
