/* Vaanity — "Cover". A fashion-house masthead on near-black, champagne gold,
   Bodoni Moda over Manrope. Layout uses logical properties throughout so the
   Arabic build is a `dir` flip; the one thing mirroring cannot fix is the hero
   photograph, so that gets flipped explicitly (see [dir='rtl'] .cover-img). */

:root {
  --ink: #0b0a09;
  --ink2: #121110;
  --card: #17150f;
  --gold: #d9b36c;
  --gold2: #f0d9a8;
  --goldWash: rgba(217, 179, 108, 0.07);
  --goldLine: rgba(217, 179, 108, 0.3);
  --paper: #f7f2e9;
  --paper2: #cfc7b8;
  --mute: #8e877a;
  --mute2: #6a655c;
  --hair: rgba(247, 242, 233, 0.1);
  --hair2: rgba(247, 242, 233, 0.055);

  --display: 'Bodoni Moda', 'Times New Roman', serif;
  --body: 'Manrope', -apple-system, 'Helvetica Neue', sans-serif;

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[lang='ar'] {
  --display: 'Aref Ruqaa', 'Times New Roman', serif;
  --body: 'IBM Plex Sans Arabic', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

/* `display:grid` on .field would otherwise beat the UA's [hidden] rule, and the
   role toggle would show both sets of fields at once. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.display { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; }
/* Aref Ruqaa at 400 is too fine to hold at heading sizes on a dark ground. */
html[lang='ar'] .display { line-height: 1.5; letter-spacing: 0; font-weight: 700; }

.kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
html[lang='ar'] .kicker { letter-spacing: 0.06em; text-transform: none; font-size: 13px; }

.lead { color: var(--paper2); font-size: clamp(15.5px, 1.4vw, 18px); max-width: 60ch; }

/* ---------------- header ---------------- */

/* Scoped to the site header by id. A bare `header {position:fixed}` also claims
   any other <header> on the page — which is how the /edit/ masthead ended up
   overlapping the lead story. */
#hdr {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 60;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-block-end: 1px solid transparent;
}
#hdr.stuck {
  background: rgba(11, 10, 9, 0.86);
  backdrop-filter: blur(16px);
  border-block-end-color: var(--hair2);
}
#hdr .wrap { display: flex; align-items: center; gap: 30px; height: 70px; }

/* VAANITY is the brand name and stays Latin, left-to-right, in every locale.
   The masthead splits it into one span per letter for the entrance animation —
   those spans are separate inline runs, so an RTL paragraph lays them out
   right-to-left and the wordmark reads YTINAAV. Isolate it. */
.mark, .masthead, .ed-mast { direction: ltr; unicode-bidi: isolate; }

.mark {
  font-family: 'Bodoni Moda', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.36em;
  padding-inline-end: 0.36em;
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.45s var(--ease);
}
#hdr.stuck .mark { opacity: 1; transform: none; }

nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: 13.5px; color: var(--paper2); }
nav a { position: relative; padding-block: 5px; }
nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: var(--o, left);
  transition: transform 0.4s var(--ease);
}
[dir='rtl'] nav a::after { --o: right; }
nav a:hover { color: var(--paper); }
nav a:hover::after { transform: scaleX(1); }

.lang {
  font-size: 12.5px;
  color: var(--paper2);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 14px;
  transition: 0.3s var(--ease);
}
.lang:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
@media (max-width: 900px) { nav { display: none; } .lang { margin-inline-start: auto; } }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.3s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(217, 179, 108, 0.22); }
.btn-ghost { border-color: rgba(247, 242, 233, 0.28); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn .arrow { transition: transform 0.3s var(--ease); }
[dir='rtl'] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
[dir='rtl'] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------------- the cover ---------------- */

/* space-between, not an auto margin: the grid rows are auto-sized, so free space
   belongs to align-content — an auto margin only centres within its own row. */
.cover { position: relative; min-height: 100svh; display: grid; align-content: space-between; isolation: isolate; overflow: hidden; }
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 20%;
  z-index: 1;
  animation: drift 26s ease-in-out infinite alternate;
}
/* In RTL the type moves to the other side but her face does not, so the crop
   shifts to keep the headline clear of it. Shift the frame, never mirror it —
   a mirrored photograph is a different photograph, and a wrong one. */
[dir='rtl'] .cover-img { object-position: 78% 20%; }
@keyframes drift { from { scale: 1; } to { scale: 1.08; } }

.cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(11, 10, 9, 0.78) 0%,
    rgba(11, 10, 9, 0.16) 32%,
    rgba(11, 10, 9, 0.5) 66%,
    rgba(11, 10, 9, 0.96) 100%
  );
}

