/* =========================================================================
   BULLBARBÜ DIGITAL STUDIO — EDITORIAL FLAGSHIP EDITION
   Materials:
   • Nero Glass (Smoked Obsidian Frosted Glass)
   • Verde Foresta Glass / Vino Rosso Cristallo (Dual-Physics Theme)
   • Argento (True Chrome, Brushed Aluminum & Liquid Silver Speculars)
   Typography: Space Grotesk • Syne • Plus Jakarta Sans
========================================================================= */

:root {
  --bg-obsidian: #030504;

  --glass-nero: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(8, 12, 10, 0.58) 45%,
    rgba(3, 5, 4, 0.78) 100%
  );

  --glass-forest: linear-gradient(
    155deg,
    rgba(230, 240, 245, 0.09) 0%,
    rgba(12, 42, 28, 0.42) 48%,
    rgba(4, 13, 9, 0.76) 100%
  );

  --accent-glow-rgb: 24, 96, 62;
  --indicator-color: #329666;

  /* True Metallic Silver (Argento Cromato & Spazzolato) */
  --chrome-surface: linear-gradient(
    135deg,
    #8f9ba3 0%,
    #f7fafc 20%,
    #b4c0c8 40%,
    #ffffff 54%,
    #6e7a82 76%,
    #e6edf2 100%
  );

  --chrome-text-gradient: linear-gradient(
    180deg,
    #ffffff 0%,
    #e8eff4 38%,
    #8896a0 56%,
    #dce5eb 78%,
    #ffffff 100%
  );

  --silver-pure: #f5f8fa;
  --silver-light: #c8d3da;
  --silver-muted: #84919a;
  --hairline: rgba(235, 242, 248, 0.15);
  --hairline-strong: rgba(235, 242, 248, 0.34);

  --font-display: 'Space Grotesk', sans-serif;
  --font-brand: 'Syne', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-vault: cubic-bezier(0.65, 0, 0.15, 1);
}

body.theme-wine {
  --glass-forest: linear-gradient(
    155deg,
    rgba(245, 220, 228, 0.10) 0%,
    rgba(72, 9, 24, 0.46) 48%,
    rgba(15, 3, 7, 0.78) 100%
  );
  --accent-glow-rgb: 155, 18, 46;
  --indicator-color: #d9234b;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-obsidian);
  color: var(--silver-pure);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button,
a {
  cursor: pointer;
  text-decoration: none;
}

/* =========================================================================
   SLEEK SILVER CURSOR
========================================================================= */
@media (pointer: fine) {
  body,
  button,
  a,
  input,
  textarea {
    cursor: none;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(240, 246, 250, 0.45);
  background: radial-gradient(circle, rgba(240, 246, 250, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease-expo),
    height 0.3s var(--ease-expo),
    border-color 0.3s ease,
    background-color 0.3s ease;
}

body.cursor-hovered .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: #ffffff;
  background: rgba(240, 246, 250, 0.1);
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* =========================================================================
   WEBGL2 FLUID CANVAS & AMBIENT VIGNETTE
========================================================================= */
#symphony-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
}

.ambient-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 50%, transparent 32%, rgba(2, 4, 3, 0.72) 100%),
    linear-gradient(90deg, rgba(2, 4, 3, 0.55) 0%, transparent 55%),
    linear-gradient(180deg, rgba(2, 4, 3, 0.48) 0%, transparent 20%, transparent 80%, rgba(2, 4, 3, 0.65) 100%);
}

/* =========================================================================
   3D SPATIAL VAULT PORTAL (MULTI-STAGE WOW UNLOCK & WARP SEQUENCE)
========================================================================= */
.portal-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
}

.portal-gate.is-opened {
  pointer-events: none;
  visibility: hidden;
}

.gate-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 48, 32, 0.25), rgba(3, 5, 4, 0.88) 75%),
    rgba(4, 7, 6, 0.76);
  backdrop-filter: blur(36px) saturate(160%);
  -webkit-backdrop-filter: blur(36px) saturate(160%);
  overflow: hidden;
  transition:
    transform 1.55s var(--ease-vault),
    opacity 1.35s ease,
    filter 1.35s ease;
  will-change: transform, opacity;
}

.gate-panel-left {
  left: 0;
  transform-origin: left center;
}

.gate-panel-right {
  right: 0;
  transform-origin: right center;
}

