/* ==========================================================================
   HIBERNATION - Premium Hospitality Textiles
   Brand: royal plum + champagne gold, set on warm ivory with charcoal text.
   ========================================================================== */

:root {
  --ivory: #f8f5ef;
  --paper: #fdfbf7;
  --sand: #f0eadf;
  --line: #e1d8ca;
  --line-strong: #cbbfad;

  --ink: #1f1a1e;
  --ink-2: #463e44;
  --muted: #655c62;

  --plum: #2e1038;
  --plum-2: #4a1d59;
  --plum-3: #5c2d6e;
  --plum-tint: #f3edf4;

  --gold: #b8955d;          /* rules, accents */
  --gold-text: #7a5c30;     /* small gold text on ivory (AA) */
  --gold-light: #dfc28c;    /* on plum */

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 3px;
  --radius-lg: 6px;
  --shadow: 0 1px 2px rgba(31, 26, 30, 0.04), 0 8px 24px rgba(31, 26, 30, 0.06);
  --shadow-lg: 0 2px 4px rgba(31, 26, 30, 0.05), 0 18px 48px rgba(31, 26, 30, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a, li a, td a, .prose a { color: var(--plum-3); text-decoration: underline; text-decoration-color: rgba(92, 45, 110, 0.35); }
p a:hover, li a:hover, td a:hover, .prose a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { text-wrap: pretty; }

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

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

[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--plum); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.wrap.narrow { max-width: calc(780px + 2 * var(--gutter)); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.note { margin-top: 24px; color: var(--muted); font-size: 0.95rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--plum-3); font-weight: 600; font-size: 0.95rem;
  text-decoration: underline; text-decoration-color: rgba(92, 45, 110, 0.35);
}
.text-link:hover { text-decoration-color: currentColor; }

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--plum); color: var(--paper); }
.btn-primary:hover { background: var(--plum-3); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { color: var(--plum-3); padding-inline: 4px; min-height: 40px; text-decoration: underline; text-decoration-color: rgba(92, 45, 110, 0.35); text-underline-offset: 4px; }
.btn-ghost:hover { text-decoration-color: currentColor; }
.btn-light { background: var(--paper); color: var(--plum); }
.btn-light:hover { background: var(--gold-light); }
.btn-outline-light { border-color: rgba(253, 251, 247, 0.6); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--plum); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink);
}

