/* =========================================================
   TM SILK — design tokens
   Palette grounded in the material world of Indian silk-weaving:
   ink from loom wood, ivory from raw silk, brass from zari
   (gold-thread work), and a muted madder red used sparingly,
   the way a natural dye accent would appear in real cloth.
   ========================================================= */
:root {
  --ink: #1c1712;
  --ink-soft: #372f27;
  --paper: #f4efe4;
  --paper-deep: #eae1cd;
  --gold: #a9863f;
  --gold-deep: #8a6d31;
  --rust: #7c3a2a;
  --muted: #7a7264;
  --line: rgba(28, 23, 18, 0.14);
  --line-on-dark: rgba(244, 239, 228, 0.18);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.002em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

/* italic gold accent — the highlighted portion of a display heading */
h1 em, h2 em, h3 em, .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
p { margin: 0; max-width: 62ch; color: var(--ink-soft); }

.label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn-ghost {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- reveal (single restrained motion pass) --------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- header / nav ------------------------------------------ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; }
.logo img { height: 34px; }
.navlinks { display: flex; gap: 34px; }
.navlinks a { font-size: 0.92rem; font-weight: 600; position: relative; }
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.navlinks a:hover::after { transform: scaleX(1); }
.menu { display: none; background: none; border: none; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; cursor: pointer; }

@media (max-width: 860px) {
  .menu { display: block; }
  .navlinks {
    position: fixed; inset: 78px 0 0 0; background: var(--paper);
    flex-direction: column; padding: 28px var(--gutter); gap: 22px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.25s ease;
  }
  .navlinks.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .navlinks a { font-size: 1.1rem; }
}

/* ---------- hero ---------------------------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,16,12,0.72) 0%, rgba(20,16,12,0.15) 55%, rgba(20,16,12,0.35) 100%);
}
.hero-content { position: relative; color: var(--paper); padding-bottom: 72px; }
.hero-content .label { color: var(--gold); }
.hero-content h1 { color: var(--paper); margin: 14px 0 20px; }
.hero-copy { color: rgba(244,239,228,0.86); font-size: 1.15rem; margin-bottom: 30px; }
.hero-content .btn { border-color: var(--paper); color: var(--paper); }
.hero-content .btn:hover { background: var(--paper); color: var(--ink); }

.page-hero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero .hero-content { padding-bottom: 56px; }

/* ---------- generic section rhythm --------------------------------- */
section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }

.intro-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
@media (max-width: 780px) { .intro-grid, .split { grid-template-columns: 1fr; } }
.intro-grid h2, .split h2 { margin: 12px 0 18px; }
.intro-grid p, .split p { margin-bottom: 22px; }

.editorial { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; align-items: stretch; }
.editorial .visual img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 72px); background: var(--paper-deep); }
.editorial-copy h2 { margin: 12px 0 18px; }
.editorial-copy p { margin-bottom: 22px; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }

/* ---------- collections grid --------------------------------------- */
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); }
.collection { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ink); display: block; }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection:hover img { transform: scale(1.045); }
.collection-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(0deg, rgba(20,16,12,0.78), transparent);
  color: var(--paper);
}
.collection-label strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.collection-label .label { color: var(--gold); display: block; margin-bottom: 4px; }
@media (max-width: 980px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .collection-grid { grid-template-columns: 1fr; } }

/* ---------- process steps (a real sequence — numbering is earned) -- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 36px; }
.process-item b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-deep); font-weight: 400; margin-bottom: 10px; }
.process-item h3 { margin-bottom: 8px; }
.process-item p { font-size: 0.95rem; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- manifesto / dark section -------------------------------- */
.manifesto { background: var(--ink); color: var(--paper); }
.manifesto .label { color: var(--gold); }
.manifesto h2 { color: var(--paper); margin: 12px 0 0; max-width: 720px; }
.manifesto .container { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; }
@media (max-width: 780px) { .manifesto .container { grid-template-columns: 1fr; } }

/* ---------- full-bleed image w/ copy --------------------------------- */
.fullimage { position: relative; overflow: hidden; }
.fullimage img { width: 100%; height: 62vh; object-fit: cover; }
.fullimage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,16,12,0.7), transparent 60%); }
.fullimage-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 5vw, 64px); color: var(--paper); }
.fullimage-copy .label { color: var(--gold); }
.fullimage-copy h2 { color: var(--paper); margin: 10px 0; }

/* ---------- cta ------------------------------------------------------ */
.cta { text-align: center; }
.cta .label { display: block; margin-bottom: 12px; }
.cta h2 { margin-bottom: 16px; }
.cta p { margin: 0 auto 30px; }

/* ---------- footer ----------------------------------------------------- */
footer { background: var(--ink); color: var(--paper); padding: 64px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-on-dark); }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 14px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links a { display: block; margin-top: 12px; color: rgba(244,239,228,0.78); font-size: 0.95rem; }
.footer-links a:first-child { margin-top: 0; color: var(--gold); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 0.82rem; color: rgba(244,239,228,0.55); flex-wrap: wrap; gap: 8px; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { color: var(--paper); font-size: 0.85rem; border-bottom: 1px solid var(--line-on-dark); }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- collections index page ------------------------------------ */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 30px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--ink-soft);
}
.filter-pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- single collection page ------------------------------------- */
.collection-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.collection-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.collection-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 780px) { .collection-hero { grid-template-columns: 1fr; } .collection-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- values / stats grids --------------------------------------- */
.value-grid, .stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.value-card, .stat-card { padding: 28px; border: 1px solid var(--line); }
.value-card h3 { margin-bottom: 10px; }
.stat-card b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--gold-deep); display: block; margin-bottom: 6px; }
@media (max-width: 780px) { .value-grid, .stat-grid { grid-template-columns: 1fr; } }

