:root {
  --indigo-950: #070c1b;
  --indigo-900: #0e1730;
  --indigo-800: #18254d;
  --indigo-700: #253870;
  --indigo-100: #e9edf7;
  --chalk: #fafaf7;
  --tint: #f1f3f8;
  --white: #ffffff;
  --accent: #e04f2e;
  --accent-hover: #c53e20;
  --accent-glow: rgba(224, 79, 46, 0.24);
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-light: #f8fafc;
  --ink-light-muted: #b8c4dc;
  --border-light: rgba(15, 23, 42, 0.12);
  --border-dark: rgba(255, 255, 255, 0.14);
  --error: #dc2626;
  --radius: 14px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-ta: 'Noto Sans Tamil', 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--indigo-950);
  overflow-x: clip;
}

html[lang="ta"] body,
html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3 {
  font-family: var(--font-ta);
}

html[lang="ta"] body {
  line-height: 1.75;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

svg {
  display: block;
  max-width: 100%;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 16px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

/* Floating Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-block: 10px;
  pointer-events: none;
}

.header-wrap {
  pointer-events: auto;
}

.header-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(7, 12, 27, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink-light);
  box-shadow: 0 12px 32px rgba(7, 12, 27, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--indigo-900);
  border: 1.5px solid var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.brand-mark-sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
}

.brand-loc {
  font-size: 11px;
  color: var(--ink-light-muted);
}

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

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-light-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  min-width: 42px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
  background: var(--accent);
  color: var(--white);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-bar {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.primary-nav {
  display: none;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
}

.primary-nav.is-open {
  display: block;
}

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

.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Focus rings */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(224, 79, 46, 0.34);
}

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

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-dark {
  background: var(--indigo-950);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--indigo-800);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--indigo-950);
  color: var(--ink-light);
  padding-block: 36px 56px;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: -20% -10% auto;
  height: 560px;
  background:
    radial-gradient(circle at 18% 28%, rgba(44, 79, 173, 0.45), transparent 52%),
    radial-gradient(circle at 82% 22%, rgba(224, 79, 46, 0.22), transparent 46%),
    radial-gradient(circle at 55% 75%, rgba(24, 37, 77, 0.6), transparent 60%);
  filter: blur(42px);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: var(--ink-light-muted);
  margin-bottom: 18px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--ink-light-muted);
  max-width: 56ch;
  margin-bottom: 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-cta .btn {
  flex: 1 1 170px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.metric-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.metric-lbl {
  font-size: 13px;
  color: var(--ink-light-muted);
}

/* Architectural Crop-Mark Photo Slots */
.photo-slot {
  margin: 0;
  min-width: 0;
}

.photo-slot-wide {
  margin-top: 28px;
}

.crop-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 230px;
  padding: 28px 20px;
  border-radius: var(--radius);
}

.photo-slot-dark .crop-frame {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-light-muted);
  min-height: 260px;
}

.photo-slot-light .crop-frame {
  background: rgba(14, 23, 48, 0.03);
  border: 1px solid var(--border-light);
  color: var(--ink-muted);
}

.crop {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
}

.crop-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.crop-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.crop-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.crop-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

.slot-icon {
  width: 38px;
  height: 38px;
  opacity: 0.78;
}

.slot-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
}

.slot-note {
  font-size: 14px;
  max-width: 38ch;
}

/* Spec Ticker */
.spec-ticker {
  background: var(--indigo-900);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  color: var(--ink-light-muted);
  overflow: hidden;
  padding-block: 12px;
}

.ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  font-size: 12px;
  letter-spacing: 0.08em;
  animation: ticker-scroll 34s linear infinite;
}

.spec-ticker:hover .ticker-track {
  animation-play-state: paused;
}

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

/* Sections */
.section {
  padding-block: 56px;
}

.section-light {
  background: var(--chalk);
  color: var(--ink);
}

.section-tint {
  background: var(--tint);
  color: var(--ink);
}

.section-dark {
  background: var(--indigo-950);
  color: var(--ink-light);
}

.section-head {
  max-width: 68ch;
  margin-bottom: 32px;
}

.section-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-light .section-head h2,
.section-tint .section-head h2 {
  color: var(--indigo-950);
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-intro {
  font-size: 1rem;
  color: var(--ink-muted);
}

.section-dark .section-intro {
  color: var(--ink-light-muted);
}

/* Section 2: Fabrics Bento & Shade Explorer */
.bento-fabrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bento-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}

