/*
  SPACING & ALIGNMENT FIX
  Comprehensive layout normalization for SF Upholstery Group
  Applied last — overrides conflicts from main.css / bento-glass.css
*/

/* ─── LAYOUT TOKENS ──────────────────────────────────────────────── */
:root {
  --site-edge: 28px;      /* global left/right outer margin */
  --h-pad:      88px;    /* horizontal page padding */
  --h-pad-sm:   40px;    /* mobile horizontal padding */
  --section-v:  128px;   /* vertical section padding */
  --section-v-sm: 80px;  /* mobile vertical section padding */
  --grid-gap:   34px;    /* bento grid gap */
  --cell-pad:   48px 44px;
  --cell-pad-sm:30px 24px;
  --max-w:      1520px;  /* max site width */
  --border-r:   20px;    /* card border radius */
}

@media (max-width: 900px) {
  :root {
    --site-edge: 12px;
  }
}

/* ─── BODY & BASE ────────────────────────────────────────────────── */
body {
  overflow-x: hidden;
  margin-left: var(--site-edge);
  margin-right: var(--site-edge);
}

/* Keep page gutters everywhere; only the homepage hero bleeds full width. */

/* ─── MAX-WIDTH WRAPPER on all major sections ────────────────────── */
.bento-section,
.bento-cta,
footer {
  padding-left:  var(--h-pad);
  padding-right: var(--h-pad);
}
.bento-section > .bento-grid,
.bento-section > .bento-section-header {
  max-width: calc(var(--max-w) - (var(--h-pad) * 2));
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.bento-section {
  padding-top:    var(--section-v);
  padding-bottom: var(--section-v);
}
/* Give first bento block extra clearance from nav/hero rhythm */
#philosophy.bento-section {
  padding-top: calc(var(--section-v) + 24px);
}

/* ─── BENTO GRID GAPS ────────────────────────────────────────────── */
.bento-grid { gap: var(--grid-gap); }

/* Ensure consistent section-to-section rhythm */
.bento-section + .bento-section {
  padding-top: calc(var(--section-v) + 8px);
}

/* ─── BENTO CELL PADDING & CONTENT Z-INDEX ───────────────────────── */
.bento-cell { padding: var(--cell-pad); }

/* Ensure content children float above ::before sheen + ::after glow */
.bento-cell > *:not(.bento-material-bg):not(.bento-material-overlay):not(.bento-project-bg):not(.bento-card-video):not(.bento-card-video-overlay):not(.bento-process-bg):not(.bento-process-overlay):not(.workshop-founder-bg):not(.workshop-founder-overlay):not(.workshop-founder-content):not(.workshop-fr-bg):not(.workshop-fr-overlay):not(.workshop-theater-bg):not(.workshop-theater-overlay):not(.bento-cta-glow),
.bento-cell > div:not(.bento-material-bg):not(.bento-material-overlay):not(.bento-project-bg):not(.bento-process-bg):not(.bento-process-overlay):not(.workshop-founder-bg):not(.workshop-founder-overlay):not(.workshop-founder-content):not(.workshop-fr-bg):not(.workshop-fr-overlay):not(.workshop-theater-bg):not(.workshop-theater-overlay):not(.bento-cta-glow),
.bento-cell > span:not(.bento-material-num),
.bento-cell > p,
.bento-cell > a,
.bento-cell > ul,
.bento-cell > h1,
.bento-cell > h2,
.bento-cell > h3,
.bento-cell > h4 {
  position: relative;
  z-index: 2;
}

.bento-material-cell > .bento-material-bg,
.bento-material-cell > .bento-material-overlay,
.bento-project-cell > .bento-project-bg,
.bento-process-cell > .bento-process-bg,
.bento-process-cell > .bento-process-overlay {
  position: absolute !important;
  inset: 0 !important;
}

.bento-material-cell > .bento-material-bg,
.bento-project-cell > .bento-project-bg,
.bento-process-cell > .bento-process-bg {
  z-index: 0 !important;
}

.bento-material-cell > .bento-material-overlay,
.bento-process-cell > .bento-process-overlay {
  z-index: 1 !important;
}

.bento-mat-leather-cell.bento-material-cell,
.bento-mat-velvet-cell.bento-material-cell,
.bento-mat-linen-cell.bento-material-cell,
.bento-mat-suede-cell.bento-material-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#materials .bento-mat-leather-cell .bento-material-bg.bento-mat-leather {
  background:
    linear-gradient(
      180deg,
      rgba(12, 6, 3, 0.12) 0%,
      rgba(8, 4, 2, 0.35) 55%,
      rgba(5, 2, 1, 0.55) 100%
    ),
    url("../assets/aniline-leather.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-velvet-cell .bento-material-bg.bento-mat-velvet {
  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 10, 0.14) 0%,
      rgba(6, 20, 14, 0.38) 55%,
      rgba(3, 10, 7, 0.62) 100%
    ),
    url("../assets/performance-velvet.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-leather-cell .bento-material-overlay {
  background: linear-gradient(
    0deg,
    rgba(5, 3, 2, 0.88) 0%,
    rgba(8, 5, 3, 0.4) 48%,
    rgba(10, 6, 4, 0.08) 100%
  ) !important;
}

#materials .bento-mat-velvet-cell .bento-material-overlay {
  background: linear-gradient(
    0deg,
    rgba(3, 10, 7, 0.9) 0%,
    rgba(5, 18, 12, 0.42) 48%,
    rgba(6, 22, 15, 0.1) 100%
  ) !important;
}

#materials .bento-mat-linen-cell .bento-material-bg.bento-mat-linen {
  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 12, 0.1) 0%,
      rgba(14, 12, 10, 0.34) 55%,
      rgba(10, 8, 6, 0.58) 100%
    ),
    url("../assets/heritage-linen.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-suede-cell .bento-material-bg.bento-mat-suede {
  background:
    linear-gradient(
      180deg,
      rgba(8, 7, 12, 0.12) 0%,
      rgba(10, 9, 14, 0.36) 55%,
      rgba(6, 5, 10, 0.62) 100%
    ),
    url("../assets/alcantara-microfibre.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-linen-cell .bento-material-overlay {
  background: linear-gradient(
    0deg,
    rgba(8, 7, 6, 0.9) 0%,
    rgba(12, 10, 8, 0.42) 48%,
    rgba(16, 14, 11, 0.1) 100%
  ) !important;
}

#materials .bento-mat-suede-cell .bento-material-overlay {
  background: linear-gradient(
    0deg,
    rgba(5, 4, 8, 0.92) 0%,
    rgba(8, 7, 12, 0.44) 48%,
    rgba(10, 9, 14, 0.1) 100%
  ) !important;
}

/* ─── BENTO SECTION HEADER ───────────────────────────────────────── */
.bento-section-header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bento-section-h2 {
  margin-top: 0;
  line-height: 0.92;
}

