/* ===============================================================
   Monika Aswani — editorial lifestyle & fashion
   Design language inspired by cinematic one-page portfolio sites:
   full-bleed zoom hero, generous whitespace, serif display type.
   =============================================================== */

:root {
  --bg: #f5f1ea;
  --bg-2: #efe9df;
  --ink: #17150f;
  --muted: #7c7568;
  --line: rgba(23, 21, 15, 0.12);
  --accent: #a9764f;
  --accent-soft: #c8a17f;
  --white: #fffdf9;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h1.display { font-size: clamp(3rem, 11vw, 9.5rem); }
h2.display { font-size: clamp(2.4rem, 6vw, 5rem); }
h3.display { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.95em 1.9em;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease);
  mix-blend-mode: normal;
}
.nav.scrolled {
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; gap: 2.2rem; align-items: center; }
.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* Hero nav is over an image → light text until scrolled */
.nav--over-hero:not(.scrolled) { color: var(--white); }
.nav--over-hero:not(.scrolled) .nav__toggle span { background: var(--white); }

/* ---------- Hero (layered name + photo) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #b7c2cd;
}
.hero__bg, .hero__front {
  position: absolute;
  inset: -8%;            /* overscan so parallax translation never reveals edges */
  z-index: 0;
  will-change: transform;
}
.hero__front { z-index: 2; pointer-events: none; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.06);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.34) 100%);
}
/* Hide the front cutout layer until a transparent PNG is supplied */
.hero__front .hero__img:not([src]),
.hero__front .hero__img[src=""] { display: none; }
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.5rem, 1.2vh, 1.2rem);
  padding-top: 5vh;
  color: #fff;
  will-change: transform, opacity;
}
.hero__labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(0.8rem, 1.25vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 18px rgba(0,0,0,0.45);
}
.hero__labels--bottom span:nth-child(2) { text-align: center; }
.hero__name {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.84;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 13.8vw, 14rem);
  color: #fff;
  text-shadow: 0 2px 44px rgba(0,0,0,0.28);
  margin: 0.06em 0;
}

/* Intro reveal on load */
.hero__name { animation: heroRise 1.2s var(--ease) both 0.15s; }
.hero__labels--top { animation: heroFade 1s var(--ease) both 0.55s; }
.hero__labels--bottom { animation: heroFade 1s var(--ease) both 0.7s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(60px); letter-spacing: 0.04em; } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__name, .hero__labels--top, .hero__labels--bottom { animation: none; }
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 40px;
  background: var(--white);
  animation: cue 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(4.5rem, 12vh, 9rem) 0; }
.section--tight { padding: clamp(3rem, 7vh, 5rem) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.section-head .eyebrow { margin-bottom: 1rem; display: block; }

/* Intro / statement */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement h2 { max-width: 16ch; margin: 0 auto; }
.statement .lead { max-width: 52ch; margin: 2rem auto 0; color: var(--muted); font-family: var(--sans); font-size: 1.05rem; }

/* Marquee ribbon */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ribbon__track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--muted);
}
.ribbon__track span { display: inline-flex; align-items: center; gap: 3rem; }
.ribbon__track span::after { content: "✦"; color: var(--accent); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Gallery grid (lookbook) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-2);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.5s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.4));
  opacity: 0; transition: 0.5s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.g-tall  { grid-column: span 4; aspect-ratio: 3/4.2; }
.g-wide  { grid-column: span 8; aspect-ratio: 16/10; }
.g-sq    { grid-column: span 4; aspect-ratio: 1/1.15; }
.g-half  { grid-column: span 6; aspect-ratio: 4/3.4; }

/* ---------- Split about ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img { border-radius: 6px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media .tag {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.9rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.split__body h2 { margin-bottom: 1.4rem; }
.split__body p + p { margin-top: 1.1rem; }
.split__body p { color: var(--muted); max-width: 46ch; }
.stat-row { display: flex; gap: 2.5rem; margin: 2.2rem 0; flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: 2.4rem; display: block; line-height: 1; }
.stat span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Posts ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.8rem);
}
.post-card { display: block; group: card; }
.post-card__media {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  margin-bottom: 1.3rem;
  background: var(--bg-2);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; gap: 0.8rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.post-card__meta .cat { color: var(--accent); }
.post-card h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; font-weight: 500; transition: color 0.3s; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }

/* ---------- Newsletter / CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}
.cta h2 { color: var(--bg); margin-bottom: 1rem; }
.cta p { color: rgba(245,241,234,0.7); max-width: 44ch; margin: 0 auto 2rem; }
.form-inline {
  display: flex;
  gap: 0.6rem;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.form-inline input {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: 1px solid rgba(245,241,234,0.3);
  border-radius: 100px;
  padding: 0.95em 1.5em;
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.form-inline input::placeholder { color: rgba(245,241,234,0.5); }
.form-inline input:focus { outline: none; border-color: var(--accent-soft); }
.form-inline .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.form-inline .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.form-note { font-size: 0.85rem; margin-top: 1rem; color: var(--accent-soft); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { padding: clamp(3rem, 8vh, 6rem) 0 2rem; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer__brand .display { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.footer__brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: 0.35rem 0; font-size: 0.95rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; gap: 1rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(8rem, 16vh, 12rem) 0 clamp(3rem, 6vh, 5rem); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { display: block; margin-bottom: 1.2rem; }
.page-hero p { color: var(--muted); max-width: 52ch; margin-top: 1.4rem; font-size: 1.1rem; }

/* ---------- Article ---------- */
.article { padding: clamp(3rem, 8vh, 5rem) 0; }
.article__body { max-width: 68ch; margin: 0 auto; }
.article__body > * + * { margin-top: 1.4rem; }
.article__body p { font-size: 1.12rem; color: #2a271f; line-height: 1.75; }
.article__body h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-top: 2.6rem; }
.article__body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-top: 1.8rem; }
.article__body blockquote {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.35;
  padding: 1.5rem 0 1.5rem 1.8rem;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  margin: 2.4rem 0;
}
.article__body img { border-radius: 6px; margin: 2rem 0; }
.article__body ul { padding-left: 1.3rem; }
.article__body li { margin-top: 0.5rem; color: #2a271f; }
.article__cover { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; margin-bottom: 3rem; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2rem var(--gutter);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav--over-hero.open:not(.scrolled) { color: var(--ink); }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .g-tall, .g-wide, .g-sq, .g-half { grid-column: span 6; aspect-ratio: 3/3.6; }
}
@media (max-width: 520px) {
  .g-tall, .g-wide, .g-sq, .g-half { grid-column: span 12; }
  .hero__corner { display: none; }
}
