/* ============================================================
   SHRADDHA THREAD — "The Dyer's Atelier"
   A swatch-book / atelier-table design language:
   calico paper, ink, one shot of vermillion dye,
   stitched borders, hard shadows, editorial serif.
   ============================================================ */

:root {
  /* atelier palette */
  --paper: #F5F1E6;
  --paper-deep: #ECE6D6;
  --surface: #FBF8EF;
  --ink: #171310;
  --ink-2: #26201A;
  --vermillion: #E8480F;
  --vermillion-deep: #C23A0B;
  --gold: #D9A441;
  --muted: #776E5F;
  --border: rgba(23, 19, 16, .18);
  --border-strong: rgba(23, 19, 16, .85);

  /* thread spectrum (used for dots, dye-hover, tags) */
  --t1: #E8480F; --t2: #D9A441; --t3: #3E7C4F;
  --t4: #2B6CB0; --t5: #7C3AED; --t6: #C2185B; --t7: #0F766E;

  /* type */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;

  /* geometry */
  --radius-sm: 2px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 5px 5px 0 rgba(23, 19, 16, .12);
  --shadow-lg: 8px 8px 0 rgba(23, 19, 16, .85);
  --container-width: 1280px;

  /* legacy aliases so admin.css keeps working */
  --color-black: var(--ink);
  --color-white: var(--paper);
  --color-cream: var(--paper-deep);
  --color-forest: var(--vermillion);
  --color-forest-light: var(--vermillion-deep);
  --gradient-forest: linear-gradient(135deg, #1c1712, #171310 55%, #2a2118);
  --color-text: var(--ink);
  --color-muted: var(--muted);
  --color-border: var(--border);
  --color-surface: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* paper grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--vermillion); color: var(--paper); }
:focus-visible { outline: 2px dashed var(--vermillion); outline-offset: 3px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 480;
  color: var(--ink);
  line-height: 1.04;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.9rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.25rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: inherit; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

/* ---------- small labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--vermillion);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.rule { width: 52px; height: 3px; background: var(--vermillion); border: none; margin: 1.2rem 0 1.5rem; }
.rule--light { background: var(--gold); }

/* section index — "(01)" markers */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 1.4rem;
  border-bottom: 2px dashed var(--border);
}
.sec-head h2 { margin: 0; max-width: 15em; }
.sec-index {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--vermillion);
  display: block;
  margin-bottom: .8rem;
}
.sec-head__note { max-width: 320px; font-size: .92rem; margin: 0 0 .4rem; }

/* ---------- buttons: stitched patches ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  outline: 1.5px dashed rgba(23,19,16,.35);
  outline-offset: -7px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, outline-color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--border-strong); }
.btn:active { transform: translate(0, 0); box-shadow: 1px 1px 0 var(--border-strong); }

.btn--accent { background: var(--ink); color: var(--paper); outline-color: rgba(245,241,230,.45); }
.btn--accent:hover { background: var(--vermillion); border-color: var(--vermillion-deep); box-shadow: 4px 4px 0 var(--border-strong); }
.btn--primary { background: var(--vermillion); border-color: var(--vermillion-deep); color: var(--paper); outline-color: rgba(245,241,230,.5); }
.btn--primary:hover { background: var(--vermillion-deep); }
.btn--outline { background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); outline-color: rgba(245,241,230,.45); }
.btn--ghost { border-color: rgba(245,241,230,.55); color: var(--paper); outline-color: rgba(245,241,230,.3); }
.btn--ghost:hover { background: rgba(245,241,230,.1); box-shadow: 4px 4px 0 rgba(245,241,230,.25); }
.btn--danger { border-color: #a3352f; color: #a3352f; outline-color: rgba(163,53,47,.35); }
.btn--danger:hover { background: #a3352f; color: #fff; }
.btn--small { padding: .65rem 1.15rem; font-size: .66rem; outline-offset: -5px; }
.btn--full { width: 100%; }

.play-btn { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.play-btn__circle { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.circle-link { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px dashed var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(23,19,16,.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 0; }

.brand { display: flex; align-items: baseline; gap: .5rem; }
.brand__text { display: flex; align-items: baseline; gap: .5rem; line-height: 1; }
.brand__text strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand__text small {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--vermillion);
}

.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.9rem; margin: 0; padding: 0; counter-reset: nav; }
.site-nav ul li { counter-increment: nav; }
.site-nav ul a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .35rem 0;
  position: relative;
}
.site-nav ul a::before {
  content: "0" counter(nav);
  font-size: .5rem;
  color: var(--vermillion);
  position: absolute;
  top: -.5em;
  right: -1.15em;
  letter-spacing: 0;
}
.site-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  border-bottom: 2px dashed var(--vermillion);
  transition: right .22s ease;
}
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { right: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 5rem 0 3.2rem; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__copy p.lead { font-size: 1.08rem; max-width: 30em; }
.hero__actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__hint {
  margin-top: 2.2rem;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero__hint::before { content: '✳'; color: var(--vermillion); }

/* dye-on-hover letters */
.dye-letter { transition: color .25s ease, transform .25s ease; display: inline-block; }
.dye-letter:hover { transform: translateY(-.06em) rotate(-2deg); }

