/* =========================================================
   GRUG website v2 — 2026 enhancements
   Loaded AFTER site-v2.css. Surgical overrides + new layers.
   ========================================================= */

/* ---------- FILM GRAIN OVERLAY (SVG noise via mask) ---------- */
.grug-site::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 80;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grainShift 8s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -2%); }
  60%  { transform: translate(-1%, -3%); }
  80%  { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.grug-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.04);
  z-index: 100;
}
.grug-progress__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #19E5FF 0%, #1A66D6 50%, #19E5FF 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 18px rgba(25, 229, 255, 0.65);
  transition: width 80ms linear;
  animation: progressShine 3s linear infinite;
}
@keyframes progressShine {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

/* ---------- CUSTOM CURSOR FOLLOWER ---------- */
@media (hover: hover) and (pointer: fine) {
  .grug-cursor {
    position: fixed; top: 0; left: 0;
    width: 32px; height: 32px;
    border: 1px solid rgba(143, 188, 246, 0.55);
    border-radius: 999px;
    pointer-events: none; z-index: 95;
    transform: translate(-50%, -50%);
    transition: width 280ms var(--ease-out),
                height 280ms var(--ease-out),
                background 280ms var(--ease-out),
                border-color 280ms var(--ease-out),
                opacity 600ms var(--ease-out);
    mix-blend-mode: difference;
    opacity: 0;
  }
  .grug-cursor.is-ready { opacity: 1; }
  .grug-cursor.is-idle  { opacity: 0; }
  .grug-cursor.is-hot {
    width: 64px; height: 64px;
    background: rgba(25, 229, 255, 0.12);
    border-color: rgba(25, 229, 255, 0.9);
  }
  .grug-cursor.is-pressed { width: 22px; height: 22px; background: rgba(25,229,255,0.3); }
  .grug-cursor__dot {
    position: fixed; top: 0; left: 0;
    width: 4px; height: 4px;
    background: #19E5FF;
    border-radius: 999px;
    pointer-events: none; z-index: 96;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(25,229,255,0.8);
    opacity: 0; transition: opacity 600ms var(--ease-out);
  }
  .grug-cursor__dot.is-ready { opacity: 1; }
  .grug-cursor__dot.is-idle  { opacity: 0; }
}

/* ---------- NAV — STATUS PILL + REFINED MICRO ---------- */
.grug-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  margin-top: 30px;
  background: rgba(3, 7, 31, 0.55);
  border: 1px solid rgba(25, 229, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #C7DDFB;
  white-space: nowrap;
  transition: margin-top var(--dur-base) var(--ease-out);
}
.grug-nav.is-scrolled .grug-status { margin-top: 18px; }
.grug-status__dot {
  width: 7px; height: 7px;
  background: #19C37D;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(25, 195, 125, 0.85);
  animation: statusPulse 2.2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.55; }
}

/* nav extras row: position status pill at the right of the nav items */
.grug-nav__extras {
  display: flex; align-items: center; gap: 18px;
}

/* link underline → fancy chevron sliding */
.grug-nav__link {
  display: inline-flex; align-items: center; gap: 8px;
}
.grug-nav__link::before {
  content: ""; width: 0; height: 1px; background: var(--grug-cyan-glow);
  transition: width var(--dur-base) var(--ease-out);
  margin-right: -8px;
  opacity: 0;
}
.grug-nav__link:hover::before { width: 16px; margin-right: 0; opacity: 1; }

/* ---------- HERO — bigger, left-aligned editorial composition ---------- */
.grug-hero {
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 0;
}
.grug-hero__scrim {
  background:
    linear-gradient(90deg, rgba(3,7,31,0.82) 0%, rgba(3,7,31,0.35) 32%, rgba(3,7,31,0.05) 60%, rgba(3,7,31,0.35) 100%),
    linear-gradient(180deg, rgba(3,7,31,0.4) 0%, transparent 25%, rgba(3,7,31,0.65) 100%);
}
.grug-hero__content {
  text-align: left;
  align-items: flex-start;
  max-width: 760px;
  padding: 0 64px 64px;
  margin-top: auto;
}
.grug-hero__content .grug-hero__sub {
  margin-left: 0;
  margin-right: auto;
}
.grug-hero__content .grug-display__line { text-align: left; }
.grug-hero__cta { justify-content: flex-start; }
.grug-hero__sub {
  font-size: 16px; max-width: 460px;
  color: #DCE6FA;
  margin: 18px 0 24px;
}

/* hero eyebrow — drop the leading rule, drop into a small monospace tag */
.grug-hero .grug-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--grug-cyan-glow);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.grug-hero .grug-eyebrow::before { display: none; }

.grug-display {
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}
.grug-display .blu {
  background: linear-gradient(180deg, #8FBCF6 0%, #19E5FF 50%, #1A66D6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* a vertical "REEL" stamp on the right edge */
.grug-hero__stamp {
  position: absolute; right: 32px; top: 50%; z-index: 3;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  display: flex; gap: 18px; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.6em; text-transform: uppercase;
  color: rgba(199, 221, 251, 0.6);
  pointer-events: none;
}
.grug-hero__stamp span:first-child::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px; background: rgba(143,188,246,0.4);
  margin-right: 12px; vertical-align: middle;
}

/* corner telemetry — promote to a small card */
.grug-hero__corner {
  left: auto;
  right: 64px;
  bottom: 64px;
  padding: 10px 14px;
  background: rgba(3,7,31,0.55);
  border: 1px solid rgba(143,188,246,0.18);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-direction: row; align-items: center; gap: 16px;
}
.grug-hero__corner::before {
  content: ""; width: 8px; height: 8px;
  background: var(--grug-cyan-glow);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(25, 229, 255, 0.85);
  animation: statusPulse 2s ease-in-out infinite;
}
.grug-hero__corner .k {
  color: #5DA0F2;
}

/* hero indicator (was hidden — show as elegant top-right) */
.grug-hero__indicator {
  display: flex !important;
  gap: 8px;
  right: 80px; bottom: 110px; left: auto;
}
.grug-hero__dot {
  width: 22px; height: 2px;
}

/* aurora glow behind hero typography */
.grug-hero__content::before {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 70%; height: 70%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(26, 102, 214, 0.22), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

.grug-eyebrow {
  font-size: 12px;
  letter-spacing: 0.36em;
}

/* ---------- MARQUEE — speed + size + accent dots ---------- */
.grug-marquee {
  padding: 32px 0;
  position: relative;
  background:
    linear-gradient(90deg, #02050F, #050B22 50%, #02050F);
}
.grug-marquee__item {
  font-size: 36px;
  font-weight: 700;
  color: rgba(245, 247, 250, 0.22);
  letter-spacing: -0.022em;
}
.grug-marquee__item::after {
  background: var(--grug-cyan-glow);
  box-shadow: 0 0 16px rgba(25, 229, 255, 0.7);
}

/* ---------- SECTION DIVIDER (use as inner element of dark sections) ---------- */
.grug-rule {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #5DA0F2;
  max-width: 1400px; margin: 0 auto 40px;
}
.grug-rule__line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(143,188,246,0.4), transparent);
}
.grug-rule__line--r {
  background: linear-gradient(90deg, transparent, rgba(143,188,246,0.4));
}

/* ---------- STATS — chrome treatment + giant typography ---------- */
.grug-stats {
  padding: 120px 64px;
}
.grug-stat__num {
  font-size: clamp(72px, 8vw, 128px);
  letter-spacing: -0.05em;
  font-weight: 700;
}
.grug-stat {
  position: relative; padding-top: 22px;
}
.grug-stat::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, #19E5FF, transparent);
}
.grug-stat:first-child::before { left: 8px; }

