/* ==========================================================================
   SHRI MURUGAN EXPORTS — Atelier Textile Export Design System
   ========================================================================== */
:root {
  /* Core Palette: Deep Indigo Loom, Raw Warm Ivory, Burnished Antique Brass */
  --ink: #08111e;
  --ink-2: #0f1d32;
  --ink-3: #162844;
  --indigo: #1b3158;
  --indigo-2: #28457a;
  --ivory: #f6f2e8;
  --paper: #fcfaf5;
  --sand: #ede6d6;
  --sand-2: #e3d9c3;
  --line: #dcd2be;
  --line-dark: rgba(246, 242, 232, 0.14);

  /* Accents */
  --brass: #a88346;
  --brass-2: #c9a464;
  --brass-glow: rgba(201, 164, 100, 0.22);
  --rust: #96472c;
  --sage: #73827d;

  /* Text */
  --text: #161f2e;
  --muted: #566073;
  --muted-light: #a9b4c9;
  --white: #ffffff;

  /* Typography */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout & Motion */
  --maxw: 1280px;
  --pad: clamp(20px, 4.5vw, 56px);
  --header-h: 74px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius-sm: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: var(--brass) var(--ink);
  overflow-x: hidden;
  scroll-padding-top: var(--header-h, 74px);
}

/* Custom Atelier Scrollbar (Replaces default OS scroller) */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--brass);
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brass-2);
}

::-webkit-scrollbar-corner {
  background: var(--ink);
}

::-webkit-scrollbar-button {
  display: none !important;
  width: 0;
  height: 0;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--header-h, 74px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(80px, 11vw, 144px);
  position: relative;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
}

/* Scroll Progress Thread */
.scroll-thread {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 550;
  background: transparent;
  pointer-events: none;
}

.scroll-thread-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brass), var(--brass-2), #e5c687);
  transition: width 0.08s linear;
}

/* Page Curtain Transition */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.42s var(--ease-in-out);
  display: grid;
  place-items: center;
}

.page-curtain::after {
  content: "";
  width: 72px;
  height: 72px;
  background: url("../images/logo.jpg") center/cover no-repeat;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: scale(0.92);
  transition: transform 0.42s var(--ease-out-expo);
}

.page-curtain.active::after {
  transform: scale(1);
}

.page-curtain.active {
  opacity: 1;
  pointer-events: all;
}

/* Typography */
h1,
h2,
h3,
h4.serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(44px, 6.2vw, 84px);
}

h2 {
  font-size: clamp(36px, 4.6vw, 62px);
}

h3 {
  font-size: clamp(24px, 2.5vw, 33px);
}

em {
  font-style: italic;
  color: var(--brass);
  font-weight: 500;
}

.on-dark em {
  color: var(--brass-2);
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.8s var(--ease-out-expo);
}

.on-dark .eyebrow {
  color: var(--brass-2);
}

.lead {
  font-size: clamp(17.5px, 1.55vw, 20.5px);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
}

.on-dark {
  background: var(--ink);
  color: var(--ivory);
}

.on-dark .lead,
.on-dark p {
  color: var(--muted-light);
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #9eaac0;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 10px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-2);
  box-shadow: 0 0 0 3px rgba(201, 164, 100, 0.2);
}

.topbar a {
  transition: color 0.25s;
}

.topbar a:hover {
  color: var(--white);
}

/* Header & Glass Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  background: rgba(252, 250, 245, 0.94);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform: translateZ(0);
}

.site-header.scrolled {
  background: rgba(252, 250, 245, 0.98);
  border-color: rgba(8, 17, 30, 0.1);
  box-shadow: 0 10px 30px -12px rgba(8, 17, 30, 0.12);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 14px rgba(223, 119, 22, 0.28);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--indigo);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--indigo);
  position: relative;
  transition: transform 0.5s var(--ease-out-expo), background 0.35s, color 0.35s;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--brass);
  transition: inset 0.35s var(--ease-out-expo);
}

.brand:hover .brand-mark {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.brand:hover .brand-mark::after {
  inset: 4px;
  border-color: var(--brass-2);
}

.brand-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--ink);
}

.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.44em;
  color: var(--brass);
  margin-top: 6px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
}

.nav a:not(.btn) {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  position: relative;
  padding-block: 8px;
  transition: color 0.25s;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1.5px;
  width: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav a:not(.btn):hover {
  color: var(--indigo);
}

.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 46px;
  height: 46px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s;
}

.menu-toggle:hover {
  border-color: var(--ink);
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out-expo), top 0.35s var(--ease-out-expo);
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

/* Buttons & Interactive Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s var(--ease-out-expo), border-color 0.4s, transform 0.3s var(--ease-out-expo), box-shadow 0.4s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out-expo);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover svg {
  transform: translateX(5px);
}

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

.btn-primary::before {
  background: var(--ink);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px -10px rgba(8, 17, 30, 0.45);
}

.btn-brass {
  background: var(--brass-2);
  color: var(--ink);
}

.btn-brass::before {
  background: var(--ivory);
}

.btn-brass:hover {
  box-shadow: 0 14px 30px -10px rgba(201, 164, 100, 0.4);
}

.btn-ghost {
  border-color: rgba(246, 242, 232, 0.32);
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost::before {
  background: var(--ivory);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ivory);
}

.btn-line {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-line::before {
  background: var(--ink);
}

.btn-line:hover {
  color: var(--white);
}

.nav a.btn-primary {
  color: var(--white);
}

.nav .btn {
  padding: 12px 22px;
  font-size: 11.5px;
}

.link-arrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 6px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.4s var(--ease-out-expo);
}

.link-arrow:hover {
  color: var(--brass);
  border-color: currentColor;
}

.link-arrow:hover svg {
  transform: translateX(6px);
}

.on-dark .link-arrow {
  color: var(--ivory);
  border-color: var(--brass-2);
}

.on-dark .link-arrow:hover {
  color: var(--brass-2);
}

/* ==========================================================================
   TACTILE WOVEN FABRIC SWATCHES (High-Craft Pure CSS Weaves)
   ========================================================================== */
.sw {
  position: relative;
  overflow: hidden;
  background-color: #e6decb;
  transition: transform 0.8s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

/* Fine Warp & Weft Micro-Texture Overlay */
.sw::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(8, 17, 30, 0.09) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

/* Subtle Fabric Sheen on Hover */
.sw::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%, rgba(8, 17, 30, 0.14) 100%);
  opacity: 0.65;
  transition: opacity 0.6s;
}

.sw:hover::after {
  opacity: 0.9;
}

.sw-check {
  background-color: #efe9dc;
  background-image:
    repeating-linear-gradient(90deg, rgba(27, 49, 88, 0.82) 0 16px, transparent 16px 56px),
    repeating-linear-gradient(0deg, rgba(27, 49, 88, 0.82) 0 16px, transparent 16px 56px),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(150, 71, 44, 0.6) 36px 40px, transparent 40px 56px),
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(150, 71, 44, 0.6) 36px 40px, transparent 40px 56px);
}

