@charset "UTF-8";

/* ==========================================================================
   JaneShine — Design System
   Minimal editorial layout for a women's dress manufacturer.
   ========================================================================== */

:root {
  /* ---- Theme A: Paper (warm off-white, original) ---- */
  --paper: #fdfcfa;
  --bone: #f7f5f1;
  --sand: #efeae2;
  --ink: #14110f;
  --ink-2: #2a2521;
  --body: #57504a;
  --muted: #8b8177;
  --line: #e6e0d7;
  --line-2: #d3ccc0;
  --accent: #8a6a4d;

  --header-bg: rgba(253, 252, 250, 0.82);
  --header-bg-solid: rgba(253, 252, 250, 0.95);

  /* band = the dark contrast section / footer, always dark */
  --band-bg: #14110f;
  --band-fg: rgba(247, 245, 241, 0.72);
  --band-fg-soft: rgba(247, 245, 241, 0.55);
  --band-fg-dim: rgba(247, 245, 241, 0.42);
  --band-strong: #f7f5f1;
  --band-line: rgba(247, 245, 241, 0.16);
  --band-accent: #c2a488;

  /* light chips that sit on top of imagery — fixed across themes */
  --chip-bg: rgba(253, 252, 250, 0.94);
  --chip-fg: #2a2521;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --serif-display: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", -apple-system, "Segoe UI", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1360px;
  --sect: clamp(64px, 9vw, 144px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---- Theme B: Ivory (warm cream) ---- */
html[data-theme="ivory"] {
  --paper: #f9f4ea;
  --bone: #f1e9db;
  --sand: #e6dac6;
  --ink: #1b1613;
  --ink-2: #332b25;
  --body: #574e45;
  --muted: #8b8074;
  --line: #e7dcc9;
  --line-2: #d5c6ae;
  --accent: #96693f;
  --header-bg: rgba(249, 244, 234, 0.84);
  --header-bg-solid: rgba(249, 244, 234, 0.96);
  --band-bg: #1b1613;
  --band-fg: rgba(247, 241, 231, 0.74);
  --band-fg-soft: rgba(247, 241, 231, 0.56);
  --band-fg-dim: rgba(247, 241, 231, 0.42);
  --band-strong: #f8f2e7;
  --band-line: rgba(247, 241, 231, 0.17);
  --band-accent: #c8a67f;
}

/* ---- Theme C: Sand (deeper warm beige) ---- */
html[data-theme="sand"] {
  /* Sand ⟷ Ink dual-tone base: light modules sit on sand, dark modules on ink */
  --paper: #ece0cb;
  --bone: #e7dac2;
  --sand: #e0d0b6;
  --ink: #1c1712;
  --ink-2: #33291f;
  --body: #574a3b;
  --muted: #8a7a64;
  --line: #d9c7a9;
  --line-2: #c3ae8d;
  --accent: #8a5b32;
  --header-bg: rgba(236, 224, 203, 0.86);
  --header-bg-solid: rgba(236, 224, 203, 0.97);
  --band-bg: #16110c;
  --band-fg: rgba(240, 231, 218, 0.74);
  --band-fg-soft: rgba(240, 231, 218, 0.56);
  --band-fg-dim: rgba(240, 231, 218, 0.42);
  --band-strong: #f2e9da;
  --band-line: rgba(240, 231, 218, 0.18);
  --band-accent: #c9a171;
}

/* ---- Theme D: Greige (cool stone grey) ---- */
html[data-theme="greige"] {
  --paper: #e9e6de;
  --bone: #e1ddd4;
  --sand: #d8d3c8;
  --ink: #171614;
  --ink-2: #2f2c27;
  --body: #555047;
  --muted: #857f74;
  --line: #dbd6cb;
  --line-2: #c6c1b4;
  --accent: #78705f;
  --header-bg: rgba(233, 230, 222, 0.86);
  --header-bg-solid: rgba(233, 230, 222, 0.97);
  --band-bg: #141414;
  --band-fg: rgba(232, 229, 222, 0.74);
  --band-fg-soft: rgba(232, 229, 222, 0.56);
  --band-fg-dim: rgba(232, 229, 222, 0.42);
  --band-strong: #ece9e2;
  --band-line: rgba(232, 229, 222, 0.16);
  --band-accent: #bfb5a2;
}

/* ---- Theme E: Ink (dark editorial) ---- */
html[data-theme="ink"] {
  --paper: #131110;
  --bone: #191614;
  --sand: #201c19;
  --ink: #f2ece2;
  --ink-2: #ded6c9;
  --body: #ada498;
  --muted: #877e71;
  --line: rgba(242, 236, 226, 0.14);
  --line-2: rgba(242, 236, 226, 0.26);
  --accent: #c9a880;
  --header-bg: rgba(19, 17, 16, 0.8);
  --header-bg-solid: rgba(19, 17, 16, 0.95);
  --band-bg: #0b0a09;
  --band-fg: rgba(242, 236, 226, 0.72);
  --band-fg-soft: rgba(242, 236, 226, 0.54);
  --band-fg-dim: rgba(242, 236, 226, 0.4);
  --band-strong: #f2ece2;
  --band-line: rgba(242, 236, 226, 0.16);
  --band-accent: #c9a880;
  --chip-bg: rgba(19, 17, 16, 0.88);
  --chip-fg: #f2ece2;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Layout primitives ---------- */

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

.section { padding: var(--sect) 0; }
.section--tight { padding: calc(var(--sect) * 0.6) 0; }
.section--flush-top { padding-top: 0; }
.section--bone { background: var(--bone); }
.section--sand { background: var(--sand); }

.section--ink {
  background: var(--band-bg);
  color: var(--band-fg);
}
.section--ink h2,
.section--ink h3,
.section--ink strong { color: var(--band-strong); }
.section--ink .eyebrow { color: var(--band-fg-soft); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

.display {
  font-size: clamp(2.7rem, 6.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.display em {
  font-style: italic;
  color: var(--accent);
}

.h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }

.lede {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.8;
  color: var(--body);
  max-width: 56ch;
}

.small {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

.serif-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.32;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::after {
  content: "→";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover::after { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn--light:hover { background: transparent; color: var(--paper); }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-line::after { content: "→"; }
.link-line:hover { border-color: var(--ink); gap: 16px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 38px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: var(--header-bg-solid);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 84px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 68px; }

.logo { display: flex; flex-direction: column; gap: 5px; flex: none; }
.logo__name {
  font-family: var(--serif-display);
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__sub {
  font-size: 0.53rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Logo variants — A default */
/* A: Bodoni Moda caps, heavy */
html[data-logo="b"] .logo__name {
  font-size: clamp(1.75rem, 2.35vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-transform: none;
}
/* C: Cormorant italic, medium — soft boutique */
html[data-logo="c"] .logo__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  letter-spacing: 0;
  text-transform: none;
}
/* D: Inter caps, wide tracking */
html[data-logo="d"] .logo__name {
  font-family: var(--sans);
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.34em;
}
/* E: Playfair Display, semibold title case */
html[data-logo="e"] .logo__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}
/* F: Jost geometric caps */
html[data-logo="f"] .logo__name {
  font-family: "Jost", var(--sans);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.site-nav a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }

.header-cta { flex: none; display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 13px 22px; font-size: 0.68rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: calc(100vh - 84px);
  padding: clamp(40px, 6vw, 72px) 0;
}
.hero__copy { max-width: 620px; }
.hero h1 { margin-bottom: 26px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 78%;
  padding: 16px 22px;
  background: var(--chip-bg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--chip-fg);
}

/* ---------- Stat band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__item { padding: 34px 0 32px; }
.stats__item + .stats__item {
  border-left: 1px solid var(--line);
  padding-left: clamp(14px, 2.2vw, 34px);
}
.stats__num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stats__label {
  margin-top: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats--stack .stats__item:nth-child(n + 3) { border-top: 1px solid var(--line); }

.section--ink .stats,
.section--ink .stats__item + .stats__item { border-color: var(--band-line); }
.section--ink .stats--stack .stats__item:nth-child(n + 3) { border-top-color: var(--band-line); }
.section--ink .stats__num { color: var(--band-strong); }
.section--ink .stats__label { color: var(--band-fg-soft); }

/* ---------- Section head ---------- */

.sect-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.sect-head__aside { padding-bottom: 6px; }
.sect-head .h2 { max-width: 18ch; }

/* ---------- Category cards ---------- */

.cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.cat { display: block; }
.cat__media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.cat__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat:hover .cat__media img { transform: scale(1.045); }
.cat__body { padding-top: 18px; }
.cat__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--ink);
  line-height: 1.2;
}
.cat__title span:last-child {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.cat__desc { margin-top: 8px; font-size: 0.86rem; line-height: 1.65; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--top { align-items: start; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--portrait img { aspect-ratio: 4 / 5; }

.points { margin-top: 32px; border-top: 1px solid var(--line); }
.points li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.points .n {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 2px;
}
.points strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: 0;
}
.points p { font-size: 0.88rem; line-height: 1.65; }

/* ---------- Lookbook grid ---------- */

.looks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.look { display: block; position: relative; }
.look--wide { grid-column: span 2; }
.look__media { position: relative; overflow: hidden; background: var(--sand); }
.look__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.look--wide .look__media img { aspect-ratio: 16 / 11; }
.look:hover .look__media img { transform: scale(1.04); }
.look__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}
.look__name { font-family: var(--serif); font-size: 1.06rem; color: var(--ink); }
.look__no {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.steps__item {
  padding: 26px clamp(12px, 1.8vw, 28px) 0 0;
  border-right: 1px solid var(--line);
}
.steps__item:last-child { border-right: 0; padding-right: 0; }
.steps__num {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.steps__title {
  font-family: var(--serif);
  font-size: 1.16rem;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
  line-height: 1.25;
}
.steps__item p { font-size: 0.85rem; line-height: 1.6; }
.section--ink .steps,
.section--ink .steps__item { border-color: var(--band-line); }

/* ---------- Page head ---------- */

.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(34px, 4vw, 56px); }
.page-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.page-head p { padding-bottom: 8px; }

.crumbs {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { opacity: 0.5; margin: 0 8px; }

/* ---------- Filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(26px, 3vw, 42px);
}
.filters button {
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 11px 20px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.grid-looks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px) clamp(14px, 2vw, 26px);
}
.card { transition: opacity 0.35s var(--ease); }
.card.is-hidden { display: none; }
.card__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}
.card__media { overflow: hidden; background: var(--sand); }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
}
.card__title h3 { font-size: 1.14rem; }
.card__title em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.card__specs {
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- Tables ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.spec-table caption {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
.spec-table th {
  width: 40%;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-table td { color: var(--ink-2); }
.section--ink .spec-table th,
.section--ink .spec-table td { border-color: var(--band-line); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.36rem);
  line-height: 1.35;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.2;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 26px; max-width: 72ch; font-size: 0.92rem; }

/* ---------- CTA band ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(40px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 22ch; }
.section--ink .cta { border-color: var(--band-line); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.info-list { border-top: 1px solid var(--line); margin-top: 8px; }
.info-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .k {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.info-list .v {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--ink);
  line-height: 1.35;
  word-break: break-word;
}
.info-list a.v:hover { color: var(--accent); }
.info-list .note { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.72; }
.field__error {
  display: block;
  margin-top: -2px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #a4523a;
}
.field__error[hidden] { display: none; }
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #b4603f; }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 6px;
}
.form__note { font-size: 0.74rem; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.form__msg {
  display: none;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  background: var(--bone);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.form__msg.is-visible { display: block; }

.map {
  position: relative;
  border: 1px solid var(--line);
  background: var(--sand);
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.map__link { display: block; position: relative; width: 100%; height: 100%; color: inherit; }
.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: opacity 0.6s var(--ease);
}
.map__link:hover img { opacity: 1; }
.map__marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(253, 252, 250, 0.9), 0 0 0 8px rgba(138, 106, 77, 0.22);
}
.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 18px);
  white-space: nowrap;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chip-fg);
  background: var(--chip-bg);
  padding: 10px 16px;
  border: 1px solid var(--line-2);
}
.map__attrib {
  position: absolute;
  right: 8px;
  bottom: 6px;
  margin: 0;
  padding: 2px 6px;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--muted);
  background: rgba(253, 252, 250, 0.76);
}
.map__attrib a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.map__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: 14px;
}
.map__foot p { margin: 0; max-width: 70ch; }
.map__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }

@media (max-width: 560px) {
  .map { aspect-ratio: 4 / 3; }
  .map__pin { font-size: 0.56rem; letter-spacing: 0.12em; padding: 8px 12px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--band-bg);
  color: var(--band-fg);
  padding: clamp(52px, 6vw, 88px) 0 28px;
  font-size: 0.86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr)) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer-brand .logo__name { color: var(--band-strong); }
.footer-brand .logo__sub { color: var(--band-fg-dim); }
.footer-brand p { margin-top: 18px; max-width: 30ch; line-height: 1.7; color: var(--band-fg-soft); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--band-fg-dim);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--band-fg); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--band-strong); }
.footer-col p { color: var(--band-fg-soft); line-height: 1.7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
  font-size: 0.72rem;
  color: var(--band-fg-dim);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(20, 17, 15, 0.94);
}
.lightbox.is-open { display: grid; }
.lightbox__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  max-width: 1100px;
  width: 100%;
}
.lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: var(--sand);
}
.lightbox__info { color: rgba(247, 245, 241, 0.72); }
.lightbox__info h3 {
  color: #f7f5f1;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 14px;
}
.lightbox__info dl {
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-size: 0.84rem;
}
.lightbox__info dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(247, 245, 241, 0.14);
  padding-bottom: 10px;
}
.lightbox__info dt {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.45);
}
.lightbox__info dd { margin: 0; color: #f7f5f1; text-align: right; }
.lightbox .btn--light {
  background: #f7f5f1;
  border-color: #f7f5f1;
  color: #14110f;
}
.lightbox .btn--light:hover { background: transparent; color: #f7f5f1; }
.lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(247, 245, 241, 0.3);
  color: #f7f5f1;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover { background: rgba(247, 245, 241, 0.12); border-color: var(--bone); }

/* ---------- Reveal ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Factory photography — neutralised so phone shots sit with the product work */
.img-fac { filter: saturate(0.8) contrast(1.06) brightness(0.97); }

/* ---------- Factory gallery & video ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.shot { margin: 0; }
.shot__media { overflow: hidden; background: var(--sand); }
.shot__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.shot:hover .shot__media img { transform: scale(1.03); }
.shot figcaption { color: var(--muted); }
.section--ink .shot figcaption { color: var(--band-fg-soft); }

.video {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}
.video video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.video figcaption { color: var(--muted); }
.section--ink .video figcaption { color: var(--band-fg-soft); }

/* ---------- Numbered process grid ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 46px) clamp(20px, 3vw, 52px);
}
.process__item { border-top: 1px solid var(--line); padding-top: 20px; }
.process__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}
.process__item p { font-size: 0.88rem; line-height: 1.65; margin-top: 10px; }

/* ---------- Dark module contents (dual-tone pages) ---------- */

.section--ink .lede,
.section--ink .small { color: var(--band-fg); }
.section--ink .serif-quote { color: var(--band-strong); }
.section--ink .link-line {
  color: var(--band-strong);
  border-bottom-color: var(--band-line);
}
.section--ink .link-line:hover { border-bottom-color: var(--band-strong); }
.section--ink .btn {
  background: var(--band-strong);
  border-color: var(--band-strong);
  color: #14110f;
}
.section--ink .btn:hover { background: transparent; color: var(--band-strong); }
.section--ink .points,
.section--ink .points li { border-color: var(--band-line); }
.section--ink .points strong { color: var(--band-strong); }
.section--ink .points p { color: var(--band-fg); }
.section--ink .points .n { color: var(--band-accent); }
.section--ink .steps__title { color: var(--band-strong); }
.section--ink .steps__num { color: var(--band-accent); }
.section--ink .steps__item p { color: var(--band-fg); }
.section--ink .process__item { border-top-color: var(--band-line); }
.section--ink .process__item h3 { color: var(--band-strong); }
.section--ink .process__item p { color: var(--band-fg); }
.section--ink .process__num { color: var(--band-accent); }
.section--ink .spec-table caption { color: var(--band-fg-soft); }
.section--ink .spec-table th { color: var(--band-fg-soft); }
.section--ink .spec-table td { color: var(--band-strong); }
.section--ink .cat__title { color: var(--band-strong); }
.section--ink .cat__title span:last-child,
.section--ink .cat__desc { color: var(--band-fg-soft); }
.section--ink .look__name { color: var(--band-strong); }
.section--ink .look__no { color: var(--band-fg-soft); }
.section--ink .filters button {
  color: var(--band-fg);
  border-color: var(--band-line);
}
.section--ink .filters button:hover { color: var(--band-strong); border-color: var(--band-strong); }
.section--ink .filters button.is-active {
  background: var(--band-strong);
  border-color: var(--band-strong);
  color: #14110f;
}
.section--ink .cta { border-top-color: var(--band-line); }

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .steps__item:last-child { border-bottom: 0; }
  .lightbox__inner { grid-template-columns: 1fr; max-width: 620px; max-height: 92vh; overflow: auto; }
  .lightbox img { max-height: 52vh; }
}

@media (max-width: 960px) {
  .header-inner { height: 70px; }
  .site-header.is-scrolled .header-inner { height: 62px; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 96px 32px 40px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 48px rgba(20, 17, 15, 0.06);
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    visibility: hidden;
    transition: clip-path 0.5s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.5s;
    overflow-y: auto;
    z-index: 95;
  }
  body.nav-open .site-nav {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
    transition: clip-path 0.5s var(--ease), opacity 0.2s var(--ease), visibility 0s linear 0s;
  }
  .site-nav a {
    width: 100%;
    padding: 16px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a::after { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: clamp(32px, 6vw, 56px) 0 0;
    gap: 36px;
  }
  .hero__copy { max-width: none; }
  .hero__meta { margin-top: 32px; }
  .hero__figure img { aspect-ratio: 4 / 4.4; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding: 26px 0; }
  .stats__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .sect-head { grid-template-columns: 1fr; align-items: start; }
  .sect-head .h2 { max-width: none; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look--wide { grid-column: span 2; }
  .look--wide .look__media img { aspect-ratio: 16 / 10; }

  .grid-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head__inner { grid-template-columns: 1fr; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat__title { display: block; font-size: 1.05rem; }
  .cat__title span:last-child { display: block; margin-top: 4px; }
  .cat__desc { display: none; }
  .looks { grid-template-columns: 1fr; }
  .look--wide { grid-column: span 1; }
  .look--wide .look__media img,
  .look__media img { aspect-ratio: 4 / 5; }
  .grid-looks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__caption { max-width: 100%; font-size: 0.62rem; padding: 12px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Local preview switcher — dev only, delete before launch
   ========================================================================== */

.theme-picker {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 300;
  font-family: var(--sans);
}
.theme-picker__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--band-bg);
  background: var(--band-bg);
  color: var(--band-strong);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(10, 8, 6, 0.22);
}
.theme-picker__toggle svg { width: 13px; height: 13px; }
.theme-picker__panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 268px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(10, 8, 6, 0.26);
  color: var(--ink);
  display: none;
}
.theme-picker.is-open .theme-picker__panel { display: block; }
.theme-picker__group + .theme-picker__group { margin-top: 18px; }
.theme-picker__label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.swatches { display: flex; gap: 9px; }
.swatch {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(20, 17, 15, 0.2);
  cursor: pointer;
  border-radius: 50%;
}
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 1px var(--paper), 0 0 0 2px var(--ink);
}
.logo-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.logo-opts button {
  flex: 1 1 44%;
  padding: 9px 8px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.logo-opts button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.logo-opts .lp-a { font-family: var(--serif-display); font-weight: 600; text-transform: uppercase; font-size: 0.66rem; }
.logo-opts .lp-b { font-family: var(--serif-display); font-weight: 600; font-size: 0.74rem; }
.logo-opts .lp-c { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 0.8rem; }
.logo-opts .lp-d { font-family: var(--sans); font-weight: 600; letter-spacing: 0.2em; font-size: 0.56rem; }
.logo-opts .lp-e { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 0.72rem; }
.logo-opts .lp-f { font-family: "Jost", var(--sans); font-weight: 600; letter-spacing: 0.16em; font-size: 0.56rem; text-transform: uppercase; }
.theme-picker__note {
  margin-top: 14px;
  font-size: 0.56rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
}