/* ---------- CAPABILITIES — refined ---------- */
.grug-capabilities {
  padding: 160px 64px;
}
/* Force 16:9 aspect for the rotating media frame */
.grug-cap-split { align-items: start !important; }
.grug-cap-split__media { align-self: start !important; height: auto !important; }
.grug-cap-split__frame {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  height: auto !important;
}
.grug-capabilities::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 90%);
}
.grug-cap-row__title { font-size: 26px; }
.grug-cap-row.is-active {
  background: linear-gradient(90deg, rgba(26,102,214,0.06), transparent 70%);
}

/* ---------- CLIENTS — rework as logo strip with subtle frame ---------- */
.grug-clients {
  padding: 80px 64px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 50%, rgba(11, 82, 189, 0.08), transparent 70%),
    var(--grug-navy-900);
}
.grug-clients .grug-eyebrow {
  margin-bottom: 8px;
}
.grug-clients .grug-eyebrow::before { display: none; }

/* ---------- PORTFOLIO — explicit editorial rows ---------- */
.grug-portfolio { padding: 160px 64px; }
.grug-portfolio__rows {
  display: flex; flex-direction: column;
  gap: 16px;
  max-width: 1500px; margin: 0 auto;
}
.grug-prow {
  display: grid; gap: 16px;
}
.grug-prow--full  { grid-template-columns: 1fr; }
.grug-prow--three { grid-template-columns: repeat(3, 1fr); }
.grug-prow--two   { grid-template-columns: repeat(2, 1fr); }

/* Hide legacy grid */
.grug-portfolio__grid { display: none !important; }

/* Card sizing per row type */
.grug-prow .grug-project {
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: auto !important;
}
.grug-prow--full  .grug-project { aspect-ratio: 21 / 9 !important; }
.grug-prow--two   .grug-project { aspect-ratio: 16 / 9 !important; }
.grug-prow--three .grug-project { aspect-ratio: 4 / 3 !important; }

/* Title sizing per row */
.grug-prow--full  .grug-project__title { font-size: clamp(36px, 4vw, 64px) !important; line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; }
.grug-prow--two   .grug-project__title { font-size: clamp(24px, 2.2vw, 34px) !important; line-height: 1.05; letter-spacing: -0.02em; }
.grug-prow--three .grug-project__title { font-size: 22px !important; }

.grug-prow--full .grug-project__meta { padding: 40px !important; }
.grug-prow--two  .grug-project__meta { padding: 28px !important; }

