/* msajjal.com — Art Deco, "mineral": limestone, verdigris, wrought iron, brass hairlines.
 * The design is the Paper file "Msajjal", page "Landing page · Art Deco" (EN/AR × 1440/390).
 * Layout switches at 1024px (the repo's `lg`): below it, one column. Logical properties
 * throughout, so the Arabic page mirrors from `dir="rtl"` alone. */

:root {
  --stone: #efeae0;
  --iron: #14171a;
  --ink-2: #2c3236;
  --muted: #3a4044;
  --faint: #4a5054;
  --verdigris: #17695f;
  --patina: #0c3b36;
  --pale: #dce7e2;
  --brass: #a8843c;
  --brass-hi: #c9a45a;
  --mint: #9fd3c7;
  --on-dark: #d5dde0;
  --white: #fff;

  --display: "Bodoni Moda", Didot, "Times New Roman", serif;
  --label: "Josefin Sans", "Futura", system-ui, sans-serif;
  --body: "Readex Pro", system-ui, sans-serif;

  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 80px; } }

:lang(ar) {
  --display: "Aref Ruqaa", "Readex Pro", serif;
  --label: "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--stone);
  color: var(--iron);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--faint); }
.small { font-size: 14px; line-height: 1.45; }
.center { text-align: center; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--iron); color: var(--stone); padding: 10px 14px; z-index: 20; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 3px; }