/* ─── 12-COL GRID — proper responsive behaviour ───────────────────── */
.bento-grid-12 {
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
}
/* At 1280px: collapse to 6 cols */
@media (max-width: 1280px) {
  .bento-grid-12 { grid-template-columns: repeat(6, 1fr); }
  .col-7 { grid-column: span 6; }
  .col-8 { grid-column: span 6; }
  .col-5 { grid-column: span 6; }
  .col-4 { grid-column: span 3; }
  .col-3 { grid-column: span 3; }
  .col-2 { grid-column: span 3; }
  .row-2, .row-3 { grid-row: span 1; }
}
/* At 900px: 2 cols */
@media (max-width: 900px) {
  .bento-grid-12 { grid-template-columns: 1fr 1fr; }
  .col-2, .col-3, .col-4, .col-5,
  .col-6, .col-7, .col-8 { grid-column: span 2; }
  .row-2, .row-3 { grid-row: span 1; }
}
/* At 600px: 1 col */
@media (max-width: 600px) {
  .bento-grid-12,
  .bento-grid-3,
  .bento-grid-4,
  .bento-grid-5 { grid-template-columns: 1fr; }
  .col-2, .col-3, .col-4, .col-5,
  .col-6, .col-7, .col-8 { grid-column: span 1; }
  .row-2, .row-3 { grid-row: span 1; }
}

/* ─── PHILOSOPHY BENTO ───────────────────────────────────────────── */
#philosophy.bento-section .bento-grid {
  grid-template-rows: auto auto;
  align-items: stretch;
}

/* ─── MATERIALS BENTO ────────────────────────────────────────────── */
#materials .bento-material-cell,
#materials .bento-cell {
  display: flex;
  flex-direction: column;
}
/* Fix uneven spacing in the material header/card stack */
#materials .bento-section-header {
  margin-bottom: 84px;
}
#materials .bento-grid {
  column-gap: calc(var(--grid-gap) + 2px);
  row-gap: calc(var(--grid-gap) + 10px);
}
#materials .bento-material-cell {
  min-height: 290px !important;
  border-radius: var(--border-r) !important;
}
#materials .bento-material-cell.row-2 {
  min-height: 612px !important;
}
#projects .bento-project-cell {
  border-radius: var(--border-r) !important;
}

/* ─── PROCESS BENTO ──────────────────────────────────────────────── */
#process.bento-section {
  padding-left: var(--h-pad);
  padding-right: var(--h-pad);
  padding-top: var(--section-v);
  padding-bottom: var(--section-v);
}

@media (max-width: 900px) {
  #process.bento-section {
    padding-left: var(--h-pad-sm);
    padding-right: var(--h-pad-sm);
  }
}

#process.bento-section .bento-grid-5 {
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: calc(var(--grid-gap) - 2px);
}

#process.carousel-gsap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding-top: clamp(72px, 10vh, 128px);
  padding-bottom: clamp(28px, 4vh, 48px);
}

@media (max-width: 900px) {
  #process.carousel-gsap {
    min-height: 100svh;
    padding-top: clamp(48px, 8vh, 88px);
    padding-bottom: clamp(20px, 3vh, 36px);
  }
}

#process.carousel-gsap .bento-section-header {
  margin-bottom: 44px;
  flex-shrink: 0;
}

.bento-process-cell {
  justify-content: flex-start;
  gap: 20px;
  overflow: hidden;
}

.bento-process-photo-cell.bento-process-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#process .bento-process-photo-cell .bento-process-overlay {
  background: linear-gradient(
    0deg,
    rgba(5, 4, 8, 0.58) 0%,
    rgba(8, 6, 12, 0.32) 42%,
    rgba(10, 8, 14, 0.1) 100%
  ) !important;
}

#process .bento-process-strip {
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.04) 0%, rgba(5, 4, 3, 0.2) 100%),
    url("../assets/process-01-strip.png") 72% center / cover no-repeat !important;
}

#process .bento-process-strip + .bento-process-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5, 4, 8, 0.58) 0%,
      rgba(8, 6, 12, 0.32) 42%,
      rgba(10, 8, 14, 0.06) 72%,
      rgba(10, 8, 14, 0.02) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 4, 8, 0.55) 0%,
      rgba(8, 6, 12, 0.22) 48%,
      rgba(10, 8, 14, 0.06) 100%
    ) !important;
}

#process .bento-process-frame {
  background:
    linear-gradient(180deg, rgba(10, 7, 4, 0.04) 0%, rgba(6, 4, 2, 0.2) 100%),
    url("../assets/process-02-frame.png") 68% center / cover no-repeat !important;
}

#process .bento-process-frame + .bento-process-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5, 4, 8, 0.58) 0%,
      rgba(8, 6, 12, 0.34) 40%,
      rgba(10, 8, 14, 0.08) 68%,
      rgba(10, 8, 14, 0.02) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 4, 8, 0.55) 0%,
      rgba(8, 6, 12, 0.24) 50%,
      rgba(10, 8, 14, 0.08) 100%
    ) !important;
}

#process .bento-process-materials {
  background:
    linear-gradient(180deg, rgba(4, 10, 8, 0.04) 0%, rgba(3, 8, 6, 0.2) 100%),
    url("../assets/process-03-materials.png") center center / cover no-repeat !important;
}

#process .bento-process-materials + .bento-process-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(4, 8, 6, 0.58) 0%,
      rgba(6, 12, 9, 0.36) 38%,
      rgba(8, 14, 11, 0.08) 65%,
      rgba(8, 14, 11, 0.03) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 8, 6, 0.55) 0%,
      rgba(6, 12, 9, 0.22) 50%,
      rgba(8, 14, 11, 0.06) 100%
    ) !important;
}

#process .bento-process-upholstery {
  background:
    linear-gradient(180deg, rgba(6, 5, 8, 0.04) 0%, rgba(4, 3, 6, 0.2) 100%),
    url("../assets/process-04-upholstery.png") 62% 58% / cover no-repeat !important;
}

#process .bento-process-upholstery + .bento-process-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5, 4, 8, 0.58) 0%,
      rgba(8, 6, 12, 0.36) 38%,
      rgba(10, 8, 14, 0.08) 62%,
      rgba(10, 8, 14, 0.03) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 4, 8, 0.55) 0%,
      rgba(8, 6, 12, 0.24) 50%,
      rgba(10, 8, 14, 0.06) 100%
    ) !important;
}

#process .bento-process-final {
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.04) 0%, rgba(5, 4, 3, 0.2) 100%),
    url("../assets/process-05-final.png") 70% center / cover no-repeat !important;
}

#process .bento-process-final + .bento-process-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(8, 6, 4, 0.58) 0%,
      rgba(12, 9, 6, 0.36) 38%,
      rgba(14, 11, 8, 0.08) 65%,
      rgba(14, 11, 8, 0.03) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 6, 4, 0.55) 0%,
      rgba(12, 9, 6, 0.24) 50%,
      rgba(14, 11, 8, 0.06) 100%
    ) !important;
}

.bento-process-photo-cell .bento-step-num {
  z-index: 2 !important;
}

/* Horizontal pinned process carousel */
.process-carousel-section {
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: clamp(420px, 52vh, 540px);
  width: 100%;
}

#process.bento-section.has-process-carousel,
#process.bento-section.carousel-gsap {
  padding-left: 0;
  padding-right: 0;
}

.process-carousel-section.carousel-gsap {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

#process.carousel-gsap .bento-section-header,
#process.bento-section.has-process-carousel .bento-section-header {
  padding-left: var(--h-pad);
  padding-right: var(--h-pad);
}

.process-carousel-track {
  overflow: hidden;
  width: 100%;
}

.process-carousel-rail {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  padding-left: 0;
  padding-right: max(var(--site-edge), 24px);
  align-items: stretch;
}

.process-carousel-rail .bento-process-cell {
  flex: 0 0 auto;
  width: clamp(300px, 28vw, 400px);
  min-height: clamp(400px, 50vh, 500px);
  box-sizing: border-box;
}

