/*
  Cell Studio — Hexacell homepage skin
  White-forward protective packaging atelier
  Brand: #107848 / #68b848 / #e8bc3a / white / black · Work Sans
*/

/* ——— Atmosphere ——— */
body.cell-studio {
  background-color: var(--color-white);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgb(104 184 72 / 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgb(16 120 72 / 0.05), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cg fill='none' stroke='%23107848' stroke-opacity='0.04' stroke-width='1'%3E%3Cpolygon points='28,2 42,10 42,26 28,34 14,26 14,10'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--color-ink);
  overflow-x: clip;
}

body.cell-studio::before {
  content: none;
}

/* ——— Buttons (homepage; cinematic.css not loaded) ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--duration-ui) var(--ease-out), border-color var(--duration-ui) var(--ease-out),
    color var(--duration-ui) var(--ease-out), transform var(--duration-ui) var(--ease-out);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-yellow {
  background: var(--color-yellow);
  color: var(--color-black);
}

.btn-yellow:hover {
  background: var(--color-yellow-hover);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: rgb(16 120 72 / 0.06);
}

.btn-ghost.btn-on-dark {
  color: var(--color-white);
  border-color: rgb(255 255 255 / 0.55);
}

.btn-ghost.btn-on-dark:hover {
  background: rgb(255 255 255 / 0.12);
}

.btn-forest {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.btn-forest:hover {
  background: var(--color-green-dark-deep);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
  transition: transform var(--duration-ui) var(--ease-out);
}

.btn-icon svg {
  display: block;
  flex-shrink: 0;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn-icon-only {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ink);
  cursor: pointer;
  transition: background var(--duration-ui) var(--ease-out), border-color var(--duration-ui) var(--ease-out),
    color var(--duration-ui) var(--ease-out);
}

.btn-icon-only:hover {
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
}

.btn-icon-only:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-icon-only:focus-visible {
  outline: 2px solid var(--color-green-light);
  outline-offset: 3px;
}

.heading-em {
  color: var(--color-green-dark);
  font-style: normal;
}

.studio-index {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-green-light);
  font-size: 0.75rem;
}

/* ——— Header: single-line nowrap ——— */
body.cell-studio .site-header {
  color: var(--color-ink);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(230 233 231 / 0.9);
}

body.cell-studio .site-header::before {
  display: none;
}

body.cell-studio .header-bar {
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  overflow: visible;
  gap: 12px 18px;
}

body.cell-studio .desktop-nav {
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  gap: 2px 10px;
}

body.cell-studio .nav-link,
body.cell-studio .mega-toggle,
body.cell-studio .header-cta,
body.cell-studio .brand-wordmark {
  white-space: nowrap;
  flex-shrink: 0;
}

body.cell-studio .header-cta {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  height: 36px;
  padding: 0 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body.cell-studio .header-cta {
    display: inline-flex;
  }
}

body.cell-studio .header-cta .btn-icon,
body.cell-studio .footer-cta .btn-icon,
body.cell-studio .about-cta .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 0;
  margin: 0;
  padding: 0;
}

body.cell-studio .header-cta .btn-icon svg,
body.cell-studio .footer-cta .btn-icon svg,
body.cell-studio .about-cta .btn-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* Footer + About CTAs: same chrome as header CTA */
body.cell-studio .footer-cta,
body.cell-studio .about-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  height: 36px;
  padding: 0 18px !important;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

body.cell-studio .footer-cta {
  margin-top: 4px;
}

body.cell-studio .drawer-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  height: auto;
  padding: 0 20px !important;
  margin: 24px 0 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: var(--radius-control);
  background: var(--color-yellow);
  color: var(--color-black) !important;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

body.cell-studio .drawer-nav a.drawer-cta {
  justify-content: center;
}

body.cell-studio .drawer-cta .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 0;
  margin: 0;
  padding: 0;
}

