/* =========================================================
   KHATKAA, THE LOOM  |  Chanderi heritage website
   ========================================================= */

:root {
  /* Palette (from brand cards + design) */
  --paper:      #F6F0E6;
  --paper-2:    #EFE6D6;
  --sand:       #E4D6BC;
  --ink:        #2A211A;
  --ink-soft:   #4E4237;
  --bronze:     #9A6B3E;
  --bronze-dk:  #6E4E1E;
  --zari:       #C9A24A;
  --zari-lt:    #D9B98A;
  --maroon:     #5A1A1D;
  --night:      #1C1510;
  --cream-txt:  #F3EADC;

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body:    "EB Garamond", Garamond, Georgia, serif;
  --f-label:   "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --max: 1440px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--f-body);
  font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.15rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
ol, ul { list-style: none; padding: 0; }
a { color: inherit; }
blockquote { quotes: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--zari); outline-offset: 3px; }

/* Handmade paper texture: subtle fibre noise */
.paper {
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .32 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.accent       { color: var(--bronze); }
.accent-light { color: var(--zari-lt); }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--f-label);
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.2rem;
}
.eyebrow::after { content: ""; width: 2.6rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow-light { color: var(--zari-lt); }

.rule { display: block; width: 2.6rem; height: 1px; background: var(--bronze); margin: 1.6rem 0; opacity: .7; }
.rule-light { background: var(--zari-lt); }
.rule-center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn, .btn-text {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--f-label);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn {
  padding: 1rem 1.6rem;
  border: 1px solid var(--bronze);
  color: var(--bronze-dk);
  margin-top: 1.4rem;
}
.btn:hover { background: var(--bronze); color: var(--paper); }
.btn-light { border-color: rgba(243,234,220,.55); color: var(--cream-txt); }
.btn-light:hover { background: var(--cream-txt); color: var(--ink); }
.btn-text { color: var(--cream-txt); padding: .6rem 0; border-bottom: 1px solid rgba(243,234,220,.3); }
.btn-text:hover { border-color: var(--zari-lt); color: var(--zari-lt); }
.arrow { width: 1.4rem; height: .6rem; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .25s; }
.btn:hover .arrow, .btn-text:hover .arrow { transform: translateX(4px); }

.sprig { position: absolute; color: var(--bronze); opacity: .22; pointer-events: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--pad-x) 1rem;
  color: var(--cream-txt);
  transition: background-color .35s, color .35s, padding .35s, box-shadow .35s;
}
.site-header.is-solid {
  background: rgba(246,240,230,.96);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(110,78,30,.15);
  padding-block: calc(.6rem + env(safe-area-inset-top, 0px)) .6rem;
}
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; opacity: 0; transition: opacity .35s; }
.site-header.is-solid .brand { opacity: 1; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .32em; padding-left: .32em; line-height: 1.1; }
.brand-rule { width: 100%; height: 1px; background: currentColor; opacity: .5; margin: .25rem 0; position: relative; }
.brand-sub  { font-family: var(--f-label); font-size: .55rem; letter-spacing: .5em; padding-left: .5em; opacity: .85; }

.site-nav { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); align-items: center; }
.site-nav a {
  font-family: var(--f-label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: .4rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-color: currentColor; }
.site-nav .nav-cta { border: 1px solid currentColor; padding: .55rem 1.1rem; }
.site-nav .nav-cta:hover { color: var(--paper); background: var(--bronze); border-color: var(--bronze); }

.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 7px; align-items: flex-end;
}
.nav-toggle-bar { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .3s; }
.nav-toggle-bar:last-child { width: 18px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { width: 26px; transform: translateY(-4.25px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 980px);
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  background: var(--night);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,14,9,.78) 0%, rgba(20,14,9,.45) 38%, rgba(20,14,9,0) 62%);
}
.hero-inner { padding: 7rem var(--pad-x) 5rem; max-width: 54rem; color: var(--cream-txt); }
.hero-mark { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.hero-mark .brand-name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.hero-mark .brand-sub  { font-size: .66rem; }
.hero-mark .brand-rule::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.hero-title { color: var(--cream-txt); font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5.6rem); }
.hero-text { max-width: 28rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(243,234,220,.88); }
.hero .btn { margin-top: 2rem; }

