/* ==========================================================================
   COFINEX — Digital Asset Technology & Ecosystem Platform
   Shared Design System & Global Styles
   ========================================================================== */

/* --- GOOGLE FONTS --------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,300..900&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..800;1,6..96,400..800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;1,400&display=swap");

/* --- TOKENS --------------------------------------------------------------- */
:root {
  /* Cofinex High-Contrast Dark Tech Tokens */
  --color-background: #080a10;
  --color-background-secondary: #101522;
  --color-surface: #151c2b;
  --color-primary: #00e7eb;
  --color-primary-light: #1ac5c8;
  --color-accent: #16a0a2;
  --color-text-primary: #f5f7ff;
  --color-text-secondary: #a5aec2;
  --color-border: rgba(180, 195, 225, 0.18);

  /* Semantic UI Mapping */
  --paper: var(--color-background);
  --ink: var(--color-text-primary);
  --mute: var(--color-text-secondary);
  --line: var(--color-border);
  --surface: var(--color-surface);
  --surface-alt: var(--color-background-secondary);

  /* Protocol Accent Palette */
  --cobalt: #4169ff; /* Ethereum & L2 Primary */
  --marigold: #f5a623; /* Solana & High Speed */
  --orchid: #8b5cf6; /* Polygon & Smart Contracts */
  --lagoon: #10b981; /* Verification & Hyperledger */
  --plum: #3b1f3a;
  --poppy: #e46d2f;
  --indigo: #4f46e5;
  --chalk: #e2e8f0;

  /* Typography */
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-cond: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Spacing & Transitions */
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Dynamic Active Colors */
  --accent: var(--color-primary);
  --cc: var(--color-primary);
  --sbg: var(--color-background);
  --sfg: var(--color-text-primary);
  --header-h: 72px;
}

/* --- RESET & FOUNDATION -------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Managed by Lenis */
}

body {
  font-family: var(--f-sans);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- TYPOGRAPHY UTILITIES ------------------------------------------------- */
.f-cond {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
}

.f-display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
}

.f-sans {
  font-family: var(--f-sans);
  line-height: 1.6;
}

.f-mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

/* Line mask reveal helper */
.mask-line {
  display: block;
  overflow: hidden;
}

.mask-line > span {
  display: inline-block;
  will-change: transform;
}

/* --- CUSTOM CURSOR -------------------------------------------------------- */
.hl-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hl-cursor-dot {
  width: 5px;
  height: 5px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 10px var(--color-primary);
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hl-cursor-ring {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(117, 149, 255, 0.4);
  border-radius: 50%;
  position: absolute;
  background-color: transparent;
  transition:
    width 0.32s var(--ease),
    height 0.32s var(--ease),
    border-color 0.25s ease,
    background 0.32s var(--ease),
    box-shadow 0.32s var(--ease),
    backdrop-filter 0.32s var(--ease);
}

.hl-cursor-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #ffffff;
  position: absolute;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

/* 1. Liquid Blob Cursor in Hero & Video sections */
.hl-cursor.is-hero-blob .hl-cursor-ring {
  width: 84px;
  height: 84px;
  border: 1.5px solid rgba(0, 242, 254, 0.55);
  background: radial-gradient(
    circle,
    rgba(0, 242, 254, 0.22) 0%,
    rgba(65, 105, 255, 0.12) 55%,
    transparent 100%
  );
  box-shadow:
    0 0 35px rgba(0, 242, 254, 0.35),
    inset 0 0 18px rgba(0, 242, 254, 0.2);
  backdrop-filter: blur(2px);
}

.hl-cursor.is-hero-blob .hl-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #00f2fe;
  box-shadow:
    0 0 16px #00f2fe,
    0 0 6px #ffffff;
}

/* 2. Contextual Visual Card mode */
.hl-cursor.is-card-mode:not(.is-hero-blob) .hl-cursor-ring {
  width: 60px;
  height: 60px;
  border-color: var(--cc, var(--color-primary-light));
  background-color: rgba(21, 28, 43, 0.65);
  box-shadow: 0 0 22px var(--cc, rgba(65, 105, 255, 0.25));
  backdrop-filter: blur(4px);
}

