/* ==========================================================================
   MONOGRAM DESIGN — DIRECTION ARTISTIQUE & PACKAGING DESIGN
   Architecture CSS Moderne, Haute Performance & Zéro Dépendance CDN
   ========================================================================== */

:root {
  interpolate-size: allow-keywords;

  /* ==========================================================================
     PHASE 3 GLOBAL CONTRAST SYSTEM & DESIGN TOKENS
     ========================================================================== */
  --bg-main: #0B0B0D;
  --bg-section-alt: #111114;
  --bg-card: #17171C;
  --bg-card-elevated: #1D1D23;

  --border-subtle: #303037;
  --border-interactive: #414149;

  --text-primary: #F7F6F2;
  --text-secondary: #C5C5C9;
  --text-muted: #A5A5AD;
  --gold-champagne: #C8B282;

  /* Harmonised Legacy Palette Mappings */
  --bg-obsidian-950: var(--bg-main);            /* #0B0B0D */
  --bg-obsidian-900: var(--bg-section-alt);       /* #111114 */
  --bg-obsidian-850: var(--bg-card);              /* #17171C */
  --bg-obsidian-800: var(--bg-card-elevated);     /* #1D1D23 */
  --bg-obsidian-700: #26262E;
  
  --gold-300: #EAE3D2;
  --gold-400: #D8C6A0;
  --gold-500: var(--gold-champagne);             /* #C8B282 */
  --gold-600: #A89262;
  --gold-700: #7E6B42;
  --gold-glow: rgba(200, 178, 130, 0.16);
  --gold-border: var(--border-subtle);           /* #303037 */
  --gold-border-hover: var(--border-interactive);/* #414149 */

  --text-pure: #FFFFFF;
  --text-main: var(--text-primary);               /* #F7F6F2 */
  --text-muted: var(--text-secondary);           /* #C5C5C9 */
  --text-subtle: var(--text-muted);               /* #A5A5AD */

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* ==========================================================================
     PHASE 4 SPACING SYSTEM TOKENS (8-Point Geometric & Fluid Layout Scale)
     ========================================================================== */
  --space-2xs: 0.25rem;  /* 4px  - Micro indicators, icon offsets */
  --space-xs:  0.5rem;   /* 8px  - Label margins, badge internal gaps */
  --space-sm:  0.75rem;  /* 12px - Tight metadata, tag padding */
  --space-md:  1rem;     /* 16px - Base unit, standard form gap */
  --space-lg:  1.5rem;   /* 24px - Headings to body, form grid row gap */
  --space-xl:  2rem;     /* 32px - Card interior padding, row separation */
  --space-2xl: 3rem;     /* 48px - Subsection breaks, module spacing */
  --space-3xl: 4rem;     /* 64px - Major section headers to grid */
  --space-4xl: 6rem;     /* 96px - Desktop section vertical rhythm */

  /* Semantic Layout Spacing */
  --space-section-desktop: 6rem;    /* 96px */
  --space-section-tablet:  4.75rem; /* 76px */
  --space-section-mobile:  3.5rem;  /* 56px */

  --space-card-pad-desktop: 2.25rem; /* 36px */
  --space-card-pad-tablet:  1.75rem; /* 28px */
  --space-card-pad-mobile:  1.25rem; /* 20px */

  --space-grid-gap-desktop: 2.5rem;  /* 40px */
  --space-grid-gap-tablet:  2rem;    /* 32px */
  --space-grid-gap-mobile:  1.5rem;  /* 24px */
}