.masthead {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-block-start: clamp(74px, 11vh, 118px);
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: clamp(50px, 11.5vw, 168px);
  line-height: 0.84;
  letter-spacing: 0.02em;
  color: var(--paper);
  mix-blend-mode: screen;
  pointer-events: none;
}
.masthead span { display: inline-block; opacity: 0; transform: translateY(24px); animation: letterIn 1.1s var(--ease) forwards; }
@keyframes letterIn { to { opacity: 1; transform: none; } }

.issue {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-block-start: 20px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 16px rgba(11, 10, 9, 0.95);
}
html[lang='ar'] .issue { letter-spacing: 0.1em; text-transform: none; font-size: 12.5px; }

.cover-body {
  position: relative;
  z-index: 4;
  padding-block-end: clamp(34px, 6vh, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px 40px;
  align-items: end;
}
@media (max-width: 860px) { .cover-body { grid-template-columns: 1fr; } }

.cover-body h1 { font-size: clamp(30px, 4.6vw, 62px); max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 26px rgba(11, 10, 9, 0.7); }
.cover-body h1 em { font-style: italic; color: var(--gold); }
html[lang='ar'] .cover-body h1 em { font-style: normal; }
.cover-body .lead { margin-block: 20px 0; max-width: 40ch; font-size: 15px; }
.cover-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }

.coverlines { display: grid; gap: 10px; text-align: end; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
html[lang='ar'] .coverlines { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.coverlines span {
  padding-inline-end: 15px;
  border-inline-end: 2px solid var(--gold);
  color: #ede4d2;
  transition: 0.3s var(--ease);
}
.coverlines span:hover { color: var(--gold); padding-inline-end: 22px; }
@media (max-width: 860px) {
  .coverlines { text-align: start; }
  .coverlines span { border-inline-end: 0; border-inline-start: 2px solid var(--gold); padding-inline: 15px 0; }
  .coverlines span:hover { padding-inline-start: 22px; }
}

/* ---------------- marquee divider ---------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hair2);
  padding-block: 16px;
  background: var(--ink2);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee ul {
  display: flex;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  animation: slide 42s linear infinite;
}
[dir='rtl'] .marquee ul { animation-direction: reverse; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee li {
  font-family: var(--display);
  font-size: clamp(19px, 2.2vw, 30px);
  color: var(--mute2);
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee li::after { content: '✦'; font-size: 9px; color: var(--gold); }
.marquee li:hover { color: var(--paper); }

/* ---------------- sections ---------------- */

section { padding-block: clamp(64px, 9vw, 122px); }
.head { max-width: 58ch; }
.head h2 { font-size: clamp(30px, 4.2vw, 54px); margin-block-start: 16px; text-wrap: balance; }
.head .lead { margin-block-start: 20px; }

/* ---------------- services: the interactive index ---------------- */

.sv-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 62px);
  margin-block-start: clamp(38px, 5vw, 62px);
  align-items: start;
}
@media (max-width: 900px) { .sv-grid { grid-template-columns: 1fr; } }

.sv-list { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--hair2); }
.sv-list li { border-block-end: 1px solid var(--hair2); }
.sv-list button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 19px 4px;
  transition: 0.35s var(--ease);
}
.sv-list .num {
  font-family: var(--display);
  font-size: 12px;
  color: var(--mute2);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s;
}
.sv-list .nm { font-family: var(--display); font-size: clamp(20px, 2.3vw, 29px); color: var(--paper2); transition: color 0.35s var(--ease); }
.sv-list .ln { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute2); transition: color 0.35s; }
html[lang='ar'] .sv-list .ln { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.sv-list button:hover .nm { color: var(--paper); }
.sv-list button:hover { padding-inline-start: 12px; }
.sv-list li.on button { padding-inline-start: 12px; }
.sv-list li.on .nm { color: var(--gold); }
.sv-list li.on .num, .sv-list li.on .ln { color: var(--gold); }
.sv-list li.on { box-shadow: inset 3px 0 0 var(--gold); }
[dir='rtl'] .sv-list li.on { box-shadow: inset -3px 0 0 var(--gold); }

.sv-panel { position: relative; }
.sv-shot {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid var(--hair2);
  background: var(--ink2);
}
.sv-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}
.sv-shot img.on { opacity: 1; transform: none; }
.sv-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 10, 9, 0.85));
  pointer-events: none;
}
.sv-shot .cap {
  position: absolute;
  z-index: 2;
  inset-block-end: 16px;
  inset-inline-start: 18px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
html[lang='ar'] .sv-shot .cap { letter-spacing: 0; text-transform: none; font-size: 12.5px; }

.sv-copy { padding-block-start: 26px; }
.sv-copy h3 { font-family: var(--display); font-size: clamp(25px, 3vw, 38px); text-wrap: balance; }
.sv-copy p { color: var(--paper2); margin-block: 16px 0; max-width: 52ch; font-size: 15.5px; }
.sv-give {
  margin-block-start: 24px;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--goldLine);
  font-size: 12.5px;
  color: var(--mute);
}
.sv-give b { display: block; margin-block-start: 5px; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--paper); }
.sv-fade { animation: fadeUp 0.55s var(--ease); }
/* The `to` frame is not optional here: .rise sets opacity:0, so without it the
   animation interpolates 0 -> 0 and the element never appears. */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------- the colour method ---------------- */

