/* =========================================================
   ALEIZAD — Hoodie 00 · Will Not Remain
   White throughout. Ink-black type, rug red used sparingly.
   ========================================================= */

:root {
  --white: #ffffff;
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e8e6e3;
  --red: #c8321d;
  --indigo: #1e2a5e;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --nastaliq: "Noto Nastaliq Urdu", "Vazirmatn", serif;
  --farsi: "Vazirmatn", "Noto Nastaliq Urdu", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
em { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--red); }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--red); border-color: var(--red); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 4px 0;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { border: 1px solid var(--ink); padding: 10px 18px !important; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--ink); color: var(--white); }
.nav__toggle { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--ink); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 12px; }
.nav__toggle span:last-child { top: 20px; }
.nav.is-open .nav__toggle span:first-child { top: 16px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 16px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 7vw, 100px) var(--gutter) clamp(60px, 8vw, 120px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero__title { font-size: clamp(54px, 8vw, 112px); line-height: .95; margin-bottom: 18px; }
.hero__num { display: block; font-family: var(--serif); color: var(--ink); font-size: 0.8em; }
.hero__fa {
  font-family: var(--nastaliq); font-size: clamp(30px, 3.6vw, 46px); line-height: 2.1;
  color: var(--red); margin: 0 0 18px; text-align: left;
}
.hero__lede { font-size: 19px; color: var(--ink-soft); max-width: 30em; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__image img { width: 100%; cursor: zoom-in; }

/* ---------- Statement ---------- */
.statement {
  text-align: center; padding: clamp(60px, 9vw, 130px) var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.statement__fa, .statement__en, .hero__lede, h2 { text-wrap: balance; }
.statement__fa { font-family: var(--nastaliq); font-size: clamp(26px, 3.4vw, 44px); line-height: 2.2; margin-bottom: 8px; }
.statement__en { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; max-width: 22em; margin: 0 auto 18px; }
.statement__cite { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 10vw, 150px) var(--gutter); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head h2 { margin-bottom: 28px; }
.section__intro { font-size: 18px; color: var(--ink-soft); }

.views { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.view img { width: 100%; cursor: zoom-in; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.view { overflow: hidden; margin: 0; }
.view:hover img { transform: scale(1.025); }
.view figcaption { padding-top: 18px; font-size: 15px; color: var(--ink-soft); max-width: 30em; }
.view figcaption span {
  display: block; font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--ink); margin-bottom: 4px;
}

.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split__image { margin: 0; }
.split__image img { width: 100%; cursor: zoom-in; }
.split__image--tall img { max-height: 860px; width: auto; margin: 0 auto; }
.split__text h2 { margin-bottom: 30px; }
.split__text p { color: var(--ink-soft); }
.split__text h3 { font-size: 22px; font-weight: 400; margin: 28px 0 18px; }
.split__text h3 em { color: var(--red); }
.split__poet { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.poet__name { font-family: var(--nastaliq); font-size: clamp(80px, 10vw, 140px); line-height: 1.2; color: var(--red); margin: 0 0 16px; }
.poet__bio { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin: 0; }

.palette { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 20px 26px; }
.palette li { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.palette span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- Poem ---------- */
.poem {
  max-width: 1080px; margin: 0 auto;
  padding: clamp(70px, 10vw, 150px) var(--gutter);
  border-top: 1px solid var(--line);
}
.poem__head { text-align: center; max-width: 760px; margin: 0 auto clamp(50px, 7vw, 90px); }
.poem__title-fa { font-family: var(--nastaliq); font-weight: 400; font-size: clamp(30px, 4.2vw, 54px); line-height: 2.1; margin-bottom: 6px; }
.poem__title-en { font-size: clamp(26px, 3vw, 36px); margin-bottom: 30px; }
.poem__intro { font-size: 18px; color: var(--ink-soft); }

.couplets { list-style: none; padding: 0; margin: 0; counter-reset: bayt; }
.couplet {
  counter-increment: bayt;
  display: grid; grid-template-columns: 48px 1fr 1.15fr; gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
}
.couplet:first-child { border-top: 1px solid var(--line); }
.couplet::before {
  content: counter(bayt, decimal-leading-zero);
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--red);
}
.couplet__fa { order: 2; font-family: var(--nastaliq); font-size: clamp(19px, 1.9vw, 24px); line-height: 2.3; text-align: right; }
.couplet__en { order: 1; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.5; }
.couplet p { margin: 0; }
.couplet__en p + p { margin-top: .35em; }
.poem__note { text-align: center; font-size: 13px; letter-spacing: .1em; color: var(--muted); margin-top: 34px; }

/* ---------- Calligraphy ---------- */
.calligraphy { max-width: 1280px; margin: 0 auto; padding: clamp(70px, 10vw, 150px) var(--gutter); }
.calligraphy__head { text-align: center; max-width: 760px; margin: 0 auto clamp(50px, 7vw, 90px); }
.calligraphy__head h2 { margin-bottom: 28px; }
.calligraphy__head p { font-size: 18px; color: var(--ink-soft); }
.calligraphy__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.calligraphy__item { margin: 0; }
.calligraphy__item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; cursor: zoom-in; }
.calligraphy__item figcaption {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}

/* ---------- Meaning ---------- */
.meaning { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(70px, 10vw, 140px) var(--gutter); }
.meaning__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.meaning h2 { margin-bottom: 30px; font-size: clamp(30px, 4vw, 50px); }
.meaning p:last-child { font-size: 19px; color: var(--ink-soft); }

/* ---------- Specs ---------- */
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs div:first-child { border-top: 1px solid var(--line); }
.specs dt { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding-top: 4px; }
.specs dd { margin: 0; color: var(--ink-soft); }

/* ---------- Register ---------- */
.register { padding: clamp(80px, 11vw, 160px) var(--gutter); text-align: center; }
.register__inner { max-width: 640px; margin: 0 auto; }
.register h2 { margin-bottom: 22px; }
.register p { color: var(--ink-soft); }
.form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.form input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--ink);
  padding: 15px 16px; border: 1px solid var(--line); background: var(--white); border-radius: 0;
  transition: border-color .3s;
}
.form input:focus { outline: none; border-color: var(--ink); }
.form input.is-invalid { border-color: var(--red); }
.form select {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--ink);
  padding: 15px 16px; border: 1px solid var(--line); background: var(--white); border-radius: 0;
  transition: border-color .3s; cursor: pointer;
}
.form select:focus { outline: none; border-color: var(--ink); }
.form select.is-invalid { border-color: var(--red); }
.form__consent {
  width: 100%; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft);
  cursor: pointer; padding: 10px 0;
}
.form__consent input { flex-shrink: 0; width: auto; padding: 0; border: 1px solid var(--line); cursor: pointer; }
.form__consent input:focus { outline: none; border-color: var(--ink); }
.form__consent input.is-invalid { border-color: var(--red); }
.form__msg { min-height: 1.6em; margin-top: 16px; font-size: 15px; width: 100%; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 60px var(--gutter) 50px; border-top: 1px solid var(--line); }
.footer__logo { height: 54px; width: auto; margin: 0 auto 10px; }
.footer__fa { font-family: var(--nastaliq); font-size: 18px; line-height: 2.2; color: var(--muted); margin-bottom: 10px; }
.footer__small { font-size: 12px; letter-spacing: .12em; color: var(--muted); margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.97);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-out; }
.lightbox__close { position: absolute; top: 14px; right: 22px; font-size: 40px; font-weight: 200; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .view img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .section--split { grid-template-columns: 1fr; }
  .section--reverse .split__image { order: -1; }
  .couplet { grid-template-columns: 1fr; gap: 14px; }
  .couplet::before { font-size: 17px; }
  .couplet__fa { order: 0; }
  .couplet__en { order: 1; }
  .calligraphy__gallery { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav.is-open .nav__links { max-height: 420px; }
  .nav__links a { padding: 18px var(--gutter); width: 100%; text-align: center; }
  .nav__links a::after { display: none; }
  .nav__cta { border: 0; border-top: 1px solid var(--line); }
  .nav__logo img { height: 36px; }
  .views { grid-template-columns: 1fr; }
  .form { flex-direction: column; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ EXPLORE THE PIECE ============ */
.explore { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 10vw, 150px) var(--gutter); border-top: 1px solid var(--line); }
.explore__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.explore__head h2 { margin-bottom: 16px; }
.explore__hint { color: var(--muted); font-size: 15px; margin: 0; }
.explore__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }

.explore__stage { position: relative; background: #f6f4f1; }
.explore__img { width: 100%; display: block; }

.hotspot {
  position: absolute; left: var(--x); top: var(--y);
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1;
  color: var(--white); background: rgba(17,17,17,.82); border: 1.5px solid var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: background .3s, transform .3s;
}
.hotspot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.75); opacity: 0;
}
.hotspot:hover { transform: scale(1.08); }
.hotspot.is-active { background: var(--red); }
.hotspot.is-active::after { animation: hotspotPulse 1.8s ease-out infinite; }
@keyframes hotspotPulse {
  0% { opacity: .9; transform: scale(.85); }
  100% { opacity: 0; transform: scale(1.35); }
}