/* the taped photograph */
.hero__visual { position: relative; padding: 1.5rem 0 2.5rem; }
.hero__frame {
  position: relative;
  transform: rotate(2.5deg);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  padding: 14px 14px 52px;
  box-shadow: var(--shadow-lg);
}
.hero__frame img { width: 100%; }
.hero__frame figcaption {
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--muted);
}
.tape {
  position: absolute;
  width: 110px; height: 32px;
  background: rgba(217, 164, 65, .45);
  border-left: 1px dashed rgba(23,19,16,.25);
  border-right: 1px dashed rgba(23,19,16,.25);
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}
.tape--corner { left: auto; right: -34px; top: auto; bottom: 34px; transform: rotate(55deg); }

/* spinning circular badge */
.badge-spin {
  position: absolute;
  width: 128px; height: 128px;
  left: -44px; bottom: -6px;
  z-index: 3;
  animation: spin 22s linear infinite;
}
.badge-spin text {
  font-family: var(--font-display);
  font-size: 10.2px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  fill: var(--ink);
}
.badge-spin circle { fill: var(--paper); stroke: var(--border-strong); stroke-width: 1.5; }
.badge-spin .badge-dot { fill: var(--vermillion); stroke: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* loose thread dots floating in hero */
.thread-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(23,19,16,.35);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }

/* stitched thread line under hero */
.thread-svg { display: block; width: 100%; height: 90px; margin-top: 1rem; }
.thread-svg path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: sew 3.2s .3s ease-out forwards;
}
@keyframes sew { to { stroke-dashoffset: 0; } }

/* ---------- marquee ---------- */
.marquee {
  border-top: 2px dashed var(--border);
  border-bottom: 2px dashed var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__list i {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(23,19,16,.3);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 6.5rem 0; }
.section--tight { padding: 4.5rem 0; }
.section--cream { background: var(--paper-deep); }
.section--dark { background: var(--ink); }
.section--forest { background: var(--ink-2); }

/* dark-surface safety net: never dark-on-dark again */
.section--dark, .section--forest, .feature-box--dark, .cta-band, .site-footer { color: rgba(245,241,230,.72); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4,
.feature-box--dark h1, .feature-box--dark h2, .feature-box--dark h3,
.cta-band h1, .cta-band h2, .cta-band h3 { color: var(--paper); }
.section--dark p, .section--forest p, .feature-box--dark p, .cta-band p { color: rgba(245,241,230,.66); }
.section--dark .eyebrow, .section--forest .eyebrow, .feature-box--dark .eyebrow, .cta-band .eyebrow { color: rgba(245,241,230,.85); }
.section--dark .sec-head, .section--forest .sec-head { border-color: rgba(245,241,230,.22); }
.section--dark .sec-index, .section--forest .sec-index { color: var(--gold); }
.section--dark .btn--outline, .section--forest .btn--outline, .cta-band .btn--outline {
  border-color: rgba(245,241,230,.6); color: var(--paper); outline-color: rgba(245,241,230,.3);
}
.section--dark .btn--outline:hover, .section--forest .btn--outline:hover, .cta-band .btn--outline:hover {
  background: var(--paper); color: var(--ink);
}

.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.section--split.section--split-reverse .section__media { order: 2; }
.section__media img { border: 1.5px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.section__text p { font-size: 1rem; }

/* ---------- page banner (inner pages) ---------- */
.page-banner {
  background: var(--paper);
  padding: 5.5rem 0 3.5rem;
  border-bottom: 2px dashed var(--border);
  position: relative;
  overflow: hidden;
}
.page-banner .container { position: relative; }
.page-banner h1 { margin-bottom: .3em; }
.page-banner p { max-width: 480px; margin: 0; font-size: 1.02rem; }
.page-banner .center { text-align: left; }
.page-banner .eyebrow.center { justify-content: flex-start; }
.page-banner::before {
  content: '✳';
  position: absolute;
  right: -1.5rem; top: -2.5rem;
  font-size: 16rem;
  line-height: 1;
  color: var(--vermillion);
  opacity: .1;
  font-family: var(--font-serif);
  pointer-events: none;
}

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

/* swatch-tag cards */
.card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  overflow: visible;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--border-strong);
  z-index: 2;
}
.card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 1/1; overflow: hidden; margin: 30px 12px 0; border: 1px solid var(--border); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 1.2rem 1.35rem 1.5rem; }
.card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--vermillion);
  margin-bottom: .55rem;
}
.card__body h3 { margin-bottom: .45rem; font-size: 1.08rem; }
.card__body p { font-size: .87rem; margin-bottom: 1rem; }

