/*
 * VASUDHA TATTVA — INDIAN COMBED COTTON TOWELS & INSTITUTIONAL TERRY
 * International export supply of commercial terry towelling from India.
 * Palette: Warm Cashmere Pearl (#FAF8F5), Combed Linen (#F4EFE6), Deep Espresso (#1A1512), Champagne Gold (#C58F37 / #9E6E22)
 * Typography: Plus Jakarta Sans (UI & Architecture), DM Mono (Trade Specifications)
 */

:root {
  --bg: #FAF8F5;
  --bg-alt: #F4EFE6;
  --bg-stone: #EBE3D5;
  --bg-card: #FFFFFF;
  --bg-dark: #16120F;
  --bg-dark-surface: #221C18;

  --h: #1A1512;
  --h-muted: #3D332B;
  --body: #4A4036;
  --body-muted: #73675B;

  --primary: #1A1512;
  --primary-hover: #2E2520;

  --gold: #C58F37;
  --gold-dark: #9E6E22;
  --gold-bright: #E5A84B;
  --gold-soft: #F9EEDD;
  --gold-glow: rgba(197, 143, 55, 0.22);
  --gold-grad: linear-gradient(135deg, #DF9F3E 0%, #C58F37 100%);

  --line: #E8E0D4;
  --line-strong: #D6C8B8;
  --line-dark: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 1px 3px rgba(26, 21, 18, 0.05), 0 1px 2px rgba(26, 21, 18, 0.03);
  --shadow-md: 0 4px 18px -2px rgba(26, 21, 18, 0.07), 0 2px 6px -1px rgba(26, 21, 18, 0.04);
  --shadow-lg: 0 16px 36px -4px rgba(26, 21, 18, 0.10), 0 6px 14px -2px rgba(26, 21, 18, 0.05);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  overflow-x: hidden;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--h);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

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

/* Fully constrained, non-overflowing container */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}
.narrow { max-width: 840px; }

.sec { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sub { margin-top: 12px; font-size: 1.05rem; color: var(--body-muted); line-height: 1.65; }

.tag {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Progress bar */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px;
  background: var(--gold-grad);
  transform-origin: 0 50%; transform: scaleX(0); z-index: 100;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(26, 21, 18, 0.04);
  transition: all .25s var(--ease);
  width: 100%; box-sizing: border-box;
}
.nav.solid { padding-block: 12px; background: rgba(250, 248, 245, 0.98); }

/* Bespoke Typographic Luxury Logo */
.logo {
  display: flex; flex-direction: column; gap: 2px;
  color: var(--h); text-decoration: none; flex-shrink: 0;
}
.logo-wordmark {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--h);
  text-transform: uppercase;
  line-height: 1;
}
.logo-tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex; gap: 28px;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
}
.nav-links a { color: var(--body); transition: color .2s; }
.nav-links a:hover { color: var(--gold-dark); }

