/* ==================================================
   TexJaipur — static, mobile-first wholesale landing
   ================================================== */

:root {
  --white: #ffffff;
  --cream: #faf8f5;
  --cream-2: #f5efe7;
  --cream-3: #eee5d9;
  --ink: #162447;
  --ink-2: #35405a;
  --muted: #5e6573;
  --terracotta: #c85a32;
  --terracotta-deep: #a94727;
  --terracotta-ink: #96391e;
  --gold: #c59b27;
  --gold-soft: #f2e5c4;
  --indigo: #264e97;
  --sage: #66734f;
  --line: #e6ded3;
  --line-strong: #d7cabb;
  --success: #3e6650;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --container: 1200px;
  --header-height: 72px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px rgba(46, 38, 27, 0.06);
  --shadow-md: 0 20px 50px rgba(46, 38, 27, 0.1);
  --shadow-lg: 0 30px 80px rgba(46, 30, 17, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1,
h2,
h3 {
  font-weight: 500;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.12em;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--terracotta-ink);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.13);
}

.eyebrow-light {
  color: #f8e9b9;
}

.section-heading {
  display: grid;
  gap: 1rem;
}

.section-heading h2 {
  margin-top: 0.75rem;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 470px;
  color: var(--muted);
  font-size: clamp(0.94rem, 2vw, 1.02rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button .icon {
  width: 20px;
  height: 20px;
}

.button-primary {
  background: var(--terracotta-deep);
  box-shadow: 0 9px 24px rgba(169, 71, 39, 0.2);
  color: var(--white);
}

.button-primary:hover {
  background: #933a1d;
  box-shadow: 0 12px 30px rgba(169, 71, 39, 0.28);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-1px);
}

.button-light {
  background: var(--white);
  box-shadow: 0 10px 28px rgba(63, 25, 13, 0.18);
  color: var(--terracotta-ink);
}

.button-light:hover {
  background: #fff8ee;
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(22, 36, 71, 0.08);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: auto;
  flex: 0 0 auto;
}

.brand-word {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.065em;
}

.brand-word span:first-child {
  color: var(--indigo);
}

.brand-word span:last-child {
  color: var(--terracotta);
}

.site-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.button-header {
  min-height: 40px;
  padding: 0.58rem 0.82rem;
  font-size: 0.78rem;
  box-shadow: none;
}

.button-header .icon {
  width: 18px;
  height: 18px;
}

.header-cta-long {
  display: none;
}

.header-cta-short {
  display: inline;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.site-nav.is-open {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.site-nav.is-open a {
  padding: 0.78rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav.is-open a:hover,
.site-nav.is-open a:focus-visible {
  background: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.3rem, 7vw, 5.2rem);
  background:
    radial-gradient(circle at 2% 6%, rgba(197, 155, 39, 0.17), transparent 24rem),
    radial-gradient(circle at 101% 5%, rgba(200, 90, 50, 0.09), transparent 29rem),
    var(--cream);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 36, 71, 0.08) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 68%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(2.2rem, 7vw, 4.5rem);
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.hero-grid > * {
  min-width: 0;
}

.section-heading > *,
.terms-layout > *,
.contact-band-inner > * {
  min-width: 0;
}

.hero h1 {
  max-width: 830px;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.72rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.headline-accent {
  color: var(--terracotta-ink);
}

.hero-subtitle {
  max-width: 650px;
  margin-top: 1.35rem;
  color: var(--ink-2);
  font-size: clamp(1rem, 2.3vw, 1.09rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-actions .button {
  width: 100%;
}

.trust-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.8rem;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(22, 36, 71, 0.09);
}

.trust-list li:last-child {
  border-bottom: 0;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--terracotta-ink);
}

.trust-icon .icon {
  width: 18px;
  height: 18px;
}

.trust-list strong,
.trust-list small {
  display: block;
}

.trust-list strong {
  font-size: 0.81rem;
  line-height: 1.35;
}

.trust-list small {
  margin-top: 0.02rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.hero-art {
  position: relative;
  width: min(100%, 510px);
  min-height: 400px;
  aspect-ratio: 0.92;
  margin-inline: auto;
}

.hero-art-shape {
  position: absolute;
  inset: 7% 3% 4% 4%;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: 46% 46% 34% 34% / 40% 40% 27% 27%;
  background: linear-gradient(145deg, #f0e3d2 0%, #f9f5ee 58%, #eadbc7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(-4deg);
}

.hero-art-shape::after {
  position: absolute;
  inset: 5%;
  border: 1px dashed rgba(169, 71, 39, 0.2);
  border-radius: inherit;
  content: "";
}

.swatch-frame {
  position: absolute;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.94);
  border-radius: 17px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.swatch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swatch-main {
  top: 5%;
  left: 18%;
  z-index: 2;
  width: 63%;
  aspect-ratio: 4 / 5;
  transform: rotate(-2.5deg);
}

.swatch-top {
  top: 0;
  right: 0;
  z-index: 1;
  width: 37%;
  aspect-ratio: 4 / 5;
  transform: rotate(7deg);
}

.swatch-bottom {
  bottom: 1%;
  left: 0;
  z-index: 3;
  width: 38%;
  aspect-ratio: 4 / 5;
  transform: rotate(-7deg);
}

.hero-art-note {
  position: absolute;
  top: 17%;
  left: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  width: 132px;
  padding: 0.7rem 0.75rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-art-note img {
  width: 45px;
  height: auto;
  margin-bottom: 0.5rem;
}

.hero-art-note span {
  color: var(--terracotta-ink);
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-art-note strong {
  margin-top: 0.08rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.08;
}

.ready-stamp {
  position: absolute;
  right: 2%;
  bottom: 8%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 5px solid var(--cream);
  border-radius: 50%;
  background: var(--terracotta-deep);
  box-shadow: 0 13px 30px rgba(114, 45, 23, 0.24);
  color: var(--white);
  line-height: 1;
  text-align: center;
  transform: rotate(8deg);
}

.ready-stamp span,
.ready-stamp small {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ready-stamp strong {
  margin-block: 0.12rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}

.proof-strip-wrap {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 17px 17px 0 0;
  background: rgba(255, 255, 255, 0.7);
  list-style: none;
}

.proof-strip li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-2);
  font-size: 0.71rem;
  font-weight: 750;
  line-height: 1.3;
}

.proof-strip li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

/* Catalog */
.catalog {
  background: var(--white);
}

.catalog-heading {
  margin-bottom: 1.6rem;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 40px;
  padding: 0.55rem 0.82rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-chip span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--terracotta-ink);
  font-size: 0.62rem;
}

.filter-chip:hover {
  border-color: var(--ink-2);
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.filter-chip.is-active span {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.filter-note {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

.fabric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.7rem;
}

.fabric-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(46, 38, 27, 0.02);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card-media::after {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(22, 36, 71, 0.035) 0 1px, transparent 1px 5px);
  content: "";
  pointer-events: none;
}

.card-tag,
.stock-tag {
  position: absolute;
  top: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 29px;
  padding: 0.34rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.89);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.card-tag {
  left: 0.75rem;
}

.stock-tag {
  right: 0.75rem;
  color: var(--success);
  letter-spacing: 0.01em;
}

.stock-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(62, 102, 80, 0.11);
}

.card-body {
  display: flex;
  min-height: 292px;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 34px;
}

.card-meta span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.card-meta strong {
  flex: 0 0 auto;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  background: var(--gold-soft);
  color: #72540b;
  font-size: 0.58rem;
  line-height: 1.4;
}

.fabric-card h3 {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.spec-list {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 0.42rem;
  border-bottom: 1px solid rgba(230, 222, 211, 0.72);
}

.spec-list dt {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

.spec-list dd {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.4;
  text-align: right;
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--terracotta-ink);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.card-cta > .icon:first-child {
  width: 17px;
  height: 17px;
}

.card-cta .icon-arrow {
  width: 17px;
  height: 17px;
  margin-left: auto;
  transition: transform 160ms ease;
}

.catalog-noscript,
.catalog-empty {
  margin-top: 1.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.catalog-noscript a,
.catalog-empty a {
  color: var(--terracotta-ink);
  font-weight: 750;
}

.catalog-footnote {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.catalog-footnote strong {
  color: var(--ink-2);
}

.catalog-footnote a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  color: var(--terracotta-ink);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.catalog-footnote .icon {
  width: 16px;
  height: 16px;
}

/* Wholesale terms */
.terms {
  background:
    radial-gradient(circle at 100% 20%, rgba(197, 155, 39, 0.1), transparent 25rem),
    var(--cream);
}

.terms-heading {
  margin-bottom: 1.9rem;
}

.terms-layout {
  display: grid;
  gap: 1rem;
}

.terms-grid {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}

.term-card {
  min-height: 245px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.term-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.term-number {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.term-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--terracotta-ink);
}

.term-icon .icon {
  width: 19px;
  height: 19px;
}

.term-kicker {
  color: var(--terracotta-ink);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.term-card h3 {
  margin-top: 0.22rem;
  font-family: var(--font-display);
  font-size: 1.58rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.term-card > p:last-child {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.swatch-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.17), transparent 15rem),
    linear-gradient(145deg, #b74f2d, #9f3f23);
  box-shadow: 0 24px 55px rgba(126, 48, 24, 0.2);
  color: var(--white);
}

.swatch-panel::before {
  position: absolute;
  top: -70px;
  right: -90px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.035), 0 0 0 65px rgba(255, 255, 255, 0.025);
  content: "";
  pointer-events: none;
}

.swatch-panel > * {
  position: relative;
  z-index: 1;
}

.swatch-panel h3 {
  max-width: 370px;
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.swatch-lead {
  max-width: 430px;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.6;
}

.swatch-steps {
  display: grid;
  gap: 0.75rem;
  margin-block: 1.35rem;
  list-style: none;
}

.swatch-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.swatch-steps li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #f8e9b9;
  font-size: 0.68rem;
  font-weight: 800;
}

.swatch-steps strong,
.swatch-steps small {
  display: block;
}

.swatch-steps strong {
  font-size: 0.79rem;
  line-height: 1.35;
}

.swatch-steps small {
  margin-top: 0.08rem;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.7rem;
  line-height: 1.45;
}

.swatch-panel .button {
  width: 100%;
}

.swatch-note {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.63rem;
  line-height: 1.45;
  text-align: center;
}

.terms-disclaimer {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

/* Factory and trust */
.trust {
  background: var(--white);
}

.trust-shell {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8f4ee;
  box-shadow: var(--shadow-sm);
}

.trust-visual {
  position: relative;
  isolation: isolate;
  min-height: 410px;
  overflow: hidden;
  background: var(--cream-3);
}

.trust-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(22, 36, 71, 0.04) 0%, transparent 35%, rgba(13, 25, 49, 0.78) 100%),
    linear-gradient(90deg, rgba(22, 36, 71, 0.12), transparent 60%);
  content: "";
}

.location-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(22, 36, 71, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.location-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--terracotta-deep);
  color: var(--white);
}

.location-icon .icon {
  width: 16px;
  height: 16px;
}

.location-chip strong,
.location-chip small {
  display: block;
}

.location-chip strong {
  font-size: 0.72rem;
  line-height: 1.3;
}

.location-chip small {
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.3;
}

.trust-visual-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  max-width: 380px;
  color: var(--white);
}

.caption-kicker {
  color: #f5df9d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-visual-caption p {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.17;
  letter-spacing: -0.025em;
}

.trust-copy {
  padding: 1.4rem;
}

.trust-copy h2 {
  max-width: 620px;
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.trust-intro {
  max-width: 620px;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.trust-checks {
  display: grid;
  gap: 0;
  margin-top: 1.25rem;
  list-style: none;
}

.trust-checks li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.75rem;
  padding-block: 0.95rem;
  border-top: 1px solid var(--line);
}

.check-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--white);
  color: var(--terracotta-ink);
  box-shadow: 0 2px 10px rgba(46, 38, 27, 0.05);
}

.check-icon .icon {
  width: 18px;
  height: 18px;
}

.trust-checks h3 {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.trust-checks p {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.trust-callout {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.trust-callout strong {
  font-size: 0.75rem;
  line-height: 1.35;
}

.trust-callout span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

/* Closing CTA */
.contact-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 6.3rem);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.12), transparent 18rem),
    linear-gradient(145deg, #a94727, #8f3a20);
  color: var(--white);
}

.contact-band::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.045) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.045) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.045) 87.5%);
  background-position: 0 0, 30px 52px;
  background-size: 60px 104px;
  content: "";
  pointer-events: none;
}

.contact-band-inner {
  position: relative;
  display: grid;
  gap: 1.8rem;
}

.contact-band h2 {
  max-width: 700px;
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.contact-band-inner > div:first-child > p:last-child {
  max-width: 680px;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-actions .button {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-2);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link-light {
  color: rgba(255, 255, 255, 0.82);
}

.text-link .icon {
  width: 17px;
  height: 17px;
}

/* Footer */
.site-footer {
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.3rem;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-brand > p {
  max-width: 400px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-decoration: none;
}

.footer-links a,
.footer-contact a {
  padding-block: 0.18rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--terracotta-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.footer-contact .icon {
  width: 15px;
  height: 15px;
  margin-top: 0.16rem;
  color: var(--terracotta-ink);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.policy-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.policy-links button:hover {
  color: var(--terracotta-ink);
}

/* Policy dialogs */
.policy-dialog {
  width: min(calc(100% - 2rem), 680px);
  max-height: min(86dvh, 820px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.policy-dialog::backdrop {
  background: rgba(10, 19, 38, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.policy-dialog[open] {
  animation: dialog-in 180ms ease-out both;
}

.dialog-inner {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.7rem);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
}

.dialog-close .icon {
  width: 18px;
  height: 18px;
}

.dialog-inner h2 {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.dialog-updated {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.dialog-copy {
  margin-top: 1.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.dialog-copy p {
  margin-top: 0.8rem;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.65;
}

.dialog-copy a {
  color: var(--terracotta-ink);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tablet */
@media (max-width: 359px) {
  .header-inner {
    gap: 0.6rem;
  }

  .brand-word {
    display: none;
  }

  .brand-mark {
    width: 40px;
  }

  .button-header {
    padding-inline: 0.72rem;
  }
}

@media (min-width: 560px) {
  .hero-actions .button {
    width: auto;
  }

  .trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(22, 36, 71, 0.09);
  }

  .trust-list li {
    align-items: flex-start;
    padding: 0;
    border-bottom: 0;
  }

  .trust-list strong {
    font-size: 0.75rem;
  }

  .trust-list small {
    font-size: 0.65rem;
  }

  .proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.05rem 1.2rem;
  }

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

  .contact-actions {
    flex-direction: row;
    align-items: center;
  }

  .contact-actions .button {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 640px) {
  .header-cta-long {
    display: inline;
  }

  .header-cta-short {
    display: none;
  }

  .container {
    width: min(100% - 3rem, var(--container));
  }

  .fabric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .catalog-footnote {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .catalog-footnote a {
    flex: 0 0 auto;
  }

  .trust-copy {
    padding: 2rem;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    gap: 1.5rem;
  }

  .brand-mark {
    width: 43px;
  }

  .brand-word {
    font-size: 1.48rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-left: auto;
  }

  .site-nav a {
    position: relative;
    padding-block: 0.35rem;
    color: var(--ink-2);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
  }

  .site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1.5px;
    background: var(--terracotta);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }

  .button-header {
    min-height: 42px;
    padding-inline: 1rem;
  }

  .header-cta-long {
    display: inline;
  }

  .header-cta-short {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .hero-copy {
    padding-bottom: 1.8rem;
  }

  .hero-art {
    min-height: 540px;
  }

  .hero-art-note {
    left: -1%;
    width: 148px;
    padding: 0.85rem;
  }

  .hero-art-note img {
    width: 52px;
  }

  .hero-art-note strong {
    font-size: 1.08rem;
  }

  .ready-stamp {
    width: 96px;
    height: 96px;
  }

  .ready-stamp strong {
    font-size: 1.32rem;
  }

  .catalog-heading,
  .terms-heading {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    align-items: end;
    gap: 3rem;
  }

  .section-intro {
    padding-bottom: 0.3rem;
  }

  .terms-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: stretch;
  }

  .swatch-panel {
    padding: 1.7rem;
  }

  .trust-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    border-radius: 28px;
  }

  .trust-visual {
    min-height: 100%;
  }

  .trust-copy {
    padding: clamp(2rem, 4vw, 3.2rem);
  }

  .contact-band-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: 3rem;
  }

  .contact-actions {
    justify-content: flex-end;
    justify-self: end;
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(130px, 0.55fr) minmax(210px, 0.8fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .fabric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-body {
    padding: 1.05rem;
  }

  .fabric-card h3 {
    font-size: 1.58rem;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4.9rem;
  }

  .hero-art {
    width: 515px;
    min-height: 575px;
  }

  .proof-strip {
    padding-inline: 1.6rem;
  }
}

/* Motion and touch refinements */
@media (hover: hover) {
  .fabric-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 18px 40px rgba(46, 38, 27, 0.1);
    transform: translateY(-4px);
  }

  .fabric-card:hover .card-media img {
    transform: scale(1.025);
  }

  .card-cta:hover .icon-arrow {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