/* One orchestrated page-load reveal */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: heroZoom 2.4s cubic-bezier(.2,.6,.2,1) both; }
  .hero-inner > * { animation: heroRise 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(1) { animation-delay: .25s; }
  .hero-inner > :nth-child(2) { animation-delay: .45s; }
  .hero-inner > :nth-child(3) { animation-delay: .65s; }
  .hero-inner > :nth-child(4) { animation-delay: .75s; }
  .hero-inner > :nth-child(5) { animation-delay: .95s; }
}
@keyframes heroZoom { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =========================================================
   OUR STORY
   ========================================================= */
.story {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  min-height: 46rem;
}
.story-text { position: relative; padding: var(--section-y) var(--pad-x); align-self: center; max-width: 40rem; }
.story-text p:not(.eyebrow) { max-width: 31rem; margin-bottom: 1.1rem; }
.sprig-story { width: 130px; top: 2rem; right: 0; }

.story-visual { position: relative; min-height: 34rem; }
.story-main { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; height: 100%; object-fit: cover; }
.story-inset {
  position: absolute; left: 0; top: 14%; width: 44%; aspect-ratio: 342/422; object-fit: cover;
  border: 6px solid var(--paper); box-shadow: 0 18px 40px -20px rgba(42,33,26,.55);
}
.story-shuttle { position: absolute; left: 4%; bottom: 4%; width: 40%; box-shadow: 0 14px 30px -18px rgba(42,33,26,.5); }

/* =========================================================
   LEGACY + TIMELINE
   ========================================================= */
.legacy { padding-bottom: var(--section-y); border-top: 1px solid rgba(110,78,30,.12); }
.legacy-head { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.legacy-intro { position: relative; padding: clamp(3rem, 6vw, 5rem) var(--pad-x) 2rem; }
.legacy-intro p:not(.eyebrow) { max-width: 24rem; }
.sprig-legacy { width: 110px; top: 1rem; right: 1rem; }
.legacy-photo { position: relative; margin: 0; min-height: 22rem; }
.legacy-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.legacy-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(20,14,9,.82) 0%, rgba(20,14,9,.2) 45%, rgba(20,14,9,0) 70%);
}
.legacy-photo blockquote {
  position: absolute; right: clamp(1.5rem, 4vw, 3.5rem); top: 50%; transform: translateY(-50%); z-index: 1;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem);
  line-height: 1.3; color: var(--cream-txt); max-width: 15rem;
}

.timeline {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 3.5rem var(--pad-x) 0;
  position: relative;
}
/* the thread */
.timeline::before {
  content: ""; position: absolute; left: var(--pad-x); right: var(--pad-x); top: calc(3.5rem + 2.75rem);
  height: 1px; background: var(--zari); opacity: .7;
}
.timeline, .craft-steps { column-gap: clamp(1.6rem, 2.8vw, 2.8rem); }
.timeline li, .craft-steps li { position: relative; display: flex; flex-direction: column; }
.timeline li + li::before, .craft-steps li + li::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(-.5 * clamp(1.6rem, 2.8vw, 2.8rem));
  width: 1px; background: rgba(110,78,30,.15);
}
.timeline li + li::before { top: 3.4rem; }
.tl-year {
  font-family: var(--f-display); color: var(--bronze); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1;
  height: 2.75rem; display: flex; align-items: flex-end; padding-bottom: .6rem; position: relative;
}
.tl-year-sm { font-size: clamp(1.05rem, .9rem + .4vw, 1.3rem); }
.tl-year::after {
  content: ""; position: absolute; left: .1rem; bottom: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bronze);
}
.timeline img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 1.4rem 0 1.1rem; }
.timeline h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.tl-role { font-family: var(--f-label); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin: .4rem 0 .8rem; }
.timeline li > p:last-child { font-size: .98rem; line-height: 1.55; }