/* ---------- contact page ------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
.contact-info dl { margin: 30px 0 0; }
.contact-info dt { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--gold-deep); font-weight: 600; margin-top: 22px; }
.contact-info dd { margin: 6px 0 0; font-size: 1.05rem; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--paper-deep);
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); border-radius: 2px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-status { margin-top: 14px; font-size: 0.9rem; }
.form-status.ok { color: #3d6b3f; }
.form-status.error { color: var(--rust); }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- utility skeletons while content loads ----------------------- */
.skeleton { background: linear-gradient(90deg, var(--paper-deep) 25%, var(--paper) 37%, var(--paper-deep) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* =========================================================
   ADDED — new graphical sections (statement split, collage,
   enquiry split). Additive only — nothing above this is
   changed. Uses the existing design tokens (--ink, --paper,
   --gold, --font-display, --font-body).
   ========================================================= */

/* ---------- statement split: full-bleed image + bold dark panel -------- */
.statement-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 78vh; }
.statement-split .visual { position: relative; overflow: hidden; }
.statement-split .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.statement-split .panel {
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 90px);
}
.statement-split .panel .label { color: var(--gold); }
.statement-split .panel h2 {
  color: var(--paper); text-transform: uppercase;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08;
  letter-spacing: 0.01em; margin: 16px 0 24px;
}
.statement-split .panel p { color: rgba(244,239,228,0.78); font-size: 1.05rem; max-width: 46ch; }
@media (max-width: 780px) {
  .statement-split { grid-template-columns: 1fr; min-height: auto; }
  .statement-split .visual { min-height: 340px; }
}

/* ---------- collage: overlapping imagery + copy ------------------------- */
.collage-section { padding: clamp(64px, 10vw, 120px) 0; }
.collage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.collage-imgs { position: relative; padding-bottom: 64px; }
.collage-imgs .img-main { width: 78%; border-radius: 2px; }
.collage-imgs .img-inset {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border: 8px solid var(--paper); box-shadow: 0 20px 44px rgba(28,23,18,0.22); border-radius: 2px;
}
.collage-copy h2 { margin: 14px 0 20px; }
@media (max-width: 780px) {
  .collage-grid { grid-template-columns: 1fr; }
  .collage-imgs { padding-bottom: 84px; }
}

/* ---------- enquiry split: full-bleed CTA (image + dark panel) ---------- */
.enquiry-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 64vh; }
.enquiry-split .panel {
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 90px);
}
.enquiry-split .panel h2 { color: var(--paper); margin: 14px 0 18px; }
.enquiry-split .panel p { color: rgba(244,239,228,0.78); margin-bottom: 26px; max-width: 42ch; }
.enquiry-split .arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 600; letter-spacing: 0.04em;
  font-size: 0.88rem; text-transform: uppercase;
}
.enquiry-split .arrow-link span { transition: transform 0.25s ease; }
.enquiry-split .arrow-link:hover span { transform: translateX(6px); }
.enquiry-split .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 780px) {
  .enquiry-split { grid-template-columns: 1fr; min-height: auto; }
  .enquiry-split .visual { min-height: 320px; }
}

/* =========================================================
   ADDED — directional scroll-reveal variants + stagger.
   Base .reveal / .reveal.in already exist above; these only
   add alternative entrance directions and timing offsets.
   ========================================================= */
.reveal-left { transform: translateX(-52px); }
.reveal-left.in { transform: none; }

.reveal-right { transform: translateX(52px); }
.reveal-right.in { transform: none; }

.reveal-scale { transform: scale(0.92); }
.reveal-scale.in { transform: none; }

.reveal-zoom { transform: scale(1.08); }
.reveal-zoom.in { transform: none; }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal.d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-zoom {
    opacity: 1; transform: none; transition: none;
  }
}

/* =========================================================
   ADDED — The Craft page: process steps shown as full-width
   photo + copy rows, alternating sides. Purely additive; does
   not touch .process-grid/.process-item used on Home/elsewhere.
   ========================================================= */
.craft-steps { display: flex; flex-direction: column; }
.craft-step { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.craft-step .visual { position: relative; overflow: hidden; min-height: 380px; background: var(--paper-deep); }
.craft-step .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.craft-step .visual .noimg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 4.4rem; font-weight: 400; color: var(--gold); opacity: 0.32;
}
.craft-step .copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 72px); background: var(--paper-deep); }
.craft-step .copy b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--gold-deep); margin-bottom: 10px; }
.craft-step .copy h3 { margin-bottom: 12px; }
.craft-step .copy p { font-size: 1.02rem; }
.craft-step.rev .visual { order: 2; }
.craft-step.rev .copy { order: 1; }

@media (max-width: 860px) {
  .craft-step { grid-template-columns: 1fr; }
  .craft-step .visual, .craft-step.rev .visual { order: 0; min-height: 280px; }
  .craft-step .copy, .craft-step.rev .copy { order: 1; }
}