body.cell-studio .drawer-cta .btn-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* Mobile header: logo left, menu toggle right — hex cell icon (not hamburger) */
@media (max-width: 1023px) {
  body.cell-studio .header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  body.cell-studio .brand {
    order: 0;
    margin-right: auto;
  }

  body.cell-studio .menu-open {
    order: 2;
    margin-left: 8px;
    margin-right: 0;
    border-radius: 999px;
  }

  body.cell-studio .menu-icon--list {
    display: block;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1100px) {
  body.cell-studio .header-cta-full {
    display: none;
  }
}

@media (min-width: 1101px) {
  body.cell-studio .header-cta-short {
    display: none;
  }
}

/* ——— Chapter shells ——— */
.studio-chapter {
  padding-block: var(--section-y);
  position: relative;
}

.studio-chapter--tight {
  padding-block: var(--section-y-tight);
}

.chapter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--text-eyebrow);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green-dark);
}

.chapter-kicker .studio-index {
  font-size: inherit;
}

.chapter-title {
  font-size: var(--title);
  letter-spacing: var(--tracking-title);
  font-weight: 500;
  line-height: 1.1;
  max-width: 18ch;
}

.chapter-lede {
  margin-top: 14px;
  max-width: 36rem;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 0.92rem + 0.25vw, 1.1rem);
  line-height: 1.55;
}

.chapter-split {
  display: grid;
  gap: 20px;
  align-items: start;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.chapter-split > .chapter-lede {
  margin-top: 0;
}

@media (min-width: 768px) {
  .chapter-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: end;
  }
}

/* ——— Video hero ——— */
.studio-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: clip;
  color: var(--color-white);
  padding: 0;
}

.studio-hero .hero-bg {
  position: absolute;
  inset: 0;
}

.studio-hero .hero-poster,
.studio-hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-hero .hero-poster {
  z-index: 1;
  transition: opacity 0.5s var(--ease-out);
}

.studio-hero .hero-poster.is-covered {
  opacity: 0;
  pointer-events: none;
}

.studio-hero .hero-video {
  z-index: 0;
}

.studio-hero .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgb(14 17 15 / 0.15) 0%, rgb(14 17 15 / 0.45) 45%, rgb(14 17 15 / 0.72) 100%),
    linear-gradient(90deg, rgb(16 120 72 / 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.studio-hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
  padding-top: calc(var(--header-height) + 2rem);
  display: grid;
  gap: 28px;
  align-items: end;
}

@media (min-width: 768px) {
  .studio-hero-inner {
    grid-template-columns: 1fr auto;
  }
}

.studio-hero-copy {
  max-width: 34rem;
  min-width: 0;
}

.studio-hero .hero-line {
  margin-top: 16px;
  max-width: 28rem;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.15rem);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.88);
}

.studio-hero .text-hl {
  display: inline;
  padding: 0.06em 0.16em;
  margin: 0 -0.02em;
  color: inherit;
  background: none;
  background-image: linear-gradient(
    180deg,
    transparent 12%,
    rgb(232 188 58 / 0.9) 12%,
    rgb(232 188 58 / 0.9) 88%,
    transparent 88%
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 0.1em;
  font-style: normal;
  font-weight: inherit;
}

.studio-hero .button-row {
  margin-top: 28px;
}

.studio-hero .hero-toggle {
  justify-self: end;
  width: 56px;
  height: 56px;
  border: 0;
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.22);
  display: inline-grid;
  place-items: center;
}

.studio-hero .hero-toggle:hover {
  background: var(--color-yellow-hover);
  color: var(--color-black);
  border-color: transparent;
}

.studio-hero .hero-toggle .icon-play,
.studio-hero .hero-toggle .icon-pause {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  display: none;
  fill: currentColor;
}

/* Class-based toggle — more reliable than SVG [hidden] alone */
.studio-hero .hero-toggle:not(.is-playing) .icon-play,
.studio-hero .hero-toggle.is-playing .icon-pause {
  display: block;
}

.studio-hero .hero-toggle .icon-play[hidden],
.studio-hero .hero-toggle .icon-pause[hidden] {
  display: none !important;
}

.studio-hero .hero-toggle:not(.is-playing) .icon-play:not([hidden]),
.studio-hero .hero-toggle.is-playing .icon-pause:not([hidden]) {
  display: block !important;
}

.studio-hero .icon-play path {
  fill: currentColor;
}

.studio-hero .icon-pause rect {
  fill: currentColor;
}