/* feature boxes */
.feature-box {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-box:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.feature-box__icon { margin-bottom: 1.1rem; color: var(--vermillion); }
.feature-box__icon svg { width: 34px; height: 34px; }
.feature-box p { margin-bottom: 0; font-size: .92rem; }
.feature-box--link { display: block; }
.feature-box--dark { background: var(--ink); border-color: var(--ink); }
.feature-box--dark .feature-box__icon { color: var(--gold); }
.shade-card { text-align: center; }
.shade-card .btn { margin-top: 1rem; }

.shade-library-panel { padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.shade-library-panel__text { max-width: 520px; }
.shade-library-panel__text h2 { margin-bottom: .5rem; }
.shade-library-panel__text p { margin: 0; }

/* ---------- THE SHADE WALL ---------- */
.wall-wrap { position: relative; }
.wall {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.wall span {
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: transform .14s ease, border-radius .14s ease, box-shadow .14s ease;
}
.wall span:hover {
  transform: scale(1.75);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(23,19,16,.35);
  position: relative;
  z-index: 5;
}
.wall__chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  padding: .55rem .95rem;
  border-radius: 999px;
}
.wall__chip i {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--chip-c, var(--paper-deep));
  border: 1px solid var(--border);
  display: inline-block;
}
.wall-note { margin-top: 1.2rem; font-size: .74rem; color: var(--muted); letter-spacing: .05em; }
.wall-note::before { content: '✳ '; color: var(--vermillion); }

/* ---------- numbered process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.step { position: relative; padding-top: 1rem; }
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,241,230,.5);
  display: block;
  margin-bottom: 1rem;
}
.step h3 { color: var(--paper); font-size: 1.3rem; }
.step p { font-size: .92rem; }
.step::after {
  content: '';
  position: absolute;
  top: 3.2rem; right: -1.6rem;
  width: 2.5rem;
  border-top: 2px dashed rgba(245,241,230,.3);
}
.step:last-child::after { display: none; }

/* ---------- industry rows (typographic) ---------- */
.industry-rows { border-top: 1.5px solid var(--border-strong); }
.industry-row {
  display: grid;
  grid-template-columns: 64px 1fr auto 44px;
  align-items: center;
  gap: 1.6rem;
  padding: 1.5rem .8rem;
  border-bottom: 1.5px solid var(--border-strong);
  position: relative;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.industry-row:hover { background: var(--ink); color: var(--paper); padding-left: 1.6rem; }
.industry-row__idx { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .15em; color: var(--vermillion); }
.industry-row:hover .industry-row__idx { color: var(--gold); }
.industry-row__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 480;
  line-height: 1.1;
}
.industry-row__desc { font-size: .84rem; color: var(--muted); max-width: 320px; text-align: right; }
.industry-row:hover .industry-row__desc { color: rgba(245,241,230,.66); }
.industry-row__arrow {
  width: 40px; height: 40px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.industry-row:hover .industry-row__arrow { transform: rotate(-45deg); background: var(--vermillion); border-color: var(--vermillion); color: var(--paper); }

/* old industry icon tiles (kept for compatibility) */
.industry-item { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; padding: 1.2rem .5rem; }
.industry-item__icon { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--vermillion); }
.industry-item__icon svg { width: 24px; height: 24px; }
.industry-item span { font-family: var(--font-display); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- product rail ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(265px, 300px);
  gap: 1.6rem;
  overflow-x: auto;
  padding: .5rem .3rem 1.6rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--vermillion) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--vermillion); border-radius: 999px; }

/* ---------- shade wheel (legacy, small uses) ---------- */
.shade-wheel { width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(#C0392B, #D9A441, #4C8C3C, #1E7F79, #2B6CB0, #7C3AED, #C2185B, #C0392B); }
.shade-wheel::before { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); }
.shade-wheel__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.shade-wheel__center strong { font-family: var(--font-serif); font-size: 1.5rem; }
.shade-wheel__center span { font-family: var(--font-display); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.shade-wheel--sm { width: 96px; height: 96px; }
.shade-wheel--sm::before { inset: 12px; }
.shade-wheel--sm .shade-wheel__center strong { font-size: 1rem; }
.shade-wheel-card { background: var(--surface); border: 1.5px solid var(--border-strong); padding: 2.2rem; display: flex; align-items: center; gap: 2rem; }

/* ---------- gallery: pinned photos ---------- */
.gallery-grid { gap: 2.4rem; }
.gallery-item {
  margin: 0;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  padding: 12px 12px 0;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:nth-child(odd) { transform: rotate(-1.4deg); }
.gallery-item:nth-child(even) { transform: rotate(1.2deg); }
.gallery-item:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-lg); z-index: 3; }
.gallery-item::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 88px; height: 26px;
  background: rgba(217,164,65,.45);
  border-left: 1px dashed rgba(23,19,16,.25);
  border-right: 1px dashed rgba(23,19,16,.25);
  z-index: 2;
}
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-item figcaption {
  padding: .85rem .3rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink);
}