.process-carousel-section.carousel-gsap .process-carousel-rail .bento-process-cell {
  flex: 0 0 auto;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Desktop fallback when GSAP unavailable */
@media (min-width: 901px) {
  .process-carousel-section.carousel-fallback {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    min-height: 0;
    padding-bottom: 16px;
  }

  .process-carousel-section.carousel-fallback .process-carousel-track {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .process-carousel-section.carousel-fallback .process-carousel-rail {
    transform: none !important;
  }

  .process-carousel-section.carousel-fallback .bento-process-cell {
    scroll-snap-align: start;
  }
}

/* ─── METRICS BENTO ──────────────────────────────────────────────── */
#metrics.bento-section .bento-grid-12 {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.bento-stat-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}

/* ─── PROJECTS BENTO ─────────────────────────────────────────────── */
#projects.bento-section .bento-grid-12 {
  align-items: stretch;
}

/* ─── WORKSHOP BENTO ─────────────────────────────────────────────── */
#workshop.bento-section .bento-grid-12 {
  align-items: stretch;
  grid-auto-rows: auto;
}

/* ─── CTA BENTO ──────────────────────────────────────────────────── */
#cta.bento-section,
#workshop.bento-section + #cta.bento-section {
  padding-top: clamp(32px, 4vh, 52px) !important;
  padding-bottom: clamp(32px, 4vh, 52px) !important;
}

#cta.bento-section .bento-grid-12 {
  align-items: start;
}
.bento-cta-main {
  padding: 36px 44px;
  position: relative;
  overflow: hidden;
}
.bento-cta-main .bento-cta-glow {
  position: absolute !important;
  inset: auto;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  z-index: 0 !important;
  pointer-events: none;
}
.bento-cta-main .bento-cell-h2 {
  margin-top: 4px !important;
}
.bento-cta-main .bento-cell-body {
  margin-top: 14px !important;
}
.bento-cta-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}
.bento-cta-actions .btn-large,
.bento-cta-actions .btn-outline-large {
  min-width: 0;
  white-space: nowrap;
}

/* ─── MARQUEE ────────────────────────────────────────────────────── */
.bento-marquee {
  padding: 36px 0;
  overflow: hidden;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid rgba(26, 24, 22, 0.08) !important;
  border-bottom: 1px solid rgba(26, 24, 22, 0.08) !important;
}

.bento-marquee .marquee-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 11s linear infinite;
}

.bento-marquee .marquee-item {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: rgba(26, 24, 22, 0.42) !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 64px;
}

.bento-marquee .marquee-item::after {
  content: "✦";
  color: #9a7b4a !important;
  font-size: 12px;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.home-page .bento-marquee {
  background: linear-gradient(180deg, #faf9f7 0%, #ffffff 100%) !important;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
nav {
  padding: 20px var(--h-pad);
}
nav.scrolled {
  padding: 14px var(--h-pad);
}
@media (max-width: 900px) {
  nav, nav.scrolled { padding: 18px var(--h-pad-sm); }
}

/* ─── HERO ───────────────────────────────────────────────────────── */
#hero {
  padding: 0 var(--h-pad) 120px;
}
body.home-page #hero {
  margin-left: calc(-1 * var(--site-edge));
  margin-right: calc(-1 * var(--site-edge));
  width: calc(100% + (var(--site-edge) * 2));
}
@media (max-width: 900px) {
  #hero {
    padding: 96px var(--h-pad-sm) 88px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  body.home-page #hero {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-left: var(--h-pad-sm) !important;
    padding-right: var(--h-pad-sm) !important;
    min-height: 100svh;
  }
  body.home-page .hero-year,
  body.home-page .hero-scroll-hint {
    display: none;
  }
  body.home-page .hero-sub {
    max-width: 100%;
  }
  body.home-page .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  margin-top: 56px;
  padding-top:    104px;
  padding-bottom: 56px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: start;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  flex-wrap: wrap;
  gap: 22px;
}
@media (max-width: 900px) {
  footer { margin-top: 40px; padding-top: 72px; padding-bottom: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ─── INNER PAGES — PAGE HERO ────────────────────────────────────── */
.page-hero {
  min-height: 48vh;
  padding: 130px var(--h-pad) 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.page-hero .hero-h1 {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.9;
  margin-top: 12px;
  margin-bottom: 0;
}
.page-hero .hero-tag { margin-bottom: 0; }
.page-hero .hero-sub {
  margin-top: 20px;
  margin-bottom: 0;
  max-width: 500px;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .page-hero {
    padding: 100px var(--h-pad-sm) 72px;
    min-height: 44vh;
  }
  .page-hero + .page-with-sidebar {
    padding-top: 20px;
  }
  .page-hero + .page-with-sidebar .studio-sidebar {
    position: static;
    margin-top: 0;
    z-index: 1;
  }
}

/* Work page hero — luxury charcoal (no green/purple) */
.work-hero,
.process-hero,
.team-hero,
.contact-hero,
.services-hero,
.materials-hero,
.studio-hero,
.press-hero {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(201, 169, 110, 0.12) 0%, transparent 52%),
    radial-gradient(ellipse at 12% 86%, rgba(255, 255, 255, 0.03) 0%, transparent 54%),
    linear-gradient(165deg, #0c0f17 0%, #080a11 55%, #06070c 100%) !important;
}
.work-hero .hero-bg,
.process-hero .hero-bg,
.team-hero .hero-bg,
.contact-hero .hero-bg,
.services-hero .hero-bg,
.materials-hero .hero-bg,
.studio-hero .hero-bg,
.press-hero .hero-bg {
  background:
    radial-gradient(ellipse at 70% 22%, rgba(201, 169, 110, 0.1) 0%, transparent 54%),
    linear-gradient(to top, rgba(6, 8, 14, 0.9) 0%, rgba(6, 8, 14, 0.32) 62%, rgba(6, 8, 14, 0.12) 100%) !important;
}
.work-hero .hero-line,
.process-hero .hero-line,
.team-hero .hero-line,
.contact-hero .hero-line,
.services-hero .hero-line,
.materials-hero .hero-line,
.studio-hero .hero-line,
.press-hero .hero-line {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(201, 169, 110, 0.2) 36%,
    rgba(201, 169, 110, 0.08) 72%,
    transparent 100%
  ) !important;
}
.work-hero .hero-tag,
.process-hero .hero-tag,
.team-hero .hero-tag,
.contact-hero .hero-tag,
.services-hero .hero-tag,
.materials-hero .hero-tag,
.studio-hero .hero-tag,
.press-hero .hero-tag {
  color: rgba(225, 195, 143, 0.94) !important;
}
.work-hero .hero-h1 em,
.process-hero .hero-h1 em,
.team-hero .hero-h1 em,
.contact-hero .hero-h1 em,
.services-hero .hero-h1 em,
.materials-hero .hero-h1 em,
.studio-hero .hero-h1 em,
.press-hero .hero-h1 em {
  color: #d2b075 !important;
}

/* ─── INNER PAGES — MAIN LAYOUT ──────────────────────────────────── */
.page-main {
  padding: 0 var(--h-pad) 132px;
  max-width: var(--max-w);
  margin-left:  auto;
  margin-right: auto;
}
.page-section {
  padding: 92px 0;
}
.page-section:first-of-type { padding-top: 64px; }

/* Surface/graphite sections — no bleed, glass radius instead */
.page-section--surface,
.page-section--graphite {
  margin: 0;
  padding: 84px 68px;
  border-radius: var(--border-r);
  margin-bottom: 28px;
}
.page-section--surface + .page-section,
.page-section--graphite + .page-section {
  padding-top: 92px;
}
@media (max-width: 900px) {
  .page-main { padding: 0 var(--h-pad-sm) 96px; }
  .page-section { padding: 72px 0; }
  .page-section--surface,
  .page-section--graphite { padding: 52px 28px; margin: 0 0 20px; }
}

/* ─── INNER PAGES — SIDEBAR LAYOUT ──────────────────────────────── */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--h-pad) 132px;
  align-items: start;
}
.page-with-sidebar .page-main {
  padding: 0;
  max-width: 100%;
}
.studio-sidebar {
  position: sticky;
  top: 120px;
  padding: 32px 24px;
  max-width: 220px;
}
.studio-sidebar-nav { gap: 14px; }
.studio-sidebar-link { font-size: 16px; }
@media (max-width: 900px) {
  .page-with-sidebar {
    grid-template-columns: 1fr;
    padding: 0 var(--h-pad-sm) 96px;
    gap: 32px;
  }
  .studio-sidebar {
    position: static;
    max-width: 100%;
    border-radius: 16px;
    padding: 24px;
  }
}

