/* Vijayalaxmi Textiles. Three site designs: loom (default), mill, spa. */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-700.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/assets/fonts/interdisplay-800.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('/assets/fonts/lora-var.woff') format('woff'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-300.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-500.woff') format('woff'); font-weight: 500; font-display: swap; }

:root {
  --indigo: #1d2a5c;
  --loom: #34489c;
  --cotton: #f4f5f8;
  --white: #ffffff;
  --turmeric: #e2a12a;
  --turmeric-ink: #8a5a00;
  --thread: #5d6585;
  --line: #dde1ec;
  --teal: #2f7a6b;

  --star: #e2a12a;
  --display: 'Lora', Georgia, serif;
  --display-weight: 600;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --btn-radius: 999px;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
  --in: 3.2px; /* one inch, for drawings to scale */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--indigo);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--loom); text-underline-offset: 0.18em; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--indigo); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }
.muted { color: var(--thread); }
.small { font-size: var(--step--1); }

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

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.display--page { font-size: var(--step-3); max-width: 22ch; }
.display--product { font-size: var(--step-3); max-width: 18ch; margin-bottom: 0.6rem; }
.h2 { font-family: var(--display); font-weight: var(--display-weight); font-size: var(--step-3); line-height: 1.1; }
.h3 { font-family: var(--sans); font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.h4 { font-family: var(--sans); font-weight: 700; font-size: var(--step-0); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--thread); max-width: 38em; margin-top: 1rem; }
.text-link { font-weight: 600; color: var(--loom); text-decoration: underline; text-decoration-color: var(--turmeric); text-decoration-thickness: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font: 600 var(--step-0)/1 var(--sans);
  padding: 0.95rem 1.4rem;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--small { padding: 0.6rem 1.05rem; font-size: var(--step--1); }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--loom); color: #fff; }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--ghost:hover { background: var(--indigo); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--indigo); }
.btn-icon { width: 1.2em; height: 1.2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.lang-note { font-size: var(--step--1); color: inherit; opacity: .8; margin: 0.75rem 0 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--indigo); }
.brand-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.35rem; }
.brand-sub { font-size: 0.78rem; color: var(--thread); }
.brand--light, .brand--light .brand-sub { color: #fff; }
.brand--light .brand-sub { opacity: .75; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a:not(.btn) { color: var(--indigo); text-decoration: none; font-weight: 500; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--turmeric); }
.nav-toggle { display: none; background: none; border: 0; width: 2.75rem; height: 2.75rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.4rem; height: 2px; background: var(--indigo); margin: auto; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
  .brand-sub { display: none; }
}

/* ---------- terry texture: the loop pile and woven border bands ---------- */
.terry {
  --c: var(--loom);
  position: relative;
  background-color: var(--c);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.22) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.16) 0 1.1px, transparent 1.6px);
  background-size: 6px 6px, 6px 6px;
  background-position: 0 0, 3px 3px;
  border-radius: 3px;
  overflow: hidden;
}
.terry-band {
  position: absolute; left: 0; right: 0; top: 9%;
  height: 7%; min-height: 4px; max-height: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 2px, transparent 2px 5px),
    color-mix(in srgb, var(--c) 70%, #fff);
  box-shadow: inset 0 1px 0 rgba(0,0,0,.12), inset 0 -1px 0 rgba(0,0,0,.12);
}
.terry-band--low { top: auto; bottom: 9%; }
.terry--fill { position: absolute; inset: 0; border-radius: 0; }

/* a woven border band used as section edge */
.border-band {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 2px, transparent 2px 6px),
    linear-gradient(var(--turmeric), var(--turmeric));
  border-top: 3px solid var(--indigo);
  border-bottom: 3px solid var(--indigo);
}

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.facts dt { font-size: var(--step--1); color: var(--thread); }
.facts dd { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.75rem; line-height: 1.2; }