#colour { background: var(--ink2); border-block-start: 1px solid var(--hair2); }
.cl-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 58px);
  margin-block: clamp(34px, 4vw, 54px) 26px;
  align-items: start;
}
@media (max-width: 900px) { .cl-grid { grid-template-columns: 1fr; } }

.cl-fams { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-fams button, .cl-subs button {
  font: inherit;
  font-size: 13.5px;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--paper2);
  cursor: pointer;
  transition: 0.3s var(--ease);
}
.cl-fams button:hover, .cl-subs button:hover { border-color: var(--gold); color: var(--gold); }
.cl-fams button.on { background: var(--paper); border-color: var(--paper); color: var(--ink); font-weight: 600; }
.cl-famnote { margin: 14px 0 0; font-size: 13.5px; color: var(--mute); }
.cl-subs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 20px; }
.cl-subs button { font-size: 13px; padding: 8px 15px; }
.cl-subs button.on { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }

.cl-axes { display: grid; gap: 20px; margin-block-start: 34px; }
.cl-axlab { display: flex; align-items: baseline; gap: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
html[lang='ar'] .cl-axlab { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.cl-axlab span { color: var(--paper2); }
.cl-axlab i { font-style: normal; color: var(--mute2); font-size: 10px; }
.cl-axlab i:nth-of-type(1) { margin-inline-start: auto; }
.cl-axlab i:nth-of-type(2) { }
.cl-axlab i:nth-of-type(1)::after { content: '\00a0\2192\00a0'; }
[dir='rtl'] .cl-axlab i:nth-of-type(1)::after { content: '\00a0\2190\00a0'; }
.cl-track { position: relative; height: 2px; margin-block-start: 9px; background: var(--hair); }
.cl-dot {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(var(--v, 0.5) * 100%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: inset-inline-start 0.65s var(--ease);
  box-shadow: 0 0 0 4px var(--goldWash);
}
[dir='rtl'] .cl-dot { transform: translate(50%, -50%); }

.cl-card { border: 1px solid var(--hair2); background: var(--ink); padding: clamp(22px, 3vw, 34px); }
.cl-name { font-size: clamp(28px, 3.4vw, 42px); }
.cl-line { margin: 12px 0 0; color: var(--paper2); font-size: 15px; max-width: 46ch; }
.cl-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-block-start: 24px; }
@media (max-width: 460px) { .cl-chips { grid-template-columns: repeat(4, 1fr); } }
.cl-chips i {
  display: block;
  aspect-ratio: 1;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(247, 242, 233, 0.14);
  animation: chipIn 0.5s var(--ease) backwards;
}
.cl-chips i:nth-child(n) { animation-delay: calc(var(--n, 0) * 0.02s); }
@keyframes chipIn { from { opacity: 0; transform: scale(0.85); } }
.cl-sig { display: flex; align-items: center; gap: 12px; margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--goldLine); font-size: 12px; color: var(--mute); }
.cl-sig b { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--paper); }
.cl-sigchip { width: 26px; height: 26px; border-radius: 50%; margin-inline-start: auto; box-shadow: inset 0 0 0 1px rgba(247, 242, 233, 0.2); transition: background 0.5s var(--ease); }

/* ---------------- the silhouette method ---------------- */