/* ─── PAGE GRID 2-COL ────────────────────────────────────────────── */
.page-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.page-grid-2--wide-left { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 900px) {
  .page-grid-2, .page-grid-2--wide-left {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ─── SERVICE CARDS ──────────────────────────────────────────────── */
.service-cards {
  gap: var(--grid-gap);
  margin-top: 48px;
}
.service-card {
  padding: 48px 44px;
  min-height: 300px;
}
@media (max-width: 700px) {
  .service-cards { grid-template-columns: 1fr; }
}

/* ─── MATERIAL TIER GRID ─────────────────────────────────────────── */
.material-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 48px;
}
.material-tier { padding: 40px 36px; }
@media (max-width: 800px) {
  .material-tier-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .material-tier-grid { grid-template-columns: 1fr; }
}

/* ─── CONTACT PANEL ──────────────────────────────────────────────── */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  margin-top: 48px;
}
.contact-block { padding: 48px 42px; }
.contact-cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.contact-cta-actions .btn-large,
.contact-cta-actions .btn-outline-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.services-page .contact-cta-actions .btn-large,
body.services-page .contact-cta-actions .btn-outline-large {
  padding: 16px 40px !important;
  min-height: auto;
}
@media (max-width: 700px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-cta-actions {
    gap: 10px;
  }
}

/* ─── PROJECT LIST (work page) ───────────────────────────────────── */
.project-list { gap: var(--grid-gap); margin-top: 48px; }
.project-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  padding: 50px 44px;
  align-items: center;
}
.project-row-visual { aspect-ratio: 16/10; }

.project-row-visual .project-overlay {
  display: none !important;
}

.project-row-visual .bento-card-video {
  opacity: 1;
}
@media (max-width: 700px) {
  .project-row { grid-template-columns: 1fr; gap: 34px; padding: 36px 28px; }
}

/* ─── WORK PAGE — LUXURY INTRO PANEL ─────────────────────────────── */
.work-intro-luxe {
  position: relative;
  padding: 42px 42px 18px !important;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(116, 85, 189, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 85%, rgba(17, 108, 84, 0.2) 0%, transparent 52%),
    linear-gradient(162deg, rgba(13, 16, 29, 0.95) 0%, rgba(7, 9, 16, 0.98) 100%);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.work-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 38px;
}
.work-intro-copy .prose {
  max-width: 640px;
  margin-top: 16px;
}
.work-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.work-intro-tag {
  border: 1px solid rgba(201, 169, 110, 0.28);
  background: rgba(201, 169, 110, 0.1);
  color: rgba(238, 214, 169, 0.92);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.work-intro-meta {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 10, 18, 0.68);
  border-radius: 18px;
  padding: 24px 22px;
}
.work-meta-item + .work-meta-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.work-meta-label {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.88);
  margin-bottom: 8px;
}
.work-meta-value {
  display: block;
  color: rgba(244, 244, 247, 0.9);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
.work-intro-meta .work-meta-item:first-child .work-meta-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 54px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #f3e8cf;
}
.work-intro-cta {
  width: 100%;
  margin-top: 24px;
  justify-content: center;
  text-align: center;
}
@media (max-width: 900px) {
  .work-intro-luxe {
    padding: 32px 22px 12px !important;
  }
  .work-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
  .work-intro-copy .prose {
    max-width: 100%;
  }
}

/* ─── STAT ROW ───────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid rgba(160, 100, 255, 0.15);
}
.stat-row--inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 600px) {
  .stat-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-row--inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .stat-row--inline .stat-val {
    font-size: clamp(40px, 11vw, 62px);
  }
  .stat-row--inline .stat-lbl {
    letter-spacing: 0.16em;
  }
}

/* ─── TIMELINE ───────────────────────────────────────────────────── */
.timeline-deep {
  margin-top: 56px;
  padding-left: 34px;
}
.timeline-deep-item { margin-bottom: 52px; }

/* ─── PROSE / SECTION TITLE ──────────────────────────────────────── */
.section-kicker { margin-bottom: 20px; }
.section-title-page { margin-bottom: 28px; }
.prose { font-size: 15px; }
.prose p + p { margin-top: 1.2em; }

/* ─── EDITORIAL DIVIDERS (still present on inner pages) ──────────── */
.editorial-divider {
  padding: 0 var(--h-pad);
  margin: 0;
}

/* ─── SPEC LIST ──────────────────────────────────────────────────── */
.spec-list { margin-top: 32px; }
.spec-list li { padding: 18px 0; font-size: 14px; gap: 16px; }

/* ─── VISION PAGE ────────────────────────────────────────────────── */
.vision-wrap {
  max-width: calc(var(--max-w) - (var(--h-pad) * 2));
  margin: 0 auto;
  padding: 0 var(--h-pad) 148px;
}
.vision-hero {
  padding: 164px var(--h-pad) 92px;
}
.vision-section { padding: 92px 0; }
.vision-section:first-of-type { padding-top: 68px; }

/* Fly-in motion layer (Framer-style, vanilla implementation) */
.reveal.motion-fly {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.motion-fly[data-fly="up"] {
  transform: translate3d(0, 72px, 0) scale(0.965);
  filter: blur(6px);
}
.reveal.motion-fly[data-fly="left"] {
  transform: translate3d(-68px, 40px, 0) scale(0.965) rotate(-0.6deg);
  filter: blur(6px);
}
.reveal.motion-fly[data-fly="right"] {
  transform: translate3d(68px, 40px, 0) scale(0.965) rotate(0.6deg);
  filter: blur(6px);
}
.reveal.motion-fly[data-fly="pop"] {
  transform: translate3d(0, 36px, 0) scale(0.92);
  filter: blur(6px);
}
.reveal.motion-fly.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0);
  filter: blur(0);
}