/* stack of folded towels */
.hero-stack { display: flex; flex-direction: column-reverse; align-items: center; padding: 1rem 0; }
.fold {
  --c: var(--loom);
  position: relative;
  width: min(100%, 360px);
  height: 64px;
  margin-top: -6px;
  border-radius: 14px 14px 10px 10px;
  background-color: var(--c);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.22) 0 1.1px, transparent 1.6px),
    radial-gradient(circle, rgba(0,0,0,.14) 0 1.1px, transparent 1.6px),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 40%, rgba(0,0,0,.18));
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-position: 0 0, 3px 3px, 0 0;
  box-shadow: 0 10px 18px -12px rgba(29,42,92,.55);
  transform: translateX(calc((var(--i) - 2) * 7px)) rotate(calc((var(--i) - 2) * -0.6deg));
  overflow: hidden;
}
.fold .terry-band { top: auto; bottom: 14px; height: 10px; }
.fold::after { /* folded edge */
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 22px;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.15) 40%, rgba(0,0,0,.12));
  border-radius: 0 14px 10px 0;
}
.fold[style*="#f4f5f8"] { border: 1px solid var(--line); }
.fold[style*="#f4f5f8"] .terry-band { background: repeating-linear-gradient(90deg, rgba(29,42,92,.25) 0 2px, transparent 2px 5px), #dfe3ef; }

@media (prefers-reduced-motion: no-preference) {
  .fold { animation: settle .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 90ms); }
  @keyframes settle { from { opacity: 0; transform: translateY(-40px); } }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { order: -1; max-width: 300px; margin: 0 auto; }
  .fold { height: 48px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--thread); margin-top: 0.75rem; }
.section-head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- sizes to scale ---------- */
.section--scale { background: var(--cotton); }
.scale-row {
  display: flex; align-items: flex-end; gap: clamp(1.25rem, 3vw, 2.75rem);
  overflow-x: auto; padding: 1rem 0.25rem 1.25rem;
  scrollbar-width: thin;
}
.scale-group {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem;
  text-decoration: none; color: var(--indigo); flex: none;
  padding: 0.75rem; margin: -0.75rem; border-radius: var(--radius);
}
.scale-group:hover { background: rgba(255,255,255,.7); }
.scale-group:hover .terry { --c: var(--indigo) !important; }
.scale-figs { display: flex; align-items: flex-end; gap: 0.6rem; }
.scale-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.scale-towel { width: calc(var(--w) * var(--in)); height: calc(var(--h) * var(--in)); }
.scale-towel .terry { width: 100%; height: 100%; }
.scale-item figcaption { font-size: 0.8rem; color: var(--thread); font-variant-numeric: tabular-nums; }
.scale-name { font-weight: 700; border-top: 2px solid var(--turmeric); padding-top: 0.5rem; white-space: nowrap; }
@media (max-width: 600px) { :root { --in: 2.4px; } }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 2.5rem 1.75rem; }
.card { display: flex; flex-direction: column; gap: 0.75rem; }
.card[hidden] { display: none; }
.card-link { text-decoration: none; color: var(--indigo); display: flex; flex-direction: column; gap: 0.4rem; }
.card-visual { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cotton); margin-bottom: 0.5rem; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-link:hover img { transform: scale(1.03); }
.card-title { font-family: var(--sans); font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--turmeric); text-decoration-thickness: 2px; }
.card-meta { color: var(--thread); font-size: var(--step--1); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-block; font: 500 0.85rem/1 var(--sans); font-variant-numeric: tabular-nums;
  padding: 0.5rem 0.75rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--indigo); background: #fff; text-decoration: none;
}
a.chip:hover { border-color: var(--indigo); }
.chip--btn { cursor: pointer; }
.chip--btn:hover { border-color: var(--indigo); }
.chip--btn[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }

