/* ==========================================================================
   SAFIRA HOME · the Espresso Atelier
   A separate storefront at /home. Espresso and walnut are the brand colors, warm cream gives breathing room,
   antique brass is the detail. Materials are drawn in CSS: walnut grain (shelves, the signature plank, the closing),
   travertine (the story, the signature stone, empty frames), smoked glass (captions over photographs) and brushed brass (rules, the
   wordmark's arch). Type: Bodoni Moda (the same family as the Safira hijab site's headlines) for display,
   DM Mono for catalogue labels, Hanken Grotesk for everything you read and tap.
   Nothing here is shared with the hijab site's styles.
   ========================================================================== */

:root {
  /* the house palette (2026-11-10 brief). Espresso is the signature: the header, the cover, the signature
     section and the footer are all espresso; cream and stone give the breathing room between them. */
  --espresso: #2B1913;
  --chocolate: #3B261E;
  --walnut: #765640;
  --cream: #EAE0D1;
  --stone: #C8B8A4;
  --olive: #77735A;
  --brass: #A58A5C;
  /* derived */
  --paper: #F4EDE3;          /* the lightest ground, for long reading and the bag */
  --brass-light: #CBB085;    /* brass for small text on espresso and chocolate (contrast above 4.5:1) */
  --olive-light: #A9A585;    /* olive for small text on espresso */
  --ink-soft: #5C4434;       /* secondary text on cream and paper */
  --rule: rgba(43, 25, 19, 0.16);
  --rule-dark: rgba(234, 224, 209, 0.18);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --mono: "DM Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* materials */
  --travertine:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2600' height='1400'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0018 0.022' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.39 0 0 0 0 0.29 0 0 0 0.32 -0.1'/%3E%3C/filter%3E%3Crect width='2600' height='1400' filter='url(%23v)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.32 0 0 0 0 0.24 0 0 0 2.2 -1.55'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23p)'/%3E%3C/svg%3E");
  --walnut-grain:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2600' height='400'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0016 0.11' numOctaves='4' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.06 0 0 0 0 0.03 0 0 0 1.1 -0.28'/%3E%3C/filter%3E%3Crect width='2600' height='400' filter='url(%23w)'/%3E%3C/svg%3E");
  --walnut-wood: var(--walnut-grain), linear-gradient(180deg, #8A6A54, #765744 40%, #5F4434);
  --brass-line: linear-gradient(90deg, transparent, #A58A5C 12%, #D2BA8C 50%, #A58A5C 88%, transparent);
  --brass-brushed: repeating-linear-gradient(90deg, rgba(255, 244, 220, 0.12) 0 1px, transparent 1px 3px),
    linear-gradient(100deg, #8C7246 0%, #C9AE7A 24%, #9E8352 46%, #C0A26C 72%, #8A7044 100%);

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.45rem, 2.1vw, 1.85rem);
  --t-xl: clamp(2.1rem, 3.8vw, 3.3rem);
  --t-hero: clamp(2.7rem, 5.6vw, 5.9rem);

  --gutter: clamp(1rem, 4vw, 4rem);
  --band: clamp(4.5rem, 9vw, 8.5rem);
  --strip-h: 2rem;
  --header-h: 6.5rem;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.has-dialog { overflow: hidden; }
body.sh {
  margin: 0; background: var(--paper); color: var(--espresso);
  font-family: var(--sans); font-size: var(--t-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* base resets carry no weight (:where), so every component's own colors win */
:where(.sh) img { display: block; max-width: 100%; height: auto; }
:where(.sh) :is(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; }
:where(.sh) ul { padding: 0; list-style: none; }
:where(.sh) a { color: inherit; }
:where(.sh) :is(button, input, select) { font: inherit; color: inherit; }
:where(.sh) button { cursor: pointer; }
:where(.sh) :focus-visible { outline: 1.5px solid var(--espresso); outline-offset: 3px; }
:where(.sh) ::selection { background: var(--espresso); color: var(--cream); }
:is(.hh, .cover, .col--gallery, .signature, .closing, .hf, .hm) :focus-visible { outline-color: var(--cream); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--espresso); color: var(--cream); padding: 0.6rem 1rem; }
.skip:focus { top: 0.75rem; }

/* catalogue labels: DM Mono, numbered */
.label, .kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut);
}
.label__no { margin-right: 0.8rem; padding-right: 0.8rem; border-right: 1px solid var(--brass); color: var(--espresso); font-weight: 500; }
:is(.cover, .col--gallery, .signature, .closing, .hf) .label { color: var(--brass-light); }
:is(.cover, .col--gallery, .signature, .closing, .hf) .label__no { color: var(--cream); border-color: var(--brass); }

/* buttons and links */
.hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 52px; padding: 0.9rem 2.1rem;
  border: 1px solid var(--espresso); background: transparent; color: var(--espresso); border-radius: 0;
  font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.hbtn:hover { background: var(--espresso); color: var(--cream); }
.hbtn--solid { position: relative; background: var(--espresso); color: var(--cream); }
/* a brass hairline under the main button, like a maker's stamp */
.hbtn--solid::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 7px; height: 1px; background: var(--brass-line); opacity: 0.8; }
.hbtn--solid:hover { background: var(--walnut); border-color: var(--walnut); }
.hbtn--light { border-color: var(--cream); color: var(--cream); }
.hbtn--light:hover { background: var(--cream); color: var(--espresso); }
.hbtn--wide { width: 100%; }
.hbtn:disabled, .hbtn.is-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.hlink {
  display: inline-flex; align-items: center; min-height: 44px; font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.95em) / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.hlink:hover { background-size: 40% 1px; }

/* ---------- the wordmark ---------- */
/* the Safira Home logo (media/home/safira-home-logo.svg): its lettering is currentColor, the cup and heart follow
   --sh-accent and --sh-heart; on espresso grounds both are lightened */
.shl, .shl-mark { display: block; width: auto; overflow: visible; color: var(--espresso); --sh-accent: var(--brass); --sh-heart: #4E2633; }
:is(.hh, .hm, .hf, .closing, .cover) :is(.shl, .shl-mark) { color: var(--cream); --sh-accent: var(--brass-light); --sh-heart: #C26A76; }
.hh__mark .shl { height: 5.3rem; }
.hf__mark .shl { height: 6.4rem; }
.closing__mark .shl { height: clamp(7rem, 12vw, 9.5rem); }

/* ---------- header ---------- */
.hh { position: sticky; top: calc(-1 * var(--strip-h)); z-index: 20; background: color-mix(in srgb, var(--espresso) 97%, transparent); color: var(--cream); transition: box-shadow 0.3s; }
.hh.is-scrolled { box-shadow: 0 12px 30px -18px rgba(20, 10, 6, 0.7); }
.hh__strip {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: var(--strip-h); padding-inline: var(--gutter);
  background: #1E110C; color: var(--brass-light); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.hh__strip-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh__sister { color: var(--cream); text-decoration: none; white-space: nowrap; }
.hh__sister:hover { color: var(--brass-light); }
.hh__bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; height: var(--header-h); padding-inline: var(--gutter); }
.hh__bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-line); opacity: 0.75; }
.hh__mark { text-decoration: none; }
.hh__tools { display: flex; justify-content: flex-end; align-items: center; gap: 1.4rem; }
.hh__bag, .hh__menu {
  min-height: 44px; padding: 0 0.2rem; border: 0; background: none;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.hh__count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; margin-left: 0.35rem; border-radius: 50%; background: var(--brass); color: var(--espresso); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0; }
/* the top bar is just Menu, the wordmark and the bag; everything else lives in the sidebar */
.hh__menu { display: inline-flex; align-items: center; gap: 0.75rem; justify-self: start; }
.hh__burger { display: grid; gap: 5px; width: 22px; }
.hh__burger i { display: block; height: 1px; background: currentColor; transition: width 0.35s var(--ease); }
.hh__burger i:last-child { width: 62%; }
.hh__menu:hover .hh__burger i:last-child { width: 100%; }
.hh__menu:hover { color: var(--brass-light); }
@media (max-width: 640px) {
  .hh__strip-note { display: none; }
  .hh__strip { justify-content: center; }
}
@media (max-width: 520px) {
  :root { --header-h: 4.75rem; }
  /* the logo a little smaller on phones */
  .hh__mark .shl { height: 3.7rem; }
}

/* menu */
.hm { width: min(26rem, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 auto 0 0; padding: 0; border: 0; color: var(--cream);
  background: radial-gradient(90% 50% at 0% 0%, rgba(165, 138, 92, 0.16), transparent 60%), var(--espresso); }
.hm::backdrop { background: rgba(44, 25, 19, 0.45); }
.hm[open] { animation: slide-in-left 0.45s var(--ease); }
.hm.is-closing { animation: slide-out-left 0.3s ease-in forwards; }
.hm__inner { display: flex; flex-direction: column; gap: 2.4rem; height: 100%; padding: 1.4rem var(--gutter) 2rem; }
.hm__close { align-self: flex-start; min-height: 44px; border: 0; background: none; padding: 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }
.hm__links { display: grid; gap: 0.2rem; border-top: 1px solid var(--rule-dark); padding-top: 1.4rem; }
.hm__links a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--display); font-size: 1.95rem; font-weight: 400; text-decoration: none; line-height: 1.35; }
.hm__links a:hover { color: var(--brass-light); }
/* a short brass dash before each link; it grows on hover */
.hm__dash { flex: none; align-self: center; width: 0.9rem; height: 1px; background: var(--brass-light); transition: width 0.35s var(--ease); }
.hm__links a:hover .hm__dash, .hm__links a:focus-visible .hm__dash { width: 1.6rem; }
.hm__sister { margin-top: auto; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }

/* ---------- photographs: the atelier's light ---------- */
/* a warm grade and low window light over the large editorial pictures (.lit): late sun from the upper left, the
   lower right falling into shadow, and the soft bars of a window frame across it */
.lit { isolation: isolate; }
.lit img { filter: saturate(0.92) contrast(1.06) sepia(0.06); }
.lit::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(122deg, rgba(255, 236, 204, 0.5) 0%, transparent 42%),
    radial-gradient(110% 80% at 92% 105%, rgba(44, 25, 19, 0.75), transparent 62%);
}
.lit::before {
  content: ""; position: absolute; inset: -12%; z-index: 1; pointer-events: none; mix-blend-mode: multiply; opacity: 0.3; filter: blur(16px);
  background: repeating-linear-gradient(122deg, transparent 0 11%, rgba(44, 25, 19, 0.55) 11% 14%, transparent 14% 26%);
}

/* smoked glass caption plates */
.plate {
  position: absolute; left: clamp(0.75rem, 1.6vw, 1.25rem); bottom: clamp(0.75rem, 1.6vw, 1.25rem); z-index: 2; max-width: calc(100% - 1.5rem);
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-items: baseline; padding: 0.8rem 1.1rem 0.85rem;
  color: var(--cream); background: linear-gradient(135deg, rgba(73, 48, 37, 0.6), rgba(44, 25, 19, 0.74));
  -webkit-backdrop-filter: blur(10px) saturate(1.15); backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(233, 223, 208, 0.16); box-shadow: inset 0 1px 0 rgba(255, 240, 215, 0.12);
}
.plate__no { grid-row: span 2; font-family: var(--display); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--brass-light); }
.plate__title { font-family: var(--display); font-size: 1.12rem; line-height: 1.2; }
.plate__line { font-size: 0.8rem; color: #DCCDB8; }

/* ---------- bands ---------- */
.band { padding: var(--band) var(--gutter); }
.band__head { display: grid; gap: 0.9rem; margin-bottom: clamp(2.2rem, 4.5vw, 4rem); }
.band__head--split { grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; }
.band__head--center { justify-items: center; text-align: center; }
.band__head--center .label { justify-content: center; }
.band__title { font-family: var(--display); font-weight: 400; font-size: var(--t-xl); line-height: 1.04; letter-spacing: 0.005em; }
.band__title em { font-style: italic; color: var(--walnut); }
@media (max-width: 599px) { .band__head--split { grid-template-columns: 1fr; } .band__head--split .hlink { justify-self: start; } }

/* ---------- product cards ---------- */
.hgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2.4rem, 4vw, 3.5rem) clamp(0.9rem, 1.8vw, 1.6rem); }
@media (max-width: 1099px) { .hgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hcard { position: relative; display: grid; align-content: start; container-type: inline-size; }
.hcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.hcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.hcard__img--hover { opacity: 0; }
.hcard__none { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--t-xs); color: var(--ink-soft); }
/* every piece stands on a short walnut shelf: the collections signature */
.hcard__shelf {
  display: block; height: 9px; margin-inline: -5%; background: var(--walnut-wood);
  box-shadow: 0 12px 18px -10px rgba(44, 25, 19, 0.5), inset 0 1px 0 rgba(255, 230, 200, 0.25);
}
@media (hover: hover) {
  .hcard:hover .hcard__img { transform: scale(1.035); }
  .hcard:hover .hcard__img--hover { opacity: 1; }
}
/* add to bag: smoked glass over the photo's foot on hover devices, a plain button under the name on touch */
.hcard__add {
  position: absolute; left: 0.75rem; right: 0.75rem; top: calc(125cqw - 44px - 0.75rem); z-index: 2;
  min-height: 44px; padding: 0 1rem; border: 1px solid rgba(233, 223, 208, 0.18);
  background: linear-gradient(135deg, rgba(73, 48, 37, 0.72), rgba(44, 25, 19, 0.82)); color: var(--cream);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.3s;
}
.hcard__add:hover { background: var(--espresso); }
.hcard:hover .hcard__add, .hcard__add:focus-visible { opacity: 1; transform: none; }
@media (hover: none) {
  .hcard__add { position: static; order: 4; opacity: 1; transform: none; margin-top: 0.75rem; background: transparent; color: var(--espresso);
    border: 1px solid var(--espresso); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .col--gallery .hcard__add { color: var(--cream); border-color: rgba(233, 223, 208, 0.55); }
}
.hcard__meta { display: grid; gap: 0.3rem; padding-top: 1.05rem; }
.hcard__label { display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--walnut); }
.hcard__no { color: var(--espresso); font-weight: 500; padding-right: 0.6rem; border-right: 1px solid var(--brass); }
.hcard__title { font-family: var(--display); font-size: 1.22rem; font-weight: 400; line-height: 1.22; }
.hcard__title a { text-decoration: none; }
.hcard__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.hcard__brand { display: block; margin-bottom: 0.15rem; font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--walnut); }
.hcard__price { font-size: var(--t-sm); font-weight: 500; }
.hcard__price s, .pp__price s { margin-left: 0.4rem; color: var(--walnut); font-weight: 400; }