/* ─── RESPONSIVE SECTION PADDING ────────────────────────────────── */
@media (max-width: 900px) {
  .bento-section {
    padding: var(--section-v-sm) var(--h-pad-sm);
  }
  .bento-section + .bento-section {
    padding-top: calc(var(--section-v-sm) + 6px);
  }
  #philosophy.bento-section {
    padding-top: calc(var(--section-v-sm) + 20px);
  }
  .bento-grid-3,
  .bento-grid-4,
  .bento-grid-5 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .process-carousel-section:not(.carousel-gsap) {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: var(--h-pad-sm);
    min-height: 0;
    padding-bottom: 12px;
    margin-left: calc(-1 * var(--h-pad-sm));
    margin-right: calc(-1 * var(--h-pad-sm));
    padding-left: var(--h-pad-sm);
    padding-right: var(--h-pad-sm);
    width: calc(100% + (var(--h-pad-sm) * 2));
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .process-carousel-section:not(.carousel-gsap)::-webkit-scrollbar {
    display: none;
  }

  .process-carousel-section.carousel-gsap {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  #process.carousel-gsap .bento-section-header,
  #process.bento-section.has-process-carousel .bento-section-header {
    padding-left: var(--h-pad-sm);
    padding-right: var(--h-pad-sm);
  }

  .process-carousel-section.carousel-gsap .process-carousel-rail {
    gap: 16px;
    padding-left: 0;
    padding-right: max(var(--site-edge), 20px);
  }

  .process-carousel-section.carousel-gsap .process-carousel-rail .bento-process-cell {
    width: min(78vw, 360px);
    min-height: 420px;
  }

  .process-carousel-section:not(.carousel-gsap) .process-carousel-track {
    overflow: visible;
    width: auto;
  }

  .process-carousel-section:not(.carousel-gsap) .process-carousel-rail {
    transform: none !important;
    gap: 0;
    padding-right: var(--h-pad-sm);
  }

  .process-carousel-section:not(.carousel-gsap) .bento-process-cell {
    width: min(78vw, 360px);
    min-height: 460px;
    scroll-snap-align: start;
  }
  #materials .bento-section-header { margin-bottom: 58px; }
  #materials .bento-grid { row-gap: 28px; column-gap: 28px; }
  #materials .bento-material-cell,
  #materials .bento-material-cell.row-2 {
    min-height: 260px !important;
  }
  .bento-cell { padding: var(--cell-pad-sm); }
  .bento-stat-cell { min-height: 220px; }
  .bento-cell-num { font-size: clamp(52px, 10vw, 80px); }
  .editorial-divider { padding: 0 var(--h-pad-sm); }
  #hero { padding-bottom: 88px; }
  .bento-cta-main {
    padding: 36px 28px;
  }
  #cta .bento-grid {
    gap: 20px !important;
  }
  .bento-cta-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
  }
  .bento-cta-actions .btn-large,
  .bento-cta-actions .btn-outline-large {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 18px !important;
    white-space: normal;
  }
}
@media (max-width: 600px) {
  .bento-grid-3,
  .bento-grid-4,
  .bento-grid-5 { grid-template-columns: 1fr; }
  .process-carousel-section.carousel-gsap .process-carousel-rail .bento-process-cell {
    width: min(84vw, 320px);
    min-height: 420px;
  }
  .bento-section { padding: 64px var(--h-pad-sm); }
  #materials .bento-section-header { margin-bottom: 46px; }
  #materials .bento-grid { row-gap: 24px; }
  #philosophy.bento-section { padding-top: 76px; }
  .footer-social { gap: 16px; }
  .bento-cta-main {
    padding: 28px 20px;
  }
  #cta .bento-grid {
    gap: 32px !important;
  }
  .bento-cta-main .bento-cell-h2 {
    font-size: clamp(34px, 12vw, 58px) !important;
    line-height: 0.95;
  }
  .bento-cta-main .bento-cell-body {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.motion-fly,
  .reveal.motion-fly[data-fly="up"],
  .reveal.motion-fly[data-fly="left"],
  .reveal.motion-fly[data-fly="right"],
  .reveal.motion-fly[data-fly="pop"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* UX journey: scroll progress indicator */
#pageProgressTrack {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
#pageProgressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #c9a96e, #e2c58f);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.6);
  transition: width 0.12s linear;
}

/* Remove colored rectangle borders from bento components */
.bento-cell,
.bento-material-cell,
.bento-project-cell,
.service-card,
.material-tier,
.contact-block,
.project-row,
.studio-sidebar {
  border: none !important;
  outline: none !important;
}

/* ─── SECTION FLOW (fix stacked/overlapping feel) ───────────────── */
/* Keep natural bento section padding + add clear progression rhythm */
#philosophy,
#materials,
#metrics,
#projects,
#workshop,
#cta {
  display: block;
}
#process.bento-section:not(.has-process-carousel) {
  display: block;
}
#materials,
#process,
#metrics,
#projects,
#workshop,
#cta {
  margin-top: 34px;
}

#metrics.bento-section {
  margin-top: 0 !important;
}
/* hide legacy homepage modules in mobile if they still render */
@media (max-width: 900px) {
  .materials-header,
  .materials-scroll-track { display: none; }
  .process-steps { display: none; }
  .metrics-grid  { display: none; }
  .projects-grid { display: none; }
}

/* ─── LINK HOVER STATES in CTA quick-links ───────────────────────── */
#cta a[style*="color:rgba(255,255,255"] {
  transition: color 0.25s, opacity 0.25s;
}
#cta a[style*="color:rgba(255,255,255"]:hover {
  color: rgba(255,255,255,0.85) !important;
  opacity: 1;
}

/* ─── GOLD ACCENT OVERRIDE (replace purple accents) ─────────────── */
:root {
  --gold-accent: #c9a96e;
  --gold-accent-2: #b98f4c;
  --gold-accent-3: #8a6a33;
  --btn-gold: #c5a059;
  --btn-gold-hover: #d4b06a;
  --btn-gold-shadow: rgba(0, 0, 0, 0.16);
}

/* Primary accent text */
.nav-logo span,
.hero-tag,
.hero-h1 em,
.bento-section-kicker,
.bento-cell-tag:not(.em):not(.nv),
.bento-cell-h2 em:not(.em),
.bento-project-cat,
.section-kicker,
.section-title-page em {
  color: var(--gold-accent) !important;
}

/* ─── Site-wide buttons — homepage hero gold pill ───────────────── */
.btn-primary,
.btn-large,
.btn-outline-large,
.nav-cta {
  font-family: "DM Mono", monospace !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: #ffffff !important;
  background: var(--btn-gold) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  padding: 16px 36px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 8px 24px var(--btn-gold-shadow) !important;
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease) !important;
}

.btn-primary:hover,
.btn-large:hover,
.btn-outline-large:hover,
.nav-cta:hover {
  color: #ffffff !important;
  background: var(--btn-gold-hover) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.2) !important;
}

.nav-cta {
  padding: 11px 22px !important;
}