.vault-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(235, 242, 248, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 242, 248, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.vault-door-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--chrome-surface);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.gate-panel-left .vault-door-edge {
  right: 0;
}

.gate-panel-right .vault-door-edge {
  left: 0;
}

.gate-seam-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(235, 242, 248, 0.35) 20%,
    #ffffff 50%,
    rgba(235, 242, 248, 0.35) 80%,
    transparent 100%
  );
  z-index: 4;
  pointer-events: none;
  transition: all 0.45s var(--ease-expo);
}

.gate-core-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(
    circle,
    #ffffff 0%,
    rgba(230, 242, 250, 0.85) 28%,
    rgba(var(--accent-glow-rgb), 0.45) 58%,
    transparent 75%
  );
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}

.portal-gate.is-unlocking .gate-seam-beam {
  width: 5px;
  background: #ffffff;
  box-shadow:
    0 0 35px #ffffff,
    0 0 90px rgba(235, 245, 255, 0.95);
}

.portal-gate.is-unlocking .gate-core-flash {
  opacity: 1;
  transform: translate(-50%, -50%) scale(8);
  transition: transform 0.42s var(--ease-expo), opacity 0.25s ease;
}

.portal-gate.is-opening .gate-seam-beam {
  opacity: 0;
  transform: translateX(-50%) scaleY(2);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.portal-gate.is-opening .gate-core-flash {
  opacity: 0;
  transform: translate(-50%, -50%) scale(95);
  transition: transform 1.25s var(--ease-expo), opacity 0.95s ease;
}

.portal-gate.is-opening .gate-panel-left {
  transform: translate3d(-106%, 0, -240px) rotateY(34deg);
  opacity: 0;
}

.portal-gate.is-opening .gate-panel-right {
  transform: translate3d(106%, 0, -240px) rotateY(-34deg);
  opacity: 0;
}

.gate-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 540px;
  padding: 28px;
  gap: 18px;
  transition:
    transform 1.15s var(--ease-vault),
    opacity 0.75s ease,
    filter 0.85s ease;
  will-change: transform, opacity, filter;
}

.portal-gate.is-unlocking .gate-inner {
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-expo);
}

.portal-gate.is-opening .gate-inner {
  transform: scale(2.35);
  opacity: 0;
  filter: blur(18px);
}

.gate-crest {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crest-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.ring-outer-mech {
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  animation: slowSpinCW 28s linear infinite;
}

.ring-ticks-mech {
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  animation: slowSpinCCW 20s linear infinite;
}

@keyframes slowSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slowSpinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.mech-track {
  fill: none;
  stroke: rgba(235, 242, 248, 0.1);
  stroke-width: 1;
}

.mech-arc {
  fill: none;
  stroke: rgba(245, 250, 255, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 90 210;
  stroke-linecap: round;
}

.mech-ticks {
  fill: none;
  stroke: rgba(235, 242, 248, 0.28);
  stroke-width: 2;
  stroke-dasharray: 2 12;
}

.portal-gate.is-unlocking .ring-outer-mech {
  animation-duration: 1.2s;
  filter: drop-shadow(0 0 12px #ffffff);
}

.portal-gate.is-unlocking .ring-ticks-mech {
  animation-duration: 0.9s;
}

.crest-ring-bg {
  fill: none;
  stroke: rgba(235, 242, 248, 0.14);
  stroke-width: 1.5;
}

.crest-ring-progress {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-dasharray: 722;
  stroke-dashoffset: 722;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
  transition: stroke-dashoffset 1.6s var(--ease-expo);
}

.crest-logo-box {
  position: relative;
  width: 162px;
  height: 162px;
  border-radius: 30px;
  padding: 5px;
  background: var(--chrome-surface);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(235, 242, 248, 0.22),
    inset 0 2px 4px #ffffff;
  overflow: hidden;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease;
}

.portal-gate.is-unlocking .crest-logo-box {
  transform: scale(1.08);
  box-shadow:
    0 0 70px #ffffff,
    0 0 120px rgba(235, 242, 248, 0.8);
}

.crest-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}

.crest-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 25%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 75%
  );
  transform: translateX(-120%);
  animation: silverSweep 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes silverSweep {
  0%, 35% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.silver-pill-badge {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--silver-pure);
}

.gate-heading {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  background: var(--chrome-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.7));
}

.gate-heading span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  -webkit-text-fill-color: var(--silver-light);
}