/* --------------------------------------------------------------------------
   Reset & Base Standards
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--gold-champagne);
  color: #0B0B0D;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #27272F;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-600);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.font-heading { font-family: var(--font-heading); }
.font-sans { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.35; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: #FFFFFF; }
.text-gold-300 { color: var(--gold-300); }
.text-gold-400 { color: var(--gold-400); }
.text-gold-500 { color: var(--gold-champagne); }
.text-zinc-200 { color: var(--text-primary); }   /* #F7F6F2 */
.text-zinc-300 { color: var(--text-secondary); } /* #C5C5C9 */
.text-zinc-400 { color: var(--text-muted); }     /* #A5A5AD */
.text-zinc-500 { color: #82828C; }

.text-gradient-gold {
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F6F2 40%, #E2D5B4 70%, #C8B282 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Layout Containers & Grid Systems
   -------------------------------------------------------------------------- */
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-12 { padding-top: 3rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pt-36 { padding-top: 9rem; }
.pt-40 { padding-top: 10rem; }
.pt-44 { padding-top: 11rem; }

.pb-12 { padding-bottom: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-28 { padding-bottom: 7rem; }
.pb-32 { padding-bottom: 8rem; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:pt-36 { padding-top: 9rem; }
  .sm\:h-12 { height: 3rem; }
  .sm\:h-20 { height: 5rem; }
  .sm\:h-24 { height: 6rem; }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .lg\:pt-44 { padding-top: 11rem; }
}

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-left { text-align: left; }
  .sm\:w-auto { width: auto; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:h-24 { height: 6rem; }
  .sm\:h-12 { height: 3rem; }
  .sm\:h-14 { height: 3.5rem; }
  .sm\:h-16 { height: 4rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:pt-0 { padding-top: 0; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:h-\[450px\] { height: 450px; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-9 { grid-column: span 9 / span 9; }
  .md\:col-span-10 { grid-column: span 10 / span 10; }
  .md\:col-span-11 { grid-column: span 11 / span 11; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:w-auto { width: auto !important; }
  .md\:w-full { width: 100%; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:w-2\/3 { width: 66.666667%; }
  .md\:w-5\/12 { width: 41.666667%; }
  .md\:w-7\/12 { width: 58.333333%; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:text-right { text-align: right; }
  .md\:pt-0 { padding-top: 0; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:border-t-0 { border-top-width: 0; }
  .lg\:border-l { border-left-width: 1px; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1280px) {
  .xl\:gap-5 { gap: 1.25rem; }
  .xl\:gap-6 { gap: 1.5rem; }
  .xl\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
}

/* Spacings */
.space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-7 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.75rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: clamp(2rem, 3.5vw, 3rem); }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: clamp(2.25rem, 3.5vw, 3.5rem); }
.mb-16 { margin-bottom: 4rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.p-2\.5 { padding: 0.625rem; }
.ml-1 { margin-left: 0.25rem; }
.gap-0 { gap: 0; }
.gap-2\.5 { gap: 0.625rem; }
.flex-grow { flex-grow: 1; }
.items-baseline { align-items: baseline; }
.max-w-md { max-width: 28rem; }
.min-h-\[340px\] { min-height: 340px; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Colors & Backgrounds */
.bg-obsidian-950 { background-color: var(--bg-obsidian-950); }
.bg-obsidian-900 { background-color: var(--bg-obsidian-900); }
.bg-obsidian-850 { background-color: var(--bg-obsidian-850); }
.bg-obsidian-800 { background-color: var(--bg-obsidian-800); }
.bg-obsidian-700 { background-color: var(--bg-obsidian-700); }
.bg-gold-500 { background-color: var(--gold-500); }
.bg-gold-400 { background-color: var(--gold-400); }

.border { border-width: 1px; border-style: solid; border-color: var(--border-subtle); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--border-subtle); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--border-subtle); }
.border-white\/5 { border-color: var(--border-subtle); }
.border-white\/10 { border-color: var(--border-subtle); }
.border-white\/15 { border-color: var(--border-interactive); }
.border-white\/20 { border-color: var(--border-interactive); }
.border-gold-500\/20 { border-color: var(--border-interactive); }
.border-gold-500\/30 { border-color: rgba(200, 178, 130, 0.35); }
.border-gold-500\/40 { border-color: rgba(200, 178, 130, 0.45); }
.border-gold-500\/50 { border-color: rgba(200, 178, 130, 0.60); }

.bg-gold-500\/10 { background-color: rgba(200, 178, 130, 0.10); }
.bg-gold-500\/20 { background-color: rgba(200, 178, 130, 0.20); }
.bg-white\/5 { background-color: var(--bg-card); }
.bg-white\/10 { background-color: var(--bg-card-elevated); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

@media (min-width: 640px) {
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:flex { display: flex !important; }
  .sm\:block { display: block !important; }
  .sm\:hidden { display: none !important; }
}

@media (min-width: 768px) {
  .md\:inline-flex { display: inline-flex !important; }
  .md\:flex { display: flex !important; }
  .md\:block { display: block !important; }
  .md\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg\:inline-flex { display: inline-flex !important; }
  .lg\:flex { display: flex !important; }
  .lg\:block { display: block !important; }
  .lg\:hidden { display: none !important; }
}

.hover\:text-gold-400:hover { color: var(--gold-400); }
.hover\:text-white:hover { color: #FFFFFF; }
.hover\:bg-gold-500:hover { background-color: var(--gold-champagne); }
.hover\:text-obsidian-950:hover { color: var(--bg-main); }
.hover\:underline:hover { text-decoration: underline; }

.transition-all { transition: all 0.25s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.bottom-6 { bottom: 1.5rem; }
.right-6 { right: 1.5rem; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); }

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:w-1\/3 {
    width: 33.333333%;
    max-width: 33.333333%;
    flex: 0 0 33.333333%;
  }
  .md\:w-1\/2 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }
  .md\:w-2\/3 {
    width: 66.666667%;
    max-width: 66.666667%;
    flex: 0 0 66.666667%;
  }
  .md\:items-end { align-items: flex-end; }
}

.self-start { align-self: flex-start; }
.text-zinc-200 { color: #E4E4E7; }
.text-gold-300\/90 { color: rgba(243, 229, 171, 0.9); }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.list-disc { list-style-type: disc; }
.pl-4 { padding-left: 1rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.p-2\.5 { padding: 0.625rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-10 { width: 2.5rem; }

@media (min-width: 1024px) {
  .lg\:flex,
  .hidden.lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

@media (max-width: 1023px) {
  .hidden-mobile { display: none; }
}

/* --------------------------------------------------------------------------
   Dieline Blueprint Texture & Lighting Accents
   -------------------------------------------------------------------------- */
.bg-dieline-grid {
  background-image: 
    radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
}

.hero-glow-overlay {
  position: absolute;
  top: -100px;
  right: 10%;
  width: 650px;
  max-width: 100vw;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bottom-glow-overlay {
  position: absolute;
  bottom: -50px;
  left: 5%;
  width: 500px;
  max-width: 100vw;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Navigation & Header
   -------------------------------------------------------------------------- */
/* ==========================================================================
   Header Clearance & Subpage Layout Offset (Systematised in Phase 4)
   ========================================================================== */
/* Homepage hero elements handle their own deliberate top spacing under the fixed glass header */
body.cs-homepage main#main-content,
.cs-homepage main#main-content {
  padding-top: 0;
}

/* Subpages receive calibrated offset to clear the fixed header (80px mobile / 96px desktop) with consistent breathing room */
body:not(.cs-homepage) main#main-content {
  padding-top: 6.5rem; /* 104px on mobile: 24px buffer below 80px header */
}

@media (min-width: 640px) {
  body:not(.cs-homepage) main#main-content {
    padding-top: 7.5rem; /* 120px on tablet: 24px buffer below 96px header */
  }
}

@media (min-width: 1024px) {
  body:not(.cs-homepage) main#main-content {
    padding-top: 8.25rem; /* 132px on desktop: 36px buffer below 96px header */
  }
}

.glass-nav {
  background: rgba(11, 11, 13, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

/* Explicit Header Logo constraint */
#main-header img {
  height: 2.15rem;
  max-height: 2.15rem;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  #main-header img {
    height: 2.75rem;
    max-height: 2.75rem;
  }
}

.glass-nav.scrolled {
  background: rgba(11, 11, 13, 0.97);
  border-bottom: 1px solid var(--border-interactive);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
  padding: 0.35rem 0.5rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-champagne);
}

/* Lang switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.lang-btn-active {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: var(--gold-champagne);
  color: #0B0B0D;
  font-weight: 700;
}

.lang-btn-inactive {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.lang-btn-inactive:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FBF8EE 0%, #C8B282 60%, #B39B66 100%);
  color: #0B0B0D;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(251, 248, 238, 0.7);
  box-shadow: 0 4px 18px rgba(200, 178, 130, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 178, 130, 0.4);
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-interactive);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-secondary.active, .filter-btn.active {
  background: var(--bg-card-elevated);
  border-color: var(--gold-champagne);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(200, 178, 130, 0.15);
}

/* Desktop Header CTA (hidden on mobile, visible on desktop) */
.desktop-cta-button {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FBF8EE 0%, #C8B282 60%, #B39B66 100%);
    color: #0B0B0D;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.825rem;
    letter-spacing: 0.025em;
    border: 1px solid rgba(251, 248, 238, 0.7);
    box-shadow: 0 4px 18px rgba(200, 178, 130, 0.25);
    transition: all 0.2s ease;
  }

  .desktop-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 178, 130, 0.45);
    filter: brightness(1.05);
  }

  .desktop-cta-button svg {
    width: 0.95rem;
    height: 0.95rem;
  }
}

/* --------------------------------------------------------------------------
   B2B Service Cards & Offer Cards
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  border-color: var(--border-interactive);
  background: var(--bg-card-elevated);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 178, 130, 0.08);
}

.service-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(200, 178, 130, 0.08);
  border: 1px solid var(--border-interactive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Project Cards & Case Studies
   -------------------------------------------------------------------------- */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 420px;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-interactive);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(200, 178, 130, 0.1);
}

.project-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-img {
  transform: scale(1.05);
}

.project-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.96) 0%, rgba(11, 11, 13, 0.6) 45%, rgba(11, 11, 13, 0.15) 100%);
  opacity: 0.95;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.project-card:hover .card-overlay {
  opacity: 0.98;
}

/* Badge Pill */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-interactive);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--gold-champagne);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--gold-champagne);
}