#silhouette { border-block-start: 1px solid var(--hair2); }
.si-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: clamp(30px, 4vw, 46px); }
.si-tabs button {
  font: inherit;
  text-align: start;
  display: grid;
  gap: 3px;
  padding: 15px 22px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--paper2);
  cursor: pointer;
  transition: 0.3s var(--ease);
  flex: 1 1 190px;
}
.si-tabs button:hover { border-color: var(--gold); }
.si-tabs button.on { border-color: var(--gold); background: var(--goldWash); }
.si-t { font-family: var(--display); font-size: 22px; color: var(--paper); }
.si-s { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
html[lang='ar'] .si-s { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.si-note { margin: 22px 0 0; color: var(--paper2); font-size: 15px; max-width: 68ch; }
.si-panel { margin-block-start: clamp(28px, 3vw, 40px); }

.si-shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair2); border: 1px solid var(--hair2); }
@media (max-width: 860px) { .si-shapes { grid-template-columns: repeat(2, 1fr); } }
.si-shape { background: var(--ink); padding: 24px 20px 26px; display: grid; gap: 8px; justify-items: start; transition: background 0.35s; }
.si-shape:hover { background: var(--ink2); }
.si-shape b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.si-shape span:last-child { font-size: 13px; color: var(--mute); }
.si-glyph { width: 34px; height: 56px; background: var(--gold); opacity: 0.85; margin-block-end: 6px; }
.si-hourglass { clip-path: polygon(20% 0, 80% 0, 62% 48%, 82% 100%, 18% 100%, 38% 48%); }
.si-top-hourglass { clip-path: polygon(10% 0, 90% 0, 62% 48%, 78% 100%, 22% 100%, 38% 48%); }
.si-bottom-hourglass { clip-path: polygon(22% 0, 78% 0, 62% 48%, 90% 100%, 10% 100%, 38% 48%); }
.si-spoon { clip-path: polygon(26% 0, 74% 0, 64% 44%, 94% 64%, 88% 100%, 12% 100%, 6% 64%, 36% 44%); }
.si-triangle { clip-path: polygon(30% 0, 70% 0, 92% 100%, 8% 100%); }
.si-inverted { clip-path: polygon(6% 0, 94% 0, 70% 100%, 30% 100%); }
.si-rectangle { clip-path: polygon(22% 0, 78% 0, 78% 100%, 22% 100%); }
.si-diamond { clip-path: polygon(30% 0, 70% 0, 94% 50%, 74% 100%, 26% 100%, 6% 50%); }

.si-ends { display: flex; justify-content: space-between; gap: 20px; font-size: 11.5px; color: var(--mute); margin-block-end: 26px; }
.si-line { position: relative; padding-block: 6px 0; display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; align-items: start; }
@media (max-width: 900px) { .si-line { grid-template-columns: repeat(4, 1fr); row-gap: 22px; } .si-rail { display: none; } }
.si-rail { position: absolute; inset-inline: 0; inset-block-start: 5px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--hair)); }
[dir='rtl'] .si-rail { background: linear-gradient(270deg, var(--gold), var(--hair)); }
.si-node { display: grid; gap: 12px; justify-items: center; text-align: center; }
.si-node i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); opacity: calc(0.35 + var(--p) * 0.65); }
.si-node b { font-family: var(--display); font-weight: 400; font-size: 13px; color: var(--paper2); line-height: 1.3; }

.si-ess { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair2); border: 1px solid var(--hair2); }
@media (max-width: 860px) { .si-ess { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .si-ess { grid-template-columns: 1fr; } }
.si-e { background: var(--ink); padding: 24px 20px; display: grid; gap: 8px; transition: background 0.35s; }
.si-e:hover { background: var(--ink2); }
.si-e b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.si-e span { font-size: 13.5px; color: var(--mute); }

/* ---------------- the edit: a newsstand of covers ---------------- */

#edit { border-block-start: 1px solid var(--hair2); padding-block-end: clamp(48px, 6vw, 80px); }
.ed-head { display: flex; gap: 30px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.ed-nav { display: flex; gap: 10px; }
.ed-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--paper2);
  font-size: 17px;
  cursor: pointer;
  transition: 0.3s var(--ease);
}
.ed-arrow:hover { border-color: var(--gold); color: var(--gold); }
.ed-arrow:disabled { opacity: 0.3; cursor: default; }

.ed-rail {
  display: flex;
  gap: 16px;
  margin-block-start: clamp(30px, 4vw, 46px);
  padding-inline: var(--gut);
  padding-block: 4px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ed-rail::-webkit-scrollbar { display: none; }

.ed-card {
  position: relative;
  flex: 0 0 clamp(240px, 27vw, 330px);
  aspect-ratio: 3 / 4.2;
  scroll-snap-align: center;
  overflow: hidden;
  border: 1px solid var(--hair2);
  isolation: isolate;
  display: block;
  transition: 0.5s var(--ease);
}
.ed-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: scale 1.1s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.86);
}
.ed-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0.05) 34%, rgba(11, 10, 9, 0.9) 100%);
}
.ed-card:hover { border-color: var(--goldLine); }
.ed-card:hover img { scale: 1.06; filter: saturate(1); }

