/* ==========================================================================
   events.css – the events page only ("Gallery", Design C). Loaded after styles.css by events.html and by no other
   page; every rule sits under body.lux-gallery, so the rest of the site never sees it (except the @font-face rules
   below, which cannot sit under a selector; only this page loads them).
   The look: a gallery / magazine rhythm of charcoal bands and stone or ivory bands, espresso text on the light ones,
   ivory on the dark, a muted bronze for hairlines and small capitals. Marcellus (Roman capitals, letter-spaced) for
   headings, EB Garamond for text and italic accents. Square frames, thin rules, no hard sticker shadows, no scallops.
   Joe's banners are the theme, not a set of pictures to place: few photos, each shown once, only where it adds
   something (the hero's cookie, the custom orders' ribbon box).
   Motion: calm, one-time entrances through site.js's play-once ([data-play-once] gets is-armed, then is-in once it
   scrolls into view). Nothing is armed under reduced motion, so the page is complete and still there. The one
   exception to "once": the occasions' gift box opens, heart beats, flutes clink and hands shake on a loop, by
   request, with motion allowed.
   ========================================================================== */

/* ---------- the page's typefaces, self-hosted (fonts/) ----------
   Downloaded from Google Fonts (20 Nov 2026), latin subset only, the same files Google's
   stylesheet served this page before. Licences: Marcellus and EB Garamond: SIL Open Font License 1.1
   (https://github.com/google/fonts/tree/main/ofl/marcellus, https://github.com/google/fonts/tree/main/ofl/ebgaramond).
   EB Garamond is a variable font: one file covers weights 400–600 upright, another 400–500 italic (the page uses
   400 and 500, upright and italic). events.html preloads Marcellus and the italic, the two the hero shows. */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/marcellus-latin-normal-400.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 600;
  font-display: swap;
  src: url(fonts/eb-garamond-latin-normal-400-600.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 500;
  font-display: swap;
  src: url(fonts/eb-garamond-latin-italic-400-500.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;
}
/* The stand-ins shown until those files arrive (font-display: swap): the computer's own Times New Roman, scaled and
   placed so its letters take about the room Marcellus's and EB Garamond's do, so the hero's lines barely move at the
   swap. size-adjust is the measured width ratio (Chrome, 20 Nov 2026: the page's capitals in Marcellus are 92–97 % as
   wide as in Times New Roman, EB Garamond text 95 %, its italic 90–92 %); ascent and descent are each font's own,
   divided by that. A device without Times New Roman (Android) skips these and uses the next font in the list. */
@font-face {
  font-family: 'Marcellus fallback';
  src: local('Times New Roman'), local('TimesNewRomanPSMT');
  size-adjust: 96%;
  ascent-override: 101.5%;
  descent-override: 29.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'EB Garamond fallback';
  font-style: normal;
  src: local('Times New Roman'), local('TimesNewRomanPSMT');
  size-adjust: 95%;
  ascent-override: 106%;
  descent-override: 31.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'EB Garamond fallback';
  font-style: italic;
  src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT');
  size-adjust: 91.5%;
  ascent-override: 110%;
  descent-override: 32.6%;
  line-gap-override: 0%;
}

/* ---------- tokens ---------- */
.lux-gallery {
  --lx-ink: #121010;            /* charcoal bands */
  --lx-stone: #efe8dd;          /* stone bands and tiles */
  --lx-ivory: #f8f4ee;          /* ivory bands and panels */
  --lx-field: #fbf8f3;          /* form fields on stone */
  --lx-espresso: #2b211b;       /* text on light */
  --lx-espresso-muted: #5a4a3e; /* quieter text on light (6.9:1 on stone) */
  --lx-on-dark: #f3ede4;        /* text on charcoal */
  --lx-on-dark-muted: #c8bba9;  /* quieter text on charcoal (10:1) */
  --lx-bronze: #a8875a;         /* hairlines; small capitals on charcoal (5.6:1) */
  --lx-bronze-light: #c4a477;   /* small capitals over the hero photo (6:1 on its darkest grade) */
  --lx-bronze-ink: #75592f;     /* the bronze for small text and icons on light (5.3:1 on stone) */
  --lx-field-line: #807060;     /* field and chip outlines on light (3.9:1, non-text minimum 3:1) */
  --lx-caps: "Marcellus", "Marcellus fallback", "Trajan Pro", "Times New Roman", Georgia, serif;
  --lx-serif: "EB Garamond", "EB Garamond fallback", Garamond, "Times New Roman", Georgia, serif;
}

/* ---------- bands: each sets the tones base.css's .section reads (--tone-bg, --tone-text, --tone-muted) ---------- */
.lux-gallery .lx-band { font-family: var(--lx-serif); font-size: 1.1875rem; line-height: 1.6; overflow-x: clip; }
.lux-gallery .lx-band--dark,
.lux-gallery .lx-tile:nth-child(4n + 1),
.lux-gallery .lx-tile:nth-child(4n + 4) {
  --tone-bg: var(--lx-ink); --tone-text: var(--lx-on-dark); --tone-muted: var(--lx-on-dark-muted);
  --lx-accent: var(--lx-bronze); --lx-rule: rgb(168 135 90 / 0.5); --color-focus: var(--color-focus-on-dark);
}
.lux-gallery .lx-band--ivory,
.lux-gallery .lx-tile {
  --tone-text: var(--lx-espresso); --tone-muted: var(--lx-espresso-muted);
  --lx-accent: var(--lx-bronze-ink); --lx-rule: rgb(117 89 47 / 0.38);
}
.lux-gallery .lx-band--ivory { --tone-bg: var(--lx-ivory); }
.lux-gallery .lx-tile { --tone-bg: var(--lx-stone); }

/* ---------- shared type: the small-capitals eyebrow, the section title with a bronze hairline under it ---------- */
.lux-gallery .lx-eyebrow {
  margin: 0 0 1.1em; font-family: var(--lx-caps); font-size: 0.8125rem; line-height: 1.4;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--lx-accent);
}
.lux-gallery .lx-title {
  margin: 0; font-family: var(--lx-caps); font-weight: 400; font-stretch: normal;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase;
}
.lux-gallery .lx-head { max-width: 48rem; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.lux-gallery .lx-head .lx-title::after {
  content: ""; display: block; width: 56px; height: 1px; margin: 0.75em auto 0; background: var(--lx-accent);
}

/* ---------- buttons: square, small spaced capitals, no offset shadow and no lift (the site's .btn underneath) ---------- */
.lux-gallery main .btn,
.lux-gallery main .btn:hover,
.lux-gallery main .btn:active { transform: none; box-shadow: none; border-radius: 0; }
.lux-gallery main .btn {
  min-height: 52px; padding: 0.95em 2.2em; border-width: 1px;
  font-family: var(--lx-caps); font-weight: 400; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.lux-gallery .lx-band--dark .lx-btn { --btn-bg: var(--lx-on-dark); --btn-fg: var(--lx-ink); --btn-border: var(--lx-on-dark); }
.lux-gallery .lx-band--dark .lx-btn:hover { --btn-bg: var(--lx-bronze); --btn-fg: var(--lx-ink); --btn-border: var(--lx-bronze); }

/* A photo in a square frame with a thin bronze outline set off behind it (--fx, --fy: which way it is offset). */
.lux-gallery .lx-custom__photo { position: relative; isolation: isolate; margin: 0; }
.lux-gallery .lx-custom__photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1px solid var(--lx-rule); translate: var(--fx, 12px) var(--fy, -12px);
}
.lux-gallery .lx-custom__photo img { display: block; width: 100%; height: auto; }

/* ---------- hero: the whole first screen, one dark photo in an invitation frame ----------
   The band fills the screen under the sticky header (on phones, down to the phone bar). styles.css gives the first
   band a transparent top border (--badge-clear) so the hanging logo badge clears the words; the photo, its grade and
   the frame reach up through it to the header, so the badge hangs over the frame's top rule like a seal.
   The photo is graded very dark and warm (a filter, then a vignette of the charcoal), dark enough that the ivory and
   light-bronze words keep AA contrast over its brightest part. */
.lux-gallery .lx-hero {
  --lx-reach: var(--badge-clear, 0px);
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding-block: clamp(64px, 9vw, 112px); background: var(--lx-ink);
}
@media (max-width: 767px) {
.lux-gallery .lx-hero {
    min-height: calc(100vh - var(--header-h) - var(--mobile-cta-h, 67px));
    min-height: calc(100svh - var(--header-h) - var(--mobile-cta-h, 67px) - env(safe-area-inset-bottom));
    padding-block: 56px;
  }
}
.lux-gallery .lx-hero__photo {
  position: absolute; left: 0; top: calc(-1 * var(--lx-reach)); z-index: -2;
  width: 100%; height: calc(100% + var(--lx-reach)); max-width: none; object-fit: cover; object-position: 50% 46%;
  filter: brightness(0.5) sepia(0.4) saturate(1.15) contrast(1.05);
}
.lux-gallery .lx-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(-1 * var(--lx-reach)); z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, rgb(22 14 9 / 0.62), rgb(14 10 8 / 0.9) 100%),
    linear-gradient(180deg, rgb(18 16 16 / 0.35), rgb(18 16 16 / 0) 30%, rgb(18 16 16 / 0) 70%, rgb(18 16 16 / 0.45));
}
/* The frame: two hairlines (the outer one stronger), inset from the band's edges, with an ornament at each corner:
   two nested right angles and a small diamond on the corner point. */