.sw-stripe {
  background-image: repeating-linear-gradient(90deg,
      #1b3158 0 8px, #f4efe4 8px 26px,
      #96472c 26px 30px, #f4efe4 30px 48px,
      #1b3158 48px 51px, #f4efe4 51px 70px);
}

.sw-solid {
  background-color: #d2c2a3;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 4px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(0, 0, 0, 0.09));
}

.sw-twill {
  background-color: #6a7b76;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(8, 17, 30, 0.22));
}

.sw-tartan {
  background-color: #132548;
  background-image:
    repeating-linear-gradient(90deg, rgba(150, 71, 44, 0.82) 0 10px, transparent 10px 70px),
    repeating-linear-gradient(0deg, rgba(150, 71, 44, 0.82) 0 10px, transparent 10px 70px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(237, 230, 214, 0.78) 28px 31px, transparent 31px 70px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(237, 230, 214, 0.78) 28px 31px, transparent 31px 70px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(168, 131, 70, 0.75) 46px 52px, transparent 52px 70px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(168, 131, 70, 0.75) 46px 52px, transparent 52px 70px);
}

.sw-bands {
  background-image: repeating-linear-gradient(90deg,
      #96472c 0 18px, #a88346 18px 34px,
      #ede6d6 34px 52px, #73827d 52px 70px,
      #1b3158 70px 92px, #28457a 92px 104px);
}

/* ==========================================================================
   AUTHENTIC INDIAN EXPORT FABRIC SUB-VARIANTS (26 Woven CSS Patterns)
   ========================================================================== */

/* 1. Checks & Tartans Sub-Variants */
.sw-check-tartan {
  background-color: #132548;
  background-image:
    repeating-linear-gradient(90deg, rgba(168, 131, 70, 0.85) 0 8px, transparent 8px 56px),
    repeating-linear-gradient(0deg, rgba(168, 131, 70, 0.85) 0 8px, transparent 8px 56px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(237, 230, 214, 0.8) 24px 28px, transparent 28px 56px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(237, 230, 214, 0.8) 24px 28px, transparent 28px 56px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(223, 119, 22, 0.7) 38px 42px, transparent 42px 56px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(223, 119, 22, 0.7) 38px 42px, transparent 42px 56px);
}
.sw-check-gingham {
  background-color: #f7f5ef;
  background-image:
    repeating-linear-gradient(90deg, rgba(27, 49, 88, 0.65) 0 16px, transparent 16px 32px),
    repeating-linear-gradient(0deg, rgba(27, 49, 88, 0.65) 0 16px, transparent 16px 32px);
}
.sw-check-madras {
  background-color: #f2ede1;
  background-image:
    repeating-linear-gradient(90deg, rgba(223, 119, 22, 0.65) 0 14px, transparent 14px 64px),
    repeating-linear-gradient(0deg, rgba(223, 119, 22, 0.65) 0 14px, transparent 14px 64px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(27, 49, 88, 0.75) 22px 36px, transparent 36px 64px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(27, 49, 88, 0.75) 22px 36px, transparent 36px 64px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(168, 131, 70, 0.6) 46px 52px, transparent 52px 64px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(168, 131, 70, 0.6) 46px 52px, transparent 52px 64px);
}
.sw-check-windowpane {
  background-color: #f9f7f2;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(27, 49, 88, 0.85) 44px 46px, transparent 46px 48px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(27, 49, 88, 0.85) 44px 46px, transparent 46px 48px);
}
.sw-check-tattersall {
  background-color: #f8f6f0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(27, 49, 88, 0.8) 34px 36px, transparent 36px 72px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(27, 49, 88, 0.8) 34px 36px, transparent 36px 72px),
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(168, 131, 70, 0.8) 68px 70px, transparent 70px 72px),
    repeating-linear-gradient(0deg, transparent 0 68px, rgba(168, 131, 70, 0.8) 68px 70px, transparent 70px 72px);
}

/* 2. Stripes Sub-Variants */
.sw-stripe-bengal {
  background-image: repeating-linear-gradient(90deg, #1b3158 0 8px, #f7f5ef 8px 16px);
}
.sw-stripe-hairline {
  background-image: repeating-linear-gradient(90deg, #1b3158 0 2px, #fbf9f4 2px 7px);
}
.sw-stripe-butcher {
  background-image: repeating-linear-gradient(90deg, #1b3158 0 18px, #f4efe4 18px 36px);
}
.sw-stripe-candy {
  background-image: repeating-linear-gradient(90deg,
    #1b3158 0 6px, #fbf9f5 6px 14px,
    #df7716 14px 18px, #fbf9f5 18px 26px,
    #a88346 26px 30px, #fbf9f5 30px 42px);
}

/* 3. Poplin & Plain Weaves Sub-Variants */
.sw-poplin-40s {
  background-color: #faf9f6;
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0 1px, transparent 1px 3px);
}
.sw-poplin-50s {
  background-color: #d8e5f0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(0deg, rgba(27, 49, 88, 0.08) 0 1px, transparent 1px 3px);
}
.sw-poplin-ecru {
  background-color: #e9e0cb;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(0deg, rgba(168, 131, 70, 0.12) 0 2px, transparent 2px 5px);
}
.sw-poplin-voile {
  background-color: #f5f2eb;
  background-image:
    radial-gradient(circle, rgba(27, 49, 88, 0.08) 1px, transparent 1px);
  background-size: 6px 6px;
}

/* 4. Twills, Oxfords & Chambray Sub-Variants */
.sw-twill-chambray {
  background-color: #3b5a82;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(0deg, rgba(15, 28, 48, 0.35) 0 2px, transparent 2px 4px);
}
.sw-twill-oxford {
  background-color: #cadbee;
  background-image:
    repeating-linear-gradient(90deg, #ffffff 0 3px, #203f6f 3px 6px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0 3px, rgba(32, 63, 111, 0.45) 3px 6px);
}
.sw-twill-chino {
  background-color: #8c7f6b;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0 3px, transparent 3px 7px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.2));
}
.sw-twill-herringbone {
  background-color: #4a5c68;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 0 4px, transparent 4px 8px);
  background-size: 16px 16px;
}

/* 5. Seersucker & Dobby Weaves Sub-Variants */
.sw-dobby-seersucker {
  background-color: #e5edf5;
  background-image:
    repeating-linear-gradient(90deg,
      #1b3158 0 4px, #e5edf5 4px 8px,
      #ffffff 8px 14px, #b2c9df 14px 20px,
      #ffffff 20px 24px);
  box-shadow: inset 0 0 16px rgba(27, 49, 88, 0.1);
}
.sw-dobby-micro {
  background-color: #213552;
  background-image:
    radial-gradient(circle, #a88346 1.5px, transparent 1.5px),
    radial-gradient(circle, #edf0f5 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
}
.sw-dobby-waffle {
  background-color: #ede6d6;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 6px);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.sw-dobby-slub {
  background-color: #dfd8c7;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 3px, transparent 3px 9px),
    repeating-linear-gradient(0deg, rgba(168, 131, 70, 0.2) 0 2px, transparent 2px 7px),
    linear-gradient(135deg, rgba(27, 49, 88, 0.1), transparent);
}

/* 6. Buyer-Led Custom Specs Sub-Variants */
.sw-custom-labdip {
  background-image: linear-gradient(135deg,
    #1b3158 0 25%, #df7716 25% 50%, #a88346 50% 75%, #365349 75% 100%);
}
.sw-custom-linen {
  background-color: #e4dac5;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(0deg, rgba(100, 80, 50, 0.18) 0 2px, transparent 2px 6px);
}
.sw-custom-widewidth {
  background-color: #172740;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 164, 100, 0.7) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px 8px);
}
.sw-custom-jacquard {
  background-color: #1a2c47;
  background-image:
    radial-gradient(circle at 50% 50%, #c9a464 2px, transparent 2px),
    radial-gradient(circle at 0% 0%, #df7716 2px, transparent 2px),
    radial-gradient(circle at 100% 100%, #df7716 2px, transparent 2px);
  background-size: 20px 20px;
}

/* Interactive Swatch Palette UI on Fabric Cards */
.swatch-selector-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.swatch-selector-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.swatch-variant-name {
  color: var(--brass);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.swatch-palette {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.swatch-thumb-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.swatch-thumb-btn:hover {
  transform: translateY(-2px) scale(1.08);
}
.swatch-thumb-btn.active,
.swatch-thumb-btn[aria-pressed="true"] {
  border-color: var(--brass);
  box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px) scale(1.12);
  z-index: 2;
}

/* Order Terms Strip on collection.html */
.order-terms-strip {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 44px);
  margin-top: 56px;
}
.order-terms-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.order-terms-head h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  margin: 0;
}
.order-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.order-term-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-term-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.order-term-item b {
  font-size: 16px;
  color: var(--ink);
}
.order-term-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}


/* ==========================================================================
   HERO SECTION (Architectural Loom Grid + Interactive Parallax Swatch Deck)
   ========================================================================== */
.hero {
  background: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

/* Architectural Warp/Weft Grid Lines */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 64px);
}

/* Ambient Indigo & Brass Light Glow */
.hero::after {
  content: "";
  position: absolute;
  right: -15%;
  top: -25%;
  width: 68%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(40, 69, 122, 0.55), rgba(168, 131, 70, 0.08) 60%, transparent);
  pointer-events: none;
}

.hero>.wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  padding-block: clamp(68px, 9.5vw, 126px);
}

/* Staggered Hero Entrance Choreography */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .eyebrow {
  animation: heroRise 0.9s var(--ease-out-expo) 0.05s both;
}

.hero h1 {
  margin: 26px 0 28px;
  animation: heroRise 1s var(--ease-out-expo) 0.16s both;
}

.hero .lead {
  color: var(--muted-light);
  margin-bottom: 42px;
  animation: heroRise 1s var(--ease-out-expo) 0.28s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroRise 1s var(--ease-out-expo) 0.4s both;
}

/* Interactive Swatch Deck */
.swatch-stack {
  position: relative;
  height: clamp(390px, 46vw, 570px);
  perspective: 1200px;
  animation: heroRise 1.15s var(--ease-out-expo) 0.25s both;
}

.swatch-stack .sw {
  position: absolute;
  border: 11px solid var(--ivory);
  box-shadow: 0 34px 70px -16px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(168, 131, 70, 0.25);
  transition: transform 0.65s var(--ease-out-expo), box-shadow 0.65s var(--ease-out-expo), z-index 0s;
  will-change: transform;
}

.swatch-stack .s1 {
  width: 63%;
  height: 61%;
  left: 0;
  top: 5%;
  transform: rotate(-5.5deg);
  z-index: 1;
}

.swatch-stack .s2 {
  width: 57%;
  height: 55%;
  right: 0;
  top: 0;
  transform: rotate(4.5deg);
  z-index: 2;
}

.swatch-stack .s3 {
  width: 63%;
  height: 51%;
  left: 17%;
  bottom: 0;
  transform: rotate(-1.5deg);
  z-index: 3;
}

.swatch-stack:hover .s1 {
  transform: rotate(-7.5deg) translate(-8px, -4px);
}

.swatch-stack:hover .s2 {
  transform: rotate(6.5deg) translate(8px, -6px);
}

.swatch-stack:hover .s3 {
  transform: rotate(0deg) translateY(6px) scale(1.02);
}

.swatch-tag {
  position: absolute;
  z-index: 6;
  background: var(--ivory);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
  padding: 9px 15px;
  text-transform: uppercase;
  border-left: 3px solid var(--brass);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  transition: transform 0.5s var(--ease-out-expo);
}

.swatch-tag.t1 {
  left: -3%;
  top: 71%;
}

.swatch-tag.t2 {
  right: -2%;
  top: 47%;
}

.swatch-stack:hover .swatch-tag.t1 {
  transform: translateX(-6px);
}

.swatch-stack:hover .swatch-tag.t2 {
  transform: translateX(6px);
}

/* Hero Meta Spec Strip */
.hero-meta {
  position: relative;
  z-index: 2;
  background: rgba(15, 29, 50, 0.72);
  border-top: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
}

.hero-meta .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: 0;
}

.hero-meta .wrap>div {
  padding: 28px 26px;
  border-left: 1px solid var(--line-dark);
  transition: background 0.35s;
}

.hero-meta .wrap>div:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hero-meta .wrap>div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.08;
}

.hero-meta span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a1b8;
}

/* ==========================================================================
   SECTIONS, SPLIT LAYOUTS & EDITORIAL FRAMES
   ========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(44px, 6.5vw, 78px);
}

.section-head h2 {
  margin-top: 18px;
}

.section-head p {
  color: var(--muted);
}

.on-dark .section-head p {
  color: var(--muted-light);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}

.split h2 {
  margin: 18px 0 26px;
}

.split p+p {
  margin-top: 18px;
}

.split .lead {
  margin-bottom: 20px;
}

.frame {
  position: relative;
}

.frame .sw {
  aspect-ratio: 4/5;
  border: 14px solid var(--ivory);
  box-shadow: 0 34px 70px -24px rgba(8, 17, 30, 0.38);
}

.frame:hover .sw {
  transform: scale(1.015);
}

.frame::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--brass);
  z-index: -1;
  transition: transform 0.6s var(--ease-out-expo);
}

.frame:hover::before {
  transform: translate(-4px, -4px);
}

.frame-cap {
  position: absolute;
  left: -10px;
  bottom: 36px;
  z-index: 4;
  background: var(--ink);
  color: var(--ivory);
  padding: 20px 28px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
  border-left: 3px solid var(--brass-2);
  box-shadow: 0 20px 40px -12px rgba(8, 17, 30, 0.5);
}

.frame-cap small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--brass-2);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ==========================================================================
   CATEGORY CARDS (Homepage Core Categories)
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cat {
  background: var(--ink-2);
  color: var(--ivory);
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-rows: 320px auto;
  overflow: hidden;
  transition: transform 0.55s var(--ease-out-expo), border-color 0.4s, box-shadow 0.55s var(--ease-out-expo);
}

.cat:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 100, 0.45);
  box-shadow: 0 32px 64px -20px rgba(0, 0, 0, 0.65);
}

.cat-media {
  overflow: hidden;
  position: relative;
}

.cat .sw {
  height: 100%;
  width: 100%;
}

.cat:hover .sw {
  transform: scale(1.05);
}

.cat-body {
  padding: 36px 38px 42px;
  display: flex;
  flex-direction: column;
}

.cat-body .num {
  font-family: var(--serif);
  color: var(--brass-2);
  font-size: 16px;
  letter-spacing: 0.2em;
}

.cat-body h3 {
  margin: 10px 0 14px;
  font-size: 34px;
}

.cat-body p {
  color: var(--muted-light);
  margin-bottom: 28px;
}

.cat-body .link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

/* ==========================================================================
   CAPABILITY METRICS
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 46px 30px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: background 0.35s;
}

.stat:hover {
  background: rgba(237, 230, 214, 0.45);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 3.8vw, 58px);
  line-height: 1;
  color: var(--indigo);
  white-space: nowrap;
}

.stat span {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.on-dark .stats {
  border-color: var(--line-dark);
}

.on-dark .stat {
  border-color: var(--line-dark);
}

.on-dark .stat:hover {
  background: rgba(255, 255, 255, 0.02);
}

.on-dark .stat b {
  color: var(--ivory);
}

.on-dark .stat span {
  color: #94a1b8;
}

/* ==========================================================================
   PROCESS STEPS ("How We Work")
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: s;
}

.step {
  padding: 38px 32px 40px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: transform 0.45s var(--ease-out-expo);
}

.step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass-2);
  transition: width 0.6s var(--ease-out-expo);
}

.step:hover::after {
  width: 75%;
}

.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: var(--serif);
  font-size: 46px;
  color: var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
  transition: transform 0.45s var(--ease-out-expo), color 0.3s;
}

.step:hover::before {
  transform: translateX(4px);
  color: var(--brass-2);
}

.step h3 {
  font-size: 27px;
  margin-bottom: 12px;
}

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

.on-dark .step {
  border-color: var(--line-dark);
}

.on-dark .step::before {
  color: var(--brass-2);
}

.on-dark .step p {
  color: var(--muted-light);
}

/* ==========================================================================
   GLOBAL MARKETS & BUYERS
   ========================================================================== */
.markets {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 94px);
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.chip {
  border: 1px solid rgba(246, 242, 232, 0.24);
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out-expo);
}

.chip:hover {
  border-color: var(--brass-2);
  background: rgba(201, 164, 100, 0.1);
  transform: translateY(-2px);
}

.buyers {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.buyers div {
  padding: 24px 8px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 27px;
  transition: padding-left 0.4s var(--ease-out-expo), color 0.3s, background 0.3s;
}

.buyers div:hover {
  padding-left: 16px;
  color: var(--brass-2);
  background: rgba(255, 255, 255, 0.02);
}

.buyers span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--brass-2);
}

/* ==========================================================================
   BRANDS / CLIENT LOGOS
   ========================================================================== */
.brands-tier-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.tier-pill {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tier-pill::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--brass);
}

.logo-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.logo-grid div {
  background: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.35s, box-shadow 0.35s;
}

.logo-grid div:hover {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(223, 119, 22, 0.25);
}

.logo-grid img {
  width: auto;
  max-width: 82%;
  height: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.35s var(--ease-out-expo);
}

.logo-grid div:hover img {
  transform: scale(1.08);
}

/* Top 5 Featured Large Logos */
.logo-featured-grid {
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.logo-featured-grid div {
  height: 148px;
  padding: 22px 28px;
}

.logo-featured-grid img {
  max-height: 56px;
  max-width: 82%;
}

/* Secondary 12 Partner Logos (balanced 6x2 grid) */
.logo-secondary-grid {
  grid-template-columns: repeat(6, 1fr);
}

.logo-secondary-grid div {
  height: 106px;
  padding: 14px 20px;
}

.logo-secondary-grid img {
  max-height: 38px;
  max-width: 80%;
}

@media (max-width: 1024px) {
  .logo-featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-secondary-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-secondary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .logo-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ==========================================================================
   CTA BAND (Luxury Gold-Accented Redesign)
   ========================================================================== */
.cta {
  background: #08111e;
  color: #f6f2e8;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 164, 100, 0.24);
  border-bottom: 1px solid rgba(201, 164, 100, 0.14);
  opacity: 1 !important;
  transform: none !important;
}

.cta.rv {
  opacity: 1 !important;
  transform: none !important;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(201, 164, 100, 0.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(201, 164, 100, 0.035) 0 1px, transparent 1px 32px);
}

.cta .wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
  padding-block: clamp(60px, 7vw, 92px);
}

.cta-content {
  flex: 1 1 480px;
  max-width: 640px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a464;
  background: rgba(201, 164, 100, 0.09);
  border: 1px solid rgba(201, 164, 100, 0.32);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.cta-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
}

.cta h2 {
  max-width: 16ch;
  color: #ffffff;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.15;
  margin: 0;
}

.cta h2 em {
  color: #c9a464;
  font-style: italic;
}

.cta-lead {
  color: #a8b4c7;
  font-size: clamp(14px, 1.6vw, 15.5px);
  line-height: 1.6;
  max-width: 52ch;
  margin: 14px 0 0;
}

.cta-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
}

.cta-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #dfd7c9;
}