.grug-prow--full .grug-project__kind { font-size: 14px !important; color: #DCE6FA; }
.grug-prow--two  .grug-project__kind { font-size: 13px !important; color: #DCE6FA; }

.grug-prow--full .grug-project__scrim,
.grug-prow--two .grug-project__scrim {
  background:
    linear-gradient(180deg, transparent 45%, rgba(2,5,15,0.5) 70%, rgba(2,5,15,0.92) 100%);
}

/* ===== FEATURED TILE — RYZR case study (now lives in a 'full' row) ===== */
.grug-project.is-featured {
  text-decoration: none;
}
.grug-project.is-featured .grug-project__img {
  background-position: center 40%;
}
.grug-project.is-featured .grug-project__scrim {
  background:
    linear-gradient(180deg, transparent 30%, rgba(2,5,15,0.45) 60%, rgba(2,5,15,0.92) 100%),
    linear-gradient(90deg, rgba(2,5,15,0.45) 0%, transparent 50%);
}
.grug-project.is-featured .grug-project__cta {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(127,229,216,0.16);
  border: 1px solid rgba(127,229,216,0.45);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #B8F3EA;
  font-weight: 600;
  align-self: flex-start;
  width: fit-content;
  transition: all 320ms var(--ease-out);
}
.grug-project.is-featured:hover .grug-project__cta {
  background: #7FE5D8;
  color: #02050F;
  border-color: #7FE5D8;
  transform: translateX(4px);
}
.grug-project__badge {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(2,5,15,0.6);
  border: 1px solid rgba(127,229,216,0.45);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: #B8F3EA;
}
.grug-project__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: #7FE5D8;
  box-shadow: 0 0 10px rgba(127,229,216,0.7);
  animation: statusPulse 2.2s ease-in-out infinite;
}
.grug-project.is-featured .grug-project__arrow {
  background: rgba(127,229,216,0.18);
  border-color: rgba(127,229,216,0.5);
  color: #B8F3EA;
}

@media (max-width: 1100px) {
  .grug-prow--three { grid-template-columns: repeat(2, 1fr); }
  .grug-prow--three .grug-project:nth-child(3) { grid-column: 1 / span 2; aspect-ratio: 16 / 9 !important; }
}
@media (max-width: 700px) {
  .grug-prow--three,
  .grug-prow--two,
  .grug-prow--full { grid-template-columns: 1fr; }
  .grug-prow--three .grug-project:nth-child(3) { grid-column: auto; aspect-ratio: 4 / 3 !important; }
  .grug-prow--full .grug-project { aspect-ratio: 16 / 9 !important; }
  .grug-prow--two .grug-project,
  .grug-prow--three .grug-project { aspect-ratio: 4 / 3 !important; }
  .grug-prow--full .grug-project__title { font-size: 32px !important; }
}

/* ---------- SECTION HEADS — bigger displays ---------- */
.grug-h2 {
  font-size: clamp(40px, 5.2vw, 80px);
  letter-spacing: -0.036em;
  font-weight: 700;
}
.grug-p.lg {
  font-size: 19px;
  line-height: 1.55;
  color: #DCE6FA;
}

/* ---------- PROCESS — vertical alternating timeline ---------- */
.grug-process { padding: 160px 64px; }
.grug-process__rail {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 880px;
  position: relative;
}
.grug-process__line {
  left: 30px; right: auto; top: 0; bottom: 0;
  width: 1px; height: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06));
}
.grug-process__line .fill {
  background: linear-gradient(180deg, var(--grug-cyan-glow) 0%, var(--grug-blue-500) 100%);
  transform-origin: top;
}
.grug-process.is-visible .grug-process__line .fill { transform: scaleY(1); transform-origin: top; }
.grug-step {
  padding: 28px 0 28px 80px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.grug-step:last-child { border-bottom: 0; }
.grug-step__dot {
  position: absolute; left: 16px; top: 30px;
  width: 28px; height: 28px;
  background: var(--grug-navy-900);
}
.grug-step__title {
  font-size: 32px;
  text-transform: none;
  letter-spacing: -0.024em;
  font-weight: 600;
}
.grug-step__body {
  font-size: 16px;
  max-width: 620px;
  color: #B8C2D3;
}

/* ---------- CTA — bolder, with frame ---------- */
.grug-cta {
  padding: 180px 64px;
}
.grug-cta__inner {
  border: 1px solid rgba(143,188,246,0.16);
  padding: 80px 48px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(26,102,214,0.18), transparent 70%),
    linear-gradient(180deg, rgba(3,7,31,0.55), rgba(3,7,31,0.85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- FOOTER ---------- */
.grug-footer { padding: 80px 64px 36px; }

/* ---------- SCROLL CUE BACK ---------- */
.grug-scroll-cue {
  display: flex !important;
  flex-direction: column; gap: 8px;
  align-items: center;
  right: auto; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.4em; color: rgba(199, 221, 251, 0.55);
}

/* ---------- BUTTON tweaks ---------- */
.grug-btn--primary {
  background: linear-gradient(180deg, #2C7CEC 0%, #0F66E0 100%);
  box-shadow: 0 12px 28px rgba(11, 82, 189, 0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}
.grug-btn--primary:hover {
  background: linear-gradient(180deg, #5DA0F2 0%, #2C7CEC 100%);
}

/* tiny hide on small */
@media (max-width: 900px) {
  .grug-hero__stamp { display: none; }
  .grug-hero__content { padding: 0 28px 60px; }
  .grug-status { display: none; }
  .grug-process__line { left: 14px; }
  .grug-step { padding-left: 56px; }
  .grug-step__dot { left: 0; }
}

/* =========================================================
   EDITORIAL LAYER — significant redesign (v2.1)
   ========================================================= */

/* ---------- SECTION INDEX STRIP — split into corner anchors ---------- */
.grug-index {
  position: absolute;
  top: 24px; left: 64px; right: 64px;
  z-index: 5;
  display: contents;
  pointer-events: none;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
}
.grug-index__no {
  position: absolute;
  top: 32px; left: 64px;
  z-index: 5;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #DCE6FA;
  display: inline-flex; align-items: center; gap: 14px;
  -webkit-text-fill-color: currentColor;
  background: none;
}
.grug-index__no::before {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--grug-cyan-glow), transparent);
}
.grug-index__title {
  position: absolute;
  top: 32px; left: 64px;
  padding-left: 60px;
  z-index: 5;
  color: #DCE6FA;
  letter-spacing: 0.32em;
}
/* hide the title position offset trick by injecting a child wrapper */
.grug-index__title { display: none; }

.grug-index__meta {
  position: absolute;
  right: 64px; bottom: 32px;
  z-index: 5;
  color: #5DA0F2;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
}
.grug-index__meta::after {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--grug-cyan-glow));
}
.grug-index__live {
  position: absolute;
  right: 64px; bottom: 32px;
  z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  color: #DCE6FA;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.grug-index__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--grug-cyan-glow);
  box-shadow: 0 0 10px rgba(25,229,255,0.7);
  animation: statusPulse 2.2s ease-in-out infinite;
  display: inline-block;
}

@media (max-width: 700px) {
  .grug-index__no, .grug-index__meta, .grug-index__live { left: 24px; right: 24px; top: 16px; bottom: 16px; }
}

/* ---------- GIANT SECTION WATERMARK — outlined numeral behind heading ---------- */
.grug-mark {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(180px, 22vw, 360px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(143, 188, 246, 0.14);
  text-stroke: 1px rgba(143, 188, 246, 0.14);
  top: 0; right: 64px;
  z-index: 0;
  user-select: none;
}
.grug-mark--l { right: auto; left: 64px; }

/* ---------- HERO — editorial mode (sidebar tagline + image-led layout) ---------- */
.grug-hero__content {
  max-width: 1080px;
}

.grug-hero__sidebar {
  position: absolute; left: 80px; top: 50%; z-index: 3;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #94A0B2;
  border-left: 1px solid rgba(143, 188, 246, 0.22);
  padding: 0 0 0 18px;
  max-width: 240px;
}
.grug-hero__sidebar strong {
  color: #fff; font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 11px;
  display: block;
}
.grug-hero__sidebar > div { line-height: 1.6; }

@media (max-width: 1100px) {
  .grug-hero__sidebar { display: none; }
}

/* ---------- CAPABILITIES — editorial split title ---------- */
.grug-capabilities__head {
  text-align: left !important;
  margin: 0 auto 56px;
  max-width: 1400px !important;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
}
.grug-capabilities__head .grug-eyebrow.center { justify-content: flex-start !important; }
.grug-capabilities__head .grug-h2.center { text-align: left !important; }
.grug-capabilities__head .grug-p.lg { max-width: none; margin: 0 !important; }

@media (max-width: 900px) {
  .grug-capabilities__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- SERVICES — editorial split title ---------- */
.grug-services__head {
  text-align: left !important;
  margin: 0 auto 56px;
  max-width: 1400px !important;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
}
.grug-services__head .grug-eyebrow.center { justify-content: flex-start !important; }
.grug-services__head .grug-h2.center { text-align: left !important; }
.grug-services__head .grug-p.lg { max-width: none; margin: 0 !important; }

@media (max-width: 900px) {
  .grug-services__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- PORTFOLIO — editorial split title ---------- */
.grug-portfolio__head {
  text-align: left !important;
  margin: 0 auto 56px !important;
  max-width: 1400px !important;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
}
.grug-portfolio__head .grug-eyebrow.center { justify-content: flex-start !important; }
.grug-portfolio__head .grug-h2.center { text-align: left !important; }
.grug-portfolio__head .grug-p.lg { max-width: none; margin: 0 !important; }

@media (max-width: 900px) {
  .grug-portfolio__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- PROCESS — editorial split title ---------- */
.grug-process__head {
  text-align: left !important;
  margin: 0 auto 56px !important;
  max-width: 880px !important;
}
.grug-process__head .grug-eyebrow.center { justify-content: flex-start !important; }
.grug-process__head .grug-h2.center { text-align: left !important; }

/* ---------- LEADERSHIP — editorial split title ---------- */
.grug-leadership__head {
  text-align: left !important;
  margin: 0 auto 56px !important;
  max-width: 1400px !important;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
}
.grug-leadership__head .grug-eyebrow.center { justify-content: flex-start !important; }
.grug-leadership__head .grug-h2.center { text-align: left !important; }
.grug-leadership__head .grug-p.lg { max-width: none; margin: 0 !important; }

@media (max-width: 900px) {
  .grug-leadership__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- CTA — keep centered (intentional pause) ---------- */
.grug-cta__inner { text-align: center; }
.grug-cta .grug-eyebrow.center { justify-content: center; }
.grug-cta .grug-h2.center { text-align: center; }

/* ---------- SECTION POSITIONING — allow watermark anchoring ---------- */
.grug-capabilities, .grug-services, .grug-portfolio,
.grug-process, .grug-stats, .grug-leadership, .grug-clients {
  position: relative; overflow: hidden;
}

/* ---------- STATS — center + watermark friendly ---------- */
.grug-stats .grug-mark { right: 64px; top: -40px; }
.grug-stats__grid { position: relative; z-index: 1; }

/* ---------- CLIENTS — bigger, editorial framing ---------- */
.grug-clients {
  padding: 100px 64px !important;
}
.grug-clients__inner { text-align: left !important; max-width: 1400px !important; }
.grug-clients .grug-eyebrow.center { justify-content: flex-start !important; margin-bottom: 18px !important; }
.grug-clients__row { margin-top: 24px !important; }

/* ---------- LEADERSHIP CARDS — slightly larger image area ---------- */
.grug-leader__media { aspect-ratio: 4 / 3 !important; }

/* =========================================================
   WATERMARK SUPPRESSION
   Any image-bearing card gets a soft dark vignette in the
   bottom-right corner to hide AI-tool sparkle watermarks.
   ========================================================= */
.grug-project,
.grug-leader__media,
.grug-cap-split__frame,
.grug-spotlight__frame {
  position: relative;
}
.grug-project::after,
.grug-leader__media::before,
.grug-cap-split__frame::after,
.grug-spotlight__frame::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 60px; height: 60px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at bottom right,
                rgba(3,7,31,1) 0%,
                rgba(3,7,31,0.9) 18%,
                rgba(3,7,31,0.55) 45%,
                rgba(3,7,31,0.2) 70%,
                transparent 100%);
}
/* portfolio meta/arrow live at z-index 2, so vignette at z-index 1 stays below text */
.grug-project__meta, .grug-project__arrow, .grug-project__scrim { z-index: 2; }
.grug-leader__role { z-index: 3; }

/* small image-thumb-style media (capabilities) ─ smaller corner */
.grug-cap-split__frame::after { width: 70px; height: 70px; }

/* spotlight has full-bleed image — larger corner */
.grug-spotlight__frame::after { width: 80px; height: 80px; }

/* JETX logo is wide line-art — bump max-width */
.grug-client__img--logoJetxReal { max-height: 96px; max-width: 78%; }

/* Project card: opt-in "contain" fit for images that shouldn't be cropped */
.grug-project__img.is-contain {
  background-size: contain !important;
  background-repeat: no-repeat;
  background-color: #000;
}
.grug-project__img.is-contain ~ .grug-project__scrim {
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.85) 100%);
}


.grug-awards {
  position: relative; overflow: hidden;
  padding: 140px 64px 160px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(228, 5, 33, 0.06), transparent 70%),
    var(--grug-navy-900);
}
.grug-awards__head {
  text-align: left;
  margin: 0 auto 56px;
  max-width: 1400px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
  position: relative; z-index: 2;
}
.grug-awards__head .grug-eyebrow.center { justify-content: flex-start; color: #FF2A3C; }
.grug-awards__head .grug-eyebrow.center::before { background: linear-gradient(90deg, transparent, #FF2A3C); }
.grug-awards__head .grug-h2.center { text-align: left; }
.grug-awards__head .grug-p.lg { max-width: none; margin: 0; }

.grug-awards__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
}

.grug-award {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 500ms var(--ease-out);
}
.grug-award::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 14px; padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(228, 5, 33, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 500ms var(--ease-out);
  pointer-events: none;
}
.grug-award:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(3,7,31,0.55), 0 0 0 1px rgba(228, 5, 33, 0.16);
}
.grug-award:hover::before { opacity: 1; }

.grug-award__seal {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(228, 5, 33, 0.1);
  border: 1px solid rgba(228, 5, 33, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #FF6B7A;
}
.grug-award__seal .g { opacity: 0.5; }

.grug-award__plate {
  /* WHITE plate so government logos read with full color integrity */
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F6FA 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  padding: 36px 28px;
  min-height: 150px;
  position: relative;
}
.grug-award__plate::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(228, 5, 33, 0.4), transparent);
  opacity: 0; transition: opacity 500ms var(--ease-out);
}
.grug-award:hover .grug-award__plate::after { opacity: 1; }
.grug-award__plate img {
  max-width: 85%; max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

.grug-award__body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, rgba(11,82,189,0.04), transparent);
}
.grug-award__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: 0.04em;
  color: #fff;
}
.grug-award__detail {
  font-family: var(--font-body); font-size: 12px;
  line-height: 1.5; color: #94A0B2;
}