/* ——— Marquee ribbons ——— */
.studio-marquee {
  padding-block: 18px;
  border-block: 1px solid var(--color-green-dark-deep, #0c5a36);
  background: var(--color-green-dark);
  color: var(--color-yellow);
  overflow: hidden;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.studio-marquee--dark {
  background: var(--color-green-dark);
  border-color: var(--color-green-dark-deep, #0c5a36);
  color: var(--color-yellow);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: studio-marquee 42s linear infinite;
  will-change: transform;
}

.studio-marquee:hover .marquee-track,
.studio-marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 28px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-yellow);
}

.marquee-item::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 28px;
  border-radius: 1px;
  background: var(--color-yellow);
  transform: rotate(45deg);
}

.studio-marquee--dark .marquee-item::after {
  background: var(--color-yellow);
}

@keyframes studio-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 8px 0;
  }

  .marquee-group:last-child {
    display: none;
  }
}

/* ——— About intro ——— */
.studio-about {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgb(104 184 72 / 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgb(232 188 58 / 0.08), transparent 50%),
    var(--color-white);
}

.studio-about > .container {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.about-stage {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  min-width: 0;
}

@media (min-width: 900px) {
  .about-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.about-copy {
  min-width: 0;
}

.about-brand {
  margin: 0 0 8px;
  font-size: clamp(0.72rem, 0.65rem + 0.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-green);
}

.about-title {
  max-width: 14ch;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.35rem);
}

.about-copy .chapter-lede {
  max-width: 34rem;
}

.about-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.cell-studio .about-media,
.studio-about .about-media {
  margin: 0;
  position: relative;
  min-width: 0;
  width: 100%;
}

.about-media-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgb(16 120 72 / 0.22);
  background: rgb(240 247 236);
  box-shadow: 0 24px 48px rgb(16 40 28 / 0.08);
}

body.cell-studio .about-media img,
.studio-about .about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: rgb(240 247 236);
}

.about-media figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

/* ——— Why honeycomb / structure ——— */
.studio-structure {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 55% 70% at 90% 15%, rgb(104 184 72 / 0.28), transparent 55%),
    radial-gradient(ellipse 45% 50% at 10% 85%, rgb(232 188 58 / 0.14), transparent 50%),
    var(--color-green-dark);
  color: var(--color-white);
}

.studio-structure > .container {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.studio-structure .chapter-kicker {
  color: var(--color-yellow);
}

.studio-structure .chapter-kicker .studio-index {
  color: inherit;
}

.studio-structure .chapter-title {
  color: var(--color-white);
  max-width: 16ch;
}

.studio-structure .heading-em {
  color: var(--color-yellow);
}

.studio-structure .chapter-lede {
  color: rgb(255 255 255 / 0.78);
}

.structure-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.structure-stage {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  min-width: 0;
}

@media (min-width: 960px) {
  .structure-stage {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.structure-figure {
  margin: 0;
  min-width: 0;
}

.structure-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  background:
    linear-gradient(145deg, rgb(232 188 58 / 0.15), transparent 45%),
    #1a4d36;
  aspect-ratio: 4 / 3;
}

.structure-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.structure-schematic {
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: min(42%, 180px);
  height: auto;
  color: var(--color-yellow);
  opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgb(0 0 0 / 0.35));
  pointer-events: none;
}

.structure-caption {
  margin-top: 12px;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}

.structure-topics {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: center;
}

.structure-topic {
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.08);
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.structure-topic:hover {
  border-color: rgb(232 188 58 / 0.5);
  background: rgb(255 255 255 / 0.12);
  transform: translateY(-2px);
}

.structure-topic-index {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-yellow);
}

.structure-topic h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.structure-topic p {
  margin: 0;
  color: rgb(255 255 255 / 0.74);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* ——— Catalogue / Product Showroom ——— */
.studio-catalogue {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background:
    linear-gradient(165deg, rgb(240 247 236 / 0.92) 0%, rgb(246 247 246 / 0.55) 42%, rgb(255 255 255 / 0.9) 100%);
}

.studio-catalogue::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='62' viewBox='0 0 72 62'%3E%3Cpath d='M36 1.5L70 21v20L36 60.5 2 41V21z' fill='none' stroke='%23107848' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 72px 62px;
}

