/* ==========================================================================
   MJ — design tokens
   Luxury-house direction: bone paper, fine grain, hairlines, lots of air.
   Palette from the brand's imagery: bone, oat, stone, espresso, with a
   restrained champagne accent reserved for the caftan chapter and footer.
   ========================================================================== */
:root {
  --bone: #F6F3EE;
  --paper: #EEE8DF;
  --sand: #DCCFBD;
  --taupe: #A79580;
  --ink: #161210;
  --ink-soft: #4A423B;
  --muted: #776B60;
  --espresso: #1B1512;
  --espresso-2: #251D18;
  --champagne: #C9B08A;
  --line: rgba(22, 18, 16, .12);
  --line-light: rgba(246, 243, 238, .18);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --section-y: clamp(96px, 13vw, 184px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 300 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Fine paper grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .9;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 1040px; }
.section { padding: var(--section-y) 0; }

/* ---------- type ---------- */
.kicker {
  font: 400 10.5px/1.4 var(--sans);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.kicker--light { color: rgba(246, 243, 238, .85); }
.kicker--gold { color: var(--champagne); }
.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1; letter-spacing: -.015em;
  margin-bottom: 32px;
}
.display em, .hero__title em, .statement__text em { font-style: italic; }
.display--light { color: var(--bone); }
.lead { font: 300 clamp(24px, 2.4vw, 32px)/1.3 var(--serif); color: var(--ink); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px; cursor: pointer;
  font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); background: transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--bone); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light { border-color: rgba(246,243,238,.8); color: var(--bone); }
.btn--light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--gold { border-color: var(--champagne); color: var(--champagne); }
.btn--gold:hover { background: var(--champagne); color: var(--espresso); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0;
}
.link-arrow::after {
  content: ""; width: 36px; height: 1px; background: currentColor;
  transition: width .5s var(--ease);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after { width: 64px; }
.link-arrow--light { color: var(--bone); }

/* ---------- image frames & empty slots ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame--dark { background: var(--espresso-2); }
/* When an image file is missing, JS adds .is-empty and the frame shows its label */
.frame.is-empty img { visibility: hidden; }
.frame.is-empty::after {
  content: attr(data-label);
  position: absolute; inset: 12px; display: grid; place-items: center; text-align: center;
  padding: 16px; border: 1px solid var(--line);
  font: 400 10px/1.8 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); white-space: pre-line;
}
.frame--dark.is-empty::after { border-color: var(--line-light); color: var(--champagne); }
.arch.is-empty::after { border-radius: 100vmax 100vmax 0 0; }

/* ---------- Moroccan details: arch + 8-point star ---------- */
.arch { border-radius: 100vmax 100vmax 0 0; }
.arch-wrap { position: relative; }
.arch-line {
  position: absolute; inset: -16px -16px 32px -16px;
  border: 1px solid var(--champagne); border-bottom: 0;
  border-radius: 100vmax 100vmax 0 0; opacity: .6; pointer-events: none;
}
.ornament {
  display: block; width: 18px; height: 18px; margin: 0 auto 36px;
  background: var(--taupe);
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%);
}
.ornament--gold { background: var(--champagne); }
.ornament--sm { width: 10px; height: 10px; margin: 0; display: inline-block; }

/* ==========================================================================
   Navigation — centred wordmark, links either side
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--bone);
  transition: color .4s var(--ease);
}
/* Background on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed mobile menu inside the header box */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 243, 238, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid::before { opacity: 1; }
body.nav-open .site-header { color: var(--ink); }

