/* ============================================================
   PRINCE PR — PORTFOLIO
   ============================================================ */

:root {
  --cream:        #F2EDE6;
  --cream-deep:   #E8E1D7;
  --ink:          #0B0B0B;
  --ink-soft:     #141414;
  --orange:       #FF4A1C;
  --orange-deep:  #E63A0E;

  --on-cream:     #0B0B0B;
  --on-cream-dim: #6B665E;
  --on-ink:       #F2EDE6;
  --on-ink-dim:   #8E8880;

  --line-cream:   rgba(11,11,11,0.14);
  --line-ink:     rgba(242,237,230,0.16);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --ease:  cubic-bezier(.16,.84,.44,1);
  --ease2: cubic-bezier(.65,0,.35,1);

  --r-lg: 34px;
  --r-md: 20px;
  --gap:  14px;
  --pad:  clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--on-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--orange); color: #fff; }

body::-webkit-scrollbar { width: 9px; }
body::-webkit-scrollbar-track { background: var(--cream-deep); }
body::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 9px; }

/* ============ TYPE PRIMITIVES ============ */

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-cream-dim);
  display: inline-block;
}
.label-light { color: var(--on-ink-dim); }

.arr { display: inline-block; transition: transform .4s var(--ease); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: .94; letter-spacing: -.03em; }

/* ============ PRELOADER ============ */

.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: grid; place-items: center;
  transition: transform 1s var(--ease2);
}
.preloader.done { transform: translateY(-101%); }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pre-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--orange); }
.pre-bar { width: 190px; height: 2px; background: var(--line-ink); overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s linear; }

/* ============ CURSOR ============ */

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none; border-radius: 50%;
}
.cursor-dot { width: 6px; height: 6px; background: var(--orange); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(11,11,11,.35);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.cursor-ring.active { width: 56px; height: 56px; background: rgba(255,74,28,.12); border-color: var(--orange); }
@media (hover: none), (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ SCROLL PROGRESS ============ */

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--orange); z-index: 9997;
}

/* ============ NAV ============ */

.nav-wrap {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 900;
  display: flex; justify-content: center;
  padding: 0 var(--pad);
}
.nav-pill {
  position: relative;
  width: 100%; max-width: 1100px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(11,11,11,.82);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-ink);
  border-radius: 100px;
  padding: 8px 8px 8px 24px;
  transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
.nav-wrap.scrolled .nav-pill { box-shadow: 0 18px 50px -22px rgba(11,11,11,.7); background: rgba(11,11,11,.94); }

.nav-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: .04em; color: var(--on-ink);
}
.nav-logo span { color: var(--orange); }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-ink-dim);
  padding: 9px 15px; border-radius: 100px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--on-ink); background: rgba(242,237,230,.09); }

.nav-cta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: 11px 20px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover { background: #fff; color: var(--ink); }
.nav-cta:hover .arr { transform: translateX(4px); }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 12px; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--on-ink); transition: transform .35s var(--ease); }
.nav-burger span + span { margin-top: 5px; }
.nav-burger.open span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ============ BUTTONS ============ */

.btn {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .35s var(--ease);
}
.btn:hover .arr { transform: translateX(5px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(242,237,230,.35); color: var(--on-ink); }
.btn-ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn-dark { background: var(--ink); color: var(--cream); border: 0; }
.btn-dark:hover { background: #fff; color: var(--ink); }

.link-arrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease);
}
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ============ MEDIA SLOTS (drop video/photo here) ============ */