/* ---------- the brand story and its moments ---------- */
.story { background: var(--travertine), var(--cream); padding-bottom: calc(var(--band) * 1.15); }
.story .band__title em { color: var(--walnut); }
.moments { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: start; }
.moment { position: relative; }
/* one tall picture; the second laid over its edge in a paper mat; the third lower on the right */
.moment--1 { grid-column: 1 / 8; grid-row: 1 / 3; }
.moment--2 { grid-column: 7 / 12; grid-row: 1; margin-top: clamp(3rem, 8vw, 7.5rem); z-index: 2; }
.moment--3 { grid-column: 9 / 13; grid-row: 2; margin-top: clamp(1.5rem, 3vw, 2.75rem); z-index: 1; }
.moment__fig { position: relative; overflow: hidden; background: var(--cream); }
.moment--1 .moment__fig { aspect-ratio: 4 / 5; box-shadow: 0 40px 60px -40px rgba(44, 25, 19, 0.6); }
.moment--2 .moment__fig { aspect-ratio: 4 / 3; }
.moment--3 .moment__fig { aspect-ratio: 4 / 5; }
.moment--2 .moment__fig, .moment--3 .moment__fig { outline: 11px solid var(--paper); box-shadow: 0 0 0 12px rgba(165, 138, 92, 0.35), 0 40px 60px -30px rgba(44, 25, 19, 0.55); }
.moment__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.moment:hover .moment__fig img { transform: scale(1.03); }
.moment__fig.hph { min-height: 0; }
@media (max-width: 899px) {
  .moments { grid-template-columns: 1fr; gap: 0; }
  .moment--1, .moment--2, .moment--3 { grid-column: auto; grid-row: auto; margin-top: 0; }
  .moment--2 { width: 80%; justify-self: end; margin-top: -3.5rem; margin-right: 11px; }
  .moment--3 { width: 80%; margin-top: 2.5rem; margin-left: 11px; }
  .moment--3 .moment__fig { aspect-ratio: 4 / 3.4; }
  /* the second picture overlaps the first one's foot, so the first caption moves to its top */
  .moment--1 .plate { top: 0.9rem; bottom: auto; }
  .moment--2 .plate, .moment--3 .plate { padding: 0.5rem 0.75rem; column-gap: 0.6rem; }
  .moment--2 .plate__line, .moment--3 .plate__line { display: none; }
  .moment--2 .plate__no, .moment--3 .plate__no { grid-row: auto; font-size: 1.15rem; }
  .moment--2 .plate__title, .moment--3 .plate__title { font-size: 0.98rem; }
}

/* empty photo frames (notes show in preview only) */
.hfig { position: relative; }
.hph {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 0.6rem; text-align: center; padding: 1.5rem;
  background: var(--travertine), var(--cream); min-height: 12rem;
}
.hph__label { font-family: var(--display); font-style: italic; font-size: var(--t-md); color: var(--ink-soft); }
.hph__note { display: inline-block; padding: 0.3rem 0.6rem; background: var(--walnut); color: var(--cream); font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- closing ---------- */
.closing {
  position: relative; padding: clamp(6rem, 13vw, 11rem) var(--gutter); color: var(--cream); text-align: center; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 50%, rgba(44, 25, 19, 0.15), rgba(44, 25, 19, 0.62)), var(--walnut-wood);
}
.closing::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 1.5rem; height: 1px; background: var(--brass-line); opacity: 0.7; }
.closing::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.5rem; height: 1px; background: var(--brass-line); opacity: 0.7; }
.closing__inner { position: relative; display: grid; justify-items: center; gap: 2.2rem; }
.closing__title { font-family: var(--display); font-weight: 400; font-size: var(--t-hero); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; max-width: 13ch; text-shadow: 0 2px 30px rgba(44, 25, 19, 0.35); }

/* ---------- footer ---------- */
.hf { padding: clamp(3.5rem, 6vw, 5rem) var(--gutter) 2rem; background: var(--espresso); color: var(--cream); }
.hf__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--rule-dark); }
.hf__brand { display: grid; align-content: start; gap: 1.3rem; }
.hf__mark { justify-self: start; text-decoration: none; }
.hf__line { max-width: 34ch; font-family: var(--display); font-style: italic; color: var(--stone); }
.hf__col { display: grid; align-content: start; gap: 0.4rem; font-size: var(--t-sm); }
.hf__col h2 { margin-bottom: 0.6rem; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }
.hf__col .hf__also { margin-top: 1.4rem; }
.hf__col a { text-decoration: none; color: var(--cream); opacity: 0.85; }
.hf__col a:hover { opacity: 1; color: var(--brass-light); }
.hf__small { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 699px) { .hf__top { grid-template-columns: 1fr 1fr; } .hf__brand { grid-column: 1 / -1; } }

/* ---------- shop: the catalogue ---------- */
.shop { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) var(--band); }
.shop__head { display: grid; gap: 0.9rem; max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.shop__title { font-family: var(--display); font-weight: 400; font-size: var(--t-hero); line-height: 1; letter-spacing: 0.005em; }
.shop__lede { color: var(--ink-soft); font-family: var(--display); font-style: italic; font-size: var(--t-md); }
.shop__bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.shop__bar::before, .shop__bar::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--brass-line); opacity: 0.7; }
.shop__bar::before { top: 0; }
.shop__bar::after { bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover { border-color: var(--espresso); }
.chip[aria-current] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.shop__tools { display: flex; align-items: center; gap: 1.5rem; }
.shop__count { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut); }
.hselect { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hselect select { min-height: 40px; padding: 0 0.6rem; border: 1px solid var(--rule); background: var(--paper); font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }
.hstate { padding: 3rem 0; color: var(--ink-soft); grid-column: 1 / -1; }
.hempty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 1rem; padding: clamp(3rem, 8vw, 6rem) 1rem; text-align: center; background: var(--travertine), var(--cream); }
.hempty__title { font-family: var(--display); font-size: var(--t-lg); font-weight: 400; }