.cta-perk svg {
  color: #c9a464;
  flex-shrink: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  min-width: 250px;
  flex: 0 1 300px;
}

.cta-actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.btn-wa-luxury {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-wa-luxury:hover {
  background: #25D366;
  color: #08111e;
  border-color: #25D366;
  transform: translateY(-2px);
}

.btn-wa-luxury svg {
  transition: transform 0.2s ease;
}

.btn-wa-luxury:hover svg {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .cta-actions {
    width: 100%;
    min-width: 100%;
  }
}

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-hero {
  background: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 64px);
}

.page-hero .wrap {
  position: relative;
  padding-block: clamp(68px, 9.5vw, 124px);
}

.page-hero h1 {
  font-size: clamp(44px, 6.2vw, 82px);
  margin: 22px 0 24px;
  max-width: 15ch;
  animation: heroRise 0.9s var(--ease-out-expo) 0.1s both;
}

.page-hero .lead {
  color: var(--muted-light);
  animation: heroRise 0.9s var(--ease-out-expo) 0.2s both;
}

.crumbs {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a1b8;
  margin-bottom: 32px;
}

.crumbs a:hover {
  color: var(--white);
}

/* Collection Page Hero Two-Column Grid & Pure Floating Swatch Cluster */
.collection-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  position: relative;
}

.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  position: relative;
}

.collection-hero-content {
  position: relative;
  z-index: 2;
}

.company-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
}

.collection-hero-content h1 {
  max-width: 14ch;
}

.company-hero-content h1 {
  max-width: 24ch;
}

.company-hero-content h1 em {
  white-space: nowrap;
}

.collection-hero-media {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-hero-media {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ==========================================================================
   INTERACTIVE FABRIC MOSAIC GRID (Expands on hover, individual tiles elevate)
   ========================================================================== */
.mosaic-interactive-grid {
  display: grid;
  grid-template-columns: 206fr 205fr 204fr;
  grid-template-rows: 188fr 185fr 188fr;
  gap: 12px;
  width: 100%;
  max-width: 530px;
  margin-inline: auto;
  transition: gap 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  cursor: pointer;
}

/* Precise 3x3 Tile Placement matching physical cloth artwork */
.tile-twill {
  grid-column: 1;
  grid-row: 1 / 3;
}

.tile-tartan {
  grid-column: 2;
  grid-row: 1;
}
.tile-stripe {
  grid-column: 3;
  grid-row: 1;
}
.tile-poplin {
  grid-column: 2;
  grid-row: 2;
}
.tile-gingham {
  grid-column: 1 / 3;
  grid-row: 3;
}
.tile-windowpane {
  grid-column: 3;
  grid-row: 2 / 4;
}

.mosaic-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.55s var(--ease-out-expo), filter 0.55s ease;
  will-change: transform;
}
.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

/* On Whole Grid Hover: Tiles organically breathe & expand */
.mosaic-interactive-grid:hover {
  gap: 18px;
  transform: scale(1.02);
}

/* On Individual Tile Hover: That specific fabric elevates & inspects */
.mosaic-interactive-grid .mosaic-tile:hover {
  transform: translateY(-8px) scale(1.045);
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.65));
  z-index: 10;
}

/* ==========================================================================
   INTERACTIVE BESPOKE SWATCH DECK (Layers fan/fold separately on hover)
   ========================================================================== */
.swatch-deck-interactive {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 500px;
  margin-left: auto;
  transform: translateX(clamp(32px, 4.5vw, 76px));
  cursor: pointer;
}

.deck-swatch {
  position: absolute;
  top: 10%;
  left: 12%;
  width: 76%;
  height: auto;
  transform-origin: 48% 18%;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  transition: transform 0.75s var(--ease-out-expo), filter 0.65s ease;
  will-change: transform;
}

.deck-swatch img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}


/* Layer Stacking Order & Resting Folded Angles */
.sw-layer-4 {
  transform: rotate(32deg) translate(28px, 14px);
  z-index: 1;
}

.sw-layer-3 {
  transform: rotate(15deg) translate(14px, 6px);
  z-index: 2;
}

.sw-layer-2 {
  transform: rotate(-3deg) translate(0, 0);
  z-index: 3;
}

