/* 7 AROMA — Correspondence. Seven letters; one of them is addressed to you.
   Tokens: spec 3.1–3.3. Gold is a 1px line only; text uses ink, ink-2, kraft-ink, gold-ink (and gold-hand >= 24px). */
:root {
  --paper: #F3EBDC; --paper-2: #ECE2CF; --stock: #FAF6EE; --aero: #E4E7E0;
  --kraft: #C4A686; --kraft-ink: #6E5A43;
  --ink: #161513; --ink-2: #4A4237;
  --gold: #B8913F; --gold-ink: #6F531C; --gold-hand: #9A7630;
  --postmark: #2B2A33; --sage: #7F8C6A;
  --s1: #E7BEAA; --s2: #C5753C; --s3: #79A0A3; --s4: #E1C05F; --s5: #88B39E; --s6: #AA6C7E; --s7: #999999;

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Aref Ruqaa', 'Amiri', serif;
  --ar-serif: 'Amiri', 'Aref Ruqaa', serif;
  --ar-body: 'IBM Plex Sans Arabic', 'Aref Ruqaa', sans-serif;

  --pad: clamp(16px, 4.6vw, 72px);
  --gap: 24px;
  --section: clamp(96px, 14vh, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tint: #F2E7D8;
  --nav-h: 72px;
  --paper-shadow: 0 1px 2px rgba(22,21,19,.10), 0 22px 40px -24px rgba(22,21,19,.42);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper); color: var(--ink);
  font: 300 16px/1.7 var(--sans);
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1440px) { body { font-size: 17px; } }
/* M7 paper: one fixed grain layer */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
.stamp-svg, .pm-svg, .ring-svg, .seal-svg, .gulf { direction: ltr; }
.enc-top, .enc-foot, .ss-name, .ss-no, .byair { direction: ltr; unicode-bidi: isolate; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir=rtl] .arr-ic { transform: scaleX(-1); }

/* language twins: show the line that belongs to the current language */
html[lang=en] [data-show=ar], html[lang=ar] [data-show=en] { display: none !important; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 300; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(42px, min(5.6vw, 10.5vh), 92px); line-height: 1; letter-spacing: -.005em; text-transform: uppercase; }
h2 { font-size: clamp(34px, min(3.6vw, 6.4vh), 56px); line-height: 1.06; letter-spacing: -.004em; }
h2 em, h1 em { font-style: italic; color: var(--kraft-ink); }
.kicker { font: 500 11px/1.5 var(--sans); letter-spacing: .30em; text-transform: uppercase; color: var(--gold-ink); }
.small { font: 500 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.body { color: var(--ink-2); max-width: 60ch; }
.ar-hand { font-family: var(--hand); color: var(--gold-hand); font-weight: 400; letter-spacing: 0; text-transform: none; }
.en-it { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
:lang(ar) { font-family: var(--ar-body); letter-spacing: 0; }
.ar-hand:lang(ar) { font-family: var(--hand); }

/* ---------- motif M3: the airmail edge ---------- */
.airmail { height: 6px; background: repeating-linear-gradient(-45deg, var(--s2) 0 10px, var(--stock) 10px 16px, var(--s3) 16px 26px, var(--stock) 26px 32px); }
.air-border { position: absolute; inset: 10px; pointer-events: none; z-index: 0; }
.air-border i { position: absolute; background: repeating-linear-gradient(-45deg, var(--s2) 0 10px, var(--stock) 10px 16px, var(--s3) 16px 26px, var(--stock) 26px 32px); background-attachment: local; }
.air-border i:nth-child(1) { top: 0; left: 0; right: 0; height: 6px; }
.air-border i:nth-child(2) { bottom: 0; left: 0; right: 0; height: 6px; }
.air-border i:nth-child(3) { top: 0; bottom: 0; left: 0; width: 6px; }
.air-border i:nth-child(4) { top: 0; bottom: 0; right: 0; width: 6px; }

/* ---------- components (3.7) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 30px;
  background: var(--ink); color: var(--paper); font: 500 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), letter-spacing .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(184,145,63,.55); transition: inset .3s var(--ease), border-color .3s var(--ease); pointer-events: none; }
.btn:hover { background: #221F1B; letter-spacing: .24em; }
.btn:hover::before { inset: 3px; border-color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.btn[aria-disabled="true"] { background: #6B655C; color: #E9E2D4; cursor: not-allowed; }
.btn[aria-disabled="true"]::before { border-color: rgba(243,235,220,.25); }
.btn .ic { width: 16px; height: 16px; }
html[lang=ar] .btn { font: 500 14px/1 var(--ar-body); letter-spacing: 0; }

.link {
  display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  padding: 14px 0 6px; min-height: 44px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
}
.link:hover { background: radial-gradient(circle, var(--gold-ink) 1px, transparent 1.4px) 0 100% / 6px 3px repeat-x; animation: route 600ms linear infinite; }
@keyframes route { to { background-position: -12px 100%; } }
.link .arr, .link .arr-ic { display: inline-block; transition: transform .3s var(--ease); }
.link .arr-ic { width: 15px; height: 15px; }
.link:hover .arr, .link:hover .arr-ic { transform: translateX(4px); }
[dir=rtl] .link:hover .arr { transform: translateX(-4px); }
[dir=rtl] .link:hover .arr-ic { transform: scaleX(-1) translateX(4px); }
.link:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
.link:active { opacity: .7; }
html[lang=ar] .link { font: 500 14px/1 var(--ar-body); letter-spacing: 0; }

/* stamp chips (hero strip, rail, mini strip, menu) */
.chip { position: relative; display: grid; place-items: end center; padding: 6px 3px 0; min-width: 44px; min-height: 52px; opacity: .55; filter: saturate(.7);
  transition: opacity .2s var(--ease), transform .2s var(--ease), filter .2s var(--ease); }
.chip .stamp-svg { filter: drop-shadow(0 1px 1px rgba(22,21,19,.12)) drop-shadow(0 4px 6px rgba(22,21,19,.12)); }
.chip:hover { opacity: .85; transform: translateY(-2px); }
.chip[aria-selected="true"] { opacity: 1; filter: none; transform: translateY(-6px); }
.chip:active { transform: translateY(-5px); }
.chip:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.chip .chip-pm { position: absolute; width: 22px; height: 22px; top: 0; inset-inline-end: -4px; opacity: 0; transform: scale(1.3); transition: opacity .14s, transform .14s; pointer-events: none; }
.chip[aria-selected="true"] .chip-pm { opacity: .72; transform: none; }
.chip .chip-pm svg { width: 100%; height: 100%; overflow: visible; }

/* postmarks */
.pm-svg { width: 100%; height: 100%; overflow: visible; transform: rotate(var(--rot, -10deg)); }
.pm-ink { opacity: .72; }
[dir=rtl] .pm-cancel { transform: scaleX(-1); transform-origin: 60px 60px; }
.pm-cancel path { stroke-dasharray: 1 1; stroke-dashoffset: 0; }

/* M5 label frame */
.label-frame { position: relative; display: inline-block; border: 1px solid var(--gold); padding: 20px 28px 14px; }
.label-frame .no { position: absolute; top: 0; left: 50%; transform: translate(-50%, -52%); padding: 0 10px; background: var(--stage-bg, var(--paper));
  font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--gold-ink); font-variant-numeric: tabular-nums lining-nums; }

/* M6 tipped-in photographs (real objects only) */
.tipped { position: relative; background: var(--stock); padding: 12px; border-radius: 2px; box-shadow: var(--paper-shadow); }
.tipped img { width: 100%; height: auto; filter: sepia(.12) saturate(.92) contrast(.97) brightness(1.02); }
.tipped::after { content: ""; position: absolute; inset: 6px; pointer-events: none;
  background:
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) top left / 18px 18px no-repeat,
    linear-gradient(225deg, var(--ink) 50%, transparent 50%) top right / 18px 18px no-repeat,
    linear-gradient(45deg, var(--ink) 50%, transparent 50%) bottom left / 18px 18px no-repeat,
    linear-gradient(315deg, var(--ink) 50%, transparent 50%) bottom right / 18px 18px no-repeat; }

