/* ═══════════════════════════════════════════════════════════
   Jasmine KaiSa Rose — jasminekaisarose.com
   Standalone luxe design system
   Fonts: Marcellus (display) · Mulish (body)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --cream:        #fdf9f5;
  --cream-deep:   #f8efe8;
  --rose:         #c95577;
  --rose-warm:    #d76b8f;
  --rose-deep:    #a93e58;
  --rose-whisper: rgba(215, 107, 143, 0.08);
  --gold:         #c2a063;
  --gold-bright:  #d9bc85;
  --gold-whisper: rgba(194, 160, 99, 0.14);
  --plum:         #2a1820;
  --plum-soft:    #43293a;
  --cosmic-1:     #1a0f28;
  --cosmic-2:     #2a1438;
  --cosmic-3:     #120818;
  --ink:          #322028;
  --ink-soft:     #6b5560;
  --white:        #ffffff;

  /* Type */
  --font-display: 'Marcellus', serif;
  --font-body:    'Mulish', sans-serif;

  /* Rhythm */
  --section-pad:  clamp(72px, 10vw, 130px);
  --container:    1140px;
  --radius:       3px;
}

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose-deep); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--rose); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  color: var(--plum);
  letter-spacing: 0.01em;
}

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

.section { padding: var(--section-pad) 0; }
.section-dark {
  background: linear-gradient(160deg, var(--cosmic-1) 0%, var(--cosmic-2) 55%, var(--cosmic-3) 100%);
}
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(253, 249, 245, 0.82); }
.section-blush { background: var(--cream-deep); }

/* Section labels & headings */
.section-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 26px;
}
.section-intro {
  max-width: 680px;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Gold divider motif */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 30px auto;
  width: min(320px, 70%);
}
.gold-divider::before, .gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.gold-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.gold-divider span {
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 17px 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s ease;
}
.btn-rose {
  background: linear-gradient(120deg, var(--rose-deep), var(--rose));
  color: var(--white);
  box-shadow: 0 8px 26px rgba(169, 62, 88, 0.28);
}
.btn-rose:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(169, 62, 88, 0.38);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--plum);
  background: transparent;
}
.btn-outline:hover { background: var(--gold-whisper); color: var(--plum); }
.section-dark .btn-outline { color: var(--cream); border-color: var(--gold-bright); }
.section-dark .btn-outline:hover { background: rgba(217, 188, 133, 0.12); color: var(--cream); }

/* ── Header / nav ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.site-header.scrolled {
  background: rgba(253, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(42, 24, 32, 0.08);
  padding: 13px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--plum);
  letter-spacing: 0.04em;
}
.site-logo span { color: var(--rose-deep); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-nav a:hover, .site-nav a.active { color: var(--rose-deep); }
.site-nav .nav-cta {
  border: 1px solid var(--gold);
  padding: 10px 22px;
  border-radius: var(--radius);
}
.site-nav .nav-cta:hover { background: var(--gold-whisper); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; height: 22px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--plum);
  transition: all .3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(253, 249, 245, 0.99);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .site-nav a { font-size: 1rem; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--plum);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(26, 15, 40, 0.78) 0%, rgba(42, 24, 32, 0.45) 50%, rgba(42, 24, 32, 0.18) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 140px 0 90px;
}

/* Light hero variant — dreamy image, cream veil, plum text */
.hero-light { background: var(--cream); }
.hero-light .hero-overlay {
  background:
    linear-gradient(95deg, rgba(253, 249, 245, 0.93) 0%, rgba(253, 249, 245, 0.72) 38%, rgba(253, 249, 245, 0.18) 70%, transparent 100%);
}
.hero.hero-light h1 {
  color: var(--rose-deep); /* fallback for older browsers */
  background: linear-gradient(105deg, var(--rose) 0%, var(--rose-deep) 45%, #8f3349 78%, #732839 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(253, 249, 245, 0.6)) drop-shadow(0 5px 18px rgba(90, 25, 45, 0.32));
}
.hero-light .hero-eyebrow { color: var(--gold); }
.hero-light .hero-sub { color: var(--rose-deep); }
.hero-light .hero-text { color: var(--ink-soft); }
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  color: var(--cream);
  margin-bottom: 10px;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-style: normal;
  color: var(--rose-warm);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.hero-text {
  font-size: 1.1rem;
  color: rgba(253, 249, 245, 0.88);
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* ── Feature / split layouts ─────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split-image { position: relative; }
.split-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(42, 24, 32, 0.18);
}
.split-image::after {
  content: '';
  position: absolute;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.55;
}
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
}

/* ── Cards (Body of Work) ─────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 50px;
}
.work-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(217, 188, 133, 0.22);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: border-color .35s ease, transform .35s ease;
}
.work-card:hover { border-color: rgba(217, 188, 133, 0.55); transform: translateY(-4px); }
.work-card h3 {
  font-size: 1.28rem;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.work-card p { font-size: 0.97rem; line-height: 1.75; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.testimonial {
  background: var(--white);
  border: 1px solid rgba(194, 160, 99, 0.25);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 36px rgba(42, 24, 32, 0.05);
}
.testimonial blockquote {
  font-size: 0.99rem;
  line-height: 1.8;
  color: var(--ink-soft);
  flex: 1;
}
.testimonial blockquote::before {
  content: '“';
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--rose-warm);
  margin-bottom: 14px;
}
.testimonial cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--plum);
}
.testimonial cite small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .section-title { margin-bottom: 18px; }
.cta-band p { max-width: 620px; margin: 0 auto 38px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--cosmic-3);
  color: rgba(253, 249, 245, 0.66);
  padding: 70px 0 36px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-brand .site-logo { color: var(--cream); font-size: 1.4rem; }
.footer-brand p { margin-top: 16px; max-width: 320px; line-height: 1.75; }
.site-footer h4 {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: rgba(253, 249, 245, 0.66); }
.site-footer a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(217, 188, 133, 0.16);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(253, 249, 245, 0.4);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Page hero (interior pages) ───────────────────────────── */
.page-hero {
  padding: 170px 0 80px;
  background:
    radial-gradient(ellipse 70% 90% at 80% 10%, rgba(215, 107, 143, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 80% at 15% 90%, rgba(194, 160, 99, 0.12), transparent 60%),
    var(--cream-deep);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.page-hero .lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.14rem;
  color: var(--ink-soft);
}

/* ── Prose blocks ─────────────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 26px; }
.prose h2 { font-size: 1.7rem; margin: 50px 0 20px; }
.prose .drop {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--plum);
}

/* Modality cloud */
.modality-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 860px;
  margin: 44px auto 0;
}
.modality-cloud span {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border: 1px solid rgba(194, 160, 99, 0.4);
  border-radius: 100px;
  color: var(--ink-soft);
  background: var(--white);
}

/* ── Animations ───────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}
[data-animate].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