.sw-layer-1 {
  transform: rotate(-24deg) translate(-14px, -6px);
  z-index: 4;
}

/* Antique Brass Rivet Fastener (Pinned exactly over the pivot point) */
.deck-rivet {
  position: absolute;
  top: 23.5%;
  left: 48.5%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
  transition: transform 0.75s var(--ease-out-expo);
}

.deck-rivet img {
  width: 100%;
  height: 100%;
  display: block;
}

/* On Hover: Swatches Fan & Spread Out Separately! */
.swatch-deck-interactive:hover .sw-layer-1 {
  transform: rotate(-44deg) translate(-38px, -18px);
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.6));
  transition-delay: 0s;
}

.swatch-deck-interactive:hover .sw-layer-2 {
  transform: rotate(-16deg) translate(-8px, -4px);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.55));
  transition-delay: 0.03s;
}

.swatch-deck-interactive:hover .sw-layer-3 {
  transform: rotate(22deg) translate(26px, 14px);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.55));
  transition-delay: 0.06s;
}

.swatch-deck-interactive:hover .sw-layer-4 {
  transform: rotate(52deg) translate(58px, 32px);
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.6));
  transition-delay: 0.09s;
}

.swatch-deck-interactive:hover .deck-rivet {
  transform: translate(-50%, -50%) rotate(12deg);
}

/* ==========================================================================
   FABRIC COLLECTION & ANIMATED FILTERING
   ========================================================================== */
.tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter {
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.filter:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.filter.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(27, 49, 88, 0.55);
}

.count {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.fabrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 30px;
}

.fabric {
  display: flex;
  flex-direction: column;
  transition: opacity 0.38s var(--ease-out-expo), transform 0.45s var(--ease-out-expo);
}

.fabric.is-filtering-out {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.fabric[hidden] {
  display: none;
}

.fabric-media {
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.fabric .sw {
  aspect-ratio: 1/1;
  width: 100%;
}

.fabric:hover .sw {
  transform: scale(1.045);
}

.fabric .meta {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.fabric h3 {
  font-size: 28px;
}

.fabric p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.fabric .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 6px 10px;
}

.spec-chip {
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 3px 8px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 2px;
}

.spec-table-wrap {
  margin-top: 64px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px clamp(20px, 4vw, 44px);
}

.spec-table-wrap h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.spec-table-wrap p.lead-sm {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 60ch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  background: rgba(237, 230, 214, 0.45);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background: rgba(237, 230, 214, 0.25);
}

.fabric .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.fabric .link-arrow {
  padding-top: 0;
}

.fabric .sample-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brass);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fabric .sample-btn:hover {
  color: var(--ink);
}

.note {
  margin-top: 60px;
  padding: 24px 28px;
  border-left: 3px solid var(--brass);
  background: var(--sand);
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   COMPANY VALUES CARDS
   ========================================================================== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value {
  padding: 40px 34px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s, box-shadow 0.45s var(--ease-out-expo);
}

.value:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: 0 28px 56px -24px rgba(8, 17, 30, 0.16);
}

.value .ic {
  width: 48px;
  height: 48px;
  border: 1px solid var(--brass);
  display: grid;
  place-items: center;
  color: var(--brass);
  margin-bottom: 26px;
  transition: background 0.35s, color 0.35s;
}

.value:hover .ic {
  background: var(--ink);
  color: var(--brass-2);
  border-color: var(--ink);
}

.value .ic svg {
  width: 22px;
  height: 22px;
}

.value h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   CONTACT & ENQUIRY FORM
   ========================================================================== */
#rfq,
#quoteForm,
#brands,
#location,
.wrap.contact {
  scroll-margin-top: 90px;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.contact > * {
  min-width: 0;
}

.contact-info h2 {
  margin: 18px 0 22px;
}

.info-list {
  margin-top: 38px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.info-list div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-list small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--brass);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-list a,
.info-list p {
  font-family: var(--serif);
  font-size: clamp(17px, 4.5vw, 26px);
  color: var(--ink);
  line-height: 1.25;
  transition: color 0.25s;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.info-list a:hover {
  color: var(--indigo);
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(30px, 4.5vw, 56px);
  box-shadow: 0 44px 90px -48px rgba(8, 17, 30, 0.28);
  position: relative;
}

.form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--brass));
}

.form h3 {
  font-size: 35px;
  margin-bottom: 8px;
}

.form>p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 32px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

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

.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.label-with-opt {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.opt-tag {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  background: var(--sand);
  padding: 2px 7px;
  border-radius: 2px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .field-ic {
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  color: var(--brass);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.25s, color 0.25s;
}

.input-icon-wrap input {
  padding-left: 26px !important;
  width: 100%;
}

.input-icon-wrap:focus-within .field-ic {
  opacity: 1;
  color: var(--indigo);
}

/* International Phone / WhatsApp Country Code Selector */
.phone-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: border-bottom-color 0.25s;
}

.phone-input-group:focus-within {
  border-bottom-color: var(--navy);
}

.phone-flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 8px 10px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  user-select: none;
  border-right: 1px solid var(--line);
  margin-right: 10px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.phone-flag-btn:hover {
  opacity: 0.8;
}

.phone-flag-btn .flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.phone-flag-btn .dial-code-txt {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
  letter-spacing: 0.02em;
}

.phone-flag-btn .arrow-ic {
  width: 10px;
  height: 10px;
  color: var(--brass);
  transition: transform 0.2s ease;
}

.phone-flag-btn[aria-expanded="true"] .arrow-ic {
  transform: rotate(180deg);
}

.phone-input-group .phone-num-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 11px 0 !important;
  font-size: 15.5px;
  color: var(--ink);
}

.phone-input-group .phone-num-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

/* Country Picker Dropdown */
.country-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-width: 90vw;
  background: #ffffff;
  border: 1px solid rgba(15, 28, 46, 0.15);
  border-radius: 8px;
  box-shadow: 0 12px 30px -4px rgba(15, 28, 46, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.country-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f6;
  background: #fbfbfb;
}

.country-search-box svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.country-search-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 13.5px;
  padding: 0 !important;
  color: #0f1c2e;
}

.country-search-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  max-height: 230px;
}

.country-group-label {
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  background: #fafafa;
}

.country-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13.5px;
  color: #1e293b;
  transition: background 0.12s;
}

.country-item:hover,
.country-item.highlighted {
  background: #f1f5f9;
  color: #08111e;
}

.country-item.selected {
  background: #edf3fa;
  font-weight: 600;
}

.country-item .item-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.country-item .item-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-item .item-code {
  font-weight: 600;
  color: #64748b;
  font-size: 12.5px;
  flex-shrink: 0;
}

.country-item:hover .item-code {
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 11px 0;
  font-size: 15.5px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a88346' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 14px 14px;
  padding-right: 24px;
  cursor: pointer;
}

.field select optgroup {
  font-weight: 600;
  color: var(--brass);
  background: var(--paper);
  font-style: normal;
}

.field select option {
  background: var(--paper);
  color: var(--text);
  font-weight: 400;
  padding: 8px 12px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a2abb9;
  font-size: 14px;
  font-weight: 400;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--indigo);
}