.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 88px; padding: 0 var(--gutter);
  transition: height .4s var(--ease);
}
.site-header.is-solid .nav { height: 72px; }
.nav__menu { display: contents; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.nav__links--l { grid-column: 1; grid-row: 1; }
.nav__links--r { grid-column: 3; grid-row: 1; justify-content: flex-end; }

.wordmark {
  grid-column: 2; grid-row: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none;
}
.wordmark__logo { display: block; height: 50px; width: auto; filter: invert(1); transition: filter .4s var(--ease), height .4s var(--ease); }
.site-header.is-solid .wordmark__logo, body.nav-open .wordmark__logo { filter: none; }
.site-header.is-solid .wordmark__logo { height: 40px; }
.wordmark__sub { font: 400 8.5px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin-right: -.5em; }
.wordmark--xl .wordmark__logo { height: clamp(84px, 11vw, 150px); filter: invert(1); }
.wordmark--xl .wordmark__sub { font-size: 11px; }

.nav__links a {
  position: relative; text-decoration: none;
  font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  padding: 10px 0;
}
.nav__links a:not(.nav__ig)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__ig { display: inline-flex; align-items: center; gap: 10px; }
.nav__ig svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.nav__ig svg .fill { fill: currentColor; stroke: none; }
.nav__ig-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.nav__toggle {
  display: none; grid-column: 1; grid-row: 1; justify-self: start;
  width: 44px; height: 44px; margin-left: -10px;
  background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  position: absolute; left: 10px; width: 24px; height: 1px; background: currentColor;
  transition: transform .35s var(--ease), background .2s;
}
.nav__bars { top: 50%; }
.nav__bars::before, .nav__bars::after { content: ""; left: 0; }
.nav__bars::before { transform: translateY(-6px); }
.nav__bars::after { transform: translateY(6px); }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: rotate(-45deg); }
.wordmark { position: relative; z-index: 2; }

@media (max-width: 1240px) {
  .nav__toggle { display: block; }
  .nav__menu {
    display: flex; position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    background: var(--bone); color: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .nav__links { flex-direction: column; gap: 22px; }
  .nav__links a { font: 300 34px/1.1 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav__ig { margin-top: 18px; font: 400 11px/1 var(--sans) !important; letter-spacing: .26em !important; text-transform: uppercase !important; }
  .nav__ig-label { position: static; width: auto; height: auto; clip: auto; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero — campaign triptych
   ========================================================================== */
.hero { position: relative; height: 100vh; height: min(100svh, 1000px); min-height: 560px; overflow: hidden; background: var(--espresso); }
.hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.hero__panel { overflow: hidden; }
.hero__panel img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
.hero__panel:nth-child(1) img { object-position: 50% 45%; }
.hero__panel:nth-child(2) img { object-position: 50% 35%; animation-delay: .15s; }
.hero__panel:nth-child(3) img { object-position: 50% 40%; animation-delay: .3s; }
@keyframes settle { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(14,10,8,.72) 0%, rgba(14,10,8,.25) 38%, transparent 60%),
    linear-gradient(to bottom, rgba(14,10,8,.35), transparent 22%);
}
.hero__overlay {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(48px, 9vh, 96px);
  text-align: center; color: var(--bone); padding: 0 var(--gutter);
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.015em;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; }

@media (max-width: 760px) {
  .hero__media { grid-template-columns: 1fr; }
  .hero__panel:nth-child(n+2) { display: none; }
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { padding: clamp(96px, 12vw, 168px) 0; text-align: center; }
.statement__text {
  font: 300 clamp(26px, 3.3vw, 46px)/1.3 var(--serif);
  letter-spacing: -.005em; margin: 0 auto 48px; max-width: 26em;
}
.statement__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.statement__facts li {
  font: 400 10.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
  padding: 0 18px; border-left: 1px solid var(--line); white-space: nowrap; letter-spacing: .2em;
}
.statement__facts li:first-child { border-left: 0; }
@media (max-width: 600px) {
  .statement__facts { flex-direction: column; gap: 14px; }
  .statement__facts li { border: 0; white-space: normal; padding: 0; }
}

/* ==========================================================================
   Two category doors
   ========================================================================== */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bone); }
.door { position: relative; display: block; text-decoration: none; color: var(--bone); height: min(94vh, 960px); min-height: 520px; }
.door__img { position: absolute; inset: 0; }
.door__img img { object-position: 50% 40%; }
.door::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14,10,8,.6), transparent 45%);
}
.door__text {
  position: absolute; z-index: 1; left: clamp(24px, 4vw, 56px); right: 24px; bottom: clamp(28px, 5vw, 56px);
  display: grid; gap: 10px; justify-items: start;
}
.door__n { font: italic 300 22px/1 var(--serif); opacity: .85; }
.door__title { font: 300 clamp(40px, 4.8vw, 72px)/1 var(--serif); letter-spacing: -.01em; }
.door:hover .frame img, .door:focus-visible .frame img { transform: scale(1.035); }
.door:focus-visible { outline-offset: -8px; outline-color: var(--bone); }
.door .frame.is-empty::after { inset: 24px 24px 200px; }
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; }
  .door { height: min(78svh, 720px); min-height: 460px; }
}

/* ==========================================================================
   Chapter I — Modest Wear
   ========================================================================== */