.gate-subtitle {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--silver-light);
  max-width: 420px;
}

.gate-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.gate-sub-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-fluid-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-fluid-mode-pill:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.mode-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indicator-color);
  box-shadow: 0 0 10px var(--indicator-color);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* =========================================================================
   CHOREOGRAPHED 3D ARRIVAL OF STUDIO UI WHEN GATE OPENS
========================================================================= */
body.gate-locked .top-nav {
  opacity: 0;
  transform: translateY(-24px);
}

body.gate-locked .chapter-scrubber {
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
}

body.gate-locked .stage-viewport {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  filter: blur(14px);
}

.top-nav,
.chapter-scrubber,
.stage-viewport {
  transition:
    opacity 1.15s var(--ease-expo) 0.4s,
    transform 1.3s var(--ease-expo) 0.4s,
    filter 1.15s var(--ease-expo) 0.4s;
}

/* =========================================================================
   METALLIC CHROME SILVER & EDITORIAL BUTTONS
========================================================================= */
.btn-chrome-silver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: 999px;
  background: var(--chrome-surface);
  color: #050807;
  border: 1px solid #ffffff;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.65),
    0 0 26px rgba(230, 240, 248, 0.25),
    inset 0 2px 3px #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}

.btn-chrome-silver:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.75),
    0 0 38px rgba(240, 248, 255, 0.45),
    inset 0 2px 4px #ffffff;
}

.btn-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--silver-pure);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: all 0.3s ease;
}

.btn-editorial-link .arrow-glyph {
  transition: transform 0.3s var(--ease-expo);
}

.btn-editorial-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.btn-editorial-link:hover .arrow-glyph {
  transform: translateX(5px);
}

.btn-text-subtle {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-muted);
  padding: 6px 12px;
  transition: color 0.25s ease;
}

.btn-text-subtle:hover {
  color: #ffffff;
}

.btn-full {
  width: 100%;
}

/* =========================================================================
   SLEEK ARCHITECTURAL HEADER (NO OVERLAPPING PILLS!)
========================================================================= */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  pointer-events: none;
}

.top-nav > * {
  pointer-events: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}

.nav-brand:hover {
  transform: translateY(-1px);
}

.nav-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.nav-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-brand-title {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.nav-brand-sub {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--silver-light);
}

/* Single Unified Dock on Top Right */
.nav-unified-dock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 18px;
  border-radius: 999px;
  background: rgba(6, 10, 8, 0.62);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--hairline);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.nav-chapter-readout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chapter-numeral {
  font-weight: 700;
  color: #ffffff;
}

.chapter-sep {
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.chapter-label {
  color: var(--silver-light);
  font-weight: 500;
}

.dock-divider {
  width: 1px;
  height: 18px;
  background: var(--hairline);
  margin: 0 4px;
}

.dock-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--silver-light);
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.dock-action-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.sound-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.sound-bars span {
  width: 2px;
  height: 4px;
  background: var(--silver-light);
  border-radius: 2px;
}

.sound-bars.is-playing span {
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: gentleWave 1.1s infinite ease-in-out;
}
.sound-bars.is-playing span:nth-child(1) { height: 5px; animation-delay: 0s; }
.sound-bars.is-playing span:nth-child(2) { height: 11px; animation-delay: 0.2s; }
.sound-bars.is-playing span:nth-child(3) { height: 7px; animation-delay: 0.4s; }
.sound-bars.is-playing span:nth-child(4) { height: 10px; animation-delay: 0.1s; }

@keyframes gentleWave {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.btn-chrome-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--chrome-surface);
  color: #050807;
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1.5px 2px #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-chrome-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(235, 242, 248, 0.35), inset 0 2px 2px #ffffff;
}

/* =========================================================================
   STAGE VIEWPORT & CHAPTER VIEWS
========================================================================= */
.stage-viewport {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

body.is-sculpting .stage-viewport {
  opacity: 0.06;
  pointer-events: none !important;
  transition: opacity 0.4s ease;
}

.chapter-view {
  position: absolute;
  inset: 88px 48px 92px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.75s var(--ease-expo),
    transform 0.75s var(--ease-expo),
    visibility 0.75s;
  pointer-events: none;
}

.chapter-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================================================
   EDITORIAL TYPOGRAPHY & SHARED HEADINGS
========================================================================= */
.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-light);
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--chrome-surface);
}

.hero-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 8px;
}