/* ---------- strip stats ---------- */
.strip { background: var(--ink); color: var(--paper); border-top: 6px solid var(--vermillion); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3rem 0; }
.strip__item { display: flex; flex-direction: column; gap: .3rem; text-align: center; border-left: 2px dashed rgba(245,241,230,.2); padding: 0 1rem; }
.strip__item:first-child { border-left: none; }
.strip__item strong { font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; font-weight: 500; }
.strip__item span { font-family: var(--font-display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,241,230,.6); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: '✳';
  position: absolute;
  left: -2rem; bottom: -6rem;
  font-size: 22rem;
  font-family: var(--font-serif);
  color: var(--vermillion);
  opacity: .14;
  pointer-events: none;
}
.cta-band__inner { padding: 7rem 0; text-align: center; max-width: 760px; margin: 0 auto; position: relative; }
.cta-band h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); margin-bottom: .5em; }
.cta-band p { margin: 0 0 2.4rem; }

/* ---------- forms ---------- */
.form { max-width: 580px; }
.form--narrow { max-width: 420px; }
.form__row { margin-bottom: 1.25rem; }
.form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--ink);
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: .9rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--surface);
  color: var(--ink);
  transition: box-shadow .15s ease;
}
.form input:focus, .form textarea:focus { outline: 2px dashed var(--vermillion); outline-offset: 2px; box-shadow: 3px 3px 0 rgba(23,19,16,.15); }

.alert { padding: 1rem 1.2rem; border: 1.5px solid currentColor; border-radius: 3px; margin-bottom: 1.3rem; font-size: .9rem; }
.alert--success { background: #e7f3e9; color: #22673a; }
.alert--error { background: #fdeeea; color: #a3352f; }
.alert ul { margin: 0; padding-left: 1.1rem; }

.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-info .feature-box { padding: 1.4rem 1.6rem; }
.contact-info h3 { margin-bottom: .3rem; font-size: 1rem; }
.contact-info p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 6px solid var(--vermillion); overflow: hidden; }
.footer-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: .95;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,241,230,.22);
  padding: 3.5rem 0 0;
  white-space: nowrap;
  user-select: none;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 3rem; }
.brand--footer .brand__text strong { color: var(--paper); }
.brand--footer .brand__text small { color: var(--gold); }
.footer__social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245,241,230,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: border-color .15s ease, background .15s ease;
}
.footer__social a:hover { border-style: solid; border-color: var(--vermillion); background: var(--vermillion); }
.footer__col h4 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; font-size: .88rem; }
.footer__links a:hover { color: var(--paper); text-decoration: underline dashed; text-underline-offset: 4px; }
.footer__bottom { border-top: 2px dashed rgba(245,241,230,.18); padding: 1.3rem 0; font-size: .74rem; letter-spacing: .06em; text-align: center; }

.whatsapp-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 2px dashed rgba(245,241,230,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  z-index: 8000;
  transition: transform .16s ease, background .16s ease;
}
.whatsapp-fab:hover { background: var(--vermillion); transform: rotate(-8deg) scale(1.06); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .badge-spin, .thread-dot { animation: none; }
  .thread-svg path { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 520px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .strip__item { border-left: none; padding: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: repeat(18, 1fr); }
  .steps { gap: 2rem; }
}

@media (max-width: 960px) {
  .grid--4, .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .section--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .section--split.section--split-reverse .section__media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .industry-row { grid-template-columns: 44px 1fr 44px; }
  .industry-row__desc { display: none; }
  .shade-wheel-card { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 28px 1.6rem;
    border-bottom: 2px dashed var(--border);
    display: none;
    gap: 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .3rem; }
  .site-nav ul a { display: block; padding: .7rem 0; }
  .site-nav ul a::before { position: static; margin-right: .6rem; }
  .nav-cta { align-self: flex-start; }
  .grid--4, .grid--3, .grid--6 { grid-template-columns: 1fr 1fr; }
  .form__row--split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__links { align-items: center; }
  .footer__social { justify-content: center; }
  .brand--footer { justify-content: center; }
  .wall { grid-template-columns: repeat(12, 1fr); }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .badge-spin { left: -12px; width: 100px; height: 100px; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 3.5rem; }
}

@media (max-width: 520px) {
  .grid--4, .grid--3, .grid--6 { grid-template-columns: 1fr; }
  .gallery-grid.grid--4 { grid-template-columns: 1fr; }
}