.chapter__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.chapter__head { position: sticky; top: 120px; }
.chapter__head p:not(.kicker) { color: var(--ink-soft); max-width: 26em; }
.pieces { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 28px 0 32px; }
.pieces li {
  font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  padding: 0 16px; border-left: 1px solid var(--line);
}
.pieces li:first-child { padding-left: 0; border-left: 0; }

.modest-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 40px); align-items: start; }
.mg-col { display: grid; gap: clamp(40px, 5vw, 80px); }
.mg-col--offset { padding-top: 160px; }
.mg--1 .frame { aspect-ratio: 3 / 4.4; }
.mg--2 .frame { aspect-ratio: 1; }
.mg--3 { width: 78%; justify-self: end; }
.mg--3 .frame { aspect-ratio: 3 / 4.2; }
.mg--3 .frame img { object-position: 50% 25%; }
.mg--4 { width: 82%; }
.mg--4 .frame { aspect-ratio: 3 / 4; }
.mg--4 .frame img { object-position: 50% 70%; }
.mg figcaption, .story__img figcaption, .lb figcaption {
  margin-top: 14px; font: italic 300 17px/1.3 var(--serif); color: var(--muted);
}
.mg:hover .frame img { transform: scale(1.03); }

@media (max-width: 900px) {
  .chapter__grid { grid-template-columns: 1fr; }
  .chapter__head { position: static; }
  .mg-col--offset { padding-top: 64px; }
}

/* ==========================================================================
   Chapter II — Moroccan Caftan (dark)
   ========================================================================== */
.chapter--caftan { background: var(--espresso); color: rgba(246,243,238,.78); }
.chapter--caftan a:not(.btn):not(.link-arrow) { color: var(--champagne); text-underline-offset: 4px; }
.caftan__head { text-align: center; max-width: 640px; margin: 0 auto clamp(64px, 8vw, 112px); }
.caftan__grid {
  display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: start;
  gap: clamp(20px, 4vw, 72px);
}
.cf--side .frame { aspect-ratio: 3 / 4.2; }
.cf--low { margin-top: 180px; }
.cf--arch .arch { aspect-ratio: 3 / 4.5; }
.caftan__foot {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px;
  margin-top: clamp(64px, 8vw, 112px);
}
.caftan__foot .ornament { flex: 0 0 18px; margin: 0 calc(50% - 9px); }
@media (max-width: 760px) {
  .caftan__grid { grid-template-columns: 1fr 1fr; }
  .cf--arch { grid-column: 1 / -1; grid-row: 1; padding: 0 24px; }
  .cf--low { margin-top: 48px; }
}

/* ==========================================================================
   Chapter III — Graduation
   ========================================================================== */
