/* ==========================================================================
   Rowshanara Moni — Homepage
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --black:        #0A0A0A;
  --black-2:      #0D0D0D;
  --panel:        #121212;
  --panel-2:      #161616;
  --line:         rgba(255, 255, 255, .12);
  --line-soft:    rgba(255, 255, 255, .07);

  --red:          #E63030;
  --red-hover:    #F2453A;

  --white:        #FFFFFF;
  --text:         #E8E8E8;
  --muted:        #A9A9A9;
  --muted-2:      #8A8A8A;

  --f-display:    'Anton', 'Oswald', Impact, sans-serif;
  --f-script:     'Great Vibes', cursive;
  --f-serif:      'Cormorant Garamond', Georgia, serif;
  --f-ui:         'Oswald', 'Inter', sans-serif;
  --f-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap:         1180px;
  --nav-h:        86px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
ul  { list-style: none; margin: 0; padding: 0; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

/* Distressed, letterpress-worn display type */
.display {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .012em;
  color: var(--white);
  filter: url(#distress);
}

.script {
  display: block;
  font-family: var(--f-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: .01em;
  line-height: .92;
}
.script--accent { color: var(--red); }

.eyebrow {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text);
}
.eyebrow span { color: var(--red); margin-inline: 4px; }

.section-label {
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 15px 20px 15px 24px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--red); background: var(--red); }

.btn--solid { background: var(--red); color: var(--white); }
.btn--solid:hover { background: var(--red-hover); }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  color: var(--red);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.btn__arrow svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.btn:hover .btn__arrow { transform: translateX(4px); color: var(--white); }
.btn--solid .btn__arrow { color: var(--white); }


/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), height .4s var(--ease),
              border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  height: 70px;
  background: rgba(10, 10, 10, .93);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  position: relative;
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.nav__group { display: flex; align-items: center; gap: 42px; }
.nav__group--right { justify-self: end; }

.nav__link {
  position: relative;
  padding: 6px 0;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  transition: color .3s var(--ease);
}
.nav__link:hover { color: var(--white); }

/* red underline + dot on the active item */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link.is-active { color: var(--red); }
.nav__link.is-active::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 3px; height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--red);
}

/* Brand lockup */
.brand { display: block; text-align: center; line-height: 1; }
.brand__name {
  display: block;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
  padding-left: .3em;
}
.brand__script {
  display: block;
  margin-top: -4px;
  font-family: var(--f-script);
  font-size: 33px;
  color: var(--red);
}

/* Hamburger */
.nav__toggle {
  display: none;
  justify-self: end;
  width: 42px; height: 42px;
  padding: 11px 9px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 1.6px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 89;
  padding: 22px 28px 34px;
  background: rgba(10, 10, 10, .98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__link:last-child { border-bottom: 0; }


/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 130px;
}

.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56%;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 28%;
}

/* left-to-right fade so the photo dissolves into the black copy area.
   Long, many-stop ramp — a short one leaves a visible vertical seam at the photo edge. */
.hero__photo-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--black)          0%,
      var(--black)          7%,
      rgba(10,10,10,.93)   18%,
      rgba(10,10,10,.74)   29%,
      rgba(10,10,10,.48)   41%,
      rgba(10,10,10,.24)   54%,
      rgba(10,10,10,.08)   67%,
      rgba(10,10,10,0)     80%),
    linear-gradient(0deg,  rgba(10,10,10,.72) 0%, rgba(10,10,10,0) 34%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 26%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: 44px;
}

.hero__title {
  margin: 22px 0 0;
  font-size: clamp(3.6rem, 8.3vw, 7.4rem);
  line-height: .88;
}
.hero__title .script {
  margin-top: 2px;
  margin-left: .06em;
  font-size: clamp(3.1rem, 6.6vw, 5.7rem);
}

.hero__lede {
  max-width: 30ch;
  margin: 30px 0 38px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--text);
}

.hero__tear {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 3;
  width: 100%;
  height: 92px;
  fill: var(--black);
}


/* ==========================================================================
   My Story
   ========================================================================== */
.story {
  position: relative;
  padding: 96px 0 108px;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 55%, var(--black) 100%);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 76px;
  align-items: center;
}

/* --- Arch portrait --- */
.portrait {
  position: relative;
  margin: 0;
  max-width: 350px;
  justify-self: center;
}

/* thin outline offset behind the photo, as in the reference */
.portrait__frame {
  position: absolute;
  left: 26px; top: 44px;
  width: 100%; height: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
}

.portrait__arch {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 175px 175px 4px 4px;
}
/* The source photo is a tight 2:3 portrait, so `cover` frames her on its own —
   it fills the arch width and trims ~11% off the height, which leaves her face
   clear of the dome. No scaling in on the subject needed. */
