/* CUPAFiNGA — modern Egyptian minimalism on kraft.

   Five colours and no others: a warm off-white ground, the board, the brand
   brown (every act — basket, call to action — is drawn in it), a warm near-
   black for text instead of black, and a sage that is ONLY for lines and
   icons (it is 4.1:1 on the ground, under AA for small text; --sage-ink is
   the one shade of it that may carry words).

   Egypt is in the details and nowhere else: arched picture frames, a pair of
   wings and a sun disc under a section title, a faint papyrus grain behind
   the hero and the preview band. No pyramids, no gold, no hieroglyph type.

   Two typefaces, served from this folder (no request to Google): Fraunces for
   headings, Manrope for everything a person reads to act. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F7F1E7;
  --kraft: #C59A63;
  --brand: #92561F;      /* 5.2:1 on --bg, 5.9:1 under white */
  --ink: #211B16;        /* 15:1 on --bg */
  --sage: #6F7865;       /* lines and icons only */
  --surface: #FFFDF9;
  --ink-2: #5A4B3C;      /* 7.5:1 on --bg */
  --sage-ink: #535B4B;   /* sage that can carry small words: 6.3:1 */
  --kraft-soft: #EEE2CF;
  --line: #E3D7C4;
  --on-brand: #FFFFFF;
  --shadow: 0 1px 2px rgba(33, 27, 22, .05), 0 8px 22px rgba(33, 27, 22, .07);
  --r: 14px;
  --r-sm: 8px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 20px; --s-5: 32px; --s-6: 48px;
  --section: 72px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --head: 68px;
  /* Papyrus: a faint fibrous grain, drawn rather than fetched. */
  --papyrus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (max-width: 760px) { :root { --section: 44px; --head: 58px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:where(button, input, select) { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 var(--s-4); }
h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }
.section { padding-top: var(--section); }
.section-band { margin-top: var(--section); padding: var(--section) 0; }
.small { font-size: 14px; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 36em; margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-ink); margin: 0 0 var(--s-3); font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-200%); background: var(--brand); color: var(--on-brand); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { transform: none; }
.empty { color: var(--ink-2); padding: var(--s-4) 0; }
.link { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-flex; align-items: center; min-height: 44px; }
.paper { background-color: var(--kraft-soft); background-image: var(--papyrus); }
/* The arch: a doorway's top on every framed picture. */
.arch { border-radius: 999px 999px var(--r) var(--r); }

/* Section heading: title, then the wings. */
.sh { display: grid; justify-items: center; text-align: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.sh .lead { margin-top: var(--s-1); }
.wings { color: var(--kraft); display: block; }
.story .sh, .matter .sh, .wait .sh.left { justify-items: start; text-align: left; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--brand); border-radius: 999px;
  background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  transition: background-color .2s, color .2s;
}
/* The sun disc: on hover a small disc rises at the button's foot. */
.btn::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: currentColor; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.btn:hover::after { opacity: .18; transform: translateY(0); }
.btn:hover { background: #7E4919; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: rgba(146, 86, 31, .07); }
.btn.wide { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 2px 14px rgba(33, 27, 22, .06); }
.top-in { display: flex; align-items: center; gap: var(--s-4); height: var(--head); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.word { font-family: var(--sans); font-weight: 700; letter-spacing: .2em; font-size: 16px; color: var(--brand); white-space: nowrap; }
.nav { display: flex; gap: var(--s-1); margin: 0 auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 2px; flex: none; }
.lang select {
  appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 28px 0 12px; margin-right: 4px;
  border: 1px solid var(--line); border-radius: 999px; background-color: transparent; font-size: 13px; font-weight: 600;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat;
}
.ibtn { position: relative; min-height: 44px; min-width: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; color: var(--ink); text-decoration: none; }
.ibtn:hover { background: var(--kraft-soft); }
.menubtn { display: none; }
.lang-m { display: none; }
.count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.count[hidden] { display: none; }

/* ---------- hero ---------- */
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-6); align-items: center; padding-top: var(--s-6); padding-bottom: var(--s-6); }
.hero-img { box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 85%; width: 100%; max-height: 600px; }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: var(--s-4); padding-bottom: var(--s-4); }
.trust li { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--sage); min-height: 44px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust span { color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- families ---------- */
.fams { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-bottom: var(--s-5); }
.fam { position: relative; display: block; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); aspect-ratio: 3 / 4; text-decoration: none; background: var(--kraft-soft); }
.fam img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fam:hover img { transform: scale(1.035); }
.fam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(33, 27, 22, 0) 45%, rgba(33, 27, 22, .35) 72%, rgba(33, 27, 22, .62) 100%); }
.fam span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; text-shadow: 0 1px 8px rgba(33, 27, 22, .45); font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }

.season { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-5); align-items: center; padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; }
.season img { aspect-ratio: 1; object-fit: contain; border-radius: var(--r-sm); background: #fff; }
.season > span { display: grid; gap: 6px; }
.season strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.season span span { color: var(--ink-2); }
.season em { font-style: normal; color: var(--brand); font-weight: 600; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-bottom: var(--s-5); }
.card { position: relative; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card-img { background: #fff; aspect-ratio: 1; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.035); }
.card-b { display: grid; gap: 4px; padding: var(--s-3) 16px 16px; border-top: 1px solid var(--line); }
.card-cat { position: absolute; top: 12px; left: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--sage-ink); background: rgba(255, 253, 249, .92); padding: 4px 9px; border-radius: 999px; }
.card-n { font-weight: 600; font-size: 16px; line-height: 1.3; }
.card-c { font-size: 12px; letter-spacing: .08em; color: #7A6E62; }  /* lighter than --ink-2, still 4.9:1 */
.card-p { font-weight: 700; font-size: 18px; margin-top: 6px; }
.card-l { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-go { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--brand); }
.arrow { display: inline-block; transition: transform .2s; }
.card:hover .arrow, .card-a:focus-visible .arrow { transform: translateX(4px); }
/* A kept model wears a thin brown line, so the selection is visible in the grid. */
.card:has(.fav[aria-pressed="true"]) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.fav { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--ink); }
.fav svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: rgba(255, 253, 249, .92); fill: none; transition: fill .15s, color .15s; }
.fav[aria-pressed="true"] { color: var(--brand); }
.fav[aria-pressed="true"] svg, .favbtn[aria-pressed="true"] svg { fill: currentColor; }
.favbtn svg { fill: none; }

/* ---------- story ---------- */
.story { background: var(--kraft-soft); }
.story-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-6); align-items: center; }
.story-img { margin: 0; }
.story-img img { aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); width: 100%; max-width: 440px; }
.story .lead { margin-bottom: var(--s-5); }
.trio { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.trio li { display: grid; gap: 6px; align-content: start; padding-top: var(--s-3); border-top: 1px solid var(--kraft); color: var(--sage); }
.trio strong { color: var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 600; }
.trio span { color: var(--ink-2); font-size: 15px; }

/* ---------- assembly ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); counter-reset: none; }
.steps li { display: grid; justify-items: center; text-align: center; gap: 8px; padding: var(--s-5) var(--s-4); border: 1px solid var(--line); border-radius: 999px 999px var(--r) var(--r); background: var(--surface); }
.step-i { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--kraft-soft); color: var(--sage); }
.step-i svg { width: 34px; height: 34px; }
.steps b { font-family: var(--serif); font-weight: 500; color: var(--kraft); font-size: 15px; letter-spacing: .1em; }
.steps strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.steps span:last-child { color: var(--ink-2); font-size: 15px; max-width: 22em; }

/* ---------- material ---------- */
.matter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.matter img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: right center; border-radius: var(--r); }
.matter .sh { margin-bottom: var(--s-4); }
.ticks { padding: 0; margin: 0 0 var(--s-4); list-style: none; }
.ticks li { padding-left: 26px; position: relative; margin: 8px 0; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* ---------- preview list ---------- */
.wait-in { max-width: 760px; }
.wait-f { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.fld:first-child { grid-column: 1 / -1; }
.fld input, .fld select { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; font-weight: 400; }
.chk { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); min-height: 44px; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.wait-f .btn { grid-column: 1 / -1; justify-self: start; }
.wait-msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; color: var(--sage-ink); font-weight: 600; }
.wait-msg.bad { color: #9B2C1F; }

/* ---------- collection ---------- */
.colhead { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: center; padding-top: var(--s-5); }
.colhead img { width: 150px; aspect-ratio: 3 / 4; object-fit: cover; }
.colhead h1 { margin-bottom: var(--s-2); }
.shop { padding-top: var(--s-4); }
.bar { display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; margin-bottom: var(--s-2); position: sticky; top: var(--head); z-index: 10; background: var(--bg); padding: var(--s-3) 0; }
.chips { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button, .filter-list button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; white-space: nowrap; font-size: 14px; font-weight: 500; }
.chips button[aria-pressed="true"], .filter-list button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.search { flex: 0 1 300px; }
.search input { min-height: 44px; width: 100%; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 16px; }
.sm-pill { display: none; min-height: 44px; padding: 0 18px; }
.sm-pill.on { background: var(--brand); color: var(--on-brand); }
#n { margin: 0 0 var(--s-3); }
.filter-list { display: grid; gap: var(--s-2); }
.filter-list button { min-height: 48px; text-align: left; border-radius: var(--r-sm); }

/* ---------- product page ---------- */
.pdp { padding-top: var(--s-2); }
.pdp-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6); align-items: start; }
.gallery { display: grid; gap: var(--s-3); position: sticky; top: calc(var(--head) + 16px); }
.g-main { padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.g-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.g-main.zoom { cursor: zoom-out; }
.g-main.zoom img { transform: scale(2); }
.g-thumbs { display: flex; gap: var(--s-2); }
.g-thumbs button { padding: 0; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs [aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.gallery > p { margin: 0; }
.pdp-t h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: var(--s-2); }
.code { margin: 0 0 var(--s-4); letter-spacing: .03em; }
.pdp-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 var(--s-4); }
.price { font-size: 26px; font-weight: 700; margin: 0 0 var(--s-4); }
.buy { display: flex; gap: var(--s-3); align-items: center; margin: 0 0 var(--s-3); flex-wrap: wrap; }
.buy .btn { flex: 1; }
.favbtn { margin-bottom: var(--s-3); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { min-width: 36px; min-height: 36px; border: 0; background: none; font-size: 18px; }
.stepper span { min-width: 24px; text-align: center; font-weight: 600; }
.stepper.big button { min-width: 48px; min-height: 48px; }
.acc { margin-top: var(--s-4); border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand); }
.acc details[open] summary::after { content: "−"; }
.acc details p { margin: 0 0 var(--s-4); color: var(--ink-2); }

/* ---------- thanks / prose ---------- */
.thanks { padding: var(--section) 16px; }
.thanks img { margin: 0 auto var(--s-4); border-radius: 50%; }
.thanks .lead { margin: 0 auto var(--s-5); }
.prose { max-width: 780px; padding-top: var(--s-4); }
.prose h1 { margin-bottom: var(--s-2); }
.prose .wings { margin-bottom: var(--s-5); }
.prose p { margin: 0 0 var(--s-3); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #E9DFD0; padding: var(--s-6) 0 var(--s-4); margin-top: var(--section); }
main:has(> .section-band:last-child) + .foot { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.foot-h { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--kraft); margin: 0 0 var(--s-3); font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { display: inline-block; min-height: 36px; line-height: 36px; text-decoration: none; color: #E9DFD0; font-size: 15px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(233, 223, 208, .18); }
.foot-base img { border-radius: 50%; }
.foot-base p { margin: 0; font-size: 13px; color: #C9BBA7; }

/* ---------- drawers ---------- */
.scrim { position: fixed; inset: 0; background: rgba(33, 27, 22, .42); z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 40; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.left { right: auto; left: 0; width: min(320px, 88%); }
.drawer.bottom { top: auto; left: 0; width: 100%; max-height: 80svh; border-radius: var(--r) var(--r) 0 0; }
.scrim[hidden], .drawer[hidden], .toast[hidden] { display: none; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); border-bottom: 1px solid var(--line); }
.drawer-h h2 { margin: 0; font-size: 22px; }
.x { min-width: 44px; min-height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; }
.drawer-b { flex: 1; overflow-y: auto; padding: var(--s-3) var(--s-4) calc(16px + env(safe-area-inset-bottom)); }
.drawer-f { padding: var(--s-3) var(--s-4) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-f:empty { display: none; }
.menu-list { display: grid; align-content: start; }
.menu-list a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.line-img img { background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }
.line-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-n { font-weight: 600; text-decoration: none; line-height: 1.3; }
.line-m .stepper { align-self: flex-start; margin-top: 6px; }
.line-m .stepper button { min-width: 40px; min-height: 40px; }
.line-r { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line-r .link { min-height: 32px; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0 0 var(--s-2); }
.sums dd { margin: 0; text-align: right; }
.sums .tot { font-weight: 700; font-size: 18px; }
.hint { color: var(--brand); margin: 0 0 10px; }
.note { background: var(--kraft-soft); padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; }
.drawer-f .btn { margin: 4px 0 8px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; z-index: 60; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }

/* ---------- narrower ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menubtn { display: grid; margin-left: -10px; }
  .tools { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .top-in { gap: var(--s-2); }
  .word { font-size: 14px; letter-spacing: .14em; }
  .brand img { width: 36px; height: 36px; }
  /* On a phone the language lives in the menu: the bar keeps the name and
     the three acts, which is what fits in 360px. */
  .tools .lang { display: none; }
  .lang-m { display: grid; gap: 6px; margin-top: var(--s-4); font-size: 14px; font-weight: 600; color: var(--ink-2); }
  .lang-m select { min-height: 48px; width: 100%; font-size: 16px; padding: 0 32px 0 14px; background-color: var(--surface); }
  .hero-in { grid-template-columns: 1fr; gap: var(--s-5); padding-top: var(--s-5); padding-bottom: var(--s-5); }
  .lead { font-size: 16px; }
  .ctas { margin-top: var(--s-4); }
  .ctas .btn { flex: 1 1 auto; }
  .hero-img { aspect-ratio: 4 / 3.4; max-height: none; }
  .trust-in { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-3); }
  .trust li { justify-content: flex-start; padding: 0 8px; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust svg { width: 24px; height: 24px; flex: none; }
  .trust span { font-size: 13px; line-height: 1.3; }
  /* Four families are a row you swipe. */
  .fams { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px var(--s-4); padding: 0 16px 4px; gap: var(--s-3); scrollbar-width: none; }
  .fams::-webkit-scrollbar { display: none; }
  .fam { flex: 0 0 62%; scroll-snap-align: start; }
  .fam span { font-size: 19px; }
  .season { grid-template-columns: 96px 1fr; gap: var(--s-3); padding: var(--s-3); }
  .season strong { font-size: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .card-b { padding: 10px 12px 12px; gap: 2px; }
  .card-n { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card-l { display: none; }
  .card-go { display: none; }
  .card-p { font-size: 16px; margin-top: 2px; }
  .card-cat { top: 8px; left: 8px; font-size: 10px; padding: 3px 7px; }
  .fav { top: 2px; right: 2px; }
  .story-in, .matter { grid-template-columns: 1fr; gap: var(--s-5); }
  .story-img img { max-width: 300px; margin: 0 auto; }
  .trio { grid-template-columns: 1fr; gap: var(--s-3); }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-radius: var(--r); padding: var(--s-4); grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: var(--s-3); }
  .step-i { width: 56px; height: 56px; grid-row: span 3; }
  .wait-f { grid-template-columns: 1fr; }
  .wait-f .btn { justify-self: stretch; }
  .colhead { grid-template-columns: 1fr; gap: var(--s-3); padding-top: var(--s-4); }
  .colhead img { display: none; }
  .bar { position: static; flex-wrap: wrap; }
  .chips { display: none; }
  .search { flex: 1 1 auto; }
  .sm-pill { display: inline-flex; }
  .pdp-in { grid-template-columns: 1fr; gap: var(--s-4); }
  .gallery { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Thai, Khmer, Burmese, the Arabic-script languages, the Indic scripts and
   Ethiopic join or stack their letters; letter-spacing pulls them apart and
   breaks the shaping. They set their words as written, and only the brand
   name keeps its tracking. */
html:is([lang="th"], [lang="km"], [lang="ar"], [lang="ur"], [lang="fa"], [lang="hi"], [lang="mr"], [lang="ne"], [lang="bn"], [lang="pa"], [lang="gu"], [lang="ta"], [lang="te"], [lang="my"], [lang="am"]) body *:not(.word) { letter-spacing: normal !important; }

/* The brand is written CUPAFiNGA and nothing may respell it: an uppercase
   rule would print CUPAFINGA, and under lang="tr" CUPAFİNGA. */
.brandname, .word { text-transform: none !important; }

/* The one sentence a legal page owes a reader who is not reading French. */
.legal-note { font-size: 14px; color: var(--ink-2); background: var(--kraft-soft, rgba(196, 160, 112, .14)); border-radius: 10px; padding: 10px 14px; margin: 0 0 var(--s-4); }

/* An arrow is a direction, and in a right-to-left page back points right. */
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .card:hover .arrow, [dir="rtl"] .card-a:focus-visible .arrow { transform: scaleX(-1) translateX(4px); }