.filters { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.25rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.page-head .filter-group { margin-top: 1.75rem; }
.empty { padding: 2rem 0; color: var(--thread); }

/* ---------- page heads ---------- */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1rem, 3vw, 2rem); background: var(--cotton); border-bottom: 1px solid var(--line); }
.page-head--product { padding: 1.25rem 0; }
.page-head--center { text-align: center; padding: 6rem 0; }
.page-head--center .display, .page-head--center .lede { margin-left: auto; margin-right: auto; }
.page-head--center .btn-row { justify-content: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: var(--step--1); color: var(--thread); margin-bottom: 1rem; }
.page-head--product .crumbs ol { margin-bottom: 0; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 0.35rem; color: var(--line); }
.crumbs a { color: var(--thread); }
.cat-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.cat-scale { display: flex; align-items: flex-end; gap: 0.75rem; --in: 3px; padding-bottom: 0.5rem; }
@media (max-width: 760px) { .cat-head { grid-template-columns: 1fr; } .cat-scale { display: none; } }

.cat-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.cat-links a { display: flex; flex-direction: column; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--turmeric); border-radius: var(--radius); text-decoration: none; color: var(--indigo); font-weight: 700; }
.cat-links a:hover { border-color: var(--indigo); border-left-color: var(--turmeric); }
.cat-links-sizes { font-weight: 400; font-size: var(--step--1); color: var(--thread); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.gallery { position: sticky; top: 6rem; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cotton); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-note { position: absolute; left: 1rem; bottom: 1rem; margin: 0; background: rgba(255,255,255,.92); padding: 0.35rem 0.7rem; border-radius: 999px; font-size: var(--step--1); }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; width: 4.5rem; aspect-ratio: 4/5; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--indigo); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-kind { font-weight: 600; color: var(--turmeric-ink); margin-bottom: 0.5rem; }
.product-desc { color: var(--thread); max-width: 36em; }
.size-picker { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.size-group { display: grid; grid-template-columns: 9rem 1fr; gap: 0.75rem; align-items: center; margin-top: 0.85rem; }
.size-group-name { font-size: var(--step--1); color: var(--thread); }
.size-detail { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: end; margin-top: 1.75rem; padding: 1.5rem; background: var(--cotton); border-radius: var(--radius); }
.size-scale { --in: 2.4px; position: relative; width: calc(36 * var(--in)); height: calc(72 * var(--in)); display: flex; align-items: flex-end; justify-content: flex-start; }
.size-scale-ref { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; border: 1.5px dashed #b9c0d6; border-radius: 3px; }
.size-scale-towel { position: relative; width: calc(var(--w) * var(--in)); height: calc(var(--h) * var(--in)); transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1); }
.size-scale-towel .terry { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .size-scale-towel { transition: none; } }
.spec > div { display: grid; grid-template-columns: 9rem 1fr; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 0; }
.spec > div[hidden] { display: none; }
.spec dt { color: var(--thread); font-size: var(--step--1); padding-top: 0.15em; }
.spec dd { font-weight: 600; }
.spec--stack > div { grid-template-columns: 6rem 1fr; }
.product-cta { margin-top: 1.5rem; }
.product-cta .btn-row { margin-top: 0.5rem; margin-bottom: 0.75rem; }
.product-cta .lang-note { margin-bottom: 0.5rem; color: var(--thread); opacity: 1; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .size-group { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (max-width: 480px) {
  .size-detail { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 7.5rem 1fr; }
}

/* ---------- story ---------- */
.section--story { background: var(--indigo); color: #fff; }
.section--story .text-link { color: #fff; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story-grid p { color: rgba(255,255,255,.82); margin-top: 1.25rem; max-width: 34em; }
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 0.5rem; bottom: 0.5rem; width: 2px; background: currentColor; opacity: .25; }
.timeline li { position: relative; padding-bottom: 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.75rem + 0px); top: 0.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--turmeric); }
.timeline-key { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.2; display: block; }
.timeline p { margin: 0.2rem 0 0; opacity: .85; }
.section--story .timeline p { color: rgba(255,255,255,.85); margin-top: 0.2rem; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- ratings ---------- */
.ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.rating { padding: 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--turmeric); border-radius: var(--radius); display: flex; flex-direction: column; gap: 0.35rem; }
.rating-platform { font-weight: 700; margin: 0; }
.rating-score { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
.rating-num { font-family: var(--display); font-weight: var(--display-weight); font-size: 3rem; line-height: 1; }
.rating-of { color: var(--thread); font-size: var(--step--1); }
.rating-score--none { font-size: var(--step-1); color: var(--thread); padding: 0.7rem 0; }
.stars { width: 7.5rem; height: 1.5rem; }
.rating-count { margin: 0.25rem 0 0; color: var(--thread); }
.rating-link { margin-top: auto; padding-top: 0.75rem; font-weight: 600; }

/* ---------- enquiry band ---------- */
.enquiry { background: var(--indigo); color: #fff; }
.enquiry .border-band { border-top: 0; }
.enquiry-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.enquiry p { color: rgba(255,255,255,.8); margin-top: 0.75rem; max-width: 34em; }
.enquiry .btn--primary { background: var(--turmeric); color: var(--indigo); }
.enquiry .btn--primary:hover { background: #fff; color: var(--indigo); }
.enquiry .btn-row { margin-top: 0; }
.enquiry .lang-note { margin-top: 0.75rem; }
@media (max-width: 760px) { .enquiry-inner { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose { font-size: 1.125rem; line-height: 1.7; max-width: 38em; }
.prose p:first-child { font-size: var(--step-1); line-height: 1.55; }
.about-aside { position: sticky; top: 6rem; padding: 1.75rem; background: var(--cotton); border-radius: var(--radius); }
.about-aside .h3 { margin-bottom: 1.25rem; }
.about-aside .timeline-key { font-size: 1.25rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-aside { position: static; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field textarea {
  font: inherit; color: var(--indigo); padding: 0.75rem 0.85rem;
  border: 1px solid #c6cbdc; border-radius: var(--radius); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--turmeric) 60%, transparent); border-color: var(--indigo); }
.form .btn-row { margin-top: 0.5rem; }
.contact-card { padding: 1.75rem; background: var(--cotton); border-radius: var(--radius); border-top: 4px solid var(--turmeric); }
.contact-card .h3 { margin-bottom: 1rem; }
.contact-card .text-link { display: inline-block; margin-top: 1rem; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); margin-top: 2.5rem; }
@media (max-width: 760px) { .contact-grid, .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #151f47; color: rgba(255,255,255,.82); font-size: var(--step--1); }
.site-footer .border-band { border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 26em; }
.footer-h { font-size: var(--step-0); color: #fff; margin-bottom: 0.85rem; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover { color: var(--turmeric); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; padding-bottom: 1.5rem; }
.footer-base p { margin: 0; opacity: .7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- home layout: showroom ---------- */
.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { background: var(--turmeric); color: var(--indigo); }
.lede--light { color: rgba(255,255,255,.85); }
.hero-show { position: relative; background: var(--indigo); color: #fff; padding-bottom: 3rem; overflow: hidden; }
.hero-show-cloth { position: absolute; inset: 0; border-radius: 0; opacity: .9; }
.hero-show-cloth .terry-band { top: auto; bottom: 34%; height: 18px; max-height: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 2px, transparent 2px 6px), var(--turmeric); }
.hero-show-cloth .terry-band--low { bottom: calc(34% - 30px); height: 6px; }
.hero-show-inner { position: relative; padding-top: clamp(4rem, 10vw, 7.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-show-kicker { font-weight: 600; color: var(--turmeric); margin-bottom: 1.25rem; }
.display--show { max-width: 16ch; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); }
.hero-show-trust { position: relative; }
.hero-show-trust .rating { background: #fff; color: var(--indigo); border-color: transparent; box-shadow: 0 18px 40px -24px rgba(0,0,0,.6); }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); gap: 1rem; }
.cat-tile { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 1.5rem 1.25rem 1.25rem; background: var(--cotton); border-radius: var(--radius); text-decoration: none; color: var(--indigo); border-bottom: 4px solid transparent; }
.cat-tile:hover { border-bottom-color: var(--turmeric); }
.cat-tile-figs { display: flex; align-items: flex-end; gap: 0.5rem; height: calc(72 * var(--in)); margin-bottom: 1rem; --in: 2.2px; }
.cat-tile-figs .scale-item figcaption { display: none; }
.cat-tile-name { font-weight: 700; font-size: var(--step-1); }
.cat-tile-sizes { font-size: var(--step--1); color: var(--thread); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.values li { border-top: 3px solid var(--turmeric); padding-top: 1rem; }
.values p { color: rgba(255,255,255,.8); margin-top: 0.5rem; }

/* ---------- home layout: heritage ---------- */
.hero-heritage { background: var(--cotton); }
.heritage-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.heritage-year { font-family: var(--display); font-size: clamp(6rem, 3rem + 14vw, 13rem); line-height: .8; margin: 0 0 1.5rem; color: transparent; -webkit-text-stroke: 2px var(--indigo); letter-spacing: -0.02em; }
.display--heritage { font-size: var(--step-3); max-width: 20ch; }
.heritage-side { padding: 1.75rem; background: #fff; border-radius: var(--radius); border-top: 4px solid var(--turmeric); }
.heritage-side .h3 { margin-bottom: 1.25rem; }
.heritage-side .timeline-key { font-size: 1.2rem; }
.hero-heritage .border-band { border-bottom: 0; }
@media (max-width: 860px) { .heritage-grid { grid-template-columns: 1fr; } }

/* fixes */
.hero-stack { width: 100%; }
.brand--light .brand-mark { background: #fff; border-radius: 6px; padding: 1px; }
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .card-title { font-size: var(--step-0); }
  .card .chip { padding: 0.4rem 0.55rem; font-size: 0.78rem; }
  .hero-stack { max-width: 240px; }
  .fold { height: 40px; }
  .ratings { grid-template-columns: 1fr; }
}

/* =====================================================================
   DESIGN 2: MILL. Commercial supplier look: slate, signal blue, heavy sans, square edges.
   ===================================================================== */
.theme-mill {
  --indigo: #16202c; --loom: #0b63ce; --cotton: #eef2f7; --turmeric: #0b63ce; --turmeric-ink: #0b63ce;
  --thread: #566273; --line: #d8dee8; --star: #f5b301;
  --display: 'Inter Display', 'Inter', system-ui, sans-serif; --display-weight: 800;
  --radius: 2px; --btn-radius: 2px;
}
.theme-mill .display { letter-spacing: -0.035em; line-height: 0.98; }
.theme-mill .h2 { letter-spacing: -0.025em; }
.theme-mill .site-header { background: #16202c; border-bottom: 0; backdrop-filter: none; }
.theme-mill .brand, .theme-mill .site-nav a:not(.btn) { color: #fff; }
.theme-mill .brand-sub { color: rgba(255,255,255,.6); }
.theme-mill .brand-name { letter-spacing: -0.02em; }
.theme-mill .brand-mark { background: #fff; border-radius: 3px; }
.theme-mill .site-nav a:not(.btn):hover, .theme-mill .site-nav a[aria-current="page"] { border-bottom-color: #4ea1ff; }
.theme-mill .nav-toggle-bars, .theme-mill .nav-toggle-bars::before, .theme-mill .nav-toggle-bars::after { background: #fff; }
.theme-mill .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
@media (max-width: 760px) { .theme-mill .site-nav { background: #16202c; border-bottom-color: #2a3646; } .theme-mill .site-nav a:not(.btn) { border-bottom-color: #2a3646; } }
.theme-mill .border-band { height: 6px; border: 0; background: var(--loom); }
.theme-mill .btn--primary:hover { background: #0950a8; }
.theme-mill .text-link { text-decoration-color: var(--loom); }
.theme-mill .page-head { background: #16202c; color: #fff; border-bottom: 0; }
.theme-mill .page-head .lede, .theme-mill .page-head .crumbs ol, .theme-mill .page-head .crumbs a { color: rgba(255,255,255,.72); }
.theme-mill .page-head .chip--btn:not([aria-pressed="true"]) { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.theme-mill .page-head .chip--btn[aria-pressed="true"] { background: #fff; color: #16202c; border-color: #fff; }
.theme-mill .cat-scale .terry { --c: #4ea1ff !important; }
.theme-mill .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.theme-mill .card-visual { aspect-ratio: 1; }
.theme-mill .card-title { font-weight: 700; letter-spacing: -0.01em; }
.theme-mill .chip { border-radius: 2px; }
.theme-mill .rating { border-top-color: var(--loom); }
.theme-mill .section--story { background: #16202c; }
.theme-mill .values li { border-top-color: #4ea1ff; }
.theme-mill .timeline li::before { background: #4ea1ff; }
.theme-mill .enquiry { background: var(--loom); }
.theme-mill .enquiry .border-band { display: none; }
.theme-mill .enquiry .btn--primary { background: #fff; color: var(--loom); }
.theme-mill .enquiry .btn--primary:hover { background: #16202c; color: #fff; }
.theme-mill .site-footer { background: #0f1720; }
.theme-mill .site-footer .border-band { display: none; }
.theme-mill .cat-tile { background: #fff; border: 1px solid var(--line); border-bottom-width: 4px; }
.theme-mill .cat-tile:hover { border-color: var(--loom); }
.theme-mill .product-kind { color: var(--loom); }
.theme-mill .contact-card, .theme-mill .about-aside { border-top: 4px solid var(--loom); }

.mill-hero { background: #16202c; color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.mill-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mill-kicker { color: #7fb7ff; font-weight: 600; margin-bottom: 1.25rem; }
.mill-hero .display { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); max-width: 13ch; }
.mill-hero .lede { color: rgba(255,255,255,.75); }
.mill-sheet { background: #fff; color: #16202c; padding: 1.75rem; border-top: 6px solid var(--loom); }
.mill-sheet-h { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.mill-sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mill-sheet th, .mill-sheet td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.mill-sheet th a { color: inherit; font-weight: 600; text-decoration: none; }
.mill-sheet th a:hover { color: var(--loom); }
.mill-sheet td { color: var(--thread); text-align: right; }
.mill-sheet-link { display: inline-block; margin-top: 1rem; font-weight: 700; }
.mill-stats { background: var(--loom); color: #fff; }
.mill-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.mill-stats dt { font-size: 0.875rem; opacity: .85; }
.mill-stats dd { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1.1; }
@media (max-width: 860px) { .mill-hero-grid { grid-template-columns: 1fr; } .mill-stats-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   DESIGN 3: SPA. Soft home and hotel look: sage and blush, light Poppins, rounded shapes, rolled towels.
   ===================================================================== */
.theme-spa {
  --indigo: #24372c; --loom: #4f7b63; --cotton: #eef3ef; --white: #fbfcfa; --turmeric: #e7b8a8; --turmeric-ink: #8f5240;
  --thread: #5f6f65; --line: #dfe7e1; --star: #d9a23b;
  --display: 'Poppins', system-ui, sans-serif; --display-weight: 300; --sans: 'Poppins', system-ui, sans-serif;
  --radius: 22px; --btn-radius: 999px;
  --step-0: 1rem;
}
body.theme-spa { background: #fbfcfa; line-height: 1.7; }
.theme-spa .display { letter-spacing: -0.02em; line-height: 1.12; }
.theme-spa .h3, .theme-spa .card-title, .theme-spa .footer-h, .theme-spa .scale-name { font-weight: 500; }
.theme-spa .brand-name { font-weight: 500; font-size: 1.1rem; }
.theme-spa .site-header { background: rgba(251,252,250,.92); }
.theme-spa .site-nav a:not(.btn):hover, .theme-spa .site-nav a[aria-current="page"] { border-bottom-color: var(--loom); }
.theme-spa .border-band { display: none; }
.theme-spa .btn { font-weight: 500; }
.theme-spa .btn--primary { background: var(--loom); }
.theme-spa .btn--primary:hover { background: #3c634e; }
.theme-spa .btn--ghost { border-color: var(--loom); color: var(--loom); }
.theme-spa .btn--ghost:hover { background: var(--loom); color: #fff; }
.theme-spa .text-link { color: var(--loom); text-decoration-color: var(--turmeric); }
.theme-spa .page-head { background: transparent; border-bottom: 0; }
.theme-spa .card-visual, .theme-spa .gallery-main, .theme-spa .size-detail, .theme-spa .contact-card, .theme-spa .about-aside { border-radius: 22px; }
.theme-spa .terry { border-radius: 14px; }
.theme-spa .terry--fill { border-radius: 0; }
.theme-spa .chip { background: #eef3ef; border-color: transparent; }
.theme-spa .chip--btn[aria-pressed="true"] { background: var(--loom); color: #fff; }
.theme-spa .section--scale { background: transparent; }
.theme-spa .scale-name { border-top-color: var(--turmeric); }
.theme-spa .section--story { background: var(--cotton); color: var(--indigo); }
.theme-spa .section--story .text-link { color: var(--loom); }
.theme-spa .story-grid p, .theme-spa .section--story .timeline p { color: var(--thread); }
.theme-spa .timeline li::before { background: var(--loom); }
.theme-spa .values li { border-top: 0; background: #fff; padding: 1.5rem; border-radius: 22px; }
.theme-spa .section--story .values li { background: #fff; }
.theme-spa .values p { color: var(--thread); }
.theme-spa .rating { border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px rgba(36,55,44,.45); }
.theme-spa .enquiry { background: transparent; color: var(--indigo); padding: 1rem var(--gutter) clamp(3rem, 6vw, 5rem); }
.theme-spa .enquiry-inner { background: #e3ede6; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); }
.theme-spa .enquiry p { color: var(--thread); }
.theme-spa .enquiry .btn--primary { background: var(--loom); color: #fff; }
.theme-spa .enquiry .btn--ghost-light { border-color: var(--loom); color: var(--loom); }
.theme-spa .enquiry .btn--ghost-light:hover { background: var(--loom); color: #fff; }
.theme-spa .site-footer { background: #24372c; }
.theme-spa .contact-card, .theme-spa .rating { border-top: 0; }
.theme-spa .field input, .theme-spa .field textarea { border-radius: 14px; }
.theme-spa .cat-links a { border-left: 0; border-radius: 18px; background: #fff; }

.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.spa-hero { text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0 0; overflow: hidden; background: linear-gradient(#fbfcfa, #eaf1ec); }
.spa-hero-inner { max-width: 52rem; }
.spa-kicker { color: var(--loom); font-weight: 500; margin-bottom: 1rem; }
.spa-hero .display { margin: 0 auto; max-width: 18ch; font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.3rem); }
.spa-hero .lede { margin-left: auto; margin-right: auto; }
.spa-hero .btn-row { justify-content: center; }
.spa-rolls { display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.4rem, 1.6vw, 1.1rem); margin-top: 3.5rem; padding: 0 1rem; margin-bottom: -2.5rem; }
.roll {
  --s: 1; --c: #a9c4b2;
  display: block; flex: none; width: calc(var(--s) * clamp(70px, 12vw, 160px)); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--c) 70%, #24372c) 0 5%, transparent 5.5%),
    repeating-radial-gradient(circle, var(--c) 0 6px, color-mix(in srgb, var(--c) 82%, #24372c) 6px 7.5px);
  box-shadow: 0 18px 30px -18px rgba(36,55,44,.45);
}
.spa-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 1.25rem; }
.spa-cats a { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-align: center; padding: 1.75rem 1rem 1.5rem; border-radius: 22px; text-decoration: none; color: var(--indigo); background: #fff; height: 100%; box-shadow: 0 0 0 1px var(--line); }
.spa-cats a:hover { box-shadow: 0 0 0 2px var(--loom); }
.spa-cats .roll { width: calc(var(--s) * 104px); margin: auto 0 1rem; }
.spa-cat-name { font-weight: 500; }
.spa-cat-sizes { font-size: 0.85rem; color: var(--thread); }
@media (max-width: 600px) { .spa-cats { grid-template-columns: 1fr 1fr; } .spa-rolls .roll:nth-child(n+5) { display: none; } }
.theme-mill .btn--primary { background: var(--loom); }
.theme-mill .btn--primary:hover { background: #0950a8; }
.theme-spa .card-visual .terry, .theme-spa .gallery-main .terry { filter: saturate(.55) brightness(1.12); }

/* Loom hero with banner photo: photo sits in the same centred column as the text */
.hero--photo { background: #f9f9f9; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hero--photo .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hero--photo .display { font-size: clamp(2.4rem, 1.2rem + 3vw, 3.9rem); max-width: 13ch; }
.hero--photo .lede { font-size: 1.15rem; }
.hero--photo .facts { border-top-color: #e3e5ec; margin-top: 2.25rem; }
.hero-photo { display: block; }
.hero-photo img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 860px) {
  .hero--photo { padding-top: 0; }
  .hero--photo .hero-grid { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .hero--photo .hero-copy { padding: 0 var(--gutter); }
  .hero-photo { order: -1; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; }
}

/* Shegur's brand */
.brand-logo { height: 2.1rem; width: auto; flex: none; }
.brand .brand-logo + .brand-text { padding-left: 0.8rem; border-left: 1px solid var(--line); }
.brand--light .brand-logo + .brand-text { border-left-color: rgba(255,255,255,.25); }
.theme-mill .site-header .brand-logo + .brand-text { border-left-color: rgba(255,255,255,.25); }
.site-footer .brand-logo { height: 1.9rem; }
.brand-strip { background: #fff; border-bottom: 1px solid var(--line); }
.brand-strip-inner { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.brand-strip-logo { height: 2.6rem; width: auto; flex: none; }
.brand-strip p { margin: 0; color: var(--thread); }
.brand-strip strong { color: var(--indigo); font-weight: 600; }
@media (max-width: 760px) {
  .brand-logo { height: 1.6rem; }
  .brand .brand-logo + .brand-text { padding-left: 0.6rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .brand-strip-logo { height: 2rem; }
}
.brand-name { white-space: nowrap; }

/* size filters and size names */
.chip--btn[hidden], .chips li[hidden] { display: none; }
.size-name { display: inline-block; margin-left: 0.35em; padding: 0.12em 0.45em; border-radius: 4px; font-size: 0.78em; font-weight: 600; line-height: 1.3; background: #fdf1d8; color: #7a4f00; vertical-align: 0.05em; }
.chip--btn[aria-pressed="true"] .size-name { background: var(--turmeric); color: var(--indigo); }
.scale-item figcaption { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.scale-item figcaption .size-name { margin-left: 0; }
.size-note { display: block; font-size: var(--step--1); font-weight: 600; color: var(--turmeric-ink); margin-top: 0.15rem; }
.theme-mill .size-name { background: #e3eefc; color: #0b4fa3; }
.theme-spa .size-name { background: #f6e1da; color: #8f5240; }

/* footer WhatsApp button */
.btn--wa { background: #25d366; color: #0b3b1e; margin-top: 0.5rem; }
.btn--wa:hover { background: #1ebe5a; color: #0b3b1e; }
.site-footer a.btn--wa { color: #0b3b1e; text-decoration: none; }
.site-footer a.btn--wa:hover { color: #0b3b1e; }
.footer-wa-note { margin-top: 0.6rem; font-size: 0.8rem; opacity: .75; }
.footer-grid { grid-template-columns: 2fr repeat(3, 1fr); column-gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; row-gap: 1.75rem; } .footer-h { margin-bottom: 0.5rem; } }