.portrait__arch img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center;
  /* B&W is a display treatment only — the source file is untouched */
  filter: grayscale(1) contrast(1.1) brightness(1.03);
  transition: transform 1.1s var(--ease);
}
.portrait:hover .portrait__arch img { transform: scale(1.04); }

.portrait__floral {
  position: absolute;
  z-index: 2;
  left: -66px; bottom: -30px;
  width: 172px; height: 234px;
  color: rgba(255, 255, 255, .5);
  pointer-events: none;
  transform: scaleX(-1);
}

/* --- Copy --- */
.story__title {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 4.1vw, 3.35rem);
  line-height: .98;
}
.story__title em { font-style: normal; color: var(--red); }

.story__text {
  max-width: 56ch;
  margin-bottom: 16px;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--muted);
}

/* --- Stat cards --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 34px 0 34px;
}
.stat {
  padding: 22px 12px 20px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.stat:hover {
  border-color: rgba(230, 48, 48, .55);
  background: var(--panel-2);
  transform: translateY(-3px);
}

.stat__icon {
  width: 26px; height: 26px;
  margin: 0 auto 12px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat__num {
  display: block;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -.005em;
}
.stat__label {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-2);
}


/* ==========================================================================
   Listen to my music
   ========================================================================== */
.listen {
  padding: 58px 0 46px;
  background: var(--black);
  border-top: 1px solid var(--line-soft);
}

.listen__title {
  margin-bottom: 34px;
  text-align: center;
  font-family: var(--f-body);
  font-size: clamp(15px, 1.9vw, 19px);
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--white);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.platform { display: grid; place-items: center; padding: 6px 20px; }
.platform + .platform { border-left: 1px solid var(--line); }

.platform a {
  display: block;
  opacity: .88;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.platform a:hover { opacity: 1; transform: translateY(-2px); }

.platform__logo {
  width: 100%;
  max-width: 178px;
  height: 40px;
  color: var(--white);
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-top: 54px;
  background: var(--black-2);
  border-top: 1px solid var(--line-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .9fr 1.05fr;
  gap: 44px;
  padding-bottom: 46px;
}

.footer__brand { line-height: 1; }
.brand__name--lg   { font-size: 25px; letter-spacing: .29em; }
.brand__script--lg { font-size: 34px; margin-top: -2px; }

.footer__tagline {
  margin-top: 16px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .27em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__tagline span { color: var(--red); margin-inline: 3px; }

.footer__head {
  margin-bottom: 17px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--red);
}

.footer__list li + li { margin-top: 9px; }
.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  transition: color .28s var(--ease);
}
.footer__list a:hover { color: var(--white); }

.footer__list--social svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex: none;
}

.footer__note {
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.footer__bar { border-top: 1px solid var(--line-soft); }
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.footer__bar-inner p {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted-2);
}


/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__inner { padding-inline: 28px; }
  .nav__group { gap: 28px; }
  .hero__content { padding-inline: 28px; }
  .story__grid { gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

/* Seven nav items need slightly tighter gaps in the band just above the
   mobile breakpoint, otherwise the right-hand group runs past the padding. */
@media (max-width: 1000px) {
  .nav__inner { gap: 20px; }
  .nav__group { gap: 18px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 74px; }

  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__group { display: none; }
  .nav__toggle { display: block; }
  .brand { justify-self: start; text-align: left; }
  .brand__name { font-size: 21px; padding-left: 0; }
  .brand__script { font-size: 27px; }

  .hero {
    align-items: flex-end;
    padding: calc(var(--nav-h) + 190px) 0 120px;
  }
  .hero__photo { width: 100%; }
  .hero__photo img { object-position: 46% 20%; }
  .hero__photo-fade {
    background:
      linear-gradient(0deg, var(--black) 22%, rgba(10,10,10,.72) 46%, rgba(10,10,10,.1) 72%),
      linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 30%);
  }
  .hero__title { font-size: clamp(3rem, 12.5vw, 5rem); }
  .hero__title .script { font-size: clamp(2.6rem, 10.5vw, 4rem); }
  .hero__lede { max-width: 34ch; }
  .hero__tear { height: 58px; }

  .story { padding: 74px 0 84px; }
  .story__grid { grid-template-columns: 1fr; gap: 60px; }
  .portrait { max-width: 320px; }
  .portrait__floral { left: -50px; width: 140px; height: 190px; }

  .platforms { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .platform:nth-child(odd) { border-left: 0; }
}

@media (max-width: 600px) {
  .wrap { padding-inline: 22px; }
  .hero__content { padding-inline: 22px; }
  .hero { padding-top: calc(var(--nav-h) + 150px); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat__num { font-size: 26px; }

  .btn { gap: 18px; padding: 14px 16px 14px 20px; font-size: 11px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Distress filter costs a lot on very small screens — drop it there */
@media (max-width: 480px) {
  .display { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