/* Footer/nav accents */
.footer-logo span,
.footer-col-title,
.footer-social a:hover {
  color: var(--gold-accent) !important;
}
.glass-purple,
.bento-cell.glass-purple {
  background: linear-gradient(
    135deg,
    rgba(160, 120, 50, 0.72) 0%,
    rgba(130, 95, 35, 0.6) 50%,
    rgba(96, 70, 24, 0.55) 100%
  ) !important;
  border-color: rgba(201, 169, 110, 0.28) !important;
  box-shadow:
    0 12px 56px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(160, 120, 50, 0.22),
    inset 0 1px 0 rgba(250, 224, 168, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}
.bento-cell.glass-purple::after {
  background: radial-gradient(ellipse, rgba(160, 120, 50, 0.2) 0%, transparent 70%) !important;
}

/* Numeric/indicator accents */
.bento-cell-num:not(.em):not(.nv),
.metric-num,
.stat-row .stat-val,
.bento-step-circle {
  color: var(--gold-accent) !important;
  border-color: rgba(201, 169, 110, 0.45) !important;
}

/* Pills and separators */
.bento-pill {
  color: rgba(201, 169, 110, 0.8) !important;
  border-color: rgba(201, 169, 110, 0.35) !important;
  background: rgba(201, 169, 110, 0.12) !important;
}
.bento-pill:hover {
  color: #f0d9b0 !important;
  border-color: rgba(201, 169, 110, 0.6) !important;
  background: rgba(201, 169, 110, 0.2) !important;
}

/* Purple glass cards -> gold glass cards */
/* Matches requested style: dark cinematic cards + subtle indigo core glow */

/* Global atmospheric backdrop */
body {
  background: #ffffff !important;
  color: #1a1814;
}

/* Section surfaces harmonized to same tone */
.bento-section,
.page-section,
.page-hero {
  background-color: transparent;
}

/* Core card language everywhere */
.bento-cell:not(.bento-mat-leather-cell):not(.bento-mat-velvet-cell):not(.bento-mat-linen-cell):not(.bento-mat-suede-cell):not(.bento-process-photo-cell):not(.workshop-founder-cell):not(.workshop-fr-photo-cell):not(.workshop-theater-photo-cell),
.bento-material-cell:not(.bento-mat-leather-cell):not(.bento-mat-velvet-cell):not(.bento-mat-linen-cell):not(.bento-mat-suede-cell),
.bento-process-cell:not(.bento-process-photo-cell),
.bento-project-cell,
.service-card,
.material-tier,
.contact-block,
.project-row,
.studio-sidebar,
.page-section--surface,
.page-section--graphite {
  background:
    radial-gradient(ellipse at 58% 50%, rgba(52, 38, 96, 0.28) 0%, transparent 52%),
    linear-gradient(165deg, rgba(16, 18, 29, 0.94) 0%, rgba(8, 10, 16, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 22px !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  position: relative;
  overflow: hidden;
}

/* Keep key gold callout cards as accent */
.glass-gold,
.bento-cell.glass-gold {
  background:
    radial-gradient(ellipse at 60% 48%, rgba(165, 116, 34, 0.24) 0%, transparent 55%),
    linear-gradient(160deg, rgba(95, 68, 24, 0.92) 0%, rgba(66, 46, 16, 0.96) 100%) !important;
  border-color: rgba(201, 169, 110, 0.24) !important;
}

/* Keep emerald accent cards in-family but still dark */
.glass-emerald,
.bento-cell.glass-emerald {
  background:
    radial-gradient(ellipse at 58% 50%, rgba(13, 104, 74, 0.28) 0%, transparent 54%),
    linear-gradient(165deg, rgba(15, 25, 22, 0.95) 0%, rgba(8, 14, 13, 0.98) 100%) !important;
  border-color: rgba(26, 184, 122, 0.16) !important;
}

/* Keep navy accent cards in-family but still dark */
.glass-navy,
.bento-cell.glass-navy {
  background:
    radial-gradient(ellipse at 58% 50%, rgba(25, 49, 110, 0.26) 0%, transparent 54%),
    linear-gradient(165deg, rgba(13, 19, 33, 0.95) 0%, rgba(8, 12, 21, 0.98) 100%) !important;
  border-color: rgba(80, 140, 220, 0.16) !important;
}

/* Headline rhythm/readability */
.bento-cell-h2,
.bento-cell-h3,
.bento-project-name,
.bento-material-name {
  line-height: 0.95;
  letter-spacing: 0.03em;
}
.bento-cell-body,
.project-detail,
.material-tier p,
.contact-block p {
  color: rgba(245, 245, 248, 0.64) !important;
}

/* Premium hover effect (sitewide) */
.bento-cell,
.bento-material-cell,
.bento-project-cell,
.service-card,
.material-tier,
.contact-block,
.project-row,
.studio-sidebar {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    filter 0.35s ease;
}
.bento-cell:hover,
.bento-material-cell:hover,
.bento-project-cell:hover,
.service-card:hover,
.material-tier:hover,
.contact-block:hover,
.project-row:hover,
.studio-sidebar:hover {
  transform: translateY(-6px) scale(1.008);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.62),
    0 0 70px rgba(88, 66, 152, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Subtle moving sheen on hover */
.bento-cell::after,
.bento-material-cell::after,
.bento-project-cell::after,
.service-card::after,
.material-tier::after,
.contact-block::after,
.project-row::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -40%;
  width: 55%;
  height: 280%;
  transform: rotate(20deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 45%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
}
.bento-cell:hover::after,
.bento-material-cell:hover::after,
.bento-project-cell:hover::after,
.service-card:hover::after,
.material-tier:hover::after,
.contact-block:hover::after,
.project-row:hover::after {
  opacity: 1;
  animation: cardSheen 0.95s ease forwards;
}
@keyframes cardSheen {
  from { transform: translateX(-24%) rotate(20deg); }
  to   { transform: translateX(150%) rotate(20deg); }
}

/* Background video support for material hero card */
.bento-material-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.95;
  pointer-events: none;
}
.bento-material-cell .bento-material-bg {
  z-index: 0;
}
.bento-material-cell .bento-material-overlay {
  z-index: 1;
}
.bento-material-cell.has-video .bento-material-bg {
  display: none !important;
}
.bento-project-cell.has-video .bento-project-bg {
  display: none !important;
}
.project-row-visual.has-video .project-bg {
  display: none !important;
}

/* Generic bento video background support */
.bento-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}
.bento-card-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 8, 14, 0.42) 0%, rgba(6, 8, 14, 0.55) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(28, 22, 56, 0.28) 0%, transparent 65%);
}
.bento-cell.has-video.bento-texture-purple {
  background: none !important;
}

/* Improve nav + button alignment with story flow */
nav {
  background: rgba(8, 10, 16, 0.72) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  left: var(--site-edge);
  right: var(--site-edge);
  width: auto;
}

@media (max-width: 900px) {
  .bento-cell,
  .bento-material-cell,
  .bento-project-cell,
  .service-card,
  .material-tier,
  .contact-block,
  .project-row,
  .studio-sidebar {
    border-radius: 18px !important;
  }
}

/* Leather card — final override (loads last in this file) */
#materials .bento-mat-leather-cell.bento-material-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#materials .bento-mat-leather-cell .bento-material-bg.bento-mat-leather {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(12, 6, 3, 0.12) 0%,
      rgba(8, 4, 2, 0.35) 55%,
      rgba(5, 2, 1, 0.55) 100%
    ),
    url("../assets/aniline-leather.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-leather-cell .bento-material-overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

#materials .bento-mat-velvet-cell .bento-material-overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

/* Velvet card — final override (loads last in this file) */
#materials .bento-mat-velvet-cell.bento-material-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#materials .bento-mat-velvet-cell .bento-material-bg.bento-mat-velvet {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 10, 0.14) 0%,
      rgba(6, 20, 14, 0.38) 55%,
      rgba(3, 10, 7, 0.62) 100%
    ),
    url("../assets/performance-velvet.jpg") center center / cover no-repeat !important;
}