.explore__panel { position: sticky; top: 110px; }
.spot { display: none; }
.spot.is-active { display: block; animation: spotIn .5s ease; }
@keyframes spotIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.spot__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 26px; }
.spot__img--edge { object-position: 0% 100%; }
.spot__num { font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--muted); margin-bottom: 10px; }
.spot h3 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 18px; }
.spot h3 em { color: var(--red); }
.spot p:last-child { color: var(--ink-soft); font-size: 17px; }

.explore__nav { display: flex; gap: 10px; margin-top: 28px; }
.explore__btn {
  width: 48px; height: 48px; font-size: 18px; background: var(--white); color: var(--ink);
  border: 1px solid var(--ink); cursor: pointer; transition: background .3s, color .3s;
}
.explore__btn:hover { background: var(--ink); color: var(--white); }

@media (max-width: 900px) {
  .explore__grid { grid-template-columns: 1fr; }
  .explore__panel { position: static; }
  .hotspot { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hotspot.is-active::after, .spot.is-active { animation: none; }
}

/* ============ HOW IT IS MADE ============ */
.process { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 10vw, 150px) var(--gutter); border-top: 1px solid var(--line); }
.process__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.process__head h2 { margin-bottom: 26px; }
.process__intro { font-size: 18px; color: var(--ink-soft); margin: 0; }