.panel-title {
  font-size: 1.2rem;
  color: var(--indigo-950);
  margin-bottom: 16px;
}

.fabric-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo-950);
}

.tech-callout {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.callout-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.tech-callout p {
  font-size: 14px;
  color: var(--ink-muted);
}

.explorer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.explorer-top .panel-title {
  margin-bottom: 0;
}

.explorer-hint {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.shade-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.shade-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--chalk);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}

.shade-tab.is-active {
  border-color: var(--indigo-950);
  background: var(--indigo-950);
  color: var(--white);
}

.tab-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.25);
  flex-shrink: 0;
}

.dot-white { background: #f8fafc; }
.dot-light { background: #bfd3ee; }
.dot-medium { background: #4168a8; }
.dot-dark { background: #1c3163; }
.dot-black { background: #10141d; }

.swatch-stage {
  position: relative;
  border-radius: 12px;
  padding: 18px;
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.swatch-stage[data-active-shade="white"] { background: #f3f5f8; color: var(--indigo-950); }
.swatch-stage[data-active-shade="light"] { background: #d4e2f4; color: var(--indigo-950); }
.swatch-stage[data-active-shade="medium"] { background: #365994; color: var(--white); }
.swatch-stage[data-active-shade="dark"] { background: #16274f; color: var(--white); }
.swatch-stage[data-active-shade="black"] { background: #0d111a; color: var(--white); }

.knit-texture {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    -45deg,
    currentColor 0,
    currentColor 1px,
    transparent 1px,
    transparent 6px
  );
  pointer-events: none;
}

.swatch-meta {
  position: relative;
  z-index: 1;
}

.swatch-code {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.82;
  margin-bottom: 6px;
}

.swatch-detail {
  font-size: 14px;
}

.finish-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.finish-pill {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--indigo-900);
}

/* Section 3: 7-Step Connected Pipeline */
.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pipe-node {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  min-width: 0;
}

.pipe-node-final {
  border-color: var(--accent);
  background: linear-gradient(135deg, #ffffff 0%, #fdf4f1 100%);
}

.pipe-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--indigo-950);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.pipe-node-final .pipe-num {
  background: var(--accent);
}

.pipe-content h3 {
  font-size: 1.05rem;
  color: var(--indigo-950);
  margin-bottom: 5px;
}

.pipe-content p {
  font-size: 14px;
  color: var(--ink-muted);
}

/* Section 4: Machines & Interactive Lot-to-Vessel Matcher */
.matcher-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--indigo-950);
  color: var(--white);
  margin-bottom: 24px;
}

.matcher-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.matcher-head label {
  font-weight: 600;
  font-size: 15px;
}

.matcher-readout {
  font-size: 13px;
  color: #f6b8aa;
}

.lot-slider {
  width: 100%;
  accent-color: var(--accent);
  height: 8px;
  cursor: pointer;
}

.weight-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.preset-btn {
  min-height: 40px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-light-muted);
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.preset-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.matcher-result {
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
}

.matcher-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #34d399;
  margin-bottom: 6px;
}

.matcher-note {
  font-size: 15px;
  color: var(--ink-light);
}

.machines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.vessel-list {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.vessel-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s ease, border-left-color 0.2s ease;
  border-left: 4px solid transparent;
}

.vessel-row:last-child {
  border-bottom: 0;
}

.vessel-row.is-matched {
  background: #fdf4f1;
  border-left-color: var(--accent);
}

.vessel-id {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.vessel-cap {
  font-size: 15px;
  color: var(--indigo-950);
  text-align: right;
}

.vessel-bar-wrap {
  grid-column: 1 / -1;
}

.vessel-bar {
  height: 7px;
  border-radius: 999px;
  background: var(--indigo-100);
  overflow: hidden;
}

.vessel-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--indigo-800);
}

.vessel-row.is-matched .vessel-bar > span {
  background: var(--accent);
}

.vessel-use {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Section 5: Quality Dark Band + Light Booth */
.quality-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.quality-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.light-booth {
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  background: var(--indigo-900);
  padding: 20px;
}

.booth-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.booth-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.booth-title {
  font-size: 1.15rem;
  color: var(--white);
}

.light-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
}

.light-btn {
  min-width: 62px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-light-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.light-btn.is-active {
  background: var(--white);
  color: var(--indigo-950);
}

.booth-chamber {
  position: relative;
  border-radius: 12px;
  padding: 24px 16px 16px;
  background: #0b1122;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.light-booth[data-light="d65"] .booth-chamber {
  box-shadow: inset 0 28px 44px -20px rgba(210, 232, 255, 0.35);
}

.light-booth[data-light="tl84"] .booth-chamber {
  box-shadow: inset 0 28px 44px -20px rgba(255, 224, 166, 0.38);
}

.booth-lamp {
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.light-booth[data-light="d65"] .booth-lamp {
  background: #dbeeff;
  box-shadow: 0 0 18px 4px rgba(219, 238, 255, 0.7);
}

.light-booth[data-light="tl84"] .booth-lamp {
  background: #ffe3ab;
  box-shadow: 0 0 18px 4px rgba(255, 227, 171, 0.7);
}

.booth-swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.booth-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-light-muted);
}

.booth-fabric {
  height: 68px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.3s ease;
}

.light-booth[data-light="d65"] .fabric-lab,
.light-booth[data-light="d65"] .fabric-bulk {
  background: #274c8a;
}

.light-booth[data-light="tl84"] .fabric-lab,
.light-booth[data-light="tl84"] .fabric-bulk {
  background: #36507d;
}

.booth-caption {
  font-size: 13px;
  color: var(--ink-light-muted);
}

.qc-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.qc-item {
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.qc-num {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 6px;
}

.qc-item h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
}

.qc-item p {
  font-size: 14px;
  color: var(--ink-light-muted);
}

/* Section 6: Editorial Grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.editorial-item {
  padding-top: 20px;
  border-top: 1.5px solid var(--indigo-950);
}

.editorial-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.editorial-item h3 {
  font-size: 1.2rem;
  color: var(--indigo-950);
  margin-bottom: 8px;
}

.editorial-item p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* Section 7: Contact Studio */
.contact-studio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.contact-dark-card {
  background: var(--indigo-950);
  color: var(--ink-light);
  border-radius: var(--radius);
  padding: 24px;
}

.studio-title {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 18px;
}

.detail-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
}

.detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-row dt {
  font-size: 12px;
  font-weight: 600;
  color: #f6b8aa;
}

.detail-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-light);
  word-break: break-word;
}

.dark-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-slot {
  margin-top: 22px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.map-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.map-note {
  font-size: 13px;
  color: var(--ink-light-muted);
  margin-bottom: 14px;
}

.enquiry-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}

.form-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin: -6px 0 18px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-950);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--chalk);
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.form-error {
  margin-top: 12px;
  min-height: 1.25em;
  font-size: 14px;
  font-weight: 600;
  color: var(--error);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.form-actions .btn {
  flex: 1 1 180px;
}

/* Footer */
.site-footer {
  background: var(--indigo-950);
  color: var(--ink-light-muted);
  border-top: 1px solid var(--border-dark);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-address,
.footer-copy {
  font-size: 14px;
  color: var(--ink-light-muted);
}

.footer-meta p {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-link {
  color: var(--white);
  font-weight: 600;
}

/* Scroll Reveal */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }

  .pipeline,
  .qc-pillars,
  .editorial-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .vessel-row {
    grid-template-columns: 72px 96px 1fr;
    align-items: center;
  }

  .vessel-cap {
    text-align: left;
  }

  .vessel-bar-wrap {
    grid-column: auto;
  }

  .detail-row {
    grid-template-columns: 128px 1fr;
    gap: 12px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-meta {
    text-align: right;
  }
}

@media (min-width: 920px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    display: block;
    width: auto;
    border-top: 0;
    padding-top: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .hero {
    padding-block: 64px 80px;
  }

  .hero-inner {
    grid-template-columns: 1.25fr 0.9fr;
    gap: 40px;
  }

  .section {
    padding-block: 80px;
  }

  .bento-fabrics {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .pipeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pipe-node-final {
    grid-column: span 2;
  }

  .matcher-bar {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
  }

  .matcher-result {
    padding-top: 0;
    padding-left: 20px;
    border-top: 0;
    border-left: 1px solid var(--border-dark);
  }

  .machines-grid {
    grid-template-columns: 1.35fr 0.85fr;
  }

  .quality-layout {
    grid-template-columns: 1.35fr 0.85fr;
  }

  .editorial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-studio {
    grid-template-columns: 0.92fr 1.08fr;
  }
}