/* Linen card — final override */
#materials .bento-mat-linen-cell.bento-material-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#materials .bento-mat-linen-cell .bento-material-bg.bento-mat-linen {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 12, 0.1) 0%,
      rgba(14, 12, 10, 0.34) 55%,
      rgba(10, 8, 6, 0.58) 100%
    ),
    url("../assets/heritage-linen.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-linen-cell .bento-material-overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

/* Alcantara card — final override */
#materials .bento-mat-suede-cell.bento-material-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#materials .bento-mat-suede-cell .bento-material-bg.bento-mat-suede {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(8, 7, 12, 0.12) 0%,
      rgba(10, 9, 14, 0.36) 55%,
      rgba(6, 5, 10, 0.62) 100%
    ),
    url("../assets/alcantara-microfibre.jpg") center center / cover no-repeat !important;
}

#materials .bento-mat-suede-cell .bento-material-overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

/* Process phase cards — photo backgrounds (final override) */
#process .bento-process-photo-cell.bento-process-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#process .bento-process-photo-cell .bento-process-bg {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

#process .bento-process-photo-cell .bento-process-overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

/* Workshop founder portrait — full-bleed cell */
#workshop .workshop-founder-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  min-height: clamp(420px, 52vh, 560px) !important;
}

#workshop .workshop-founder-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    url("../assets/workshop-founder.jpg") center 18% / cover no-repeat !important;
}

#workshop .workshop-founder-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 24px 20px 28px;
  text-align: center;
}

#workshop .workshop-founder-badge {
  border: 1px solid rgba(128, 64, 208, 0.28);
  padding: 20px 28px;
  background: rgba(8, 5, 14, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#workshop .workshop-founder-badge span {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.2em;
}

#workshop .workshop-founder-badge span:first-child {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

#workshop .workshop-founder-year {
  font-size: 40px;
  line-height: 1;
  color: rgba(160, 100, 220, 0.92);
  letter-spacing: 0.06em !important;
}

#workshop .workshop-founder-badge span:last-child {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
}

/* Workshop FR certified — photo background */
#workshop .workshop-fr-photo-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  position: relative;
}

#workshop .workshop-fr-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    linear-gradient(180deg, rgba(4, 8, 6, 0.03) 0%, rgba(3, 6, 5, 0.18) 100%),
    url("../assets/workshop-fire-retardant.png") center 35% / cover no-repeat !important;
}

#workshop .workshop-fr-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(
      90deg,
      rgba(4, 8, 6, 0.62) 0%,
      rgba(6, 12, 9, 0.42) 42%,
      rgba(8, 14, 11, 0.12) 68%,
      rgba(8, 14, 11, 0.04) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 8, 6, 0.58) 0%,
      rgba(6, 12, 9, 0.22) 55%,
      rgba(8, 14, 11, 0.05) 100%
    ) !important;
}

#workshop .workshop-fr-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: inherit;
  padding: 28px 24px;
}

/* Workshop theater curtains — photo background */
#workshop .workshop-theater-photo-cell.bento-cell {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  position: relative;
}

#workshop .workshop-theater-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  background:
    linear-gradient(180deg, rgba(8, 5, 12, 0.04) 0%, rgba(6, 4, 10, 0.2) 100%),
    url("../assets/workshop-theater-curtains.png") 68% center / cover no-repeat !important;
}

#workshop .workshop-theater-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(
      90deg,
      rgba(6, 4, 10, 0.62) 0%,
      rgba(10, 6, 16, 0.42) 40%,
      rgba(14, 8, 20, 0.12) 68%,
      rgba(14, 8, 20, 0.04) 100%
    ),
    linear-gradient(
      0deg,
      rgba(6, 4, 10, 0.58) 0%,
      rgba(10, 6, 16, 0.24) 55%,
      rgba(14, 8, 20, 0.06) 100%
    ) !important;
}

#workshop .workshop-theater-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: inherit;
  padding: 28px 24px;
}

/* Light page backdrop — readable type on white */
.home-page .bento-section-h2 {
  color: #1a1814 !important;
}

.home-page .bento-section-h2 em {
  color: #6b3fa0 !important;
}

.home-page .bento-section-h2 em.em {
  color: #128a5c !important;
}

.home-page .bento-section-h2 em.gd {
  color: #9a7b4a !important;
}

/* Process section — white field (cards stay dark glass) */
body.home-page #process,
.home-page #process.bento-section,
.home-page #process.bento-section.has-process-carousel,
.home-page #process.bento-section.carousel-gsap {
  background: #ffffff !important;
}

.home-page #process .process-carousel-section,
.home-page #process .process-carousel-track,
.home-page #process .process-carousel-rail {
  background: #ffffff !important;
}

.home-page #materials + .pin-spacer,
.home-page .pin-spacer:has(#process.bento-section),
.home-page .pin-spacer {
  background: #ffffff !important;
}

.home-page nav {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom: 1px solid rgba(26, 24, 22, 0.08) !important;
  box-shadow: 0 2px 24px rgba(26, 24, 22, 0.06) !important;
}

.home-page nav.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(26, 24, 22, 0.1) !important;
}

.home-page .nav-links a {
  color: rgba(26, 24, 22, 0.72) !important;
}

.home-page .nav-links a:hover,
.home-page .nav-links a.is-active {
  color: #1a1814 !important;
}

.home-page .nav-logo {
  color: #1a1814 !important;
}

.home-page footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(26, 24, 22, 0.08) !important;
}

.home-page .footer-logo,
.home-page .footer-links a {
  color: #1a1814 !important;
}

.home-page .footer-tagline,
.home-page .footer-copy,
.home-page .footer-social a {
  color: rgba(26, 24, 22, 0.58) !important;
}

.home-page .footer-social a:hover {
  color: #9a7b4a !important;
}

.home-page .footer-bottom {
  border-top: 1px solid rgba(26, 24, 22, 0.08) !important;
}

/* ─── SERVICES PAGE — light theme ───────────────────────────────── */
.services-page {
  color: #1a1814;
}

.services-page .services-hero,
.services-page .services-hero .hero-bg {
  background: linear-gradient(165deg, #faf9f7 0%, #ffffff 52%, #f3efe8 100%) !important;
}

.services-page .services-hero .hero-bg {
  background:
    radial-gradient(ellipse at 72% 18%, rgba(201, 169, 110, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 10% 88%, rgba(107, 63, 160, 0.06) 0%, transparent 48%),
    linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.4) 100%) !important;
}

.services-page .services-hero .hero-line {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(201, 169, 110, 0.22) 36%,
    rgba(201, 169, 110, 0.08) 72%,
    transparent 100%
  ) !important;
}

.services-page .hero-year,
.services-page .page-hero .hero-h1 {
  color: #1a1814 !important;
}

.services-page .page-hero .hero-h1 em,
.services-page .services-hero .hero-h1 em {
  color: #6b3fa0 !important;
}

.services-page .hero-tag,
.services-page .services-hero .hero-tag {
  color: #9a7b4a !important;
}

.services-page .hero-sub,
.services-page .page-hero .hero-sub {
  color: rgba(26, 24, 22, 0.62) !important;
}

.services-page .section-kicker {
  color: #128a5c !important;
}

.services-page .section-title-page {
  color: #1a1814 !important;
}

.services-page .section-title-page em {
  color: #6b3fa0 !important;
}

.services-page .prose,
.services-page .prose p {
  color: rgba(26, 24, 22, 0.72) !important;
}

.services-page .prose strong {
  color: #1a1814 !important;
}

.services-page .spec-list li {
  color: rgba(26, 24, 22, 0.68) !important;
  border-color: rgba(26, 24, 22, 0.08) !important;
}