@media (max-width: 1100px) {
  .grug-awards__grid { grid-template-columns: repeat(2, 1fr); }
  .grug-awards__head { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .grug-awards__grid { grid-template-columns: 1fr; }
  .grug-awards { padding: 80px 24px 100px; }
}

/* ---------- bigger hero stamp ---------- */
.grug-hero__stamp {
  font-size: 11px;
  color: rgba(199, 221, 251, 0.75);
}

/* =========================================================
   SHOWREEL — autoplay studio video
   ========================================================= */
.grug-reel {
  position: relative; overflow: hidden;
  padding: 140px 64px 160px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(26,102,214,0.14), transparent 70%),
    var(--grug-navy-900);
}
.grug-reel__head {
  text-align: left;
  margin: 0 auto 56px;
  max-width: 1400px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
  position: relative; z-index: 2;
}
.grug-reel__head .grug-eyebrow.center { justify-content: flex-start; }
.grug-reel__head .grug-h2.center { text-align: left; }
.grug-reel__head .grug-p.lg { max-width: none; margin: 0; }

.grug-reel__frame {
  position: relative;
  flex: 1;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(143,188,246,0.18);
  box-shadow:
    0 60px 120px rgba(0,0,0,0.65),
    0 0 0 1px rgba(26,102,214,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  aspect-ratio: 16 / 9;
  background: #02050F;
  z-index: 1;
}

/* corner mask + GRUG studio badge — covers Veo logo */
.grug-reel__brand {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(3,7,31,0.78);
  border: 1px solid rgba(143,188,246,0.28);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #DCE6FA;
}
.grug-reel__brand::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--grug-cyan-glow);
  box-shadow: 0 0 8px rgba(25,229,255,0.85);
}

/* layout — frame + side index */
.grug-reel__layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 24px;
  max-width: 1400px; margin: 0 auto;
  position: relative; z-index: 1;
  align-items: start;
}
.grug-reel__index {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.grug-reel__chip {
  width: 100%;
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  align-items: center;
  padding: 14px 14px 14px 12px;
  background: transparent;
  border: 1px solid rgba(143,188,246,0.08);
  border-radius: 10px;
  color: #B8C2D3;
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all 320ms var(--ease-out);
}
.grug-reel__chip:hover {
  border-color: rgba(143,188,246,0.32);
  background: rgba(26,102,214,0.05);
  color: #fff;
}
.grug-reel__chip.is-active {
  border-color: rgba(25,229,255,0.4);
  background: linear-gradient(90deg, rgba(15,102,224,0.18), rgba(15,102,224,0));
  color: #fff;
}
.grug-reel__chip .n {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grug-cyan-glow);
  font-weight: 500;
}
.grug-reel__chip .t {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: -0.01em;
}
.grug-reel__chip .bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--grug-cyan-glow);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 320ms var(--ease-out);
}
.grug-reel__chip.is-active .bar { transform: scaleY(1); }