/* --------------------------------------------------------------------------
   Forms & Conversion Components
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 0.65rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-champagne);
  box-shadow: 0 0 0 3px rgba(200, 178, 130, 0.15);
  background: var(--bg-card);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   Breadcrumbs & Subpage Headers
   -------------------------------------------------------------------------- */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.breadcrumb-trail a {
  color: var(--gold-champagne);
  transition: color 0.2s;
}

.breadcrumb-trail a:hover {
  color: #FFFFFF;
}

.breadcrumb-separator {
  color: var(--border-interactive);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.faq-box:hover {
  border-color: var(--border-interactive);
  background: var(--bg-card-elevated);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-accordion-item:hover,
.faq-accordion-item[open] {
  border-color: rgba(212, 175, 55, 0.35);
  background: var(--bg-card-elevated);
}

.faq-accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary .faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold-400);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-accordion-item[open] summary .faq-icon {
  transform: rotate(45deg);
}

.faq-accordion-item .faq-body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* --------------------------------------------------------------------------
   Brand Logo (Header & Footer)
   -------------------------------------------------------------------------- */
#main-header a[aria-label="Monogram Design"] img,
#main-header .site-logo img,
header img[src*="logo.png"],
.site-logo-img {
  height: clamp(58px, 6vw, 76px) !important;
  max-height: 80px;
  width: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(200, 178, 130, 0.26));
  transition: transform 0.25s ease, filter 0.25s ease;
}

#main-header a[aria-label="Monogram Design"]:hover img,
#main-header .site-logo:hover img,
header img[src*="logo.png"]:hover,
.site-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 22px rgba(200, 178, 130, 0.44));
}

footer img[alt="Monogram Design"],
footer img[src*="logo.png"],
.site-footer img[src*="logo.png"],
.footer-logo-img {
  height: clamp(56px, 5.8vw, 74px) !important;
  max-height: 78px;
  width: auto !important;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 12px rgba(200, 178, 130, 0.20));
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-muted);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold-champagne);
}

.site-footer .border-t,
footer .border-t {
  border-top: 1px solid var(--border-subtle) !important;
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem) !important;
  margin-top: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  align-items: center !important;
  justify-content: space-between !important;
}

@media (min-width: 640px) {
  .site-footer .border-t,
  footer .border-t {
    flex-direction: row !important;
    gap: 1rem !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Menu & Drawer
   -------------------------------------------------------------------------- */
#mobile-menu {
  display: none;
  background-color: rgba(11, 11, 13, 0.98);
  border-bottom: 1px solid var(--border-interactive);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  padding: 1rem 1.25rem 2rem;
}

#mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  font-size: 0.95rem;
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--gold-champagne);
}

/* --------------------------------------------------------------------------
   Hero Contrast & Systematic Header Clearance
   -------------------------------------------------------------------------- */
.cs-homepage #hero {
  padding-top: calc(5rem + 1.75rem); /* 108px mobile: clears 80px header */
  padding-bottom: var(--space-2xl, 3rem);
}

@media (min-width: 640px) {
  .cs-homepage #hero {
    padding-top: calc(6rem + 2.25rem); /* 132px tablet: clears 96px header */
    padding-bottom: var(--space-3xl, 4rem);
  }
}

@media (min-width: 1024px) {
  .cs-homepage #hero {
    padding-top: calc(6rem + 3rem); /* 144px desktop: clears 96px header */
    padding-bottom: var(--space-3xl, 4rem);
  }
}

/* Hero Featured Card Contrast */
#hero .bg-gradient-to-t {
  background: linear-gradient(to top, rgba(10, 10, 12, 0.96) 0%, rgba(10, 10, 12, 0.72) 48%, rgba(10, 10, 12, 0.15) 85%) !important;
}