.chrome-gradient-text {
  background: var(--chrome-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 22px rgba(215, 228, 238, 0.18));
}

.editorial-paragraph {
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.72;
  font-weight: 400;
  color: var(--silver-light);
  max-width: 580px;
}

.editorial-paragraph strong {
  color: #ffffff;
  font-weight: 600;
}

/* =========================================================================
   01 : MANIFESTO (HERO — CLEAN ARCHITECTURAL COMPOSITION)
========================================================================= */
.hero-composition {
  width: 100%;
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 680px;
}

/* Architectural Hairline Metrics instead of boxy cards */
.editorial-metrics {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  max-width: 580px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--chrome-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--silver-light);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}

/* =========================================================================
   02 : COMPETENZE (EDITORIAL BLADES GRID)
========================================================================= */
.chapter-wide {
  width: 100%;
  max-width: 1360px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.chapter-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.header-side-note {
  max-width: 340px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--silver-muted);
  text-align: right;
}

.editorial-blades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.editorial-blade {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--glass-nero);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-expo),
    border-color 0.35s ease,
    background 0.35s ease;
}

.editorial-blade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.1),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.editorial-blade:hover {
  transform: translateY(-6px);
  border-color: var(--hairline-strong);
  background: var(--glass-forest);
}

.editorial-blade:hover::before {
  opacity: 1;
}

.blade-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.blade-index {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  background: var(--chrome-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blade-category {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-muted);
}

.blade-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.blade-desc {
  font-size: 0.87rem;
  line-height: 1.62;
  color: var(--silver-light);
  margin-bottom: 22px;
}

.blade-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-muted);
}

/* =========================================================================
   03 : VETRINA DEI 3 SITI WEB (SHOWROOM MULTI-DISPOSITIVO + LIVE VIEWER)
========================================================================= */
.hero-split-stage {
  justify-content: space-between;
  gap: 48px;
}

.hero-mascot-floating {
  position: relative;
  width: clamp(270px, 26vw, 410px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  pointer-events: auto;
}

.mascot-back-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 236, 245, 0.22) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-mascot-cutout {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.14));
  user-select: none;
}

.showroom-header-row {
  padding-bottom: 12px;
}

.websites-showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.site-showcase-card {
  position: relative;
  border-radius: 22px;
  background: var(--glass-nero);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--hairline);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-expo),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.35s ease;
}

.site-showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  background: var(--glass-forest);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.68);
}

.device-stage {
  position: relative;
  width: 100%;
  padding-bottom: 8px;
}

.mockup-desktop {
  width: 92%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0f0d;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.72);
}

.browser-chrome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(12, 18, 15, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-address {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--silver-light);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-switcher-pills {
  display: flex;
  gap: 4px;
}

.screen-pill {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--silver-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.screen-pill:hover,
.screen-pill.active {
  color: #050807;
  background: var(--chrome-surface);
  border-color: #ffffff;
}

.browser-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
  background: #060908;
}

.desktop-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease-expo), filter 0.3s ease;
}

.browser-viewport:hover .desktop-screen-img {
  transform: scale(1.03);
}

.viewport-hover-cta {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 8, 0.58);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.viewport-hover-cta span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--chrome-surface);
  color: #050807;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.browser-viewport:hover .viewport-hover-cta {
  opacity: 1;
}

.mockup-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  aspect-ratio: 9 / 19.2;
  border-radius: 14px;
  padding: 3px;
  background: linear-gradient(145deg, #ffffff 0%, #7d8b95 50%, #1a2220 100%);
  box-shadow:
    -10px 14px 30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease-expo);
}

.mockup-mobile:hover {
  transform: translateY(-4px) scale(1.04);
}

.mobile-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: #050807;
  z-index: 2;
}

.mobile-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 11px;
  display: block;
}

.site-showcase-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.site-sector-badge {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-location-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-muted);
}

.site-showcase-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.site-showcase-desc {
  font-size: 0.78rem;
  line-height: 1.48;
  color: var(--silver-light);
}

.site-showcase-desc em {
  color: #ffffff;
  font-style: normal;
  font-weight: 600;
}

.site-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.site-feature-chips span {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--silver-muted);
}

.site-showcase-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-live-showroom {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--chrome-surface);
  color: #050807;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: inset 0 1.5px 2px #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-live-showroom:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(235, 242, 248, 0.35);
}

