/* Relief design (realistic): sculpted paper in dusty mauve, carved jasmine and olive, a wax seal, lattice doors,
   letterpress text. The art is drawn by tools/relief-art.mjs (assets/relief). Built on css/kit.css. */
:root {
  --bg: #dfcdca;
  --paper: #e6d6d3;
  --stone: #d8c4c1;
  --accent: #a88a8d;
  --accent-soft: #e8dad7;
  --accent-deep: #6b4f54;
  --ink: #573c42;
  /* the small lettering and the gold are a shade deeper than the carving, so they read (4.5:1, «و»/"&" 3:1) */
  --gold: #82686b;
  --gold-text: #6b4f54;
  --text: #4d3a3e;
  --text-soft: #5f4a52;
  --text-mute: #625056;
  --shade: 70, 40, 46;
  --line: #ceb9b6;
  --line-soft: #e2d3d0;
  --card: #eadcd9;
  --font-script: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  /* letterpress: a light lip below, a soft shade above, as if pressed into the paper */
  --press: 0 1px 0 rgba(255, 249, 248, .62), 0 -1px 1px rgba(70, 38, 45, .22);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .38 0 0 0 0 .25 0 0 0 0 .27 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E");
}
html[lang="ar"] { --font-script: 'Amiri', serif; }
html:not([lang="ar"]) .script { font-style: italic; font-weight: 500; }
html[lang="ar"] .script { font-weight: 700; }
body.rl-body { background: #cbb6b3 var(--grain); }
.rl-body .page { background: var(--bg) var(--grain); }
.title { color: var(--ink); text-shadow: var(--press); }
.kicker { color: var(--gold-text); }
.pill--fill, .pill--soft, .sound { background: var(--accent-deep); }

/* A 9:16 stage that covers its box like background-size: cover, so the art and what sits on it stay aligned. */
.rl-stage { position: absolute; top: 50%; left: 50%; width: min(max(100%, 56.25svh), max(var(--col), 56.25svh)); aspect-ratio: 1080 / 1920; transform: translate(-50%, -50%); }

/* ---------- cover: carved envelope, flap, wax seal ---------- */
.gate { background: #cdb8b5 var(--grain); transition: background-color .3s; }
.gate.is-open { background: transparent; }
.rl-cover { overflow: hidden; }
.rl-envelope { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 80%; transition: transform 1.05s cubic-bezier(.55, 0, .75, .35); }
.rl-env { position: absolute; inset: 0; background: center / 100% 100% no-repeat; box-shadow: 0 -18px 40px rgba(50, 25, 30, .35); }
.rl-flap { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 54.17%; transform-origin: 50% 0; transform-style: preserve-3d; transition: transform 1.35s cubic-bezier(.5, .1, .35, 1), opacity .25s ease; }
.rl-flap__side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 7px 9px rgba(55, 28, 34, .38)) drop-shadow(0 2px 2px rgba(55, 28, 34, .25)); }
.rl-flap__side--back { transform: rotateX(180deg); filter: none; }
.rl-flap__face { position: absolute; inset: 0; background: #d6c3c0 center / 100% 100% no-repeat; clip-path: polygon(0 0, 100% 0, 56.1% 92.1%, 53% 97.6%, 50% 99.2%, 47% 97.6%, 43.9% 92.1%); }
.rl-flap__side--back .rl-flap__face { background: linear-gradient(180deg, #c9b3b0, #d9c7c4) ; }
.rl-cover .rl-seal { position: absolute; z-index: 3; top: 51.2%; left: 50%; width: 30%; margin: -15% 0 0 -15%; animation: none; filter: drop-shadow(0 10px 12px rgba(45, 20, 26, .45)) drop-shadow(0 2px 3px rgba(45, 20, 26, .3)); container-type: inline-size; }
.rl-seal img { width: 100%; height: 100%; }
.rl-cover .seal::after { inset: 13%; }
/* the initials stand out of the wax in a deeper shade of it (3:1 on the wax), with a light lip on the lit edge */
.rl-seal__mono { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 2cqw; font: 700 21cqw/1 'Amiri', serif; color: #6a454b; text-shadow: -1px -1px 0 rgba(255, 238, 238, .6), 1px 1.5px 1.5px rgba(55, 22, 28, .45); white-space: nowrap; }
html:not([lang="ar"]) .rl-seal__mono { font: italic 600 19cqw/1 'Cormorant Garamond', serif; }
.rl-cover .rl-to { position: absolute; z-index: 3; top: 66.5%; left: 50%; width: max-content; max-width: 74%; margin: 0; padding: 14px 26px 13px; transform: translateX(-50%) rotate(-1.2deg); border-radius: 3px;
  background: #efe4e1 var(--grain); box-shadow: 0 12px 22px -8px rgba(50, 24, 30, .45), 0 2px 4px rgba(50, 24, 30, .2), inset 0 0 0 5px #efe4e1, inset 0 0 0 6px rgba(122, 90, 95, .35);
  color: var(--text-soft); font: 500 13px/1.5 var(--font-ui); text-align: center; }
.rl-cover .rl-to bdi { margin-top: 2px; color: var(--ink); font-size: 27px; font-weight: 700; text-shadow: var(--press); }
.rl-cover .rl-hint { position: absolute; z-index: 3; bottom: 5.5%; left: 50%; margin: 0; padding: 7px 16px; transform: translateX(-50%); border-radius: 99px; white-space: nowrap;
  background: rgba(78, 52, 58, .72); color: #fbf1ef; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* opening: the seal lifts off, the flap swings up toward you, the envelope drops away */
.gate.is-opening .rl-flap { transform: rotateX(176deg); }
.gate.is-opening .rl-to, .gate.is-opening .rl-hint { opacity: 0; transition: opacity .35s; }
.gate.is-open .rl-envelope { transform: translateY(112%); }
.gate.is-open .rl-flap { opacity: 0; }

/* ---------- hero: the arch, the names, and the lattice doors that open on it ---------- */
.rl-hero { height: 100svh; min-height: 560px; max-height: none; background: var(--bg); }
.rl-arch { position: absolute; inset: 0; background: center / 100% 100% no-repeat; }
.rl-hero__text { top: 31%; right: 19%; left: 19%; transition: opacity 1.2s ease 1.5s, transform 1.4s var(--soft) 1.5s; }
.rl-kicker { margin-bottom: 2px; font-size: 13px; text-shadow: var(--press); }
html[lang="ar"] .rl-kicker { font-size: 17px; letter-spacing: 0; }
.rl-hero .hero__names { font-size: clamp(44px, 14vw, 66px); line-height: 1.35; color: var(--ink); text-shadow: var(--press); }
.rl-hero .hero__names .amp { display: block; font-size: .5em; line-height: 1.2; color: var(--gold); }
.rl-hero__orn { width: 78%; margin: 8px auto 6px; }
.rl-hero .hero__date { margin: 0; font: 500 15px/1.6 var(--font-ui); color: var(--text-soft); text-shadow: var(--press); }
.rl-hero__place { margin: 2px 0 0; font: 400 14px/1.5 var(--font-ui); color: var(--text-mute); text-shadow: var(--press); }
.rl-doors { position: absolute; inset: 0; z-index: 4; perspective: 1700px; pointer-events: none; }
.rl-door { position: absolute; top: 0; bottom: 0; width: 50%; background: center / 100% 100% no-repeat; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform 1.7s cubic-bezier(.5, .05, .25, 1) .45s, filter 1.7s ease .45s, opacity .5s ease 2s; }
.rl-door--l { left: 0; transform-origin: 0 50%; box-shadow: inset -6px 0 10px -6px rgba(45, 20, 26, .5); }
.rl-door--r { right: 0; transform-origin: 100% 50%; box-shadow: inset 6px 0 10px -6px rgba(45, 20, 26, .5); }
.hero.is-in .rl-door--l { transform: rotateY(-102deg); filter: brightness(.72); opacity: 0; }
.hero.is-in .rl-door--r { transform: rotateY(102deg); filter: brightness(.72); opacity: 0; }

/* ---------- sections ---------- */
.rl-orn { width: min(72%, 290px); margin: 2px auto 18px; }
.rl-orn, .rl-swag, .rl-house, .rl-hero__orn { filter: drop-shadow(0 2px 2px rgba(50, 24, 30, .3)) drop-shadow(0 6px 8px rgba(50, 24, 30, .12)); }
/* no falling petals on paper; cards in the same paper */
.rl-body .petals { display: none; }
.rl-body .tile { border-radius: 6px; background: #ecdfdc var(--grain); box-shadow: 0 18px 34px -22px rgba(50, 24, 30, .5), inset 0 0 0 6px #ecdfdc, inset 0 0 0 7px rgba(122, 90, 95, .28); }
.rl-body .tile__icon { background: var(--accent-soft); }
.rl-body .shot { border-radius: 3px; box-shadow: 0 6px 12px -8px rgba(50, 24, 30, .55), inset 0 0 0 1px rgba(122, 90, 95, .2); }
.rl-body .photos__lead { text-shadow: var(--press); }
/* while the envelope is still closed, the frame and plaque pictures below wait (the cover's art loads first) */
html body.is-sealed .rl-card { border-image-source: none; }
html body.is-sealed .rl-count .timer__cells { background-image: none; }
.rl-card { position: relative; max-width: 420px; margin: 0 auto; padding: 30px 26px; border: 64px solid transparent; border-image: url("../assets/relief/frame.webp") 120 fill / 64px stretch; }
.rl-letter { padding: 40px 6px; }
.rl-letter .letter__names { color: var(--ink); text-shadow: var(--press); }
.rl-letter p { text-shadow: var(--press); }
.rl-count { background: #c8b0ae var(--grain); box-shadow: inset 0 14px 22px -14px rgba(50, 24, 30, .45), inset 0 -14px 22px -14px rgba(50, 24, 30, .45); }
.rl-count .kicker { color: #553c41; }
.rl-count .title { color: #4e3439; }
.rl-count .timer__cells { max-width: 370px; aspect-ratio: 1000 / 420; padding: 0 6%; gap: 0; align-items: center; background: url("../assets/relief/plaque.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 12px 14px rgba(50, 24, 30, .35)); }
.rl-count .timer__cell { padding: 0; background: none; }
.rl-count .timer__num { font: 500 38px/1 'Cormorant Garamond', serif; color: var(--ink); text-shadow: var(--press); }
.rl-count .timer__unit { margin-top: 4px; color: var(--text-soft); text-shadow: var(--press); }
.rl-count .count__date { margin-top: 22px; font: 500 15px var(--font-ui); color: #4f383e; }
.rl-count .pill--line { border-color: #7a5a5f; color: #4e3439; }

.rl-secret { padding-bottom: 72px; }
.rl-secret__hint { margin: -8px 0 22px; font: 500 14px var(--font-ui); color: var(--text-mute); }
.rl-medal { position: relative; width: min(76%, 320px); aspect-ratio: 760 / 1000; margin: 0 auto; filter: drop-shadow(0 16px 18px rgba(50, 24, 30, .35)); }
.rl-medal .scratch__cell { position: absolute; inset: 7.4% 8.42% 6.4% 8.42%; display: block; }
.rl-medal__tile { position: absolute; inset: 0; display: block; aspect-ratio: auto; height: 100%; overflow: hidden; border-radius: 0; background: #cdb8b5; box-shadow: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 632 862' preserveAspectRatio='none'%3E%3Cpath d='M0 862V276C0 121.4 183.3 33.1 316 0C448.7 33.1 632 121.4 632 276V862Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 632 862' preserveAspectRatio='none'%3E%3Cpath d='M0 862V276C0 121.4 183.3 33.1 316 0C448.7 33.1 632 121.4 632 276V862Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.rl-medal__photo { width: 100%; height: 100%; object-fit: cover; }
.rl-medal__foil { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .7s ease; }
.rl-medal__tile.is-revealed .rl-medal__foil { opacity: 0; pointer-events: none; }
.rl-medal__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.rl-agenda { padding-top: 0; }
.rl-swag { width: calc(100% + 48px); max-width: none; margin: 0 -24px 26px; }
.rl-agenda .line::before { background: var(--accent-deep); opacity: .4; }
.rl-agenda .line__dot { background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.rl-agenda .line__time { text-shadow: var(--press); }
.rl-place { background: var(--bg); }
.rl-place .place__photo { aspect-ratio: 1000 / 700; margin: 0 18px; }
.rl-house { object-fit: contain; }
.rl-reply { background: linear-gradient(180deg, var(--bg), #d6c1be); }
.rl-reply .reply-card { border-radius: 4px; background: #ecdfdc var(--grain); box-shadow: 0 24px 40px -24px rgba(50, 24, 30, .55), inset 0 0 0 6px #ecdfdc, inset 0 0 0 7px rgba(122, 90, 95, .3); }
.rl-farewell { background: var(--bg); }
.rl-farewell .farewell__line, .rl-farewell .farewell__names { text-shadow: var(--press); }

/* ---------- link preview ---------- */
.og-mode { background: #cdb8b5; }
.rl-og { background: #cdb8b5; }
.rl-og__art { position: absolute; inset: 0; background: center 78% / cover no-repeat; }
.rl-og__art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(48% 62% at 50% 52%, rgba(232, 219, 216, .94), rgba(232, 219, 216, .78) 60%, rgba(232, 219, 216, 0) 100%); }
.rl-og__seal { position: absolute; top: 34px; left: 50%; width: 118px; transform: translateX(-50%); filter: drop-shadow(0 8px 10px rgba(45, 20, 26, .4)); }
.rl-og__text { top: 178px; }
.rl-og .og__names { color: var(--ink); text-shadow: var(--press); }
.rl-og .og__date { margin: 0; font: 500 26px var(--font-ui); color: var(--text-soft); }

@media (prefers-reduced-motion: reduce) {
  .rl-doors { display: none; }
}

/* ---------- Naskh ("font": "naskh"; js/relief.js sets data-font and loads the face): every piece of Arabic in
   Noto Naskh Arabic, the faces hard-coded above too (seal monogram, countdown digits, Quran verse, language pill).
   English stays as designed: anything marked lang="en" (the switch button, the photo caption). The #id inside :not()
   lifts this rule over the design's font shorthands without !important. ---------- */
html[lang="ar"][data-font="naskh"] {
  --font-script: 'Noto Naskh Arabic', 'Amiri', serif;
  --font-serif: 'Noto Naskh Arabic', 'Amiri', serif;
  --font-ui: 'Noto Naskh Arabic', 'Readex Pro', system-ui, sans-serif;
}
html[lang="ar"][data-font="naskh"] body :not([lang="en"], [lang="en"] *, #langBtn) { font-family: 'Noto Naskh Arabic', 'Amiri', serif; }
html[lang="ar"][data-font="naskh"] .rl-seal__mono { font-weight: 700; }
html[lang="ar"][data-font="naskh"] .rl-count .timer__num { font-weight: 600; }

/* ---------- lilac colour set ("palette": "lilac"): cool mauve paper, plum lettering, a slate-blue countdown band ---------- */
html[data-tone="lilac"] {
  --bg: #e0d7e2;
  --paper: #e6dee8;
  --stone: #d3c7d6;
  --accent: #9a88a0;
  --accent-soft: #e5dce8;
  --accent-deep: #62506a;
  --ink: #4a3a50;
  --gold: #7f6c86;
  --gold-text: #5f4d66;
  --text: #45384b;
  --text-soft: #5c4d62;
  --text-mute: #5a4f60;
  --shade: 50, 36, 60;
  --line: #cbbfd0;
  --line-soft: #e0d8e3;
  --card: #ebe4ed;
  --press: 0 1px 0 rgba(255, 251, 255, .62), 0 -1px 1px rgba(50, 34, 60, .22);
}
html[data-tone="lilac"] body.rl-body { background-color: #c9bccd; }
html[data-tone="lilac"] .gate { background-color: #cbbfcd; }
html[data-tone="lilac"] .gate.is-open { background: transparent; }
html[data-tone="lilac"] .rl-flap__side--back .rl-flap__face { background: linear-gradient(180deg, #c5b7c8, #d6cad8); }
html[data-tone="lilac"] .rl-cover .rl-to { background-color: #eee8f0; box-shadow: 0 12px 22px -8px rgba(40, 26, 50, .45), 0 2px 4px rgba(40, 26, 50, .2), inset 0 0 0 5px #eee8f0, inset 0 0 0 6px rgba(110, 90, 117, .35); }
html[data-tone="lilac"] .rl-cover .rl-hint { background: rgba(70, 54, 80, .72); }
html[data-tone="lilac"] .rl-card { border-image-source: url("../assets/relief/lilac/frame.webp"); }
html[data-tone="lilac"] .rl-count { background-color: #5f6584; box-shadow: inset 0 14px 22px -14px rgba(30, 30, 60, .45), inset 0 -14px 22px -14px rgba(30, 30, 60, .45); }
html[data-tone="lilac"] .rl-count .kicker { color: #f4f5fb; }
html[data-tone="lilac"] .rl-count .title { color: #fbfaff; text-shadow: 0 1px 2px rgba(30, 30, 60, .35); }
html[data-tone="lilac"] .rl-count .timer__cells { background-image: url("../assets/relief/lilac/plaque.webp"); filter: drop-shadow(0 12px 14px rgba(30, 30, 60, .4)); }
html[data-tone="lilac"] .rl-count .count__date { color: #fff; }
html[data-tone="lilac"] .rl-count .pill--line { border-color: #f0eef6; background: transparent; color: #fff; }
html[data-tone="lilac"] .rl-count .rl-orn { filter: drop-shadow(0 2px 2px rgba(30, 30, 60, .35)); }
html[data-tone="lilac"] .rl-medal__tile { background: #cbbfcd; }
html[data-tone="lilac"] .rl-seal__mono { color: #584059; text-shadow: -1px -1px 0 rgba(250, 238, 250, .6), 1px 1.5px 1.5px rgba(44, 24, 52, .45); }
html[data-tone="lilac"] .rl-body .tile, html[data-tone="lilac"] .rl-reply .reply-card { background-color: #ece6ee; box-shadow: 0 18px 34px -22px rgba(40, 26, 50, .5), inset 0 0 0 6px #ece6ee, inset 0 0 0 7px rgba(110, 90, 117, .28); }
html[data-tone="lilac"] .rl-reply { background: linear-gradient(180deg, var(--bg), #d3c8d8); }
html[data-tone="lilac"] .og-mode, html[data-tone="lilac"] .rl-og { background: #cbbfcd; }
html[data-tone="lilac"] .rl-og__art::after { background: radial-gradient(48% 62% at 50% 52%, rgba(232, 225, 235, .94), rgba(232, 225, 235, .78) 60%, rgba(232, 225, 235, 0) 100%); }
/* the photo simply shown (no scratching) */
.rl-secret--shown { padding-bottom: 72px; }
.rl-secret__caption { max-width: 300px; margin: 30px auto 0; font: italic 500 23px/1.4 'Cormorant Garamond', serif; color: var(--ink); text-shadow: var(--press); text-align: center; text-wrap: balance; }

/* ---------- Ruqaa ("font": "ruqaa"): every piece of Arabic in Aref Ruqaa (same approach as Naskh above) ---------- */
html[lang="ar"][data-font="ruqaa"] {
  --font-script: 'Aref Ruqaa', 'Amiri', serif;
  --font-serif: 'Aref Ruqaa', 'Amiri', serif;
  --font-ui: 'Aref Ruqaa', 'Readex Pro', system-ui, sans-serif;
}
html[lang="ar"][data-font="ruqaa"] body :not([lang="en"], [lang="en"] *, #langBtn) { font-family: 'Aref Ruqaa', 'Amiri', serif; }
html[lang="ar"][data-font="ruqaa"] .rl-seal__mono, html[lang="ar"][data-font="ruqaa"] .script, html[lang="ar"][data-font="ruqaa"] .rl-count .timer__num { font-weight: 700; }

/* ---------- ivory colour set ("palette": "ivory"): bridal white paper, champagne-gold wax and accents ---------- */
html[data-tone="ivory"] {
  --bg: #f3efe8;
  --paper: #f7f3ee;
  --stone: #e9e3da;
  --accent: #b89a6a;
  --accent-soft: #f0e9de;
  --accent-deep: #76603d;
  --ink: #3f372f;
  --gold: #977f50;
  --gold-text: #735b3a;
  --text: #3f372f;
  --text-soft: #5b5148;
  --text-mute: #6c6156;
  --shade: 60, 50, 38;
  --line: #e2d9cc;
  --line-soft: #eee8df;
  --card: #faf7f2;
  --press: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 1px rgba(60, 48, 32, .16);
}
html[data-tone="ivory"] body.rl-body { background-color: #e6dfd5; }
html[data-tone="ivory"] .gate { background-color: #e9e3da; }
html[data-tone="ivory"] .gate.is-open { background: transparent; }
html[data-tone="ivory"] .rl-flap__side--back .rl-flap__face { background: linear-gradient(180deg, #e4ddd2, #f0ebe3); }
html[data-tone="ivory"] .rl-cover .rl-to { background-color: #fbf8f3; box-shadow: 0 12px 22px -8px rgba(60, 48, 32, .38), 0 2px 4px rgba(60, 48, 32, .16), inset 0 0 0 5px #fbf8f3, inset 0 0 0 6px rgba(140, 112, 72, .4); }
html[data-tone="ivory"] .rl-cover .rl-hint { background: rgba(70, 58, 44, .7); }
html[data-tone="ivory"] .rl-seal__mono { color: #765d33; text-shadow: -1px -1px 0 rgba(255, 248, 232, .7), 1px 1.5px 1.5px rgba(60, 44, 20, .4); }
html[data-tone="ivory"] .rl-card { border-image-source: url("../assets/relief/ivory/frame.webp"); }
html[data-tone="ivory"] .rl-count { background-color: #e8dfd1; box-shadow: inset 0 14px 22px -14px rgba(60, 48, 32, .3), inset 0 -14px 22px -14px rgba(60, 48, 32, .3); }
html[data-tone="ivory"] .rl-count .kicker { color: var(--gold-text); }
html[data-tone="ivory"] .rl-count .title { color: var(--ink); text-shadow: var(--press); }
html[data-tone="ivory"] .rl-count .timer__cells { background-image: url("../assets/relief/ivory/plaque.webp"); filter: drop-shadow(0 12px 14px rgba(60, 48, 32, .28)); }
html[data-tone="ivory"] .rl-count .count__date { color: var(--text-soft); }
html[data-tone="ivory"] .rl-count .pill--line { border-color: var(--accent-deep); color: var(--ink); }
html[data-tone="ivory"] .rl-medal__tile { background: #e9e3da; }
html[data-tone="ivory"] .rl-body .tile, html[data-tone="ivory"] .rl-reply .reply-card { background-color: #faf7f2; box-shadow: 0 18px 34px -22px rgba(60, 48, 32, .4), inset 0 0 0 6px #faf7f2, inset 0 0 0 7px rgba(140, 112, 72, .3); }
html[data-tone="ivory"] .rl-reply { background: linear-gradient(180deg, var(--bg), #ebe3d7); }
html[data-tone="ivory"] .og-mode, html[data-tone="ivory"] .rl-og { background: #e9e3da; }
html[data-tone="ivory"] .rl-og__art::after { background: radial-gradient(48% 62% at 50% 52%, rgba(248, 245, 240, .94), rgba(248, 245, 240, .78) 60%, rgba(248, 245, 240, 0) 100%); }

/* the parents' names never break across lines */
.rl-letter .letter__family { white-space: nowrap; }
