:root {
  --bg: #000;
  --fg: #f2f2f2;
  --mono: 'Space Mono', monospace;
  --sans: 'Inter', -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
}

.mono { font-family: var(--mono); }

#scene {
  position: fixed;
  inset: 0;
  display: block;
  cursor: grab;
  touch-action: none; /* let pointer drag rotate the sphere on touch screens */
}
#scene.dragging { cursor: grabbing; }
#scene.hovering { cursor: pointer; }

/* ===================== HUD ===================== */
.hud {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
  z-index: 10;
}
.hud > * { pointer-events: auto; }

.hud-top { top: 0; padding: 28px 36px; }
.hud-bottom { bottom: 0; padding: 28px 36px; align-items: flex-end; }

.logo {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  color: var(--fg);
}
.logo img { height: 40px; width: auto; display: block; }

.sound {
  margin-left: 170px;
  margin-top: 6px;
  background: none;
  border: none;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.sound-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 10px;
}
.sound-bars i {
  width: 2px;
  background: var(--fg);
  animation: bar 0.9s ease-in-out infinite alternate;
}
.sound-bars i:nth-child(1) { height: 4px; animation-delay: 0s; }
.sound-bars i:nth-child(2) { height: 8px; animation-delay: 0.15s; }
.sound-bars i:nth-child(3) { height: 5px; animation-delay: 0.3s; }
.sound-bars i:nth-child(4) { height: 9px; animation-delay: 0.45s; }
.sound-bars i:nth-child(5) { height: 4px; animation-delay: 0.6s; }
@keyframes bar { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
body.muted .sound-bars i { animation: none; transform: scaleY(0.3); }

.tagline {
  margin-left: 110px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: pre-line;
}

.clocks {
  margin-left: 70px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.clock { display: flex; gap: 10px; align-items: baseline; }
.clock .dot { opacity: 0.9; font-size: 10px; }
.clock em { font-style: normal; margin-left: 12px; }
.clock .gmt { opacity: 0.85; }

.pill {
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.pill:hover { transform: scale(1.05); }

.pill-white { background: #fff; color: #111; font-size: 17px; padding: 20px 34px; }
.pill-grey { background: #d9d9d9; color: #111; font-size: 16px; padding: 18px 32px; }

.lets-talk { margin-left: auto; }

/* bottom nav — segmented pill like the reference */
.main-nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  display: flex;
  gap: 2px;
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.55);
}
.nav-item {
  border: none;
  background: transparent;
  color: #6d6d6d;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease;
}
.nav-item:hover { color: #111; }
.nav-item.active {
  background: #fff;
  color: #111;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.filter-btn { margin-left: auto; }

/* ===================== FILTER SIDE PANEL ===================== */
#filterPanel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(520px, 92vw);
  z-index: 30;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.96) 70%, rgba(8, 8, 8, 0.82));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-100%);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 110px 44px 36px;
}
#filterPanel.open { visibility: visible; }

.fp-inner { flex: 1; overflow-y: auto; scrollbar-width: thin; }

.fp-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.55;
  margin-bottom: 20px;
}