.chapter--grad { background: var(--paper); }
.grad__intro { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.grad__head .display { margin-bottom: 14px; }
.grad__sub { font: italic 300 clamp(20px, 2vw, 26px)/1.3 var(--serif); color: var(--muted); margin: 0; }
.grad__text p:not(.lead) { color: var(--ink-soft); }

.lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.lineup__item:nth-child(even) { margin-top: 56px; }
.lineup .lb__btn { aspect-ratio: 1 / 2; background: var(--sand); }
.lineup__n {
  display: block; margin-top: 14px;
  font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.lineup__hint { display: none; }

@media (max-width: 900px) {
  .grad__intro { grid-template-columns: 1fr; }
  /* Swipeable row; scrolls inside its own box so the page never overflows */
  .lineup {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .lineup::-webkit-scrollbar { display: none; }
  .lineup__item { flex: 0 0 62%; scroll-snap-align: start; }
  .lineup__item:nth-child(even) { margin-top: 0; }
  .lineup__hint {
    display: block; margin: 18px 0 0;
    font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  }
}

/* ==========================================================================
   Lookbook
   ========================================================================== */
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split .display { margin-bottom: 0; }
.section-head--center { text-align: center; }
.section-head__aside { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

.lb-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.5vw, 40px); }
.lb--tall  { grid-column: 1 / 5; }
.lb--wide  { grid-column: 6 / 13; align-self: end; }
.lb--sq    { grid-column: 1 / 6; margin-top: 24px; }
.lb--tall2 { grid-column: 7 / 10; margin-top: 96px; }
.lb--port  { grid-column: 10 / 13; align-self: end; }
.lb__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; overflow: hidden; }
.lb__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lb--tall .lb__btn  { aspect-ratio: 3 / 4.6; }
.lb--wide .lb__btn  { aspect-ratio: 4 / 3; }
.lb--wide .lb__btn img { object-position: 50% 74%; }
.lb--sq .lb__btn    { aspect-ratio: 1; }
.lb--sq .lb__btn img { object-position: 50% 22%; }
.lb--tall2 .lb__btn { aspect-ratio: 3 / 4.2; }
.lb--port .lb__btn  { aspect-ratio: 3 / 4.4; }
.lb__btn:hover img, .lb__btn:focus-visible img { transform: scale(1.03); }
@media (max-width: 900px) {
  .lb-grid { grid-template-columns: repeat(6, 1fr); }
  .lb--tall  { grid-column: 1 / 4; }
  .lb--wide  { grid-column: 4 / 7; align-self: start; margin-top: 64px; }
  .lb--wide .lb__btn { aspect-ratio: 3 / 4; }
  .lb--sq    { grid-column: 1 / 7; margin-top: 0; }
  .lb--tall2 { grid-column: 1 / 4; margin-top: 0; }
  .lb--port  { grid-column: 4 / 7; align-self: start; margin-top: 48px; }
}

/* ==========================================================================
   About me
   ========================================================================== */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.about__media { position: relative; padding-bottom: 80px; }
.about__main { width: 78%; }
.about__main .frame { aspect-ratio: 4 / 5; }
.about__main .frame img { object-position: 50% 30%; }
.about__small { position: absolute; right: 0; bottom: 0; width: 44%; border: 10px solid var(--bone); }
.about__small .frame { aspect-ratio: 3 / 4; }
.about__text p:not(.kicker):not(.signature-line) { color: var(--ink-soft); max-width: 30em; }
.signature-line { font: italic 300 44px/1 var(--serif); margin: 32px 0 16px; }
.about__skills { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 28px 0 0; }
.about__skills li {
  font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  padding: 0 16px; border-left: 1px solid var(--line);
}
.about__skills li:first-child { padding-left: 0; border-left: 0; }
.about__links { display: grid; justify-items: start; gap: 2px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { padding-bottom: 56px; }
}

/* ==========================================================================
   Our Story
   ========================================================================== */
.story { background: var(--paper); }
.story__head { max-width: 760px; margin-left: auto; margin-right: auto; }
.story__intro { font: italic 300 clamp(24px, 2.6vw, 34px)/1.35 var(--serif); color: var(--ink-soft); margin: 0; }
.story__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.story__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.story__img--a { grid-column: 1 / -1; }
.story__img--a .frame { aspect-ratio: 4 / 5; }
.story__img--a .frame img { object-position: 50% 62%; }
.story__img--b { margin-top: 48px; }
.story__img--b .frame, .story__img--c .frame { aspect-ratio: 1; }
.story__img--c .frame img { object-position: 50% 100%; }
.story__text { padding-top: 8px; }
.story__text p { color: var(--ink-soft); max-width: 34em; margin-bottom: 44px; }
.story__chapter {
  display: flex; align-items: baseline; gap: 18px;
  font: 300 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); margin-bottom: 16px;
}
.story__chapter span { font: italic 300 16px/1 var(--serif); color: var(--muted); }
.story__close { margin: clamp(80px, 10vw, 140px) auto 0; max-width: 820px; text-align: center; }
.story__close p { font: 300 clamp(28px, 3.4vw, 48px)/1.25 var(--serif); margin-bottom: 20px; }
.story__close cite { font: italic 300 clamp(22px, 2.2vw, 30px)/1.2 var(--serif); color: var(--muted); }