.hl-cursor.is-card-mode:not(.is-hero-blob) .hl-cursor-dot {
  background-color: var(--cc, var(--color-primary-light));
  box-shadow: 0 0 12px var(--cc, var(--color-primary));
}

/* 3. Hovering interactive elements */
.hl-cursor.is-hovering:not(.is-hero-blob) .hl-cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--color-primary-light);
  background-color: rgba(65, 105, 255, 0.16);
}

.hl-cursor.is-hero-blob.is-hovering .hl-cursor-ring {
  width: 96px;
  height: 96px;
  border-color: rgba(0, 242, 254, 0.85);
  box-shadow:
    0 0 45px rgba(0, 242, 254, 0.5),
    inset 0 0 22px rgba(0, 242, 254, 0.3);
}

/* 4. Labels & Explicit Color tags */
.hl-cursor.has-label .hl-cursor-ring {
  width: 72px;
  height: 72px;
  border-color: var(--cc, var(--color-primary));
  background-color: rgba(21, 28, 43, 0.85);
  box-shadow: 0 0 24px var(--cc, rgba(65, 105, 255, 0.35));
  backdrop-filter: blur(5px);
}

.hl-cursor.has-label .hl-cursor-label {
  opacity: 1;
  transform: scale(1);
}

.hl-cursor.has-color .hl-cursor-ring {
  border-color: var(--cc);
  box-shadow: 0 0 24px var(--cc);
}

.hl-cursor.has-color .hl-cursor-label {
  color: var(--color-text-primary);
}

@media (pointer: coarse) {
  .hl-cursor {
    display: none !important;
  }
}

/* --- LOADER (5 Protocol Bands + Counter) ---------------------------------- */
.hl-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  pointer-events: none;
  overflow: hidden;
}

.loader-band {
  flex: 1;
  height: 100%;
  transform-origin: bottom center;
  will-change: transform;
}

.loader-band:nth-child(1) {
  background-color: var(--color-primary);
}
.loader-band:nth-child(2) {
  background-color: var(--marigold);
}
.loader-band:nth-child(3) {
  background-color: var(--color-accent);
}
.loader-band:nth-child(4) {
  background-color: var(--lagoon);
}
.loader-band:nth-child(5) {
  background-color: var(--color-background-secondary);
}

.loader-counter-wrap {
  position: absolute;
  bottom: clamp(32px, 8vw, 80px);
  right: clamp(24px, 6vw, 80px);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #ffffff;
  pointer-events: none;
}

.loader-counter {
  font-family: var(--f-mono);
  font-size: clamp(36px, 8vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.loader-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-primary-light);
  margin-top: 6px;
}

/* --- NAVIGATION ----------------------------------------------------------- */
.hl-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
  color: var(--color-text-primary);
  border-bottom: 1px solid transparent;
}