/* Portfolio Card Category Badge Capsule */
.card-overlay > span:first-child {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(10, 10, 12, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Solutions Dropdown Navigation (Desktop & Mobile)
   -------------------------------------------------------------------------- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible,
.nav-dropdown-btn.active,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--gold-400);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 13.5rem;
  background: rgba(17, 17, 20, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-interactive);
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(200, 178, 130, 0.08);
  padding: 0.5rem;
  z-index: 100;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
}

/* Invisible bridge so mouse moving from button to dropdown never loses hover state */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
  display: block;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.nav-dropdown:hover .chevron-icon,
.nav-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(200, 178, 130, 0.12);
  color: var(--text-primary);
  outline: none;
}

.dropdown-item.active {
  color: var(--gold-champagne);
  background: rgba(200, 178, 130, 0.08);
  font-weight: 600;
}

/* Mobile Solutions Accordion */
.mobile-dropdown {
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-dropdown-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.75rem 0;
  text-align: left;
  transition: color 0.2s ease;
}

.mobile-dropdown-btn:hover,
.mobile-dropdown.open .mobile-dropdown-btn,
.mobile-dropdown-btn.active {
  color: var(--gold-champagne);
}

.mobile-dropdown-menu {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  border-left: 2px solid var(--border-interactive);
  margin-left: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.mobile-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: block !important;
}

.mobile-subnav-link {
  display: block;
  padding: 0.6rem 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-subnav-link:hover,
.mobile-subnav-link.active {
  color: var(--gold-champagne);
  font-weight: 600;
}

/* ==========================================================================
   CONTEMPORARY STUDIO REDESIGN — HOMEPAGE DEDICATED STYLES
   Isolated classes prefixed with .cs-* to guarantee zero side-effects on other pages
   ========================================================================== */

:root {
  --cs-charcoal-deep: var(--bg-main);              /* #0B0B0D */
  --cs-charcoal-surface: var(--bg-section-alt);     /* #111114 */
  --cs-charcoal-card: var(--bg-card);               /* #17171C */
  --cs-charcoal-elevated: var(--bg-card-elevated);  /* #1D1D23 */
  --cs-ivory-bright: var(--text-primary);           /* #F7F6F2 */
  --cs-ivory-subtle: var(--text-secondary);         /* #C5C5C9 */
  --cs-ivory-muted: var(--text-muted);             /* #A5A5AD */
  --cs-champagne: var(--gold-champagne);            /* #C8B282 */
  --cs-champagne-light: #E2D5B4;
  --cs-champagne-dark: #9F854F;
  --cs-champagne-glow: rgba(200, 178, 130, 0.12);
  --cs-border-subtle: var(--border-subtle);         /* #303037 */
  --cs-border-line: var(--border-interactive);      /* #414149 */
  --cs-border-champagne: rgba(200, 178, 130, 0.35);
  --cs-radius-sm: 4px;
  --cs-radius-md: 6px;
  --cs-radius-lg: 8px;
}

/* Page Wrapper */
.cs-homepage {
  background-color: var(--cs-charcoal-deep);
  color: var(--cs-ivory-subtle);
  position: relative;
  overflow-x: hidden;
}

/* Architectural Vertical Datum Guides */
.cs-guide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(to right, rgba(247, 246, 242, 0.02) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}

@media (max-width: 768px) {
  .cs-guide-overlay {
    background-size: calc(100% / 3) 100%;
    opacity: 0.5;
  }
}

/* Ambient Studio Light Effect */
.cs-ambient-spotlight {
  position: absolute;
  top: -140px;
  right: 0;
  width: 900px;
  height: 900px;
  max-width: 100vw;
  background: radial-gradient(circle, rgba(200, 178, 130, 0.09) 0%, rgba(200, 178, 130, 0.015) 50%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  contain: paint;
  z-index: 0;
}

@media (min-width: 1024px) {
  .cs-ambient-spotlight {
    right: -5%;
  }
}

.cs-ambient-spotlight-left {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 800px;
  height: 800px;
  max-width: 100vw;
  background: radial-gradient(circle, rgba(200, 178, 130, 0.06) 0%, transparent 65%);
  filter: blur(130px);
  pointer-events: none;
  contain: paint;
  z-index: 0;
}

@media (min-width: 1024px) {
  .cs-ambient-spotlight-left {
    left: -8%;
  }
}

/* ==========================================================================
   CONTEMPORARY TYPOGRAPHY
   ========================================================================== */

.cs-display-hero {
  font-family: 'Syne', var(--font-heading), sans-serif;
  font-size: clamp(1.65rem, 3.85vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--cs-ivory-bright);
  overflow-wrap: break-word;
}

@media (min-width: 420px) and (max-width: 639px) {
  .cs-display-hero {
    font-size: clamp(1.75rem, 5.2vw, 2.2rem);
  }
}

.cs-display-hero .cs-title-accent {
  display: block;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F6F2 40%, #E2D5B4 75%, #C8B282 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.035em;
}

.cs-display-section {
  font-family: 'Syne', var(--font-heading), sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--cs-ivory-bright);
  overflow-wrap: break-word;
}

.cs-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cs-champagne);
}

.cs-meta-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background-color: var(--cs-champagne);
}

.cs-technical-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cs-champagne);
  text-transform: uppercase;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.cs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: var(--cs-radius-sm);
  background: linear-gradient(135deg, #FBF8EE 0%, #C8B282 60%, #B39B66 100%);
  color: #0B0B0D;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.825rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(251, 248, 238, 0.7);
  box-shadow: 0 4px 20px rgba(200, 178, 130, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 178, 130, 0.4);
  filter: brightness(1.05);
}

.cs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--cs-radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.825rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cs-btn-secondary:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-interactive);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.cs-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cs-champagne);
  transition: gap 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.cs-btn-text:hover {
  color: #FFFFFF;
  gap: 0.75rem;
}