.nav-actions {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.nav-desk-hours {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600;
  color: var(--body); background: #FFFFFF;
  border: 1px solid var(--line-strong); padding: 5px 12px;
  border-radius: 6px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 0; border-radius: 6px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  cursor: pointer; transition: transform .18s var(--ease), background .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arr { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 0.96rem; }

.btn-primary {
  background: var(--primary); color: #FAF8F5;
}
.btn-primary:hover { background: var(--primary-hover); color: #FFFFFF; }

.btn-gold {
  background: var(--gold-grad); color: #FFFFFF;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.btn-gold:hover { background: linear-gradient(135deg, #D49534 0%, #B07823 100%); color: #FFFFFF; }

.btn-outline {
  background: #FFFFFF; color: var(--h);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover {
  background: #FAF8F5; border-color: var(--h); color: var(--h);
}

.btn-wa {
  background: #128C4A; color: #FFFFFF;
}
.btn-wa:hover { background: #0E713B; color: #FFFFFF; }

/* ==========================================================================
   HERO TRADE TERMINAL & 3D GLOBE CENTERPIECE
   ========================================================================== */
.hero {
  position: relative; min-height: 88svh; display: flex; align-items: center;
  background: linear-gradient(135deg, #FAF8F5 0%, #F5EFE6 50%, #ECE3D4 100%);
  color: var(--body); padding: 116px 0 64px; overflow-x: clip;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(197, 143, 55, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 15% 75%, rgba(158, 110, 34, 0.08) 0%, transparent 42%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center; width: 100%;
  position: relative; z-index: 2;
  min-width: 0;
}

.hero-content {
  min-width: 0; width: 100%;
}

.hero-eyebrow {
  display: block;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 16px; overflow-wrap: break-word;
}

.hero h1 {
  color: var(--h); line-height: 1.14; margin-bottom: 18px; font-weight: 800;
  overflow-wrap: break-word; word-break: normal;
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--body-muted); line-height: 1.68;
  max-width: 52ch; margin-bottom: 26px;
}

/* 4 Concrete B2B Trade Specifications Tiles in Hero */
.hero-specs-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-bottom: 30px; width: 100%; max-width: 520px;
}
.hspec {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 18px; box-shadow: var(--shadow-sm);
  min-width: 0; transition: border-color .18s var(--ease);
}
.hspec:hover { border-color: var(--line-strong); }
.hspec-k {
  display: block; font-family: var(--sans); font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--gold-dark); margin-bottom: 4px;
}
.hspec-v {
  display: block; font-family: var(--sans); font-size: 0.96rem;
  font-weight: 700; color: var(--h); line-height: 1.35;
  overflow-wrap: break-word;
}

.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* 3D Globe Visual Stage */
.hero-visual {
  display: flex; flex-direction: column; align-items: center; position: relative;
  min-width: 0; width: 100%;
}
.trade-stage {
  position: relative; width: 100%; aspect-ratio: 1/1; max-width: 480px;
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #201A16 0%, #110D0B 85%);
  border: 1px solid rgba(197, 143, 55, 0.35);
  box-shadow: 0 24px 60px -12px rgba(26, 21, 18, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
#globe {
  width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab;
}
#globe.grab { cursor: grabbing; }

/* Floating Telemetry Trade Card */
.trade-card {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(18, 14, 12, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 143, 55, 0.38); border-radius: 12px;
  padding: 14px 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.trade-card.swap { animation: tradeSwap .45s var(--ease); }
@keyframes tradeSwap { from { opacity: 0; transform: translateY(8px); } }

.gcard-badge {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold-bright); font-weight: 700;
  margin-bottom: 2px;
}
.trade-card h4 {
  font-size: 1.18rem; color: #FAF8F5; font-weight: 700; margin-bottom: 4px;
}
.gcard-route {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  color: var(--gold-soft); margin-bottom: 8px;
}
.gcard-route span { color: #FFFFFF; }
.gcard-desc {
  font-size: 0.82rem; color: #D6C8B8; line-height: 1.45; margin-bottom: 8px;
}
.gcard-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 12px;
  padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.gcard-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gcard-stats span {
  font-family: var(--sans); font-size: 0.64rem; font-weight: 600;
  color: #A89C8E; text-transform: uppercase; letter-spacing: 0.04em;
}
.gcard-stats strong {
  font-size: 0.84rem; color: #FAF8F5; font-weight: 600; white-space: nowrap;
}
.gcard-sub {
  font-size: 0.74rem; color: #A89C8E; margin-top: 6px;
}

/* Corridor Selection Chips */
.trade-corridors {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin-top: 14px; max-width: 480px; width: 100%;
}
.trade-corridors button {
  font: 600 0.74rem var(--sans); letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--body); background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; cursor: pointer; transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.trade-corridors button:hover {
  background: #FAF8F5; color: var(--h); border-color: var(--h);
}
.trade-corridors button.on {
  background: var(--h); color: #FAF8F5; border-color: var(--h);
  box-shadow: 0 2px 10px rgba(26, 21, 18, 0.2);
}
.globe-caption {
  font-size: 0.74rem; color: var(--body-muted); margin-top: 10px; text-align: center;
}

/* ==========================================================================
   PRODUCT RAIL (Cotton Towel Line)
   ========================================================================== */
.rail {
  display: flex; gap: 22px; overflow-x: auto;
  padding: 16px clamp(16px, 4vw, 40px) 36px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
}
.rail.drag { scroll-snap-type: none; user-select: none; }

.pcard {
  flex: 0 0 min(330px, 84vw); scroll-snap-align: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all .22s var(--ease); display: flex; flex-direction: column;
  min-width: 0;
}
.pcard:hover {
  border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.pcard-media {
  aspect-ratio: 4/3; position: relative; overflow: hidden; background: #ECE4D6;
}
.pcard-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.pcard:hover .pcard-img { transform: scale(1.05); }

.pcard-badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--primary); color: #FAF8F5;
  border-radius: 4px; padding: 4px 10px; font-size: 0.68rem; font-weight: 600;
}
.pcard-gsm {
  position: absolute; right: 12px; top: 12px;
  background: #FFFFFF; color: var(--primary); border: 1px solid var(--line-strong);
  border-radius: 4px; padding: 4px 10px; font-size: 0.68rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pbody { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.pbody h3 { font-size: 1.2rem; color: var(--h); margin-bottom: 8px; }
.pbody p { font-size: 0.9rem; color: var(--body); margin-bottom: 16px; line-height: 1.5; }

.pcard-specs {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 18px; padding: 12px 14px;
  background: #FAF8F5; border-radius: 6px; border: 1px solid var(--line);
}
.pcard-specs div { display: flex; justify-content: space-between; font-size: 0.8rem; }
.pcard-specs dt { font-family: var(--sans); color: var(--body-muted); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.pcard-specs dd { font-weight: 600; color: var(--h); }
.add { width: 100%; margin-top: auto; justify-content: center; }

/* ==========================================================================
   COMMERCIAL SUPPLY PROGRAMS (HOSPITALITY VS RETAIL)
   ========================================================================== */
.programs-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px;
}
.pcard-prog {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 32px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: all .22s var(--ease);
  min-width: 0;
}
.pcard-prog:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gold);
}
.prog-header { margin-bottom: 16px; }
.prog-category {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--gold-dark); display: block;
  margin-bottom: 8px;
}
.prog-header h3 { font-size: 1.35rem; color: var(--h); line-height: 1.25; }
.prog-desc {
  font-size: 0.94rem; color: var(--body); line-height: 1.6; margin-bottom: 22px;
}

.prog-specs {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 24px;
}
.ps-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.84rem; gap: 12px;
}
.ps-row span {
  color: var(--body-muted); font-family: var(--sans); font-size: 0.74rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.ps-row strong {
  color: var(--h); font-weight: 600; text-align: right;
}
.pcard-prog .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ==========================================================================
   TECHNICAL SPECIFICATION MATRIX
   ========================================================================== */
.spec-matrix-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.spec-matrix-card {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 12px; padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease); min-width: 0;
}
.spec-matrix-card:hover {
  border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.sm-label {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--gold-dark); display: block;
  margin-bottom: 10px;
}
.spec-matrix-card h3 { font-size: 1.24rem; color: var(--h); margin-bottom: 10px; }
.spec-matrix-card p { font-size: 0.9rem; color: var(--body); line-height: 1.6; margin-bottom: 18px; }

.sm-kv {
  display: flex; flex-direction: column; gap: 8px;
  background: #FAF8F5; padding: 14px 16px; border-radius: 6px;
  border: 1px solid var(--line);
}
.sm-kv div { display: flex; justify-content: space-between; font-size: 0.84rem; }
.sm-kv span { color: var(--body-muted); }
.sm-kv strong { color: var(--h); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { margin-top: 32px; }
details {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 10px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); transition: border-color .2s;
}
details[open] { border-color: var(--gold); }
summary {
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 20px 24px; font-weight: 600; font-size: 1.08rem;
  color: var(--h); cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.35rem; font-weight: 400;
  color: var(--gold-dark); transition: transform .25s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
details p { padding: 0 24px 20px; max-width: 68ch; color: var(--body); line-height: 1.65; font-size: 0.95rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-sec {
  background: var(--bg-alt); border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 110px) 0;
}
.text-center { text-align: center; }
.contact-actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
  margin: 30px 0 36px;
}

/* Dedicated Trade Desk Operational Card */
.trade-desk-card {
  background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 12px; padding: 28px 32px; box-shadow: var(--shadow-sm);
  margin-top: 32px; text-align: left; max-width: 800px; margin-inline: auto;
}
.td-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.td-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.td-label {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  color: var(--gold-dark); letter-spacing: 0.06em;
}
.td-val { font-size: 0.98rem; color: var(--h); font-weight: 700; overflow-wrap: break-word; }
.td-sub { font-size: 0.8rem; color: var(--body-muted); }
.td-note {
  padding-top: 16px; font-size: 0.85rem; color: var(--body-muted); line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { padding: 64px 0 32px; background: #16120F; color: #D6C8B8; border-top: 1px solid #28211B; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .logo-wordmark { color: #FAF8F5; }
.foot-desc { margin-top: 14px; font-size: 0.92rem; color: #A89C8E; max-width: 48ch; line-height: 1.6; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: #D6C8B8; transition: color .2s; font-size: 0.88rem; }
.foot-links a:hover { color: var(--gold-bright); }
.copy {
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); color: #73675B; font-size: 0.82rem;
}

/* ==========================================================================
   REVEAL UTILITY
   ========================================================================== */
.reveal {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.loaded) .reveal:not(.in) {
    opacity: 0; transform: translateY(14px);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 460px;
    margin-inline: auto;
  }
  .nav-links, .nav-actions .nav-desk-hours, .nav-actions .btn-sm {
    display: none;
  }
  .burger {
    display: block;
  }
}

@media (max-width: 860px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .spec-matrix-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .td-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 48px;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
  }
  .hero-specs-row {
    grid-template-columns: 1fr;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .contact-actions {
    flex-direction: column;
  }
  .contact-actions .btn {
    width: 100%;
  }
  .trade-stage {
    max-width: 100%;
  }
  .trade-card {
    position: static;
    margin-top: 12px;
  }
}

/* Burger */
.burger {
  display: none; width: 40px; height: 40px; border: 0; border-radius: 6px;
  background: var(--bg-alt); position: relative; cursor: pointer; flex: none;
}
.burger i {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger i:first-child { top: 16px; }
.burger i:last-child { top: 23px; }
.burger[aria-expanded=true] i:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded=true] i:last-child { top: 19px; transform: rotate(-45deg); }

[hidden], .menu[hidden] { display: none !important; }
.menu {
  position: fixed; inset: 0; z-index: 80; background: #FAF8F5;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 80px 24px 32px;
}
.menu a {
  font-family: var(--sans); font-size: 1.6rem; font-weight: 700;
  color: var(--primary); padding: 10px 0; border-bottom: 1px solid var(--line);
}
.menu .menu-cta { color: var(--gold-dark); border: 0; margin-top: 16px; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   CRANE SHOWCASE SECTION
   ========================================================================== */
.crane-sec {
  position: relative;
  width: 100%;
  height: clamp(560px, 72vw, 880px);
  overflow: hidden;
  background: #F6F2EA;   /* warm light, matches the canvas background */
  display: flex;
  align-items: flex-end;
}

/* Canvas fills the whole section — Three.js injects its own canvas */
#crane-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#crane-mount canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}
#crane-mount canvas:active { cursor: grabbing; }

/* Hint badge */
.crane-hint {
  position: absolute;
  bottom: 96px;
  right: clamp(20px, 4vw, 52px);
  z-index: 12;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(158, 110, 34, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  animation: hintPulse 2.8s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

/* Text overlay pinned to bottom-left */
.crane-text-overlay {
  position: relative;
  z-index: 10;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 64px);
  max-width: 520px;
  pointer-events: none;
}

.crane-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
  opacity: 0.9;
}

.crane-heading {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--h);
  margin-bottom: 14px;
}
.crane-heading em {
  font-style: normal;
  background: linear-gradient(120deg, #C58F37, #9E6E22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.crane-desc {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.crane-cta {
  pointer-events: all;
}

/* Bottom edge fade into next section */
.crane-sec::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 5;
  pointer-events: none;
}

/* Responsive — stack text over canvas on mobile */
@media (max-width: 600px) {
  .crane-sec {
    height: clamp(400px, 100vw, 540px);
  }
  .crane-text-overlay {
    padding: 20px 20px 48px;
    max-width: 100%;
  }
  .crane-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}


/* ==========================================================================
   CRANE SCROLL STAGE (pinned, scroll-scrubbed)
   ========================================================================== */
.crane-track { position: relative; height: 260vh; }
.crane-track .crane-sec {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
.crane-track .crane-sec::after { opacity: 0; transition: opacity 0.4s; }
.crane-track .crane-sec.is-end::after { opacity: 1; }

.crane-text-overlay { transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s; }
.crane-text-overlay.is-hidden { opacity: 0; transform: translateY(18px); visibility: hidden; }
.crane-hint { transition: opacity 0.4s; }
.crane-hint.is-hidden { opacity: 0; animation: none; }

.crane-hud {
  position: absolute;
  left: 0; top: 0;
  z-index: 11;
  transform: translate(-9999px, -9999px);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--body);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(158, 110, 34, 0.4);
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s;
}
.crane-hud.on { opacity: 1; }
.crane-hud b { display: block; color: var(--gold-dark); font-weight: 700; margin-bottom: 2px; }
.crane-hud::after {
  content: '';
  position: absolute;
  left: 50%; top: 100%;
  width: 1px; height: 26px;
  background: linear-gradient(#9E6E22, transparent);
}

.crane-steps {
  position: absolute;
  right: clamp(20px, 4vw, 52px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.crane-steps::before, .crane-steps::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 100%;
}
.crane-steps::before { background: rgba(26, 21, 18, 0.15); }
.crane-steps::after { background: #C58F37; transform-origin: top; transform: scaleY(var(--p, 0)); }
.crane-steps li { color: rgba(26, 21, 18, 0.4); transition: color 0.3s; display: flex; gap: 10px; }
.crane-steps li.on { color: var(--gold-dark); }
.crane-steps .lbl { font-style: normal; }

@media (max-width: 600px) {
  .crane-track .crane-sec { height: 100svh; }
  .crane-steps { right: 12px; gap: 18px; }
  .crane-steps .lbl { display: none; }
  .crane-hud { font-size: 0.6rem; padding: 6px 9px; }
  .crane-hint { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .crane-text-overlay, .crane-hud { transition: none; }
}

.crane-text-overlay::before {
  content: '';
  position: absolute;
  inset: -40px -120px -20px -40px;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 60%, rgba(246, 242, 234, 0.95) 35%, rgba(246, 242, 234, 0) 75%);
  pointer-events: none;
}


/* ==========================================================================
   HERO: live terry-cloth backdrop, GSM slider, headline reveal
   ========================================================================== */
#heroFabric {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
  -webkit-mask-image: linear-gradient(100deg, transparent 6%, rgba(0, 0, 0, 0.3) 32%, #000 64%);
          mask-image: linear-gradient(100deg, transparent 6%, rgba(0, 0, 0, 0.3) 32%, #000 64%);
}
#heroFabric.ready { opacity: 0.95; }
@media (max-width: 980px) {
  #heroFabric {
    -webkit-mask-image: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
            mask-image: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  }
}

.hspec-gsm .hspec-v b { color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.hspec-gsm .hspec-v em {
  display: block; font-style: normal; font-weight: 600; font-size: 0.8rem;
  color: var(--body-muted); margin-top: 2px; min-height: 1.35em;
}
.hspec-gsm input[type="range"] {
  width: 100%; margin: 8px 0 0; accent-color: var(--gold); cursor: pointer;
}

.hero h1 .w {
  display: inline-block; opacity: 0; transform: translateY(0.45em);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 45ms + 150ms);
}
.hero h1.in .w { opacity: 1; transform: none; }