.lux-gallery .lx-hero__frame {
  --inset: clamp(14px, 2.2vw, 30px); --c: clamp(40px, 4.4vw, 60px);
  position: absolute; left: var(--inset); right: var(--inset); bottom: var(--inset);
  top: calc(var(--inset) - var(--lx-reach)); z-index: 0; pointer-events: none;
  border: 1px solid rgb(168 135 90 / 0.75);
}
.lux-gallery .lx-hero__frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgb(168 135 90 / 0.32); }
.lux-gallery .lx-corner {
  position: absolute; width: var(--c); height: var(--c); overflow: visible;
  fill: none; stroke: var(--lx-bronze); stroke-width: 1; vector-effect: non-scaling-stroke;
}
.lux-gallery .lx-corner path { vector-effect: non-scaling-stroke; }
.lux-gallery .lx-corner__gem { fill: var(--lx-bronze); stroke: none; }
/* The drawing is a top-left corner whose point is 1/10 of its size in from its own corner; the others are mirrors. */
.lux-gallery .lx-corner--tl { left: calc(var(--c) * -0.1 - 0.5px); top: calc(var(--c) * -0.1 - 0.5px); }
.lux-gallery .lx-corner--tr { right: calc(var(--c) * -0.1 - 0.5px); top: calc(var(--c) * -0.1 - 0.5px); transform: scaleX(-1); }
.lux-gallery .lx-corner--bl { left: calc(var(--c) * -0.1 - 0.5px); bottom: calc(var(--c) * -0.1 - 0.5px); transform: scaleY(-1); }
.lux-gallery .lx-corner--br { right: calc(var(--c) * -0.1 - 0.5px); bottom: calc(var(--c) * -0.1 - 0.5px); transform: scale(-1); }
.lux-gallery .lx-hero__inner { position: static; }
.lux-gallery .lx-hero__text {
  position: relative; z-index: 1; max-width: 1180px; text-align: center;
  padding-inline: clamp(16px, 3vw, 48px);
}
.lux-gallery .lx-hero .lx-eyebrow { color: var(--lx-bronze-light); margin-bottom: clamp(18px, 2.4vw, 30px); }
.lux-gallery .lx-hero__title {
  margin: 0 auto 0.4em; font-family: var(--lx-caps); font-weight: 400; font-stretch: normal;
  font-size: clamp(2.125rem, 0.85rem + 5.3vw, 5.5rem); line-height: 1.12; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lx-on-dark); text-wrap: balance;
}
/* letter-spacing adds a space after the last letter too: the same back on the right keeps each line centred */
.lux-gallery .lx-hero__title { margin-right: -0.14em; }
.lux-gallery .lx-hero__line { margin: 0 0 0.6em; font-style: italic; font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem); line-height: 1.3; }
.lux-gallery .lx-hero__caps {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.2em 0.9em; margin: 0 0 2.6em;
  font-family: var(--lx-caps); font-size: 0.8125rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--lx-on-dark-muted);
}
.lux-gallery .lx-hero__caps::before,
.lux-gallery .lx-hero__caps::after { content: ""; width: clamp(28px, 5vw, 64px); height: 1px; background: var(--lx-bronze); }
@media (max-width: 767px) {
.lux-gallery .lx-hero .c-hero__primary { display: none; }
.lux-gallery .lx-hero__caps { margin-bottom: 0; }
.lux-gallery .lx-hero .lx-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; }
}
@media (max-width: 479px) {
/* on the narrowest screens the two sentences stack, a hairline above and below */
.lux-gallery .lx-hero__caps { flex-direction: column; gap: 0.5em; }
}