/* SVG lock safeguard */
.cs-btn-primary svg,
.cs-btn-secondary svg,
.cs-btn-text svg,
.cs-technical-label svg,
.cs-meta-tag svg,
.cs-floating-badge svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.w-3\.5 { width: 0.875rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.h-4 { height: 1rem !important; }
.w-5 { width: 1.25rem !important; }
.h-5 { height: 1.25rem !important; }
.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }

#mobile-menu-btn svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
  max-width: 1.5rem !important;
  max-height: 1.5rem !important;
  display: block !important;
}

.cs-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .cs-hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

.cs-hero-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .cs-hero-specs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
  }
}

.cs-hero-specs-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   HERO PACKAGING STAGE (Enlarged Artwork, Reduced Framing)
   ========================================================================== */

.cs-hero-pedestal {
  position: relative;
  background: linear-gradient(160deg, #17171C 0%, #111114 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--cs-radius-md);
  padding: 1.15rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(200, 178, 130, 0.05);
}

.cs-hero-pedestal-canvas {
  position: relative;
  width: 100%;
  border-radius: var(--cs-radius-sm);
  background: radial-gradient(circle at 50% 50%, #1D1D23 0%, #111114 85%);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .cs-hero-pedestal-canvas {
    min-height: 470px;
    padding: 2rem 1.5rem;
  }
}

.cs-hero-pedestal-canvas img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.7));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-hero-pedestal:hover .cs-hero-pedestal-canvas img {
  transform: scale(1.025) translateY(-3px);
}

.cs-hero-pedestal-meta {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cs-hero-pedestal-meta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.cs-floating-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--cs-radius-sm);
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--cs-border-champagne);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--cs-champagne-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

/* ==========================================================================
   METRIC STRIP (Architectural Ribbon)
   ========================================================================== */

.cs-metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: clamp(3.5rem, 6.5vw, 6rem);
}

@media (min-width: 768px) {
  .cs-metric-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cs-metric-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border-subtle);
}

.cs-metric-item:nth-child(2n) {
  border-right: none;
}

/* Mobile: horizontal border between row 1 and row 2 */
@media (max-width: 767px) {
  .cs-metric-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (min-width: 768px) {
  .cs-metric-item {
    padding: 2rem 1.25rem;
  }
  .cs-metric-item:nth-child(2n) {
    border-right: 1px solid var(--border-subtle);
  }
  .cs-metric-item:last-child {
    border-right: none;
  }
}

@media (min-width: 1024px) {
  .cs-metric-item {
    padding: 2.25rem 1.75rem;
  }
}

.cs-metric-num {
  font-family: 'Syne', var(--font-heading), sans-serif;
  font-size: clamp(2.3rem, 3.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cs-champagne);
  letter-spacing: -0.03em;
}

.cs-metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-ivory-muted);
  margin-top: 0.65rem;
  line-height: 1.4;
}

/* ==========================================================================
   SECTIONS & SPACING (Phase 4 Coherent Vertical Rhythm)
   ========================================================================== */

.cs-section {
  position: relative;
  padding-top: var(--space-section-mobile, 3.5rem);
  padding-bottom: var(--space-section-mobile, 3.5rem);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .cs-section {
    padding-top: var(--space-section-tablet, 4.75rem);
    padding-bottom: var(--space-section-tablet, 4.75rem);
  }
}

@media (min-width: 1024px) {
  .cs-section {
    padding-top: var(--space-section-desktop, 6rem);
    padding-bottom: var(--space-section-desktop, 6rem);
  }
}

/* ==========================================================================
   CLIENT SEGMENTS & POSITIONING
   ========================================================================== */

.cs-sector-row {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.cs-sector-row:first-child {
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  /* Optical alignment with top cap-height of left headline */
  .cs-sector-row:first-child {
    padding-top: 0.25rem;
    border-top: none;
  }
}

.cs-sector-row:hover {
  background-color: rgba(247, 246, 242, 0.015);
  padding-left: 0.75rem;
}

/* ==========================================================================
   SPECIALISED SERVICES (Architectural Stream)
   ========================================================================== */

.cs-capability-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  align-items: start;
  gap: 1.25rem;
  transition: all 0.25s ease;
}

@media (min-width: 768px) {
  .cs-capability-row {
    grid-template-columns: 50px 2.2fr 2.8fr 130px;
    gap: clamp(1.5rem, 2vw, 2.5rem);
    align-items: start;
  }
  .cs-capability-row > :last-child {
    padding-top: 0.25rem;
  }
}

.cs-capability-row:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.cs-capability-row:hover {
  background-color: rgba(247, 246, 242, 0.015);
  padding-left: 0.75rem;
}

.cs-capability-num {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--cs-champagne);
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
}

.cs-capability-title {
  font-family: 'Syne', var(--font-heading), sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cs-ivory-bright);
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.cs-capability-row:hover .cs-capability-title {
  color: var(--cs-champagne-light);
}

.cs-capability-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PORTFOLIO GALLERY (Enlarged Artwork, Reduced Framing)
   ========================================================================== */