/* ---------- product page ---------- */
.pp { padding: 1.5rem var(--gutter) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--walnut); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--espresso); }
.pp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.pp__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.pp__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.pp__photo img { width: 100%; height: 100%; object-fit: cover; }
.pp__photo--lead { grid-column: 1 / -1; aspect-ratio: 1; }
.pp__photo--lead::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(203, 176, 133, 0.7); pointer-events: none; }
.pp__dots { display: none; }
.pp__info { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; align-content: start; padding-bottom: 2rem; }
.pp__brand { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--walnut); margin-bottom: -0.6rem; }
.pp__title { font-family: var(--display); font-weight: 400; font-size: var(--t-xl); line-height: 1.04; }
.pp__price { font-size: var(--t-md); font-weight: 500; }
.pp__summary { color: var(--ink-soft); max-width: 46ch; }
.pp__buy { display: grid; gap: 1rem; padding-block: 0.6rem 0.2rem; }
.pp__opt { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; border: 0; }
.pp__opt legend { width: 100%; margin-bottom: 0.6rem; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.pp__val input { position: absolute; opacity: 0; }
.pp__val span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; border: 1px solid var(--rule); font-size: var(--t-sm); cursor: pointer; transition: border-color 0.25s, background-color 0.25s; }
.pp__val input:checked + span { border-color: var(--espresso); background: var(--cream); box-shadow: inset 0 -2px 0 var(--brass); }
.pp__val input:focus-visible + span { outline: 1.5px solid var(--espresso); outline-offset: 2px; }
.pp__row { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.pp__more { border-top: 1px solid var(--rule); padding-block: 1rem; }
.pp__more:last-of-type { border-bottom: 1px solid var(--rule); }
.pp__more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.pp__more summary::-webkit-details-marker { display: none; }
.pp__more summary::after { content: "+"; font-weight: 400; font-size: 1rem; line-height: 1; }
.pp__more[open] summary::after { content: "−"; }
.pp__more ul, .pp__more p, .pp__desc { margin-top: 0.8rem; color: var(--ink-soft); font-size: var(--t-sm); }
.pp__more li { padding-left: 1rem; position: relative; }
.pp__more li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.4rem; height: 1px; background: var(--brass); }
/* the spec sheet */
.spec { display: grid; margin-top: 0.9rem; border-top: 1px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 0.55rem; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); }
.spec dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--walnut); padding-top: 0.15rem; }
.pp__source { justify-self: start; font-family: var(--sans); text-transform: none; letter-spacing: 0.02em; font-weight: 400; }
.pp__source a { color: inherit; }
.pp__related { padding-inline: 0; }
@media (max-width: 899px) {
  .pp__grid { grid-template-columns: 1fr; gap: 1rem; }
  .pp { padding-inline: 0; }
  .crumbs, .pp__info, .pp__dots { padding-inline: var(--gutter); }
  .pp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .pp__gallery::-webkit-scrollbar { display: none; }
  .pp__photo { flex: 0 0 100%; scroll-snap-align: start; }
  .pp__dots { display: flex; justify-content: center; gap: 0.4rem; }
  .pp__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); transition: background-color 0.3s; }
  .pp__dots span.is-on { background: var(--espresso); }
  .pp__info { position: static; }
  .pp__related { padding-inline: var(--gutter); }
}

/* quantity */
.hqty { display: inline-flex; align-items: center; border: 1px solid var(--rule); }
.hqty button { width: 36px; height: 36px; border: 0; background: none; font-size: 1rem; }
.hqty button:disabled { opacity: 0.35; cursor: default; }
.hqty output { min-width: 1.8rem; text-align: center; font-size: var(--t-sm); font-family: var(--mono); }
.hqty--big button { width: 46px; height: 50px; }

/* ---------- bag drawer ---------- */
.hbag { width: min(28rem, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--espresso); }
.hbag::backdrop { background: rgba(44, 25, 19, 0.45); }
.hbag[open] { animation: slide-in-right 0.45s var(--ease); }
.hbag.is-closing { animation: slide-out-right 0.3s ease-in forwards; }
.hbag__inner { display: flex; flex-direction: column; height: 100%; }
.hbag__head { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; background: var(--espresso); color: var(--cream); }
.hbag__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-line); }
.hbag__head h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.hbag__head h2:focus { outline: none; }
.hbag__close { min-height: 44px; border: 0; background: none; color: var(--brass-light); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hbag__sample { margin: 1rem 1.5rem 0; padding: 0.7rem 0.9rem; background: var(--cream); font-size: var(--t-xs); color: var(--ink-soft); }
.hbag__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; }
.hbag__empty { display: grid; justify-items: start; gap: 0.6rem; padding-top: 1.5rem; font-family: var(--display); font-size: var(--t-md); }
.hline { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.hline__img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.hline__img img { width: 100%; height: 100%; object-fit: cover; }
.hline__info { display: grid; align-content: start; gap: 0.3rem; }
.hline__name { font-family: var(--display); font-size: 1.08rem; line-height: 1.25; text-decoration: none; }
.hline__variant { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--walnut); }
.hline__end { display: grid; justify-items: end; align-content: space-between; font-size: var(--t-sm); font-weight: 500; }
.hline__remove { border: 0; background: none; padding: 0; font-size: var(--t-xs); font-weight: 400; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 0.2em; }
.hbag__error { margin: 0 1.5rem; color: #8A3B2E; font-size: var(--t-sm); }
.hbag__error:empty { display: none; }
.pp .hbag__error { margin: 0; }
.hbag__foot { display: grid; gap: 0.8rem; padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--rule); background: var(--cream); }
.hbag__foot:empty { display: none; }
.hbag__sum { display: flex; justify-content: space-between; font-size: var(--t-md); font-family: var(--display); }
.hbag__note { font-size: var(--t-xs); color: var(--ink-soft); }

/* sample-catalog notice */
.hsample {
  position: fixed; left: 50%; bottom: 0.75rem; z-index: 15; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 1.5rem);
  padding: 0.45rem 0.95rem; border-radius: 999px; color: var(--cream); font-size: 0.7rem; letter-spacing: 0.03em; text-align: center;
  background: rgba(44, 25, 19, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(203, 176, 133, 0.35);
}

