/* ═══════════════════════════════════════════════════════════════
   AnEshaEdit — Shared design system
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cream: #FFFDF9;
  --cream-deep: #F7F2E9;
  --cream-line: #EDE6D6;
  --ink: #1A1613;
  --ink-soft: #3A332D;
  --ink-mute: #8C8274;
  --magenta: #E30B5D;
  --magenta-soft: #F9D8E3;
  --shadow-soft: 0 1px 2px rgba(26,22,19,0.04), 0 8px 24px rgba(26,22,19,0.06);
  --shadow-card: 0 2px 6px rgba(26,22,19,0.05), 0 18px 40px rgba(26,22,19,0.08);
  --shadow-hover: 0 4px 12px rgba(26,22,19,0.08), 0 28px 60px rgba(26,22,19,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

.serif { font-family: 'Cormorant Garamond', serif; }
.display { font-family: 'Playfair Display', serif; }
.mono { font-family: 'JetBrains Mono', monospace; }

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

::selection { background: var(--magenta); color: var(--cream); }

a { color: inherit; }

/* ───────── CUSTOM CURSOR ───────── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #FFFDF9;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid #FFFDF9;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  background: rgba(227, 11, 93, 0.15);
  border-color: var(--magenta);
}
@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ───────── LOADING VEIL ───────── */
.veil {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9998;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.veil.gone { opacity: 0; visibility: hidden; }
.veil.gone .veil-stage { transform: scale(1.12); filter: blur(8px); }
.veil-stage {
  position: absolute;
  inset: 0;
  transition: transform 0.9s ease, filter 0.9s ease;
}
.veil-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.7s ease, transform 4s cubic-bezier(.22,.68,.26,1);
  filter: brightness(0.55) saturate(0.9);
}
.veil-slide.on { opacity: 1; transform: scale(1); }
.veil-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 40px;
}
.veil-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 22px;
  opacity: 1;
  transition: opacity 0.25s ease;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.veil-inner .txt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}
.veil-bar {
  width: 240px;
  height: 1px;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.veil-bar span {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: var(--magenta);
  transform-origin: left center;
  animation: veilBar 2.8s cubic-bezier(.22,.68,.26,1) forwards;
}
@keyframes veilBar {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ───────── TOP NAVIGATION ───────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,253,249,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
}
.topbar-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 48px;
  gap: 24px;
}
.nav-left, .nav-right {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-right { justify-content: flex-end; gap: 20px; }

.nav-link {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--magenta);
  transition: right 0.35s cubic-bezier(.22,.68,.26,1);
}
.nav-link:hover { color: var(--magenta); }
.nav-link:hover::after { right: 0; }
.nav-link.active { color: var(--magenta); }
.nav-link.active::after { right: 0; }

.logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  font-style: italic;
  transition: transform 0.4s cubic-bezier(.22,.68,.26,1);
}
.logo-wordmark:hover { transform: scale(1.02); }
.logo-wordmark .mag { color: var(--magenta); font-style: normal; font-weight: 600; }
.logo-wordmark .roman { font-style: normal; }

.social-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.icon-btn {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}
.icon-btn:hover { color: var(--magenta); transform: translateY(-2px); }
.icon-btn svg { width: 16px; height: 16px; }

/* sub nav */
.subnav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-top: 1px solid var(--cream-line);
  padding: 12px 48px;
  align-items: center;
  gap: 40px;
  background: var(--cream);
}
.subnav-left {
  display: flex;
  gap: 14px;
  align-items: center;
}
.hamburger {
  width: 36px; height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: color 0.3s ease;
}
.hamburger:hover { color: var(--magenta); }
.hamburger svg { width: 20px; }
.mini-logo {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
}
.mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.subnav-links {
  display: flex;
  gap: 56px;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.subnav-links a { color: var(--ink); text-decoration: none; transition: color .25s; padding: 6px 0; position: relative; }
.subnav-links a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: -2px;
  height: 1px;
  background: var(--magenta);
  transition: all 0.35s ease;
}
.subnav-links a:hover { color: var(--magenta); }
.subnav-links a:hover::after, .subnav-links a.active::after { left: 0; right: 0; }
.subnav-links a.active { color: var(--magenta); }
.subnav-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ───────── SIDE DRAWER ───────── */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(26,22,19,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 60;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 380px;
  max-width: 90vw;
  background: var(--cream);
  z-index: 61;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(.22,.68,.26,1);
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid var(--cream-line);
}
.drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}
.drawer-close:hover { color: var(--magenta); transform: rotate(90deg); }
.drawer-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.drawer-links a {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, padding-left 0.4s cubic-bezier(.22,.68,.26,1);
}
.drawer-links a:hover { color: var(--magenta); padding-left: 20px; }
.drawer-links a:hover::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--magenta);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--cream-line);
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.8;
}
.drawer-footer .sig {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  display: block;
  margin-top: 8px;
}

/* ───────── MARQUEE ───────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  padding: 22px 0;
  background: var(--cream);
}
.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: slide 40s linear infinite;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  font-weight: 300;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot {
  width: 6px; height: 6px; background: var(--magenta); border-radius: 50%; display: inline-block;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--magenta);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.22,.68,.26,1);
  z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn span { position: relative; z-index: 1; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: var(--cream); }

/* ───────── FOOTER ───────── */
footer {
  padding: 96px 48px 40px;
  border-top: 1px solid var(--cream-line);
  background: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1480px;
  margin: 0 auto;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--cream-line);
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col .brand-mark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-col .brand-mark .mag { color: var(--magenta); font-style: normal; font-weight: 600; }
.footer-col p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 340px;
  font-style: italic;
  font-weight: 300;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  text-decoration: none;
  font-size: 13px;
  color: var(--ink);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col ul a:hover { color: var(--magenta); padding-left: 6px; }
.footer-bottom {
  max-width: 1480px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.footer-bottom .social-row { gap: 8px; }

@media (max-width: 900px) {
  .topbar-row, .subnav, footer { padding-left: 20px; padding-right: 20px; }
  .topbar-row { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .nav-left, .nav-right { gap: 14px; font-size: 10px; }
  .nav-left .nav-link:nth-child(n+2) { display: none; }
  .subnav { grid-template-columns: auto 1fr auto; gap: 14px; }
  .subnav-links { gap: 18px; font-size: 11px; }
  .logo-wordmark { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .subnav-date { display: none; }
}

/* ───────── REVEAL ON SCROLL ───────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.22,.68,.26,1), transform 1s cubic-bezier(.22,.68,.26,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s cubic-bezier(.22,.68,.26,1), transform 1s cubic-bezier(.22,.68,.26,1); }
.reveal-left.in { opacity: 1; transform: translateX(0); }

/* split-word reveal */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s cubic-bezier(.22,.68,.26,1), opacity 1s cubic-bezier(.22,.68,.26,1);
}
.split-word.in > span { transform: translateY(0); opacity: 1; }


/* ─── Face-safe cropping for portrait imagery ─── */
img[src*="banarasi"],
img[src*="duo-fashion"],
img[src*="everyday-style"],
img[src*="portrait"],
img[src*="stripes"],
img[src*="esha-portrait"],
img[src*="street-fashion"],
img[src*="style-mistakes"],
img[src*="floral-kurta"],
img[src*="indo-boho"],
img[src*="extra-1"],
img[src*="extra-2"] {
  object-position: center top !important;
}
img[src*="esha-portrait"] {
  object-position: center 18% !important;
}
