/* Vastra Textiles: indigo, madder and unbleached cotton. Fraunces for headings, Work Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F6EFE2;
  --surface: #FFFBF3;
  --soft: #EDE3D0;
  --ink: #1E2347;
  --muted: #5B5A66;
  --line: #E0D4BD;
  --line-strong: #C9B999;
  --brand: #23306B;
  --brand-hover: #1A2552;
  --brand-ink: #FFFBF3;
  --brand-text: #23306B;
  --accent: #B4412F;
  --eyebrow: #9A3626;
  --head: "Fraunces", Georgia, serif;
  --body: "Work Sans", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --btn-radius: 999px;
  --wrap: 1200px;
  --menu-bg: #F6EFE2;
}
h1, h2 { font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 120; }
h3 { font-weight: 600; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.btn { font-weight: 600; }

/* header: logo centred over the nav on wide screens */
.header { background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar { background: var(--brand); color: #E9E2F5; }
.topbar a { color: #fff; }
.logo b { font: 600 1.35rem/1 var(--head); color: var(--brand); }
.logo small { font-size: .74rem; color: var(--muted); letter-spacing: .06em; }
.nav a { font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
@media (min-width: 961px) {
  .h-center > .wrap:last-child { flex-wrap: wrap; justify-content: center; position: relative; row-gap: 0; padding-top: 14px; }
  .h-center .logo { width: 100%; justify-content: center; }
  .h-center .nav { margin: 0 auto; min-height: 56px; }
  .h-center .header-cta { position: absolute; right: 0; top: 16px; }
}

/* hero */
.hero { padding-block: clamp(36px, 6vw, 88px); background: radial-gradient(circle at 85% 20%, #EBDDC3 0, transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.02; margin: 16px 0 20px; }
.hero h1 em { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-strong); color: var(--muted); }
.hero-facts b { display: block; font: 600 1.6rem/1.1 var(--head); color: var(--ink); }
.hero-art { position: relative; }
.arch { border-radius: 260px 260px 24px 24px; overflow: hidden; border: 10px solid var(--surface); box-shadow: 0 30px 60px -30px rgba(35, 48, 107, .45); max-width: 480px; margin-inline: auto; aspect-ratio: 4 / 4.4; }
.arch svg { width: 100%; height: 100%; }
.arch svg { transform: scale(1.35); transform-origin: 50% 60%; }
.tag-card { position: absolute; left: 0; bottom: 24px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 16px 30px -16px rgba(0,0,0,.4); }
.tag-card span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.tag-card b { font: 600 1.5rem/1 var(--head); }
.tag-card small { opacity: .8; }
@media (max-width: 900px) { .tag-card { left: 8px; bottom: 8px; } }

/* swatches */
.swatch-band { padding-block: 26px; background: var(--surface); border-block: 1px solid var(--line); }
.swatch-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.swatches li { display: grid; justify-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.swatches i { width: 52px; height: 64px; border-radius: 6px 6px 2px 2px; box-shadow: inset 0 -10px 0 rgba(0,0,0,.08), 0 6px 12px -8px rgba(0,0,0,.4); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 5px) !important; }
.swatch-band p { color: var(--muted); font-style: italic; font-family: var(--head); font-size: 1.1rem; }
@media (max-width: 520px) { .swatches i { width: 34px; height: 44px; } .swatches { gap: 6px; } }

.stats li { padding-left: 16px; border-left: 3px solid var(--accent); }
.stats b { color: var(--brand); font-weight: 600; }
.prod { border-radius: var(--radius-lg); }
.prod-art { border-bottom: 1px solid var(--line); }
.step-n { font-style: italic; color: var(--accent); font-size: 2rem; }
.steps li { background: transparent; border: 0; border-top: 2px solid var(--brand); border-radius: 0; padding: 18px 4px 0; }
.band-ink { background: var(--brand); color: #EDEAF7; }
.band-ink .eyebrow { color: #F0B9A9; }
.band-ink .lede { color: #C9CDE6; }
.band-ink .cert-strip li { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.band-ink .buyers li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.buyers-t { font: 600 1rem var(--body); margin: 24px 0 10px; color: #C9CDE6; }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split-2 { grid-template-columns: minmax(0, 1fr); } }
.quotes li { border-radius: 4px 24px 4px 24px; }
.quotes blockquote { font-family: var(--head); font-size: 1.15rem; font-style: italic; }

/* catalogue tool */
.filters { background: var(--soft); border-color: var(--line-strong); }
.f-search { grid-column: 1 / -1; }
.cat-row { border-radius: 14px; }
.cat-row .sw svg { transform: scale(1.5); }
.cat-row [aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.tool-out { background: var(--surface); border: 2px solid var(--brand); }
.rfq-title { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.badge { background: var(--accent); color: #fff; }

/* inner pages */
.page-head { background: linear-gradient(180deg, var(--soft), var(--bg)); margin-bottom: clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-weight: 600; }
.cta-band { background: var(--accent); color: #FFF4EE; }
.cta-band .btn-primary { background: var(--surface); color: var(--accent); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: #1E2347; color: #C9CDE6; --footer-line: #353B66; }
.footer .logo b { color: #fff; }
.footer .logo small { color: #A9AECB; }
.footer h2 { color: #F0B9A9; opacity: 1; }
.footer .credit a { color: #fff; }
.timeline li::before { background: var(--accent); }
.rfq-jump { display: none; }
@media (max-width: 920px) { .rfq-jump { display: inline-flex; position: sticky; bottom: 16px; z-index: 20; justify-self: start; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); } }
.rfq-jump .badge { background: #fff; color: var(--brand); }