.ed-mast {
  position: absolute;
  z-index: 2;
  inset-block-start: 16px;
  inset-inline: 0;
  text-align: center;
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.42em;
  padding-inline-start: 0.42em;
  text-transform: uppercase;
  color: var(--paper);
  mix-blend-mode: screen;
}
.ed-no {
  position: absolute;
  z-index: 2;
  inset-block-start: 40px;
  inset-inline: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.ed-body { position: absolute; z-index: 2; inset-block-end: 0; inset-inline: 0; padding: 20px 20px 22px; display: grid; gap: 9px; }
.ed-title { font-family: var(--display); font-size: clamp(21px, 2.2vw, 27px); line-height: 1.1; color: var(--paper); }
.ed-blurb { font-size: 13px; line-height: 1.6; color: var(--paper2); }
.ed-open {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 3px;
}
html[lang='ar'] .ed-open { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
[dir='rtl'] .ed-open .arrow { transform: scaleX(-1); }
.ed-card:hover .ed-open .arrow { transform: translateX(4px); }
[dir='rtl'] .ed-card:hover .ed-open .arrow { transform: scaleX(-1) translateX(4px); }

.ed-dots { display: flex; gap: 7px; justify-content: center; margin-block-start: 22px; }
.ed-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute2); transition: 0.3s; }
.ed-dots i.on { background: var(--gold); width: 20px; border-radius: 3px; }

/* ---------------- press (only rendered once coverage is real) ---------------- */

#press { border-block-start: 1px solid var(--hair2); }
.pr-rail { display: grid; gap: 16px; margin-block-start: clamp(30px, 4vw, 46px); }
.pr-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--hair2);
  padding: 30px;
}
@media (max-width: 780px) { .pr-card { grid-template-columns: 1fr; } }
.pr-outlet { font-family: var(--display); font-size: 26px; letter-spacing: 0.08em; }
.pr-card blockquote { margin: 14px 0 0; font-family: var(--display); font-size: 22px; line-height: 1.34; color: var(--paper); }
.pr-card a { display: inline-flex; gap: 8px; margin-block-start: 18px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pr-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------------- deliverables ---------------- */

#deliver { background: var(--ink2); border-block: 1px solid var(--hair2); }
.dv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-block-start: clamp(34px, 4vw, 54px); }
@media (max-width: 900px) { .dv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dv-grid { grid-template-columns: 1fr; } }
.dv {
  border: 1px solid var(--hair2);
  padding: 26px 22px 30px;
  background: var(--ink);
  transition: 0.4s var(--ease);
}
.dv:hover { border-color: var(--goldLine); transform: translateY(-4px); background: linear-gradient(170deg, var(--goldWash), var(--ink) 60%); }
.dv h3 { font-family: var(--display); font-size: 24px; margin-block-start: 20px; }
.dv p { color: var(--mute); font-size: 14px; margin-block: 12px 0; }
.dv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dv .ix { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); font-variant-numeric: tabular-nums; }
.dv-i { width: 30px; height: 30px; color: var(--gold); opacity: 0.9; transition: 0.45s var(--ease); }
.dv:hover .dv-i { opacity: 1; transform: translateY(-2px); }

/* ---------------- how ---------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair2); border: 1px solid var(--hair2); margin-block-start: clamp(34px, 4vw, 54px); }
@media (max-width: 840px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ink); padding: clamp(24px, 3vw, 40px); transition: background 0.4s; }
.step:hover { background: var(--ink2); }
.step .n { font-family: var(--display); font-size: 14px; color: var(--gold); }
.step h3 { font-family: var(--display); font-size: 23px; margin-block: 20px 10px; }
.step p { margin: 0; color: var(--mute); font-size: 15px; }

/* ---------------- pros ---------------- */