.file-upload-box {
  position: relative;
  border: 1px dashed var(--line);
  background: rgba(252, 250, 245, 0.7);
  padding: 20px 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.file-upload-box:hover,
.file-upload-box.dragover {
  border-color: var(--brass-2);
  background: rgba(237, 230, 214, 0.35);
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-dummy {
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}

.upload-icon {
  width: 30px;
  height: 30px;
  color: var(--brass);
  flex-shrink: 0;
}

.file-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.file-main {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.file-hint {
  font-size: 12px;
  color: var(--muted);
}

.file-name {
  margin-left: auto;
  font-size: 12px;
  background: var(--sand);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--line);
  font-weight: 500;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* ==========================================================================
   INTERACTIVE 3-STEP RFQ CONFIGURATOR
   ========================================================================== */
.rfq-wizard {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  position: relative;
}

/* ================= TOP-LEVEL RFQ MODE NAVIGATION ================= */
.rfq-mode-nav {
  display: flex;
  gap: 8px;
  background: var(--sand, #ede6d6);
  border: 1.5px solid rgba(8, 17, 30, 0.12);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.mode-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #08111e);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.mode-tab-btn:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink, #08111e);
}

.mode-tab-btn.active {
  background: #08111e !important;
  color: #ffffff !important;
  border-color: #08111e !important;
  box-shadow: 0 4px 16px rgba(8, 17, 30, 0.25);
}

.mode-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass, #a88346);
}

.mode-tab-btn.active .mode-tab-icon {
  color: #c9a464 !important;
}

.mode-tab-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(8, 17, 30, 0.08);
  color: var(--ink, #08111e);
  border: 1px solid rgba(8, 17, 30, 0.14);
  padding: 2px 8px;
  border-radius: 12px;
}

.mode-tab-btn.active .mode-tab-badge {
  background: rgba(201, 164, 100, 0.25) !important;
  color: #f6e3b8 !important;
  border-color: rgba(201, 164, 100, 0.6) !important;
}

/* RFQ Flow Panes */
.rfq-flow-pane[hidden] {
  display: none !important;
}

/* ================= BESPOKE CUSTOM REQUEST FLOW ================= */
.custom-flow-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.custom-card-body {
  display: flex;
  flex-direction: column;
}

/* Redesigned Atelier Custom Dropzone */
.custom-drop-zone {
  border: 2px dashed #c9a464 !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 34px 20px !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 2px 10px rgba(8, 17, 30, 0.03);
}

.custom-drop-zone:hover,
.custom-drop-zone.dragover {
  border-color: #a88346 !important;
  background: #fdfbf7 !important;
  box-shadow: 0 8px 24px -4px rgba(201, 164, 100, 0.25);
  transform: translateY(-1px);
}

.custom-upload-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.custom-upload-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbf7ee, #f1e9d2);
  border: 1.5px solid rgba(201, 164, 100, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a88346;
  box-shadow: 0 4px 12px rgba(8, 17, 30, 0.05);
}

.upload-format-pills {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.format-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #f4efe4;
  color: #08111e;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(8, 17, 30, 0.1);
}

.format-pill-limit {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
}

/* Block Header Flex */
.block-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.sublabel-tip {
  font-size: 11.5px;
  color: #a88346;
  font-weight: 600;
}

/* Custom Volume Presets */
.custom-volume-block .preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.custom-volume-block .preset-chip {
  background: #ffffff;
  border: 1.5px solid rgba(8, 17, 30, 0.16);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #08111e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-volume-block .preset-chip:hover {
  border-color: #c9a464;
  background: #faf8f3;
}

.custom-volume-block .preset-chip.active {
  background: #08111e !important;
  color: #ffffff !important;
  border-color: #08111e !important;
  box-shadow: 0 4px 12px rgba(8, 17, 30, 0.2);
}

/* Structured Boxed Inputs for Custom Flow */
.custom-card-body input[type="text"],
.custom-card-body input[type="email"],
.custom-card-body input[type="tel"],
.custom-card-body textarea {
  background: #ffffff !important;
  border: 1.5px solid rgba(8, 17, 30, 0.16) !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  color: #08111e !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.custom-card-body input[type="text"]:focus,
.custom-card-body input[type="email"]:focus,
.custom-card-body input[type="tel"]:focus,
.custom-card-body textarea:focus {
  border-color: #c9a464 !important;
  box-shadow: 0 0 0 3px rgba(201, 164, 100, 0.18) !important;
  outline: none !important;
}

/* Spec Quick Insert Chips */
.spec-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 12px;
}

.spec-add-chip {
  background: #ffffff;
  border: 1px solid rgba(201, 164, 100, 0.45);
  color: #08111e;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.spec-add-chip:hover {
  background: #08111e;
  color: #ffffff;
  border-color: #08111e;
}

/* Redesigned Buyer Contact Block */
.custom-buyer-block {
  background: #ffffff;
  border: 1.5px solid rgba(8, 17, 30, 0.12);
  border-radius: 8px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px -4px rgba(8, 17, 30, 0.05);
}

.custom-buyer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(8, 17, 30, 0.08);
  padding-bottom: 12px;
  margin-bottom: 6px;
  gap: 12px;
}

.custom-block-subtitle {
  font-family: var(--serif, serif);
  font-size: 19px;
  font-weight: 700;
  color: #08111e;
  margin: 0 0 2px;
}

.custom-block-desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.custom-badge-mill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f4efe4;
  color: #a88346;
  border: 1px solid rgba(201, 164, 100, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Redesigned Actions Bar */
.custom-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-submit-btn {
  width: 100%;
  min-height: 52px;
  background: #08111e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-submit-btn:hover {
  background: #162844;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(8, 17, 30, 0.3);
}

.custom-hero-wa-btn {
  width: 100%;
  min-height: 54px;
  background: linear-gradient(135deg, #162844, #08111e);
  border: 1.5px solid rgba(201, 164, 100, 0.45);
  border-radius: 6px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(8, 17, 30, 0.1);
  box-sizing: border-box;
}

.custom-hero-wa-btn:hover {
  border-color: #c9a464;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(201, 164, 100, 0.3);
}

.wa-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  flex-shrink: 0;
}

.wa-btn-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.wa-btn-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.wa-btn-sub {
  font-size: 11.5px;
  color: #d4af37;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .rfq-mode-nav {
    flex-direction: column;
    gap: 6px;
  }
  .mode-tab-btn {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Wizard Progress Bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.wizard-step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s, color 0.3s;
}

.wizard-step-indicator.active {
  opacity: 1;
}

.wizard-step-indicator.done {
  opacity: 0.85;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.wizard-step-indicator.active .step-num {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--brass-glow);
}

.wizard-step-indicator.done .step-num {
  background: var(--brass);
  color: var(--white);
  border-color: var(--brass);
}

.step-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.wizard-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-inline: 14px;
}

/* Wizard Panes */
.wizard-pane {
  display: none;
  animation: fadeInPane 0.35s var(--ease-out-expo) forwards;
}

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

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pane-header {
  margin-bottom: 28px;
}

.pane-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 6px;
}

.pane-header h3 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  margin-bottom: 6px;
}

.pane-desc {
  font-size: 14.5px;
  color: var(--muted);
}

/* Order Type Toggle */
/* Order Type Toggle (Pill Toggle: Bulk Production, Sample Swatch, and Custom) */
.order-type-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--sand);
  padding: 5px;
  border-radius: 6px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.toggle-opt {
  cursor: pointer;
  position: relative;
  display: inline-block;
  margin: 0;
}

.toggle-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

.toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-radius: 4px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.toggle-opt:hover .toggle-btn {
  color: var(--ink);
}

.toggle-opt.active .toggle-btn {
  background: var(--ink) !important;
  color: var(--ivory) !important;
  box-shadow: 0 2px 8px rgba(8, 17, 30, 0.2);
}

.btn-return-catalog {
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-return-catalog:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* Fabric Selection Cards */
.fabric-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.fabric-card-opt {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 16px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.fabric-card-opt:hover {
  border-color: var(--brass-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.fabric-card-opt.selected {
  border-color: var(--brass);
  background: rgba(237, 230, 214, 0.3);
  box-shadow: 0 0 0 2px var(--brass);
}

.card-radio-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: all 0.25s;
}

.fabric-card-opt.selected .card-radio-mark {
  border-color: var(--brass);
  background: var(--brass);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.card-sw {
  height: 72px;
  border-radius: 3px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

/* ==========================================================================
   INLINE DESIGN VARIANT SELECTOR (RFQ Configurator Step 1)
   ========================================================================== */
.inline-variant-panel {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(16px, 2.5vw, 24px);
  margin-top: -12px;
  margin-bottom: 32px;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.inline-variant-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(8, 17, 30, 0.08);
  padding-bottom: 12px;
}
.inline-variant-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  display: block;
}
.inline-variant-head h4 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  margin: 3px 0 0;
}
.inline-variant-note {
  font-size: 12px;
  color: var(--muted);
}
.variant-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}
.variant-chip:hover {
  border-color: var(--brass);
  background: #fdfbf7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.variant-chip.active,
.variant-chip[aria-checked="true"] {
  border-color: var(--brass);
  background: #fcf9f2;
  box-shadow: 0 0 0 1px var(--brass), 0 4px 14px rgba(168, 131, 70, 0.2);
  transform: translateY(-2px);
  font-weight: 600;
  color: var(--ink);
}
.variant-chip-mini-sw {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(8, 17, 30, 0.15);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.variant-chip .chip-check-ic {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  stroke: var(--brass);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out-expo);
  flex-shrink: 0;
}
.variant-chip.active .chip-check-ic,
.variant-chip[aria-checked="true"] .chip-check-ic {
  opacity: 1;
  transform: scale(1);
}
.inline-variant-count-badge {
  background: var(--brass);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  display: inline-block;
}


.card-info h4 {
  font-size: 16.5px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600;
}

.card-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.card-tag {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  display: inline-block;
}

/* Preset Chips */
.field-sublabel {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.preset-chip {
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-chip:hover {
  border-color: var(--brass);
  background: rgba(201, 164, 100, 0.15);
}

.preset-chip.active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* Thumbnail preview for upload */
.preview-thumbnail-wrap {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--brass);
  flex-shrink: 0;
}

.preview-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RFQ Summary Card */
/* RFQ Summary Card - Redesigned Luxury Commercial Specification Dossier */
.rfq-summary-card {
  background: linear-gradient(145deg, #09121d 0%, #0d1a29 100%);
  color: var(--ivory);
  border-radius: 10px;
  padding: 20px 22px;
  border: 1px solid rgba(201, 164, 100, 0.28);
  border-left: 4px solid var(--brass);
  box-shadow: 0 8px 24px -4px rgba(8, 17, 30, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 28px;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.summary-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  display: inline-block;
}

.summary-badge {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2, #d4af37);
  font-weight: 700;
}

.edit-summary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 164, 100, 0.1);
  border: 1px solid rgba(201, 164, 100, 0.35);
  color: #f1e5d1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.edit-summary-btn svg {
  color: var(--brass);
  transition: transform 0.2s ease;
}

.edit-summary-btn:hover {
  background: var(--brass);
  color: #08111e;
  border-color: var(--brass);
  box-shadow: 0 2px 10px rgba(201, 164, 100, 0.35);
}

.edit-summary-btn:hover svg {
  color: #08111e;
  transform: rotate(-15deg);
}

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

.summary-cell {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.summary-cell:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(201, 164, 100, 0.25);
}

.summary-cell-lbl {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a464;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}

.summary-cell-val {
  font-size: 15px;
  font-weight: 500;
  color: #f8fafc;
  line-height: 1.45;
  display: block;
  word-break: break-word;
}

@media (max-width: 600px) {
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Wizard Buttons */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.wizard-actions.right-only {
  justify-content: flex-end;
}

.dual-submit-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* RFQ Email Dispatch Options Card */
.rfq-dispatch-card {
  margin-top: 24px;
  background: #fdfbf7;
  border: 1.5px solid var(--brass, #c9a464);
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: 0 12px 36px rgba(8, 17, 30, 0.08);
  animation: fadeInDown 0.3s var(--ease-out-expo);
}

.rfq-dispatch-card .dispatch-header .dispatch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f4ea;
  color: #137333;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.rfq-dispatch-card .dispatch-header h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 6px;
}

.rfq-dispatch-card .dispatch-header p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.5;
}

.rfq-dispatch-card .dispatch-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.rfq-dispatch-card .dispatch-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 4px;
  font-weight: 600;
}

.rfq-dispatch-card .dispatch-summary-box {
  background: #ffffff;
  border: 1px solid rgba(8, 17, 30, 0.12);
  border-radius: 6px;
  padding: 14px 16px;
}

.rfq-dispatch-card .dispatch-summary-box .summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.rfq-dispatch-card .dispatch-summary-box .recipient-tag strong {
  color: var(--ink);
}

.rfq-dispatch-card .dispatch-summary-box .summary-pre {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 180px;
  overflow-y: auto;
  line-height: 1.5;
}

/* RFQ Dispatch Loading Overlay */
.rfq-dispatch-loader {
  position: absolute;
  inset: 0;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  animation: fadeIn 0.25s ease-out;
}

.rfq-dispatch-loader[hidden] {
  display: none !important;
}

.rfq-dispatch-loader .loader-content {
  text-align: center;
  max-width: 440px;
  padding: 32px 24px;
}

.rfq-dispatch-loader .loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(201, 164, 100, 0.25);
  border-top-color: var(--brass, #c9a464);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.85s linear infinite;
}

.rfq-dispatch-loader h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
}

.rfq-dispatch-loader p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.rfq-dispatch-loader .loader-bar {
  height: 4px;
  background: rgba(201, 164, 100, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.rfq-dispatch-loader .loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #df7716, #c9a464);
  animation: fillProgress 1.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fillProgress {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

/* ==========================================================================
   RFQ SUCCESS CONFIRMATION SCREEN
   ========================================================================== */
.rfq-success-screen {
  background: #fdfbf7;
  border: 1.5px solid var(--brass, #c9a464);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  box-shadow: 0 20px 60px rgba(8, 17, 30, 0.08);
  animation: fadeInUp 0.5s var(--ease-out-expo);
  margin-top: 10px;
}

.rfq-success-screen[hidden] {
  display: none !important;
}

.rfq-success-hero {
  text-align: center;
  margin-bottom: 32px;
}

.rfq-success-hero .success-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfq-success-hero .success-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(201, 164, 100, 0.5);
  animation: spin 16s linear infinite;
}

.rfq-success-hero .success-check-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #137333, #1e8e3e);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(19, 115, 51, 0.35);
}

.rfq-success-hero .success-check-badge svg {
  width: 32px;
  height: 32px;
}

.rfq-success-hero .success-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass, #c9a464);
  background: rgba(201, 164, 100, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.rfq-success-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.2;
}

/* 24-Hour Mill Turnaround Box */
.rfq-turnaround-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(201, 164, 100, 0.35);
  border-left: 4px solid var(--brass, #c9a464);
  border-radius: 6px;
  padding: 20px 22px;
  margin-bottom: 32px;
}

.rfq-turnaround-box .turnaround-icon {
  color: var(--brass, #c9a464);
  flex-shrink: 0;
  margin-top: 2px;
}

.rfq-turnaround-box h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 4px;
}

.rfq-turnaround-box p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.rfq-turnaround-box p strong {
  color: var(--ink);
}

/* ==========================================================================
   REDESIGNED COMMERCIAL SPECIFICATION DOSSIER & ACTIONS
   ========================================================================== */
.rfq-dossier-card {
  background: #ffffff;
  border: 1px solid rgba(8, 17, 30, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(8, 17, 30, 0.04);
  margin-bottom: 28px;
}

.dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #faf7f2;
  border-bottom: 1.5px solid rgba(201, 164, 100, 0.28);
  padding: 18px 24px;
}

.dossier-tag {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass, #c9a464);
  font-weight: 700;
  margin-bottom: 2px;
}

.dossier-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
}

.dossier-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e6f4ea;
  border: 1px solid rgba(19, 115, 51, 0.25);
  color: #137333;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.dossier-status-badge .status-dot {
  width: 7px;
  height: 7px;
  background: #137333;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.dossier-table {
  padding: 8px 24px 16px;
}

.dossier-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(8, 17, 30, 0.06);
  gap: 20px;
}

.dossier-row:last-child {
  border-bottom: none;
}

.dossier-col-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 240px;
  max-width: 260px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #64748b);
}