/* ---------- curated for every occasion: four tall tiles, charcoal and stone in turn, a drawing and a label ---------- */
.lux-gallery .lx-occasions__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lux-gallery .lx-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  aspect-ratio: 1 / 1; padding: 22px 14px; text-align: center; background: var(--tone-bg); color: var(--tone-text);
}
.lux-gallery .lx-tile::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--lx-rule); pointer-events: none; }
@media (min-width: 900px) {
.lux-gallery .lx-occasions__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.lux-gallery .lx-tile { aspect-ratio: 4 / 5; gap: 22px; padding: 32px 20px; }
.lux-gallery .lx-tile::before { inset: 10px; }
/* in one row the colours simply alternate: charcoal, stone, charcoal, stone */
.lux-gallery .lx-tile:nth-child(4n + 3) {
    --tone-bg: var(--lx-ink); --tone-text: var(--lx-on-dark); --tone-muted: var(--lx-on-dark-muted);
    --lx-accent: var(--lx-bronze); --lx-rule: rgb(168 135 90 / 0.5); --color-focus: var(--color-focus-on-dark);
  }
.lux-gallery .lx-tile:nth-child(4n + 4) {
    --tone-bg: var(--lx-stone); --tone-text: var(--lx-espresso); --tone-muted: var(--lx-espresso-muted);
    --lx-accent: var(--lx-bronze-ink); --lx-rule: rgb(117 89 47 / 0.38);
  }
}
/* The occasion drawings (.lx-art): the gift box, the heart, the flutes and the handshake, large and shaded, about
   half the tile's width. Each part's colour is set here. They may spill past their own box (the heart swells, its
   echo spreads, the cookie floats up). */
