/* =========================================================================
   Aarchi's by Archana Soni — design system
   Hand-coded, no build step. Retheme by editing the variables below only.
   Display font falls back to Georgia until a webfont is self-hosted in
   assets/fonts (see README "Fonts").
   ========================================================================= */

:root {
  /* --- palette (matched to the Aarchi's logo: gold mark + black wordmark) --- */
  --bg:        #FCF9F4;   /* warm ivory page */
  --bg-soft:   #F5EFE3;   /* sectioned panels */
  --ink:       #1C1A17;   /* near-black text (matches wordmark) */
  --ink-soft:  #6B6259;   /* secondary text */
  --line:      #EAE1D2;   /* hairline borders */
  --gold:      #D8A52A;   /* BRAND gold (sampled from logo) */
  --gold-deep: #A87C16;   /* accessible gold for text/links on light bg */
  --wine:      #A87C16;   /* legacy alias → brand deep-gold (keeps inline refs on-brand) */
  --wine-dk:   #8A6410;   /* deep-gold hover */
  --rose:      #EBD8A6;   /* soft gold glow (hero backdrop) */
  --white:     #FFFFFF;

  /* --- type --- */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- spacing / shape --- */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --shadow: 0 18px 50px -28px rgba(36, 31, 28, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: .2px; }

/* --- layout helpers --- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.eyebrow {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 56ch; }
section { padding-block: clamp(64px, 9vw, 120px); }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; margin-inline: auto; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  padding: 14px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* =========================== NAV =========================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.brand small { display: block; font-family: var(--font-body); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; letter-spacing: .04em; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { font-weight: 600; color: var(--wine) !important; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* =========================== HERO =========================== */
.hero { position: relative; min-height: 86vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20%; z-index: -1; will-change: transform;
  background:
    radial-gradient(120% 90% at 50% 30%, color-mix(in srgb, var(--rose) 38%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.hero h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero .lead { margin: 22px auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================== COLLECTIONS (editorial) =========================== */
.coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.5vw, 22px); margin-top: 54px; }
.coll-card {
  position: relative; display: block; aspect-ratio: 3 / 4; isolation: isolate;
  border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow);
  transform: translateZ(0); transition: box-shadow .5s var(--ease);
}
.coll-card:hover { box-shadow: 0 30px 70px -30px rgba(28,22,15,.6); }
.coll-media { position: absolute; inset: 0; overflow: hidden; }
.coll-media img, .coll-media .ph { width: 100%; height: 100%; object-fit: cover; }
.coll-media img { transform: scale(1.04); transition: transform 1.2s var(--ease); }
.coll-card:hover .coll-media img { transform: scale(1.12); }
/* darkening gradient + gold inner frame on hover */
.coll-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,14,0) 40%, rgba(20,16,14,.86)); transition: background .5s var(--ease); }
.coll-card:hover::after { background: linear-gradient(180deg, rgba(20,16,14,.12) 15%, rgba(20,16,14,.9)); }
.coll-card::before { content: ""; position: absolute; inset: 11px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(216,165,42,0); transition: border-color .5s var(--ease); }
.coll-card:hover::before { border-color: rgba(216,165,42,.55); }
.coll-index { position: absolute; top: 16px; left: 18px; z-index: 3; color: var(--white); opacity: .8;
  font-family: var(--font-display); font-size: 19px; letter-spacing: .05em; }
.coll-index::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--gold);
  vertical-align: middle; margin-right: 9px; }