.btn-want-similar {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-strong);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.btn-want-similar:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-ext-icon {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  color: var(--silver-light);
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.btn-ext-icon:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================================================
   LIVE SHOWROOM INTERACTIVE MODAL (DENTRO BULLBARBÜ)
========================================================================= */
.live-showroom-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.live-showroom-modal[hidden] {
  display: none !important;
}

.showroom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 5, 0.84);
  backdrop-filter: blur(22px);
}

.showroom-window {
  position: relative;
  z-index: 2;
  width: min(1440px, 96vw);
  height: min(880px, 92vh);
  border-radius: 22px;
  background: #070c0a;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.showroom-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(10, 16, 13, 0.98);
  border-bottom: 1px solid var(--hairline);
}

.showroom-site-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.showroom-kicker {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--silver-muted);
  margin-right: 4px;
}

.showroom-tab {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  color: var(--silver-light);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.showroom-tab:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.showroom-tab.active {
  background: var(--chrome-surface);
  color: #050807;
  border-color: #ffffff;
  font-weight: 700;
}

.showroom-device-Controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
}

.device-toggle-btn {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--silver-muted);
  transition: all 0.2s ease;
}

.device-toggle-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.showroom-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-showroom-Order {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--chrome-surface);
  color: #050807;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-showroom-ext,
.btn-showroom-close {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
}

.btn-showroom-close:hover,
.btn-showroom-ext:hover {
  background: rgba(255, 255, 255, 0.14);
}

.showroom-stage-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0e1814 0%, #050807 100%);
  overflow: hidden;
  padding: 0;
}

.showroom-frame-wrapper {
  width: 100%;
  height: 100%;
  transition: width 0.35s var(--ease-expo), height 0.35s var(--ease-expo), border-radius 0.35s ease;
  overflow: hidden;
  background: #0a0f0d;
}

.showroom-stage-area[data-mode="mobile"] {
  padding: 18px;
}

.showroom-stage-area[data-mode="mobile"] .showroom-frame-wrapper {
  width: 396px;
  height: min(812px, 100%);
  border-radius: 36px;
  border: 6px solid #8a99a4;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
}

#showroom-live-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0a0f0d;
}

/* =========================================================================
   04 : FILOSOFIA & CONTATTO DIRETTO
========================================================================= */
.contact-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.contact-story-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.philosophy-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.phil-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.phil-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  padding-top: 2px;
}

.phil-step h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.phil-step p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--silver-muted);
}

.direct-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.channel-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.channel-kicker {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--silver-muted);
}

.channel-val {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.channel-link:hover {
  text-decoration: underline;
}

/* Editorial Contact Form */
.editorial-contact-form {
  padding: 32px 34px;
  border-radius: 24px;
  background: var(--glass-nero);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-kicker {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--silver-muted);
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-light);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.luxury-chip {
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: var(--silver-light);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.luxury-chip:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.luxury-chip.selected {
  background: var(--chrome-surface);
  color: #050807;
  border-color: #ffffff;
  font-weight: 700;
}

.editorial-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: #ffffff;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.editorial-input::placeholder {
  color: rgba(200, 211, 218, 0.42);
}

.editorial-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.editorial-textarea {
  resize: none;
}

.composer-feedback {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--glass-forest);
  border: 1px solid var(--hairline-strong);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #ffffff;
}

/* =========================================================================
   MINIMAL ARCHITECTURAL BOTTOM TIMELINE (4 CHAPTERS)
========================================================================= */
.chapter-scrubber {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 10, 8, 0.65);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.scrubber-track {
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.scrubber-fill {
  width: 25%;
  height: 100%;
  background: var(--chrome-surface);
  transition: width 0.6s var(--ease-expo);
}

.scrubber-items {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scrubber-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-muted);
  transition: all 0.3s ease;
}

.scrubber-btn:hover {
  color: #ffffff;
}

.scrubber-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.scrubber-roman {
  font-weight: 700;
  color: var(--silver-light);
}

.scrubber-btn.active .scrubber-roman {
  color: #ffffff;
}

/* =========================================================================
   RESPONSIVE DESIGN (WIDTH & HEIGHT 2D ADAPTATION FOR SURFACE / LAPTOPS)
========================================================================= */
@media (min-width: 1121px) and (max-height: 860px) {
  .top-nav {
    padding: 14px 36px;
  }

  .chapter-scrubber {
    bottom: 14px;
    padding: 6px 12px;
  }

  .chapter-view {
    inset: 68px 36px 68px 36px;
  }

  .chapter-view > * {
    transform: scale(0.86);
    transform-origin: center center;
  }
}