#pros { border-block-start: 1px solid var(--hair2); }
#pros .wrap { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(30px, 5vw, 66px); }
@media (max-width: 940px) { #pros .wrap { grid-template-columns: 1fr; } }
#pros .btn { margin-block-start: 28px; }
.perks { display: grid; }
.perk { padding: 22px 0; border-block-end: 1px solid var(--hair2); display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.perk:first-child { border-block-start: 1px solid var(--hair2); }
.perk .bar { width: 2px; background: var(--gold); opacity: 0.6; }
.perk h3 { font-size: 17px; font-weight: 600; font-family: var(--body); }
.perk p { margin: 6px 0 0; color: var(--mute); font-size: 15px; }

/* ---------------- form ---------------- */

#join { background: var(--ink2); border-block-start: 1px solid var(--hair2); }
#join .wrap { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(30px, 5vw, 66px); align-items: start; }
@media (max-width: 940px) { #join .wrap { grid-template-columns: 1fr; } }

.roles { display: inline-flex; padding: 4px; gap: 4px; background: var(--ink); border: 1px solid var(--hair); border-radius: 999px; margin-block-end: 22px; flex-wrap: wrap; }
.roles button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 19px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--paper2);
  transition: 0.3s var(--ease);
}
.roles button[aria-selected='true'] { background: var(--gold); color: var(--ink); font-weight: 600; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
html[lang='ar'] .field label { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.field label span { text-transform: none; letter-spacing: 0; color: var(--mute2); }
.field input, .field select {
  font: inherit;
  font-size: 15px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 13px 15px;
  width: 100%;
  transition: 0.25s;
  appearance: none;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--goldWash); }
.field input::placeholder { color: var(--mute2); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-block-start: 6px; }
.privacy { font-size: 12.5px; color: var(--mute2); max-width: 40ch; }
.msg { grid-column: 1 / -1; font-size: 15px; padding: 14px 18px; border-radius: 2px; display: none; }
.msg.on { display: block; }
.msg.ok { color: var(--gold); background: var(--goldWash); border: 1px solid var(--goldLine); }
.msg.bad { color: #ffb4a8; background: rgba(255, 120, 100, 0.07); border: 1px solid rgba(255, 120, 100, 0.28); }

/* ---------------- article pages (/edit/<slug>/) ---------------- */

.art { padding-block-start: 70px; }
.art-head { padding-block: clamp(40px, 6vw, 74px) clamp(26px, 3vw, 38px); max-width: 900px; }
.art-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-block-end: 30px;
  transition: color 0.3s;
}
html[lang='ar'] .art-back { letter-spacing: 0; text-transform: none; font-size: 13px; }
.art-back:hover { color: var(--gold); }
[dir='rtl'] .art-back .arrow { transform: scaleX(-1); }
.art-head h1 { font-size: clamp(32px, 5vw, 62px); margin-block-start: 16px; text-wrap: balance; }
.art-stand { margin-block: 24px 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--paper2); max-width: 46ch; }
.art-meta { margin-block-start: 22px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute2); }
html[lang='ar'] .art-meta { letter-spacing: 0; text-transform: none; font-size: 13px; }

/* Side figures: the prose wraps around them. Rounded, capped in height, and
   never full-bleed — a fixed-height full-width band crops whatever the
   photographer actually framed, which on a portrait is the head. */
.art-side {
  margin: 6px 0 22px;
  inline-size: min(46%, 380px);
  border-radius: 14px;
  overflow: hidden;
}
.art-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.art-side figcaption {
  padding: 12px 2px 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mute);
}
.art-end { float: inline-end; margin-inline-start: 34px; }
.art-start { float: inline-start; margin-inline-end: 34px; }
@media (max-width: 720px) {
  .art-side { float: none; inline-size: 100%; margin-inline: 0; margin-block: 26px; }
}

/* The analysis block clears the float and runs full width. */
.art-an {
  clear: both;
  margin-block: 42px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--hair2);
  background: var(--ink2);
  border-radius: 4px;
}
.art-an .kicker { margin: 0; }
.art-an-intro { margin: 14px 0 22px !important; font-size: 15.5px !important; color: var(--paper2); }
.art-an-foot { margin: 20px 0 0 !important; font-size: 14px !important; color: var(--mute) !important; }

.art-tb-wrap, .art-sw-wrap { overflow-x: auto; }
.art-tb, .art-sw { width: 100%; border-collapse: collapse; font-size: 14px; text-align: start; }
.art-tb th, .art-tb td, .art-sw th, .art-sw td { padding: 12px 14px; border-block-end: 1px solid var(--hair2); vertical-align: top; text-align: start; }
.art-tb thead th, .art-sw thead th {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
html[lang='ar'] .art-tb thead th, html[lang='ar'] .art-sw thead th { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.art-tb tbody th { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--paper); white-space: nowrap; }
.art-tb tbody td { color: var(--paper2); }
.art-tb tbody tr:last-child th, .art-tb tbody tr:last-child td,
.art-sw tbody tr:last-child th, .art-sw tbody tr:last-child td { border-block-end: 0; }

.art-sw tbody th { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--paper); min-inline-size: 15ch; }
.art-sw tbody th span { display: block; margin-block-start: 5px; font-family: var(--body); font-size: 12.5px; color: var(--mute); white-space: normal; }
.art-sw td i { display: block; inline-size: 100%; min-inline-size: 54px; aspect-ratio: 3 / 2; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(247, 242, 233, 0.16); }

