/* ==========================================================
   Shakthi Silk Route — Elegant Landing
   A classic, editorial, heritage-luxury aesthetic.
   ========================================================== */

:root {
  /* Palette — restrained brand-derived tones */
  --ivory:      #faf6ef;
  --ivory-2:    #f2ebdd;
  --paper:      #fffdf8;
  --ink:        #1f1b16;
  --ink-soft:   #4a423a;
  --ink-mute:   #7d7366;
  --wine:       #6d1f1f;   /* dignified version of brand red */
  --wine-deep:  #4a1414;
  --gold:       #b8894a;   /* antique gold */
  --gold-soft:  #d8b57a;
  --line:       #d9cfbf;
  --line-soft:  #eae2d2;

  /* Typography */
  --serif:  "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --script: "Pinyon Script", "Great Vibes", cursive;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --shell: 1240px;
  --pad-x: clamp(20px, 4vw, 48px);

  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Reveal animation (hero first-paint) ===== */
.reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--italic { font-style: italic; color: var(--wine); }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 24px;
  grid-auto-flow: row;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader__mark {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  color: var(--wine);
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.preloader__ornament {
  color: var(--gold);
  font-size: .5em;
}
.preloader__line {
  width: 0;
  height: 1px;
  background: var(--gold);
  animation: grow 1.6s var(--ease) .15s forwards;
}
@keyframes grow {
  from { width: 0; }
  to   { width: 160px; }
}
.preloader__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 239, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  padding: 12px 0;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 24px rgba(31, 27, 22, .04);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
}
.site-header__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: height .4s var(--ease);
}
.site-header.is-scrolled .site-header__logo { height: 48px; }

.site-header__nav {
  display: flex;
  gap: 34px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-soft);
}
.site-header__nav a {
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.site-header__nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--wine);
  transition: right .45s var(--ease);
}
.site-header__nav a:hover { color: var(--wine); }
.site-header__nav a:hover::after { right: 0; }

.site-header__cta {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wine);
  padding: 4px 2px 6px;
  border: none;
  border-radius: 0;
  background: transparent;
  position: relative;
  transition: color .35s var(--ease);
}
.site-header__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  opacity: .55;
  transform-origin: left center;
  transform: scaleX(.4);
  transition: transform .5s var(--ease), opacity .35s var(--ease);
}
.site-header__cta:hover {
  color: var(--wine-deep);
  background: transparent;
}
.site-header__cta:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

@media (max-width: 860px) {
  .site-header__nav { display: none; }
}

/* ===== Buttons / Links — editorial italic serif with ornamental rules ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: .005em;
  text-transform: none;
  padding: 10px 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: color .4s var(--ease), gap .4s var(--ease);
}
.btn::before,
.btn::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transition: width .55s var(--ease), opacity .4s var(--ease);
}
.btn:hover {
  gap: 28px;
}
.btn:hover::before,
.btn:hover::after {
  width: 54px;
  opacity: 1;
}

.btn--primary { color: var(--wine); }
.btn--primary:hover { color: var(--wine-deep); }

.btn--ghost { color: var(--ink); }
.btn--ghost:hover { color: var(--wine); }

.link {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wine);
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
  transition: color .35s var(--ease);
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 40%;
  background: currentColor;
  opacity: .7;
  transition: width .5s var(--ease), opacity .35s var(--ease);
}
.link:hover { color: var(--wine-deep); }
.link:hover::after { width: 100%; opacity: 1; }
.link span { display: none; }

/* ===== Shared — eyebrows & section titles ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 28px;
}
.eyebrow--centered { justify-content: center; }
.rule, .hero__rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 22ch;
  text-align: center;
}
.section-title--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 20ch;
}
.section-lede {
  max-width: 58ch;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 300;
}
.section-lede--left { margin-left: 0; margin-right: 0; text-align: left; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse at top, rgba(184, 137, 74, .08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(109, 31, 31, .05), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 1px;
  background: var(--line);
  top: 140px;
  bottom: 80px;
  opacity: .55;
}
.hero::before { left: 48px; }
.hero::after  { right: 48px; }
@media (max-width: 720px) {
  .hero::before, .hero::after { display: none; }
}

.hero__frame {
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 148px);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}
.hero__title span { display: block; }

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px auto 28px;
}
.hero__dash {
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.hero__diamond {
  color: var(--gold);
  font-size: 14px;
  transform: translateY(-1px);
}
.hero__tagline {
  font-family: var(--script);
  font-size: clamp(32px, 4.8vw, 54px);
  color: var(--wine);
  font-weight: 400;
  margin: 0 0 30px;
  line-height: 1;
}
.hero__sub {
  max-width: 54ch;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 300;
}
.hero__cta {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== HERITAGE ===== */
.heritage {
  padding: 140px 0 120px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}