/* painted postcards (memory): stock border, no corners */
.postcard { background: var(--stock); padding: 10px; border-radius: 2px; box-shadow: var(--paper-shadow); aspect-ratio: 3 / 2; }
.postcard img { width: 100%; height: 100%; object-fit: cover; }

/* bottles + contact shadow */
.bottle { position: relative; }
.bottle img { height: 100%; width: auto; }
.bottle::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 70%; height: 16px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(40,28,15,.30), transparent); }

/* enclosure card (twin of the real scent card) */
.enclosure { position: relative; aspect-ratio: 1.585; border-radius: 14px; background: var(--stock); border: 1px solid rgba(22,21,19,.08);
  box-shadow: var(--paper-shadow); transform: rotate(-3deg); transition: transform .3s var(--ease); }
.enclosure:hover { transform: rotate(0) translateY(-4px); }
.enc { position: absolute; inset: 0; padding: 5.5% 8% 4.5%; display: flex; flex-direction: column; }
.enc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.enc-name { font: 500 13px/1.1 var(--serif); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.enc-no { font: 300 18px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.enc-h { font: 500 9px/1 var(--serif); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin: 6px 0 4px; }
.enc ol { counter-reset: a; font: 400 10.5px/15px var(--sans); color: var(--ink-2); columns: 2; column-gap: 12px; }
.enc li { counter-increment: a; break-inside: avoid; white-space: nowrap; }
.enc li::before { content: counter(a) ". "; font-variant-numeric: tabular-nums; opacity: .7; }
.enc-foot { margin-top: auto; padding-top: 4px; white-space: nowrap; font: 400 8.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
html[lang=ar] .enc ol { font: 400 11px/16px var(--ar-body); }
html[lang=ar] .enc-h { font: 500 11px/1 var(--ar-body); letter-spacing: 0; }

/* ---------- skip links ---------- */
.skip { position: absolute; z-index: 200; inset-inline-start: 16px; top: -80px; background: var(--ink); color: var(--paper); padding: 12px 16px;
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.skip:focus { top: 16px; }

/* =================================================================== 4.0 NAV */
.nav { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--pad); background: transparent; transition: height .4s var(--ease), background-color .4s, box-shadow .4s, transform .3s var(--ease); }
.nav.solid { --nav-h: 60px; background: rgba(243,235,220,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(22,21,19,.10); }
.nav.in-letters { background: color-mix(in oklab, var(--tint) 92%, transparent); }
.nav.hide { transform: translateY(-100%); }
.nav-l { display: flex; gap: 34px; }
.nav-l a { position: relative; font: 400 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; padding: 14px 0; display: inline-flex; align-items: center; gap: 8px; }
.nav-l a::after { content: ""; position: absolute; inset-inline: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease); }
[dir=rtl] .nav-l a::after { transform-origin: right; }
.nav-l a:hover::after { transform: scaleX(1); }
.nav-l a.current::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-ink); }
.nav a:focus-visible, .nav button:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.nav-c { position: relative; display: flex; align-items: center; }
.mark img { height: 38px; width: auto; transition: height .4s var(--ease); }
.nav.solid .mark img { height: 32px; }
.nav-count { position: absolute; inset-inline-start: calc(100% + 18px); white-space: nowrap; font: 500 11px/1 var(--sans); letter-spacing: .12em; color: var(--gold-ink);
  font-variant-numeric: tabular-nums lining-nums; opacity: 0; transition: opacity .2s; }
.nav.in-letters .nav-count { opacity: 1; }
.nav-r { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.nav-write { padding-block: 12px 6px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; transition: opacity .2s; }
.lang:hover { opacity: .7; }
.lang-ar { font: 400 20px/1 var(--hand); color: var(--gold-ink); }
.lang-en { font: italic 400 17px/1 var(--serif); color: var(--ink); }
html[lang=en] .lang-en, html[lang=ar] .lang-ar { display: none; }
.menu-btn { display: none; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; min-height: 44px; }
html[lang=ar] .nav-l a { font: 400 14px/1 var(--ar-body); letter-spacing: 0; }
html[lang=ar] .menu-btn { font: 500 14px/1 var(--ar-body); letter-spacing: 0; }

/* mobile menu sheet */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--stock); padding: 80px 24px 32px; display: flex; flex-direction: column; gap: 28px;
  clip-path: inset(0 0 100% 0); transition: clip-path .3s var(--ease); overflow-y: auto; }