.media-slot {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(11,11,11,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--cream-deep), #d9d2c6);
  display: grid; place-items: center;
}
.media-slot::after {
  content: attr(data-slot);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(11,11,11,.34);
  border: 1px dashed rgba(11,11,11,.26);
  padding: 7px 13px; border-radius: 100px;
  background: rgba(242,237,230,.6);
  text-align: center;
}
.media-slot--dark {
  background:
    repeating-linear-gradient(45deg, rgba(242,237,230,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #1b1b1b, #0b0b0b);
}
.media-slot--dark::after { color: rgba(242,237,230,.34); border-color: rgba(242,237,230,.2); background: rgba(11,11,11,.5); }

/* ============ PANELS / SECTIONS ============ */

.panel {
  position: relative;
  margin: var(--gap);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.panel-dark { background: var(--ink); color: var(--on-ink); }
.panel-dark .section-title, .panel-dark h3 { color: var(--on-ink); }
.panel-orange { background: var(--orange); color: #fff; }

.section { padding: clamp(64px, 8vw, 120px) var(--pad); }
main > .section:not(.panel) { padding-left: calc(var(--pad) + var(--gap)); padding-right: calc(var(--pad) + var(--gap)); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 26px; margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line-cream);
}
.panel-dark .section-head { border-color: var(--line-ink); }

.section-title { font-size: clamp(30px, 4.4vw, 60px); }
.section-title b { color: var(--orange); font-weight: 400; font-size: .5em; vertical-align: middle; }

/* ============ HERO ============ */

.hero {
  min-height: calc(100vh - 28px);
  background: var(--ink); color: var(--on-ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(110px, 14vh, 170px) var(--pad) clamp(26px, 4vw, 40px);
  isolation: isolate;
}
.hero-globe {
  position: absolute; z-index: -2;
  right: -10%; top: 50%; transform: translateY(-50%);
  width: min(860px, 66vw); aspect-ratio: 1;
  pointer-events: none;
}
.hero-globe canvas { width: 100%; height: 100%; display: block; }
/* keeps the headline legible over the globe without hiding its right edge */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 22%, rgba(11,11,11,.72) 48%, rgba(11,11,11,0) 78%),
    linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,0) 34%, rgba(11,11,11,.55) 100%);
}

.hero-inner { max-width: 1080px; margin-top: auto; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px; padding: 9px 16px 9px 14px;
  border: 1px solid var(--line-ink); border-radius: 999px;
  background: rgba(11,11,11,.5); backdrop-filter: blur(6px);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255,74,28,.6); animation: statusPulse 2.4s var(--ease) infinite;
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,74,28,.55); }
  70% { box-shadow: 0 0 0 9px rgba(255,74,28,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,74,28,0); }
}

.hero-title {
  font-size: clamp(26px, 8.4vw, 104px);
  color: var(--on-ink);
  margin: 22px 0 26px;
  text-transform: uppercase;
}
.hero-title > span { display: block; white-space: nowrap; }
.hero-title em { font-style: normal; color: var(--orange); }

.hero-sub {
  max-width: 560px; font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(242,237,230,.76); line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-top: clamp(44px, 7vw, 90px);
  padding-top: 22px; border-top: 1px solid var(--line-ink);
}
.hero-meta { text-align: right; line-height: 1.9; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.cue-line { display: block; width: 46px; height: 1px; background: var(--orange); transform-origin: left; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: scaleX(.3); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

/* ============ MARQUEE ============ */

.marquee {
  background: var(--orange); color: #fff;
  margin: var(--gap); border-radius: 100px;
  overflow: hidden; padding: 16px 0;
}
.marquee-track { display: flex; width: max-content; animation: marq 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 500; letter-spacing: -.01em; white-space: nowrap; padding-right: 26px;
}
.marquee-track b { font-weight: 400; opacity: .55; margin: 0 6px; }
.marquee-track.js-driven { animation: none; will-change: transform; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee { transition: transform .5s var(--ease); }

/* ============ WORK ============ */

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.work-card--wide { grid-column: 1 / -1; }

.card-media {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ink);
  transition: transform .7s var(--ease);
}
.work-card--wide .card-media { aspect-ratio: 21 / 9; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; }
/* alpha-channel clips have no backdrop — contain keeps the subject whole on the dark card */
.media-alpha { object-fit: contain !important; padding: 6%; }
.work-card:hover .card-media { transform: scale(.985); }

.see-pill {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.86);
  background: var(--orange); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  padding: 13px 22px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; white-space: nowrap;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.work-card:hover .see-pill { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.card-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 16px 4px 0;
}
.card-foot h3 { font-size: clamp(18px, 1.9vw, 24px); transition: color .3s var(--ease); }
.work-card:hover .card-foot h3 { color: var(--orange); }

/* ============ TOOL STRIP ============ */

.tool-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.tool-tile {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: rgba(242,237,230,.05);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-md);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.tool-tile img {
  width: 42%; height: 42%; object-fit: contain;
  filter: grayscale(1) brightness(2.4);
  opacity: .55;
  transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}
.tool-tile:hover { background: rgba(242,237,230,.1); border-color: var(--orange); transform: translateY(-5px); }
.tool-tile:hover img { filter: none; opacity: 1; transform: scale(1.08) translateY(-6px); }
.tool-tile::after {
  content: attr(data-tool);
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-ink-dim); opacity: 0;
  transition: opacity .35s var(--ease);
}
.tool-tile:hover::after { opacity: 1; }

/* ============ ABOUT ============ */

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: start; }