/* counter badge on the video frame */
.grug-reel__counterBadge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: inline-flex; align-items: baseline; gap: 4px;
  padding: 8px 14px;
  background: rgba(3,7,31,0.55);
  border: 1px solid rgba(143,188,246,0.22);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  color: #fff;
}
.grug-reel__counterBadge > span:first-child {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--grug-cyan-glow);
}
.grug-reel__counterBadge .slash { color: rgba(255,255,255,0.4); font-size: 13px; }
.grug-reel__counterBadge .total { font-size: 11px; color: #B8C2D3; letter-spacing: 0.04em; }

@media (max-width: 1000px) {
  .grug-reel__layout { grid-template-columns: 1fr; }
  .grug-reel__index { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .grug-reel__chip { min-width: 240px; }
}
.grug-reel__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Crop any AI-tool watermark in the bottom-right corner.
     transform-origin top-left + scale up pushes bottom + right edges OUTSIDE the frame. */
  transform: scale(1.16);
  transform-origin: 0 0;
  filter: saturate(0.95) contrast(1.05);
}
/* extra cover: a dark vignette in the bottom-right corner over the video */
.grug-reel__frame::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 22%; height: 18%;
  pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at bottom right, rgba(3,7,31,0.85) 0%, rgba(3,7,31,0.55) 40%, transparent 80%);
}
.grug-reel__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,7,31,0.45) 0%, transparent 25%, rgba(3,7,31,0.6) 100%);
}
.grug-reel__meta {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.grug-reel__counter {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(3,7,31,0.55);
  border: 1px solid rgba(143,188,246,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: #DCE6FA;
}
.grug-reel__counter .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #E40521;
  box-shadow: 0 0 10px rgba(228, 5, 33, 0.85);
  animation: statusPulse 1.6s ease-in-out infinite;
}
.grug-reel__sound {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,7,31,0.6);
  border: 1px solid rgba(143,188,246,0.28);
  color: #DCE6FA;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 300ms var(--ease-out);
}
.grug-reel__sound:hover {
  background: var(--grug-blue-500);
  border-color: var(--grug-blue-400);
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .grug-reel { padding: 80px 24px 100px; }
  .grug-reel__head { grid-template-columns: 1fr; gap: 18px; }
}

/* =========================================================
   SPOTLIGHT — phase markers (A/B/C)
   ========================================================= */
.grug-spotlight__frame { position: relative; }
.grug-spotlight__phases {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  display: flex; gap: 6px;
}
.grug-spotlight__phases > div {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(3, 7, 31, 0.75);
  border: 1px solid rgba(143, 188, 246, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #DCE6FA;
}
.grug-spotlight__phases .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--grug-blue-500);
  color: #fff;
  font-size: 9px; font-weight: 700;
}
.grug-spotlight__phases > div:nth-child(2) .n { background: var(--grug-cyan-glow); color: #03071F; }
.grug-spotlight__phases > div:nth-child(3) .n { background: #19C37D; color: #03071F; }

@media (max-width: 700px) {
  .grug-spotlight__phases { flex-direction: column; }
  .grug-spotlight__phases > div { padding: 6px 10px; }
}

/* override old spotlight - the new image is a documented board, keep it contained but elegant */
.grug-spotlight {
  padding: 140px 64px 160px !important;
}
.grug-spotlight__head {
  text-align: left !important;
  margin: 0 auto 56px !important;
  max-width: 1400px !important;
}
.grug-spotlight__head .grug-eyebrow.center { justify-content: flex-start; }
.grug-spotlight__head .grug-h2.center { text-align: left; }
.grug-spotlight__head .grug-p.lg { max-width: 600px !important; margin: 0 !important; }
.grug-spotlight__frame {
  aspect-ratio: 4 / 3 !important;
  max-width: 1180px !important;
  background: #0A0F1E !important;
}
.grug-spotlight__img {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #0A0F1E !important;
}

/* =========================================================
   LEADERSHIP — multi-paragraph bio styling
   ========================================================= */
/* Equalize card heights: stretch grid + push stats/tags to the bottom */
.grug-leadership__grid { align-items: stretch !important; }
.grug-leader { height: 100%; }
.grug-leader__body {
  flex: 1 1 auto !important;
}
.grug-leader__bioWrap {
  display: flex; flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  flex: 1 1 auto;  /* push stats/tags down so both cards equalize */
}
.grug-leader__bioWrap p { margin: 0; }
.grug-leader__bioWrap p.is-lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: #fff;
}
.grug-leader__bioWrap p:not(.is-lede) {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: #B8C2D3;
}

/* =========================================================
   FOOTER socials bar
   ========================================================= */
.grug-footer__socials {
  display: flex; align-items: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.grug-footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(143, 188, 246, 0.22);
  background: rgba(143, 188, 246, 0.04);
  color: #DCE6FA;
  text-decoration: none;
  transition: all 240ms var(--ease-out);
}
.grug-footer__social svg {
  width: 20px; height: 20px;
  display: block;
}
.grug-footer__social:hover {
  background: #7FE5D8;
  color: #02050F;
  border-color: #7FE5D8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(127, 229, 216, 0.25);
}

/* Variant used in the Connect column — bigger circles, vertical stack option */
.grug-footer__socialsTall {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
/* Override the inherited footer__col a { display: block } so the SVG centers correctly */
.grug-footer__col a.grug-footer__social {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  width: 52px !important;
  height: 52px !important;
}
.grug-footer__social.is-tall {
  width: 52px; height: 52px;
}
.grug-footer__social.is-tall svg {
  width: 30px;
  height: 30px;
  display: block;
}
.grug-proto {
  position: relative;
  padding: 160px 64px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(127, 229, 216, 0.06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(26, 102, 214, 0.08), transparent 70%),
    var(--grug-navy-900);
}
.grug-proto__head {
  max-width: 1500px; margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.grug-proto__head .grug-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #7FE5D8;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.grug-proto__head .grug-eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, #7FE5D8, transparent);
}
.grug-proto__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
}
.grug-proto__h em {
  font-style: italic; font-weight: 500; color: #7FE5D8;
}
.grug-proto__lede {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.6;
  color: #B8C2D3;
  margin: 0;
  max-width: 540px;
}

/* Grid: wide card + standard card */
.grug-proto__grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
}
.grug-proto__card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #0A0F1E;
  aspect-ratio: 16 / 9;
  cursor: default;
}
.grug-proto__card--wide { aspect-ratio: auto; min-height: 540px; }

.grug-proto__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease-out);
}
.grug-proto__card:hover .grug-proto__img { transform: scale(1.03); }

.grug-proto__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,5,15,0.05) 0%, transparent 30%, transparent 55%, rgba(2,5,15,0.85) 100%);
}