.menu.open { clip-path: inset(0); }
.menu-air { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.menu-close { position: absolute; top: 8px; inset-inline-end: 16px; min-height: 44px; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.menu-index { display: grid; gap: 10px; }
.menu-index a { display: flex; align-items: baseline; gap: 16px; font: 300 34px/1.2 var(--serif); padding: 4px 0; }
.menu-index b { font: 500 12px/1 var(--sans); letter-spacing: .12em; color: var(--gold-ink); }
.menu-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.menu-chips .chip { min-width: 40px; }
.menu-foot { font: 400 12px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.menu-foot a { display: inline-block; padding: 12px 0; }
html[lang=ar] .menu-index a, html[lang=ar] .menu-close { font-family: var(--ar-serif); letter-spacing: 0; }

/* =================================================================== 4.1 HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; }
.art { position: absolute; inset: 0; }
.art img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
[dir=rtl] .art { transform: scaleX(-1); }
.hero-bottle { position: absolute; z-index: 3; left: 60%; bottom: 6svh; height: clamp(320px, 62svh, 640px); aspect-ratio: 783 / 1400; transform: translateX(-50%); }
[dir=rtl] .hero-bottle { left: 40%; }
.hero-bottle img { position: absolute; inset: 0; height: 100%; filter: drop-shadow(14px 18px 14px rgba(90,64,30,.22)) drop-shadow(0 4px 4px rgba(90,64,30,.24)); }
.hero-bottle .b-top { opacity: 0; }
.hero-bottle::after { bottom: -5px; }

.ring-cluster { position: absolute; z-index: 4; inset-inline-end: calc(var(--pad) + 44px); top: 13svh; width: 116px; height: 116px; }
.hero-ring { position: absolute; inset: 0; }
.ring-svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-8deg); }
.ring-ink circle { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.ring-text { fill: var(--gold-ink); font: 500 8.6px var(--sans); letter-spacing: .18em; }
.ring-seven { color: var(--gold-ink); }
.ring-time { fill: var(--gold-ink); font: 500 10.5px var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ring-cancel path { fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
[dir=rtl] .ring-cancel { transform: scaleX(-1); transform-origin: 60px 60px; }
.hero-stamp { position: absolute; width: 84px; height: 104px; left: calc(50% + 22px); top: calc(50% + 2px); transform: rotate(3deg); z-index: -1; }
[dir=rtl] .hero-stamp { left: auto; right: calc(50% + 22px); transform: rotate(-3deg); }
.hero-stamp .stamp-svg { position: absolute; inset: 0; filter: drop-shadow(0 1px 1px rgba(22,21,19,.12)) drop-shadow(0 6px 10px rgba(22,21,19,.14)); }

.hero-copy { position: absolute; z-index: 5; inset-inline-start: var(--pad); top: 55%; transform: translateY(-50%); width: min(640px, 46vw); }
.coords { display: flex; align-items: center; gap: 12px; font: 400 11px/1 var(--sans); letter-spacing: .16em; color: var(--gold-ink); margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.coords .ic { width: 20px; height: 20px; stroke-width: 1; }
.coords .hair { flex: 0 0 auto; width: clamp(80px, 20vw, 360px); height: 1px; background: linear-gradient(90deg, var(--gold), rgba(184,145,63,.25) 70%, rgba(184,145,63,0)); }
[dir=rtl] .coords .hair { background: linear-gradient(-90deg, var(--gold), rgba(184,145,63,.25) 70%, rgba(184,145,63,0)); }
.hero .kicker { margin-bottom: 18px; }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero h1 .l > span { display: block; }
.h-line { margin: 12px 0 14px; min-height: 1.5em; }
.h-line .ar-hand { display: inline-block; font-weight: 700; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.5; }
.h-line .en-it { font-size: 22px; line-height: 1.5; }
.hero .lead { max-width: 40ch; color: var(--ink-2); margin-bottom: 28px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.counter { position: absolute; z-index: 4; right: calc(var(--pad) * .4); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 8px;
  font: 500 11px/1 var(--sans); letter-spacing: .12em; color: var(--gold-ink); font-variant-numeric: tabular-nums lining-nums; writing-mode: vertical-rl; }
[dir=rtl] .counter { right: auto; left: calc(var(--pad) * .4); }
.counter i { width: 1px; height: 46px; background: var(--gold); opacity: .6; }
.roll { display: inline-block; overflow: hidden; height: 3.2em; }
.roll span { display: block; }

.strip { position: absolute; z-index: 5; inset-inline-end: var(--pad); bottom: calc(4svh + 10px); }
.strip-label { font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; padding: 0 0 7px; background: none; box-shadow: none; border-bottom: 1px solid var(--gold); display: block; }
html[lang=ar] .strip-label { font: 500 12.5px/1.2 var(--ar-body); letter-spacing: 0; }
.chips { display: flex; gap: 8px; }
.chips .chip { padding: 6px 3px 0; min-width: 44px; }
.hero-air { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; }

/* =================================================================== 4.2 THE FIRST LETTER */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--pad); max-width: 1584px; margin: 0 auto; }
.story-side { grid-column: 1 / 5; align-self: start; position: sticky; top: 18svh; padding-inline-end: 12px; display: flex; flex-direction: column; min-height: 52svh; }
.story-side .kicker { margin-bottom: 22px; }
.story-side h2 { margin-bottom: 22px; }
.story-side .body { max-width: 34ch; }
.source { margin-top: auto; padding-top: 32px; font: 400 12px/1.6 var(--sans); color: var(--ink-2); opacity: .8; }
.source-m { display: none; }
.story-main { grid-column: 5 / 13; padding-top: 34px; }
.sheet { position: relative; background: var(--aero); padding: clamp(28px, 3.4vw, 52px); transform-origin: 50% 0; box-shadow: 0 1px 2px rgba(22,21,19,.08), 0 30px 50px -34px rgba(22,21,19,.4); }
.sheet .air-border { z-index: 1; }
.crease { position: absolute; left: 0; right: 0; height: 40px; pointer-events: none; z-index: 1;
  background: linear-gradient(rgba(22,21,19,.05), rgba(22,21,19,0)); border-top: 1px solid rgba(22,21,19,.06); }
.crease.c1 { top: 33.3%; } .crease.c2 { top: 66.6%; }
.sheet-in { position: relative; z-index: 2; display: grid; grid-template-columns: 56fr 44fr; gap: clamp(24px, 3vw, 48px); padding: 18px clamp(4px, 1vw, 16px) 8px; }
.sheet-letter .small { margin-bottom: 18px; }
.founder p { font: 400 clamp(16px, min(1.25vw, 2.4vh), 20px)/1.58 var(--serif); color: var(--ink-2); margin-bottom: .8em; max-width: 52ch; }
.founder-sign { color: var(--ink) !important; }
.founder[lang=ar] p { font: 400 clamp(19px, 1.45vw, 21px)/1.95 var(--ar-serif); }
.founder-hand { font-size: 28px; line-height: 1.5; margin-top: 4px; }
.sheet-chart { align-self: start; padding-top: 30px; }
.gulf { width: 100%; height: auto; overflow: hidden; }
.gulf .route { fill: none; stroke: var(--gold); stroke-width: 3.4; stroke-dasharray: 0 11; stroke-linecap: round; }
.gulf .city circle:first-child { fill: var(--ink); }
.gulf .xh { fill: none; stroke: var(--ink); stroke-width: 1.1; opacity: .7; }
.gulf .city text { font: 500 19px var(--sans); letter-spacing: .14em; fill: var(--ink); }
.gulf .g-sea { font: italic 400 27px var(--serif); letter-spacing: .3em; fill: var(--ink-2); }
html[lang=ar] .gulf .city text { font: 500 17px var(--ar-body); letter-spacing: 0; }
html[lang=ar] .gulf .g-sea { font: 400 22px var(--ar-serif); letter-spacing: 0; }
.gulf .dhow path { fill: none; stroke: var(--ink); stroke-opacity: .8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gulf .dhow path:first-child { fill: var(--aero); }
/* the two ends of the journey sit above their places on the chart (geography is never mirrored) */
.sheet-wrap { position: relative; }
.sheet-wrap > .pm { position: absolute; z-index: 3; width: 104px; height: 104px; top: -30px; pointer-events: none; }
.pm-manama { left: calc(61% - 52px); }
.pm-abudhabi { left: calc(84% - 52px); }
[dir=rtl] .pm-manama { left: calc(8% - 40px); }
[dir=rtl] .pm-abudhabi { left: calc(30% - 52px); }
.disclose { margin-top: 26px; }
.other-lang { background: var(--aero); padding: clamp(24px, 3vw, 44px); margin-top: 14px; max-width: 760px; }
.other-lang .founder[lang=en] p { font-size: 18px; }

/* =================================================================== 4.3 THE CORRESPONDENCE */
.letters-intro { min-height: 70svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--section) var(--pad) calc(var(--section) * .6); max-width: calc(760px + var(--pad) * 2); margin: 0 auto; position: relative; }
.letters-intro::after { content: ""; position: absolute; z-index: -1; bottom: 0; left: 50%; width: 100vw; height: 120px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(var(--paper), #F2E7D8); }
.letters-intro .kicker { margin-bottom: 24px; }
.letters-intro h2 { margin-bottom: 26px; font-size: clamp(36px, min(4vw, 7vh), 62px); }
.letters-intro .body { max-width: 54ch; }
.skip-letters { position: absolute; top: auto; bottom: 16px; left: 50%; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.skip-letters:focus { opacity: 1; pointer-events: auto; top: auto; }

/* ---- shared article pieces ---- */
.leaf { position: relative; }
.post-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 560px; }
.post-label { font: 500 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.post-stamp { position: relative; width: 72px; height: 88px; margin-inline-start: 52px; flex: none; }
.post-stamp .stamp-svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px rgba(22,21,19,.12)) drop-shadow(0 6px 10px rgba(22,21,19,.14)); }
.post-stamp .pm { position: absolute; top: 50%; inset-inline-start: -70px; width: 104px; height: 104px; margin-top: -52px; }
.title-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.leaf .label-frame { --stage-bg: var(--tint); }
.leaf .name { font: 400 clamp(30px, min(3.4vw, 6.2vh), 52px)/1 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.leaf .translit { font: 400 24px/1.4 var(--hand); color: var(--gold-hand); }
.addr-block .small { margin-bottom: 2px; }
.to-en { font: italic 400 clamp(19px, min(1.6vw, 3vh), 24px)/1.3 var(--serif); color: var(--ink); border-bottom: 1px dotted var(--gold); padding-bottom: 4px; display: inline; }
html[dir=ltr] .to-ar { text-align: left; }
html[dir=rtl] .to-ar { text-align: right; }
.to-ar { display: block; font: 400 clamp(22px, min(1.8vw, 3.4vh), 28px)/1.5 var(--hand); color: var(--gold-hand); margin-top: 4px; }
.message { font: 400 clamp(18px, min(1.45vw, 2.7vh), 22px)/1.48 var(--serif); color: var(--ink-2); max-width: 44ch; }
.sign { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.sign-en { font: italic 400 18px/1.3 var(--serif); color: var(--ink-2); }
.sign-ar { font: 400 26px/1.3 var(--hand); color: var(--gold-hand); }
.sign .small { flex-basis: 100%; }
.actions { display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; }
.price { font: 300 13px/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.leaf .write { clip-path: inset(0 0 0 0); }
html.pin .actions { flex-wrap: nowrap; column-gap: 16px; }
html.pin .actions .btn { padding-inline: 22px; flex: none; }
html.pin .price { max-width: 7.5em; line-height: 1.35; }
html.pin .actions .link { white-space: nowrap; }
/* AR mode inside letters */
html[lang=ar] .to-en { font: 400 clamp(22px, min(1.8vw, 3.4vh), 28px)/1.5 var(--hand); color: var(--gold-hand); }
html[lang=ar] .to-ar { font: italic 400 18px/1.3 var(--serif); color: var(--ink-2); }
html[lang=ar] .message { font: 400 clamp(19px, 1.6vw, 23px)/1.9 var(--ar-serif); }
html[lang=ar] .post-label, html[lang=ar] .small { font-family: var(--ar-body); letter-spacing: 0; font-size: 12.5px; }

/* ---- stacked letters (mobile, tablet, short screens, reduced motion) ---- */
.stage { position: relative; }
.desk, .rail, .sun { display: none; }
.leaves { display: block; }
.leaf { background: var(--lt); padding: 72px 16px; display: flex; flex-direction: column; gap: 18px; max-width: 100%; }
html:not(.pin) .leaves { background: var(--paper); }
html:not(.pin) .leaf { padding-inline: max(16px, calc((100% - 600px) / 2)); }
html:not(.pin) .leaf + .leaf::before { content: ""; position: absolute; top: -60px; left: 0; right: 0; height: 120px; background: linear-gradient(var(--lt-prev), var(--lt)); }
html:not(.pin) .leaf > * { position: relative; }
html:not(.pin) .leaf::after { content: ""; position: absolute; left: 50%; bottom: -28px; width: 2px; height: 56px; z-index: 2;
  background: radial-gradient(circle, var(--gold) 1px, transparent 1.4px) 50% 0 / 2px 8px repeat-y; }
html:not(.pin) .leaf:last-child::after { display: none; }
.leaf-card { position: relative; margin: 8px 0 34px; }
.leaf-card .postcard { padding: 8px; transform: rotate(var(--mrot, -1deg)); }
.leaf-card .bottle { position: absolute; height: 74%; aspect-ratio: 783/1400; inset-inline-end: 2%; bottom: -12%; }
.leaf-card .bottle img { height: 100%; filter: drop-shadow(8px 12px 10px rgba(90,64,30,.22)); }
.leaf-enc { width: 86%; margin: 10px auto 0; }
.leaf-enc .enclosure { transform: rotate(-2deg); }
.leaf .btn { align-self: stretch; }
html:not(.pin) .leaf .actions .btn { width: 100%; height: 54px; }
html:not(.pin) .post-stamp { width: 56px; height: 68px; margin-inline-start: 46px; }
html:not(.pin) .post-stamp .pm { width: 80px; height: 80px; margin-top: -40px; inset-inline-start: -56px; }
html:not(.pin) .leaf .name { font-size: 34px; }
html:not(.pin) .title-row { flex-direction: column; align-items: flex-start; gap: 6px; }
html:not(.pin) .leaf .translit { font-size: 22px; }
html:not(.pin) .to-ar { font-size: 22px; }
html:not(.pin) .message { font-size: 19px; line-height: 1.5; }
html:not(.pin) .leaf-card { margin-top: 18px; margin-bottom: 40px; }

/* ---- the pinned stage (desktop) ---- */
html.pin .stage { height: 100vh; height: 100svh; padding: 88px var(--pad) 76px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  background: var(--tint); overflow: hidden; --sx: 10%; --sy: 32%; --sun: 1; --moon: 0; }
html.pin .sun { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
html.pin .sun::before { content: ""; position: absolute; inset: 0; opacity: var(--sun); mix-blend-mode: soft-light;
  background: radial-gradient(circle 38vw at var(--sx) var(--sy), rgba(255,246,225,.45), transparent 70%); }
html.pin .sun::after { content: ""; position: absolute; inset: 0; opacity: var(--moon);
  background: radial-gradient(circle 30vw at 50% 8%, rgba(205,214,235,.16), transparent 70%); }
html.pin .desk { display: block; grid-column: 1 / 7; align-self: center; position: relative; z-index: 1; margin-top: -2svh; }
html.pin .pile-wrap { position: relative; width: min(100%, calc((100svh - 300px) * 1.5), 760px); aspect-ratio: 3 / 2; margin-inline: auto; }
html.pin .pile { position: absolute; inset: 0; z-index: 1; }
html.pin .pile .postcard { position: absolute; inset: 0; transform: rotate(var(--r)); transition: box-shadow .3s var(--ease), translate .3s var(--ease); will-change: transform; }
html.pin .pile .postcard.top:hover { translate: 0 -4px; box-shadow: 0 1px 2px rgba(22,21,19,.10), 0 30px 50px -26px rgba(22,21,19,.5); }
html.pin .desk-bottle { position: absolute; z-index: 3; inset-inline-end: -5%; bottom: -9%; height: 94%; aspect-ratio: 783 / 1400; pointer-events: none; }
html.pin .desk-bottle img { position: absolute; inset: 0; height: 100%; filter: drop-shadow(12px 16px 12px rgba(90,64,30,.22)) drop-shadow(0 3px 3px rgba(90,64,30,.24)); }
html.pin .desk-bottle img + img { opacity: 0; }
html.pin .desk-bottle::after { bottom: -4px; }
html.pin .enc-wrap { position: absolute; z-index: 4; width: clamp(200px, 16vw, 260px); inset-inline-start: -4%; bottom: -13%; }
html.pin .enclosure .enc { opacity: 0; }
html.pin .enclosure .enc:first-child { opacity: 1; }
html.pin .leaves { grid-column: 7 / 13; align-self: center; display: grid; position: relative; z-index: 2; padding-inline-start: clamp(8px, 2vw, 40px); }
html.pin .leaf { grid-area: 1 / 1; background: none; padding: 0; gap: clamp(10px, 1.7vh, 18px); visibility: hidden; }
html.pin .leaf.on { visibility: visible; }
html.pin .leaf-card, html.pin .leaf-enc { display: none; }
html.pin .rail { display: block; position: absolute; z-index: 3; bottom: 22px; inset-inline: var(--pad); height: 34px; }
.rail-line { position: absolute; left: 11px; right: 11px; top: 19px; height: 3px; }
.rail-dots { position: absolute; inset: 0; background: radial-gradient(circle, var(--gold) 1px, transparent 1.4px) 0 50% / 8px 3px repeat-x; opacity: .35; }
.rail-drawn { opacity: 1; clip-path: inset(0 calc(100% - var(--railp, 0) * 100%) 0 0); }
[dir=rtl] .rail-drawn { clip-path: inset(0 0 0 calc(100% - var(--railp, 0) * 100%)); }
.rail-chips { position: absolute; inset: -18px 0 0; display: flex; justify-content: space-between; }
.rail-chips .chip { min-height: 52px; min-width: 44px; padding: 0; place-items: center; }
html.pin .post-stamp .pm-svg, html.pin .post-stamp .stamp-svg { will-change: transform; }

@media (max-height: 720px) {
  html.pin .post-stamp { width: 60px; height: 74px; }
  html.pin .post-stamp .pm { width: 88px; height: 88px; margin-top: -44px; inset-inline-start: -60px; }
  html.pin .enclosure { scale: .85; transform-origin: 0 100%; }
  html.pin .leaves { translate: 0 -6px; }
}

/* plate I */
.plate1 { padding: calc(var(--section) * .9) var(--pad) var(--section); text-align: center; background: var(--paper); }
.plate1-fig { max-width: 640px; margin: 0 auto; }
.plate1 .cap { margin-top: 14px; }
.plate-line { font: italic 400 20px/1.5 var(--serif); color: var(--ink-2); margin-top: 10px; }
.plate-line [lang=ar] { font: 400 22px/1.7 var(--ar-serif); font-style: normal; }

/* mobile sticky mini strip */
.mini { display: none; }

/* =================================================================== 4.4 THE PARCEL */
.parcel { background: var(--paper-2); padding: var(--section) var(--pad); }
.parcel-row, .parcel-row2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); max-width: 1440px; margin: 0 auto; }
.parcel-side { grid-column: 1 / 5; position: sticky; top: 18svh; align-self: start; padding-inline-end: 8px; }
.parcel-side .kicker, .reply-side .kicker, .shop-text .kicker { margin-bottom: 22px; }
.parcel-side h2 { margin-bottom: 22px; }
.legend { margin-top: 30px; border-top: 1px solid rgba(22,21,19,.12); }
.legend li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(22,21,19,.12); font: 300 15px/1.55 var(--sans); color: var(--ink-2); transition: color .2s; }
.legend li.hl { color: var(--ink); }
.legend li.hl > span:last-child { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.pin-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--stock); border: 1px solid var(--ink); display: grid; place-items: center;
  font: 500 10px/1 var(--sans); color: var(--ink); margin-top: 1px; }
.parcel-plate { grid-column: 5 / 13; }
.plate2 { padding: 18px; }
.plate2-img { position: relative; }
.plate2 .cap, .parcel-plate .cap { margin-top: 14px; }
.ppin { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--stock);
  border: 1px solid var(--ink); display: grid; place-items: center; font: 500 11px/1 var(--sans); color: var(--ink); z-index: 2;
  box-shadow: 0 2px 6px rgba(22,21,19,.2); transition: box-shadow .2s, transform .2s; }
.ppin::before { content: ""; position: absolute; inset: -10px; }
.ppin.hl, .ppin:hover { box-shadow: 0 0 0 3px var(--stock), 0 0 0 4px var(--gold); }
.ppin:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px; background: var(--stock);
  border: 1px solid var(--ink); padding: 8px 10px; font: 400 12px/1.45 var(--sans); color: var(--ink); text-align: start; opacity: 0; pointer-events: none; transition: opacity .2s; }