.cs-gallery-lead {
  border-radius: var(--cs-radius-md);
  background: linear-gradient(160deg, #17171C 0%, #111114 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.cs-gallery-lead:hover {
  border-color: var(--border-interactive);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(200, 178, 130, 0.06);
}

.cs-gallery-lead-canvas {
  position: relative;
  width: 100%;
  min-height: 380px;
  background: radial-gradient(circle at 50% 50%, #1D1D23 0%, #0E0E12 85%);
  padding: 1.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .cs-gallery-lead-canvas {
    min-height: 500px;
    padding: 2.25rem 2.5rem;
  }
}

.cs-gallery-lead-canvas img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-gallery-lead:hover .cs-gallery-lead-canvas img {
  transform: scale(1.02);
}

.cs-gallery-lead-body {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .cs-gallery-lead-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2.5rem;
  }
}

/* Gallery Cards (Diptych & Supporting Showcases) */
.cs-gallery-card {
  border-radius: var(--cs-radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-gallery-card:hover {
  border-color: var(--border-interactive);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(200, 178, 130, 0.06);
}

.cs-gallery-card-canvas {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 50% 50%, #1D1D23 0%, #0E0E12 85%);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

@media (min-width: 768px) {
  .cs-gallery-card-canvas {
    min-height: 340px;
    padding: 1.75rem 1.5rem;
  }
}

.cs-gallery-card-canvas img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.65));
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-gallery-card:hover .cs-gallery-card-canvas img {
  transform: scale(1.025);
}

.cs-gallery-card-body {
  padding: clamp(1.5rem, 2.5vw, 1.85rem);
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

/* ==========================================================================
   B2B COLLABORATION ARCHITECTURE (Clean Editorial Panels)
   ========================================================================== */

.cs-collab-panel {
  border-radius: var(--cs-radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.cs-collab-panel:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-interactive);
  transform: translateY(-2px);
}

.cs-collab-badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: var(--cs-radius-sm);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(200, 178, 130, 0.08);
  color: var(--cs-champagne-light);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   PRODUCTION WORKFLOW (Technical Sequence Grid)
   ========================================================================== */

.cs-flow-col {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.cs-flow-col:last-child {
  border-bottom: none;
}

/* Tablet: 2-column grid dividers */
@media (min-width: 768px) and (max-width: 1023px) {
  .cs-flow-col {
    padding: 2rem 1.5rem;
    border-bottom: none;
  }
  .cs-flow-col:nth-child(odd) {
    border-right: 1px solid var(--border-subtle);
  }
  .cs-flow-col:nth-child(even) {
    border-right: none;
  }
  .cs-flow-col:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* Desktop: 4-column linear dividers */
@media (min-width: 1024px) {
  .cs-flow-col {
    padding: 2.25rem 1.75rem;
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
  }
  .cs-flow-col:last-child {
    border-right: none;
  }
}

.cs-flow-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--cs-champagne);
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   BESPOKE BRIEF FORM
   ========================================================================== */

.cs-form-wrap {
  border-radius: var(--cs-radius-md);
  background: linear-gradient(170deg, #17171C 0%, #111114 100%);
  border: 1px solid var(--border-interactive);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(200, 178, 130, 0.05);
}

.cs-input {
  width: 100%;
  background-color: var(--bg-section-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--cs-radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: all 0.25s ease;
}

.cs-input:focus {
  outline: none;
  border-color: var(--gold-champagne);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(200, 178, 130, 0.15);
}

.cs-input::placeholder {
  color: #72706A;
}

.cs-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   PHASE 4 GLOBAL SUBPAGE & LAYOUT SPACING SYSTEM
   Harmonised across English & French service pages, retainers, and case studies
   ========================================================================== */

/* Breadcrumb Spacing & Baseline */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs, 0.5rem);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg, 1.5rem);
}

.breadcrumb-separator {
  color: var(--border-interactive);
}

/* Subpage Content Max-Width & Fluid Side Margins */
.subpage-container {
  max-width: 64rem; /* 1024px */
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

/* Subpage Section Gaps & Editorial Rhythm */
.subpage-section-gap {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* Deliverables & Specifications Cards */
.subpage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: all 0.3s ease;
}

.subpage-card:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-interactive);
}

/* Bottom Milestone CTA Block Spacing */
.subpage-cta-box {
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(200, 178, 130, 0.3);
  text-align: center;
  margin-top: var(--space-2xl, 3rem);
}

/* French Typography Spacing Adaptation (Avoid cramped line heights in longer FR phrasing) */
[lang="fr"] p,
[lang="fr"] li {
  line-height: 1.65;
}

/* Enhanced Logo Sizing (Header & Footer) */
.site-logo-img {
  height: clamp(62px, 6.5vw, 86px) !important;
  max-height: 92px !important;
  width: auto !important;
  object-fit: contain;
  transition: transform 0.25s ease, height 0.25s ease;
}

#main-header.scrolled .site-logo-img {
  height: clamp(52px, 5.2vw, 70px) !important;
}

.footer-logo-img {
  height: clamp(60px, 6vw, 84px) !important;
  max-height: 88px !important;
  width: auto !important;
  object-fit: contain;
}

/* ==========================================================================
   PHASE 1 COMMERCIAL PACKS & BRIEF CLIENT JOURNEY STYLES
   ========================================================================== */

.pricing-showcase {
  position: relative;
  width: 100%;
}

.pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pack-card:hover {
  border-color: var(--border-interactive);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(200, 178, 130, 0.05);
}

.pack-card-featured {
  background: linear-gradient(175deg, #1D1D23 0%, #17171C 100%);
  border: 1px solid rgba(200, 178, 130, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(200, 178, 130, 0.08);
}

.pack-card-featured:hover {
  border-color: var(--gold-champagne);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.75), 0 0 40px rgba(200, 178, 130, 0.12);
}

/* Header & Badges */
.pack-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pack-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem; /* 11px */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(200, 178, 130, 0.08);
  border: 1px solid rgba(200, 178, 130, 0.2);
  border-radius: 0.375rem;
  padding: 0.25rem 0.55rem;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
}

.pack-pill {
  font-family: var(--font-mono);
  font-size: 0.625rem; /* 10px */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.pack-pill-gold {
  background: rgba(200, 178, 130, 0.15);
  border: 1px solid rgba(200, 178, 130, 0.35);
  color: var(--gold-300);
}

.pack-pill-emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
}

/* Titles & Subtitles */
.pack-title {
  font-family: var(--font-heading);
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pack-subtitle {
  font-family: var(--font-body);
  font-size: 0.8125rem; /* 13px */
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* Pricing Display */
.pack-pricing-block {
  margin: 1.25rem 0 1rem;
}

.pack-price-prefix {
  font-family: var(--font-body);
  font-size: 0.6875rem; /* 11px */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

.pack-price-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pack-price-unit {
  font-family: var(--font-body);
  font-size: 0.8125rem; /* 13px */
  color: var(--gold-400);
  font-weight: 500;
  margin-left: 0.35rem;
}

/* Audience summary */
.pack-audience-text {
  font-family: var(--font-body);
  font-size: 0.8125rem; /* 13px */
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 2.75rem;
}

/* Prestations List */
.pack-features-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pack-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.78125rem; /* 12.5px */
  color: var(--text-secondary);
  line-height: 1.5;
}

.pack-feature-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pack-feature-check {
  color: var(--gold-champagne);
  font-size: 0.875rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Conditions / Note Box */
.pack-terms-box {
  background: rgba(11, 11, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.625rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem; /* 12px */
  color: var(--text-muted);
  line-height: 1.5;
}

.pack-terms-box strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Brief Form Package Selector Tabs */
.pack-tab-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pack-tab-selector {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pack-tab-btn {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

.pack-tab-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-interactive);
}

.pack-tab-btn.active-pack-tab {
  background: rgba(200, 178, 130, 0.12);
  border-color: var(--gold-champagne);
  box-shadow: 0 0 20px rgba(200, 178, 130, 0.1);
}

.pack-tab-btn.active-pack-tab .pack-tab-title {
  color: var(--gold-champagne);
}

.input-error,
.border-red-500 {
  border-color: #EF4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
}

.form-field-error {
  color: #F87171 !important;
  font-size: 0.75rem;
  margin-top: 0.35rem;
  font-family: var(--font-mono, monospace);
  display: block;
}

.form-global-error {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(69, 10, 10, 0.4);
  color: #FCA5A5;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.35s ease-out forwards;
}

/* Core Layout & Flex Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-col { flex-direction: column; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
}

/* Portfolio Header Action Bar Spacing (Fix Image 2) */
.portfolio-header-cta {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  flex-wrap: wrap !important;
}

/* ==========================================================================
   ENHANCED BRIEF WIZARD & PREMIUM FORM UI (UX/UI OPTIMIZATION)
   ========================================================================== */

/* 1. Global Input & Form Controls */
.cs-form-wrap {
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(200, 178, 130, 0.22);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(200, 178, 130, 0.04);
  backdrop-filter: blur(12px);
  position: relative;
}

.cs-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E4E4E7;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.cs-label-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gold-400);
  background: rgba(200, 178, 130, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(200, 178, 130, 0.2);
}

.cs-input {
  width: 100%;
  background: rgba(11, 11, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.625rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #FFFFFF;
  transition: all 0.2s ease;
  outline: none;
}

.cs-input:focus {
  border-color: var(--gold-champagne);
  background: rgba(15, 15, 20, 0.98);
  box-shadow: 0 0 0 3px rgba(200, 178, 130, 0.18), 0 0 15px rgba(200, 178, 130, 0.08);
}

.cs-input::placeholder {
  color: #71717A;
  font-size: 0.8125rem;
}

select.cs-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C8B282'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  appearance: none;
  cursor: pointer;
}

select.cs-input option {
  background: #121216;
  color: #FFFFFF;
  padding: 0.5rem;
}

/* 2. Stepper Progress Header */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 0.5rem;
}

.stepper-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}

.stepper-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  background: #18181E;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #A1A1AA;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.stepper-meta {
  text-align: left;
}

.stepper-step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717A;
}