/* ---------- reveal and motion ---------- */
.motion-ok [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.motion-ok [data-reveal].is-in { opacity: 1; transform: none; }
.motion-ok .hgrid > [data-reveal]:nth-child(4n + 2), .motion-ok .rooms__grid > [data-reveal]:nth-child(2), .motion-ok .col__pieces > :nth-child(2) { transition-delay: 0.08s; }
.motion-ok .hgrid > [data-reveal]:nth-child(4n + 3), .motion-ok .rooms__grid > [data-reveal]:nth-child(3), .motion-ok .col__pieces > :nth-child(3) { transition-delay: 0.16s; }
.motion-ok .hgrid > [data-reveal]:nth-child(4n + 4), .motion-ok .rooms__grid > [data-reveal]:nth-child(4) { transition-delay: 0.24s; }

@keyframes settle { from { transform: scale(1.07); opacity: 0.35; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift-in { from { opacity: 0; transform: translate(-14px, 24px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-out-right { to { transform: translateX(100%); } }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes slide-out-left { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .hm[open], .hbag[open], .hm.is-closing, .hbag.is-closing { animation: none; }
}

/* ==========================================================================
   2026-11-10: the magazine cover, five rooms, the four collections, the signature and the story
   ========================================================================== */

.hbtn--cream { position: relative; background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.hbtn--cream::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 7px; height: 1px; background: var(--brass-line); }
.hbtn--cream:hover { background: transparent; color: var(--cream); border-color: var(--cream); }

/* menu: the collections under the rooms */
.hm__edits { display: grid; gap: 0.3rem; }
.hm__edits-title { margin-bottom: 0.35rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-light); }
.hm__edits a { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--stone); text-decoration: none; }
.hm__edits a:hover { color: var(--brass-light); }

/* ---------- the cover: an espresso page, the photograph right, the headline laid over its edge ---------- */
.cover {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); overflow: hidden; color: var(--cream);
  min-height: min(calc(100svh - var(--header-h)), 62rem);
  background: radial-gradient(70% 60% at 0% 100%, rgba(119, 115, 90, 0.2), transparent 62%), var(--espresso);
}
.cover__media { grid-column: 6 / -1; grid-row: 1; position: relative; min-height: 32rem; overflow: hidden; }
.cover__media > .cover__fig { position: absolute; inset: 0; }
.cover__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
/* the photograph melts into the espresso page on its left and darkens at its foot */
.cover__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--espresso) 0%, rgba(43, 25, 19, 0.6) 13%, transparent 36%), linear-gradient(0deg, rgba(43, 25, 19, 0.6), transparent 28%);
}
.cover__text { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 3; align-self: center; display: grid; justify-items: start; gap: 1.6rem; padding: clamp(3rem, 7vw, 7rem) 0 clamp(5rem, 8vw, 7.5rem) var(--gutter); }
.cover__issue { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); }
.cover__issue-name::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; margin-left: 1rem; vertical-align: middle; background: var(--brass); }
.cover__issue-no { color: var(--stone); }
.cover__title { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 7.2vw, 7.4rem); line-height: 0.93; letter-spacing: 0.005em; text-transform: uppercase; max-width: 9.5ch; text-shadow: 0 2px 40px rgba(20, 10, 6, 0.5); }
.cover__title em { font-style: italic; color: var(--brass-light); }
.cover__lede { max-width: 30ch; font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; color: var(--stone); }
.cover__caption {
  position: absolute; left: 30%; bottom: 1.5rem; z-index: 3; display: flex; gap: 0.6rem; align-items: center; max-width: 40%;
  padding: 0.55rem 0.8rem; color: var(--cream); text-decoration: none; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(43, 25, 19, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(234, 224, 209, 0.16);
}
.cover__caption .label__no { margin-right: 0; padding-right: 0.6rem; color: var(--brass-light); }
.cover__caption span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover__folio { position: absolute; left: var(--gutter); bottom: 1.6rem; z-index: 3; display: flex; gap: 1.2rem; margin: 0; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(200, 184, 164, 0.75); pointer-events: none; }
.cover__folio span:first-child { color: var(--brass-light); }
.motion-ok .cover__fig img { animation: settle 2.4s var(--ease) both; }
.motion-ok .cover__text > * { animation: rise 1s var(--ease) both; }
.motion-ok .cover__text > :nth-child(2) { animation-delay: 0.12s; }
.motion-ok .cover__text > :nth-child(3) { animation-delay: 0.24s; }
.motion-ok .cover__text > :nth-child(4) { animation-delay: 0.36s; }
@media (max-width: 899px) {
  .cover { grid-template-columns: 1fr; min-height: 0; }
  .cover__media { grid-column: 1; height: min(80svh, 150vw); min-height: 0; }
  .cover__media::before { background: linear-gradient(0deg, var(--espresso) 3%, rgba(43, 25, 19, 0.78) 40%, transparent 72%); }
  .cover__text { grid-column: 1; align-self: end; gap: 1.05rem; padding: 0 var(--gutter) 2.6rem; }
  .cover__title { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .cover__lede { font-size: 1.08rem; }
  .cover__caption, .cover__folio { display: none; }
}

/* ---------- rooms: five large photographs ---------- */
.rooms { background: var(--paper); }
.rooms__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(13rem, 20vw, 19rem); gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.room--1 { grid-column: 1 / 6; grid-row: 1 / 3; border-radius: 999px 999px 0 0; }
.room--2 { grid-column: 6 / 10; grid-row: 1; }
.room--3 { grid-column: 10 / 13; grid-row: 1 / 3; }
.room--4 { grid-column: 6 / 8; grid-row: 2; }
.room--5 { grid-column: 8 / 10; grid-row: 2; }
.room { position: relative; display: block; overflow: hidden; isolation: isolate; color: var(--cream); text-decoration: none; background: var(--chocolate); box-shadow: 0 26px 40px -30px rgba(43, 25, 19, 0.7); }
.room__media { position: absolute; inset: 0; }
.room__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) sepia(0.05); transition: transform 1.4s var(--ease); }
.room:hover .room__img, .room:focus-visible .room__img { transform: scale(1.06); }
.room::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(43, 25, 19, 0.82), rgba(43, 25, 19, 0.15) 46%, transparent 62%); }
/* a brass line draws itself inside the frame on hover */
.room::before { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid rgba(203, 176, 133, 0); border-radius: inherit; pointer-events: none; transition: border-color 0.5s var(--ease), inset 0.5s var(--ease); }
.room:hover::before, .room:focus-visible::before { border-color: rgba(203, 176, 133, 0.85); inset: 12px; }
.room__empty { position: absolute; inset: 0; display: grid; place-items: center; background: var(--travertine), var(--stone); }
.room__label { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.05rem; z-index: 3; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 0.7rem; }
.room__no { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--brass-light); }
.room__title { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.05; }
.room--1 .room__title { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.room__count { grid-column: 2; margin-top: 0.25rem; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.room__arrow { grid-column: 3; grid-row: 1; font-size: 1.1rem; color: var(--brass-light); opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.room:hover .room__arrow, .room:focus-visible .room__arrow { opacity: 1; transform: none; }
@media (hover: none) { .room__arrow { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .rooms__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .room--1 { grid-column: 1 / -1; grid-row: 1 / 3; }
  .room--2 { grid-column: 1; grid-row: 3; }
  .room--3 { grid-column: 2; grid-row: 3 / 5; }
  .room--4 { grid-column: 1; grid-row: 4; }
  .room--5 { grid-column: 1 / -1; grid-row: 5; }
  .room__label { left: 0.85rem; right: 0.85rem; bottom: 0.75rem; }
}

/* ---------- the collections ---------- */
.collections { padding-top: var(--band); background: var(--paper); }
.collections__head { padding-inline: var(--gutter); margin-bottom: 0; }
/* the first collection follows the section title closely; the rest keep their full breathing room */
.collections__head + [data-collections] > .col:first-child { padding-top: clamp(2rem, 3.5vw, 3rem); }
.col { padding: clamp(3rem, 6vw, 5.5rem) var(--gutter); }
.col__head { display: grid; justify-items: start; gap: 0.55rem; max-width: 36rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.col__no { display: flex; align-items: center; gap: 0.9rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--walnut); }
.col__no::before { content: ""; width: 2.4rem; height: 1px; background: var(--olive); }
.col__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: 0.015em; text-transform: uppercase; }
.col__line { font-family: var(--display); font-style: italic; font-size: var(--t-md); color: var(--ink-soft); }
.col__photo { position: relative; overflow: hidden; background: var(--cream); box-shadow: 0 40px 60px -40px rgba(43, 25, 19, 0.6); }
.col__photo img { width: 100%; height: 100%; object-fit: cover; }

/* I. feature: picture left, pieces stepped on the right */
.col--feature .col__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.col--feature .col__photo { grid-column: 1 / 7; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.col--feature .col__photo::after { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(203, 176, 133, 0.75); border-radius: inherit; pointer-events: none; }
.col--feature .col__pieces { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 1.4rem; align-items: start; padding-top: 3rem; }
.col--feature .hcard:nth-child(2) { margin-top: 5rem; }

/* II. gallery: pieces stepped across dark chocolate */
.col--gallery { color: var(--cream); background: radial-gradient(70% 55% at 12% 0%, rgba(234, 224, 209, 0.1), transparent 62%), var(--chocolate); }
.col--gallery .col__no { color: var(--brass-light); }
.col--gallery .col__no::before { background: var(--brass); }
.col--gallery .col__line { color: var(--stone); }
.col--gallery .hlink { color: var(--cream); }
.col--gallery .col__pieces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; align-items: start; }
.col--gallery .hcard:nth-child(2) { margin-top: 4.5rem; }
.col--gallery .hcard:nth-child(3) { margin-top: 1.5rem; }
.col--gallery .hcard:nth-child(4) { margin-top: 6rem; }
.col--gallery .hcard__media { background: #33211A; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.7); }
.col--gallery .hcard__shelf { background: var(--walnut-grain), linear-gradient(180deg, #9A7A62, #7A5B47 45%, #5A4031); }
.col--gallery .hcard__label { color: var(--brass-light); }
.col--gallery .hcard__no { color: var(--cream); }
.col--gallery .hcard__brand { color: var(--stone); }
.col--gallery .hcard__price { color: var(--cream); }
.col--gallery .hcard__price s { color: var(--stone); }

/* III. index: a numbered list beside one arched picture that follows the pointer */
.ix { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ix__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.ix__item { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
.ix__item::before { content: ""; position: absolute; left: 0; top: 0.9rem; bottom: 0.9rem; width: 2px; background: var(--brass); transform: scaleY(0); transition: transform 0.45s var(--ease); }
.ix__item.is-on::before { transform: scaleY(1); }
.ix__link { display: grid; grid-template-columns: 4.4rem 1fr auto; grid-template-areas: "no name price" "no mat price"; column-gap: 1.2rem; row-gap: 0.2rem; align-items: baseline; padding-left: 1.1rem; text-decoration: none; }
.ix__thumb { display: none; grid-area: thumb; }
.ix__no { grid-area: no; font-family: var(--mono); font-size: 0.7rem; color: var(--walnut); }
.ix__name { grid-area: name; font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.15; transition: color 0.3s; }
.ix__item.is-on .ix__name { font-style: italic; }
.ix__brand { display: block; margin-bottom: 0.15rem; font-family: var(--sans); font-style: normal; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--walnut); }
.ix__mat { grid-area: mat; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.ix__price { grid-area: price; font-weight: 500; }
.ix__add {
  display: inline-grid; place-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid var(--espresso); background: transparent; color: var(--espresso);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; transition: background-color 0.3s, color 0.3s;
}
.ix__add:hover { background: var(--espresso); color: var(--cream); }
.ix__stage { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); border-radius: 999px 999px 0 0; box-shadow: 0 40px 60px -40px rgba(43, 25, 19, 0.6); }
.ix__stage::after { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(203, 176, 133, 0.75); border-radius: inherit; pointer-events: none; }
.ix__shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.ix__shot.is-on { opacity: 1; transform: none; }
.ix__shot img { width: 100%; height: 100%; object-fit: cover; }

/* IV. table: pieces left, the evening picture right */
.col--table .col__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.col--table .col__pieces { grid-column: 1 / 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: start; padding-top: 2rem; }
.col--table .hcard:nth-child(2) { margin-top: 4rem; }
.col--table .col__photo { grid-column: 8 / 13; aspect-ratio: 3 / 4; outline: 11px solid var(--paper); box-shadow: 0 0 0 12px rgba(165, 138, 92, 0.35), 0 40px 60px -30px rgba(43, 25, 19, 0.6); }
.col--table .col__head { margin-left: auto; text-align: right; justify-items: end; }
.col--table .col__no { flex-direction: row-reverse; }

@media (max-width: 899px) {
  .col--feature .col__body, .col--table .col__body { grid-template-columns: 1fr; gap: 2rem; }
  .col--feature .col__photo, .col--table .col__photo { grid-column: 1; }
  .col--feature .col__photo { aspect-ratio: 4 / 4.4; }
  .col--table .col__photo { order: -1; aspect-ratio: 4 / 3.2; margin: 11px; }
  .col--feature .col__pieces, .col--table .col__pieces { grid-column: 1; grid-template-columns: 1fr 1fr; padding-top: 0; gap: 2.4rem 1rem; }
  .col--feature .hcard:nth-child(2), .col--table .hcard:nth-child(2) { margin-top: 2.5rem; }
  .col--table .hcard:nth-child(3) { margin-top: -2.5rem; }
  .col--table .col__head { margin-left: 0; text-align: left; justify-items: start; }
  .col--table .col__no { flex-direction: row; }
  .col--gallery .col__pieces { grid-template-columns: 1fr 1fr; gap: 2.4rem 1rem; }
  .col--gallery .hcard:nth-child(n) { margin-top: 0; }
  .col--gallery .hcard:nth-child(2n) { margin-top: 2.5rem; }
  .ix { grid-template-columns: 1fr; }
  .ix__stage { display: none; }
  .ix__item { grid-template-columns: 1fr; gap: 0.7rem; padding-block: 1rem; }
  .ix__link { grid-template-columns: 64px 1fr auto; grid-template-areas: "thumb name price" "thumb mat price"; column-gap: 0.9rem; padding-left: 0.9rem; align-items: center; }
  .ix__thumb { display: block; width: 64px; height: 80px; overflow: hidden; background: var(--cream); }
  .ix__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .ix__no { display: none; }
  .ix__name { font-size: 1.15rem; }
  .ix__add { justify-self: start; margin-left: calc(64px + 1.8rem); }
}

/* ---------- the signature: details on walnut and stone ---------- */
.signature { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) var(--gutter); color: var(--cream);
  background: radial-gradient(60% 50% at 85% 10%, rgba(165, 138, 92, 0.14), transparent 60%), var(--espresso); }
.signature__stage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, clamp(3.4rem, 6vw, 5.6rem)); column-gap: clamp(0.6rem, 1.4vw, 1.2rem); }
.signature__stone { grid-column: 2 / 7; grid-row: 2 / 8; background: var(--travertine), linear-gradient(160deg, #D8CAB7, #BCA993); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 40px 60px -30px rgba(0, 0, 0, 0.75); }
.signature__plank { grid-column: 1 / -1; grid-row: 8; align-self: start; height: 20px; z-index: 1; background: var(--walnut-wood); box-shadow: 0 24px 34px -14px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 228, 196, 0.25); }
.signature__title { grid-column: 7 / 13; grid-row: 1 / 4; z-index: 5; align-self: start; font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 4.5rem); line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; text-shadow: 0 2px 30px rgba(20, 10, 6, 0.6); }
.signature__title em { font-style: italic; color: var(--brass-light); }
.sig { position: relative; z-index: 2; display: block; color: var(--cream); text-decoration: none; }
.sig__frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--chocolate); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.8); }
.sig__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.94) contrast(1.05) sepia(0.05); transition: filter 0.6s; }
.sig:hover .sig__frame img { filter: saturate(1) contrast(1.08) brightness(1.04); }
.sig__note {
  position: absolute; left: 0.7rem; bottom: 0.7rem; z-index: 2; display: flex; gap: 0.5rem; align-items: center; padding: 0.35rem 0.6rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream);
  background: rgba(43, 25, 19, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(234, 224, 209, 0.16);
}
.sig__no { color: var(--brass-light); padding-right: 0.5rem; border-right: 1px solid var(--brass); }
.sig--1 { grid-column: 3 / 6; grid-row: 3 / 8; }
.sig--2 { grid-column: 7 / 10; grid-row: 4 / 8; z-index: 3; margin-left: -1.5rem; }
.sig--3 { grid-column: 10 / 12; grid-row: 5 / 8; align-self: end; }
.sig--3 .sig__frame { height: auto; aspect-ratio: 1; border-radius: 50%; }
.sig--3 .sig__note { left: 50%; bottom: -0.4rem; transform: translateX(-50%); white-space: nowrap; }
.sig--4 { grid-column: 1 / 3; grid-row: 1 / 3; z-index: 3; margin-top: 1rem; }
@media (max-width: 899px) {
  .signature__stage { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(10, 15vw); column-gap: 0.6rem; }
  .signature__title { grid-column: 1 / -1; grid-row: 1 / 4; font-size: clamp(1.9rem, 8.6vw, 2.8rem); }
  .signature__stone { grid-column: 1 / 5; grid-row: 4 / 10; }
  .sig--1 { grid-column: 2 / 5; grid-row: 5 / 10; }
  .sig--4 { grid-column: 5 / 7; grid-row: 4 / 6; margin-top: 0; }
  .sig--2 { grid-column: 4 / 7; grid-row: 7 / 10; margin-left: 0; }
  .sig--3 { grid-column: 1 / 3; grid-row: 8 / 11; }
  .signature__plank { grid-row: 10; }
}