.ppin:hover .tip, .ppin:focus-visible .tip, .ppin.hl .tip { opacity: 1; }
.parcel-row2 { margin-top: 12svh; align-items: center; }
.gift { grid-column: 1 / 7; display: flex; flex-direction: column; align-items: flex-start; }
.gift .caption { width: min(100%, 440px); }
.gift-fig { width: min(100%, 440px); transform: rotate(-1.2deg); }
.gift-fig img { aspect-ratio: 4 / 5; object-fit: cover; }
.caption { font: 400 12px/1.6 var(--sans); letter-spacing: .04em; color: var(--kraft-ink); margin-top: 20px; max-width: 44ch; text-align: center; }
.keep { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-inline-start: clamp(0px, 3vw, 56px); }
.refill { position: relative; overflow: hidden; width: min(420px, 100%); aspect-ratio: 420 / 260; background: var(--stock); border: 1px solid rgba(22,21,19,.14); border-radius: 2px;
  border-start-end-radius: 28px; box-shadow: var(--paper-shadow); padding: 26px 28px 22px; display: flex; flex-direction: column; }
.refill-title { font: 500 14px/1.3 var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.refill-text { font: 300 13px/1.55 var(--sans); color: var(--ink-2); margin-top: 6px; max-width: 34ch; }
.refill-title [lang=ar] { font: 700 17px/1.4 var(--ar-serif); }
.refill-text [lang=ar] { font: 300 14px/1.8 var(--ar-body); }
.circles { display: flex; gap: 18px; margin-top: auto; justify-content: space-between; margin-inline: 6%; }
.circle { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ink-2); display: grid; place-content: center; text-align: center; gap: 2px;
  font: 500 8.5px/1.1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.circle b { font-weight: 500; color: var(--ink); }
html[lang=ar] .circle { font: 500 10px/1.3 var(--ar-body); letter-spacing: 0; }
.circle .mark { position: absolute; width: 60px; height: 60px; top: -16px; inset-inline-end: -20px; pointer-events: none; }
.circle .mark svg { width: 100%; height: 100%; overflow: visible; }
.circle .mark .pm-ink { opacity: .4; }

/* =================================================================== 4.5 THE SHOP */
.shop { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--pad); max-width: 1584px; margin: 0 auto; align-items: center; }
.shop-photos { grid-column: 1 / 8; position: relative; --eh: clamp(420px, 68svh, 600px); height: calc(var(--eh) * 1.18 + 60px); }
.snap { position: absolute; }
.snap .tipped img { height: 100%; width: 100%; object-fit: cover; }
.snap-ext { inset-inline-start: 4%; top: 0; width: min(500px, calc(var(--eh) * .75)); transform: rotate(-1.5deg); }
.snap-ext .tipped { height: var(--eh); }
.snap-int { width: calc(var(--eh) * .6 * .75); inset-inline-start: calc(4% + min(500px, var(--eh) * .75) * .78); top: calc(var(--eh) * .7); transform: rotate(2deg); z-index: 2; }
.snap-int .tipped { height: calc(var(--eh) * .6); }
.snap-int img { object-position: 50% 0; }
.snap figcaption { margin-top: 12px; }
.snap-ext figcaption { max-width: 72%; }
html[lang=ar] .snap figcaption { font-family: var(--ar-body); letter-spacing: 0; }
.shop-stamp { position: absolute; z-index: 3; top: -26px; inset-inline-end: -30px; width: 72px; height: 88px; transform: rotate(4deg); }
.shop-stamp .stamp-svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px rgba(22,21,19,.12)) drop-shadow(0 6px 10px rgba(22,21,19,.14)); }
.shop-stamp .pm { position: absolute; width: 96px; height: 96px; top: -20px; inset-inline-start: auto; inset-inline-end: -62px; }
.shop-text { grid-column: 8 / 13; padding-inline-start: clamp(0px, 1.5vw, 24px); }
.shop-text h2 { margin-bottom: 18px; }
.turn { font: italic 400 clamp(20px, 1.6vw, 26px)/1.4 var(--serif); color: var(--ink-2); margin-bottom: 18px; max-width: 32ch; text-wrap: balance; }
.shop-text .body { margin-bottom: 26px; max-width: 46ch; }
.addr { width: 100%; max-width: 380px; background: var(--stock); border: 1px solid rgba(22,21,19,.14); margin-bottom: 28px; }
.addr th, .addr td { text-align: start; padding: 12px 18px; border-bottom: 1px solid rgba(22,21,19,.10); vertical-align: top; }
.addr tr:last-child th, .addr tr:last-child td { border-bottom: 0; }
.addr th { font: 500 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); width: 1%; white-space: nowrap; padding-inline-end: 8px; }
.addr td { font: 400 13.5px/1.5 var(--sans); color: var(--ink); }
.addr a { border-bottom: 1px solid var(--gold); }
html[lang=ar] .addr th { font: 500 12px/1.6 var(--ar-body); letter-spacing: 0; }
html[lang=ar] .addr td { font: 400 14px/1.6 var(--ar-body); }