.studio-catalogue > .container {
  position: relative;
  z-index: 1;
}

.showroom-tabs-root {
  margin-top: 8px;
}

.showroom-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  padding: 6px;
  margin-bottom: 40px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 10px 28px rgb(16 40 28 / 0.04);
}

.showroom-tabs .tab-indicator,
.showroom-tab-indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  bottom: auto;
  border-radius: 12px;
  background: var(--color-green-dark);
  transition: transform 340ms var(--ease-cinema), width 340ms var(--ease-cinema), height 340ms var(--ease-cinema);
}

.showroom-tabs [role="tab"] {
  appearance: none;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--duration-ui) var(--ease-out);
}

.showroom-tabs [role="tab"][aria-selected="true"] {
  color: var(--color-white);
}

.showroom-tabs [role="tab"][aria-selected="true"] .showroom-tab-ico {
  background: rgb(255 255 255 / 0.16);
  color: var(--color-white);
}

.showroom-tabs [role="tab"][aria-selected="true"] .showroom-tab-count {
  background: rgb(255 255 255 / 0.18);
  color: var(--color-white);
}

.showroom-tab-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-green-light-soft);
  color: var(--color-green-dark);
  transition: background var(--duration-ui) var(--ease-out), color var(--duration-ui) var(--ease-out);
}

.showroom-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-paper);
  color: var(--color-muted);
  font-size: 0.6875rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: background var(--duration-ui) var(--ease-out), color var(--duration-ui) var(--ease-out);
}

.showroom-panel {
  min-width: 0;
  overflow-x: clip;
}

.showroom-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.showroom-rail {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.showroom-deck {
  display: flex;
  gap: clamp(14px, 2.2vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(4%, calc(50% - min(46%, 240px)));
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  user-select: none;
  cursor: grab;
  padding: 12px 4% 28px;
}

.showroom-deck::-webkit-scrollbar {
  display: none;
}

.showroom-deck.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.showroom-deck.is-fanned .showroom-card {
  animation: showroom-enter 640ms var(--ease-cinema) both;
}

.showroom-deck.is-fanned .showroom-card:nth-child(2) {
  animation-delay: 60ms;
}

.showroom-deck.is-fanned .showroom-card:nth-child(3) {
  animation-delay: 110ms;
}

@keyframes showroom-enter {
  from {
    opacity: 0.45;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showroom-deck.is-fanned .showroom-card {
    animation: none;
  }
}

.showroom-card {
  position: relative;
  flex: 0 0 min(78vw, 420px);
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  max-width: 480px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-white);
  border: 1.5px solid rgb(16 120 72 / 0.28);
  box-shadow: 0 16px 40px rgb(16 40 28 / 0.07);
  text-decoration: none;
  color: inherit;
  opacity: 0.55;
  transform: scale(0.965);
  transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-cinema), box-shadow 320ms var(--ease-out),
    border-color 280ms var(--ease-out);
}

.showroom-card.is-front {
  opacity: 1;
  transform: scale(1);
  border-color: rgb(16 120 72 / 0.55);
  box-shadow: 0 22px 52px rgb(16 40 28 / 0.12);
  z-index: 2;
}

.showroom-card[aria-hidden="true"] {
  cursor: pointer;
}

.showroom-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 0;
  height: auto;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 28px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 62%, rgb(255 255 255 / 0.95) 0%, transparent 70%),
    linear-gradient(165deg, #eef5ea 0%, #f7f8f6 48%, #ebece9 100%);
}

.showroom-media::after {
  content: "";
  position: absolute;
  inset: auto 12% 10% 12%;
  height: 18%;
  border-radius: 50%;
  background: rgb(16 40 28 / 0.06);
  filter: blur(10px);
  pointer-events: none;
}

.showroom-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 600ms var(--ease-out);
}

.showroom-card.is-front:hover .showroom-media img {
  transform: scale(1.04);
}

.showroom-body {
  display: grid;
  gap: 8px;
  padding: 22px 24px 24px;
  background: var(--color-white);
  border-top: 1px solid rgb(230 233 231 / 0.8);
}