/* progress line: 2.5 of 4 stages */
.process__track { position: relative; height: 2px; background: var(--line); margin-bottom: 34px; }
.process__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--red); transition: width 1.6s cubic-bezier(.2,.7,.2,1) .2s;
}
.process__track.is-visible .process__fill { width: 62.5%; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.step { position: relative; }
.step__status {
  display: flex; align-items: center; gap: 8px; min-height: 18px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(54px, 5vw, 72px); line-height: 1; color: var(--red); margin-bottom: 14px; }
.step h3 { font-style: italic; font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 14px; }
.step p:last-child { color: var(--ink-soft); font-size: 16px; margin: 0; }

.step.is-done .step__num { opacity: .45; }
.step.is-done .step__status::before { content: "\2713"; font-size: 13px; letter-spacing: 0; color: var(--ink); }
.step.is-current { background: #fbf7f3; outline: 1px solid var(--red); padding: 22px 22px 26px; margin: -22px -22px -26px; }
.step.is-current .step__status { color: var(--red); }
.step__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.step__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--red); animation: stepPulse 1.8s ease-out infinite; }
@keyframes stepPulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.step:not(.is-done):not(.is-current) { opacity: .55; }

.price {
  margin-top: clamp(60px, 8vw, 110px); padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.price .eyebrow { margin-bottom: 10px; }
.price__value { font-family: var(--serif); font-size: clamp(44px, 5.5vw, 72px); line-height: 1; margin: 0 0 16px; }
.price__value span { color: var(--red); font-style: italic; }
.price__note { color: var(--ink-soft); font-size: 15px; max-width: 34em; margin: 0; }
.price .btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .process__track { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step.is-current { margin: -18px; padding: 18px; }
  .price { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .step__dot::after { animation: none; }
  .process__fill { transition: none; }
}

.form .consent {
  display: flex; align-items: flex-start; gap: 12px;
  text-align: left; cursor: pointer;
  font-size: 14px; line-height: 1.6; color: var(--ink-soft);
  margin: 4px 0 8px;
}
.form .consent input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto;
  flex: 0 0 auto; width: 18px; height: 18px;
  padding: 0; margin: 3px 0 0; border: 0;
  accent-color: #111111; cursor: pointer;
}
.form .consent.is-invalid span { color: var(--red); }
