/* ============================================================
   RUMI MAREVA — Main Stylesheet
   ============================================================ */

/* Variables */
:root {
  --black:   #08060a;
  --ink:     #151019;
  --magenta: #db158f;
  --pink:    #f15aba;
  --purple:  #6b1c74;
  --paper:   #f6f2f3;
  --muted:   #d8c8d5;
}

/* Base */
*  { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font: 16px/1.7 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

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

/* ============================================================
   Navigation
   ============================================================ */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 9px clamp(20px, 5vw, 84px);
  background: #08060af2;
  border-bottom: 1px solid #ffffff18;
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  max-width: 168px;
  flex-shrink: 0;
}

.brand img { width: 100%; height: auto; }

.top nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.25vw, 22px);
  flex-wrap: wrap;
}

.top nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}

.top nav a:hover { color: var(--pink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: min(850px, 94vh);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 38%, #581044 0, transparent 40%),
    linear-gradient(125deg, #050406 25%, #200c20 75%, #050406);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30% 28% -30% auto;
  width: 14%;
  transform: rotate(28deg);
  background: linear-gradient(90deg, transparent, #e6009c20, transparent);
  pointer-events: none;
}

.hero-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: 54% 46%;
  max-width: 1700px;
  margin: auto;
}

.hero-copy {
  z-index: 2;
  align-self: center;
  padding: 65px 2vw 70px clamp(26px, 7vw, 110px);
}

.eyebrow,
.index,
.chapter-no,
.kicker,
.project-kicker {
  font-size: 11px;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(66px, 8.2vw, 145px);
  line-height: .9;
  letter-spacing: -.07em;
  margin: 35px 0 15px;
}

.hero h1 strong { font-weight: 700; }

.dot { color: var(--pink); }

.hero-script {
  font-family: Georgia, serif;
  font-style: italic;
  color: #f1b2dd;
  font-size: clamp(25px, 3.6vw, 59px);
  line-height: 1.1;
  margin: 20px 0 30px;
}

.hero-script em { color: var(--pink); }

.hero-rule {
  width: 78px;
  height: 2px;
  background: var(--pink);
  margin: 26px 0;
}

.manifesto {
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 1.35;
  margin: 0 0 16px;
}

.manifesto b { color: var(--pink); }

.descriptor {
  max-width: 560px;
  color: #ddd1db;
  font-size: 16px;
}

.cta {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  margin-top: 23px;
  padding: 13px 22px;
  border: 1px solid var(--pink);
  border-radius: 30px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  transition: background .2s;
}

.cta:hover { background: var(--magenta); }

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  align-self: stretch;
}

.hero-photo::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #08060a 0%, transparent 20%),
    linear-gradient(0deg, #08060a 0%, transparent 25%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 19%;
  filter: saturate(1.07);
}

.photo-caption {
  position: absolute;
  bottom: 38px;
  right: 34px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: .35em;
  color: #fff9;
}

/* ============================================================
   Intro
   ============================================================ */
.intro-section {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 4vw;
  background: var(--paper);
  color: var(--ink);
  padding: 100px clamp(24px, 7vw, 115px);
}

.intro-head h2 {
  font: 400 clamp(48px, 5.4vw, 94px)/.99 Georgia, serif;
  letter-spacing: -.06em;
  margin: 22px 0;
}

.intro-head i { color: #ba227f; }

.intro-body {
  max-width: 700px;
  border-left: 3px solid #bd2788;
  padding-left: 28px;
}

.intro-body p {
  font-size: clamp(17px, 1.4vw, 21px);
  margin: 0 0 22px;
  line-height: 1.75;
}

.intro-body p:first-child { font-weight: 600; }

/* ============================================================
   Chapters
   ============================================================ */
.chapter {
  padding: 95px clamp(24px, 7vw, 110px) 110px;
  scroll-margin-top: 85px;
  position: relative;
  overflow: hidden;
}

.chapter.dark {
  background:
    radial-gradient(ellipse at 96% 0%, #431039 0, transparent 34%),
    #09070b;
  color: #f9f4f7;
}

.chapter.light {
  background: var(--paper);
  color: #161018;
}

.chapter:nth-of-type(3n+2).dark {
  background:
    radial-gradient(ellipse at 0% 100%, #35104b 0, transparent 35%),
    #09070b;
}

.chapter-no { margin-bottom: 35px; }

.light .chapter-no { color: #a2227c; }

.spread {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 5vw;
  max-width: 1480px;
  margin: auto;
}

.lead { position: relative; }

.chapter-title {
  font: 400 clamp(47px, 5.3vw, 80px)/1 Georgia, serif;
  letter-spacing: -.055em;
  margin: 0 0 32px;
  color: inherit;
  overflow-wrap: anywhere;
}

.chapter.dark .chapter-title { color: #fff; }
.chapter.light .chapter-title { color: #151019; }

.lead h3 {
  font: italic 400 clamp(23px, 2.4vw, 38px)/1.27 Georgia, serif;
  color: var(--pink);
  margin: 0;
  max-width: 520px;
}

.light .lead h3 { color: #a92383; }

.artline {
  width: 100px;
  height: 3px;
  background: var(--pink);
  margin-top: 34px;
}

.article-text { max-width: 760px; }

.article-text p {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.82;
  margin: 0 0 22px;
}

.article-text p.opening {
  font: 400 clamp(23px, 2vw, 32px)/1.4 Georgia, serif;
  letter-spacing: -.02em;
  margin-bottom: 30px;
}

.pullquote {
  font: italic 400 clamp(24px, 2.7vw, 41px)/1.28 Georgia, serif;
  color: var(--pink);
  border-left: 3px solid var(--pink);
  padding-left: 24px;
  margin: 48px 0 10px;
}

.light .pullquote { color: #a92383; }

.responsibility-visual {
  margin-top: 24px;
  max-width: 430px;
  position: relative;
}

.responsibility-visual::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(219,21,143,0.2), rgba(255,255,255,0.02));
  filter: blur(6px);
  z-index: 0;
}

.responsibility-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
  filter: saturate(1.05) contrast(1.03);
  background: rgba(255,255,255,0.02);
}

/* Chapter SVG visuals */
.chapter-visual {
  width: min(100%, 370px);
  height: auto;
  display: block;
  margin: 48px 0 0;
  opacity: .92;
  filter: drop-shadow(0 14px 35px #d9158f18);
}

.chapter-visual .v-stroke {
  fill: none;
  stroke: var(--pink);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chapter-visual .v-soft {
  fill: none;
  stroke: currentColor;
  stroke-opacity: .28;
  stroke-width: 1.3;
}

.chapter-visual .v-dot { fill: var(--pink); }

.chapter.light .chapter-visual { color: #3c2235; }

/* Integrated topic heading */
.integrated-topic {
  font-family: inherit;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 2.4rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  letter-spacing: -.02em;
}

.integrated-topic::before {
  content: "↗ ";
  color: #e53290;
}

/* ============================================================
   Projects
   ============================================================ */
.projects {
  padding: 100px clamp(24px, 7vw, 110px);
  background: linear-gradient(140deg, #150914, #280c2b 60%, #09060b);
}

.projects h2 {
  font: 400 clamp(43px, 5.3vw, 82px)/1.05 Georgia, serif;
  margin: 20px 0 42px;
  letter-spacing: -.04em;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project {
  padding: clamp(24px, 3vw, 50px);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px rgba(0,0,0,0.22);
  min-height: 290px;
  position: relative;
  overflow: hidden;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 38%);
  pointer-events: none;
}

.project h3 {
  font: 400 clamp(30px, 3vw, 49px)/1.2 Georgia, serif;
  color: #fff;
  margin: 15px 0;
  position: relative;
  z-index: 1;
}

.project p {
  font-size: 18px;
  max-width: 540px;
  position: relative;
  z-index: 1;
}

.project-logo {
  position: relative;
  z-index: 1;
  display: block;
  margin: 18px 0 26px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 18px 32px rgba(0,0,0,0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.project:hover .project-logo {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(0,0,0,0.34);
}

.project-logo-careerooms {
  width: min(100%, 250px);
  padding: 18px 14px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.24));
}

.project-logo-school {
  width: min(100%, 110px);
  aspect-ratio: 1;
  object-fit: cover;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  padding: 110px clamp(24px, 7vw, 110px);
  background: linear-gradient(140deg, #09070b, #160b17 45%, #09070b);
  color: #fff;
  border-top: 1px solid #7d1b65;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
}

.contact-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.contact-visual::before {
  content: "";
  position: absolute;
  inset: 6% 8% 8% 6%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}

.contact-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  height: min(72vw, 560px);
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
  filter: saturate(1.06) contrast(1.04);
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact h2 {
  font: 400 clamp(46px, 6vw, 100px)/1.05 Georgia, serif;
  letter-spacing: -.05em;
  margin: 20px 0;
}

.contact .pink {
  color: var(--pink);
  font: italic 400 clamp(28px, 3vw, 48px)/1.2 Georgia, serif;
}

.contact p { font-size: 19px; }

.contact a {
  color: var(--pink);
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    order: 2;
    min-height: 0;
  }

  .contact-visual img {
    width: min(100%, 420px);
    height: 420px;
  }

  .contact-content {
    order: 1;
  }
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  padding: 24px clamp(24px, 7vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid #ffffff20;
  font-size: 12px;
  letter-spacing: .1em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1050px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .top nav {
    justify-content: flex-start;
    padding: 0 0 12px;
  }

  .hero-grid { grid-template-columns: 55% 45%; }

  .hero-copy { padding-left: 5vw; }

  .hero h1 { font-size: clamp(54px, 7vw, 95px); }

  .hero-photo { min-height: 620px; }

  .spread {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .lead h3 { max-width: 800px; }

  .article-text { max-width: 850px; }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .top {
    position: relative;
    padding: 8px 18px;
  }

  .brand { max-width: 150px; }

  .top nav { gap: 7px 13px; }

  .top nav a { font-size: 10px; }

  .hero { min-height: unset; }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-photo {
    min-height: 0;
    height: 430px;
  }

  .hero-photo::before {
    background: linear-gradient(0deg, #08060a, transparent 33%);
  }

  .hero-photo img { object-position: center 17%; }

  .hero-copy { padding: 10px 23px 70px; }

  .hero h1 {
    font-size: clamp(56px, 15vw, 95px);
    margin: 18px 0;
  }

  .hero-script { font-size: clamp(28px, 8vw, 48px); }

  .hero-photo .photo-caption { bottom: 24px; }

  .intro-section { padding: 65px 23px; }

  .intro-head h2 { font-size: 54px; }

  .intro-body { padding-left: 18px; }

  .chapter { padding: 70px 23px; }

  .chapter-title { font-size: clamp(43px, 11vw, 72px); }

  .lead h3 { font-size: 26px; }

  .article-text p { font-size: 17px; }

  .cards { grid-template-columns: 1fr; }

  .projects,
  .contact { padding: 75px 23px; }

  .chapter-visual {
    width: min(72%, 260px);
    margin: 26px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
