/* ============================================================
   ATELIER PROCURE — design system
   Dark industrial palette, Roobert + Fragment Mono
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --ink: #f4f4f4;
  --muted: #b2b0b0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #F1613A;
  --accent-dim: rgba(241, 97, 58, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.85s;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Roobert', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.mono {
  font-family: 'Fragment Mono', 'SF Mono', Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.container {
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typography ---------- */

.title-jumbo {
  font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.title-xl {
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.title-lg {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.label {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}
.lede strong { color: var(--ink); font-weight: 500; }

/* ---------- Line-mask reveal (hero titles) ---------- */

.line-mask { overflow: hidden; display: block; }
.line-mask > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1s var(--ease);
}
.loaded .line-mask > span { transform: translateY(0); }
.line-mask.d1 > span { transition-delay: 0.08s; }
.line-mask.d2 > span { transition-delay: 0.18s; }
.line-mask.d3 > span { transition-delay: 0.28s; }

/* ---------- Scroll reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions .signin {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav-actions .signin:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: #d84f2b; border-color: #d84f2b; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.mobile-menu a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.85);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.92) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero .title-jumbo strong { color: var(--accent); font-weight: 600; }
.hero-sub {
  margin-top: 32px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.hero-ctas { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.55);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 100% { top: 110%; } }

/* ---------- Sections ---------- */

.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section.tint { background: var(--bg-2); }
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .lede { justify-self: end; }

/* ---------- Category list (oversized index) ---------- */

.cat-list { border-top: 1px solid var(--line); counter-reset: cat; }
.cat-item {
  border-bottom: 1px solid var(--line);
  counter-increment: cat;
}
.cat-item a {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(22px, 3.4vw, 40px) 8px;
  position: relative;
  transition: padding-left 0.45s var(--ease);
}
.cat-item a::before {
  content: counter(cat, decimal-leading-zero);
  font-family: 'Fragment Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
.cat-item .cat-name {
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.3s ease;
}
.cat-item .cat-count {
  margin-left: auto;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.cat-item .cat-arr {
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.3s ease;
}
.cat-item a:hover { padding-left: 26px; }
.cat-item a:hover .cat-name { color: var(--accent); }
.cat-item a:hover::before { color: var(--accent); }
.cat-item a:hover .cat-arr { transform: translate(6px, -6px); color: var(--accent); }

/* ---------- Feature split ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.feature.flip .feature-media { order: 2; }
.feature-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.feature-media img {
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
  filter: saturate(0.9);
}
.feature-media .tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
}
.feature-body .title-xl { margin-bottom: 24px; }
.feature-body p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; max-width: 50ch; }
.feature-body .btn { margin-top: 18px; }

/* ---------- Stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(30px, 4vw, 54px) clamp(22px, 3vw, 40px);
}
.stat .num {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat .num em { font-style: normal; color: var(--accent); }
.stat .cap {
  margin-top: 14px;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Gallery strip ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.gallery figure:nth-child(2) { transform: translateY(48px); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.gallery figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--accent);
  color: #fff;
  padding: clamp(70px, 9vw, 120px) 0;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band .title-xl { color: #fff; }
.cta-band .btn {
  background: #0a0a0a;
  border-color: #0a0a0a;
  justify-self: end;
}
.cta-band .btn:hover { background: #212121; border-color: #212121; }
.cta-band p { margin-top: 18px; color: rgba(255,255,255,0.85); max-width: 44ch; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) 0 40px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 70px;
}
.footer .wordmark { display: block; margin-bottom: 20px; }
.footer p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; line-height: 1.7; }
.footer h4 {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.25s, color 0.25s;
}
.footer ul a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.p-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding: calc(var(--nav-h) + 40px) 0 60px;
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
}
.p-hero-body .crumb {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.p-hero-body .crumb em { font-style: normal; color: var(--accent); }
.p-hero-body .title-jumbo { margin-bottom: 26px; }
.p-hero-body .lede { margin-bottom: 36px; }
.p-hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.p-hero-media img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
  filter: saturate(0.9) brightness(0.92);
}
.p-hero-media .serial {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 2;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}

.spec-table { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.35s var(--ease);
}
.spec-row:hover { background: rgba(255,255,255,0.025); padding-left: 18px; }
.spec-row dt {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.spec-row dd { font-size: 1rem; color: var(--ink); }

.finishes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.finish { cursor: pointer; }
.finish .swatch {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}
.finish:hover .swatch { border-color: var(--accent); transform: translateY(-4px); }
.finish .fn {
  margin-top: 12px;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* gated tech data */
.gated {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.gated .gated-inner {
  padding: clamp(30px, 4vw, 56px);
  filter: blur(7px);
  opacity: 0.45;
  user-select: none;
  pointer-events: none;
}
.gated-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.55), rgba(10,10,10,0.85));
  padding: 24px;
}
.gated-overlay .lock {
  width: 44px; height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.1rem;
}
.gated-overlay h3 { font-weight: 600; font-size: 1.3rem; }
.gated-overlay p { color: var(--muted); font-size: 0.9rem; max-width: 40ch; }

/* related products */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rel-card {
  display: block;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s ease;
  background: var(--bg-2);
}
.rel-card:hover { border-color: var(--accent); }
.rel-card .rel-img { overflow: hidden; aspect-ratio: 4 / 3; }
.rel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.8s var(--ease);
}
.rel-card:hover img { transform: scale(1.06); }
.rel-card .rel-body { padding: 22px; }
.rel-card .rel-cat {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.rel-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.rel-card p { color: var(--muted); font-size: 0.85rem; }

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 48px) clamp(22px, 2.6vw, 36px);
  transition: background 0.35s ease;
  position: relative;
}
.value-card:hover { background: var(--accent-dim); }
.value-card .v-num {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 46px;
  display: block;
}
.value-card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }
.value-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-card { border: 1px solid var(--line); background: var(--bg-2); }
.team-card .avatar {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--bg-3);
  font-family: 'Fragment Mono', monospace;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease;
}
.team-card:hover .avatar { background: var(--accent-dim); }
.team-card .t-body { padding: 20px; }
.team-card h3 { font-size: 1.05rem; font-weight: 600; }
.team-card .t-role {
  margin-top: 8px;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline { border-left: 1px solid var(--line); margin-left: 8px; }
.tl-item { position: relative; padding: 0 0 44px 40px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -5px; top: 6px;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
}
.tl-item .tl-year {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.tl-item h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 0.92rem; max-width: 56ch; line-height: 1.7; }

.quote-block {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.quote-block blockquote {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.quote-block blockquote em { font-style: normal; color: var(--accent); }
.quote-block cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .stats, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .signin, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .lede { justify-self: start; }
  .feature, .p-hero { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .p-hero { min-height: unset; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(2) { transform: none; }
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-band .btn { justify-self: start; }
  .hero-meta { display: none; }
}

@media (max-width: 560px) {
  .stats, .values-grid, .team-grid, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .line-mask > span, .hero-media, .feature-media img, .p-hero-media img {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