.lux-gallery .lx-occasions__grid { --lx-art: clamp(72px, 19vw, 124px); }
@media (min-width: 900px) {
.lux-gallery .lx-occasions__grid { --lx-art: clamp(100px, 10vw, 132px); }
}
.lux-gallery .lx-art {
  flex: none; width: var(--lx-art); height: var(--lx-art); overflow: visible;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
/* the gift box: Cookie Flo's black box from a corner, lit from the upper left, edged in bronze; a champagne satin
   ribbon over the lid and down both sides, tied in a bow. Under the lid: the inside of the box (two back walls and
   a sliver of floor) and a small chocolate chip cookie, both out of sight until the box opens */
.lux-gallery .lx-gift :is(.lx-gift__top, .lx-gift__lid-l, .lx-gift__lid-r, .lx-gift__side-l, .lx-gift__side-r) { stroke: var(--lx-bronze); stroke-width: 0.8; }
.lux-gallery .lx-gift__top { fill: #3a322d; }
.lux-gallery .lx-gift__lid-l { fill: #2c2622; }
.lux-gallery .lx-gift__lid-r { fill: #1c1816; }
.lux-gallery .lx-gift__side-l { fill: #252019; }
.lux-gallery .lx-gift__side-r { fill: #161311; }
.lux-gallery .lx-gift__band-t { fill: #e3cfa3; }
.lux-gallery .lx-gift__band-l { fill: #cdb485; }
.lux-gallery .lx-gift__band-r { fill: #a58a5b; }
.lux-gallery .lx-gift__loop { fill: #ead9b3; stroke: #a58a5b; stroke-width: 0.6; }
.lux-gallery .lx-gift__loop-in { fill: #94794b; }
.lux-gallery .lx-gift__knot { fill: #d6c093; stroke: #a58a5b; stroke-width: 0.6; }
.lux-gallery .lx-gift :is(.lx-gift__in-l, .lx-gift__in-r, .lx-gift__floor) { stroke: var(--lx-bronze); stroke-width: 0.6; }
.lux-gallery .lx-gift__in-l { fill: #0c0a09; }
.lux-gallery .lx-gift__in-r { fill: #1b1715; }
.lux-gallery .lx-gift__floor { fill: #131010; }
.lux-gallery .lx-gift__cookie { opacity: 0; }
.lux-gallery .lx-gift__dough { fill: #c48a4a; stroke: #8a5a2b; stroke-width: 0.8; }
.lux-gallery .lx-gift__dough-top { fill: #d9a868; opacity: 0.7; }
.lux-gallery .lx-gift__chips { stroke: #4a2c1a; stroke-width: 3.2; }
/* the heart: the site's golden yellow (--color-accent, the yellow of the logo and the buttons; Lucas, 12 Nov
   2026), paler towards the upper left and deeper at the edge, with a soft shine and a thin deeper-gold outline so
   it holds its shape on the stone tile; the echo is an outline of the same heart that only shows while it beats */
.lux-gallery .lx-heart__gold-1 { stop-color: #fbe6a2; }
.lux-gallery .lx-heart__gold-2 { stop-color: var(--color-accent); }
.lux-gallery .lx-heart__gold-3 { stop-color: #d99a1c; }
.lux-gallery .lx-heart__body { stroke: #c0851a; stroke-width: 1; }
.lux-gallery .lx-heart__shine { stroke: rgb(255 255 255 / 0.65); stroke-width: 3.2; }
.lux-gallery .lx-heart__echo { stroke: var(--color-accent-hover); stroke-width: 1.6; opacity: 0; }
/* the flutes: each drawn upright and tipped 14 degrees inwards so the rims touch; glass in the tile's bronze, the
   champagne a pale gold that deepens towards the stem, four bubbles, three rays where the rims meet */
.lux-gallery .lx-flute__bowl,
.lux-gallery .lx-flute__line { stroke: var(--lx-accent); stroke-width: 1.5; }
.lux-gallery .lx-flute__wine-1 { stop-color: #d9b972; stop-opacity: 0.2; }
.lux-gallery .lx-flute__wine-2 { stop-color: #d9b972; stop-opacity: 0.85; }
.lux-gallery .lx-flute__fizz { stroke: var(--tone-text); stroke-width: 1.9; opacity: 0.75; }
.lux-gallery .lx-cheers__spark { stroke: var(--lx-accent); stroke-width: 1.5; }
/* the handshake: a bold outline in the tile's bronze, no fill, drawn in a 512-unit box (so the line is 16 of those
   units, about 4 px on the card): the two cuffs, the right hand (top edge, thumb, long lower edge, fingertips), the
   short lines between the fingers and at the wrists, and the other hand's four knuckles as round-ended loops */
.lux-gallery .lx-shake { stroke: var(--lx-accent); stroke-width: 16; }
.lux-gallery .lx-tile__label {
  margin: 0; font-family: var(--lx-caps); font-weight: 400; font-stretch: normal;
  /* as large as the longest single word ("APPRECIATION", "PARTNERSHIPS") allows in a half-width phone tile: it grows
     with the screen up to 16 px, with the letters set a little closer than on wide screens */
  font-size: clamp(0.8125rem, 4vw, 1rem); line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase;
  /* room for two lines, so a one-line label starts on the same line as its neighbours and the drawings line up */
  min-height: 3em;
}
@media (min-width: 900px) {
/* in the row of four: 16 px where the tiles are narrow, up to 19 px from about 1270 px (Lucas, 12 Nov 2026: "bigger") */
.lux-gallery .lx-tile__label { font-size: clamp(1rem, 1.5vw, 1.1875rem); letter-spacing: 0.16em; }
}

/* ---------- tagline: one big centred line, threaded to the bands above and below by two vertical hairlines ----------
   The occasions band and this one are the same ivory, so they are joined instead of standing apart (Lucas, 13 Nov
   2026: they "could transition a little better"): the band above keeps only a short gap under its tiles, this band
   has no padding of its own, the first hairline drops from that gap to a small diamond over the words, and the second
   runs from under the words down to the charcoal band's edge. */
.lux-gallery .lx-band:has(+ .lx-tagline-band) { padding-bottom: clamp(28px, 4vw, 48px); }
.lux-gallery .lx-tagline-band { padding-block: 0; }
.lux-gallery .lx-tagline { text-align: center; }
.lux-gallery .lx-tagline::before,
.lux-gallery .lx-tagline::after { content: ""; display: block; width: 1px; height: clamp(48px, 6vw, 80px); margin: 0 auto; background: var(--lx-accent); opacity: 0.6; }
.lux-gallery .lx-tagline::before { transform-origin: 50% 0; }
.lux-gallery .lx-tagline::after { transform-origin: 50% 0; }
/* the diamond the first hairline ends in (the same small bronze diamond as the hero frame's corners) */
.lux-gallery .lx-tagline__line::before {
  content: ""; display: block; width: 9px; height: 9px; margin: 0 auto clamp(22px, 3vw, 34px);
  border: 1px solid var(--lx-accent); rotate: 45deg;
}
.lux-gallery .lx-tagline__line {
  max-width: 34em; margin: 0 auto clamp(26px, 3.5vw, 40px); font-family: var(--lx-caps);
  font-size: clamp(1.25rem, 0.95rem + 1.6vw, 2.25rem); line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; text-wrap: balance;
}
.lux-gallery .lx-tagline__line span { display: inline-block; }
.lux-gallery .lx-tagline__line em {
  display: block; margin-top: 0.3em; font-family: var(--lx-serif); font-style: italic; font-size: 1.2em;
  letter-spacing: 0.01em; text-transform: none; color: var(--lx-accent);
}

/* ---------- custom orders: the ribbon-box photo beside the words (above them on phones), at about its own size ---------- */
.lux-gallery .lx-custom { display: grid; gap: clamp(44px, 6vw, 56px); align-items: center; }
.lux-gallery .lx-custom__photo { width: min(100% - 14px, 470px); --fx: 14px; --fy: 14px; }
@media (min-width: 900px) {
.lux-gallery .lx-custom { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: clamp(56px, 8vw, 120px); }
.lux-gallery .lx-custom__photo { --fx: -16px; --fy: 16px; width: 100%; margin-left: 16px; }
}
.lux-gallery .lx-custom__text { max-width: 34rem; }
.lux-gallery .lx-custom .lx-title { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.15; letter-spacing: 0.1em; }
.lux-gallery .lx-custom__lead { margin: 0.9em 0 0.8em; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); }
/* The special-order sizes: two lines beside one gold hairline, "by special request" in italics under them. */
.lux-gallery .lx-custom__sizes { margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 1px solid var(--lx-accent); font-style: italic; color: var(--tone-muted); }
.lux-gallery .lx-custom__mini { margin: 0.35em 0 2em; padding-left: 17px; font-style: italic; color: var(--tone-muted); }

/* ---------- the inquiry form (partials/contact.html) on stone: centred, Marcellus labels, hairline square fields ----------
   The band loses the scallops the site's style draws on .tone-surface-2 bands (the selectors match styles.css's, one
   step stronger). */
.lux-gallery main .section.tone-surface-2[data-component="contact"] {
  --tone-bg: var(--lx-stone); --tone-text: var(--lx-espresso); --tone-muted: var(--lx-espresso-muted); --tone-card: var(--lx-ivory);
  --lx-accent: var(--lx-bronze-ink); --lx-rule: rgb(117 89 47 / 0.38);
  padding-top: var(--section-pad); --section-top: var(--section-pad);
  font-family: var(--lx-serif); font-size: 1.1875rem; color: var(--lx-espresso);
}
.lux-gallery main .section.tone-surface-2[data-component="contact"]::before { display: none; }
.lux-gallery .c-contact--solo.c-contact--start .c-contact__grid { max-width: 44rem; margin-inline: auto; }
.lux-gallery .c-contact--solo.c-contact--start .c-section__head { text-align: center; margin-inline: auto; margin-bottom: 28px; }
.lux-gallery .c-contact .c-section__title {
  font-family: var(--lx-caps); font-weight: 400; font-stretch: normal; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase;
}
.lux-gallery .c-contact--solo.c-contact--start .c-section__title::after {
  width: 56px; height: 1px; margin: 0.75em auto 0; border-radius: 0; background: var(--lx-accent);
}
.lux-gallery .c-contact .c-section__intro { font-size: 1.25rem; color: var(--lx-espresso-muted); }
.lux-gallery .c-contact__note {
  max-width: 38rem; margin: 0 auto 36px; padding: 16px 8px; text-align: center;
  border-block: 1px solid var(--lx-rule); font-style: italic; font-size: 1.0625rem; line-height: 1.5; color: var(--lx-espresso-muted);
}
.lux-gallery .c-form__field > label,
.lux-gallery .c-form__choice > legend {
  margin-bottom: 8px; font-family: var(--lx-caps); font-weight: 400; font-size: 0.78rem; line-height: 1.4;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-espresso);
}
.lux-gallery .c-form :is(input:not([type="checkbox"]), select, textarea) {
  min-height: 50px; border: 1px solid var(--lx-field-line); border-radius: 0; background-color: var(--lx-field);
  font-family: var(--lx-serif); font-size: 1.125rem; color: var(--lx-espresso);
}
.lux-gallery .c-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--lx-espresso); outline-offset: 2px; border-color: var(--lx-espresso); }
.lux-gallery .c-form__chip {
  min-height: 48px; border: 1px solid var(--lx-field-line); border-radius: 0; background: var(--lx-field);
  font-family: var(--lx-serif); font-weight: 500; font-size: 1.0625rem; color: var(--lx-espresso);
}
.lux-gallery .c-form__chip input { accent-color: var(--lx-espresso); }
.lux-gallery .c-form__chip:has(input:checked) { background: var(--lx-espresso); border-color: var(--lx-espresso); color: var(--lx-ivory); }
.lux-gallery .c-form__chip:has(input:checked) input { accent-color: var(--lx-ivory); }
.lux-gallery .c-contact--solo.c-contact--start :is(.c-form__footer, .c-form__check) { justify-content: center; }
.lux-gallery .c-form__footer { flex-direction: column; text-align: center; margin-top: 32px; }
.lux-gallery main .c-form .btn { --btn-bg: var(--lx-espresso); --btn-fg: var(--lx-ivory); --btn-border: var(--lx-espresso); min-width: min(100%, 280px); }
.lux-gallery main .c-form .btn:hover { --btn-bg: var(--lx-ink); --btn-border: var(--lx-ink); }
.lux-gallery .c-form__fine { font-style: italic; font-size: 1rem; color: var(--lx-espresso-muted); }
.lux-gallery .c-form__success { border-radius: 0; border-width: 1px; background: var(--lx-ivory); }

/* ---------- footer and phone bar, on this page: no scalloped edge; the pill square, ivory on charcoal ---------- */
.lux-gallery .c-footer { padding-top: clamp(48px, 7vw, 80px); }
.lux-gallery .c-footer::before { display: none; }
.lux-gallery .c-mobile-cta { background: var(--lx-ink); border-top-color: rgb(168 135 90 / 0.35); }
.lux-gallery .c-mobile-cta .btn,
.lux-gallery .c-mobile-cta .btn:hover,
.lux-gallery .c-mobile-cta .btn:active { transform: none; box-shadow: none; }
.lux-gallery .c-mobile-cta .btn {
  --btn-bg: var(--lx-on-dark); --btn-fg: var(--lx-ink); --btn-border: var(--lx-on-dark); border-width: 1px; border-radius: 0;
  font-family: var(--lx-caps); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.lux-gallery .c-mobile-cta .c-mobile-cta__pill-icon { stroke-width: 1.4; }

/* ---------- motion: calm, once (play-once arms these only with motion allowed) ----------
   Hero, the one entrance: the photo settles (a slow fade from 6 % larger), the frame draws itself in from the middle
   outwards, its corners appear, then the words fade up one after another.
   Below it, smaller echoes: the occasion tiles rise in one by one, the tagline's first hairline draws itself down,
   its words rise and its second hairline follows, the custom-orders photo settles. */
@media (prefers-reduced-motion: no-preference) {
.lux-gallery .is-armed:not(.is-in) :is(.lx-hero__photo, .lx-hero__text > *, .lx-corner, .lx-tile, .lx-custom__photo) { opacity: 0; }
.lux-gallery .is-armed:not(.is-in) .lx-hero__frame { clip-path: inset(-12px 50% -12px 50%); }
.lux-gallery .lx-hero__inner.is-in .lx-hero__photo { animation: lx-settle 2400ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.lux-gallery .lx-hero__inner.is-in .lx-hero__frame { animation: lx-draw 1500ms var(--ease-in-out) 250ms both; }
.lux-gallery .lx-hero__inner.is-in .lx-corner { animation: lx-fade 900ms var(--ease-out) 1500ms both; }
.lux-gallery .lx-hero__inner.is-in .lx-hero__text > * { animation: lx-rise 1100ms var(--ease-out) calc(700ms + var(--n, 0) * 140ms) both; }
.lux-gallery .lx-hero__text > :nth-child(2) { --n: 1; }
.lux-gallery .lx-hero__text > :nth-child(3) { --n: 2; }
.lux-gallery .lx-hero__text > :nth-child(4) { --n: 3; }
.lux-gallery .lx-hero__text > :nth-child(5) { --n: 4; }
.lux-gallery .lx-occasions.is-in .lx-tile { animation: lx-rise 900ms var(--ease-out) calc(var(--i, 0) * 150ms) both; }
.lux-gallery .lx-tagline.is-armed:not(.is-in) .lx-tagline__line { opacity: 0; }
.lux-gallery .lx-tagline.is-armed:not(.is-in)::before,
.lux-gallery .lx-tagline.is-armed:not(.is-in)::after { scale: 1 0; }
.lux-gallery .lx-tagline.is-in::before { transition: scale 800ms var(--ease-in-out); }
.lux-gallery .lx-tagline.is-in .lx-tagline__line { animation: lx-rise 1000ms var(--ease-out) 450ms both; }
.lux-gallery .lx-tagline.is-in::after { transition: scale 700ms var(--ease-in-out) 1000ms; }
.lux-gallery .lx-custom.is-in .lx-custom__photo { animation: lx-settle 1600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
/* The occasion drawings, the page's only loops (Lucas, 12 Nov 2026: the heart "beating", the glasses "cheersing",
   the box opening for a cookie, then "shorter and simpler"):
   the heart beats twice (lub-dub) every second and a half while a faint outline of it spreads and fades; the flutes
   stand apart, swing in, clink, bounce back a touch and part again every four seconds, the rays flashing as they
   meet; the gift box, every three and a half seconds, tips its lid back (bow and ribbon ride on it), the cookie
   pops up out of the box and drops back in, and the lid shuts; the clasped hands give two short shakes every five seconds. Only transform and
   opacity move. Outside this block they are still: the box closed, the flutes touching, the rays showing. */
.lux-gallery .lx-gift__lid { transform-origin: 48px 38px; animation: lx-lid 3600ms ease-in-out infinite; }
.lux-gallery .lx-gift__cookie { transform-origin: 48px 48px; animation: lx-cookie 3600ms ease-in-out infinite; }
.lux-gallery .lx-shake__hands { animation: lx-shake 5000ms ease-in-out infinite; }
.lux-gallery .lx-heart__beat { transform-origin: 48px 54px; animation: lx-beat 1500ms ease-in-out infinite; }
.lux-gallery .lx-heart__echo { transform-origin: 48px 54px; animation: lx-echo 1500ms ease-out infinite; }
.lux-gallery .lx-flute { transform-origin: 22px 86px; animation: lx-clink 4000ms ease-in-out infinite; }
.lux-gallery .lx-cheers__spark { transform-origin: 48px 20px; animation: lx-spark 4000ms ease-out infinite; }
}
@keyframes lx-rise { from { opacity: 0; translate: 0 16px; } }
@keyframes lx-settle { from { opacity: 0; scale: 1.06; } }
@keyframes lx-fade { from { opacity: 0; } }
@keyframes lx-lid {
  0%, 10%, 80%, 100% { transform: translate(0, 0) rotate(0deg); }
  24%, 64% { transform: translate(10px, -20px) rotate(16deg); }
  77% { transform: translate(0, 1px) rotate(0deg); }
}
@keyframes lx-cookie {
  0%, 21%, 68%, 100% { opacity: 0; transform: translateY(5px) scale(0.75) rotate(0deg); }
  25% { opacity: 1; transform: translateY(4px) scale(0.78) rotate(0deg); }
  38% { opacity: 1; transform: translateY(-15px) scale(1.2) rotate(-8deg); }
  48% { opacity: 1; transform: translateY(-12px) scale(1.2) rotate(4deg); }
  56% { opacity: 1; transform: translateY(-14px) scale(1.2) rotate(-4deg); }
  65% { opacity: 1; transform: translateY(4px) scale(0.78) rotate(0deg); }
}
@keyframes lx-shake { 0%, 58%, 90%, 100% { transform: translateY(0); } 65% { transform: translateY(-19px); } 72% { transform: translateY(16px); } 79% { transform: translateY(-13px); } 85% { transform: translateY(8px); } }
@keyframes lx-beat { 0%, 46%, 100% { transform: scale(1); } 12% { transform: scale(1.13); } 24% { transform: scale(1.01); } 34% { transform: scale(1.08); } }
@keyframes lx-echo { 0%, 11% { opacity: 0; transform: scale(1); } 14% { opacity: 0.5; } 50%, 100% { opacity: 0; transform: scale(1.34); } }
@keyframes lx-clink {
  0%, 100% { transform: rotate(-12deg); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6); }
  22% { transform: rotate(0deg); animation-timing-function: ease-out; }
  29% { transform: rotate(-3.4deg); }
  38%, 62% { transform: rotate(-1.6deg); }
  86% { transform: rotate(-12deg); }
}
@keyframes lx-spark { 0%, 21% { opacity: 0; transform: scale(0.3); } 26% { opacity: 1; transform: scale(1); } 40% { opacity: 1; transform: scale(1.08); } 58%, 100% { opacity: 0; transform: scale(1.2); } }
@keyframes lx-draw { from { clip-path: inset(-12px 50% -12px 50%); } to { clip-path: inset(-12px -12px -12px -12px); } }