/* =========================================================
   NAWAB KHAN
   ========================================================= */
.pioneer {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 40fr) minmax(0, 24fr);
  background: var(--paper-2);
  position: relative;
}
.pioneer-photo { width: 100%; height: 100%; min-height: 30rem; object-fit: cover; object-position: 62% 45%; }
.pioneer-text { padding: var(--section-y) clamp(1.5rem, 3.5vw, 3.5rem); align-self: center; }
.pioneer-text .display { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.9rem); }
.pioneer-lede { font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); color: var(--ink); margin: 1.4rem 0 1.4rem; }
.pioneer-text p + p { margin-top: 1rem; }
.pioneer-text p:not(.eyebrow):not(.pioneer-lede) { max-width: 32rem; }

.pioneer-card {
  align-self: center;
  margin: 3rem var(--pad-x) 3rem 0;
  padding: 3rem 1.6rem;
  background: var(--maroon)
    radial-gradient(120% 90% at 30% 20%, rgba(140,50,50,.35), transparent 60%);
  color: var(--cream-txt); text-align: center;
  outline: 1px solid rgba(217,185,138,.35); outline-offset: -10px;
}
.card-label { font-family: var(--f-label); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--zari-lt); line-height: 1.8; }
.card-date { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); margin: .5rem 0 .2rem; letter-spacing: .04em; }
.card-diamond { display: block; color: var(--zari); font-size: .6rem; margin: .9rem 0; }
.card-org { font-family: var(--f-display); font-style: italic; font-size: 1.08rem; line-height: 1.45; margin-top: 1rem; color: rgba(243,234,220,.85); }

/* =========================================================
   THE CRAFT
   ========================================================= */
.craft { background: var(--night); }
.craft-banner { display: grid; grid-template-columns: minmax(0, 59fr) minmax(0, 41fr); min-height: 30rem; }
.craft-woman { position: relative; display: flex; align-items: center; overflow: hidden; }
.craft-woman img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.craft-woman::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,14,9,.72) 0%, rgba(20,14,9,.35) 45%, rgba(20,14,9,0) 70%);
}
.craft-woman-text { position: relative; z-index: 2; padding: var(--section-y) var(--pad-x); max-width: 30rem; color: rgba(243,234,220,.88); }
.craft-woman-text .display { color: var(--cream-txt); }
.craft-fabric { position: relative; margin: 0; overflow: hidden; }
.craft-fabric img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.craft-fabric::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,9,.55), rgba(20,14,9,.05) 60%); }
.craft-fabric blockquote {
  position: absolute; left: clamp(1.5rem, 3vw, 3rem); right: clamp(1.5rem, 3vw, 3rem); bottom: clamp(1.5rem, 3vw, 3rem); z-index: 1;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.32;
  color: var(--cream-txt); max-width: 19rem;
}

.craft-steps {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 3.5rem var(--pad-x) var(--section-y);
}
.step-head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.step-no { font-family: var(--f-display); font-size: 1.5rem; color: var(--bronze); line-height: 1; }
.step-head strong { display: block; font-family: var(--f-label); font-weight: 500; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-dk); }
.step-head small { display: block; font-family: var(--f-label); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); opacity: .75; margin-top: .25rem; }
.craft-steps img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 1rem; }
.craft-steps li > p:last-child { font-size: .98rem; line-height: 1.55; }

/* =========================================================
   STORIES BANNER
   ========================================================= */