.art-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 30px;
  align-items: center;
  justify-content: space-between;
  margin-block-start: clamp(48px, 6vw, 76px);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--goldLine);
  background: linear-gradient(150deg, var(--goldWash), transparent 70%);
}
.art-cta h2 { font-size: clamp(24px, 2.6vw, 32px); margin-block: 12px 10px; }
.art-cta p:last-of-type { margin: 0; color: var(--mute); font-size: 14.5px; max-width: 46ch; }

.art-more { padding-block: clamp(56px, 7vw, 88px) clamp(20px, 3vw, 34px); }
.art-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: 22px; }
@media (max-width: 860px) { .art-more-grid { grid-template-columns: 1fr; } }
.art-more-grid .ed-card { flex: none; width: 100%; }

/* ---------------- footer ---------------- */

footer { border-block-start: 1px solid var(--hair2); padding-block: 44px 56px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; font-size: 13px; color: var(--mute2); }
footer .mark { font-size: 17px; color: var(--paper); opacity: 1; transform: none; }
footer .sep { margin-inline-start: auto; display: flex; gap: 22px; }
footer a:hover { color: var(--gold); }

/* ---------------- entrances ---------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.rise { opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise, .masthead span, .sv-shot img.on { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- the edit index (/edit/) ---------------- */

.ed-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: center;
  margin-inline-end: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s;
}
html[lang='ar'] .ed-all { letter-spacing: 0; text-transform: none; font-size: 13px; }
.ed-all:hover { color: var(--gold); }
[dir='rtl'] .ed-all .arrow { transform: scaleX(-1); }

.ix { padding-block-start: 70px; }

/* Masthead: the title and the standfirst sit on opposite sides of a rule, the
   way a contents page does, rather than stacking in one narrow column. */
.ix-hero { padding-block: clamp(40px, 6vw, 74px) clamp(30px, 4vw, 46px); }
.ix-mast {
  display: flex;
  align-items: baseline;
  gap: 20px 40px;
  flex-wrap: wrap;
  margin-block-start: 30px;
  padding-block-end: 22px;
  border-block-end: 1px solid var(--hair);
}
.ix-mast h1 { font-size: clamp(46px, 9vw, 118px); line-height: 0.9; }
.ix-meta {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  margin-inline-start: auto;
  display: flex;
  gap: 22px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
html[lang='ar'] .ix-meta { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.ix-meta li { position: relative; }
.ix-meta li + li::before { content: '·'; position: absolute; inset-inline-start: -13px; color: var(--gold); }
.ix-lead-copy { margin: 22px 0 0; max-width: 62ch; font-size: clamp(15.5px, 1.5vw, 18px); color: var(--paper2); }

/* The lead issue gets the space a lead deserves; the rest share a grid. */
.ix-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(26px, 3vw, 40px) clamp(40px, 5vw, 64px);
}
@media (max-width: 900px) { .ix-feature { grid-template-columns: 1fr; } }
.ix-feature-shot { position: relative; display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--hair2); }
.ix-feature-shot img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(0.9); transition: scale 1.2s var(--ease), filter 0.6s; }
.ix-feature:hover .ix-feature-shot img { scale: 1.04; filter: saturate(1); }
.ix-feature-shot::after {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(11, 10, 9, 0.55), transparent);
  pointer-events: none;
}
.ix-fno {
  z-index: 2;
  position: absolute;
  inset-block-start: 18px;
  inset-inline-start: 20px;
  font-family: 'Bodoni Moda', serif;
  font-size: 46px;
  line-height: 1;
  color: var(--paper);
  mix-blend-mode: screen;
  direction: ltr;
}
.ix-feature-copy h2 { font-size: clamp(28px, 3.8vw, 50px); line-height: 1.06; margin-block: 18px 0; text-wrap: balance; }
.ix-feature-copy h2 a { transition: color 0.3s; }
.ix-feature:hover h2 a { color: var(--gold); }
.ix-feature-copy .ix-stand { margin-block: 18px 26px; font-size: 16px; max-width: 46ch; }
.ix-feature-copy .btn { margin-inline-end: 18px; }
.ix-feature-copy .ix-read { color: var(--mute); }