.hl-nav.scrolled,
.hl-nav.page-solid {
  background-color: rgba(8, 10, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.nav-brand .brand-logo-img {
  display: block;
  height: clamp(24px, 2.5vw, 30px);
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-brand:hover .brand-logo-img {
  opacity: 0.88;
  transform: scale(1.02);
}

.nav-brand .brand-hue {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.nav-brand .brand-line {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 26px;
  color: var(--color-primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  list-style: none;
}

.nav-link {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  color: var(--color-text-secondary);
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
}

.nav-action-btn {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  background-color: rgba(21, 28, 43, 0.4);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.nav-action-btn:hover {
  background-color: rgba(65, 105, 255, 0.15);
  border-color: var(--color-primary);
}

.action-count {
  font-family: var(--f-mono);
  font-size: 10px;
  background-color: var(--color-primary);
  color: #ffffff;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.25s ease;
}

/* --- HERO SECTION (100svh, Pinned Arch Scrub) ----------------------------- */
.hl-hero-pin-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: #040508;
}

.hl-hero-pin-wrapper.bg-paper {
  background-color: var(--color-background);
}

.hero-media-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: clip-path, transform;
  overflow: hidden;
  z-index: 1;
}

/* Subtle dark navy/black gradient overlay above video, below text and buttons */
.hero-media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    /* Layer 1: Focused 48–52% darkness directly behind main headline */
    radial-gradient(
      ellipse 80% 65% at 28% 48%,
      rgba(4, 6, 14, 0.52) 0%,
      rgba(5, 8, 18, 0.44) 45%,
      rgba(6, 10, 22, 0.20) 75%,
      transparent 100%
    ),
    /* Layer 2: Deepened bottom-left grounding vignette for paragraph */
    radial-gradient(
      ellipse 65% 55% at 16% 92%,
      rgba(3, 5, 12, 0.65) 0%,
      rgba(4, 7, 16, 0.42) 55%,
      transparent 100%
    ),
    /* Layer 3: Vertical linear gradient: soft at top, gently weighted toward bottom */
    linear-gradient(
      180deg,
      rgba(4, 6, 14, 0.48) 0%,
      rgba(4, 6, 14, 0.22) 22%,
      rgba(5, 8, 18, 0.36) 50%,
      rgba(4, 6, 14, 0.56) 78%,
      rgba(3, 5, 10, 0.78) 100%
    ),
    /* Layer 4: Subtle directional wash from left text column to right */
    linear-gradient(
      90deg,
      rgba(4, 6, 14, 0.50) 0%,
      rgba(4, 6, 14, 0.30) 48%,
      rgba(4, 6, 14, 0.08) 82%,
      transparent 100%
    );
}

.hero-video,
.hero-media-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

/* Fallback node block if video is loading / absent */
.dye-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  background: radial-gradient(circle at center, #151c2b 0%, #080a10 100%);
  border: 1px solid var(--color-border);
  z-index: 0;
  padding: 24px;
  text-align: center;
}

.dye-fallback.hidden {
  display: none !important;
}

.dye-fallback-mark {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(32px, 8vw, 84px);
  line-height: 0.9;
  opacity: 0.25;
  color: var(--color-primary-light);
}

.hero-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(24px, 4vh, 48px);
  pointer-events: none;
}

.hero-eyebrow {
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 231, 235, 0.25);
}

.hero-headline-wrap {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title-line {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(52px, 14vw, 172px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  will-change: transform;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.75),
    0 1px 3px rgba(0, 0, 0, 0.85);
}

.hero-title-line.line-italic {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
  font-size: clamp(48px, 13vw, 160px);
  line-height: 0.94;
  margin: clamp(-6px, -1vw, -16px) 0;
  text-transform: none;
  text-shadow:
    0 0 35px rgba(0, 231, 235, 0.5),
    0 2px 12px rgba(0, 0, 0, 0.75);
}

.hero-title-line .char {
  display: inline-block;
  will-change: transform;
}

.hero-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  pointer-events: auto;
}

.hero-blurb {
  max-width: min(500px, 52vw);
  font-family: var(--f-sans);
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(245, 247, 255, 0.92);
  line-height: 1.65;
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.75),
    0 2px 20px rgba(4, 6, 12, 0.85);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: 0 4px 24px rgba(65, 105, 255, 0.4);
  transition:
    transform 0.3s var(--ease),
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-pill-white:hover {
  transform: scale(1.04);
  background-color: var(--color-primary-light);
  box-shadow: 0 6px 30px rgba(65, 105, 255, 0.6);
}

.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background-color: var(--color-primary);
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* Close-up Video Panes rising during scroll */
.hero-closeup-pane {
  position: absolute;
  top: 50%;
  width: clamp(160px, 22vw, 320px);
  aspect-ratio: 3 / 4;
  z-index: 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(120%) rotate(0deg);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-closeup-pane.left-pane {
  left: clamp(16px, 5vw, 72px);
}

.hero-closeup-pane.right-pane {
  right: clamp(16px, 5vw, 72px);
}

.hero-arch-caption {
  position: absolute;
  bottom: clamp(16px, 4vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--color-text-primary);
  font-family: var(--f-mono);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.16em;
}

/* --- CONTINUOUS TICKER ---------------------------------------------------- */
.hl-ticker-wrap {
  width: 100%;
  background-color: var(--color-background-secondary);
  color: var(--color-text-primary);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  user-select: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ticker-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  will-change: transform;
  animation: tickerAnim 32s linear infinite;
}

.ticker-item {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 24px;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
}

@keyframes tickerAnim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --- SECTION HEADINGS ----------------------------------------------------- */
.section-header {
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-eyebrow {
  color: var(--color-primary-light);
  margin-bottom: 12px;
  letter-spacing: 0.16em;
}

.section-title {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.section-title .italic-word {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--color-primary-light);
}

/* --- ARCHED GALLERY (Six Pillars) ----------------------------------------- */
.hl-arches-section {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  background-color: var(--color-background);
}

.arches-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
  align-items: start;
}

.arch-card {
  display: flex;
  flex-direction: column;
  position: relative;
  will-change: transform;
}

.arch-frame {
  width: 100%;
  aspect-ratio: 1 / 2.2;
  border-radius: 200px 200px 6px 6px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.4);
  will-change: transform;
  transition: transform 0.6s var(--ease);
}

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

.arch-caption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.arch-title {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.arch-count {
  color: var(--color-text-secondary);
}

/* --- 3D CONCAVE WARDROBE -> PROTOCOL STACK CYLINDER ----------------------- */
.hl-wardrobe-section {
  padding: clamp(60px, 9vw, 120px) 0;
  background-color: var(--color-background);
  overflow: hidden;
  position: relative;
}

.wardrobe-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 var(--gutter);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.tab-btn {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background-color: rgba(21, 28, 43, 0.4);
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.tab-btn .tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-text-primary);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(65, 105, 255, 0.5);
}

.wardrobe-viewport {
  width: 100%;
  height: clamp(480px, 65vh, 680px);
  perspective: 1200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.wardrobe-viewport:active {
  cursor: grabbing;
}

.wardrobe-ring {
  width: clamp(200px, 24vw, 300px);
  height: clamp(320px, 46vh, 460px);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.wardrobe-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  transition:
    filter 0.2s ease,
    border-color 0.2s ease;
}

.wardrobe-card:hover {
  border-color: var(--color-primary-light);
}

.wardrobe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wardrobe-card-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 16, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

.wardrobe-caption-box {
  max-width: 580px;
  margin: clamp(24px, 4vw, 48px) auto 0;
  padding: 0 var(--gutter);
  text-align: center;
  min-height: 110px;
}

.wardrobe-caption-eyebrow {
  color: var(--color-primary-light);
  margin-bottom: 4px;
}

.wardrobe-caption-title {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text-primary);
}

.wardrobe-caption-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.wardrobe-caption-price {
  display: none !important;
}

/* --- HORIZONTAL STYLE RAILS ----------------------------------------------- */
.hl-rails-section {
  padding: clamp(60px, 9vw, 120px) 0;
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border);
}