.stories {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(30rem, 62vw, 56rem);
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center; background: var(--night);
}
.stories-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -2; }
.stories-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 48% at 50% 26%, rgba(20,14,9,.72), rgba(20,14,9,0) 80%), linear-gradient(180deg, rgba(20,14,9,.45) 0%, rgba(20,14,9,0) 55%); }
.stories-inner { padding: clamp(4.5rem, 9vw, 8rem) var(--pad-x) 2rem; max-width: 42rem; color: rgba(243,234,220,.9); }
.stories-inner .eyebrow { justify-content: center; }
.stories-inner .eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: currentColor; opacity: .6; }
.stories-inner .display { color: var(--cream-txt); font-size: clamp(2.6rem, 1.6rem + 3.8vw, 5rem); }
.stories-inner p:not(.eyebrow) { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); }
.stories-inner .btn-text { margin-top: 2rem; }

/* =========================================================
   COLLECTION
   ========================================================= */
.collection { padding-bottom: var(--section-y); }
.collection-head { display: grid; grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); }
.collection-intro { position: relative; padding: var(--section-y) var(--pad-x); align-self: center; }
.collection-intro p:not(.eyebrow) { max-width: 27rem; }
.sprig-collection { width: 120px; right: 0; bottom: 3rem; }
.collection-hero { width: 100%; height: 100%; min-height: 28rem; object-fit: cover; object-position: 50% 35%; }

.collection-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.2vw, 1.1rem);
  padding: clamp(.75rem, 1.2vw, 1.1rem) clamp(.75rem, 1.6vw, 1.6rem) 0;
}
.collection-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.collection-grid li { overflow: hidden; }
.collection-grid li:hover img { transform: scale(1.035); }
.collection-grid h3 {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; color: var(--ink); margin: 1.1rem 0 .3rem;
}
.collection-grid h3::after { content: ""; width: 2.4rem; height: 1px; background: var(--bronze); opacity: .6; }
.collection-grid p { font-family: var(--f-label); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); opacity: .8; }

/* =========================================================
   ARTISANS
   ========================================================= */
.artisans {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(30rem, 56vw, 56rem);
  display: flex; align-items: flex-start;
  background: var(--night);
}
.artisans-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.artisans-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,14,9,.75) 0%, rgba(20,14,9,.3) 40%, rgba(20,14,9,0) 60%); }
.artisans-inner { padding: clamp(4rem, 8vw, 7rem) var(--pad-x) 3rem; max-width: 40rem; color: rgba(243,234,220,.9); }
.artisans-inner .display { color: var(--cream-txt); }
.artisans-inner p:not(.eyebrow) { max-width: 26rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); }

/* =========================================================
   LIVING LEGACY TODAY
   ========================================================= */
.today { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 43fr) minmax(0, 17fr); }
.today-text { position: relative; padding: var(--section-y) var(--pad-x); align-self: center; }
.today-text p:not(.eyebrow) { max-width: 26rem; }
.sprig-today { width: 130px; right: 0; top: 2rem; }
.today-photo { width: 100%; height: 100%; min-height: 34rem; object-fit: cover; object-position: 55% 50%; }
.pillars { display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.4rem; background: var(--paper-2); }
.pillars li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
  padding: 1.6rem 0;
  font-family: var(--f-label); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}
.pillars li + li { border-top: 1px solid rgba(110,78,30,.2); }
.pillars svg { width: 34px; height: 34px; fill: none; stroke: var(--bronze); stroke-width: 1.1; stroke-linejoin: round; }
.pillar-num { font-family: var(--f-display); font-weight: 400; font-size: 2.5rem; letter-spacing: 0; color: var(--bronze); line-height: 1; text-transform: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--night); color: rgba(243,234,220,.8);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 3rem var(--pad-x);
  padding: var(--section-y) var(--pad-x) 2rem;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.gateway { width: 96px; fill: none; stroke: var(--zari); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem; }