/* ---------- the brand story ---------- */
.story__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem 2rem; margin-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.story__text .label { grid-column: 1 / -1; }
.story__title { grid-column: 1 / 7; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; }
.story__title em { font-style: italic; color: var(--olive); }
.story__body { grid-column: 8 / 13; align-self: end; display: grid; gap: 1rem; font-size: 1.04rem; line-height: 1.75; color: var(--ink-soft); }
.story__body p:first-child::first-letter { float: left; margin: 0.06em 0.12em 0 0; font-family: var(--display); font-size: 3.3em; line-height: 0.82; color: var(--walnut); }
.story__close { font-family: var(--display); font-style: italic; font-size: var(--t-md); line-height: 1.4; color: var(--espresso); }
@media (max-width: 899px) {
  .story__title, .story__body { grid-column: 1 / -1; }
}

/* the shop page: rooms, then the named collections */
.chips { display: grid; gap: 0.6rem; }
.chips__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip--edit { font-family: var(--display); font-style: italic; font-size: 0.95rem; letter-spacing: 0.01em; text-transform: none; border-color: rgba(119, 115, 90, 0.45); }
.chip--edit[aria-current] { background: var(--olive); border-color: var(--olive); color: var(--paper); }
/* the two small room tiles take a smaller title so two-word rooms stay on one line */
.room--4 .room__title, .room--5 .room__title { font-size: clamp(1.05rem, 1.45vw, 1.45rem); }
@media (max-width: 899px) { .room--4 .room__title, .room--5 .room__title { font-size: 1.25rem; } }