.dossier-col-label .label-bullet {
  width: 5px;
  height: 5px;
  background: var(--brass, #c9a464);
  border-radius: 50%;
  flex-shrink: 0;
}

.dossier-col-val {
  flex: 1;
  text-align: right;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
  word-break: break-word;
}

.dossier-artwork-flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.dossier-img-preview-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 3px;
  border: 1px solid rgba(201, 164, 100, 0.6);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(8, 17, 30, 0.08);
  overflow: hidden;
  max-width: 90px;
  max-height: 56px;
  flex-shrink: 0;
}

.dossier-img-preview-box img {
  max-height: 50px;
  max-width: 84px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.dossier-inline-pill {
  display: inline-block;
  background: rgba(201, 164, 100, 0.12);
  border: 1px solid rgba(201, 164, 100, 0.35);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

.dossier-notes-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #faf8f5;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 6px;
  border-bottom: none;
}

.dossier-notes-row .dossier-col-label {
  max-width: 100%;
}

.dossier-notes-val {
  text-align: left;
  font-size: 13.5px;
  color: var(--ink);
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid var(--brass, #c9a464);
}

@media (max-width: 768px) {
  .dossier-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }
  .dossier-col-label {
    flex: auto;
    max-width: 100%;
  }
  .dossier-col-val {
    text-align: left;
    padding-left: 13px;
  }
  .dossier-artwork-flex {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   REDESIGNED ACTIONS (HERO WHATSAPP + BALANCED SECONDARY BUTTONS)
   ========================================================================== */
.rfq-actions-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Hero WhatsApp Button */
.rfq-hero-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #df7716, #c9a464);
  color: #08111e !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 16px 24px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(201, 164, 100, 0.35);
  transition: all 0.25s var(--ease-out-expo);
  cursor: pointer;
}

.rfq-hero-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 164, 100, 0.45);
  filter: brightness(1.04);
}

.hero-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-btn-icon {
  width: 44px;
  height: 44px;
  background: rgba(8, 17, 30, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-btn-icon svg {
  width: 22px;
  height: 22px;
  stroke: #08111e;
}

.hero-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-btn-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: #08111e;
  line-height: 1.25;
}

.hero-btn-sub {
  font-size: 12px;
  color: rgba(8, 17, 30, 0.75);
  font-weight: 500;
  line-height: 1.3;
}

.hero-btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(8, 17, 30, 0.12);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.hero-btn-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #08111e;
}

.rfq-hero-action-btn:hover .hero-btn-arrow {
  transform: translateX(4px);
}

/* Secondary Actions Bar */
.rfq-sub-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-sub-btn {
  flex: 1 1 180px !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  text-align: center !important;
  font-size: 12px !important;
  padding: 13px 18px !important;
  letter-spacing: 0.06em !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px;
}

@media (max-width: 680px) {
  .rfq-hero-action-btn {
    padding: 14px 18px;
    gap: 10px;
  }
  .hero-btn-title {
    font-size: 15px;
  }
  .hero-btn-sub {
    font-size: 11px;
  }
  .hero-btn-arrow {
    display: none;
  }
  .action-sub-btn {
    flex: 1 1 100% !important;
  }
}

/* Screen mode hides dedicated print letterhead & print footer */
@media screen {
  .print-letterhead,
  .print-footer-block {
    display: none !important;
  }
}

