/* The Blend Bar — homepage ("Atelier", design v22, 2026-10-30).

   The design system for the whole customer site: the homepage uses it alone;
   the booking page adds book.css, and the shop, portal, share, thanks and
   privacy pages add pages.css.

   Taken from the design file as-is, with three changes so it runs under this
   site's Content-Security-Policy (font-src 'self'; script-src 'self'):
     * the fonts are self-hosted (assets/fonts, @font-face below) instead of
       loaded from Google Fonts, which the policy would block;
     * the page script moved to home.js;
     * a cookie-notice block at the end, restyled in this palette (the notice
       script is shared with every page: cookie-notice.js). */

/* --- Self-hosted fonts (SIL Open Font License; see assets/fonts/LICENSE.txt) --- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-italic.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond.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: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/eb-garamond-italic.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: "EB Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/eb-garamond.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: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/pinyon-script.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;
}

/* --- Design --- */
/* Version A, "Atelier": the mockup, section for section. Black header and
   strip, ivory and blush panels, photographs edge to edge, gold line work.
   Motion: the hero copy settles in on load, photographs drift and float on
   scroll, the gold arch around each step photo draws itself in, and a rose
   glow follows the pointer across the dark bands. */
:root {
  --noir: #140e0b;
  --noir-2: #21180f;
  --ivory: #faf3ea;
  --paper: #fffaf4;
  --blush: #f3dcd3;
  --blush-2: #ebc4b8;
  --peony: #d99a8c;
  --rose: #a5594f;
  --gold: #c9a45c;
  --gold-deep: #8f6d34;
  --gold-pale: #ecd9ad;
  --ink: #23180f;
  --text: #4b3a2e;
  --muted: #7f6a59;
  --line: #dfc8a4;

  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "EB Garamond", Garamond, Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --track: 0.18em;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 84px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.15rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--noir);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; letter-spacing: 0.06em; }
h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 0.78rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.script { font-family: var(--script); color: var(--gold-deep); line-height: 1.15; font-weight: 400; }