.coll-cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(18px, 2vw, 26px); color: var(--white); }
.coll-cap h3 { font-size: clamp(22px, 2vw, 29px); }
.coll-cap p { font-size: 13px; letter-spacing: .03em; opacity: .85; margin-top: 3px; }
.coll-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.coll-link i { font-style: normal; transition: transform .3s var(--ease); }
.coll-card:hover .coll-link { opacity: 1; transform: none; }
.coll-card:hover .coll-link i { transform: translateX(5px); }
/* feature tile (first card on the full collections page) */
#coll-all .coll-card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* CSS-only photo placeholder tile (fallback when img is null) */
.ph { display: grid; place-items: center; color: rgba(255,255,255,.5);
  font-family: var(--font-display); font-size: 20px; letter-spacing: .04em;
  background: repeating-linear-gradient(135deg, #2a2620 0 18px, #221e19 18px 36px); }
.ph::after { content: "photo"; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

/* =========================== PARALLAX MEDIA (feature images) =========================== */
.media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.media img { position: absolute; inset: -9% 0; width: 100%; height: 118%; object-fit: cover; }

/* =========================== MARQUEE =========================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding-block: clamp(14px, 2vw, 22px); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 3.4vw, 38px); color: var(--ink); padding-inline: 26px; }
.marquee span::after { content: "\2767"; font-style: normal; color: var(--gold); margin-left: 52px; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================== SERVICE CARDS (About) =========================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: 46px; text-align: left; }
.svc-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 38px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-num { font-family: var(--font-display); font-size: 15px; color: var(--gold-deep); letter-spacing: .1em; }
.svc-card h3 { font-size: clamp(21px, 2vw, 25px); margin-top: 8px; }
.svc-card p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }

/* =========================== STORY / ABOUT =========================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .ph { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.prose p { margin-top: 16px; color: var(--ink-soft); }
.prose h2 { font-size: clamp(30px, 4.4vw, 48px); }

/* =========================== CONTACT =========================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* =========================== FOOTER =========================== */
.foot { background: var(--ink); color: #d9cfc6; padding-block: 60px 34px; }
.foot a { color: #d9cfc6; transition: color .2s; }
.foot a:hover { color: var(--white); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot .brand { color: var(--bg); }
.foot .brand small { color: #b8a89c; }
.foot h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #b8a89c; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.socials { display: flex; gap: 14px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border: 1px solid #43392f; border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.foot-bot { margin-top: 44px; padding-top: 22px; border-top: 1px solid #3a3027; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #9a8d80; }

/* =========================== WHATSAPP FAB =========================== */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* =========================== PREVIEW BANNER (remove at launch) =========================== */
.preview-banner { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; letter-spacing: .02em; }
.preview-banner b { color: var(--gold); }
.preview-banner b { letter-spacing: .12em; }

/* =========================== SCROLL PROGRESS BAR =========================== */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold)); will-change: width; }

/* =========================== REVEAL ANIM (variants + stagger) =========================== */
/* Hidden state gated behind .js so no-JS / crawlers still see content. */
.js [data-reveal] { opacity: 0; transform: translateY(30px); will-change: opacity, transform;
  transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"]  { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"]  { transform: scale(.92); }
.js [data-reveal="blur"]  { transform: translateY(22px); filter: blur(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* =========================== HERO SCROLL CUE =========================== */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-body); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 38px; margin: 10px auto 0;
  background: linear-gradient(var(--gold), transparent); animation: cue 1.9s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* burger → X */
.burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track, .scroll-cue::after { animation: none; }
  [data-parallax] { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 900px) {
  .coll-grid { grid-template-columns: repeat(2, 1fr); }
  #coll-all .coll-card:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
  .svc-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .coll-grid { grid-template-columns: 1fr; }
  #coll-all .coll-card:first-child { grid-column: span 1; grid-row: span 1; aspect-ratio: 3 / 4; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* =========================== APPLE-STYLE SHOWCASE =========================== */
.showcase { padding-block: clamp(56px, 8vw, 120px); overflow: clip; }
.showcase-intro { text-align: center; max-width: 60ch; margin: 0 auto clamp(36px, 6vw, 72px); }
.scene + .scene { margin-top: clamp(70px, 11vw, 170px); }
.scene-row { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(26px, 5vw, 80px); align-items: center; }
.scene.rev .scene-row { direction: rtl; }
.scene.rev .scene-row > * { direction: ltr; }
.scene-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -45px rgba(28,22,15,.6); }
.scene-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center;
  transform: scale(calc(.9 + var(--p, .5) * .2)); will-change: transform; }
.scene-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20,16,14,.32)); }
.scene-num { display: block; font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(56px, 11vw, 138px); line-height: .85; color: var(--gold); opacity: .22; }
.scene-info h2 { font-size: clamp(30px, 4.6vw, 60px); margin-top: -.12em; }
.scene-info .lead { margin: 16px 0 26px; }
.scene-cta { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px;
  letter-spacing: .03em; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: gap .3s var(--ease); }
.scene-cta:hover { gap: 15px; }
.scene-cta i { font-style: normal; color: var(--gold-deep); }

/* horizontal scroll-snap product strip */
.strip { display: flex; gap: clamp(12px, 1.4vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: clamp(22px, 3vw, 38px); padding: 4px 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip-card { scroll-snap-align: start; flex: 0 0 clamp(148px, 20vw, 215px); position: relative;
  aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.strip-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.strip-card:hover img { transform: scale(1.07); }
.strip-card span { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; color: #fff; font-size: 12.5px;
  background: linear-gradient(0deg, rgba(20,16,14,.8), transparent); }
.strip-hint { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); opacity: .65; margin-top: 4px; }

@media (max-width: 820px) {
  .scene-row { grid-template-columns: 1fr; gap: 22px; }
  .scene.rev .scene-row { direction: ltr; }
  .scene-media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .scene-media img { transform: none; } }