.facts { margin: 40px 0 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.facts dd { margin: 0; }
.facts a { text-underline-offset: 4px; }
.facts--compact { margin-top: 28px; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   Custom requests
   ========================================================================== */
.custom__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.custom__intro > p:not(.kicker) { color: var(--ink-soft); max-width: 30em; }
.steps { margin: 40px 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.steps span { font: italic 300 18px/1.6 var(--serif); color: var(--muted); }
.steps strong { display: block; font: 400 21px/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }

.measure summary, .faq__list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.measure summary::-webkit-details-marker, .faq__list summary::-webkit-details-marker { display: none; }
.measure summary::after, .faq__list summary::after {
  content: "+"; font: 300 24px/1 var(--serif); transition: transform .35s var(--ease);
}
details[open] > summary::after { transform: rotate(45deg); }
.measure { border-bottom: 1px solid var(--line); }
.measure summary { padding: 18px 0; font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.measure ul { display: grid; gap: 8px; margin-bottom: 14px; color: var(--ink-soft); font-size: 15px; }
.measure strong { font-weight: 500; color: var(--ink); }
.measure p { font-size: 14px; color: var(--muted); }

.request { background: var(--paper); padding: clamp(28px, 4vw, 56px); display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field label { font: 400 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.field .opt { text-transform: none; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(22,18,16,.3); border-radius: 0;
  background: transparent; padding: 10px 0; font-size: 16px; color: var(--ink);
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23161210'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center;
  padding-right: 24px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field [aria-invalid="true"] { border-bottom-color: #8E3B2A; }
.request__error { color: #8E3B2A; font-size: 14px; margin: -8px 0 0; }
.request__result { display: grid; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.request__status { margin: 12px 0 0; font: 400 20px/1.3 var(--serif); }
.request__preview {
  margin: 0; padding: 16px; background: var(--bone); white-space: pre-wrap; word-break: break-word;
  font: 300 14px/1.6 var(--sans); color: var(--ink-soft);
}
.request__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.request__note { font-size: 12.5px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .custom__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   How to order + FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
.order { margin: 8px 0 48px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.order li { display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.order span { font: italic 300 18px/1.6 var(--serif); color: var(--muted); }
.order a { text-underline-offset: 4px; }
.reviews { display: grid; gap: 4px; text-decoration: none; padding: 28px; background: var(--paper); transition: background .4s; }
.reviews .kicker { margin: 0; }
.reviews__t { font: 300 24px/1.3 var(--serif); }
.reviews:hover { background: var(--sand); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { padding: 26px 0; font: 300 clamp(21px, 2vw, 26px)/1.3 var(--serif); }
.faq__list p { color: var(--ink-soft); max-width: 34em; padding-bottom: 12px; }
.faq__list a { text-underline-offset: 4px; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Instagram
   ========================================================================== */
.insta { background: var(--paper); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.insta__grid a { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); position: relative; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.insta__grid a:hover img, .insta__grid a:focus-visible img { transform: scale(1.05); filter: brightness(.92); }
.insta__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: clamp(48px, 6vw, 72px) 0 0; }
@media (max-width: 900px) { .insta__grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--espresso); color: rgba(246,243,238,.72); }
.footer__top { text-align: center; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(56px, 7vw, 96px); color: var(--bone); }
.footer__top .wordmark { display: inline-flex; }
.footer__tag { margin: 28px 0 0; font: italic 300 22px/1.3 var(--serif); color: var(--champagne); }
.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-top: 56px; padding-bottom: 64px; border-top: 1px solid var(--line-light);
}
.footer__h { font: 400 10px/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--champagne); margin-bottom: 20px; }
.footer__col li { margin-bottom: 10px; font-size: 14.5px; }
.footer__col a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.footer__col a:hover, .footer__col a:focus-visible { color: var(--bone); background-size: 100% 1px; }
.footer__base {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-light);
  font-size: 12.5px; color: rgba(246,243,238,.5);
}
.footer__base p { margin: 0; flex: 1; }
.footer__totop { text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: 10.5px; }
.footer__totop:hover { color: var(--bone); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 16, 13, .97); color: var(--bone);
}
.lightbox::backdrop { background: rgba(20, 16, 13, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fade .35s var(--ease); }
.lightbox__fig { display: grid; justify-items: center; gap: 16px; padding: 64px 72px; max-width: 100%; }
.lightbox__img { max-height: calc(100vh - 160px); max-width: min(90vw, 720px); width: auto; object-fit: contain; }
.lightbox__cap { font: italic 300 20px/1.3 var(--serif); color: var(--sand); text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border: 1px solid rgba(246,243,238,.3); border-radius: 50%;
  background: transparent; color: var(--bone); font-size: 26px; line-height: 1; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(246,243,238,.1); border-color: var(--bone); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
@media (max-width: 600px) {
  .lightbox__fig { padding: 72px 16px 96px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Reveal on scroll (only when JS runs)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* Caftan chapter — second row of looks (open in the lightbox) */
.cf-more {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-light);
}
.cf-more__item:nth-child(even) { margin-top: 64px; }
.cf-more .lb__btn { aspect-ratio: 3 / 4; background: var(--espresso-2); }
.cf-more__item:nth-child(4) .lb__btn img { object-position: 50% 28%; }
.cf-more figcaption { margin-top: 14px; font: italic 300 17px/1.3 var(--serif); color: rgba(246,243,238,.6); }
@media (max-width: 760px) {
  .cf-more { grid-template-columns: 1fr 1fr; }
  .cf-more__item:nth-child(even) { margin-top: 40px; }
}

/* ==========================================================================
   Languages — switcher, Arabic typography, right-to-left mirroring
   ========================================================================== */
.i18n-pending body { visibility: hidden; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.nav__links a { white-space: nowrap; }
.nav__links--l .lang-switch { gap: 0; margin-inline-end: 0; padding-inline-end: 14px; border-inline-end: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }
html[lang="fr"] .nav__links { gap: clamp(14px, 1.7vw, 30px); }
html[lang="fr"] .nav__links a { letter-spacing: .18em; }
.lang-switch button {
  background: none; border: 0; cursor: pointer; padding: 8px 6px;
  font: 400 10.5px/1 var(--sans); letter-spacing: .2em; color: inherit;
  opacity: .55; transition: opacity .3s;
}
.lang-switch button[lang="ar"] { font: 400 13px/1 "IBM Plex Sans Arabic", var(--sans); letter-spacing: 0; }
.lang-switch button:hover, .lang-switch button:focus-visible { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.lang-switch--footer { gap: 10px; }
.lang-switch--footer button { letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
@media (max-width: 1240px) {
  .nav__menu .lang-switch { margin: 0 0 18px; padding: 0; border: 0; gap: 10px; }
  .nav__menu .lang-switch button { font-size: 13px; }
  .nav__menu .lang-switch button[lang="ar"] { font-size: 16px; }
}

/* Arabic: Amiri for display, IBM Plex Sans Arabic for text */
html[lang="ar"] {
  --serif: "Amiri", "Cormorant Garamond", serif;
  --sans: "IBM Plex Sans Arabic", "Jost", sans-serif;
}
/* Letter-spacing breaks the joining of Arabic letters */
html[lang="ar"] body * { letter-spacing: 0 !important; }
html[lang="ar"] .lang-switch button:not([lang="ar"]) { letter-spacing: .14em !important; }
html[lang="ar"] body { line-height: 1.95; }
html[lang="ar"] body * { font-style: normal !important; }
html[lang="ar"] .display, html[lang="ar"] .hero__title { line-height: 1.3; }
html[lang="ar"] .hero__title { font-size: clamp(40px, 5.6vw, 84px); }
html[lang="ar"] .statement__text, html[lang="ar"] .story__close p { line-height: 1.6; }
html[lang="ar"] .kicker, html[lang="ar"] .nav__links a, html[lang="ar"] .btn, html[lang="ar"] .link-arrow,
html[lang="ar"] .field label, html[lang="ar"] .pieces li, html[lang="ar"] .about__skills li,
html[lang="ar"] .statement__facts li, html[lang="ar"] .lineup__n, html[lang="ar"] .facts dt,
html[lang="ar"] .footer__h, html[lang="ar"] .measure summary, html[lang="ar"] .coll__tag,
html[lang="ar"] .footer__totop, html[lang="ar"] .lineup__hint { font-size: 13.5px; }
html[lang="ar"] .nav__links a { font-size: 14.5px; }
html[lang="ar"] .wordmark__sub { font-size: 11px; margin-right: 0; }
html[lang="ar"] .mg figcaption, html[lang="ar"] .story__img figcaption, html[lang="ar"] .lb figcaption,
html[lang="ar"] .cf-more figcaption, html[lang="ar"] .lightbox__cap { font-size: 16px; }
@media (max-width: 1240px) { html[lang="ar"] .nav__links a { font-size: 30px; } }

/* Right-to-left mirroring (English and French are unaffected) */
[dir="rtl"] .nav__toggle { margin-left: 0; margin-right: -10px; }
[dir="rtl"] .nav__links a:not(.nav__ig)::after { transform-origin: right; }
[dir="rtl"] .statement__facts li { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .statement__facts li:first-child { border-right: 0; }
[dir="rtl"] .pieces li, [dir="rtl"] .about__skills li { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .pieces li:first-child, [dir="rtl"] .about__skills li:first-child { padding-left: 16px; padding-right: 0; border-right: 0; }
[dir="rtl"] .door__text { left: 24px; right: clamp(24px, 4vw, 56px); }
[dir="rtl"] .about__small { right: auto; left: 0; }
[dir="rtl"] .field select { background-position: left 4px center; padding-right: 0; padding-left: 24px; }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
@media (max-width: 600px) { [dir="rtl"] .statement__facts li { border: 0; } }