/* gold rule with a lozenge, like the mockup's section heads */
.orn { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); width: min(220px, 60%); margin: 0 auto; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.orn svg { width: 22px; height: 12px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.85rem 1.7rem;
  font-family: var(--body); font-size: 0.8rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase;
  border: 1px solid var(--gold); cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-noir { background: var(--noir); color: var(--gold-pale); border-color: var(--noir); }
.btn-noir:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--paper); }
.btn-cream { background: rgba(255,250,244,.9); color: var(--ink); border-color: var(--line); }
.btn-cream:hover { background: var(--paper); border-color: var(--gold-deep); }
.btn-line { background: transparent; color: var(--gold-pale); border-color: var(--gold); }
.btn-line:hover { background: var(--gold); color: var(--noir); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
a:hover .arrow { transform: translateX(4px); }

/* --- header --- */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(20,14,11,.68); border-bottom: 1px solid rgba(201,164,92,.35);
  -webkit-backdrop-filter: blur(6px) saturate(1.1); backdrop-filter: blur(6px) saturate(1.1);
}
header.top .wrap { display: flex; align-items: center; gap: 2.5rem; min-height: var(--header); max-width: none; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.logo { display: flex; align-items: center; gap: .8rem; line-height: 1; color: var(--gold-pale); }
.logo .mark { width: 36px; height: auto; filter: drop-shadow(0 0 10px rgba(201,164,92,.25)); }
.logo .words { display: flex; flex-direction: column; align-items: center; }
.logo .name { font-family: var(--script); font-size: 2.9rem; white-space: nowrap; background: linear-gradient(100deg, #c9a45c 0%, #c9a45c 38%, #e8d3a0 45%, #fffaf0 50%, #e8d3a0 55%, #c9a45c 62%, #c9a45c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 300% 100%; background-position: 100% 0; animation: sheen 9s ease-in-out infinite; }
/* a soft white highlight drifts across the gold over about 4 seconds, then rests */
@keyframes sheen { 0% { background-position: 100% 0; } 45% { background-position: 0% 0; } 100% { background-position: 0% 0; } }
.logo .city { display: flex; gap: .7rem; align-items: center; font-family: var(--display); font-size: .95rem; letter-spacing: .3em; color: var(--gold-pale); margin-top: 0; padding-left: .34em; }
.logo .city::before, .logo .city::after { content: ""; width: 44px; height: 1px; background: var(--gold); opacity: .6; }
nav.links { display: flex; gap: clamp(1.1rem, 1.9vw, 2.9rem); margin-left: auto; }
nav.links a { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #efe4d3; padding: .35rem 0; position: relative; }
nav.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
nav.links a:hover::after { transform: scaleX(1); }
/* customer portal: a quiet link beside Book now, as on the current site */
header .portal { display: inline-flex; align-items: center; gap: .5rem; margin-left: -.9rem; padding: .5rem .2rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); white-space: nowrap; transition: color .3s var(--ease); }
header .portal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
header .portal:hover { color: #fffaf0; }
header .btn { min-height: 3.1rem; padding: .8rem 2rem; font-size: .82rem; letter-spacing: .14em; margin-left: -1.3rem; }

/* --- hero: one continuous photograph, copy over the Italian view --- */
main section, footer { scroll-margin-top: var(--header); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero { position: relative; overflow: hidden; background: var(--noir); margin-top: calc(-1 * var(--header)); padding-top: var(--header); min-height: min(max(540px, calc(100vw * 642 / 1536 + 56px)), 1000px); display: grid; align-items: center; isolation: isolate; }
.hero .scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero .scene > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
/* the bottle photo from the original site, framed, sitting over the painted bottle.
   hero.js places it from the photo's own coordinates; these are fallbacks. */
.hero .cartouche.over { position: absolute; left: 6.5%; top: 14%; width: 22%; z-index: 1; filter: drop-shadow(0 18px 30px rgba(20,14,11,.45)); }
.hero .cartouche.over img { aspect-ratio: 997 / 1049; height: auto; }
/* a soft blur that follows the arch of the frame, blending it into the photo */
/* an even, rounded shade that follows the frame all the way round. Its mask is
   drawn in real pixels by place() so the spacing is the same on every side. */
/* The hero frame: your BB logo's outline (straight sides, stepped corner notch,
   gentle dome), widened by stretching only the dome. Drawn in pixels by place(). */
.hero .lux { position: absolute; margin: 0; z-index: 2; filter: drop-shadow(0 16px 26px rgba(20,14,11,.4)); }
.hero .lux img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; }
.hero .lux-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.hero .lux-line .o { stroke: url(#luxGold); stroke-width: 3; }
.hero .lux-line .i { stroke: url(#luxGold); stroke-width: 1.2; }
/* The hero photo's very soft blur is baked into hero-full-soft.webp (a 2px gaussian)
   rather than drawn here with backdrop-filter: redrawing a blur over the whole
   hero cost phones about a second before the photo could show (PageSpeed's
   "largest contentful paint"). The frame and text above it stay sharp. */
.hero .halo { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero .cartouche.over { z-index: 2; }
.hero .cartouche.over .line { stroke: var(--gold-pale); stroke-width: 1.6; }
/* the soft light the copy sits in, as in the mockup */
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; z-index: -1; background: linear-gradient(0deg, rgba(20,14,11,.35), transparent); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.025); } }
.hero .wrap { width: 100%; max-width: none; display: grid; grid-template-columns: 46% 1fr; padding-top: 2rem; padding-bottom: 2rem; }
.hero-copy { grid-column: 2; }
/* the original photographs, in the arch from the BB monogram */
.cartouche { position: relative; margin: 0; padding: 8px; }
.cartouche img { width: 100%; height: 100%; object-fit: cover; display: block; clip-path: url(#cartouche); -webkit-clip-path: url(#cartouche); }
.cartouche .line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 1.3; pointer-events: none; }
.fx .pre .cartouche .line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx .pre.in .cartouche .line path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.hero-copy { position: relative; text-align: center; justify-self: center; display: flex; flex-direction: column; align-items: center; }
/* a heavier blur behind the headline: strongest in the middle, fading out in a
   soft oval just past the edges of the text */
.hero-copy::before { content: ""; position: absolute; inset: -9% -12%; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px); background: rgba(250,242,232,.5);
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, rgba(0,0,0,.6) 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 52%, rgba(0,0,0,.6) 74%, transparent 100%); }
.hero-copy .eyebrow { color: var(--ink); font-size: clamp(.66rem, .82vw, .8rem); letter-spacing: .1em; font-weight: 400; }
.hero h1 { font-size: clamp(2.4rem, 4.1vw, 4.6rem); font-weight: 500; letter-spacing: .02em; line-height: 1; margin-top: clamp(.9rem, 1.6vw, 1.4rem); text-transform: uppercase; white-space: nowrap; }
.okc { display: flex; align-items: center; justify-content: center; gap: 1.1rem; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.6rem); font-weight: 500; letter-spacing: .12em; color: var(--ink); margin: .55rem 0 .35rem; padding-left: .12em; }
.okc::before, .okc::after { content: ""; width: clamp(40px, 5.5vw, 80px); height: 1px; background: var(--gold-deep); }
.hero .script { font-size: clamp(2rem, 3.15vw, 3.5rem); color: var(--ink); white-space: nowrap; }
.hero .lede { font-size: clamp(.7rem, .86vw, .86rem); letter-spacing: .08em; text-transform: uppercase; margin: clamp(1rem, 1.7vw, 1.5rem) auto clamp(1.5rem, 2.6vw, 2.3rem); color: var(--ink); line-height: 1.75; }
.hero .stack { display: grid; gap: .75rem; justify-items: stretch; width: clamp(15rem, 20vw, 19rem); }
.hero .stack .btn { width: 100%; min-height: 2.9rem; padding: .75rem 1rem; }
.hero .btn-cream { background: rgba(255,250,244,.92); border-color: rgba(143,109,52,.45); }

/* load sequence: the hero copy settles in line by line */
.fx .hero-copy > * { animation: rise 1.1s var(--ease) both; }
.fx .hero-copy > *:nth-child(2) { animation-delay: .12s; }
.fx .hero-copy > *:nth-child(3) { animation-delay: .24s; }
.fx .hero-copy > *:nth-child(4) { animation-delay: .38s; }
.fx .hero-copy > *:nth-child(5) { animation-delay: .52s; }
.fx .hero-copy > *:nth-child(6) { animation-delay: .66s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* --- dark bands get a rose glow that follows the pointer --- */
.dark { position: relative; background: var(--noir); color: #efe4d3; isolation: isolate; }
.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(217,154,140,.22), transparent 70%); }
.dark.lit::after { opacity: 1; }
.closing.dark::after { display: none; }
.dark h2, .dark h3 { color: #fffaf4; }

/* --- icon strip --- */
.strip { border-top: 1px solid rgba(201,164,92,.4); border-bottom: 1px solid rgba(201,164,92,.4); }
.strip ul { list-style: none; margin: 0; padding: 2.1rem 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li + li { border-left: 1px solid rgba(201,164,92,.3); }
.strip a { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; font-size: .78rem; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.6; padding: 0 1rem; }
.strip svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), stroke .4s; }
.strip a:hover svg { transform: translateY(-4px) rotate(-4deg); stroke: var(--gold-pale); }

/* --- story: copy on ivory with peony border, bottles photo right --- */
.story { display: grid; grid-template-columns: 1fr 1.25fr; background: var(--ivory); min-height: 460px; }
.story-copy { position: relative; display: grid; place-items: center; padding: 4rem 3rem; text-align: center; overflow: hidden; }
/* the BB monogram, large and faint behind the copy */
.story-copy .mark-bg { position: absolute; left: 50%; top: 50%; height: 88%; width: auto; max-width: none; transform: translate(-50%, -50%); opacity: .09; pointer-events: none; }
.story-copy .inner { position: relative; max-width: 27rem; display: grid; gap: 1.2rem; justify-items: center; }
.story-copy p { font-size: 1.15rem; }
.story-photo { position: relative; overflow: hidden; min-height: 320px; }
.story-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
/* the photo dissolves into the ivory panel: a band of blur that strengthens toward
   the edge, then a wash of the panel colour on top of it */
.story-photo::before, .story-photo::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none; }
.story-photo::before { width: 34%; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent); mask-image: linear-gradient(90deg, #000 20%, transparent); }
.story-photo::after { width: 26%; background: linear-gradient(90deg, var(--ivory) 0%, rgba(250,243,234,.75) 30%, rgba(250,243,234,0) 100%); }

/* --- experiences: four photo cards --- */
.exps { background: var(--paper); padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 5.5rem); }
.head { display: grid; gap: .9rem; justify-items: center; text-align: center; margin-bottom: 2.6rem; }
.head-row { display: flex; align-items: center; gap: 1.2rem; }
.head-row::before, .head-row::after { content: ""; width: clamp(40px, 8vw, 90px); height: 1px; background: var(--gold); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.card { display: grid; gap: .9rem; text-align: center; align-content: start; }
.card .ph { position: relative; aspect-ratio: 10 / 7; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card .ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(236,217,173,.9); opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.card:hover .ph img { transform: scale(1.08); }
.card .ph img.pos-low { object-position: 50% 72%; }
.card:hover .ph::after { opacity: 1; transform: none; }
.card p { font-size: 1.02rem; color: var(--muted); line-height: 1.5; max-width: 16rem; margin: 0 auto; }
.more { font-size: .76rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink); justify-self: center; display: inline-flex; gap: .6rem; padding-top: .3rem; }

/* --- the three steps, on blush --- */
.steps-band { background: linear-gradient(180deg, var(--blush), #f8e8e0); padding: clamp(4rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.steps-band .peony { position: absolute; right: -70px; top: -40px; width: 300px; opacity: .55; transform: rotate(160deg); -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); pointer-events: none; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1rem; }
.step { position: relative; text-align: center; display: grid; gap: .7rem; justify-items: center; }
.step .cartouche { width: min(250px, 100%); aspect-ratio: 5 / 7; margin-bottom: -2.4rem; }
.step .num { width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--gold); font-family: var(--display); font-size: 1.6rem; color: var(--gold-deep); position: relative; z-index: 1; }
.step p { color: var(--text); max-width: 18rem; }

/* --- signature --- */
.sig { padding: clamp(4rem, 8vw, 6rem) 0; overflow: hidden; }
.sig .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sig figure { margin: 0; position: relative; justify-self: center; max-width: 340px; width: 100%; }
.sig figure img { position: relative; z-index: 1; width: 100%; height: auto; }
.sig figure::before { content: ""; position: absolute; inset: -14%; background: radial-gradient(closest-side, rgba(217,154,140,.35), transparent 70%); }
.sig .copy { display: grid; gap: 1rem; justify-items: start; }
.sig .script { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-pale); }
.sig p { color: #e6d8c4; font-size: 1.2rem; max-width: 28rem; }

/* --- events + terms --- */
.events { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--ivory); }
.events .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.events .intro { display: grid; gap: 1.2rem; justify-items: start; }
.occ { list-style: none; padding: 0; margin: .4rem 0 .8rem; columns: 2; column-gap: 2rem; color: var(--ink); }
.occ li { padding: .3rem 0; }
.occ li::before { content: "\2766"; color: var(--peony); margin-right: .6rem; }
.terms { background: var(--paper); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 7px; margin: 7px; padding: 2.2rem; }
.terms h3 { margin-bottom: 1rem; }
.terms ul { list-style: none; margin: 0; padding: 0; font-size: 1.02rem; }
.terms li + li { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: .9rem; }

/* --- gallery --- */
.gallery { background: var(--ivory); padding: clamp(4rem, 8vw, 6rem) 0; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(260px, 30vw, 380px); gap: 1rem; }
.mosaic figure { margin: 0; overflow: hidden; position: relative; }
.mosaic figure::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(236,217,173,.85); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.mosaic figure:hover::after { opacity: 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.follow { text-align: center; margin-top: 2rem; }

/* --- closing --- */
.closing { position: relative; text-align: center; padding: clamp(4.5rem, 9vw, 6.5rem) 0; overflow: hidden; }
.closing .fl { position: absolute; top: 0; bottom: 0; object-fit: cover; height: 100%; pointer-events: none; z-index: -1; }
.closing .fl.l { left: 0; width: 58%; object-position: 0% 50%; -webkit-mask-image: linear-gradient(90deg, #000 30%, rgba(0,0,0,.55) 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 30%, rgba(0,0,0,.55) 62%, transparent 100%); }
.closing .fl.r { right: 0; width: 58%; object-position: 100% 50%; -webkit-mask-image: linear-gradient(270deg, #000 30%, rgba(0,0,0,.55) 62%, transparent 100%); mask-image: linear-gradient(270deg, #000 30%, rgba(0,0,0,.55) 62%, transparent 100%); }
.closing .inner { display: grid; gap: 1rem; justify-items: center; position: relative; }
.closing .eyebrow { color: var(--gold); font-size: .95rem; letter-spacing: .26em; }
.closing .script { font-size: clamp(3rem, 7.5vw, 5.2rem); color: var(--gold-pale); }
.closing p { font-size: 1.2rem; color: #efe4d3; }

footer { background: var(--noir); color: #b9a891; padding: 3.5rem 0 2rem; border-top: 1px solid rgba(201,164,92,.35); font-size: 1rem; }
footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
footer h4 { margin: 0 0 .8rem; font-weight: 500; font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--gold); }
footer a { display: block; color: #efe4d3; margin-bottom: .45rem; width: fit-content; }
footer a:hover { color: var(--gold-pale); }
footer .logo .words { align-items: flex-start; }
footer .logo .city::before { display: none; }
footer .tag { margin-top: 1rem; }
footer .legal { display: block; border-top: 1px solid rgba(201,164,92,.25); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .88rem; }

/* scroll reveal: only content below the fold at load is hidden, then released */
.pre { opacity: 0; transform: translateY(22px); }
.pre.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }


@media (max-width: 1400px) {
  header .logo .name { font-size: 2.5rem; }
  nav.links a { font-size: .72rem; letter-spacing: .12em; }
  header .portal { margin-left: -1rem; }
  header .portal .long { display: none; }
}
@media (max-width: 1360px) {
  nav.links { display: none; }
  header .portal { margin-left: auto; }
}
@media (max-width: 900px) {
  .story, .sig .wrap, .events .wrap { grid-template-columns: 1fr; }
  header.top { background: rgba(20,14,11,.97); }
  .hero { display: block; min-height: 0; margin-top: 0; padding-top: 0; background: linear-gradient(180deg, #f6e6dd, var(--ivory)); }
  .hero .scene { position: relative; height: 390px; }
  .hero .script { white-space: normal; }
  .hero .stack { width: min(19rem, 100%); }
  .hero .scene > .bg { object-position: 8% 50%; }
  .hero::before, .hero::after { display: none; }
  .hero .wrap { display: block; padding-top: 2.25rem; padding-bottom: 3rem; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .mosaic figure:first-child { grid-row: span 2; }
  .story-copy { padding: 3.5rem 1.5rem; }
  .story-photo { min-height: 280px; }
  .story-photo::before { width: auto; right: 0; bottom: auto; height: 34%; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent); mask-image: linear-gradient(180deg, #000 20%, transparent); }
  .story-photo::after { width: auto; right: 0; bottom: auto; height: 26%; background: linear-gradient(180deg, var(--ivory) 0%, rgba(250,243,234,.75) 30%, rgba(250,243,234,0) 100%); }
  .cards { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .strip ul { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .strip li:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 2.4rem; }
  .sig .copy { justify-items: center; text-align: center; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  header .logo .name, .logo .name { font-size: 1.45rem; }
  header.top .wrap { gap: .8rem; padding-left: 16px; padding-right: 16px; }
  .logo .mark { width: 30px; }
  .logo .city { font-size: .7rem; }
  .logo .city::before, .logo .city::after { width: 22px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .mosaic figure:first-child { grid-row: span 1; }
  header .btn { padding: .5rem .75rem; letter-spacing: .1em; font-size: .74rem; margin-left: 0; }
  header .portal { margin-right: .2rem; }
  header .portal span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  header .portal svg { width: 24px; height: 24px; }
  .cards { grid-template-columns: 1fr; }
  .occ { columns: 1; }
  .terms { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pre { opacity: 1; transform: none; }
}
@media (max-width: 380px) {
  header .logo .mark { display: none; }
  header .logo .name { font-size: 1.4rem; }
  header .logo .city { font-size: .62rem; letter-spacing: .24em; }
  header .btn { margin-left: 0; padding: .5rem .7rem; font-size: .72rem; letter-spacing: .08em; }
  header .portal { margin-right: 0; }
  .head-row::before, .head-row::after { width: 18px; }
}

/* --- Upcoming events (home.js, from the public events calendar) --- */
.upcoming { background: var(--paper); padding: clamp(4rem, 8vw, 6rem) 0; }
.upcoming[hidden] { display: none; }
.up-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 980px; margin: 0 auto; }
.up-card { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; padding: 1.5rem; background: var(--ivory); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 5px; margin: 5px; }
.up-date { margin: 0; width: 4.4rem; padding: .55rem 0 .6rem; text-align: center; background: var(--noir); color: var(--gold-pale); display: grid; gap: .1rem; }
.up-date span { font-size: .72rem; letter-spacing: var(--track); text-transform: uppercase; }
.up-date strong { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; color: #fffaf4; }
.up-body { display: grid; gap: .35rem; min-width: 0; }
.up-body h3 { font-size: 1.05rem; }
.up-when { color: var(--gold-deep); font-size: .98rem; }
.up-where a { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; text-decoration-color: var(--gold); overflow-wrap: anywhere; }
.up-desc { color: var(--muted); font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.up-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 1.1rem; }
.up-empty a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
@media (max-width: 900px) { .up-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .up-card { grid-template-columns: 1fr; gap: .9rem; padding: 1.2rem; } .up-date { width: auto; display: flex; justify-content: center; gap: .5rem; align-items: baseline; } }

/* --- Cookie notice (cookie-notice.js), in the Atelier palette --- */
.cookie-notice {
  position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem;
  margin: 0 auto; max-width: 44rem; padding: 1rem 1.1rem 1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  background: var(--noir); color: #efe4d3; border: 1px solid rgba(201,164,92,.5);
  box-shadow: 0 18px 40px -18px rgba(20,14,11,.6);
  font-size: 1rem; line-height: 1.45;
}
.cookie-notice p { margin: 0; flex: 1; }
.cookie-notice a { color: var(--gold-pale); text-decoration: underline; text-underline-offset: .18em; }
.cookie-notice .btn { flex: none; background: var(--gold); color: var(--noir); border-color: var(--gold); min-height: 2.75rem; padding: .6rem 1.3rem; }
.cookie-notice .btn:hover { background: var(--gold-pale); border-color: var(--gold-pale); }
@media (max-width: 520px) {
  .cookie-notice { left: .6rem; right: .6rem; bottom: .6rem; flex-direction: column; align-items: stretch; gap: .8rem; }
}
@media print { .cookie-notice { display: none; } }

/* The privacy link sits inline in the legal line, not stacked like the
   footer's link columns. */
footer .legal a { display: inline; margin: 0; width: auto; color: #efe4d3; text-decoration: underline; text-underline-offset: .18em; }

/* Shop links stay hidden until the store is open (shop-status.js). */
html:not(.shop-open) [data-shop-link] { display: none !important; }