.grug-proto__plate {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: rgba(2,5,15,0.65);
  border: 1px solid rgba(127,229,216,0.35);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B8F3EA;
}
.grug-proto__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #7FE5D8;
  box-shadow: 0 0 10px rgba(127,229,216,0.7);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.grug-proto__cap {
  position: absolute;
  left: 28px; bottom: 28px;
  z-index: 2;
  max-width: 540px;
  display: flex; flex-direction: column; gap: 8px;
}
.grug-proto__capTag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #7FE5D8;
}
.grug-proto__capTag::before {
  content: ""; width: 22px; height: 1px; background: #7FE5D8;
}
.grug-proto__capTitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.grug-proto__card:not(.grug-proto__card--wide) .grug-proto__capTitle { font-size: 20px; }
.grug-proto__capSub {
  font-family: var(--font-body);
  font-size: 13px;
  color: #B8C2D3;
  line-height: 1.5;
}

/* Stat strip */
.grug-proto__strip {
  max-width: 1500px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(143, 188, 246, 0.12);
  border-radius: 4px;
  background: rgba(3, 7, 31, 0.4);
}
.grug-proto__stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(143, 188, 246, 0.1);
  display: flex; flex-direction: column; gap: 8px;
}
.grug-proto__stat:last-child { border-right: 0; }
.grug-proto__statK {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #7FE5D8;
}
.grug-proto__statV {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
}

@media (max-width: 1100px) {
  .grug-proto__head { grid-template-columns: 1fr; gap: 24px; }
  .grug-proto__grid { grid-template-columns: 1fr; }
  .grug-proto__card--wide { min-height: 0; aspect-ratio: 16 / 9; }
  .grug-proto__strip { grid-template-columns: repeat(2, 1fr); }
  .grug-proto__stat:nth-child(2) { border-right: 0; }
  .grug-proto__stat:nth-child(1), .grug-proto__stat:nth-child(2) {
    border-bottom: 1px solid rgba(143, 188, 246, 0.1);
  }
}
@media (max-width: 700px) {
  .grug-proto { padding: 100px 28px; }
  .grug-proto__cap { left: 20px; bottom: 20px; }
  .grug-proto__capTitle { font-size: 18px !important; }
}

/* =========================================================
   PROTOTYPE — capability blocks, detail grid, flight test
   ========================================================= */

/* Sub-section heading (used 3x in the section) */
.grug-proto__subTag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #7FE5D8;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.grug-proto__subTag::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, #7FE5D8, transparent);
}
.grug-proto__subH {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 56px;
  max-width: 800px;
}
.grug-proto__subH em {
  font-style: italic; font-weight: 500; color: #7FE5D8;
}
.grug-proto__subLede {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #B8C2D3;
  max-width: 540px;
  margin: -40px 0 56px;
}

/* CAPABILITY CENTERPIECE */
.grug-proto__capability {
  max-width: 1500px;
  margin: 0 auto 80px;
}
.grug-proto__capHead { margin-bottom: 40px; }
.grug-proto__centerGrid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}
.grug-proto__hero,
.grug-proto__flow {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(143, 188, 246, 0.12);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.grug-proto__hero {
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(11, 82, 189, 0.16), transparent 70%),
    linear-gradient(180deg, #06112E 0%, #03071F 100%);
}
.grug-proto__flow {
  background:
    radial-gradient(ellipse 70% 60% at 50% 60%, rgba(127, 229, 216, 0.1), transparent 70%),
    linear-gradient(180deg, #050B22 0%, #02050F 100%);
}
.grug-proto__hero img,
.grug-proto__flow img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.grug-proto__hero:hover img,
.grug-proto__flow:hover img { transform: scale(1.02); }

.grug-proto__heroPlate {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: rgba(2, 5, 15, 0.7);
  border: 1px solid rgba(127, 229, 216, 0.35);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B8F3EA;
}
.grug-proto__heroCap {
  position: absolute;
  left: 20px; bottom: 20px;
  right: 20px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #DCE6FA;
  background: rgba(2, 5, 15, 0.55);
  border: 1px solid rgba(143, 188, 246, 0.16);
  border-radius: 6px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.grug-proto__heroCap .grug-proto__capTag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7FE5D8;
  display: block;
  margin-bottom: 4px;
}

/* DETAIL GRID */
.grug-proto__details {
  max-width: 1500px;
  margin: 0 auto 80px;
}
.grug-proto__detailGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.grug-proto__detail {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: rgba(3, 7, 31, 0.5);
  border: 1px solid rgba(143, 188, 246, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: all 320ms var(--ease-out);
}
.grug-proto__detail:hover {
  border-color: rgba(127, 229, 216, 0.35);
  transform: translateY(-3px);
}
.grug-proto__detailImg {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #02050F;
  transition: transform 1.4s var(--ease-out);
}
.grug-proto__detail:hover .grug-proto__detailImg { transform: scale(1.04); }
.grug-proto__detailCap {
  padding: 18px 18px 22px;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid rgba(143, 188, 246, 0.08);
}
.grug-proto__detailN {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #7FE5D8;
}
.grug-proto__detailT {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.2;
}
.grug-proto__detailB {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #94A0B2;
  margin-top: 4px;
}

/* FLIGHT TEST wrapper — reuses existing card styles */
.grug-proto__flight {
  max-width: 1500px;
  margin: 0 auto;
}

/* CLIENT PROTOTYPE — Nalwa grid (clean 2×2, portfolio-style) */
.grug-proto__nalwaGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.grug-proto__nalwaCard {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(143, 188, 246, 0.12);
  background: #02050F;
  aspect-ratio: 16 / 10;
  display: block;
}
.grug-proto__nalwaImg {
  position: absolute; inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #03071F;
  transition: transform 1.4s var(--ease-out);
}
.grug-proto__nalwaCard:hover .grug-proto__nalwaImg { transform: scale(1.03); }
.grug-proto__nalwaCard::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,7,31,0.15) 0%, transparent 30%, transparent 60%, rgba(3,7,31,0.55) 100%);
  pointer-events: none;
}
.grug-proto__nalwaPlate {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(2,5,15,0.65);
  border: 1px solid rgba(127, 229, 216, 0.35);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #B8F3EA;
}
.grug-proto__nalwaCap {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  background: rgba(2, 5, 15, 0.55);
  border: 1px solid rgba(143, 188, 246, 0.16);
  border-radius: 6px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #DCE6FA;
}
.grug-proto__nalwaCap .grug-proto__capTag {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7FE5D8;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .grug-proto__nalwaGrid {
    grid-template-columns: 1fr 1fr !important;
  }
  .grug-proto__nalwaCard { aspect-ratio: 4 / 3 !important; }
}
@media (max-width: 600px) {
  .grug-proto__nalwaGrid {
    grid-template-columns: 1fr !important;
  }
  .grug-proto__nalwaCard { aspect-ratio: 16 / 10 !important; }
  .grug-proto__nalwaCap { font-size: 11px !important; padding: 10px 12px !important; }
  /* Plates must never overflow a narrow card: shrink + allow wrap */
  .grug-proto__nalwaPlate,
  .grug-proto__heroPlate {
    top: 12px !important; left: 12px !important;
    max-width: calc(100% - 24px) !important;
    font-size: 8.5px !important;
    letter-spacing: 0.16em !important;
    padding: 6px 9px !important;
    gap: 7px !important;
    line-height: 1.3 !important;
  }
  .grug-proto__nalwaCap,
  .grug-proto__heroCap {
    left: 12px !important; right: 12px !important; bottom: 12px !important;
  }
}