/* =================================================================== 4.6 WRITE BACK */
.reply { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: var(--section) var(--pad); background: var(--kraft); position: relative; }
.reply-side { grid-column: 1 / 6; }
.reply-side h2 { margin-bottom: 18px; }
.reply .body { color: var(--ink-2); font-size: 16px; font-weight: 400; margin-bottom: 30px; }
.reply .kicker { color: var(--ink); }
.reply h2 em { color: var(--ink); }
.ar-k { font: 400 16px/1 var(--hand); letter-spacing: 0; text-transform: none; color: var(--ink); }
.sheet-stamps { background: var(--stock); padding: 20px; display: grid; grid-template-columns: repeat(4, 96px); justify-content: center; gap: 14px; width: max-content; max-width: 100%;
  box-shadow: 0 1px 2px rgba(22,21,19,.12), 0 22px 40px -26px rgba(22,21,19,.5); position: relative; }
.sheet-stamps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; border-top: 1px dashed rgba(22,21,19,.25); }
.sheet-stamps .ss:nth-child(5) { grid-column: 1 / 2; margin-inline-start: 55px; }
.sheet-stamps .ss:nth-child(n+5) { transform: translateX(55px); }
[dir=rtl] .sheet-stamps .ss:nth-child(n+5) { transform: translateX(-55px); }
.sheet-stamps .ss:nth-child(5) { margin: 0; }
.ss { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-block: 4px 2px; transition: transform .2s var(--ease), opacity .2s; position: relative; }
.ss .stamp-svg { width: 96px; height: 120px; filter: drop-shadow(0 1px 1px rgba(22,21,19,.12)) drop-shadow(0 6px 10px rgba(22,21,19,.14)); transition: transform .2s var(--ease), opacity .2s; }
.ss:hover .stamp-svg { transform: translateY(-3px); }
.ss .ss-no, .ss .ss-name { font: 500 9.5px/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-align: center; white-space: nowrap; }
.ss .ss-no { letter-spacing: .14em; margin-bottom: -4px; }
.ss .ss-time { font: 400 9.5px/1 var(--sans); letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ss[aria-checked="true"] .stamp-svg { transform: translateY(-4px); opacity: .4; }
.ss:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.read-its { margin-top: 18px; }
.reply-main { grid-column: 7 / 13; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; }
.env-wrap { position: relative; width: min(640px, 100%); }
.envelope { position: relative; width: 100%; aspect-ratio: 1.62; background: var(--stock); box-shadow: 0 30px 60px -30px rgba(22,21,19,.45), 0 1px 2px rgba(22,21,19,.12); }
.flap { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(22,21,19,.18); stroke-width: 1; z-index: 1; }
.byair { position: absolute; z-index: 2; top: 30px; inset-inline-start: 30px; height: 26px; padding: 0 12px; background: var(--ink); color: var(--stock); display: flex; align-items: center; gap: 6px;
  font: 500 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.byair [lang=ar] { font: 400 13px/1 var(--hand); letter-spacing: 0; }
.slot { position: absolute; z-index: 2; top: 28px; inset-inline-end: 30px; width: 96px; height: 120px; border: 1px dashed rgba(22,21,19,.3); display: grid; place-items: center; text-align: center; }
.slot.filled { border-color: transparent; }
.slot-empty { font: 400 10px/1.3 var(--sans); color: var(--ink-2); letter-spacing: .06em; padding: 8px; }
html[lang=ar] .slot-empty { font: 400 12px/1.4 var(--ar-body); }
.slot.filled .slot-empty { display: none; }
.slot-stamp { position: absolute; inset: 0; }
.slot-stamp .stamp-svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px rgba(22,21,19,.12)) drop-shadow(0 6px 10px rgba(22,21,19,.14)); }
.slot-pm { position: absolute; width: 104px; height: 104px; top: 50%; margin-top: -52px; inset-inline-start: -66px; pointer-events: none; }
.seal { position: absolute; z-index: 3; width: 120px; height: 84px; left: 50%; top: 42%; margin: -42px 0 0 -60px; opacity: 0; transform: rotate(-4deg); }
.seal .seal-svg { width: 100%; height: 100%; opacity: .8; }
.env-reply { position: absolute; z-index: 4; left: 50%; top: calc(42% + 50px); transform: translateX(-50%); width: min(34ch, 76%); text-align: center; }
.dear { font: italic 400 clamp(18px, 1.5vw, 23px)/1.38 var(--serif); color: var(--ink); }
.dear em { font-style: italic; color: var(--kraft-ink); }
html[lang=ar] .dear { font: 400 clamp(19px, 1.6vw, 23px)/1.8 var(--ar-serif); }
html[lang=ar] .dear em { font-family: var(--hand); font-style: normal; color: var(--gold-hand); }
.for { position: absolute; z-index: 4; bottom: 30px; inset-inline-start: 34px; border: 0; display: flex; gap: 22px; }
.for label { display: inline-flex; align-items: center; gap: 9px; font: 400 13px/1 var(--sans); color: var(--ink); cursor: pointer; min-height: 44px; position: relative; }
html[lang=ar] .for label { font: 400 14px/1 var(--ar-body); }
.for input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.for .box { width: 16px; height: 16px; border: 1px solid var(--ink); display: grid; place-items: center; transition: border-color .2s; background: var(--stock); }
.for label:hover .box { border-color: var(--gold-ink); }
.for input:focus-visible + .box { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.for .box svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.for .box path { stroke-dasharray: 13; stroke-dashoffset: 13; transition: stroke-dashoffset 160ms linear; }
.for .box path + path { transition-delay: 0ms; }
.for input:checked + .box path { stroke-dashoffset: 0; }
.for input:checked + .box path + path { transition-delay: 160ms; }
.env-to { position: absolute; z-index: 2; bottom: 34px; inset-inline-end: 34px; text-align: start; line-height: 1.7; font-size: 10px; color: var(--ink); }
.reply-cta { width: min(640px, 100%); display: flex; justify-content: center; }
.reply .btn:focus-visible { outline-color: var(--ink); }

/* =================================================================== 4.7 RETURN ADDRESS */
.foot { padding: 96px var(--pad) 32px; max-width: 1584px; margin: 0 auto; }
.foot-line { text-align: center; }
.foot-line .big { font-size: clamp(40px, 5vw, 76px); line-height: 1.45; display: inline-block; }
.foot-line .en-it { font-weight: 300; font-size: clamp(22px, 2vw, 30px); margin-top: 6px; }
.foot-row { margin-top: 72px; border-top: 1px solid rgba(22,21,19,.12); padding-top: 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-from img { height: 36px; width: auto; margin-bottom: 16px; }
.foot-from p { font: 400 13px/1.8 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); max-width: 30ch; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-content: start; }
.foot-links a { font: 400 11.5px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 4px 0; justify-self: start; position: relative; }
.foot-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 280ms var(--ease); }
.foot-links a:hover::after { transform: scaleX(1); }
.foot-tag { text-align: end; }
.foot-tag .en-it { font-size: 22px; line-height: 1.3; }
.foot-tag .ar-hand { font-size: 26px; line-height: 1.6; }
.hem { display: flex; margin-top: 48px; height: 4px; }
.hem i { flex: 1; transform-origin: left; }
[dir=rtl] .hem i { transform-origin: right; }
.hem i:nth-child(1) { background: var(--s1); } .hem i:nth-child(2) { background: var(--s2); } .hem i:nth-child(3) { background: var(--s3); }
.hem i:nth-child(4) { background: var(--s4); } .hem i:nth-child(5) { background: var(--s5); } .hem i:nth-child(6) { background: var(--s6); } .hem i:nth-child(7) { background: var(--s7); }
.foot-small { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; font: 300 12px/1.6 var(--sans); color: var(--ink-2); }
.foot-small p { opacity: .8; }
html[lang=ar] .foot-from p, html[lang=ar] .foot-links a { font-family: var(--ar-body); letter-spacing: 0; font-size: 14px; }

