/* Studio Musi — brand tokens from the guidelines */
:root {
  --orbital: #220088;   /* primary ground, the studio's voice */
  --plum: #D7D0E1;      /* type on Orbital, soft panels */
  --white: #EEECE7;     /* reading ground */
  --pink: #F77FBE;      /* the accent: labels, links, one moment per page */
  --purple: #65318E;    /* supporting ground, labels on light */
  --display: 'Archivo', system-ui, sans-serif;  /* stand-in for Landour Display */
  --text: 'Outfit', system-ui, sans-serif;      /* stand-in for Landour Text */
  --arabic: 'Noto Kufi Arabic', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--orbital);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
a:hover { color: var(--pink); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
hr { border: 0; height: 1px; background: currentColor; opacity: 0.35; margin: 64px 0 32px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--pink); color: var(--orbital); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.display { font-family: var(--display); font-stretch: 125%; font-weight: 900; letter-spacing: 0; }
.ar { font-family: var(--arabic); }
.placeholder { font-size: 13px; line-height: 1.5; max-width: 420px; }

/* Labels and meta pairs */
.label {
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: 15px; line-height: 1.3; color: var(--purple);
}
.label--inline { font-size: 13px; }
dl > div { display: flex; flex-direction: column; }
dd { order: 1; font-size: 20px; line-height: 1.4; }
dt {
  order: 2; margin-top: 4px;
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: 13px; color: var(--purple);
}

/* Type scale */
.headline {
  margin-top: 28px; max-width: 1080px;
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: clamp(34px, 4.8vw, 66px); line-height: 1.05; letter-spacing: 0;
}
.headline--black { font-weight: 900; max-width: 980px; }
.section-title {
  margin-top: 28px; max-width: 820px;
  font-family: var(--display); font-stretch: 125%; font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15;
}
.standfirst { margin-top: 28px; max-width: 680px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; }

/* Sections */
.section { padding: clamp(80px, 9vw, 120px) var(--gutter); }
.section--white { background: var(--white); color: var(--orbital); }
.section--plum { background: var(--plum); color: var(--orbital); }
.section--orbital { background: var(--orbital); color: var(--plum); }
.section--orbital .label, .section--orbital dt { color: var(--pink); }
.section--orbital .standfirst, .section--orbital dd { color: var(--white); }

/* 01 Cover */
.cover {
  position: relative; overflow: hidden;
  min-height: max(100vh, 760px);
  display: flex; flex-direction: column;
  padding: 28px var(--gutter);
  background: var(--orbital); color: var(--plum);
  font-size: 14px; line-height: 1.5;
}
.cover > * { position: relative; }
.cover .cover__image {
  position: absolute; left: 50%; top: 0; bottom: 0; transform: translateX(-50%);
  width: clamp(280px, 44%, 640px);
  background: var(--purple); color: var(--white);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 190px 28px 0; text-align: center;
}
.cover__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edge-strip {
  position: absolute !important; right: 0; top: 0; bottom: 0; width: 10px;
  background: linear-gradient(to bottom, var(--orbital) 0%, var(--orbital) 45%, var(--purple) 75%, var(--pink) 100%);
}
.cover__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 40px; }
.cover__id { display: flex; flex-direction: column; }
.cover__id strong, .cover strong { font-weight: 600; color: var(--white); }
.cover a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.cover__nav { display: flex; flex-wrap: wrap; column-gap: 28px; margin-top: -12px; }
.cover__right { display: flex; flex-direction: column; align-items: flex-end; margin-top: -12px; }
.cover__right a { min-height: 32px; }
.cover__middle {
  flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 24px; padding: 48px 0;
}
.cover__meta-right { text-align: right; max-width: 260px; }
.gap { margin-top: 14px; }
.rule-line { display: flex; align-items: center; gap: 10px; }
.line { display: inline-block; width: 48px; height: 1px; background: currentColor; }
.cover__word {
  color: var(--pink); text-align: center;
  font-size: clamp(110px, 25vw, 380px); line-height: 0.78;
}
.cover__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 32px; margin-top: 28px; }

/* 02 Studio */
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; }
.meta-grid--small { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px 32px; }
.meta-grid--small dd { font-size: 16px; }
.ar--name { font-weight: 800; font-size: 18px; }

/* 03 Offers */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 32px; margin-top: 64px; }
.offers li { border-top: 1px solid var(--orbital); padding-top: 20px; }
.offers h3 { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 20px; line-height: 1.2; }
.offers p { margin-top: 10px; font-size: 15px; line-height: 1.55; }
.ways { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 56px; font-size: 16px; line-height: 1.5; }
.ways p { flex: 1 1 320px; max-width: 520px; }

/* 04 Work */
.case-hero {
  position: relative; margin-top: 28px; width: 100%; aspect-ratio: 16 / 9; max-height: 640px;
  background: var(--plum); color: var(--orbital);
  display: flex; align-items: flex-end; padding: 24px; overflow: hidden;
}
.case-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meta-row { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 40px; }
.meta-row dd { font-size: 17px; }
.case-title { margin-top: 28px; font-size: clamp(56px, 7vw, 100px); line-height: 0.95; color: var(--plum); }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 56px; margin-top: 48px; }
.case-grid--ruled { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(215, 208, 225, 0.3); }
.case-grid h3.label { font-size: 13px; }
.case-grid p { margin-top: 10px; font-size: 17px; }
.arrows { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.arrows li { display: flex; gap: 12px; }
.arrows li::before { content: "→"; color: var(--pink); flex: 0 0 auto; }
.quote { margin-top: 40px; }
.quote blockquote { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; font-style: italic; color: var(--white); }
.quote figcaption { margin-top: 12px; font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 16px;
  border: 1px solid var(--pink); border-radius: 999px; color: var(--pink); font-size: 14px;
}
.pill--filled { background: var(--pink); color: var(--orbital); }

/* 05 About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; margin-top: 64px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; max-height: 560px;
  background: var(--plum); color: var(--purple);
  display: flex; align-items: flex-end; padding: 20px; overflow: hidden;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__text p + p { margin-top: 18px; }
.about__text hr { margin: 40px 0 28px; }

/* 06 Contact */
.contact {
  padding: clamp(80px, 9vw, 120px) var(--gutter) 0;
  background: linear-gradient(to bottom, var(--orbital) 0%, var(--orbital) 40%, var(--purple) 72%, var(--pink) 100%);
  color: var(--plum);
}
.contact .label { color: var(--pink); }
.contact__ar { margin-top: 20px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.3; font-weight: 800; color: var(--pink); text-align: left; }
.contact__cta { margin-top: 32px; font-size: clamp(20px, 1.8vw, 26px); }
.contact__cta a { color: var(--white); text-underline-offset: 4px; }
.contact__cta a:hover { color: var(--pink); }
.contact__word { margin-top: 120px; font-size: clamp(96px, 18vw, 260px); line-height: 0.8; color: var(--plum); }

/* Footer */
.footer { background: var(--pink); color: var(--orbital); padding: 28px var(--gutter); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.footer dd { font-size: 17px; }
.footer dt { color: var(--orbital); }
.footer a { text-underline-offset: 3px; }
.footer a:hover { color: var(--purple); }

/* Phone */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .cover { min-height: 760px; }
  .cover .cover__image { width: 78%; padding-top: 220px; }
  .cover__nav { order: 3; width: 100%; margin-top: 0; column-gap: 20px; }
  .cover__middle { visibility: hidden; }
  .cover__bottom .rule-line { order: 3; width: 100%; }
  hr { margin: 48px 0 28px; }
}