.stat {
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  color: var(--wine);
  letter-spacing: -.02em;
}
.stat__num span {
  color: var(--gold);
  font-size: .6em;
  margin-left: 2px;
}
.stat__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 14px;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--line);
  justify-self: center;
}
@media (max-width: 780px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .stat-divider {
    width: 80px;
    height: 1px;
  }
}

/* ===== COLLECTIONS ===== */
.collections {
  padding: 140px 0 120px;
  background: var(--ivory);
  text-align: center;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 8px;
  text-align: left;
}
@media (max-width: 1020px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .collection-grid { grid-template-columns: 1fr; gap: 40px; }
}

.collection-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.collection-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 30px 60px rgba(31, 27, 22, .08);
}

.collection-card__image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--ivory-2);
  position: relative;
  transition: transform .8s var(--ease);
}
.collection-card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31, 27, 22, .25) 100%);
}
.collection-card:hover .collection-card__image {
  transform: scale(1.03);
}
.collection-card__body {
  padding: 32px 30px 36px;
}
.collection-card__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.collection-card__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.collection-card__body p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 22px;
  font-weight: 400;
}

/* ===== ATELIER ===== */
.atelier {
  padding: 140px 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.atelier__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .atelier__grid { grid-template-columns: 1fr; gap: 56px; }
}
.atelier__image {
  margin: 0;
  position: relative;
}
.atelier__frame {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--ivory-2);
  border: 1px solid var(--line);
  position: relative;
}
.atelier__frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(250, 246, 239, .55);
  pointer-events: none;
}
.atelier__image figcaption {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 16px;
  text-align: center;
}
.atelier__body p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-weight: 400;
}
.atelier__body p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 68px;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--wine);
  font-weight: 400;
  font-style: italic;
}
.atelier__sig {
  font-family: var(--serif);
  font-style: italic;
  color: var(--wine);
  margin-top: 32px !important;
  font-size: 20px !important;
}

/* ===== PRESS ===== */
.press {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.press__quote {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.press__mark {
  display: block;
  font-family: var(--serif);
  font-size: 120px;
  line-height: .6;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 12px;
}
.press__quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  font-style: italic;
  margin: 0 0 32px;
  color: var(--ivory);
}
.press__quote footer {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ===== VISIT ===== */
.visit {
  padding: 140px 0 120px;
  background: var(--ivory);
}
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .visit__grid { grid-template-columns: 1fr; gap: 48px; }
}
.visit__intro .section-lede { margin-bottom: 0; }
.visit__card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 48px 44px;
  position: relative;
}
.visit__card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.visit__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.visit__row:first-child { padding-top: 0; }
.visit__row:last-of-type { border-bottom: none; }
.visit__label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.visit__row p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
}
.visit__row a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.visit__row a:hover {
  border-bottom-color: var(--wine);
  color: var(--wine);
}
.visit__cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .visit__row { grid-template-columns: 1fr; gap: 4px; }
  .visit__card { padding: 32px 24px; }
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 56px 0 40px;
  background: var(--ivory-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.site-footer__mark img {
  height: 120px;
  width: auto;
  opacity: 1;
}
.site-footer__tag {
  font-family: var(--script);
  font-size: 28px;
  color: var(--wine);
  margin: 0;
}
.site-footer__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.site-footer__meta a {
  color: var(--wine);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-footer__meta a:hover { border-bottom-color: var(--wine); }
.site-footer__meta .dot { color: var(--gold); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-on-scroll { opacity: 1; transform: none; }
}