/* ==========================================================================
   2026-11-11: favorites and sign-in (the same Safira account as the hijab site)
   ========================================================================== */

/* header tools: Favorites and Account beside the bag; words on laptops, icons alone on phones */
.hh__tool { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.2rem; border: 0; background: none; color: inherit; text-decoration: none;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hh__tool svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.hh__tool:hover { color: var(--brass-light); }
.hh__fav .hh__count { background: transparent; color: var(--brass-light); min-width: 0; margin-left: 0; }
.hh__fav .hh__count:not(.has-items) { display: none; }
.hh__acct { position: relative; }
/* a signed-in customer: a small brass dot on the account icon */
.hh__acct.is-signed-in::after { content: ""; position: absolute; left: 0.95rem; top: 0.55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-light); box-shadow: 0 0 0 2px var(--espresso); }
@media (max-width: 860px) {
  .hh__tool-word { display: none; }
  .hh__tools { gap: 0.5rem; }
  .hh__acct.is-signed-in::after { left: auto; right: -0.1rem; top: 0.6rem; }
}
@media (max-width: 420px) {
  .hh__bag { font-size: 0; gap: 0; }
  .hh__bag .hh__count { font-size: 0.68rem; margin-left: 0; }
}

/* the heart: over the corner of each product photo, and as a labelled button on the product page */
.hfav { display: inline-grid; place-items: center; padding: 0; border: 0; background: none; color: var(--espresso); cursor: pointer; }
.hfav svg { width: 1.2rem; height: 1.2rem; fill: transparent; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: fill 0.3s, transform 0.3s var(--ease); }
.hfav[aria-pressed="true"] svg { fill: #4E2633; stroke: #4E2633; }
.hfav:hover svg { transform: scale(1.08); }
.hfav.is-popping svg { animation: hfav-pop 0.5s var(--ease); }
.hcard__fav {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(244, 237, 227, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 16px -10px rgba(43, 25, 19, 0.6);
}
.col--gallery .hcard__fav { background: rgba(43, 25, 19, 0.55); color: var(--cream); }
.col--gallery .hcard__fav[aria-pressed="true"] svg { fill: #C26A76; stroke: #C26A76; }
.hfav--label { display: inline-flex; gap: 0.6rem; justify-self: start; min-height: 44px; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.hfav--label:hover .hfav__text { text-decoration: underline; text-underline-offset: 0.25em; }
.hfav-spark {
  position: fixed; z-index: 90; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #C9AE7A; pointer-events: none;
  animation: hfav-spark 0.7s var(--ease) forwards;
}
@keyframes hfav-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes hfav-spark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(0.2); opacity: 0; } }

/* the favorites page */
.favs .shop__title em { font-style: italic; color: var(--walnut); }
.favs .shop__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* menu: favorites and the account, under the collections */
.hm__mine { display: grid; gap: 0.2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule-dark); }
.hm__mine a, .hm__mine button { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--cream);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.hm__mine svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--brass-light); stroke-width: 1.5; stroke-linejoin: round; }
.hm__mine a:hover, .hm__mine button:hover { color: var(--brass-light); }
.hm__count { color: var(--brass-light); }
.hm__count:not(.has-items) { display: none; }