@media (min-width: 1121px) and (max-height: 760px) {
  .chapter-view > * {
    transform: scale(0.78);
    transform-origin: center center;
  }
}

@media (max-width: 1120px) {
  html,
  body {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .top-nav {
    padding: 14px 20px;
  }

  .nav-chapter-readout,
  .dock-divider,
  #btn-hold-sculpt {
    display: none;
  }

  .stage-viewport {
    position: relative;
    inset: auto;
    padding: 88px 20px 130px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    pointer-events: auto;
  }

  .chapter-view {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    scroll-margin-top: 76px;
  }

  .hero-split-stage {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .editorial-blades-grid,
  .websites-showroom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .top-nav {
    padding: 10px 12px;
  }

  .nav-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .nav-brand-wordmark {
    display: none !important;
  }

  .nav-unified-dock {
    padding: 4px 6px;
    gap: 4px;
  }

  .dock-action-btn {
    padding: 6px 10px;
    font-size: 0.60rem;
    letter-spacing: 0.06em;
    gap: 5px;
  }

  .btn-chrome-pill {
    padding: 6px 11px;
    font-size: 0.60rem;
    letter-spacing: 0.08em;
  }

  .stage-viewport {
    padding: 72px 14px 136px;
    gap: 48px;
  }

  .hero-mascot-floating {
    width: min(205px, 54vw);
    margin: 0 auto;
  }

  .hero-copy {
    gap: 14px;
    width: 100%;
  }

  .editorial-eyebrow {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
    gap: 8px;
    justify-content: center;
  }

  .eyebrow-line {
    width: 16px;
  }

  .hero-display {
    font-size: clamp(1.85rem, 7.2vw, 2.45rem);
    line-height: 1.08;
  }

  .editorial-paragraph {
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .editorial-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 0;
    width: 100%;
  }

  .metric-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
  }

  .metric-value {
    font-size: 1.12rem;
  }

  .metric-label {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn-chrome-silver {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.72rem;
  }

  .chapter-wide {
    gap: 20px;
  }

  .chapter-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 12px;
  }

  .section-heading {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem);
  }

  .header-side-note {
    text-align: left;
    max-width: 100%;
    font-size: 0.80rem;
  }

  .editorial-blades-grid,
  .websites-showroom-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .editorial-blade {
    padding: 18px 16px;
    min-height: auto;
    border-radius: 16px;
  }

  .blade-top {
    margin-bottom: 10px;
  }

  .blade-desc {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .site-showcase-card {
    padding: 14px;
    border-radius: 18px;
  }

  .site-showcase-actions {
    flex-wrap: wrap;
  }

  .form-row-two,
  .philosophy-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .editorial-contact-form {
    padding: 20px 16px;
    border-radius: 18px;
    gap: 14px;
  }

  .luxury-chip {
    padding: 6px 11px;
    font-size: 0.66rem;
  }

  .chapter-scrubber {
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: 410px;
    padding: 6px 10px;
  }

  .scrubber-items {
    justify-content: space-between;
    width: 100%;
    gap: 2px;
  }

  .scrubber-btn {
    padding: 5px 8px;
    gap: 4px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .scrubber-name {
    display: inline;
  }

  /* Live Showroom Modal on Mobile */
  .live-showroom-modal {
    padding: 0;
  }

  .showroom-window {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }

  .showroom-topbar {
    padding: 8px 10px;
    gap: 6px;
  }

  .showroom-kicker,
  .showroom-device-Controls {
    display: none;
  }

  .showroom-tab,
  .btn-showroom-Order,
  .btn-showroom-ext,
  .btn-showroom-close {
    padding: 5px 9px;
    font-size: 0.58rem;
  }
}

/* =========================================================================
   WORDMARK IN TOP NAV + GRAPHIC STYLE CHOOSER & BOTTOM-RIGHT DUAL ICONS
   (FOREST & FLUIDO — ZERO PILL BOX / ZERO V1-V2)
========================================================================= */
.nav-brand-wordmark {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.9));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-brand:hover .nav-brand-wordmark {
  transform: translateY(-1px) scale(1.03);
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 12px rgba(230, 151, 62, 0.35));
}