/* ================= PRINT ENGINE STYLES (A4 SINGLE SHEET) ================= */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 14mm 12mm 14mm;
  }

  html, body {
    background: #ffffff !important;
    color: #08111e !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Completely collapse all website chrome, header, map, and footer */
  header,
  .header,
  .site-header,
  footer,
  .footer,
  .site-footer,
  .wa-float,
  #location,
  .map-section,
  .mill-map-section,
  .page-hero,
  .contact-hero,
  .contact-info,
  #quoteForm,
  .rfq-actions-container,
  .scroll-top,
  .no-print,
  .rfq-success-hero,
  .rfq-turnaround-box,
  .rfq-mode-nav,
  main > section:not(.contact-section) {
    display: none !important;
  }

  main {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Force container and success screen into standard document flow */
  .contact-section,
  .wrap.contact,
  #rfqSuccessScreen {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  /* Dedicated Official Mill Letterhead */
  .print-letterhead {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    border-bottom: 2px solid #08111e !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
    page-break-after: avoid !important;
  }

  .print-brand-col {
    max-width: 62% !important;
  }

  .print-mill-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    color: #08111e !important;
    margin: 0 0 2px !important;
    line-height: 1.2 !important;
    font-family: serif, "Playfair Display", Georgia, Times, serif !important;
  }

  .print-mill-sub {
    font-size: 9.5px !important;
    color: #444444 !important;
    margin: 0 0 2px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
  }

  .print-mill-addr {
    font-size: 9px !important;
    color: #666666 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }

  .print-meta-col {
    text-align: right !important;
  }

  .print-doc-badge {
    display: inline-block !important;
    background: #08111e !important;
    color: #ffffff !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    padding: 2px 7px !important;
    border-radius: 3px !important;
    margin-bottom: 3px !important;
  }

  .print-meta-item {
    font-size: 9px !important;
    color: #333333 !important;
    margin: 1.5px 0 !important;
    line-height: 1.25 !important;
  }

  /* Table & Dossier Print optimization */
  .rfq-dossier-card {
    border: 1.5px solid #08111e !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
    background: #ffffff !important;
    page-break-inside: avoid !important;
  }

  .dossier-head {
    background: #f4efe4 !important;
    border-bottom: 1.5px solid #08111e !important;
    padding: 7px 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .dossier-title {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #08111e !important;
    margin: 0 !important;
  }

  .dossier-tag {
    font-size: 8px !important;
    color: #666666 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
  }

  .dossier-status-badge {
    border: 1px solid #16a34a !important;
    color: #166534 !important;
    background: #f0fdf4 !important;
    font-size: 8.5px !important;
    padding: 1.5px 7px !important;
    border-radius: 12px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .dossier-table {
    display: block !important;
  }

  .dossier-row {
    padding: 5px 12px !important;
    border-bottom: 1px solid #e5dfd3 !important;
    font-size: 10.5px !important;
    display: grid !important;
    grid-template-columns: 200px 1fr !important;
    align-items: center !important;
    page-break-inside: avoid !important;
  }

  .dossier-row:last-child {
    border-bottom: none !important;
  }

  .dossier-col-label {
    color: #555555 !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .label-bullet {
    width: 4px !important;
    height: 4px !important;
    background: #c9a464 !important;
    border-radius: 50% !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .dossier-col-val {
    color: #08111e !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
  }

  .dossier-artwork-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .dossier-artwork-flex #recapVariant {
    flex: 1 1 auto !important;
    word-break: break-word !important;
    max-width: calc(100% - 90px) !important;
  }

  .dossier-img-preview-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #c9a464 !important;
    border-radius: 3px !important;
    padding: 2px !important;
    box-shadow: none !important;
    max-height: 48px !important;
    max-width: 75px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .dossier-img-preview-box img {
    max-height: 44px !important;
    max-width: 71px !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    display: block !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .dossier-badge {
    border: 1px solid #c9a464 !important;
    background: #faf8f3 !important;
    color: #08111e !important;
    padding: 1px 5px !important;
    font-size: 8.5px !important;
    border-radius: 3px !important;
    margin-left: 5px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .dossier-notes-val {
    background: #faf8f5 !important;
    border-left: 3px solid #c9a464 !important;
    padding: 4px 8px !important;
    font-size: 9.5px !important;
    border-radius: 0 3px 3px 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Commercial Print Footer */
  .print-footer-block {
    display: block !important;
    margin-top: 8px !important;
    padding-top: 6px !important;
    border-top: 1px solid #08111e !important;
    font-size: 9px !important;
    color: #333333 !important;
    line-height: 1.35 !important;
    page-break-inside: avoid !important;
  }

  .print-guarantee-box {
    background: #fbf9f4 !important;
    border-left: 3px solid #c9a464 !important;
    padding: 5px 8px !important;
    margin-bottom: 5px !important;
    font-size: 9px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .print-disclaimer-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 8px !important;
    color: #666666 !important;
  }
}

/* RFQ Wizard Navigation Buttons */
.wizard-actions .prev-step-btn,
.prev-step-btn {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid rgba(8, 17, 30, 0.28);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
}

.wizard-actions .prev-step-btn:hover,
.prev-step-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(8, 17, 30, 0.35);
}

.prev-step-btn svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
  transition: transform 0.25s ease;
}

.prev-step-btn:hover svg {
  transform: rotate(180deg) translateX(4px);
}

@media (max-width: 900px) {
  .fabric-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .wizard-progress .step-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .fabric-select-grid {
    grid-template-columns: 1fr;
  }

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

  .rfq-wizard {
    padding: 24px 16px !important;
  }

  .grid2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .wizard-actions {
    flex-direction: column-reverse;
    gap: 12px;
    align-items: stretch;
  }

  .wizard-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    text-align: center;
  }

  .wizard-actions.right-only {
    flex-direction: column;
  }

  .dual-submit-wrap {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .dual-submit-wrap .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .wizard-progress {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .wizard-line {
    margin-inline: 8px !important;
  }
}

@media (max-width: 580px) {
  .order-type-toggle {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .toggle-opt {
    width: 100%;
    flex: none;
    text-align: center;
  }

  .toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .preset-chips {
    gap: 6px;
  }

  .preset-chip {
    padding: 7px 11px !important;
    font-size: 11.5px !important;
  }
}

/* ==========================================================================
   FOOTER & WHATSAPP FLOAT
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--muted-light);
  font-size: 14.5px;
}

.footer .top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding-block: 84px 60px;
}

.footer .brand-name {
  color: var(--ivory);
}

.footer .brand-mark {
  border-color: var(--brass-2);
  color: var(--ivory);
}

.footer .brand-logo {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.footer p.about {
  margin-top: 22px;
  max-width: 36ch;
}

.footer h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 13px;
}

.footer a {
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}

.footer a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer .bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1ea858;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 38px rgba(30, 168, 88, 0.45);
}

.wa-float[hidden] {
  display: none;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   SCROLL REVEAL CHOREOGRAPHY
   ========================================================================== */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
  transition-delay: var(--rv-delay, 0ms);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .rv,
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero-actions,
  .swatch-stack,
  .page-hero h1,
  .page-hero .lead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .page-curtain {
    display: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1020px) {

  .hero>.wrap,
  .split,
  .markets,
  .contact,
  .section-head,
  .collection-hero-grid,
  .company-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rfq-wizard,
  .rfq-flow-pane,
  .wizard-pane,
  .field-block,
  .field {
    min-width: 0;
    max-width: 100%;
  }

  .rfq-wizard .btn {
    white-space: normal;
    text-align: center;
    word-break: normal;
  }

  .collection-hero-media {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    margin-top: 16px;
  }

  .company-hero-media {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
    margin-top: 24px;
  }

  .luxury-drape-visual,
  .swatch-deck-interactive {
    transform: none !important;
    margin-inline: auto;
  }

  .swatch-stack {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .cat-grid,
  .values {
    grid-template-columns: 1fr;
  }

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

  .steps,
  .stats,
  .hero-meta .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .step {
    padding-right: 22px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .on-dark .stat:nth-child(n+3) {
    border-top: 1px solid var(--line-dark);
  }

  .hero-meta .wrap>div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .hero-meta .wrap>div:nth-child(n+3) {
    border-top: 1px solid var(--line-dark);
  }

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

  .frame {
    max-width: 480px;
    margin-inline: 18px;
  }

  .hero>.wrap,
  .split,
  .markets,
  .contact,
  .section-head,
  .collection-hero-grid,
  .company-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rfq-wizard,
  .rfq-flow-pane,
  .wizard-pane,
  .field-block,
  .field {
    min-width: 0;
    max-width: 100%;
  }

  .rfq-wizard .btn {
    white-space: normal;
    text-align: center;
    word-break: normal;
  }

  .collection-hero-media {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    margin-top: 16px;
  }

  .company-hero-media {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
    margin-top: 24px;
  }

  .luxury-drape-visual {
    transform: none !important;
    margin-inline: auto;
  }

  .swatch-stack {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .cat-grid,
  .values {
    grid-template-columns: 1fr;
  }

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

  .steps,
  .stats,
  .hero-meta .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .step {
    padding-right: 22px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .on-dark .stat:nth-child(n+3) {
    border-top: 1px solid var(--line-dark);
  }

  .hero-meta .wrap>div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .hero-meta .wrap>div:nth-child(n+3) {
    border-top: 1px solid var(--line-dark);
  }

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

  .frame {
    max-width: 480px;
    margin-inline: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 32px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(8, 17, 30, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.35s var(--ease-out-expo), visibility 0.3s;
    max-height: calc(100vh - var(--header-h, 74px));
    overflow-y: auto;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a:not(.btn) {
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav .btn {
    margin-top: 22px;
    width: auto;
    padding: 15px 28px;
  }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.pillar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.pillar-card h3 {
  font-size: 23px;
  color: var(--ink);
}

.pillar-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.pillar-card ul {
  list-style: none;
  margin-top: 8px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
}

.pillar-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.pillar-card li::before {
  content: "•";
  color: var(--brass);
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar .hide-sm {
    display: none;
  }

  .fabrics,
  .grid2 {
    grid-template-columns: 1fr;
  }

  .steps,
  .stats {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:first-child {
    border-top: 0;
  }

  .brand-name {
    font-size: 19px;
  }

  .swatch-tag {
    display: none;
  }

  .footer .top {
    grid-template-columns: 1fr;
    padding-block: 56px 40px;
  }

  .hero-meta b {
    font-size: 28px;
  }

  .hero-meta .wrap>div {
    padding: 20px 14px;
  }

  .cat-body {
    padding: 28px;
  }
}

/* ==========================================================================
   CERTIFICATIONS & COMPLIANCE
   ========================================================================== */
.cert-trust-bar {
  background: #fbf9f4;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

.cert-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cert-trust-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.cert-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(223, 119, 22, 0.18);
}

.cert-trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cert-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cert-trust-item img {
  height: 22px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  display: block;
}

.cert-trust-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.cert-trust-item:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 17, 30, 0.08);
}

/* ==========================================================================
   GROUP COMPANIES (Company Page)
   ========================================================================== */
#who-we-are {
  padding-bottom: clamp(24px, 3.5vw, 44px);
}

/* Company Page Hero Credentials Bar */
.hero-credentials-bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  padding: 12px 18px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 164, 100, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(8, 17, 30, 0.04);
  width: fit-content;
}

.hero-cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-cred-item svg {
  width: 15px;
  height: 15px;
  color: var(--brass);
  flex-shrink: 0;
}

.hero-cred-divider {
  width: 1px;
  height: 16px;
  background: rgba(8, 17, 30, 0.14);
}

@media (max-width: 640px) {
  .hero-credentials-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
    width: 100%;
  }
  .hero-cred-divider {
    display: none;
  }
}

/* Mill Foundation Dossier Plaque (Who We Are) */
.mill-plaque {
  position: relative;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(201, 164, 100, 0.35);
  box-shadow: 0 16px 40px -12px rgba(8, 17, 30, 0.08);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mill-plaque:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -12px rgba(8, 17, 30, 0.14);
}

.mill-plaque-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.mill-plaque-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.mill-plaque-coords {
  font-size: 11.5px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.mill-plaque-swatch-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.mill-plaque-swatch {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out-expo);
}

.mill-plaque:hover .mill-plaque-swatch {
  transform: scale(1.04);
}

.mill-plaque-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(8, 17, 30, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f6f2e8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201, 164, 100, 0.3);
}

.mill-plaque-badge svg {
  width: 14px;
  height: 14px;
  color: var(--brass-2);
}

.mill-plaque-footer {
  margin-top: auto;
}

.mill-plaque-cap small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.mill-plaque-cap h4 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 25px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.group-companies-section {
  padding-top: clamp(20px, 3vw, 38px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.journey-section {
  padding-top: clamp(24px, 3.5vw, 44px);
}

.group-companies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 28px;
}

.group-card {
  border-radius: 14px;
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(8, 17, 30, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(8, 17, 30, 0.2);
}

.group-card-flagship {
  background: #08111e;
  color: #ffffff;
  border: 1px solid rgba(201, 164, 100, 0.35);
  box-shadow: 0 16px 42px -10px rgba(8, 17, 30, 0.28);
}

.group-card-subsidiary {
  background: #0f1d32;
  color: #ffffff;
  border: 1px solid rgba(201, 164, 100, 0.28);
  box-shadow: 0 16px 42px -10px rgba(8, 17, 30, 0.25);
}

.group-card-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}

.group-card-flagship .group-card-tag {
  color: #c9a464;
}

.group-card-subsidiary .group-card-tag {
  color: #c9a464;
}

.group-card h3 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  line-height: 1.2;
  color: #ffffff;
}

.group-card p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 24px;
  color: rgba(246, 242, 232, 0.85);
}

.group-metrics {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: clamp(16px, 2.5vw, 32px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.group-metric b {
  display: block;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.group-metric.accent b {
  color: #c9a464;
}

.group-metric.white b {
  color: #ffffff;
}

.group-metric span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 242, 232, 0.65);
}

.subsidiary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 20px 0;
}

.subsidiary-footer {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(246, 242, 232, 0.88);
  margin-top: auto;
}

.subsidiary-footer strong {
  font-weight: 700;
  color: #c9a464;
}

@media (max-width: 860px) {
  .group-companies-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OUR JOURNEY & MILESTONES (Company Page)
   ========================================================================== */
.journey-timeline {
  position: relative;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 32px;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 40px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--brass) 0%, rgba(201, 164, 100, 0.25) 100%);
}

.journey-item {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(26px, 3.5vw, 38px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
  box-shadow: 0 4px 20px rgba(8, 17, 30, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.journey-item::before {
  content: "";
  position: absolute;
  top: 36px;
  left: -32px;
  width: 20px;
  height: 2px;
  background: var(--brass);
}

.journey-item::after {
  content: "";
  position: absolute;
  top: 31px;
  left: -37px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--brass);
  box-shadow: 0 0 0 3px rgba(201, 164, 100, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.journey-item:hover::after {
  transform: scale(1.25);
  background: var(--brass);
}

.journey-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -6px rgba(8, 17, 30, 0.09);
  border-color: rgba(201, 164, 100, 0.45);
}

.journey-item.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #fbf9f4 100%);
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: 0 8px 28px -6px rgba(201, 164, 100, 0.15);
}

.journey-item.highlight::after {
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(201, 164, 100, 0.35);
}

.journey-era {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.journey-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--line);
}

.journey-item.highlight .journey-badge {
  background: var(--brass-glow);
  color: var(--ink);
  border-color: rgba(197, 160, 89, 0.35);
}

.journey-year {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
  margin-top: 4px;
}

.journey-content h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 29px);
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.25;
}

.journey-content p {
  color: #4a5568;
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}

.journey-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.journey-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #f7f5ef;
  border: 1px solid rgba(8, 17, 30, 0.08);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.journey-tag.accent {
  background: rgba(197, 160, 89, 0.12);
  border-color: rgba(197, 160, 89, 0.3);
  color: #7a5c18;
}

@media (max-width: 820px) {
  .journey-timeline {
    padding-left: 0;
  }
  .journey-timeline::before,
  .journey-item::before,
  .journey-item::after {
    display: none;
  }
  .journey-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   CAPABILITIES ARCHITECTURAL GRID (Company Page)
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 36px;
}

.capability-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 32px) 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px -8px rgba(8, 17, 30, 0.08);
  border-color: rgba(201, 164, 100, 0.4);
}

.capability-card:hover::before {
  opacity: 1;
}

.cap-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--sand);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  margin-bottom: 20px;
}

.cap-card-icon svg {
  width: 22px;
  height: 22px;
}

.cap-stat {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
  display: block;
}

.cap-title {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 960px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* Company Page Certifications Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cert-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s, border-color 0.3s;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 17, 30, 0.07);
  border-color: var(--brass);
}

.cert-badge-wrap {
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 18px;
  margin-bottom: 22px;
}

.cert-logo {
  object-fit: contain;
  display: block;
}

.cert-logo-sq {
  height: 64px;
  width: 64px;
}

.cert-logo-rect {
  max-height: 48px;
  max-width: 150px;
  width: auto;
}

.cert-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.cert-meta h3 {
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}

.cert-meta p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.cert-compliance-note {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.cert-note-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brass);
}