.fp-zones { margin-bottom: 56px; }
.fp-zone {
  display: inline;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.12;
  color: #4d4d4d;
  margin-right: 14px;
  transition: color 0.25s ease;
  letter-spacing: -0.01em;
}
.fp-zone:hover { color: #bdbdbd; }
.fp-zone.active { color: #fff; }

.fp-cols { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 320px; }

.fp-list { list-style: none; }
.fp-list li {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: #8d8d8d;
  cursor: pointer;
  transition: color 0.2s ease;
  text-transform: uppercase;
}
.fp-list li:hover { color: #fff; }
.fp-list li.active { color: #fff; }
.fp-list li.active::before { content: '● '; font-size: 8px; vertical-align: 2px; }

.fp-close { align-self: flex-end; margin-top: 24px; }

/* ===================== LET'S TALK ===================== */
#letstalk {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  visibility: hidden;
  opacity: 0;
  display: grid;
  place-items: center;
}
#letstalk.open { visibility: visible; }

.lt-close, .detail-x {
  position: absolute;
  top: 30px;
  right: 36px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.lt-close:hover, .detail-x:hover { transform: scale(1.08); }

.lt-inner { max-width: 880px; width: 92%; }
.lt-hi { font-size: 11px; letter-spacing: 0.14em; opacity: 0.6; margin-bottom: 18px; }
.lt-title { font-size: clamp(30px, 4vw, 48px); font-weight: 600; margin-bottom: 48px; }

.lt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.lt-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 26px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lt-card:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-3px); }
.lt-card-title { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.lt-card-body { font-size: 14px; line-height: 1.55; color: #c2c2c2; margin-bottom: 22px; flex: 1; }
.lt-card-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; opacity: 0.85; }

.lt-links {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
}
.lt-links a {
  color: var(--fg);
  font-size: 14px;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.lt-links a:hover { opacity: 1; text-decoration: underline; }

.lt-foot { font-size: 11px; opacity: 0.55; letter-spacing: 0.06em; }

/* ===================== ABOUT ===================== */
#about {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #0d0d0d;
  transform: translateY(100%);
  visibility: hidden;
  overflow-y: auto;
}
#about.open { visibility: visible; }

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 160px;
}
.about-label { font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; margin-bottom: 40px; }
.about-statement {
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 1000px;
}
.about-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; margin-bottom: 100px; }
.about-body p { font-size: 19px; line-height: 1.7; color: #cfcfcf; margin-bottom: 26px; }
.about-portrait {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}
.about-topbar .lt-close { position: static; }

.about-tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px;
}
.about-tab {
  border: none;
  background: transparent;
  color: #8d8d8d;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}
.about-tab:hover { color: #fff; }
.about-tab.active { background: #fff; color: #111; }

/* Journey — vertical timeline */
.journey {
  list-style: none;
  position: relative;
  max-width: 720px;
  padding-left: 36px;
}
.journey::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #2c2c2c;
}
.journey li { position: relative; padding-bottom: 52px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0d0d0d;
  border: 2px solid #6d6d6d;
}
.journey li:last-child::before { background: #fff; border-color: #fff; }
.journey-year {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-bottom: 8px;
}
.journey h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.journey p { font-size: 16px; line-height: 1.65; color: #b9b9b9; max-width: 560px; }

/* ===================== NDA GATE ===================== */
#gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  visibility: hidden;
  opacity: 0;
  display: grid;
  place-items: center;
}
#gate.open { visibility: visible; }

.gate-inner { max-width: 560px; width: 92%; }
.gate-label { font-size: 11px; letter-spacing: 0.14em; opacity: 0.6; margin-bottom: 18px; }
.gate-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; margin-bottom: 14px; }
.gate-sub { font-size: 16px; color: #b9b9b9; margin-bottom: 36px; }
.gate-sub a { color: #fff; text-decoration: underline; }
.gate-sub a:hover { opacity: 0.8; }

.gate-row { display: flex; gap: 12px; }
#gateInput {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 26px;
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  outline: none;
  transition: border-color 0.25s ease;
}
#gateInput:focus { border-color: rgba(255, 255, 255, 0.55); }
#gateInput::placeholder { color: #7a7a7a; letter-spacing: 0.06em; }
.gate-btn { padding: 18px 30px; font-size: 15px; white-space: nowrap; }

.gate-err {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e8b0a6;
  margin-top: 18px;
}

/* ===================== PROJECT PAGE ===================== */
#detail {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #0d0d0d;
  transform: translateY(100%);   /* parked offscreen; GSAP takes over via yPercent */
  visibility: hidden;
  display: flex;
  flex-direction: column;
}
#detail.open { visibility: visible; }

.detail-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 26px 36px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.92), rgba(13, 13, 13, 0));
}
.detail-logo { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; }
.detail-logo img { height: 42px; width: auto; max-width: 240px; object-fit: contain; }
.detail-x { position: static; margin-left: auto; }

.detail-scroll { flex: 1; overflow-y: auto; }

.detail-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 40px 140px;
}