.showroom-index {
  color: var(--color-green-light);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.showroom-body strong {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--color-ink);
}

.showroom-body > span:not(.showroom-index):not(.showroom-cta):not(.stack-index):not(.stack-cta) {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.showroom-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--color-green-dark);
}

.showroom-cta svg {
  transition: transform var(--duration-ui) var(--ease-out);
}

.showroom-card.is-front:hover .showroom-cta {
  color: var(--color-amber);
}

.showroom-card.is-front:hover .showroom-cta svg {
  transform: translateX(4px);
  color: var(--color-yellow);
}

.showroom-arrow {
  z-index: 4;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-color: var(--color-line);
  box-shadow: 0 8px 22px rgb(16 40 28 / 0.08);
}

.showroom-arrow:hover {
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
  background: var(--color-green-light-soft);
}

.showroom-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 4px;
  padding-inline: 8px;
}

.showroom-progress {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: min(220px, 55vw);
}

.showroom-progress-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--color-line);
  overflow: hidden;
}

.showroom-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-green-dark), var(--color-green-light));
  transition: width 360ms var(--ease-cinema);
}

.showroom-status {
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

@media (min-width: 900px) {
  .showroom-card {
    flex-basis: min(46%, 480px);
    min-height: 0;
  }

  .showroom-deck {
    scroll-padding-inline: max(6%, calc(50% - 240px));
    padding-inline: 6%;
  }
}

@media (max-width: 720px) {
  .showroom-tabs {
    gap: 2px;
    padding: 4px;
    border-radius: 14px;
  }

  .showroom-tabs [role="tab"] {
    flex-direction: column;
    gap: 6px;
    min-height: 64px;
    padding: 8px 6px;
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
  }

  .showroom-tab-count {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    font-size: 0.625rem;
  }

  .showroom-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .showroom-arrow {
    position: absolute;
    top: 38%;
    z-index: 6;
    width: 42px;
    height: 42px;
  }

  .showroom-arrow--prev {
    left: 2px;
  }

  .showroom-arrow--next {
    right: 2px;
  }

  .showroom-rail {
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .showroom-deck {
    margin-inline: 0;
    padding-inline: 12vw;
    scroll-padding-inline: 12vw;
  }

  .showroom-card {
    flex-basis: min(78vw, 420px);
    min-height: 0;
  }
}

/* ——— Process accordion ——— */
.studio-process {
  background: var(--color-paper);
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  position: relative;
  z-index: 1;
}

.process-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .process-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }
}

.process-visual-wrap {
  position: relative;
  z-index: 0;
}

@media (min-width: 900px) {
  .process-visual-wrap {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
    max-height: calc(100vh - var(--header-height) - 48px);
  }
}

.process-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.process-visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-paper);
  border: 1.5px solid rgb(16 120 72 / 0.28);
}

.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 280ms var(--ease-out);
}

.process-caption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.process-item {
  border: 1.5px solid rgb(16 120 72 / 0.28);
  border-radius: 14px;
  background: var(--color-white);
  overflow: visible;
  background-clip: padding-box;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.process-item:has([aria-expanded="true"]) {
  border-color: rgb(16 120 72 / 0.55);
  box-shadow: 0 8px 24px rgb(16 40 28 / 0.06);
}

.process-item:last-child {
  margin-bottom: 2px;
}

.process-trigger {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  color: var(--color-green-dark);
}

.process-trigger span:nth-child(3) {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.process-chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-accordion) var(--ease-out);
  opacity: 0.55;
}

.process-trigger[aria-expanded="true"] .process-chevron {
  transform: rotate(225deg);
}

.process-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-accordion) var(--ease-out);
}

.process-panel.is-open {
  grid-template-rows: 1fr;
}

.process-panel-inner {
  overflow: hidden;
  min-height: 0;
  border-radius: 0 0 12px 12px;
}

.process-panel-inner p {
  padding: 0 14px 18px 108px;
  max-width: 36rem;
  color: var(--color-muted);
  line-height: 1.55;
}