.about-portrait {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background-color: var(--orange);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(242,237,230,.17) 0 15px,
    rgba(242,237,230,0) 15px 30px
  );
}
/* cut-out PNG has no backdrop of its own — it sits on the stripes */
.about-portrait img {
  position: relative; display: block;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%;
  filter: drop-shadow(0 26px 40px rgba(11,11,11,.34));
}
.about-portrait::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,.5) 100%);
}
.about-portrait figcaption { z-index: 1; }
.about-portrait figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(11,11,11,.72); backdrop-filter: blur(8px);
  padding: 9px 15px; border-radius: 100px;
}

.about-lead { font-family: var(--font-display); font-size: clamp(21px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 24px; }
.about-body p + p { margin-top: 15px; color: var(--on-cream-dim); }
.about-body strong { color: var(--on-cream); font-weight: 500; }

.stat-row { display: flex; gap: clamp(24px, 4vw, 54px); flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-cream); }
.stat { display: flex; flex-direction: column; gap: 5px; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1; color: var(--orange); }

/* ============ TABLE ============ */

.table { border-top: 1px solid var(--line-ink); }
.table-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.25fr) 40px;
  align-items: center; gap: 20px;
  padding: 26px var(--pad); margin: 0 calc(var(--pad) * -1);
  border-bottom: 1px solid var(--line-ink);
  transition: background .4s var(--ease), color .4s var(--ease), padding-left .4s var(--ease);
}
.table-row:hover { background: var(--orange); color: #fff; padding-left: calc(var(--pad) + 14px); }
.t-year { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-ink-dim); transition: color .4s var(--ease); }
.t-name { font-family: var(--font-display); font-size: clamp(17px, 2vw, 25px); font-weight: 500; letter-spacing: -.02em; }
.t-desc { font-size: 14px; color: var(--on-ink-dim); transition: color .4s var(--ease); }
.t-arrow { justify-self: end; font-size: 19px; opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.table-row:hover .t-year, .table-row:hover .t-desc { color: rgba(255,255,255,.86); }
.table-row:hover .t-arrow { opacity: 1; transform: translateX(0); }

/* ============ OFF THE CLOCK ============ */

.off-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.off-card {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 1; isolation: isolate; background: var(--ink);
  transition: transform .55s var(--ease);
}
.off-card--lg { grid-column: span 2; aspect-ratio: 2 / 1; }
/* art that ships with its own black backdrop — contain avoids cropping the subject */
.off-card--fit { background: #000; }
.off-card.off-card--fit img { object-fit: contain; }
.off-card:hover { transform: translateY(-6px); }
.off-card img, .off-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.off-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(11,11,11,.85));
  pointer-events: none;
}
.off-meta { position: absolute; z-index: 2; left: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 5px; }
.off-meta h3 { font-size: clamp(19px, 2vw, 27px); color: var(--on-ink); transition: color .3s var(--ease); }
.off-card:hover .off-meta h3 { color: var(--orange); }