.ix-rule { display: flex; align-items: center; gap: 18px; padding-block-end: 26px; }
.ix-rule i { flex: 1; height: 1px; background: var(--hair); }
.ix-rule .kicker { margin: 0; }
.ix-count { font-family: var(--display); font-size: 15px; color: var(--mute2); font-variant-numeric: tabular-nums; }

.ix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 42px);
  padding-block-end: clamp(40px, 5vw, 64px);
}
@media (max-width: 980px) { .ix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ix-grid { grid-template-columns: 1fr; } }
/* A slight stagger so six cards read as a spread, not a table. */
@media (min-width: 981px) {
  .ix-grid .ix-card:nth-child(2) { margin-block-start: 34px; }
  .ix-grid .ix-card:nth-child(3) { margin-block-start: 68px; }
  .ix-grid .ix-card:nth-child(5) { margin-block-start: 34px; }
}

.ix-card { display: grid; gap: 12px; align-content: start; }
.ix-shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair2); }
.ix-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale 1s var(--ease), filter 0.5s; filter: saturate(0.86); }
.ix-card:hover .ix-shot img { scale: 1.05; filter: saturate(1); }
.ix-no {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-block-start: 6px;
}
html[lang='ar'] .ix-no { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.ix-no b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--gold); direction: ltr; }
.ix-title { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.14; text-wrap: balance; transition: color 0.3s; }
.ix-card:hover .ix-title { color: var(--gold); }
.ix-stand { font-size: 14.5px; color: var(--mute); }
.ix-read { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper2); display: inline-flex; gap: 8px; align-items: center; }
html[lang='ar'] .ix-read { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
[dir='rtl'] .ix-read .arrow { transform: scaleX(-1); }
.ix-card:hover .ix-read { color: var(--gold); }

.ix-cta { margin-block: 0 clamp(56px, 7vw, 88px); }
.ix-cta h2 { font-size: clamp(22px, 2.4vw, 30px); margin-block-start: 12px; max-width: 22ch; }

/* ---------------- the process block ---------------- */

.art-proc {
  clear: both;
  margin-block: 42px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--goldLine);
  border-radius: 4px;
  background: linear-gradient(160deg, var(--goldWash), transparent 60%);
}
.art-proc .kicker { margin: 0; }
.proc-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.proc-list li {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 4px 22px;
  padding-block: 16px;
  border-block-start: 1px solid var(--hair2);
}
.proc-list li:first-child { border-block-start: 0; padding-block-start: 0; }
@media (max-width: 620px) { .proc-list li { grid-template-columns: 1fr; gap: 4px; } }
.proc-when {
  grid-row: span 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-block-start: 4px;
  font-variant-numeric: tabular-nums;
}
html[lang='ar'] .proc-when { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
@media (max-width: 620px) { .proc-when { grid-row: auto; } }
.proc-what { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--paper); }
.proc-detail { font-size: 14.5px; line-height: 1.7; color: var(--paper2); }

/* ---------------- the illustrative scenario ---------------- */

.art-scn {
  clear: both;
  margin-block: 40px 0;
  padding: clamp(22px, 3vw, 30px);
  border-inline-start: 2px solid var(--gold);
  background: var(--ink2);
}
.scn-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}
html[lang='ar'] .scn-tag { letter-spacing: 0; text-transform: none; font-size: 12px; }
.art-scn blockquote {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.42;
  color: var(--paper);
}
.scn-note { margin: 16px 0 0 !important; font-size: 12.5px !important; color: var(--mute2) !important; }

/* The garment grid — same full-width, float-clearing frame as .art-an. */
.art-gm {
  clear: both;
  margin-block: 42px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--hair2);
  background: var(--ink2);
  border-radius: 4px;
}
.art-gm .kicker { margin: 0; }
.art-gm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
@media (max-width: 760px) { .art-gm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .art-gm-grid { grid-template-columns: 1fr; } }
.art-gm-grid article { display: grid; gap: 8px; align-content: start; }
.art-gm-shot { display: block; border-radius: 3px; overflow: hidden; border: 1px solid var(--hair2); }
.art-gm-shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.88); transition: scale 1s var(--ease), filter 0.5s; }
.art-gm-grid article:hover .art-gm-shot img { scale: 1.05; filter: saturate(1); }
.art-gm-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-start: 4px;
}
html[lang='ar'] .art-gm-tag { letter-spacing: 0; text-transform: none; font-size: 12px; }
.art-gm-grid h3 { font-size: clamp(17px, 1.7vw, 21px); margin: 0; }
.art-gm-grid p { margin: 0 !important; font-size: 13.5px !important; line-height: 1.6; color: var(--mute) !important; }