/* ---------- Utility bar & header ---------- */
.utility-bar { background: var(--plum); color: #e9dfe9; font-size: 0.8125rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility-bar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding-block: 8px; }
.utility-bar a:hover { color: var(--gold-light); }
.region-select { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; }
.region-label { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.utility-contact { display: flex; gap: 20px; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 150px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.primary-nav li { position: relative; }
.has-menu { display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--plum); }
.nav-link[aria-current="page"] { border-bottom-color: var(--gold); }
.menu-toggle { display: inline-grid; place-items: center; width: 24px; height: 44px; margin-left: -8px; border: 0; background: none; color: var(--muted); }
.menu-toggle .icon { transition: transform 0.2s var(--ease); }
.has-menu.open .menu-toggle .icon { transform: rotate(180deg); }
.menu-panel {
  position: absolute; top: 100%; left: -12px; z-index: 60;
  min-width: 250px; padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; gap: 20px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.menu-wide { grid-template-columns: repeat(3, minmax(170px, 1fr)); min-width: 620px; }
.has-menu.open .menu-panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel { opacity: 1; visibility: visible; transform: none; }
}
.menu-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.menu-group ul { list-style: none; padding: 0; }
.menu-group a { display: block; padding: 6px 0; font-size: 0.92rem; color: var(--ink-2); text-decoration: none; }
.menu-group a:hover, .menu-group a[aria-current="page"] { color: var(--plum-3); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(31, 26, 30, 0.45); }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(92vw, 400px);
  background: var(--ivory); display: flex; flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head .brand img { width: 130px; }
.drawer-links { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.drawer-links > li { border-bottom: 1px solid var(--line); }
.drawer-links a, .drawer-links summary {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 52px; padding: 0 4px; font-size: 1.05rem; font-weight: 500; text-decoration: none; color: var(--ink);
}
.drawer-links summary { cursor: pointer; list-style: none; }
.drawer-links summary::-webkit-details-marker { display: none; }
.drawer-links details[open] summary .icon { transform: rotate(180deg); }
.drawer-links details ul { list-style: none; padding: 0 0 12px 12px; }
.drawer-links details a { min-height: 44px; font-size: 0.98rem; color: var(--ink-2); }
.drawer-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 18px 0; font-size: 0.82rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 4px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--plum-3); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* ---------- Heroes ---------- */
.home-hero { padding-block: clamp(32px, 5vw, 64px) var(--section); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-hero h1 { display: grid; gap: 18px; font-size: inherit; }
.h1-brand { font-size: clamp(2.7rem, 1.6rem + 4.2vw, 4.9rem); line-height: 1.02; color: var(--plum); letter-spacing: -0.02em; }
.h1-sub { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.25; color: var(--ink); }
.home-hero .lead { margin-top: 24px; max-width: 34em; }
.home-hero-media { position: relative; }
.home-hero-media img { aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.home-hero-media::after {
  content: ''; position: absolute; inset: auto -14px -14px auto; width: 42%; height: 42%;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); pointer-events: none;
}

.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-copy .lead { margin-top: 20px; max-width: 36em; }
.page-hero-media img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.page-hero-text { padding-block: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero-text .lead { margin-top: 18px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(32px, 4vw, 48px); }
.section-alt { background: var(--sand); }
.section + .section:not(.section-alt):not(.cta-band) { padding-top: calc(var(--section) * 0.4); }
.section-alt + .section { padding-top: var(--section); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 14px; }
.section-title { margin-bottom: 0; }
.split > div > .section-title, .split > .prose > .section-title { margin-bottom: 18px; }
.panel-title { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 16px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.split .section-head { margin-bottom: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.collection-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.collection-intro .section-head { margin-bottom: 0; }
.collection-intro .section-title a { text-decoration: none; color: inherit; }
.collection-intro .section-title a:hover { color: var(--plum-3); }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 28px clamp(12px, 2vw, 28px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dd { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1; color: var(--plum); margin: 0; }
.stat dt { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.stats-band { padding-top: 0 !important; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { overflow: hidden; background: var(--sand); }
.card-media img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.8s var(--ease); }
.card-media-wide img { aspect-ratio: 16 / 9; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.card-body p { color: var(--muted); font-size: 0.95rem; }
.card-kicker { font-size: 0.72rem !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text) !important; }
.card-title { font-size: 1.3rem; }
.card-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--plum-3); }
.card:hover .card-more .icon { transform: translateX(3px); }
.card-more .icon { transition: transform 0.3s var(--ease); }

.collection-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.collection-media { display: block; overflow: hidden; }
.collection-media img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.collection-card:hover .collection-media img { transform: scale(1.035); }
.collection-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.collection-body > p:not(.card-kicker) { color: var(--muted); }
.collection-body .card-title a { text-decoration: none; color: inherit; }
.collection-body .card-title a:hover { color: var(--plum-3); }
.collection-links { list-style: none; padding: 12px 0 0; margin-top: auto; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.collection-links a { display: block; padding: 6px 0; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.collection-links a:hover { color: var(--plum-3); }

.region-card { padding: 28px; border-top: 2px solid var(--gold); background: var(--paper); border-radius: 0 0 var(--radius-lg) var(--radius-lg); display: flex; flex-direction: column; gap: 10px; }
.region-card > p:not(.card-kicker) { color: var(--muted); }
.region-card .card-title a { text-decoration: none; }
.region-card .card-title a:hover { color: var(--plum-3); }

/* ---------- Region picker (first visit) ---------- */
.region-change { font: inherit; color: inherit; background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(233, 223, 233, 0.4); text-underline-offset: 3px; }
.region-change:hover { color: var(--gold-light); }
.region-dialog { margin: auto; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-top: 3px solid var(--gold); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.region-dialog::backdrop { background: rgba(31, 26, 30, 0.55); }
.region-dialog-inner { position: relative; padding: clamp(28px, 5vw, 40px); display: grid; gap: 12px; }
.region-dialog-inner .eyebrow { padding-right: 48px; }
.region-dialog-close { position: absolute; top: 12px; right: 12px; }
.region-dialog-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.2; color: var(--plum); }
.region-options { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 10px; }
.region-option { width: 100%; display: grid; gap: 2px; padding: 14px 18px; font: inherit; text-align: left; color: inherit; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ivory); transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.region-option:hover, .region-option:focus-visible { border-color: var(--plum-3); background: var(--plum-tint); }
.region-option-name { font-weight: 600; color: var(--plum); }
.region-option-places { font-size: 0.875rem; color: var(--muted); }

.feature { padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section-alt .feature { background: var(--paper); }
.feature h2, .feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.97rem; }

.pillars { counter-reset: pillar; }
.pillar { padding: 8px 8px 8px 0; }
.pillar-num { font-family: var(--font-serif); font-size: 0.95rem; color: var(--gold-text); display: block; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--gold); width: 48px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--muted); }

/* ---------- Spec panels & tables ---------- */
.spec-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.spec-panel .text-link { margin-top: 18px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table th { font-weight: 600; color: var(--ink); width: 42%; padding-right: 16px; }
.spec-table td { color: var(--ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; background: var(--paper); border: 1px solid var(--line); }
.data-table caption { text-align: left; font-size: 0.85rem; color: var(--muted); padding-bottom: 10px; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); background: var(--ivory); }
.size-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.size-list li { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); font-weight: 500; }

.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .icon { color: var(--gold); margin-top: 4px; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; }
.process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num { grid-row: span 2; font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold-text); line-height: 1.2; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.process-step p { color: var(--muted); font-size: 0.95rem; }
.section > .wrap > .process { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.section > .wrap > .process .process-step:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }

/* ---------- Related links ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.related-links h3 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.related-links ul { list-style: none; padding: 0; }
.related-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.related-links a:hover { color: var(--plum-3); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; line-height: 1.45; }
.faq-item summary .icon { color: var(--muted); transition: transform 0.25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 40px 22px 0; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--plum); color: #eee4ee; padding-block: clamp(48px, 7vw, 88px); }
.cta-band h2 { color: var(--paper); }
.cta-band p { margin-top: 12px; max-width: 36em; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner .actions { margin-top: 0; }

/* ---------- Catalogue ---------- */
.catalogue-teaser { align-items: center; }
.catalogue-teaser-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.viewer-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.viewer-tabs button {
  min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); font-size: 0.9rem; font-weight: 500; color: var(--ink-2);
}
.viewer-tabs button[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.viewer-page { max-width: 1000px; margin-inline: auto; }
.viewer-page img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--paper); }
.viewer-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 24px; }
.viewer-count { color: var(--muted); font-size: 0.9rem; min-width: 7em; text-align: center; }

/* ---------- Custom linen swatches ---------- */
.swatches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; }
.swatches li { display: grid; justify-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink-2); text-align: center; }
.swatch { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-strong); }
.swatch-pristine-white { background: #ffffff; }
.swatch-ivory { background: #f4ebd9; }
.swatch-plum { background: #22092b; }
.swatch-gold { background: #dfc28c; }
.swatch-slate { background: #9eb3c2; }
.swatch-lavender { background: #e8dff5; }
.swatch-charcoal { background: #4a5859; }
.swatch-terracotta { background: #d8b4a0; }

/* ---------- Contact ---------- */
.channel-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.channel-list a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
  transition: border-color 0.25s var(--ease);
}
.channel-list a:hover { border-color: var(--plum-3); }
.channel-list .icon { color: var(--plum-3); }
.channel-list span { display: grid; font-size: 0.95rem; color: var(--ink-2); }
.channel-list strong { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.channel-list-compact a { padding: 12px 14px; }

/* ---------- Forms ---------- */
.form-card, .quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field-label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum-3); box-shadow: 0 0 0 3px rgba(92, 45, 110, 0.15); }
.field [aria-invalid="true"] { border-color: #a4262c; }
.field-error { font-size: 0.85rem; color: #a4262c; }
.field-hint { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 20px; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.check-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 0.95rem; line-height: 1.4; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--plum-3); flex: none; }
.check:has(input:checked) { border-color: var(--plum-3); background: var(--plum-tint); }
.consent { border: 0; background: none; padding: 0; margin-top: 20px; }
.consent:has(input:checked) { background: none; }
.form-status { font-size: 0.95rem; margin-block: 8px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #a4262c; }
.form-status.is-success { color: #1f5b3a; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.form-nav [data-step-next] { margin-left: auto; }
.form-fallback { margin-top: 8px; font-size: 0.92rem; color: var(--ink-2); }
.form-status.is-success { padding: 14px 16px; background: #eef6f0; border: 1px solid #cfe5d6; border-radius: var(--radius); }
.send-options { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.contact .send-options, .enquiry-form .send-options { margin-left: 0; }
.btn-whatsapp { background: #1a7f45; color: #fff; }
.btn-whatsapp:hover { background: #146a39; }
.form-success { text-align: left; }
.form-success h2 { margin-bottom: 12px; }
.form-success p { color: var(--ink-2); }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.quote-aside > p { color: var(--muted); margin-bottom: 12px; }
.stepper { list-style: none; padding: 0 0 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 0.8rem; font-weight: 600; background: #fff; }
.stepper li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.stepper li[aria-current="step"] .step-num { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.stepper li.is-done .step-num { background: var(--gold-light); border-color: var(--gold-light); color: var(--plum); }
.review-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-top: 1px solid var(--line); }
.review-list dt, .review-list dd { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; margin: 0; }
.review-list dt { font-weight: 600; padding-right: 16px; }
.review-list dd { color: var(--ink-2); overflow-wrap: anywhere; }

/* ---------- Articles ---------- */
.article-header { padding-block: clamp(24px, 4vw, 48px) 28px; }
.article-meta { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.article-media img { border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { padding-block: 40px; font-size: 1.05rem; }
.article-body .table-wrap { margin-block: 1.5em; }
.article-footer { padding-bottom: var(--section); }
.article-footer p { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--gold); color: var(--ink-2); font-size: 0.95rem; }
.draft-notice { padding: 14px 18px; background: #fbf3e2; border: 1px solid #ead7ae; border-radius: var(--radius); color: #6a4d1a; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #1d0a24; color: #cfc2d0; font-size: 0.92rem; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 150px; height: auto; }
.footer-positioning { margin-top: 16px; font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold-light); }
.footer-brand > p:not(.footer-positioning) { margin-top: 10px; max-width: 30em; }
.footer-contact { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 4px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; color: #e6dde6; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-title { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { display: inline-block; padding: 5px 0; text-decoration: none; color: #cfc2d0; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.84rem; }
.footer-legal { display: flex; gap: 20px; list-style: none; padding: 0; }
.footer-legal a { text-decoration: none; color: #cfc2d0; }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Mobile quick-action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-link { padding: 0 7px; font-size: 0.86rem; }
  .brand img { width: 128px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .home-hero-grid, .page-hero-grid, .split, .split-wide, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .home-hero-media { order: -1; }
  .home-hero-media::after { display: none; }
  .home-hero-media img { aspect-ratio: 3 / 2; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .spec-panel, .quote-aside { position: static; }
  .section > .wrap > .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section > .wrap > .process .process-step:nth-last-child(-n+3) { border-bottom: 0; }
  .section > .wrap > .process .process-step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --header-h: 68px; }
}

@media (max-width: 899px) {
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--paper); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -6px 20px rgba(31, 26, 30, 0.06);
  }
  .mobile-bar a { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; min-height: 58px; font-size: 0.75rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
  .mobile-bar .mobile-bar-primary { background: var(--plum); color: var(--paper); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .utility-contact { display: none; }
  .utility-inner { justify-content: center; }
}

@media (max-width: 719px) {
  .grid-2, .grid-3, .grid-4, .field-row, .check-grid, .check-grid-2, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section > .wrap > .process { grid-template-columns: minmax(0, 1fr); }
  .section > .wrap > .process .process-step { border-bottom: 0 !important; }
  .section > .wrap > .process .process-step:last-child { border-bottom: 1px solid var(--line) !important; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .swatch { width: 48px; height: 48px; }
  .header-actions .btn { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .stepper .step-label { display: none; }
  .stepper li[aria-current="step"] .step-label { display: inline; }
  .review-list { grid-template-columns: minmax(0, 1fr); }
  .review-list dt { border-bottom: 0; padding-bottom: 0; }
  .viewer-tabs button { flex: 1 1 40%; }
  .actions .btn, .send-options .btn { flex: 1 1 auto; }
  .form-nav { flex-wrap: wrap; }
  .send-options { width: 100%; }
  .region-label { display: none; }
}

@media (max-width: 420px) {
  .region-select a { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  .utility-bar, .site-header, .mobile-bar, .drawer, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ==========================================================================
   Certifications
   ========================================================================== */
.cert-badge {
  display: inline-grid; justify-items: center; gap: 2px; min-width: 168px;
  padding: 16px 22px 14px; border: 1px solid var(--gold); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--ink); text-align: center; line-height: 1.2;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px rgba(184, 149, 93, 0.45);
}
.cert-badge-mark { font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: 0.02em; color: var(--plum); }
.cert-badge-std { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.cert-badge-tag { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 0.72rem; color: var(--muted); }
.cert-badge-dark { background: transparent; color: var(--paper); border-color: rgba(223, 194, 140, 0.6); box-shadow: inset 0 0 0 4px #1d0a24, inset 0 0 0 5px rgba(223, 194, 140, 0.3); }
.cert-badge-dark .cert-badge-mark { color: var(--paper); }
.cert-badge-dark .cert-badge-std { color: var(--gold-light); }
.cert-badge-dark .cert-badge-tag { color: #cfc2d0; border-color: rgba(255, 255, 255, 0.14); }
.cert-badge-img { display: grid; place-items: center; min-height: 112px; padding: 14px 16px; background: #fff; }
/* Wide logos are limited by width, square ones (GOTS, ISO) by height, so both read at a similar size. */
.cert-badge-img img { width: auto; height: auto; max-width: 100%; max-height: 84px; }
.footer-certs .cert-badge-img { min-height: 0; padding: 6px 8px; }
.footer-certs .cert-badge-img img { max-height: 34px; }
.cert-link { display: inline-block; text-decoration: none; border-radius: var(--radius-lg); transition: transform 0.3s var(--ease); }
.cert-link:hover { transform: translateY(-2px); }

.cert-strip { display: grid; gap: 36px; }
.cert-strip-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; }
.cert-strip-head .section-head { margin-bottom: 0; max-width: 46em; }
.cert-strip-badges, .cert-hero-badges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cert-strip-badges .cert-link, .cert-hero-badges .cert-link { display: grid; }
.cert-strip-badges .cert-badge, .cert-hero-badges .cert-badge { min-width: 0; height: 100%; align-content: center; }
/* Home page: five separate items in one straight row, spaced apart, each with its own bottom rule. */
.cert-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.cert-row li { display: flex; border-bottom: 2px solid var(--gold); }
.cert-row a { display: grid; grid-template-rows: 80px auto; justify-items: center; align-items: center; gap: 14px; width: 100%; padding: 0 6px 20px; text-align: center; text-decoration: none; color: var(--ink); }
.cert-row img { width: auto; height: auto; max-width: 100%; max-height: 72px; mix-blend-mode: multiply; }
.cert-row-mark { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.1; color: var(--plum); }
.cert-row-std { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.cert-row-tag { align-self: start; max-width: 15em; font-size: 0.85rem; color: var(--ink-2); line-height: 1.4; }
.cert-row a:hover .cert-row-mark { color: var(--plum-3); }
@media (max-width: 959px) {
  .cert-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 599px) {
  .cert-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}
.footer-certs { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-certs .cert-badge { min-width: 0; padding: 8px 12px 7px; }
.footer-certs .cert-badge-mark { font-size: 0.95rem; }
.footer-certs .cert-badge-std { font-size: 0.6rem; letter-spacing: 0.16em; }
.footer-certs .cert-badge-tag { display: none; }

.cert-hero { border-bottom: 1px solid var(--line); }
.cert-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cert-hero .lead { margin-top: 20px; max-width: 36em; }
.cert-hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(20px, 3vw, 32px); background: var(--sand); border-radius: var(--radius-lg); }
.cert-hero-badges .cert-link:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }

.cert-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cert-card {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start;
  padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.cert-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 149, 93, 0.25); }
.cert-card-badge .cert-badge { width: 100%; min-width: 0; }
.cert-card-body { display: grid; gap: 12px; justify-items: start; }
.cert-card-body h3 { font-size: 1.3rem; }
.cert-card-body > p { color: var(--muted); font-size: 0.95rem; }
.cert-card-note { font-size: 0.88rem; color: var(--muted); font-style: italic; }
.cert-details { width: 100%; }
.cert-details > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.cert-details dt { font-weight: 600; color: var(--muted); }
.cert-details dd { margin: 0; color: var(--ink); }
.cert-list-title { margin-bottom: 18px; }
.cert-guide { text-align: center; }

@media (max-width: 1099px) {
  .cert-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959px) {
  .cert-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cert-strip-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .cert-strip-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-card { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .cert-card-badge { max-width: 220px; }
  .cert-details > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ==========================================================================
   Jacquard collection - plum & gold
   ========================================================================== */
/* Fabric tones for the woven-pattern illustrations (motif = currentColor). */
.weave { display: block; width: 100%; height: 100%; }
.weave .weave-base { fill: var(--weave-base); }
.weave .w-hi { fill: #fff; fill-opacity: .7; }
.tone-white { --weave-base: #fbfaf7; color: #ddd8ce; }
.tone-ivory { --weave-base: #f6efe1; color: #ddd0b5; }
.tone-champagne { --weave-base: #efe2c8; color: #d3bd93; }
.tone-silver { --weave-base: #eceef0; color: #c3c9d0; }
.tone-beige { --weave-base: #eadccb; color: #cdb9a0; }

/* Hero: deep plum with gold accents, extending behind the breadcrumbs. */
.is-jacquard main > .breadcrumbs {
  background: var(--plum); box-shadow: 0 0 0 100vmax var(--plum); clip-path: inset(0 -100vmax);
}
.is-jacquard main > .breadcrumbs, .is-jacquard main > .breadcrumbs a { color: #cbb9cf; }
.is-jacquard main > .breadcrumbs [aria-current] { color: var(--gold-light); }
.is-jacquard main > .breadcrumbs li + li::before { color: rgba(223, 194, 140, 0.5); }
.is-jacquard .page-hero {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(223, 194, 140, 0.16), transparent 55%),
    linear-gradient(160deg, var(--plum) 0%, #240b2c 100%);
  color: #e9dfe9;
}
.is-jacquard .page-hero h1 { color: var(--paper); }
.is-jacquard .page-hero .lead { color: #ddd0de; }
.is-jacquard .page-hero .eyebrow { color: var(--gold-light); }
.is-jacquard .page-hero .eyebrow::before { background: var(--gold-light); }
.is-jacquard .page-hero .btn-primary { background: var(--gold-light); color: var(--plum); }
.is-jacquard .page-hero .btn-primary:hover { background: var(--paper); }
.is-jacquard .page-hero .btn-outline { border-color: rgba(253, 251, 247, 0.6); color: var(--paper); }
.is-jacquard .page-hero .btn-outline:hover { background: var(--paper); color: var(--plum); }
.is-jacquard .page-hero :focus-visible { outline-color: var(--gold-light); }
.is-jacquard .page-hero-media { position: relative; }
.is-jacquard .page-hero-media::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(223, 194, 140, 0.55);
  border-radius: var(--radius-lg); pointer-events: none;
}
.is-jacquard .page-hero-media img { position: relative; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }

/* Highlights: a gold-ruled band under the hero. */
.jq-highlights-band { background: #240b2c; border-top: 1px solid rgba(223, 194, 140, 0.25); }
.jq-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.jq-highlight { display: flex; gap: 14px; align-items: flex-start; }
.jq-highlight-icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-text); background: var(--paper);
}
.jq-highlight-icon svg { width: 24px; height: 24px; }
.jq-highlight h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.jq-highlight p { font-size: .88rem; color: var(--muted); }
.jq-highlights-band .jq-highlight-icon { background: transparent; color: var(--gold-light); border-color: rgba(223, 194, 140, 0.6); }
.jq-highlights-band .jq-highlight h3 { color: var(--paper); font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; }
.jq-highlights-band .jq-highlight p { color: #cbb9cf; }

.jq-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.jq-head .section-head { margin-bottom: 0; }
.jq-head > p { max-width: 30em; color: var(--muted); font-size: .95rem; }

/* Design selector: a dark showroom with framed, softly lit fabric. */
.jq-designs {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(223, 194, 140, 0.12), transparent 50%),
    linear-gradient(180deg, var(--plum) 0%, #1d0a24 100%);
  color: #ddd0de;
}
.jq-designs .section-title { color: var(--paper); }
.jq-designs .eyebrow { color: var(--gold-light); }
.jq-designs .eyebrow::before { background: var(--gold-light); }
.jq-designs .jq-head > p { color: #cbb9cf; }
.jq-designs :focus-visible { outline-color: var(--gold-light); }

.jq-swatches {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 16px; margin: 0 -4px; list-style: none; scrollbar-width: thin;
  scrollbar-color: rgba(223, 194, 140, 0.5) transparent;
}
.jq-swatch {
  flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 10px;
  width: 104px; padding: 0; border: 0; background: none; color: #cbb9cf;
  font-size: .85rem; font-weight: 500; line-height: 1.3; text-align: center;
}
.jq-swatch-disc {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 1px solid rgba(223, 194, 140, 0.35); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.jq-swatch:hover .jq-swatch-disc { transform: translateY(-3px); border-color: var(--gold-light); }
.jq-swatch[aria-selected="true"] { color: var(--gold-light); font-weight: 600; }
.jq-swatch[aria-selected="true"] .jq-swatch-disc { border: 2px solid var(--gold-light); box-shadow: 0 0 0 4px var(--plum), 0 0 0 5px var(--gold-light), 0 14px 30px rgba(0, 0, 0, 0.45); }

.jq-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); margin-top: 24px;
  background: rgba(253, 251, 247, 0.04); border: 1px solid rgba(223, 194, 140, 0.3);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.jq-panel-preview { position: relative; min-height: 440px; background: var(--sand); overflow: hidden; }
.jq-panel-preview .weave { position: absolute; inset: 0; }
/* Gold inner frame and a slow silk sheen across the weave. */
.jq-panel-preview::before {
  content: ''; position: absolute; inset: 18px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(184, 149, 93, 0.7); box-shadow: inset 0 0 0 5px rgba(253, 251, 247, 0.35), inset 0 0 0 6px rgba(184, 149, 93, 0.35);
}
.jq-panel-preview::after {
  content: ''; position: absolute; inset: -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
  transform: translateX(-60%);
}
@media (prefers-reduced-motion: no-preference) {
  .jq-panel-preview::after { animation: jq-sheen 7s var(--ease) infinite; }
}
@keyframes jq-sheen { 0%, 35% { transform: translateX(-60%); } 75%, 100% { transform: translateX(60%); } }
.jq-panel-preview .jq-preview-label {
  position: absolute; left: 36px; bottom: 34px; z-index: 2;
  padding: 12px 18px; background: rgba(253, 251, 247, 0.88); border-left: 2px solid var(--gold);
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--plum);
}
.jq-panel-preview .jq-preview-label small { display: block; font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-top: 4px; }
.jq-panel-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.jq-panel-info h3 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); color: var(--paper); }
.jq-panel-info > p { color: #ddd0de; }
.jq-ideal { font-size: .9rem; color: #cbb9cf; padding-top: 14px; border-top: 1px solid rgba(223, 194, 140, 0.2); }
.jq-ideal strong { color: var(--gold-light); font-weight: 600; }
.jq-colours-title { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-top: 6px; }
.jq-colours { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; }
.jq-colour {
  display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none;
  font-size: .78rem; color: #cbb9cf;
}
.jq-colour-dot { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(223, 194, 140, 0.35); transition: transform .25s var(--ease); }
.jq-colour:hover .jq-colour-dot { transform: scale(1.06); }
.jq-colour[aria-pressed="true"] { color: var(--paper); font-weight: 600; }
.jq-colour[aria-pressed="true"] .jq-colour-dot { box-shadow: 0 0 0 3px #2a0f33, 0 0 0 4px var(--gold-light); }
.jq-panel-info .actions { margin-top: auto; padding-top: 8px; }
.jq-designs .btn-primary { background: var(--gold-light); color: var(--plum); }
.jq-designs .btn-primary:hover { background: var(--paper); }
.jq-designs .text-link { color: var(--gold-light); text-decoration-color: rgba(223, 194, 140, 0.45); }
.js .jq-panel[data-inactive] { display: none; }
.jq-panel + .jq-panel { margin-top: 18px; }
.js .jq-panel + .jq-panel { margin-top: 24px; }

/* Applications: gallery cards with a plum veil and gold caption rule. */
.jq-apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.jq-app { position: relative; display: block; text-decoration: none; color: var(--paper); border-radius: var(--radius-lg); overflow: hidden; }
.jq-app .card-media { border-radius: 0; }
.jq-app .card-media img { aspect-ratio: 3 / 4; }
.jq-app::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(29, 10, 36, 0.85) 100%); pointer-events: none; }
.jq-app:hover .card-media img { transform: scale(1.05); }
.jq-app span {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  padding-top: 10px; border-top: 1px solid rgba(223, 194, 140, 0.7);
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--paper);
}
.jq-app:hover span { color: var(--gold-light); }

.jq-about { align-items: center; }
.jq-about-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 1023px) {
  .jq-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jq-panel { grid-template-columns: minmax(0, 1fr); }
  .jq-panel-preview { min-height: 300px; order: -1; }
  .jq-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .jq-highlights { grid-template-columns: minmax(0, 1fr); }
  .jq-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jq-swatch { width: 86px; }
  .jq-swatch-disc { width: 70px; height: 70px; }
  .jq-panel-preview .jq-preview-label { left: 28px; bottom: 26px; font-size: 1.25rem; }
}
/* Full padding around the dark design showroom (overrides the collapsed spacing between sections). */
.section + .section.jq-designs:not(.section-alt):not(.cta-band),
.section.jq-designs + .section:not(.section-alt):not(.cta-band) { padding-top: var(--section); }