.d-client { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; opacity: 0.65; margin-bottom: 18px; }
.d-title {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.d-subtitle {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: #b9b9b9;
  max-width: 760px;
  margin-bottom: 36px;
}
.d-rolerow {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  padding: 18px 0;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
}
.d-rolerow b { display: block; opacity: 0.5; font-weight: 400; margin-bottom: 6px; }
.d-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 64px;
}
.d-meta .d-tags { display: flex; gap: 8px; }
.d-meta .d-tags span { background: #2b2b2b; padding: 6px 14px; border-radius: 999px; }
.d-meta .d-year { margin-left: auto; opacity: 0.7; }

.d-hero { border-radius: 8px; overflow: hidden; margin-bottom: 90px; }
.d-hero img, .d-hero video { width: 100%; display: block; }

.d-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; margin-bottom: 110px; }
.d-intro-body { font-size: 22px; line-height: 1.6; color: #e2e2e2; font-weight: 500; }
.d-intro-meta { list-style: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.d-intro-meta li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #262626; }
.d-intro-meta li b { opacity: 0.5; font-weight: 400; }

.d-text { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 90px; }
.d-text h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; padding-top: 6px; }
.d-text p { font-size: 18px; line-height: 1.7; color: #cfcfcf; max-width: 640px; }

.d-image { margin-bottom: 90px; }
.d-image img { width: 100%; display: block; border-radius: 8px; }
.d-image.phone { max-width: 420px; margin-left: auto; margin-right: auto; }
.d-image figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-top: 14px;
  text-transform: uppercase;
}
.d-phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 90px; }
.d-phone-row .d-image { margin-bottom: 0; max-width: none; }

.d-statement {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 110px;
}

.d-stats { margin-bottom: 90px; }
.d-stats h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; margin-bottom: 28px; }
.d-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.d-stat {
  background: #161616;
  border: 1px solid #262626;
  border-radius: 14px;
  padding: 30px 26px;
}
.d-stat .v { font-size: clamp(28px, 3vw, 42px); font-weight: 700; margin-bottom: 10px; }
.d-stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; opacity: 0.6; text-transform: uppercase; }

/* key takeaways — 3 short columns */
.d-takeaways { margin-bottom: 110px; }
.d-takeaways h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; margin-bottom: 28px; }
.d-takeaways-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.d-takeaway .n { font-family: var(--mono); font-size: 12px; opacity: 0.45; display: block; margin-bottom: 14px; }
.d-takeaway p { font-size: 17px; line-height: 1.55; color: #dedede; font-weight: 500; }

/* highlight — big circular stat (naatz-style) */
.d-highlight { display: grid; place-items: center; margin-bottom: 110px; }
.d-highlight .circle {
  width: min(420px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #161616;
  border: 1px solid #2c2c2c;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px;
}
.d-highlight .v { font-size: clamp(38px, 4.6vw, 64px); font-weight: 700; margin-bottom: 14px; }
.d-highlight .l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; line-height: 1.7; opacity: 0.65; text-transform: uppercase; max-width: 300px; }

.d-gallery { display: flex; flex-direction: column; gap: 24px; }
.d-gallery img { width: 100%; display: block; border-radius: 8px; }
.d-desc { font-size: 19px; line-height: 1.65; color: #cfcfcf; max-width: 640px; margin-bottom: 70px; }

/* labeled multi-image grid (Designs, product sections) */
.d-grid-block { margin-bottom: 90px; }
.d-grid-block h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; margin-bottom: 28px; }
.d-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 20px;
}
.d-grid-item img, .d-grid-item video { width: 100%; display: block; border-radius: 8px; }
.d-grid-item figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-top: 14px;
  text-transform: uppercase;
}

/* AI-in-the-workflow four-step strip */
.d-flowstrip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 90px;
  flex-wrap: wrap;
}
.d-flowstep { display: flex; align-items: center; gap: 14px; }
.d-flowstep-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  flex-shrink: 0;
}
.d-flowstep-label { font-size: 15px; font-weight: 500; white-space: nowrap; }
.d-flowstep:not(:last-child)::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #3a3a3a;
  margin: 0 20px;
}

/* ===================== SITE FOOTER ===================== */
/* #detailFooter sits outside .detail-inner, so it needs its own
   horizontal inset to align with the content column. */