/* Mobile pass for new sub-blocks */
@media (max-width: 1100px) {
  .grug-proto__centerGrid { grid-template-columns: 1fr; }
  .grug-proto__hero, .grug-proto__flow { min-height: 360px; }
  .grug-proto__detailGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grug-proto__subH { font-size: 24px !important; margin-bottom: 32px !important; }
  .grug-proto__subLede { margin: -20px 0 32px !important; font-size: 14px !important; }
  .grug-proto__capability { margin-bottom: 56px !important; }
  .grug-proto__details { margin-bottom: 56px !important; }
  .grug-proto__hero, .grug-proto__flow {
    min-height: 280px !important;
    padding: 24px !important;
  }
  .grug-proto__heroCap { font-size: 11px !important; padding: 10px 12px !important; }
  .grug-proto__heroPlate { font-size: 9px !important; padding: 6px 10px !important; }
  .grug-proto__detailGrid { grid-template-columns: 1fr !important; }
  .grug-proto__detailCap { padding: 14px 14px 18px !important; }
}

/* =========================================================
   VOICES — pull-quote carousel
   ========================================================= */
.grug-voices {
  position: relative; overflow: hidden;
  padding: 160px 64px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(127, 229, 216, 0.06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(26, 102, 214, 0.08), transparent 70%),
    var(--grug-navy-900);
}
.grug-voices__inner {
  max-width: 1280px; margin: 0 auto;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 64px;
  align-items: center;
}
.grug-voices__rail {
  display: flex; flex-direction: column; gap: 28px; align-self: start;
  padding-top: 32px;
}
.grug-voices__eb {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #7FE5D8;
  display: inline-flex; align-items: center; gap: 14px;
}
.grug-voices__eb::before {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, #7FE5D8, transparent);
}
.grug-voices__counter {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.grug-voices__counter span {
  color: #5F6A82; font-size: 14px; font-weight: 400;
}

.grug-voices__stage {
  position: relative;
  padding: 16px 0;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 40px;
}
.grug-voices__mark {
  position: absolute;
  top: -64px; left: -32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 280px;
  line-height: 1;
  color: #7FE5D8;
  opacity: 0.12;
  pointer-events: none;
}
.grug-voices__quote {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  animation: voiceFade 600ms var(--ease-out);
}
@keyframes voiceFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.grug-voices__attr {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-mono);
}
.grug-voices__rule {
  width: 48px; height: 1px; background: #7FE5D8;
  margin-bottom: 14px;
}
.grug-voices__who {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #fff;
}
.grug-voices__where {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #94A0B2;
}

.grug-voices__dots {
  display: flex; flex-direction: column; gap: 14px;
  justify-self: end;
  padding-top: 32px;
}
.grug-voices__dot {
  width: 28px; height: 2px;
  background: rgba(143, 188, 246, 0.18);
  border: 0; padding: 0;
  cursor: pointer;
  transition: all 320ms var(--ease-out);
}
.grug-voices__dot:hover { background: rgba(127, 229, 216, 0.5); }
.grug-voices__dot.is-active {
  background: #7FE5D8;
  width: 48px;
  box-shadow: 0 0 12px rgba(127, 229, 216, 0.6);
}

@media (max-width: 1000px) {
  .grug-voices { padding: 100px 28px; }
  .grug-voices__inner { grid-template-columns: 1fr; gap: 32px; }
  .grug-voices__rail { flex-direction: row; padding-top: 0; align-items: center; justify-content: space-between; }
  .grug-voices__dots { flex-direction: row; justify-self: start; padding-top: 0; }
  .grug-voices__mark { font-size: 180px; top: -40px; left: -12px; }
  .grug-voices__stage { min-height: 0; gap: 28px; }
}

/* =========================================================
   MOBILE PATCH — comprehensive phone pass (<= 768px)
   Loaded last to win specificity wars.
   ========================================================= */