.footer-script { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); color: var(--cream-txt); line-height: 1.15; }
.footer-tag { font-family: var(--f-label); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--zari-lt); margin-top: .8rem; }
.footer-contact .display { color: var(--cream-txt); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: 1.2rem; }
.footer-contact p { max-width: 34rem; }
.footer-person { font-family: var(--f-display); font-size: 1.4rem; color: var(--cream-txt); margin-top: 1.6rem; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-actions .btn { margin-top: 1rem; }
.footer-place { margin-top: 1.6rem; font-family: var(--f-label); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--zari-lt); }
.footer-base {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(217,185,138,.2); padding-top: 1.6rem; margin-top: 1rem;
  font-size: .92rem; color: rgba(243,234,220,.6);
}
.footer-base p:first-child { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .timeline, .craft-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }
  .timeline::before { display: none; }
  .timeline li:nth-child(4)::before, .craft-steps li:nth-child(4)::before { display: none; }
  .pioneer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .pioneer-card { grid-column: 1 / -1; margin: 0 var(--pad-x) var(--section-y); display: grid; grid-template-columns: repeat(2, 1fr); gap: .3rem 2rem; text-align: left; padding: 2rem; }
  .pioneer-card .card-diamond { display: none; }
  .today { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pillars { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .pillars li { flex: 1 1 25%; padding: 1rem; }
  .pillars li + li { border-top: 0; border-left: 1px solid rgba(110,78,30,.2); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--paper); color: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .site-nav a { font-size: .9rem; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-header.menu-open { color: var(--ink); }
  .site-header.menu-open .brand { opacity: 1; z-index: 2; }

  .story, .legacy-head, .collection-head, .craft-banner { grid-template-columns: 1fr; }
  .story-visual { min-height: 28rem; margin: 0 var(--pad-x) var(--section-y); }
  .story-main { width: 70%; }
  .legacy-photo { min-height: 18rem; }
  .craft-woman { min-height: 32rem; align-items: flex-end; }
  .craft-woman::before { background: linear-gradient(0deg, rgba(20,14,9,.85) 0%, rgba(20,14,9,.3) 55%, rgba(20,14,9,0) 80%); }
  .craft-woman-text { padding-bottom: 3rem; }
  .craft-fabric { min-height: 22rem; }
  .collection-intro { padding-bottom: 3rem; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .site-footer { grid-template-columns: 1fr; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,14,9,.88) 0%, rgba(20,14,9,.45) 55%, rgba(20,14,9,.15) 100%); }
  .hero { align-items: flex-end; }
  .hero-bg { object-position: 72% 30%; }
  .artisans { align-items: flex-end; }
  .artisans-shade { background: linear-gradient(0deg, rgba(20,14,9,.85) 0%, rgba(20,14,9,.35) 55%, rgba(20,14,9,.1) 100%); }
  .artisans-inner { padding-bottom: 3.5rem; }
}

@media (max-width: 680px) {
  .timeline, .craft-steps { grid-template-columns: 1fr 1fr; }
  .timeline li::before, .craft-steps li::before { display: none; }
  .timeline, .craft-steps { column-gap: 1.25rem; }
  .timeline li:last-child { grid-column: 1 / -1; }
  .craft-steps li:last-child { grid-column: 1 / -1; }
  .pioneer { grid-template-columns: 1fr; }
  .pioneer-photo { min-height: 22rem; max-height: 28rem; }
  .pioneer-text { padding-bottom: 2.5rem; }
  .pioneer-card { grid-template-columns: 1fr; text-align: center; }
  .today { grid-template-columns: 1fr; }
  .today-photo { min-height: 26rem; }
  .pillars li { flex: 1 1 50%; }
  .pillars li:nth-child(3) { border-left: 0; }
  .pillars li:nth-child(n+3) { border-top: 1px solid rgba(110,78,30,.2); }
  .stories-inner .eyebrow::before, .stories-inner .eyebrow::after { width: 1.4rem; }
}

@media (max-width: 440px) {
  .timeline, .craft-steps, .collection-grid { grid-template-columns: 1fr; }
  .story-visual { min-height: 22rem; }
  .story-inset { width: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