.float-env { display: none; }

/* =================================================================== AR typography (3.2) */
html[lang=ar] body { font: 300 17px/1.9 var(--ar-body); }
html[lang=ar] h1 { font: 400 clamp(40px, min(5.4vw, 10vh), 84px)/1.35 var(--ar-serif); text-transform: none; letter-spacing: 0; }
html[lang=ar] h2 { font: 400 clamp(32px, 3.3vw, 52px)/1.45 var(--ar-serif); letter-spacing: 0; }
html[lang=ar] h2 em { font-style: normal; }
html[lang=ar] .kicker { font: 500 13px/1.6 var(--ar-body); letter-spacing: 0; }
html[lang=ar] .body, html[lang=ar] .lead { font-size: 17px; line-height: 1.9; }
html[lang=ar] .turn { font: 400 clamp(20px, 1.6vw, 24px)/1.7 var(--ar-serif); }
html[lang=ar] .caption, html[lang=ar] .legend li { font-family: var(--ar-body); letter-spacing: 0; }
html[lang=ar] .letters-intro h2 { font-size: clamp(34px, 3.6vw, 56px); }
html[lang=ar] .source { font-family: var(--ar-body); }
html[lang=ar] .coords { direction: ltr; justify-content: flex-end; flex-direction: row-reverse; }
main { transition: opacity .2s; overflow-x: clip; }
main.fading { opacity: 0; }