/* the account panel: a drawer from the right, like the bag */
.hacct { width: min(27rem, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--espresso); }
.hacct::backdrop { background: rgba(43, 25, 19, 0.45); }
.hacct[open] { animation: slide-in-right 0.45s var(--ease); }
.hacct.is-closing { animation: slide-out-right 0.3s ease-in forwards; }
.hacct__inner { display: flex; flex-direction: column; min-height: 100%; }
.hacct__top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: var(--espresso); color: var(--cream); }
.hacct__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass-line); }
.hacct__mark .shl-mark { height: 2.4rem; }
.hacct__close { min-height: 44px; border: 0; background: none; color: var(--brass-light); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hacct__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 1.4rem 1.5rem 0; border-bottom: 1px solid var(--rule); }
.hacct__tabs button { min-height: 46px; padding: 0 0.5rem; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--ink-soft);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hacct__tabs button[aria-selected="true"] { color: var(--espresso); border-bottom-color: var(--brass); }
.hacct__pane { display: grid; gap: 0.9rem; padding: 1.8rem 1.5rem 2rem; }
.hacct__pane[hidden] { display: none; }
.hacct__kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--walnut); }
.hacct__title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 6vw, 2.5rem); line-height: 1.05; }
.hacct__text { color: var(--ink-soft); font-size: var(--t-sm); }
.hacct__form { display: grid; gap: 0.55rem; margin-top: 0.4rem; }
.hacct__label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut); }
.hacct__input { min-height: 50px; padding: 0 0.95rem; border: 1px solid var(--rule); background: #fff; font-size: 1rem; color: var(--espresso); }
.hacct__input:focus { outline: 1.5px solid var(--espresso); outline-offset: 0; }
.hacct__input[aria-invalid="true"] { border-color: #8A3B2E; }
.hacct__error { color: #8A3B2E; font-size: var(--t-sm); }
.hacct__error:empty { display: none; }
.hacct__go { margin-top: 0.35rem; }
.hacct__fine { font-size: var(--t-xs); color: var(--ink-soft); }
.hacct__fine a { color: inherit; }
.hacct__links { display: grid; gap: 0.1rem; margin: 0.6rem 0 0; border-top: 1px solid var(--rule); }
.hacct__links a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 1.25rem; text-decoration: none; }
.hacct__links a::after { content: "→"; font-family: var(--sans); color: var(--brass); transition: transform 0.3s var(--ease); }
.hacct__links a:hover::after { transform: translateX(4px); }
.hacct__out { justify-self: start; margin-top: 0.4rem; border: 0; padding: 0; cursor: pointer; color: var(--espresso); }

/* the greeting just after signing in */
.hwelcome {
  position: fixed; z-index: 30; top: calc(var(--header-h) + var(--strip-h) + 0.8rem); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.9rem;
  width: max-content; max-width: calc(100vw - 2rem); padding: 0.85rem 1rem 0.85rem 1.1rem; background: var(--espresso); color: var(--cream);
  border: 1px solid rgba(203, 176, 133, 0.35); box-shadow: 0 20px 40px -20px rgba(20, 10, 6, 0.7); animation: hwelcome-in 0.6s var(--ease);
}
.hwelcome.is-leaving { opacity: 0; transform: translate(-50%, -8px); transition: opacity 0.5s, transform 0.5s; }
.hwelcome__mark .shl-mark { height: 2.2rem; }
.hwelcome__words { display: grid; gap: 0.1rem; }
.hwelcome__line { font-family: var(--display); font-size: 1.2rem; }
.hwelcome__sub { font-size: var(--t-xs); color: var(--stone); }
.hwelcome__close { min-width: 36px; min-height: 36px; border: 0; background: none; color: var(--brass-light); font-size: 1.3rem; }
@keyframes hwelcome-in { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hacct[open], .hacct.is-closing, .hwelcome { animation: none; }
  .hfav.is-popping svg { animation: none; }
}

/* ---------- coffee beans raining down the screen as the Safira Home page opens (js/beans.js) ----------
   A see-through layer over everything: it never takes a click, and it's removed once the last bean has fallen. */
.bean-rain { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.bean-rain__bean {
  position: absolute; top: 0; width: var(--w); height: calc(var(--w) * 0.7);
  background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 3px 3px rgba(20, 8, 3, 0.35));
  transform: translate3d(0, -12vh, 0) rotate(var(--r0));
  animation: bean-fall var(--t) cubic-bezier(0.4, 0.05, 0.75, 0.6) var(--d) forwards;
}
@keyframes bean-fall {
  to { transform: translate3d(var(--drift), 112vh, 0) rotate(var(--r1)); }
}
@media (prefers-reduced-motion: reduce) { .bean-rain { display: none; } }