@media (max-width: 768px) {
  /* Kill horizontal overflow at the root */
  html, body { overflow-x: hidden; }
  body { -webkit-text-size-adjust: 100%; }

  /* Section index decorations get out of the way */
  .grug-mark, .grug-mark--l { display: none !important; }
  .grug-index__no, .grug-index__meta, .grug-index__live {
    font-size: 9px !important;
    letter-spacing: 0.22em !important;
  }
  .grug-index__no { top: 12px !important; left: 16px !important; right: auto !important; bottom: auto !important; }
  .grug-index__meta { top: 12px !important; right: 16px !important; left: auto !important; bottom: auto !important; }
  .grug-index__live { display: none !important; }

  /* Universal section padding reset */
  .grug-capabilities,
  .grug-services,
  .grug-portfolio,
  .grug-proto,
  .grug-voices,
  .grug-awards,
  .grug-spotlight,
  .grug-leadership,
  .grug-cta,
  .grug-stats,
  .grug-clients,
  .grug-process,
  .grug-reel,
  .grug-founder {
    padding: 80px 20px !important;
  }

  /* ---- HERO ---- */
  .grug-hero { min-height: 90vh; }
  .grug-hero__content {
    padding: 0 20px 40px !important;
    max-width: 100% !important;
    margin-top: auto;
  }
  .grug-hero__sub { font-size: 14px !important; max-width: 100% !important; margin: 14px 0 20px !important; }
  .grug-hero .grug-eyebrow { font-size: 9px !important; letter-spacing: 0.28em !important; margin-bottom: 14px !important; }
  .grug-display { font-size: clamp(36px, 9vw, 56px) !important; line-height: 0.98 !important; letter-spacing: -0.03em !important; }
  .grug-hero__corner { display: none !important; }
  .grug-hero__stamp { display: none !important; }
  .grug-hero__sidebar { display: none !important; }

  /* ---- NAV ---- */
  .grug-nav { padding: 10px 16px !important; }
  .grug-nav__links { display: none !important; }
  .grug-nav__cta { padding: 8px 14px !important; font-size: 11px !important; letter-spacing: 0.16em !important; }
  .grug-nav__logo img { height: 22px !important; }

  /* ---- DISPLAY HEADLINES ---- */
  .grug-h2 {
    font-size: clamp(28px, 6.5vw, 38px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.028em !important;
  }
  .grug-p.lg { font-size: 15px !important; line-height: 1.55 !important; }

  /* ---- HEAD ROWS (eyebrow + h2 + paragraph) — stack ---- */
  .grug-capabilities__head,
  .grug-services__head,
  .grug-portfolio__head,
  .grug-leadership__head,
  .grug-proto__head,
  .grug-awards__head,
  .grug-spotlight__head,
  .grug-reel__head,
  .grug-process__head {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 40px !important;
    text-align: left !important;
  }

  /* ---- STATS ---- */
  .grug-stats__grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .grug-stats__cell { padding: 20px 16px !important; }
  .grug-stats__v { font-size: clamp(28px, 8vw, 40px) !important; }
  .grug-stats__k { font-size: 9px !important; letter-spacing: 0.2em !important; }

  /* ---- CAPABILITIES split rows ---- */
  .grug-cap-split { grid-template-columns: 1fr !important; gap: 24px !important; padding: 0 !important; }
  .grug-cap-split__frame { aspect-ratio: 16 / 10 !important; min-height: 0 !important; height: auto !important; }
  .grug-cap-row {
    grid-template-columns: 28px 36px 1fr 14px !important;
    gap: 10px !important;
    padding: 14px 4px !important;
  }
  .grug-cap-row__num { font-size: 10px !important; }
  .grug-cap-row__icon { width: 36px !important; height: 36px !important; }
  .grug-cap-row__title { font-size: 18px !important; }
  .grug-cap-row__body { display: none; }

  /* ---- SERVICES ---- */
  .grug-services__grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .grug-service { padding: 18px !important; }
  .grug-service__t { font-size: 16px !important; }
  .grug-service__b { font-size: 13px !important; }

  /* ---- CLIENTS ---- */
  .grug-clients__row { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .grug-clients__inner { padding: 0 !important; }
  .grug-clients__logo { padding: 16px 8px !important; }
  .grug-clients__logo img { max-height: 24px !important; }

  /* ---- AWARDS ---- */
  .grug-awards__grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .grug-award { padding: 20px !important; }
  .grug-award__t { font-size: 18px !important; }

  /* ---- VOICES ---- */
  .grug-voices { padding: 80px 20px !important; }
  .grug-voices__inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  .grug-voices__quote { font-size: 20px !important; line-height: 1.3 !important; }
  .grug-voices__mark { font-size: 140px !important; top: -32px !important; left: -8px !important; }
  .grug-voices__rail { flex-direction: row !important; align-items: center; justify-content: space-between; }
  .grug-voices__dots { flex-direction: row !important; padding-top: 0 !important; }

  /* ---- PORTFOLIO rows ---- */
  .grug-portfolio__rows { gap: 12px !important; }
  .grug-prow { gap: 12px !important; }
  .grug-prow--three,
  .grug-prow--two,
  .grug-prow--full { grid-template-columns: 1fr !important; }
  .grug-prow--three .grug-project:nth-child(3) { grid-column: auto !important; aspect-ratio: 4 / 3 !important; }
  .grug-prow--full .grug-project { aspect-ratio: 16 / 10 !important; }
  .grug-prow--two .grug-project,
  .grug-prow--three .grug-project { aspect-ratio: 4 / 3 !important; }
  .grug-prow--full .grug-project__title { font-size: 26px !important; line-height: 1.1 !important; }
  .grug-prow--two .grug-project__title { font-size: 22px !important; }
  .grug-prow--full .grug-project__meta,
  .grug-prow--two .grug-project__meta { padding: 18px !important; }
  .grug-project__meta { padding: 14px !important; }
  .grug-project__title { font-size: 18px !important; }
  .grug-project__kind { font-size: 11px !important; }
  .grug-project__arrow { width: 32px !important; height: 32px !important; top: 14px !important; right: 14px !important; }
  .grug-project__badge { top: 14px !important; right: 14px !important; font-size: 9px !important; padding: 7px 10px !important; }
  .grug-project.is-featured .grug-project__cta { padding: 9px 14px !important; font-size: 10px !important; }

  /* ---- PROTOTYPE ---- */
  .grug-proto { padding: 80px 20px !important; }
  .grug-proto__grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .grug-proto__card--wide { min-height: 0 !important; aspect-ratio: 16 / 9 !important; }
  .grug-proto__cap { left: 14px !important; bottom: 14px !important; max-width: calc(100% - 28px) !important; }
  .grug-proto__capTitle { font-size: 17px !important; }
  .grug-proto__capSub { font-size: 11px !important; }
  .grug-proto__plate { top: 12px !important; right: 12px !important; font-size: 9px !important; padding: 6px 10px !important; }
  .grug-proto__strip { grid-template-columns: 1fr 1fr !important; }
  .grug-proto__stat { padding: 18px 14px !important; }
  .grug-proto__statV { font-size: 16px !important; }
  .grug-proto__stat:nth-child(2) { border-right: 0 !important; }
  .grug-proto__stat:nth-child(1),
  .grug-proto__stat:nth-child(2) { border-bottom: 1px solid rgba(143, 188, 246, 0.1) !important; }

  /* ---- SPOTLIGHT ---- */
  .grug-spotlight__frame { aspect-ratio: 4 / 3 !important; }
  .grug-spotlight__phases { flex-direction: column !important; gap: 6px !important; }

  /* ---- PROCESS ---- */
  .grug-process__grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .grug-process__phase { padding: 20px !important; }

  /* ---- SHOWREEL ---- */
  .grug-reel__layout { grid-template-columns: 1fr !important; gap: 16px !important; }
  .grug-reel__index { flex-direction: row !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .grug-reel__indexItem { flex: 0 0 200px !important; padding: 12px !important; }
  .grug-reel__stage { aspect-ratio: 16 / 9 !important; }

  /* ---- LEADERSHIP ---- */
  .grug-leadership__grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .grug-leader { padding: 0 !important; }
  .grug-leader__media { max-width: 100% !important; }
  .grug-leader__name { font-size: 24px !important; }
  .grug-leader__bio { font-size: 14px !important; line-height: 1.6 !important; }
  .grug-leader__stats { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }

  /* ---- FOUNDER (old layout, just in case) ---- */
  .grug-founder__inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .grug-founder__media { max-width: 280px !important; margin: 0 auto !important; }

  /* ---- CTA ---- */
  .grug-cta { padding: 80px 20px !important; }
  .grug-cta__h { font-size: clamp(32px, 8vw, 48px) !important; line-height: 1 !important; }
  .grug-cta__inner { gap: 24px !important; }
  .grug-cta__row { flex-direction: column !important; gap: 12px !important; align-items: stretch !important; }
  .grug-cta__btn { width: 100% !important; justify-content: center !important; }

  /* ---- FOOTER ---- */
  .grug-footer { padding: 60px 20px 40px !important; }
  .grug-footer__inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .grug-footer__h { font-size: 11px !important; }
  .grug-footer__bottom { flex-direction: column !important; gap: 12px !important; align-items: flex-start !important; text-align: left !important; }

  /* ---- LIGHTBOX ---- */
  .grug-lightbox { padding: 32px 12px !important; }
  .grug-lightbox__img { max-height: 60vh !important; }
  .grug-lightbox__meta { padding: 16px !important; }
  .grug-lightbox__title { font-size: 22px !important; }
  .grug-lightbox__nav { padding: 0 12px !important; }
  .grug-lightbox__nav button { width: 44px !important; height: 44px !important; }
}

/* Extra-narrow phones (<= 380px) — tighten further */
@media (max-width: 380px) {
  .grug-capabilities, .grug-services, .grug-portfolio, .grug-proto,
  .grug-voices, .grug-awards, .grug-spotlight, .grug-leadership,
  .grug-cta, .grug-stats, .grug-clients, .grug-process, .grug-reel, .grug-founder {
    padding: 64px 16px !important;
  }
  .grug-hero__content { padding: 0 16px 32px !important; }
  .grug-display { font-size: clamp(30px, 9vw, 44px) !important; }
  .grug-h2 { font-size: 24px !important; }
}