@media (max-width: 540px) {
  .process-trigger {
    grid-template-columns: auto 1fr auto;
  }

  .process-trigger .studio-index {
    display: none;
  }

  .process-panel-inner p {
    padding-left: 58px;
  }
}

/* ——— Sequence / demo ——— */
.studio-demo {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgb(104 184 72 / 0.14), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgb(16 120 72 / 0.18), transparent 50%),
    linear-gradient(165deg, #1a221c 0%, var(--color-ink) 45%, #121612 100%);
  color: var(--color-white);
  padding-block: var(--section-y);
  overflow: clip;
}

.studio-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cg fill='none' stroke='%2368b848' stroke-opacity='0.55' stroke-width='1'%3E%3Cpolygon points='28,2 42,10 42,26 28,34 14,26 14,10'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.studio-demo > .container {
  position: relative;
  z-index: 1;
}

.studio-demo .chapter-kicker,
.studio-demo .heading-em {
  color: var(--color-yellow);
}

.studio-demo .chapter-lede {
  color: rgb(255 255 255 / 0.72);
}

.sequence-pin {
  margin-top: 28px;
  position: relative;
}

.sequence-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1100px) {
  .sequence-layout {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 36px;
    align-items: stretch;
  }
}

.sequence-aside {
  display: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgb(255 255 255 / 0.14);
  min-height: 280px;
  height: 100%;
  background: rgb(14 17 15 / 0.35);
}

@media (min-width: 1100px) {
  .sequence-aside {
    display: block;
  }
}

.sequence-aside img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sequence-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 40% 40%, rgb(104 184 72 / 0.15), transparent 60%),
    #1a1d1b;
  border: 1px solid rgb(255 255 255 / 0.08);
}

.sequence-poster,
.sequence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sequence-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgb(255 255 255 / 0.15);
  z-index: 2;
}

.sequence-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-yellow);
  transform-origin: left center;
}

.sequence-caption {
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-yellow);
}

.sequence-static {
  margin-top: 10px;
  max-width: 40rem;
  color: rgb(255 255 255 / 0.68);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ——— Applications carousel ——— */
.studio-apps .carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-x;
}

.carousel-track {
  display: flex;
  gap: 20px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel-slide {
  flex: 0 0 min(88%, 720px);
  scroll-snap-align: start;
  min-width: 0;
}

.app-slide {
  display: grid;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 720px) {
  .app-slide {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 360px;
  }
}

.app-slide-media {
  position: relative;
  min-height: 220px;
  background: #dfe4e1;
}

.app-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px;
}

.app-slide-copy h3 {
  font-size: var(--title-sm);
}

.app-slide-copy p {
  color: var(--color-muted);
}

.tag-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green-dark);
}

.carousel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-line);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--color-green-dark);
}

.carousel-nav {
  display: flex;
  gap: 8px;
}

/* ——— Metrics ——— */
.studio-metrics {
  position: relative;
  padding-block: clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgb(104 184 72 / 0.18), transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 40%, rgb(232 188 58 / 0.12), transparent 50%),
    var(--color-green-dark);
  color: var(--color-white);
  overflow: clip;
}

.metrics-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 36rem;
}

.metrics-eyebrow {
  margin: 0 0 10px;
  color: var(--color-yellow);
}

.metrics-eyebrow .studio-index {
  color: inherit;
}

.metrics-title {
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--color-white);
}

.metrics-rail {
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .metrics-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.metric {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
  backdrop-filter: blur(6px);
  min-height: 100%;
}

.metric-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
  font-variant-numeric: tabular-nums;
}

.metric-figure {
  margin-top: 4px;
}

.metric-value {
  font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
}

.metric-unit {
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--color-yellow);
  font-weight: 600;
}

.metric-label {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.metric-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.62);
}

/* ——— Proof ——— */
.studio-proof {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--color-paper);
}

.studio-proof > .container {
  position: relative;
  z-index: 1;
}

.cert-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