/* =================================================================== responsive */
/* ---- desktop / laptop only ---- */
@media (min-width: 821px) {
  /* hero strip: one pane of stamps on stock */
  .strip { background: var(--stock); padding: 10px 12px 4px; box-shadow: var(--paper-shadow); }
  /* footer tagline: both lines share the right edge */
  html[dir=ltr] .foot-tag .ar-hand { text-align: right; }
}
@media (min-width: 1024px) {
  /* write back: the envelope stays in view while a lower-row stamp is chosen */
  .reply-main { position: sticky; top: 12svh; align-self: start; }
}
@media (max-width: 1280px) {
  .nav-l { gap: 24px; }
}
@media (max-width: 1023px) {
  .story-side, .parcel-side { position: static; }
}
@media (max-width: 820px) {
  :root { --gap: 16px; --nav-h: 60px; --section: 72px; }
  body { font-size: 15px; line-height: 1.65; }
  h2 { font-size: 34px; }
  .nav { grid-template-columns: auto 1fr auto; padding-inline: 16px; height: 60px; }
  .nav.solid { --nav-h: 60px; }
  .nav-l, .nav-write { display: none; }
  .nav-c { grid-column: 1; }
  .mark img, .nav.solid .mark img { height: 30px; }
  .nav-count { display: none; }
  .nav-r { grid-column: 3; gap: 14px; }
  .menu-btn { display: inline-flex; align-items: center; }

  /* hero: copy, art block, copy */
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding-top: 76px; overflow: hidden; }
  .hero-copy { display: contents; }
  .hero-head { order: 1; padding: 0 16px; }
  .hero-stage { order: 2; position: relative; inset: auto; height: 60svh; min-height: 420px; margin-top: 4px; }
  .hero-foot { order: 3; padding: 26px 16px 0; }
  .strip { order: 4; position: relative; inset: auto; bottom: auto; padding: 30px 0 34px; display: flex; flex-direction: column; align-items: center; }
  .hero-air { order: 5; position: relative; height: 4px; }
  .coords { margin-bottom: 14px; font-size: 10.5px; }
  .coords .hair { width: 64px; }
  .hero .kicker { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .h-line { margin: 8px 0 0; }
  .art img { object-fit: cover; object-position: 50% 0; -webkit-mask-image: linear-gradient(transparent 0, #000 6%, #000 88%, transparent); mask-image: linear-gradient(transparent 0, #000 6%, #000 88%, transparent); }
  .hero-bottle { left: 36%; bottom: 6%; height: 40svh; max-height: 86%; }
  [dir=rtl] .hero-bottle { left: 66%; }
  .ring-cluster { top: 4px; inset-inline-end: 44px; transform: scale(.66); transform-origin: 100% 0; }
  [dir=rtl] .ring-cluster { transform-origin: 0 0; }
  .hero .lead { font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
  .hero .btn-row { flex-direction: column; gap: 6px; }
  .btn { width: 100%; height: 54px; }
  .counter { display: none; }
  .chips { gap: 6px; }
  .chips .chip { min-width: 38px; padding-inline: 0; }

  /* story */
  .story { display: block; padding: 72px 16px; }
  .story-side { min-height: 0; padding: 0; margin-bottom: 44px; }
  .story-side .source { display: none; }
  .source-m { display: block; }
  .story-main { padding-top: 26px; }
  .sheet { padding: 22px 18px; }
  .sheet .air-border { inset: 8px; }
  .sheet .air-border i:nth-child(1), .sheet .air-border i:nth-child(2) { height: 4px; }
  .sheet .air-border i:nth-child(3), .sheet .air-border i:nth-child(4) { width: 4px; }
  .sheet-in { grid-template-columns: 1fr; padding: 16px 6px 6px; gap: 10px; }
  .founder p { font-size: 17px; line-height: 1.6; }
  .founder[lang=ar] p { font-size: 19px; line-height: 1.95; }
  .sheet-wrap > .pm { width: 73px; height: 73px; top: -26px; }
  .pm-manama, [dir=rtl] .pm-manama { left: 14px; } .pm-abudhabi, [dir=rtl] .pm-abudhabi { left: auto; right: 14px; }
  .sheet-chart { padding-top: 6px; }

  .letters-intro { min-height: 0; padding: 72px 16px 56px; }
  .letters-intro h2 { font-size: 34px; }

  /* mini strip under the nav while in #letters */
  .mini { display: block; position: fixed; z-index: 55; top: 60px; left: 0; right: 0; height: 40px; background: rgba(250,246,238,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(22,21,19,.08); transform: translateY(-110%); opacity: 0; transition: transform .3s var(--ease), opacity .3s; pointer-events: none; }
  .mini.on { transform: none; opacity: 1; pointer-events: auto; }
  .mini-chips { display: flex; justify-content: center; gap: 8px; height: 100%; align-items: flex-end; padding-bottom: 4px; }
  .mini .chip { min-width: 40px; min-height: 36px; padding: 0; }
  .mini .chip[aria-selected="true"] { transform: translateY(-3px); }

  .plate1 { padding: 72px 16px; }

  /* parcel */
  .parcel { padding: 72px 16px; }
  .parcel-row, .parcel-row2 { display: block; }
  .parcel-side { margin-bottom: 36px; }
  .plate2 { padding: 10px; }
  .plate2.tipped::after { background-size: 12px 12px; }
  .ppin { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .tip { display: none; }
  .parcel-plate .legend { display: block; }
  .parcel-row2 { margin-top: 64px; }
  .gift-fig { width: 100%; transform: none; }
  .keep { padding: 0; margin-top: 56px; }
  .refill { width: 100%; padding: 20px; }
  .circle { width: 54px; height: 54px; }

  /* shop */
  .shop { display: flex; flex-direction: column; align-items: stretch; padding: 72px 16px; }
  .shop-text { display: contents; }
  .shop-text .kicker { order: 1; } .shop-text h2 { order: 2; } .shop-text .turn { order: 3; }
  .shop-photos { order: 4; width: 100%; height: auto; --eh: auto; margin: 26px 0 40px; padding-bottom: 32%; }
  .shop-text .body { order: 5; } .addr { order: 6; max-width: none; } .shop-text .btn-row { order: 7; flex-direction: column; gap: 6px; }
  .snap { position: relative; }
  .snap-ext { inset: auto; width: 100%; transform: rotate(-1deg); }
  .snap-ext .tipped { height: auto; aspect-ratio: 3 / 4; }
  .snap-int { position: absolute; width: 58%; inset-inline-start: auto; inset-inline-end: -2%; top: auto; bottom: 0; transform: rotate(2deg); }
  .snap-int .tipped { height: auto; aspect-ratio: 3 / 4; }
  .snap-ext figcaption { max-width: 40%; }
  .tipped::after { background-size: 12px 12px; }
  .shop-stamp { transform: scale(.75) rotate(4deg); top: -30px; inset-inline-end: -10px; }
  .shop-stamp .pm { top: -6px; inset-inline-end: auto; inset-inline-start: -52px; }

  /* reply */
  .reply { display: block; padding: 72px 16px; }
  .sheet-stamps { grid-template-columns: repeat(4, 72px); gap: 10px; padding: 14px; width: 100%; }
  .ss .stamp-svg { width: 72px; height: 90px; }
  .sheet-stamps .ss:nth-child(n+5) { transform: translateX(41px); }
  [dir=rtl] .sheet-stamps .ss:nth-child(n+5) { transform: translateX(-41px); }
  .ss .ss-name, .ss .ss-no { font-size: 8.5px; letter-spacing: .1em; white-space: normal; }
  .reply-main { margin-top: 40px; gap: 22px; }
  .envelope { width: 100%; aspect-ratio: 1.5; }
  .byair { top: 22px; inset-inline-start: 22px; font-size: 8px; padding: 0 8px; }
  .slot { top: 20px; inset-inline-end: 22px; width: 72px; height: 90px; }
  .slot-pm { width: 80px; height: 80px; margin-top: -40px; inset-inline-start: -50px; }
  .seal { transform: scale(.8) rotate(-4deg); }
  .env-to { bottom: 24px; inset-inline-end: 24px; font-size: 9px; }
  .env-wrap { width: 100%; display: flex; flex-direction: column; gap: 18px; }
  .env-reply, .for { position: static; transform: none; width: auto; }
  .env-reply { text-align: start; margin-top: 10px; }
  .dear { font-size: 20px; }
  .for { padding: 0; }
  .reply-cta { width: 100%; }

  /* footer */
  .foot { padding: 72px 16px 28px; text-align: center; }
  .foot-line .big { font-size: 40px; }
  .foot-line .en-it { font-size: 22px; }
  .foot-row { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
  .foot-from img { margin: 0 auto 14px; }
  .foot-links { justify-items: center; }
  .foot-links a { justify-self: center; }
  .foot-tag { text-align: center; }
  .foot-small { flex-direction: column; }

  /* floating envelope */
  .float-env { display: block; position: fixed; z-index: 58; bottom: 16px; inset-inline-end: 16px; width: 56px; height: 40px; background: var(--stock); border: 1px solid var(--ink);
    box-shadow: 0 8px 18px -8px rgba(22,21,19,.4); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .float-env.on { opacity: 1; transform: none; pointer-events: auto; }
  .float-env::before { content: ""; position: absolute; inset: -4px; }
  .fe-flap { position: absolute; inset: 0; background:
    linear-gradient(to top right, transparent calc(50% - .5px), var(--ink) 50%, transparent calc(50% + .5px)) 0 0 / 50% 55% no-repeat,
    linear-gradient(to top left, transparent calc(50% - .5px), var(--ink) 50%, transparent calc(50% + .5px)) 100% 0 / 50% 55% no-repeat; }
  .fe-stamp { position: absolute; top: 3px; inset-inline-end: 3px; width: 14px; height: 17px; transition: opacity .2s; }
  .fe-stamp .stamp-svg { width: 14px; height: 17px; }
}
@media (max-width: 480px) {
  .reply-side .sheet-stamps { margin-inline: auto; }
}
@media (max-width: 370px) {
  html:not(.pin) .leaf .name { font-size: 30px; }
  html:not(.pin) .leaf .label-frame { padding: 18px 20px 12px; }
  .sheet-stamps { grid-template-columns: repeat(4, 64px); gap: 8px; padding: 12px; }
  .ss .stamp-svg { width: 64px; height: 80px; }
  .sheet-stamps .ss:nth-child(n+5) { transform: translateX(36px); }
  [dir=rtl] .sheet-stamps .ss:nth-child(n+5) { transform: translateX(-36px); }
  .chips { gap: 4px; }
  .chips .chip { min-width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .15s !important; animation: none !important; }
}