.rail-group {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.rail-header {
  padding: 0 var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rail-category-title {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  text-transform: uppercase;
}

.rail-track-wrap {
  width: 100%;
  overflow-x: hidden;
  cursor: grab;
  position: relative;
  user-select: none;
}

.rail-track-wrap:active {
  cursor: grabbing;
}

.rail-track {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}

.rail-card {
  width: clamp(240px, 24vw, 340px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.rail-card-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
}

.rail-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.rail-card:hover .rail-card-frame img {
  transform: scale(1.06);
}

.rail-card-info {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-card-name {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.rail-card-sub {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.rail-card-price {
  display: none !important;
}

/* --- LOOKBOOK -> CASE STUDIES (Pinned Horizontal Scroll) ------------------- */
.hl-lookbook-pin-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #04060a;
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.6s var(--ease);
}

.lookbook-horizontal-track {
  display: flex;
  height: 100%;
  width: 600vw;
  will-change: transform;
}

.lookbook-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(40px, 8vh, 90px) var(--gutter);
  position: relative;
  overflow: hidden;
}

.lookbook-content {
  max-width: min(540px, 46vw);
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.lookbook-num {
  font-family: var(--f-mono);
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.9;
  font-weight: 400;
  opacity: 0.2;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.lookbook-subtitle {
  color: var(--color-primary-light);
  margin-bottom: 8px;
}

.lookbook-title {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 20px;
}

.lookbook-copy {
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.lookbook-frame-wrap {
  width: min(45vw, 560px);
  height: 75vh;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.lookbook-frame-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  will-change: transform;
}

/* Thin Slide Completion Progress Bar */
.lookbook-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.08);
  z-index: 20;
  pointer-events: none;
}

.lookbook-progress-bar {
  width: 100%;
  height: 100%;
  background-color: var(--color-primary, #4169FF);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  transition: background-color 0.4s var(--ease);
}

/* --- COLOUR STORY -> ECOSYSTEM & NETWORK MATRIX --------------------------- */
.hl-colour-story-section {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  background-color: var(--sbg);
  color: var(--sfg);
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease);
  position: relative;
}

.colour-sticky-header {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  z-index: 10;
  margin-bottom: clamp(40px, 6vw, 90px);
  pointer-events: none;
}

.colour-name-viewport {
  height: clamp(64px, 12vw, 130px);
  overflow: hidden;
  position: relative;
}

.colour-name-roll {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(64px, 12vw, 130px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.02em;
  display: block;
  will-change: transform;
}

.colour-recipe-sub {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.85;
}

.swatches-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 14vw, 180px);
}

.swatch-block {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 56px);
  background-color: rgba(21, 28, 43, 0.4);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.swatch-media {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-surface);
  position: relative;
}

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

.swatch-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.swatch-ref {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.swatch-notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
  margin-top: 12px;
  opacity: 0.9;
}

.swatch-note-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.swatch-note-item span:first-child {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* --- SHOP SECTION -> PRODUCTION SOLUTIONS SUITE --------------------------- */
.hl-shop-section {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  background-color: var(--color-background);
}

.shop-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 36px;
}

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

.shop-meta-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shop-sort-select {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  color: var(--color-text-primary);
  cursor: pointer;
}

.shop-count-toggle {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.shop-count-toggle:hover {
  color: var(--color-primary-light);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  position: relative;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  will-change: transform, opacity;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(65, 105, 255, 0.2);
}

.product-card-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-background-secondary);
  position: relative;
  margin-bottom: 14px;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.4s var(--ease),
    transform 0.6s var(--ease);
}

.product-card-media .view-primary {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card-media .view-secondary {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  object-position: center 20%;
}

.product-card:hover .product-card-media .view-secondary {
  opacity: 1;
}

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

.product-dye-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-surface);
  box-shadow: 0 0 10px currentColor;
}

.product-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-card-name {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text-primary);
}