@media (min-width: 800px) {
  .cert-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  min-height: 88px;
  background: var(--color-white);
  border: 1.5px solid rgb(16 120 72 / 0.22);
  border-radius: 14px;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.cert-badge:hover {
  border-color: rgb(16 120 72 / 0.45);
  box-shadow: 0 10px 28px rgb(16 40 28 / 0.06);
}

.cert-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgb(16 120 72 / 0.35);
  background:
    radial-gradient(circle at 50% 50%, var(--color-yellow) 0 28%, transparent 29%),
    linear-gradient(145deg, var(--color-green-light-soft), var(--color-white));
}

.cert-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cert-label {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green-light);
}

.cert-copy strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.voice-board {
  display: grid;
  gap: 20px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgb(104 184 72 / 0.16), transparent 55%),
    var(--color-green-dark);
  color: var(--color-white);
  border: 1px solid rgb(255 255 255 / 0.08);
}

@media (min-width: 900px) {
  .voice-board {
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: stretch;
    padding: 28px;
  }
}

.voice-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

@media (min-width: 900px) {
  .voice-rail {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    border-right: 1px solid rgb(255 255 255 / 0.12);
    padding-right: 24px;
  }
}

.voice-rail-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.voice-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(240px, 42vw, 320px);
}

.voice-ornament {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-58%);
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.8;
  color: var(--color-yellow);
  opacity: 0.28;
  pointer-events: none;
  font-family: Georgia, "Times New Roman", serif;
  z-index: 0;
  user-select: none;
}

.voice-stack {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 38vw, 280px);
  touch-action: pan-x;
  cursor: grab;
  z-index: 1;
  user-select: none;
}

.voice-stack.is-dragging {
  cursor: grabbing;
}

.voice-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 24px 20px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
  pointer-events: none;
  color: inherit;
}

.voice-card.is-front {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}

.voice-card.is-exit {
  opacity: 0;
  transform: translateX(-28px);
}

.voice-card.is-enter {
  opacity: 0;
  transform: translateX(28px);
}

.voice-card p {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--color-white);
  text-align: center;
}

.voice-card footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.voice-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgb(232 188 58 / 0.15);
  border: 2px solid rgb(232 188 58 / 0.55);
  line-height: 0;
}

.voice-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.voice-meta {
  display: grid;
  gap: 2px;
  text-align: center;
  justify-items: center;
}

.voice-card footer strong {
  display: block;
  font-weight: 650;
  color: var(--color-white);
}

.voice-card footer span {
  display: block;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.65);
}

.voice-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice-arrow {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.06);
  color: var(--color-white);
  border-radius: 999px;
}

.voice-arrow:hover {
  background: rgb(232 188 58 / 0.2);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

.voice-dots {
  display: flex;
  gap: 8px;
}

.voice-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.28);
  cursor: pointer;
  transition: background 200ms var(--ease-out), width 200ms var(--ease-out);
}

.voice-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--color-yellow);
}

/* ——— Materials gallery ——— */
.studio-materials {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 40% at 5% 30%, rgb(104 184 72 / 0.08), transparent 55%),
    var(--color-white);
}

.studio-apps {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse 40% 50% at 100% 60%, rgb(16 120 72 / 0.06), transparent 50%),
    transparent;
}

.materials-carousel .carousel-slide {
  flex: 0 0 min(70%, 420px);
}

.material-tile {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 3;
}

.material-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-tile figcaption {
  position: absolute;
  /* keep simple caption below if needed */
}

.material-tile-wrap {
  position: relative;
}

.material-tile-wrap figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.materials-cta {
  margin-top: 28px;
}

/* ——— FAQ ——— */
.studio-faq {
  background: var(--color-paper);
}

.faq-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 40px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 0;
  max-width: none;
  min-width: 0;
  overflow: visible;
  padding-bottom: 4px;
}

body.cell-studio .faq-item,
.studio-faq .faq-item {
  border: 1.5px solid rgb(16 120 72 / 0.28);
  border-radius: 14px;
  background: var(--color-white);
  overflow: visible;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

body.cell-studio .faq-item:last-child,
.studio-faq .faq-item:last-child {
  border-bottom: 1.5px solid rgb(16 120 72 / 0.28);
  margin-bottom: 2px;
}

body.cell-studio .faq-item:has([aria-expanded="true"]),
.studio-faq .faq-item:has([aria-expanded="true"]) {
  border-color: rgb(16 120 72 / 0.55);
  box-shadow: 0 8px 24px rgb(16 40 28 / 0.06);
}

.faq-trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: inherit;
}