/* ---- type ---------------------------------------------------------------- */
.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
.display em { font-style: italic; color: var(--verdigris); }
:lang(ar) .display { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
:lang(ar) .display em { font-style: normal; }

.eyebrow {
  font: 600 12px/1.5 var(--label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--verdigris);
}
@media (min-width: 1024px) { .eyebrow { font-size: 14px; letter-spacing: 0.32em; } }
:lang(ar) .eyebrow { font-size: 15px; letter-spacing: 0; font-weight: 500; }
.eyebrow.ruled { display: flex; align-items: center; justify-content: center; gap: 16px; }
.eyebrow.ruled::before, .eyebrow.ruled::after { content: ""; flex: 0 0 28px; height: 1px; background: var(--brass); }
@media (min-width: 1024px) { .eyebrow.ruled::before, .eyebrow.ruled::after { flex-basis: 56px; } }

.lede { font-size: 17px; line-height: 1.65; color: var(--muted); }
@media (min-width: 1024px) { .lede { font-size: 19px; } }

.h2 { font-size: clamp(42px, 6vw, 76px); }
.h3 { font-size: 28px; line-height: 1.2; }
@media (min-width: 1024px) { .h3 { font-size: 34px; } }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px 15px;
  font: 600 14px/20px var(--label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
:lang(ar) .btn { letter-spacing: 0; font-size: 16px; padding: 16px 32px; }
.btn-lg { padding: 21px 40px 18px; font-size: 15px; }
.btn-accent { background: var(--verdigris); color: var(--white); }
.btn-accent:hover { background: var(--patina); }
.btn-dark { background: var(--iron); color: var(--stone); }
.btn-dark:hover { background: var(--verdigris); }
.btn-line { border-color: var(--iron); color: var(--iron); }
.btn-line:hover { background: var(--iron); color: var(--stone); }
.btn-block { display: flex; width: 100%; }
.btn .wa { width: 18px; height: 18px; margin-top: -3px; }
:lang(ar) .btn .wa { margin-top: 0; }

/* ---- nav ----------------------------------------------------------------- */
.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--brass);
}
@media (min-width: 1024px) { .nav { padding-block: 26px; } }
.brand, .brand-small { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-latin { font: 600 16px/1 var(--label); letter-spacing: 0.28em; padding-top: 3px; }
@media (min-width: 1024px) { .brand-latin { font-size: 19px; } .brand .mark { width: 40px; height: 40px; } }
.rule-v { width: 1px; height: 18px; background: var(--brass); }
.brand-ar { font: 500 19px/1 "Readex Pro", sans-serif; }
.brand .rule-v, .brand .brand-ar { display: none; }
@media (min-width: 640px) { .brand .rule-v, .brand .brand-ar { display: inline-block; } }
.nav-links { display: none; gap: 40px; }
.nav-links a, .menu-panel a:not(.btn) { font: 500 14px/20px var(--label); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
:lang(ar) .nav-links a, :lang(ar) .menu-panel a:not(.btn) { letter-spacing: 0; font-size: 16px; }
.nav-links a:hover { color: var(--verdigris); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang { font: 500 15px/20px var(--body); text-decoration: none; }
.lang:lang(en) { font: 600 13px/20px var(--label); letter-spacing: 0.18em; text-transform: uppercase; }
.nav-cta { display: none; padding: 14px 24px 11px; }
:lang(ar) .nav-cta { padding: 12px 24px; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu { display: none; }
}
.menu summary { list-style: none; cursor: pointer; padding: 6px; margin: -6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 24px; height: 24px; fill: none; stroke: var(--iron); stroke-width: 1.6; stroke-linecap: round; }
.menu-panel {
  position: absolute; inset-inline: 0; top: 100%;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: var(--stone);
  border-bottom: 1px solid var(--brass);
}
.menu-panel a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(20, 23, 26, 0.12); }
.menu-panel .btn { margin-top: 16px; }

/* ---- hero ---------------------------------------------------------------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px var(--gutter) 40px; }
@media (min-width: 1024px) { .hero { padding-block: 88px 64px; } }
.hero-title { font-size: clamp(50px, 8.6vw, 104px); max-width: 1100px; margin-top: 24px; }
:lang(ar) .hero-title { font-size: clamp(56px, 8.4vw, 116px); line-height: 1.25; margin-top: 16px; }
.hero-sub { max-width: 640px; margin-top: 24px; }
@media (min-width: 1024px) { .hero-sub { font-size: 20px; margin-top: 32px; } }
.ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 32px; }
@media (min-width: 640px) { .ctas { flex-direction: row; justify-content: center; width: auto; gap: 16px; margin-top: 40px; } }
.footnote { font-size: 14px; color: var(--faint); margin-top: 18px; }

/* ---- the arch scene ------------------------------------------------------ */
.scene-wrap { padding-inline: var(--gutter); }
.scene {
  --aw: 360px; --ah: 560px;
  position: relative;
  max-width: 1280px; height: 600px;
  margin-inline: auto;
  overflow: hidden;
  border-bottom: 1px solid var(--brass);
  margin-inline: calc(var(--gutter) * -1);
}
@media (min-width: 640px) { .scene { margin-inline: auto; } }
@media (min-width: 1024px) { .scene { --aw: 680px; --ah: 580px; height: 640px; } }
.sunburst { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--brass); stroke-width: 1; opacity: 0.55; }
.sunburst line { stroke-dasharray: 1100; stroke-dashoffset: 0; }
.js .sunburst line { stroke-dashoffset: 1100; transition: stroke-dashoffset 2.2s var(--ease); }
.js .scene.in .sunburst line { stroke-dashoffset: 0; }
.arch { position: absolute; bottom: 0; left: 50%; translate: -50% 0; border-radius: 9999px 9999px 0 0; }
.arch-1 { width: var(--aw); height: var(--ah); background: var(--stone); border: 1px solid var(--brass); border-bottom: 0; }
.arch-2 { width: calc(var(--aw) - 30px); height: calc(var(--ah) - 16px); background: var(--pale); }
.arch-3 { width: calc(var(--aw) - 66px); height: calc(var(--ah) - 36px); background: var(--verdigris); }
@media (min-width: 1024px) {
  .arch-2 { width: calc(var(--aw) - 60px); height: calc(var(--ah) - 30px); }
  .arch-3 { width: calc(var(--aw) - 140px); height: calc(var(--ah) - 70px); }
}

.phone {
  position: absolute; left: 50%; bottom: -60px; translate: -50% 0;
  width: 270px; height: 520px;
  background: var(--iron); border-radius: 42px 42px 0 0; padding: 10px 10px 0;
}
@media (min-width: 1024px) { .phone { width: 320px; height: 560px; bottom: -120px; border-radius: 44px 44px 0 0; } }
.screen {
  height: 100%; background: var(--white); border-radius: 33px 33px 0 0;
  padding: 22px 15px 0; display: flex; flex-direction: column; gap: 14px;
  font: 400 13px/18px var(--body); overflow: hidden; text-align: start;
}
.shop-head { display: flex; align-items: center; gap: 10px; }
.shop-av { width: 40px; height: 40px; border-radius: 12px; background: var(--verdigris); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 15px; flex-shrink: 0; }
.shop-id { display: flex; flex-direction: column; min-width: 0; }
.shop-id b { font-weight: 600; font-size: 15px; line-height: 20px; }
.shop-id small { font-size: 12px; line-height: 16px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search { display: flex; align-items: center; gap: 8px; background: #f1f3f2; border-radius: 12px; padding: 10px 12px; color: var(--faint); white-space: nowrap; overflow: hidden; }
.search svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--faint); stroke-width: 1.6; stroke-linecap: round; }
.tabs { display: flex; gap: 16px; border-bottom: 1px solid #e4e7e6; color: var(--faint); white-space: nowrap; overflow: hidden; }
.tabs span { padding-bottom: 8px; flex-shrink: 0; }
.tabs .on { color: var(--verdigris); font-weight: 600; box-shadow: inset 0 -2px var(--verdigris); }
.tiles { display: flex; gap: 10px; }
.tile { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile b { font-weight: 500; }
.tile .num { font-weight: 600; }
.tile-img { position: relative; height: 112px; border-radius: 14px; display: grid; place-items: center; }
.tile-img.stone { background: var(--stone); }
.tile-img.pale { background: var(--pale); }
.pack { display: block; background: var(--white); border: 1px solid #d4cebf; }
.pack-tub { width: 44px; height: 56px; border-radius: 8px 8px 12px 12px; }
.pack-bottle { width: 36px; height: 64px; border-radius: 10px 10px 6px 6px; border-color: #c5d3cd; }
.stepper { position: absolute; inset-inline-end: 8px; bottom: 8px; display: flex; gap: 10px; background: var(--iron); color: var(--white); border-radius: 99px; padding: 4px 12px; font-weight: 500; }
.add { position: absolute; inset-inline-end: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 99px; background: var(--white); border: 1px solid #c5d3cd; display: grid; place-items: center; font-size: 16px; }
.order-bar { display: flex; justify-content: space-between; background: var(--iron); color: var(--white); border-radius: 14px; padding: 13px 16px; font-weight: 500; }

.note { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--iron); padding-top: 16px; text-align: start; }
.note p:last-child { font-size: 15px; line-height: 1.5; color: var(--muted); }
.note-title { font: 500 30px/1.12 var(--display); }
:lang(ar) .note-title { font-weight: 700; line-height: 1.4; }
.note .eyebrow { font-size: 12px; letter-spacing: 0.24em; }
:lang(ar) .note .eyebrow { font-size: 15px; letter-spacing: 0; }
/* Below lg the two notes stack beneath the arch; at lg they sit either side of it, over the rays. */
.notes { display: flex; flex-direction: column; gap: 28px; padding: 36px 0 44px; }
@media (min-width: 640px) { .notes { flex-direction: row; } .notes .note { flex: 1; } }
@media (min-width: 1024px) {
  .scene-wrap { position: relative; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; }
  .notes { display: contents; }
  .notes .note { position: absolute; top: 330px; width: 250px; flex: none; background: var(--stone); padding-bottom: 20px; }
  .note-start { inset-inline-start: calc(var(--gutter) + 40px); }
  .note-end { inset-inline-end: calc(var(--gutter) + 40px); }
}

/* ---- frieze -------------------------------------------------------------- */
.frieze { padding-inline: var(--gutter); }
.frieze ul { display: grid; grid-template-columns: 1fr 1fr; max-width: 1280px; margin-inline: auto; border-bottom: 1px solid var(--brass); margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 640px) { .frieze ul { margin-inline: auto; } }
@media (min-width: 1024px) { .frieze ul { grid-template-columns: repeat(4, 1fr); border-inline-end: 1px solid var(--brass); } }
.frieze li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 8px 24px; text-align: center; }
.frieze li:nth-child(odd) { border-inline-end: 1px solid var(--brass); }
.frieze li:nth-child(-n + 2) { border-bottom: 1px solid var(--brass); }
@media (min-width: 1024px) {
  .frieze li { padding: 44px 16px 40px; border-inline-start: 1px solid var(--brass); border-inline-end: 0 !important; border-bottom: 0 !important; }
}
.frieze-value { font: 500 38px/1.1 var(--display); letter-spacing: -0.02em; }
@media (min-width: 1024px) { .frieze-value { font-size: 56px; } }
:lang(ar) .frieze-value { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.frieze-label { font: 600 12px/1.35 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1024px) { .frieze-label { font-size: 13px; letter-spacing: 0.22em; } }
:lang(ar) .frieze-label { font-size: 14px; letter-spacing: 0; font-weight: 500; }

/* ---- how it opens -------------------------------------------------------- */
.opens { max-width: 1440px; margin-inline: auto; padding: 72px var(--gutter) 64px; }
@media (min-width: 1024px) { .opens { padding-block: 136px 120px; } }
.section-head { display: flex; flex-direction: column; gap: 20px; }
.section-head .h2 { margin-top: 20px; }
@media (min-width: 1024px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 80px; }
  .section-head > div { max-width: 720px; }
  .section-head .lede { max-width: 400px; font-size: 18px; padding-bottom: 8px; }
}
.steps { display: flex; flex-direction: column; gap: 36px; margin-top: 44px; }
@media (min-width: 1024px) { .steps { flex-direction: row; gap: 0; margin-top: 72px; align-items: flex-start; } }
.step { display: flex; gap: 16px; border-top: 1px solid var(--iron); padding-top: 20px; }
.step p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 10px; }
.step-num { flex: 0 0 72px; font: 500 56px/1 var(--display); color: var(--verdigris); }
:lang(ar) .step-num { font-family: "Bodoni Moda", serif; }
.address { color: var(--verdigris) !important; font-weight: 500; text-align: start; }
@media (min-width: 1024px) {
  .step { flex: 1; flex-direction: column; gap: 18px; padding: 28px 48px 0 0; padding-inline: 0 48px; }
  .step:nth-child(2) { margin-top: 64px; }
  .step:nth-child(3) { margin-top: 128px; padding-inline-end: 0; }
  .step-num { flex: none; font-size: 88px; }
  .step p { font-size: 17px; }
}

/* ---- for shoppers -------------------------------------------------------- */
.shoppers { background: var(--pale); padding: 72px var(--gutter); display: flex; flex-direction: column-reverse; gap: 40px; }
@media (min-width: 1024px) { .shoppers { flex-direction: row; align-items: center; gap: 96px; padding-block: 128px; } }
.shoppers > * { max-width: 1440px; }
.receipt-wrap { display: flex; justify-content: center; }
@media (min-width: 1024px) { .receipt-wrap { flex: 0 0 480px; } }
.receipt { width: 100%; max-width: 380px; background: var(--white); border-top: 6px solid var(--verdigris); padding: 30px 24px 26px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .receipt { padding: 36px 32px 32px; } }
.receipt .eyebrow { font-size: 12px; letter-spacing: 0.24em; }
:lang(ar) .receipt .eyebrow { font-size: 14px; letter-spacing: 0; }
.receipt-shop { font-size: 32px; line-height: 1.15; margin-top: -10px; }
.receipt-lines { display: flex; flex-direction: column; gap: 12px; border-block: 1px solid var(--iron); padding-block: 14px; font-size: 15px; line-height: 22px; }
.receipt-lines div { display: flex; gap: 12px; }
.receipt-lines b { width: 24px; flex-shrink: 0; font-weight: 600; }
.receipt-lines span:nth-child(2) { flex: 1; }
.receipt-lines span:last-child { font-weight: 500; }
.receipt-total { display: flex; justify-content: space-between; align-items: flex-end; }
.receipt-total .num { display: flex; flex-direction: column; align-items: flex-end; font-size: 18px; line-height: 24px; }
.receipt .btn { padding: 15px 16px 13px; font-size: 13px; }
:lang(ar) .receipt .btn { font-size: 15px; }
.shoppers-copy { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.shoppers-copy .lede { color: var(--ink-2); max-width: 560px; }
.points { margin-top: 12px; border-bottom: 1px solid var(--iron); }
.points div { display: flex; flex-direction: column; gap: 6px; padding-block: 18px; border-top: 1px solid var(--iron); }
.points dt { font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.points dd { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 1024px) {
  .points div { flex-direction: row; align-items: baseline; gap: 32px; padding-block: 22px; }
  .points dt { flex: 0 0 260px; font-size: 26px; }
}

/* ---- the book ------------------------------------------------------------ */
.book { background: var(--patina); color: var(--stone); padding: 72px var(--gutter); }
@media (min-width: 1024px) { .book { padding-block: 136px 128px; } }
.book-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 980px; margin-inline: auto; }
.book .eyebrow { color: var(--brass-hi); letter-spacing: 0.24em; }
.book .eyebrow.ruled::before, .book .eyebrow.ruled::after { background: var(--brass-hi); }
:lang(ar) .book .eyebrow { letter-spacing: 0; }
.book-title { font-size: clamp(42px, 6.2vw, 88px); max-width: 680px; }
:lang(ar) .book-title { max-width: 900px; }
.book-title em { color: var(--mint); }
.book .lede { color: var(--on-dark); max-width: 640px; }
.book-body { display: flex; flex-direction: column; gap: 40px; max-width: 1280px; margin: 40px auto 0; }
@media (min-width: 1024px) { .book-body { flex-direction: row; gap: 96px; margin-top: 80px; align-items: stretch; } }
.draft { background: var(--stone); color: var(--iron); padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .draft { flex: 0 0 560px; padding: 36px; gap: 24px; justify-content: space-between; } }
.draft-said { display: flex; align-items: center; gap: 16px; }
.draft-said > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.draft .eyebrow { font-size: 12px; letter-spacing: 0.24em; }
:lang(ar) .draft .eyebrow { font-size: 14px; letter-spacing: 0; }
.mic { width: 52px; height: 52px; border-radius: 99px; background: var(--verdigris); display: grid; place-items: center; flex-shrink: 0; }
.mic svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.quote { font: 500 20px/1.5 var(--body); text-align: start; }
@media (min-width: 1024px) { .quote { font-size: 22px; } }
.draft-lines { border-top: 1px solid var(--iron); }
.draft-lines > div { display: flex; align-items: center; gap: 14px; padding-block: 16px; border-bottom: 1px solid #cfc8b8; }
.draft-lines > div:last-child { border-bottom-color: var(--iron); }
.draft-qty { flex: 0 0 40px; font: 500 44px/1 "Bodoni Moda", serif; }
.draft-item { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.draft-item b { font-weight: 500; font-size: 17px; }
.draft-item small { font-size: 14px; color: var(--faint); }
.draft-lines .num { font-weight: 600; white-space: nowrap; }
.draft-foot { display: flex; flex-direction: column; gap: 14px; }
.draft-foot .small { color: var(--faint); }
@media (min-width: 640px) { .draft-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; } .draft-foot .small { max-width: 220px; } }
.ledger { flex: 1; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid var(--brass-hi); }
.ledger div { display: flex; flex-direction: column; gap: 8px; padding-block: 22px; border-top: 1px solid var(--brass-hi); }
.ledger dt { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--stone); }
@media (min-width: 1024px) { .ledger dt { font-size: 34px; } .ledger div { padding-block: 26px; } }
:lang(ar) .ledger dt { letter-spacing: 0; }
.ledger dd { font-size: 16px; line-height: 1.65; color: var(--on-dark); }
@media (min-width: 1024px) { .ledger dd { font-size: 17px; } }

/* ---- closing + footer ---------------------------------------------------- */
.closing { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px var(--gutter) 72px; }
@media (min-width: 1024px) { .closing { padding-block: 144px 136px; } }
.fan { width: 96px; height: 48px; fill: none; stroke: var(--brass); stroke-width: 1; }
@media (min-width: 1024px) { .fan { width: 120px; height: 60px; } }
.closing-title { font-size: clamp(54px, 7.8vw, 112px); max-width: 820px; margin-top: 28px; }
:lang(ar) .closing-title { max-width: 1000px; }
.closing .lede { max-width: 560px; margin-top: 24px; }

.footer {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 28px var(--gutter) 32px; border-top: 1px solid var(--brass); font-size: 14px;
}
@media (min-width: 1024px) { .footer { flex-direction: row; justify-content: space-between; text-align: start; font-size: 15px; } }
.brand-small .brand-latin { font-size: 15px; }
.brand-small [lang="ar"] { font: 500 16px/1 "Readex Pro", sans-serif; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--verdigris); }

/* ---- reveal (only when JS is on, and never for reduced motion) ----------- */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .js .sunburst line { stroke-dashoffset: 0; transition: none; }
}

/* fixes after the first browser pass */
.draft .eyebrow { color: var(--verdigris); }
[dir="rtl"] .address { text-align: right; }
@media (max-width: 639px) { .eyebrow.ruled { letter-spacing: 0.18em; } }