.style-chooser-gate {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s ease;
}

.style-chooser-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.chooser-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(28, 20, 12, 0.84) 0%, rgba(4, 7, 8, 0.96) 75%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.chooser-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.chooser-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #ecc074;
}

.line-brass {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8bc71, transparent);
}

.chooser-wordmark {
  width: clamp(230px, 28vw, 370px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.95));
}

.chooser-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.06rem, 1.4vw, 1.32rem);
  line-height: 1.45;
  color: rgba(242, 232, 214, 0.88);
  max-width: 620px;
}

.chooser-subtitle strong {
  color: #fff2cf;
  font-weight: 600;
}

.chooser-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: 100%;
  margin-top: 8px;
}

.chooser-style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: rgba(10, 14, 15, 0.68);
  border: 1px solid rgba(235, 190, 112, 0.26);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.4s ease;
}

.chooser-style-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 220, 145, 0.72);
  background: rgba(20, 16, 11, 0.82);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.92),
    0 0 32px rgba(235, 160, 55, 0.22);
}

.chooser-card-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 14px rgba(245, 190, 88, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chooser-style-card:hover .chooser-card-icon {
  transform: scale(1.12);
}

.chooser-card-icon svg {
  width: 100%;
  height: 100%;
}

.chooser-card-tag {
  font-family: 'Cinzel', var(--font-display);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(238, 192, 112, 0.75);
}

.chooser-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: #fff4d6;
  text-shadow: 0 0 18px rgba(240, 175, 70, 0.45);
}

.chooser-card-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(236, 224, 204, 0.85);
  max-width: 310px;
}

.chooser-card-cta {
  margin-top: 6px;
  font-family: 'Cinzel', var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f6ca78;
  transition: color 0.3s ease, transform 0.3s ease;
}

.chooser-style-card:hover .chooser-card-cta {
  color: #fff3d1;
  transform: translateX(3px);
}

/* Bottom-Right Frameless Dual Icons (FOREST & FLUIDO) */
.style-icons-cluster {
  position: fixed;
  bottom: 26px;
  right: 36px;
  z-index: 175;
  display: flex;
  align-items: center;
  gap: 26px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  user-select: none;
  pointer-events: auto;
}

.style-icon-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent !important;
  border: none !important;
  padding: 0;
  cursor: pointer;
  opacity: 0.68;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.style-icon-btn:hover,
.style-icon-btn.active {
  opacity: 1;
  transform: translateY(-2px);
}

.style-icon-visual {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.style-icon-halo {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 224, 150, 0.48) 0%,
    rgba(235, 155, 45, 0.20) 52%,
    transparent 76%
  );
  filter: blur(2px);
  opacity: 0.35;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.style-icon-btn.active .style-icon-halo,
.style-icon-btn:hover .style-icon-halo {
  opacity: 1;
  transform: scale(1.16);
}

.style-icon-svg {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 9px rgba(245, 192, 92, 0.72)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.style-icon-btn:hover .style-icon-svg {
  transform: scale(1.12);
}

.style-icon-label {
  font-family: 'Cinzel', var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255, 236, 190, 0.88);
  text-shadow: 0 0 8px rgba(245, 180, 75, 0.65), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.style-icon-btn.active .style-icon-label {
  color: #fff4d4;
  text-shadow: 0 0 12px rgba(255, 210, 110, 0.95), 0 1px 4px rgba(0, 0, 0, 0.98);
}

@media (max-width: 768px) {
  .style-chooser-gate {
    padding: 14px;
    overflow-y: auto;
  }
  .chooser-inner {
    gap: 10px;
  }
  .chooser-eyebrow {
    font-size: 0.48rem;
    letter-spacing: 0.14em;
    gap: 6px;
  }
  .chooser-wordmark {
    width: min(195px, 56vw);
  }
  .chooser-subtitle {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .chooser-cards-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .chooser-style-card {
    padding: 14px 16px 12px;
    gap: 6px;
    border-radius: 14px;
  }
  .chooser-card-icon {
    width: 40px;
    height: 40px;
  }
  .chooser-card-title {
    font-size: 1.45rem;
  }
  .chooser-card-desc {
    font-size: 0.78rem;
    line-height: 1.38;
  }
  .style-icons-cluster {
    bottom: 64px;
    right: 12px;
    gap: 12px;
    transform: scale(0.70);
    transform-origin: bottom right;
  }
}