.product-card-fabric {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.product-card-price,
.product-price-row {
  display: none !important;
}

/* --- FILM BAND -> PROTOCOL ENGINEERING REEL ------------------------------- */
.hl-film-band-section {
  padding: clamp(60px, 9vw, 120px) 0;
  background-color: var(--color-background);
  overflow: hidden;
}

.film-band-frame {
  width: 100%;
  height: clamp(380px, 70vh, 720px);
  position: relative;
  overflow: hidden;
  clip-path: inset(0 6% round 28px);
  will-change: clip-path;
}

.film-band-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  will-change: transform;
}

/* --- ATELIER -> COMPANY PROVENANCE & ACHIEVEMENTS ------------------------- */
.hl-atelier-section {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  background-color: var(--color-background-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.atelier-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.atelier-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
}

.atelier-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  will-change: transform;
}

.atelier-content {
  display: flex;
  flex-direction: column;
}

.atelier-quote {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-style: italic;
  line-height: 1.2;
  margin-bottom: clamp(32px, 4vw, 56px);
  color: var(--color-text-primary);
}

.atelier-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--f-mono);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-primary-light);
}

.stat-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

/* --- FAQ SECTION ---------------------------------------------------------- */
.hl-faq-section {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  background-color: var(--color-background);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 6vw, 80px);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-surface);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--color-primary);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  padding: 0 24px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* --- CONTACT & DISCOVERY CONSULTATION SECTION --------------------------- */
.hl-contact-section {
  padding: clamp(60px, 10vw, 120px) var(--gutter);
  background-color: var(--color-background-secondary);
  border-top: 1px solid var(--color-border);
}