.stepper-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #D4D4D8;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.stepper-item.active .stepper-circle {
  background: var(--gold-champagne);
  border-color: var(--gold-champagne);
  color: #0B0B0E;
  box-shadow: 0 0 16px rgba(200, 178, 130, 0.35);
  transform: scale(1.05);
}

.stepper-item.active .stepper-label {
  color: #FFFFFF;
}

.stepper-item.completed .stepper-circle {
  background: rgba(200, 178, 130, 0.2);
  border-color: var(--gold-champagne);
  color: var(--gold-champagne);
}

.stepper-divider {
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.75rem;
  position: relative;
  transition: background 0.3s ease;
}

.stepper-divider.completed {
  background: rgba(200, 178, 130, 0.5);
}

@media (max-width: 639px) {
  .stepper-meta { display: none; }
  .stepper-circle { width: 2rem; height: 2rem; font-size: 0.75rem; }
  .stepper-divider { margin: 0 0.4rem; }
}

/* 3. Wizard Panes & Animation */
.wizard-step-pane {
  display: none;
  animation: stepFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-step-pane.active-step-pane {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4. Interactive Pill Selectors */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
}

.pill-option-btn {
  background: rgba(14, 14, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #D4D4D8;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  user-select: none;
}

.pill-option-btn:hover {
  background: rgba(24, 24, 30, 0.95);
  border-color: rgba(200, 178, 130, 0.35);
  color: #FFFFFF;
}

.pill-option-btn.selected {
  background: rgba(200, 178, 130, 0.14);
  border-color: var(--gold-champagne);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(200, 178, 130, 0.15);
}

/* 5. Selected Pack Visual Card Redesign */
.pack-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .pack-tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pack-tier-card {
  position: relative;
  background: rgba(14, 14, 18, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  padding: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pack-tier-card:hover {
  border-color: rgba(200, 178, 130, 0.35);
  background: rgba(20, 20, 26, 0.95);
  transform: translateY(-2px);
}

.pack-tier-card.selected-tier {
  background: rgba(200, 178, 130, 0.09);
  border-color: var(--gold-champagne);
  box-shadow: 0 0 25px rgba(200, 178, 130, 0.12), inset 0 0 0 1px rgba(200, 178, 130, 0.3);
}

.tier-radio-indicator {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pack-tier-card.selected-tier .tier-radio-indicator {
  border-color: var(--gold-champagne);
  background: var(--gold-champagne);
}

.pack-tier-card.selected-tier .tier-radio-indicator::after {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #0B0B0E;
}

/* 6. Live Summary Review Card (Step 3) */
.wizard-summary-box {
  background: rgba(11, 11, 14, 0.95);
  border: 1px solid rgba(200, 178, 130, 0.3);
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* 7. Collapsible Conditions & Terms Accordion */
.terms-collapsible {
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  margin-top: 1.5rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.terms-collapsible summary {
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #A1A1AA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.terms-collapsible summary::-webkit-details-marker {
  display: none;
}

.terms-collapsible summary:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.02);
}

.terms-collapsible[open] {
  border-color: rgba(200, 178, 130, 0.25);
}

.terms-collapsible[open] summary {
  color: var(--gold-champagne);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terms-body {
  padding: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #A1A1AA;
}

/* --------------------------------------------------------------------------
   LIGHTBOX / POPUP VIEWER (PORTFOLIO & REFERENCES)
   -------------------------------------------------------------------------- */
body.lightbox-open {
  overflow: hidden !important;
  touch-action: none;
}

.project-card {
  cursor: pointer;
}

/* Floating Zoom Indicator on Hover */
.project-card::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(14, 14, 16, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23D4AF37' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v6m3-3H7'/%3E%3C/svg%3E") no-repeat center center;
  background-size: 1.25rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.project-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Overlay Container */
.monogram-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.monogram-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.monogram-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.monogram-lightbox-dialog {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  max-height: 94vh;
  background: #0E0E10;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.12);
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.monogram-lightbox.is-open .monogram-lightbox-dialog {
  transform: scale(1) translateY(0);
}

/* Lightbox Header */
.monogram-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 22, 0.95);
  flex-shrink: 0;
}

.monogram-lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.monogram-lightbox-category {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  font-family: monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.monogram-lightbox-title {
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monogram-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Lightbox Zoom Controls */
.monogram-lightbox-zoom-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
}

.monogram-lightbox-zoom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: #D4D4D8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.monogram-lightbox-zoom-btn:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.2);
  color: #D4AF37;
}

.monogram-lightbox-zoom-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.monogram-lightbox-zoom-val {
  font-family: monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #A1A1AA;
  background: transparent;
  border: none;
  padding: 0 0.45rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.monogram-lightbox-zoom-val:hover {
  color: #D4AF37;
}

.monogram-lightbox-zoom-val.is-active {
  color: #D4AF37;
  font-weight: 700;
}

.monogram-lightbox-counter {
  font-family: monospace;
  font-size: 0.75rem;
  color: #A1A1AA;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.monogram-lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.monogram-lightbox-close:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #0E0E10;
  transform: rotate(90deg);
}

/* Lightbox Stage (Image & Controls) */
.monogram-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at center, rgba(25, 25, 30, 0.6) 0%, rgba(10, 10, 14, 0.95) 100%);
  min-height: 320px;
  max-height: 66vh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  flex: 1 1 auto;
}

.monogram-lightbox-img-wrap {
  position: relative;
  max-height: 60vh;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.monogram-lightbox-img-wrap.is-zoomed {
  cursor: grab;
}

.monogram-lightbox-img {
  max-height: 58vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: center center;
  cursor: zoom-in;
}

.monogram-lightbox-img.is-loading {
  opacity: 0.2;
}

/* Nav Buttons */
.monogram-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #D4AF37;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.monogram-lightbox-nav:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #0E0E10;
  transform: translateY(-50%) scale(1.08);
}

.monogram-lightbox-prev {
  left: 1.5rem;
}

.monogram-lightbox-next {
  right: 1.5rem;
}

/* Lightbox Footer Caption */
.monogram-lightbox-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 22, 0.95);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .monogram-lightbox-footer {
    flex-direction: row;
    align-items: center;
  }
}

.monogram-lightbox-desc {
  font-size: 0.8125rem;
  color: #D4D4D8;
  line-height: 1.5;
  max-width: 750px;
  font-weight: 300;
}

.monogram-lightbox-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #D4AF37;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  transition: all 0.2s ease;
  text-decoration: none;
}

.monogram-lightbox-cta:hover {
  background: #D4AF37;
  color: #0E0E10;
}

@media (max-width: 640px) {
  .monogram-lightbox {
    padding: 0.5rem;
  }
  .monogram-lightbox-dialog {
    max-height: 96vh;
  }
  .monogram-lightbox-stage {
    padding: 0.75rem;
    min-height: 240px;
    max-height: 52vh;
  }
  .monogram-lightbox-img {
    max-height: 48vh;
  }
  .monogram-lightbox-prev {
    left: 0.5rem;
  }
  .monogram-lightbox-next {
    right: 0.5rem;
  }
  .monogram-lightbox-nav {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* ==========================================================================
   DELIVERABLE ICONS & ZERO-OVERFLOW SAFE CONTAINER
   ========================================================================== */
.deliverable-icon-box {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  border-radius: 14px;
  background-color: var(--bg-obsidian-900, #111114);
  border: 1px solid rgba(200, 178, 130, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.deliverable-icon-img {
  width: 38px !important;
  height: 38px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }

/* --------------------------------------------------------------------------
   Hero Interactive Case Study Carousel & Hover Dynamics
   -------------------------------------------------------------------------- */
#hero-showcase {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
}

#hero-showcase:hover {
  transform: translateY(-3px) scale(1.012);
  border-color: rgba(212, 175, 55, 0.8) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.35) !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-slide img {
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

#hero-showcase:hover .hero-slide.opacity-100 img {
  transform: scale(1.045);
}

.hero-gradient-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(to top, 
    #050508 0%, 
    rgba(5, 5, 8, 0.95) 25%, 
    rgba(5, 5, 8, 0.65) 55%, 
    rgba(5, 5, 8, 0.2) 80%, 
    transparent 100%);
  pointer-events: none;
}

.hero-dot {
  cursor: pointer;
  height: 2.5px;
  flex: 1 1 0%;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.22);
  transition: background-color 0.3s ease, height 0.2s ease;
}

.hero-dot.active {
  background-color: #D4AF37 !important;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.hero-dot:hover {
  background-color: #F3E5AB !important;
  height: 3.5px;
}