/* ============ CONTACT ============ */

#contact { text-align: center; }
#contact .label { color: rgba(255,255,255,.75); }
.cta-title { font-size: clamp(40px, 8vw, 116px); color: #fff; margin: 20px 0 22px; text-transform: uppercase; }
.cta-sub { max-width: 520px; margin: 0 auto; color: rgba(255,255,255,.85); font-size: 16px; }

.contact-form {
  max-width: 660px; margin: clamp(38px, 5vw, 60px) auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.field--full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-md);
  padding: 17px 22px; color: #fff; font-size: 15px; resize: vertical;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.6); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; background: rgba(255,255,255,.2); border-color: #fff; }
.contact-form .btn { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }
.hidden-field { display: none; }

/* ============ FOOTER ============ */

.footer { padding: clamp(52px, 7vw, 90px) calc(var(--pad) + var(--gap)) 28px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  padding-bottom: 34px; border-bottom: 1px solid var(--line-cream);
}
.footer-mail {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 4.4vw, 58px); letter-spacing: -.03em;
  transition: color .3s var(--ease);
}
.footer-mail:hover { color: var(--orange); }
.footer-social { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-social a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .3s var(--ease);
}
.footer-social a:hover { color: var(--orange); }
.footer-social a:hover .arr { transform: translate(3px, -3px); }

.footer-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.back-top { transition: color .3s var(--ease); }
.back-top:hover { color: var(--orange); }

/* ============ REVEAL ============ */

.reveal, .reveal-up { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal-up { transform: translateY(42px); }
.reveal.in-view, .reveal-up.in-view { opacity: 1; transform: none; }

/* ============ SPLIT TEXT REVEAL ============ */

.split-word {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-bottom: .14em; margin-bottom: -.14em;
}
.split-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
}
.split.in-view .split-inner { transform: translateY(0); }

/* ============ MEDIA PARALLAX ============ */

.card-media img, .card-media video,
.off-card img, .off-card video { will-change: transform; }

/* ============ CURSOR-FOLLOW PROJECT PILL ============ */

.see-pill {
  left: 0; top: 0;
  transform: translate3d(var(--px, 50%), var(--py, 50%), 0) translate(-50%, -50%) scale(.86);
}
.work-card:hover .see-pill {
  transform: translate3d(var(--px, 50%), var(--py, 50%), 0) translate(-50%, -50%) scale(1);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1080px) {
  .tool-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: rgba(11,11,11,.96); backdrop-filter: blur(18px);
    border: 1px solid var(--line-ink); border-radius: var(--r-md);
    padding: 12px; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { text-align: center; padding: 13px; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-cta { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-portrait img { aspect-ratio: 3 / 4; }
  .off-grid { grid-template-columns: repeat(2, 1fr); }
  .off-card--lg { grid-column: span 2; }
  .table-row { grid-template-columns: 90px 1fr 28px; }
  .t-desc { display: none; }

  .hero-globe { right: -26%; top: 32%; width: min(620px, 100vw); }
  .hero::before {
    background: linear-gradient(180deg, rgba(11,11,11,.3) 0%, rgba(11,11,11,.86) 48%, var(--ink) 82%);
  }
}

@media (max-width: 640px) {
  :root { --r-lg: 24px; --gap: 10px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card--wide .card-media { aspect-ratio: 4 / 3; }
  .off-grid { grid-template-columns: 1fr; }
  .off-card--lg { grid-column: span 1; aspect-ratio: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-meta { text-align: left; }
  .tool-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .status-pill { align-items: flex-start; }
  .status-dot { margin-top: 5px; flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