.faq-trigger .brief-chevron,
.faq-trigger .process-chevron {
  flex-shrink: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-accordion) var(--ease-out);
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
  border-radius: 0 0 12px 12px;
}

.faq-panel-inner p {
  padding: 0 14px 18px 14px;
  color: var(--color-muted);
  line-height: 1.55;
}

.faq-spotlight {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-green-dark);
  border: 1px solid rgb(255 255 255 / 0.08);
  color: var(--color-white);
}

.faq-spotlight-viewport {
  border-radius: 0;
  overflow: hidden;
  touch-action: pan-x;
}

.faq-spotlight-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}

.faq-spotlight-track::-webkit-scrollbar {
  display: none;
}

.faq-spotlight-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.faq-spotlight-slide {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  scroll-snap-align: start;
  min-height: clamp(360px, 52vw, 520px);
  display: grid;
  align-items: end;
}

.faq-spotlight-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.faq-spotlight-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(14 17 15 / 0.15) 0%, rgb(16 120 72 / 0.35) 42%, rgb(14 17 15 / 0.88) 100%);
  pointer-events: none;
}

.faq-spotlight-copy {
  position: relative;
  z-index: 1;
  padding: 28px 24px 24px;
  display: grid;
  gap: 10px;
}

.faq-spotlight-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.faq-spotlight-copy h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-white);
}

.faq-spotlight-copy p:not(.faq-spotlight-kicker) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.78);
  max-width: 32ch;
}

.faq-spotlight-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px 16px;
}

.faq-spotlight-arrow {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(255 255 255 / 0.06);
  color: var(--color-white);
}

.faq-spotlight-arrow:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  background: rgb(232 188 58 / 0.15);
}

.faq-spotlight-dots {
  display: flex;
  gap: 8px;
}

.faq-spotlight-dots .carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.3);
  cursor: pointer;
}

.faq-spotlight-dots .carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--color-yellow);
}

@media (max-width: 959px) {
  .faq-spotlight-slide {
    min-height: 320px;
  }
}

/* ——— Close CTA ——— */
.studio-close {
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgb(104 184 72 / 0.12), transparent 60%),
    var(--color-white);
}

.studio-close .chapter-title {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.4rem);
}

.studio-close .chapter-lede {
  margin-inline: auto;
}

.studio-close .btn {
  margin-top: 28px;
}

/* ——— Footer restyle ——— */
body.cell-studio .site-footer {
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgb(104 184 72 / 0.12), transparent 55%),
    var(--color-ink);
  color: rgb(255 255 255 / 0.82);
  padding-block: 56px 28px;
  border-top: 0;
}

body.cell-studio .footer-top {
  border-bottom: 0;
  padding-bottom: 0;
}

body.cell-studio .footer-mark {
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  color: var(--color-white);
}

body.cell-studio .footer-tag {
  margin-top: 10px;
  max-width: 22rem;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.9375rem;
}

body.cell-studio .footer-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 14px;
}

body.cell-studio .footer-col a {
  display: block;
  text-decoration: none;
  color: rgb(255 255 255 / 0.75);
  padding: 4px 0;
  font-size: 0.9375rem;
}

body.cell-studio .footer-col a:hover {
  color: var(--color-white);
}

body.cell-studio .footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.5);
}

body.cell-studio .back-top {
  color: var(--color-yellow);
  text-decoration: none;
}

/* Placeholder honesty */
[data-placeholder]::after {
  /* silent — dashed borders already signal placeholder */
}

/* Reveal variants */
[data-reveal="left"] {
  transform: translateX(-18px);
}

[data-reveal="scale"] {
  transform: translateY(18px) scale(0.97);
}

[data-reveal].is-inview {
  transform: none;
}

body.cell-studio .studio-about [data-reveal],
body.cell-studio .studio-structure [data-reveal] {
  transition-duration: 720ms;
}

@media (prefers-reduced-motion: reduce) {
  .stack-card,
  .voice-card,
  .process-panel,
  .faq-panel {
    transition: none;
  }
}