.detail-scroll > .site-footer {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 48px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #232323;
  font-size: 13px;
  color: #a0a0a0;
}
.footer-left { font-weight: 500; color: #d6d6d6; }
.footer-center { opacity: 0.75; }
.footer-links { display: flex; gap: 18px; margin-left: auto; }
.footer-links a { color: #a0a0a0; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { flex-basis: 100%; font-size: 11px; opacity: 0.45; margin-top: 4px; }

/* ===================== LOADER ===================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: opacity 0.6s ease;
}
#loader.done { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .tagline, .clocks { display: none; }
  .lt-grid { grid-template-columns: 1fr; }
  .d-intro, .d-text { grid-template-columns: 1fr; gap: 24px; }
  .d-stats-row, .d-phone-row, .d-takeaways-row { grid-template-columns: 1fr; }
  .fp-cols { grid-template-columns: 1fr; }
  .d-rolerow { flex-direction: column; gap: 18px; }
  .gate-row { flex-direction: column; }
  #gateInput { padding: 18px 26px; }
  .about-inner, .detail-inner { padding-left: 24px; padding-right: 24px; }
  .about-cols { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; }
  .d-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .d-flowstrip { flex-direction: column; align-items: flex-start; gap: 20px; }
  .d-flowstep:not(:last-child)::after { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
}

/* ===================== MOBILE ===================== */
@media (max-width: 640px) {
  /* --- HUD: logo left, Filter center, Let's Talk right, sound tucked below --- */
  .hud-top { padding: 18px 20px; }
  .hud-bottom { padding: 18px 20px; }
  .logo img { height: 32px; }

  .sound {
    position: fixed;
    top: 78px;
    right: 20px;
    margin: 0;
  }

  .pill-white { font-size: 14px; padding: 14px 22px; }
  .pill-grey { font-size: 14px; padding: 12px 20px; }

  /* Filter moves to the top center, like the reference.
     Centered via auto margins, not translateX, so the .pill:hover
     scale() transform doesn't knock it off-center. */
  .filter-btn {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }

  .main-nav { bottom: 20px; padding: 5px; }
  .nav-item { font-size: 15px; padding: 12px 18px; white-space: nowrap; }

  /* --- overlays / modals --- */
  .lt-close, .detail-x {
    width: 44px;
    height: 44px;
    top: 18px;
    right: 20px;
    font-size: 15px;
  }

  #letstalk { display: block; overflow-y: auto; }
  .lt-inner { width: 100%; padding: 92px 20px 48px; }
  .lt-title { margin-bottom: 32px; }
  .lt-grid { gap: 14px; margin-bottom: 32px; }
  .lt-links { flex-wrap: wrap; gap: 18px; }

  #gate { display: block; overflow-y: auto; }
  .gate-inner { width: 100%; max-width: none; padding: 120px 20px 48px; }

  /* --- filter panel: full-screen, Close pill on top --- */
  #filterPanel { width: 100vw; padding: 88px 22px 32px; }
  .fp-close {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }
  .fp-zones { margin-bottom: 36px; }
  .fp-zone { font-size: clamp(30px, 9vw, 40px); }

  /* --- project page --- */
  .detail-header { padding: 14px 20px; }
  .detail-logo img { height: 32px; max-width: 160px; }
  .detail-inner { padding: 96px 20px 90px; }
  .d-title { margin-bottom: 18px; }
  .d-meta { flex-wrap: wrap; row-gap: 10px; margin-bottom: 44px; }
  .d-meta .d-tags { flex-wrap: wrap; }
  .d-hero { margin-bottom: 56px; }
  .d-intro, .d-text, .d-image, .d-grid-block, .d-stats, .d-desc { margin-bottom: 56px; }
  .d-statement, .d-takeaways, .d-highlight { margin-bottom: 64px; }
  .d-grid { grid-template-columns: 1fr !important; }
  .d-image.phone { max-width: 320px; }

  .detail-scroll > .site-footer { padding-left: 20px; padding-right: 20px; }

  /* --- about --- */
  .about-inner { padding: 84px 20px 120px; }
  .about-topbar { margin-bottom: 40px; }
  .about-topbar .lt-close { position: static; }
  .about-statement { margin-bottom: 40px; }
  .about-cols { gap: 36px; margin-bottom: 64px; }
  .about-body p { font-size: 17px; }
}