.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 64px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 60px);
}

.contact-info-col h3 {
  font-family: var(--f-cond);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
  line-height: 1.05;
  margin: 12px 0 16px;
}

.contact-info-col p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-direct-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--color-text-primary);
}

.contact-direct-item span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.contact-field-group label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.contact-input,
.contact-select,
.contact-textarea {
  background: rgba(8, 10, 16, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text-primary);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(65, 105, 255, 0.2);
}

.contact-submit-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  margin-top: 8px;
}

.contact-submit-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(65, 105, 255, 0.35);
}

@media (max-width: 900px) {
  .contact-card-wrap {
    grid-template-columns: 1fr;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER --------------------------------------------------------------- */
.hl-footer {
  background-color: #040609;
  color: var(--color-text-primary);
  padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 1px solid var(--color-border);
}

.footer-wordmark {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(64px, 16vw, 240px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(65, 105, 255, 0.08);
  user-select: none;
  margin-bottom: clamp(32px, 6vw, 64px);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.footer-col-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-primary-light);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-text-primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.newsletter-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--f-mono);
  font-size: 13px;
  width: 100%;
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-submit {
  color: var(--color-primary-light);
  font-family: var(--f-mono);
  font-size: 13px;
  padding: 0 8px;
  font-weight: 500;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--color-text-secondary);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.footer-back-to-top:hover {
  color: #ffffff;
  border-color: var(--color-primary);
  background: rgba(65, 105, 255, 0.12);
  transform: translateY(-2px);
}

.footer-back-to-top .back-to-top-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.footer-back-to-top:hover .back-to-top-arrow {
  transform: translateY(-2px);
}

/* --- OVERLAYS: SEARCH MODAL ----------------------------------------------- */
.hl-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background-color: rgba(8, 10, 16, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(24px, 4vw, 56px) var(--gutter);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.hl-search-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.search-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.search-input-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-primary);
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
  padding-bottom: 12px;
}

.search-input-field:focus {
  outline: none;
}

.search-results-area {
  flex: 1;
  overflow-y: auto;
  padding-top: 24px;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- OVERLAYS: DRAWER (CONSULTATION SHORTLIST) ---------------------------- */
.hl-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 6, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 7000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hl-drawer-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hl-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100%;
  background-color: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 7001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}

.hl-drawer.is-active {
  transform: translateX(0);
}

/* Mobile Navigation Drawer */
.mobile-menu-drawer {
  width: min(380px, 92vw);
  background-color: #0c0f17;
}

.mobile-nav-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--color-primary-light);
  transform: translateX(8px);
}

.mobile-nav-link span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--color-primary-light);
  margin-right: 14px;
  letter-spacing: 0.1em;
}

.mobile-nav-footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* Section scroll targets offset below fixed navbar */
.hl-arches-section,
.hl-wardrobe-section,
.hl-rails-section,
.hl-lookbook-pin-container,
.hl-colour-story-section,
.hl-shop-section,
.hl-film-band-section,
.hl-atelier-section,
.hl-faq-section,
.hl-contact-section {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.drawer-header {
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}

.drawer-tabs {
  display: flex;
  gap: 20px;
}

.drawer-tab-btn {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  position: relative;
  transition: color 0.2s ease;
}

.drawer-tab-btn.active {
  color: var(--color-text-primary);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-item-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.drawer-item-thumb {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-background-secondary);
  border: 1px solid var(--color-border);
}

.drawer-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-item-name {
  font-family: var(--f-cond);
  font-stretch: 62%;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.drawer-item-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--color-text-secondary);
}