.cert-note-icon svg {
  width: 22px;
  height: 22px;
}

.cert-compliance-note h4 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.cert-compliance-note p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1020px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .cert-trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cert-trust-badges {
    gap: 10px;
    width: 100%;
  }

  .cert-trust-item {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    padding: 6px 10px;
  }

  .cert-compliance-note {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==========================================================================
   INTERACTIVE DARK LUXURY MAP SECTION
   ========================================================================== */

.map-section {
  position: relative;
  background: var(--ink) !important;
  color: var(--ivory);
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 164, 100, 0.15);
  border-bottom: 1px solid rgba(201, 164, 100, 0.15);
}

.map-section .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}

.map-section .section-head > div {
  flex: 1 1 540px;
  max-width: 680px;
}

.map-section .section-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  margin-top: 14px;
  color: var(--ivory) !important;
  letter-spacing: -0.01em;
}

.map-section .section-head h2 em {
  color: var(--brass-2) !important;
  font-style: italic;
}

.map-section .section-head .eyebrow {
  color: var(--brass-2) !important;
}

.map-section .section-head .lead {
  flex: 0 1 420px;
  max-width: 440px;
  margin-top: clamp(14px, 2.8vw, 42px);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-light);
}

.map-section::before {
  display: none !important;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin-top: 36px;
}

.map-frame {
  position: relative;
  height: 100%;
  min-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 100, 0.28);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  background: #090e17;
}

.map-frame iframe,
.map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

.map-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

/* Pulsing Mill Marker */
.pulse-marker-wrap,
.pulse-marker-wrap.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  position: relative !important;
  pointer-events: auto;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.pulse-marker-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #df7716, #c9a464);
  box-shadow: 0 0 14px #c9a464, 0 0 4px #fff;
  border: 2px solid #ffffff;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}

.pulse-marker-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(201, 164, 100, 0.45);
  animation: radarPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 1;
  box-sizing: border-box;
}

.pulse-marker-wave-delayed {
  animation-delay: 1.2s;
}

@keyframes radarPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Interactive Map View Switcher Control */
.map-view-switcher {
  display: inline-flex;
  background: rgba(8, 17, 30, 0.9) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 164, 100, 0.35) !important;
  border-radius: 30px !important;
  padding: 3px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  margin: 12px 12px 0 0 !important;
  z-index: 1000 !important;
}

.map-view-switcher .view-btn {
  border: none;
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.22s var(--ease-out-expo);
  outline: none;
}

.map-view-switcher .view-btn:hover {
  color: var(--brass-2);
}

.map-view-switcher .view-btn.active {
  background: var(--brass-2) !important;
  color: var(--ink) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media (max-width: 580px) {
  .map-view-switcher {
    margin: 8px 8px 0 0 !important;
    padding: 2px !important;
  }
  .map-view-switcher .view-btn {
    font-size: 10px;
    padding: 5px 10px;
  }
}

/* Leaflet Custom Overrides */
.leaflet-popup-content-wrapper {
  background: rgba(8, 17, 30, 0.94) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 164, 100, 0.35) !important;
  border-radius: 4px !important;
  color: var(--ivory) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7) !important;
  padding: 6px !important;
}

.leaflet-popup-tip {
  background: rgba(8, 17, 30, 0.94) !important;
  border: 1px solid rgba(201, 164, 100, 0.35) !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--ivory) !important;
  padding: 6px 8px 0 0 !important;
}

.leaflet-bar a {
  background-color: rgba(8, 17, 30, 0.88) !important;
  border-color: rgba(201, 164, 100, 0.25) !important;
  color: var(--ivory) !important;
  backdrop-filter: blur(6px);
}

.leaflet-bar a:hover {
  background-color: var(--brass) !important;
  color: var(--ink) !important;
}

.map-popup-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ivory);
  margin: 0 0 4px;
}

.map-popup-card p {
  font-size: 12px;
  color: var(--muted-light);
  margin: 0 0 8px;
  line-height: 1.4;
}

.map-popup-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass-2);
  text-decoration: none;
}

/* Map Atelier Info Card (Side panel) */
.map-info-card {
  background: #0d192b !important;
  border: 1px solid rgba(201, 164, 100, 0.32) !important;
  border-radius: 12px;
  height: 100%;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.map-info-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.map-info-header .badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass-2);
  margin-bottom: 8px;
  font-weight: 600;
}

.map-info-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ivory);
  margin: 0 0 8px;
}

.map-info-header p {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.6;
  margin: 0;
}

.map-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.map-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.map-detail-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  border-radius: 50%;
  background: rgba(201, 164, 100, 0.12);
  border: 1px solid rgba(201, 164, 100, 0.24);
  color: var(--brass-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-detail-icon svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: block;
}

.map-detail-text small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass-2);
  margin-bottom: 3px;
  font-weight: 500;
}

.map-detail-text p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ivory);
  line-height: 1.5;
}

.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.map-actions .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

@media (max-width: 960px) {
  .map-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .map-frame {
    min-height: 360px;
  }
}

/* ==========================================================================
   COLOR TREND & MOOD INSPIRATION (Home Page)
   ========================================================================== */
.trends-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(72px, 9vw, 120px);
}

.trends-section .wrap {
  max-width: 1320px;
}

.trend-cards-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
  margin-top: 48px;
}

.trend-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.22fr 0.88fr;
  box-shadow: 0 14px 38px -10px rgba(8, 17, 30, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.trend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(8, 17, 30, 0.15);
  border-color: var(--brass);
}

.trend-card.reverse {
  grid-template-columns: 0.88fr 1.22fr;
}

.trend-media {
  position: relative;
  overflow: hidden;
  background: #f7f5ef;
  min-height: clamp(400px, 34vw, 520px);
}

.trend-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.trend-card:hover .trend-media img {
  transform: scale(1.03);
}

.trend-content {
  padding: clamp(44px, 5.5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.trend-title {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c554e;
  line-height: 1.15;
  margin: 0 0 22px;
}

.trend-desc {
  font-size: 16.5px;
  line-height: 1.8;
  color: #58534d;
  margin: 0 0 28px;
}

@media (max-width: 900px) {
  .trend-card,
  .trend-card.reverse {
    grid-template-columns: 1fr;
  }

  .trend-media {
    min-height: 280px;
    max-height: 380px;
  }

  .trend-content {
    padding: clamp(32px, 5vw, 48px);
  }
}

[hidden] {
  display: none !important;
}