.services-page .stat-val {
  color: #1a1814 !important;
}

.services-page .stat-lbl {
  color: rgba(26, 24, 22, 0.52) !important;
}

.services-page .service-card {
  background: #ffffff !important;
  border: 1px solid rgba(26, 24, 22, 0.08) !important;
  border-radius: var(--border-r) !important;
  box-shadow: 0 8px 28px rgba(26, 24, 22, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.services-page .service-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
}

.services-page .service-card:nth-child(even) {
  background: #faf9f7 !important;
  border-color: rgba(26, 24, 22, 0.08) !important;
  box-shadow: 0 8px 28px rgba(26, 24, 22, 0.05) !important;
}

.services-page .service-card-num {
  color: rgba(107, 63, 160, 0.72) !important;
}

.services-page .service-card:nth-child(even) .service-card-num {
  color: rgba(18, 138, 92, 0.78) !important;
}

.services-page .service-card h3 {
  color: #1a1814 !important;
}

.services-page .service-card p {
  color: rgba(26, 24, 22, 0.62) !important;
}

.services-page .service-card a {
  color: #9a7b4a !important;
  border-bottom-color: rgba(154, 123, 74, 0.35) !important;
}

.services-page .service-card a:hover {
  color: #7a6038 !important;
  border-bottom-color: rgba(122, 96, 56, 0.55) !important;
}

.services-page .service-card:hover {
  transform: translateY(-4px) scale(1.005);
  filter: none !important;
  border-color: rgba(201, 169, 110, 0.28) !important;
  box-shadow: 0 16px 40px rgba(26, 24, 22, 0.1) !important;
}

.services-page .service-card:nth-child(even):hover {
  box-shadow: 0 16px 40px rgba(26, 24, 22, 0.08) !important;
}

.services-page .service-card:hover::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 169, 110, 0.08) 45%,
    transparent 100%
  );
}

.services-page .page-section--surface,
.services-page .page-section--graphite {
  background: #faf9f7 !important;
  border: 1px solid rgba(26, 24, 22, 0.06) !important;
  box-shadow: 0 8px 28px rgba(26, 24, 22, 0.04) !important;
  color: #1a1814 !important;
}

.services-page .page-section--surface .section-title-page,
.services-page .page-section--graphite .section-title-page {
  color: #1a1814 !important;
}

.services-page .page-section--surface .section-title-page em,
.services-page .page-section--graphite .section-title-page em {
  color: #6b3fa0 !important;
}

.services-page .page-section--surface .prose strong,
.services-page .page-section--graphite .prose strong {
  color: #1a1814 !important;
}

.services-page nav {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom: 1px solid rgba(26, 24, 22, 0.08) !important;
  box-shadow: 0 2px 24px rgba(26, 24, 22, 0.06) !important;
}

.services-page nav.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(26, 24, 22, 0.1) !important;
}

.services-page .nav-links a {
  color: rgba(26, 24, 22, 0.72) !important;
}

.services-page .nav-links a:hover,
.services-page .nav-links a.is-active {
  color: #1a1814 !important;
}

.services-page .nav-logo {
  color: #1a1814 !important;
}

.services-page footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(26, 24, 22, 0.08) !important;
}

.services-page .footer-logo,
.services-page .footer-links a {
  color: #1a1814 !important;
}

.services-page .footer-tagline,
.services-page .footer-copy,
.services-page .footer-social a {
  color: rgba(26, 24, 22, 0.58) !important;
}

.services-page .footer-social a:hover {
  color: #9a7b4a !important;
}

.services-page .footer-bottom {
  border-top: 1px solid rgba(26, 24, 22, 0.08) !important;
}

.services-page .footer-col-title,
.services-page .footer-col-title-row .footer-col-title {
  color: rgba(26, 24, 22, 0.72) !important;
}

.services-page .contact-cta-actions,
.services-page .bento-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.services-page .timeline-deep {
  border-left-color: rgba(201, 169, 110, 0.35) !important;
}

.services-page .timeline-deep-item h3 {
  color: #1a1814 !important;
}

.services-page .timeline-deep-item .tl-meta {
  color: rgba(26, 24, 22, 0.48) !important;
}

.services-page .timeline-deep-item p {
  color: rgba(26, 24, 22, 0.68) !important;
}

/* ─── PROCESS CAROUSEL — card spacing & text legibility ─────────── */
#process .process-carousel-rail {
  gap: 18px !important;
}

#process .process-carousel-rail .bento-process-cell {
  width: clamp(300px, 28vw, 400px) !important;
  min-height: clamp(400px, 50vh, 500px) !important;
  padding: 40px 36px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

#process .process-carousel-rail .bento-process-cell .bento-step-title,
#process .process-carousel-rail .bento-process-cell .bento-step-desc,
#process .process-carousel-rail .bento-process-cell .bento-step-circle {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

#process .process-carousel-rail .bento-process-cell .bento-step-desc {
  margin-top: auto;
}

/* Process carousel — no shadow bleed in card gaps (keep gaps white) */
#process .process-carousel-rail .bento-process-cell.bento-cell {
  box-shadow: none !important;
  filter: none !important;
  border: 1px solid rgba(26, 24, 22, 0.08) !important;
}

#process .process-carousel-rail .bento-process-cell.bento-cell:hover {
  box-shadow: none !important;
  filter: none !important;
  transform: translateY(-4px) !important;
  border-color: rgba(26, 24, 22, 0.14) !important;
}

#process .process-carousel-rail .bento-process-cell.bento-cell::after {
  display: none !important;
}

#process .process-carousel-section,
#process .process-carousel-track,
#process .process-carousel-rail {
  background-color: #ffffff !important;
}

@media (max-width: 900px) {
  #process .process-carousel-rail {
    gap: 16px !important;
  }

  #process .process-carousel-rail .bento-process-cell {
    width: min(78vw, 360px) !important;
    min-height: 420px !important;
    padding: 36px 30px !important;
  }
}

@media (max-width: 600px) {
  #process .process-carousel-rail .bento-process-cell {
    width: min(84vw, 320px) !important;
    padding: 32px 26px !important;
  }
}

/* ─── PROCESS CAROUSEL — GSAP pin (stay in page width, no 100vw bleed) ─ */
#process.bento-section.carousel-gsap {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

#process.bento-section.has-process-carousel:not(.carousel-gsap) {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#process .process-carousel-section.carousel-gsap {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #ffffff !important;
}

#process .process-carousel-track,
#process .process-carousel-rail {
  background: #ffffff !important;
}

#process .process-carousel-rail {
  padding-left: 0 !important;
  padding-right: max(var(--site-edge), 24px) !important;
}

.home-page .pin-spacer:has(#process.bento-section.carousel-gsap) {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: #ffffff !important;
}

.home-page .pin-spacer + #metrics.bento-section {
  margin-top: 0 !important;
  padding-top: clamp(32px, 4vh, 56px) !important;
}

.home-page #process.bento-section.has-process-carousel,
.home-page #process.bento-section.carousel-gsap {
  padding-bottom: clamp(24px, 3.5vh, 40px) !important;
}

@media (max-width: 900px) {
  #process.carousel-gsap .bento-section-header,
  #process.bento-section.has-process-carousel .bento-section-header {
    padding-left: var(--h-pad-sm) !important;
    padding-right: var(--h-pad-sm) !important;
  }

  #process .process-carousel-rail {
    padding-right: max(var(--site-edge), 20px) !important;
  }
}