.drawer-item-price {
  display: none !important;
}

.drawer-qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-top: 6px;
}

.drawer-qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
}

.drawer-qty-val {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 0 6px;
}

.drawer-item-remove {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--color-text-secondary);
  text-decoration: underline;
}

.drawer-footer {
  padding: 24px var(--gutter);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.drawer-checkout-btn {
  width: 100%;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 16px;
  border-radius: 30px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 4px 20px rgba(65, 105, 255, 0.4);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.drawer-checkout-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* --- OVERLAYS: TECHNICAL DOSSIER / QUICK VIEW MODAL ----------------------- */
.hl-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 6, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  transition: opacity 0.3s ease;
}

.hl-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hl-modal {
  width: min(940px, 100%);
  max-height: 90vh;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease);
}

.hl-modal-backdrop.is-active .hl-modal {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(21, 28, 43, 0.85);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-text-primary);
  cursor: pointer;
}

.modal-media-col {
  aspect-ratio: 3 / 4;
  background-color: var(--color-background-secondary);
  position: relative;
  overflow: hidden;
}

.modal-media-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- TOAST NOTIFICATION --------------------------------------------------- */
.hl-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 30px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s ease;
  pointer-events: none;
}

.hl-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px currentColor;
}

/* --- RESPONSIVE ADAPTATIONS (<= 700px) ------------------------------------- */
@media (max-width: 700px) {
  :root {
    --header-h: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-menu-toggle {
    display: flex;
  }

  .hero-media-wrap::after {
    background:
      /* Centered radial gradient for mobile viewport */
      radial-gradient(
        ellipse 95% 72% at 50% 45%,
        rgba(4, 6, 14, 0.54) 0%,
        rgba(5, 8, 18, 0.46) 50%,
        rgba(6, 10, 22, 0.22) 80%,
        transparent 100%
      ),
      /* Vertical linear gradient for full mobile height legibility */
      linear-gradient(
        180deg,
        rgba(4, 6, 14, 0.52) 0%,
        rgba(4, 6, 14, 0.25) 20%,
        rgba(5, 8, 18, 0.42) 50%,
        rgba(4, 6, 14, 0.65) 75%,
        rgba(3, 5, 10, 0.82) 100%
      );
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-blurb {
    max-width: 100%;
  }

  .hero-controls {
    width: 100%;
    justify-content: space-between;
  }

  .arches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .arch-frame {
    aspect-ratio: 1 / 1.6;
    border-radius: 120px 120px 6px 6px;
  }

  .wardrobe-viewport {
    height: 440px;
  }

  .wardrobe-ring {
    width: 190px;
    height: 300px;
  }

  .hl-lookbook-pin-container {
    height: auto;
    overflow: visible;
  }

  .lookbook-horizontal-track {
    width: 100%;
    height: auto;
    flex-direction: column;
    transform: none !important;
  }

  .lookbook-panel {
    width: 100%;
    height: auto;
    min-height: 80vh;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 32px;
    padding: 60px var(--gutter);
  }

  .lookbook-content {
    max-width: 100%;
  }

  .lookbook-frame-wrap {
    width: 100%;
    height: 50vh;
    clip-path: none !important;
  }

  .swatch-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .atelier-grid {
    grid-template-columns: 1fr;
  }

  .atelier-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hl-drawer {
    width: 100vw;
  }

  .hl-modal {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }

  .modal-media-col {
    aspect-ratio: 4 / 3;
  }
}

/* --- ACCESSIBILITY: PREFERS REDUCED MOTION --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hl-loader {
    display: none !important;
  }

  .hero-media-wrap {
    clip-path: none !important;
    transform: none !important;
  }

  .hero-closeup-pane {
    display: none !important;
  }

  .ticker-track {
    animation: none !important;
  }

  .arch-frame {
    clip-path: none !important;
  }

  .arch-frame img {
    transform: none !important;
  }

  .lookbook-frame-wrap {
    clip-path: none !important;
  }

  .lookbook-frame-wrap img {
    transform: none !important;
  }
}
