/* =========================================================
   THE SIMPLER HOUSE: four pages, the original look.
   Loaded after tokens.css, style.css, royal.css and buttons.css,
   which keep the House's own design (plaque buttons, invitation
   card, letter paper, plates, footer). This file only adds:
   the top bar, the gate's opening, the Chapter I display arches,
   and the footer sign-up.
   ========================================================= */
:root { --bar-h: calc(env(safe-area-inset-top, 0px) + 52px); }
html { scroll-padding-top: calc(var(--bar-h) + 12px); }

/* ---------- The top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 100; height: var(--bar-h);
  padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: 10px;
  background: rgba(52, 2, 42, .96); color: var(--color-parchment);
  border-bottom: 1px solid rgba(217, 174, 85, .7);
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .7);
  font-family: var(--font-serif);
}
.bar a { color: inherit; text-decoration: none; }
.bar__home { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; }
.bar__home img { width: 32px; height: auto; }
.bar__name { display: none; font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.bar__links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: clamp(4px, 1.8vw, 26px); }
.bar__links a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  font-size: 1.12rem; font-weight: 600; white-space: nowrap;
}
.bar__links a:not(.btn)::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 9px; height: 1px;
  background: var(--color-antique-gold); transform: scaleX(0); transition: transform .25s ease;
}
.bar__links a[aria-current="page"]:not(.btn) { color: var(--color-honey-gold); }
.bar__links a[aria-current="page"]:not(.btn)::after, .bar__links a:not(.btn):hover::after { transform: scaleX(1); }
.bar .btn { font-size: .98rem; white-space: nowrap; }
.bar__join-short { display: none; }
@media (max-width: 419px) {
  .bar__join-long { display: none; } .bar__join-short { display: inline; }
  .bar__links a:not(.btn) { padding: 0 4px; font-size: 1.05rem; }
  .bar__home img { width: 30px; }
}
@media (max-width: 359px) { .bar__homeword { display: none; } }
@media (min-width: 760px) { .bar__name { display: inline; } .bar { padding-left: 24px; padding-right: 24px; } }

/* The original sections sit under the bar */
.hero { min-height: calc(100svh - var(--bar-h)); padding-top: 40px; }
/* Calmer first screen: the garden holds still (no slow zoom), and a soft shadow sits behind the words so they read clearly */
.hero__bg img { animation: none; transform: scale(1.04); }
.hero__bg::after { background:
    radial-gradient(62% 48% at 50% 52%, rgba(24, 8, 14, .62), rgba(24, 8, 14, 0) 74%),
    linear-gradient(to bottom, rgba(24, 8, 14, .45) 0%, rgba(24, 8, 14, .08) 24%, rgba(40, 6, 30, .25) 60%, rgba(52, 2, 42, .92) 100%); }
.hero__sub { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.hero__cta .btn, .plate .btn { text-decoration: none; }
.scroll-cue { display: none; }

/* ---------- Chapter I: the velvet display arches ---------- */
:root { --damask-size: min(200vw, 960px) auto; } /* your plum damask: one mirrored copy is a phone screen wide (480px max), repeating like wallpaper */
.gallery { position: relative; padding: clamp(64px, 9vw, 120px) 0; background-color: var(--color-plum); color: var(--color-parchment);
  background-image: radial-gradient(60% 40% at 50% 0%, rgba(194, 87, 122, .16), transparent 70%), linear-gradient(rgba(52, 2, 42, .3), rgba(52, 2, 42, .3)), url("../img/plum-damask-tile.webp");
  background-size: auto, auto, var(--damask-size); background-position: center top; background-repeat: no-repeat, no-repeat, repeat; }
.gallery__lede { max-width: 32em; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; font-style: italic; font-size: 1.2rem; }
.gset + .gset { margin-top: clamp(56px, 8vw, 96px); }
.gset__title { margin: 0 0 26px; text-align: center; font-family: var(--font-script); font-weight: 400; font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); line-height: 1; color: var(--color-honey-gold); }
.gset__list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(28px, 7vw, 96px); }
.varch { display: grid; justify-items: center; text-align: center; }
.varch__frame { position: relative; width: 100%; max-width: 352px; aspect-ratio: 400 / 723; }
.varch__cage { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); }
.varch__light { position: absolute; left: 6%; right: 6%; top: 18%; bottom: 10%; border-radius: 50% 50% 46% 46% / 30% 30% 12% 12%;
  background: radial-gradient(60% 50% at 50% 58%, rgba(255, 228, 170, .26), rgba(122, 30, 102, .22) 55%, rgba(18, 10, 18, 0) 80%); }
.varch__mark { position: absolute; left: 50%; top: 63%; width: 30%; transform: translate(-50%, -50%); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.varch__cushion { position: absolute; left: 34%; right: 34%; bottom: 14.5%; height: 3.5%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #7A1E66, #3A0430 70%); box-shadow: 0 4px 8px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(242, 193, 78, .35); }
/* The padlock: tried, it jolts and swings on its hasp; the cage never opens (founder, 4 Dec 2026) */
.varch__lock { position: absolute; left: 68.229%; top: 64.867%; width: 11.589%; height: 8.927%; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 52.2% 1.6%; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.varch__lock::before { content: ""; position: absolute; inset: -16px -14px; }   /* a finger-sized target */
.varch__lock img { display: block; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35)); }
.varch__lock:focus-visible { outline: 2px solid var(--color-honey-gold); outline-offset: 6px; border-radius: 8px; }
.varch__hasp { position: absolute; left: 72.917%; top: 63.643%; width: 2.995%; height: 2.664%; pointer-events: none; }
.varch__lock.is-rattling { animation: lock-rattle 1.1s cubic-bezier(.3, .05, .25, 1); }
.varch__frame.is-rattling { animation: cage-rattle .32s linear; }
@keyframes lock-rattle {
  0% { transform: none; }
  7% { transform: translateY(5%) rotate(-3deg); }
  16% { transform: translateY(1%) rotate(12deg); }
  28% { transform: rotate(-9deg); }
  40% { transform: rotate(6.5deg); }
  52% { transform: rotate(-4.5deg); }
  64% { transform: rotate(3deg); }
  76% { transform: rotate(-1.8deg); }
  88% { transform: rotate(.8deg); }
  100% { transform: none; }
}
@keyframes cage-rattle { 0%, 100% { transform: none; } 20% { transform: translateX(-1px); } 45% { transform: translateX(1.2px); } 70% { transform: translateX(-.6px); } }
@media (hover: hover) { .varch__lock:hover img { filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .35)) brightness(1.12); } }
@media (prefers-reduced-motion: reduce) {
  .varch__lock.is-rattling { animation: lock-glint .6s ease-out !important; }   /* a glint, not movement: allowed through the site-wide calm rule */
  .varch__frame.is-rattling { animation: none; }
  @keyframes lock-glint { 0%, 100% { filter: none; } 35% { filter: brightness(1.35); } }
}
.varch__soon { margin: 10px 0 0; font-style: italic; font-size: .95rem; color: #F1DFB0; }
.varch__name { margin: 4px 0 2px; font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.15; }
.varch__ref { font-size: 1rem; color: var(--color-honey-gold); }
.varch details { margin-top: 2px; }
.varch summary { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; list-style: none; font-style: italic; font-size: 1rem; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.varch summary::-webkit-details-marker { display: none; }
.varch details[open] summary { display: none; }
.varch blockquote { margin: 4px 0 0; font-style: italic; font-size: 1.05rem; line-height: 1.45; color: var(--color-parchment); }
@media (min-width: 900px) { .gset__list { gap: 64px 128px; } }

/* ---------- The founder's letter on the Story page (the original paper, from scenes.css) ---------- */
.letter-section { padding: clamp(70px, 12vw, 140px) var(--gutter); background: radial-gradient(70% 60% at 50% 40%, #F8EEDD, #EFE4CE); }
.letter-section__paper { max-width: 640px; margin: 0 auto; padding: clamp(32px, 7vw, 64px) clamp(24px, 6vw, 60px); color: var(--color-plum);
  background: radial-gradient(130% 90% at 30% 15%, #FFF9EF, #F6ECD9 55%, #EADCC1); border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(217, 174, 85, .7), inset 0 0 0 7px #FBF3E4, inset 0 0 0 8px rgba(217, 174, 85, .4), 0 40px 60px -40px rgba(52, 2, 42, .55); }
.letter-section__title { margin: 0 0 22px; text-align: center; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.letter-section__salute { margin: 0 0 14px; font-family: var(--font-script); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); color: var(--color-rose-deep); }
.letter-section__todo { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.65; font-style: italic; color: #6A4A2A; }
.letter-section__sign { margin: 26px 0 0; text-align: right; font-size: 1.1rem; }
.letter-section__sign span { font-family: var(--font-script); font-size: 1.9rem; color: var(--color-rose-deep); }
.letter-section__body { margin: 0 0 16px; font-size: 1.15rem; line-height: 1.7; }
.story-made { font-style: italic; }

/* ---------- Footer sign-up (on pages without the invitation card) ---------- */
.foot-join { max-width: 36rem; margin: 0 auto 36px; text-align: center; }
.foot-join__title { margin: 0 0 14px; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--color-parchment); }
.foot-join__row { display: grid; gap: 12px; }
@media (min-width: 600px) { .foot-join__row { grid-template-columns: 1fr auto; align-items: center; } }
.foot-join input[type="email"] {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 4px;
  border: 1px solid rgba(217, 174, 85, .75); background: rgba(255, 248, 236, .08); color: var(--color-parchment);
  font-family: var(--font-serif); font-size: 1.15rem;
}
.foot-join input::placeholder { color: rgba(243, 235, 221, .65); }
.foot-join .form-msg { min-height: 1.4em; margin: 10px 0 0; font-style: italic; color: #F1DFB0; }
.foot-join .form-note { margin: 6px 0 0; font-size: .98rem; color: rgba(243, 235, 221, .85); }
.foot-join .form-note a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   THE GATE (home page, first visit only, under 3 seconds)
   The words appear, warm light blooms in the gateway, and the
   House opens through it in a widening circle of light.
   ========================================================= */
@property --hole { syntax: "<percentage>"; inherits: false; initial-value: -20%; }
.gate { display: none; }
html.gate-on .gate {
  display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; background: #1E0118;
  --hole: -20%;   /* fully closed until the light opens it */
  -webkit-mask-image: radial-gradient(circle at 50% 58%, transparent var(--hole), #000 calc(var(--hole) + 16%));
          mask-image: radial-gradient(circle at 50% 58%, transparent var(--hole), #000 calc(var(--hole) + 16%));
}
html.gate-on body { overflow: hidden; }
.gate__photo, .gate__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.gate__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 1, 24, .55), rgba(30, 1, 24, .08) 40%, rgba(30, 1, 24, .5)); }
.gate__light {
  position: absolute; left: 50%; top: 58%; width: 24vmax; height: 24vmax; margin: -12vmax 0 0 -12vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 200, .95) 0%, rgba(242, 193, 78, .5) 38%, rgba(242, 193, 78, 0) 70%);
  opacity: 0; transform: scale(.15); mix-blend-mode: screen;
}
.gate__words { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; gap: 2px; color: #FBEBC0; text-shadow: 0 2px 24px rgba(30, 1, 24, .75); opacity: 0; }
.gate__house { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); letter-spacing: .02em; }
.gate__enter { font-family: var(--font-script); font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.3rem); color: var(--color-honey-gold); }
.gate__sparks span { position: absolute; left: 50%; top: 60%; width: 5px; height: 5px; border-radius: 50%; background: #FFE9A8; box-shadow: 0 0 10px 2px rgba(255, 220, 140, .9); opacity: 0; }
.gate__skip {
  position: absolute; z-index: 3; top: calc(env(safe-area-inset-top, 0px) + 14px); right: max(14px, env(safe-area-inset-right, 0px));
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(217, 174, 85, .85); background: rgba(30, 1, 24, .45); color: #FBEBC0; font-family: var(--font-serif); font-size: 1.05rem;
}
html.gate-play .gate { animation: gHole 1.5s cubic-bezier(.6, .05, .3, 1) 1.15s both, gFade .35s ease-in 2.45s both; }
html.gate-play .gate__words { animation: gWords 1.6s ease .1s both; }
html.gate-play .gate__light { animation: gLight 1.9s ease-out .7s both; }
html.gate-play .gate__sparks span { animation: gSpark 1.4s ease-out both; }
.gate__sparks span:nth-child(1) { --x: -64px; animation-delay: .9s !important; }
.gate__sparks span:nth-child(2) { --x: 44px;  animation-delay: 1s !important; }
.gate__sparks span:nth-child(3) { --x: -20px; animation-delay: 1.1s !important; }
.gate__sparks span:nth-child(4) { --x: 82px;  animation-delay: 1.16s !important; }
.gate__sparks span:nth-child(5) { --x: -96px; animation-delay: 1.25s !important; }
.gate__sparks span:nth-child(6) { --x: 14px;  animation-delay: 1.32s !important; }
@keyframes gHole { to { --hole: 160%; } }
@keyframes gFade { to { opacity: 0; visibility: hidden; } }
@keyframes gWords { 0% { opacity: 0; transform: translateY(8px); } 30%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes gLight { 0% { opacity: 0; transform: scale(.15); } 45% { opacity: 1; transform: scale(1.4); } 100% { opacity: 0; transform: scale(5); } }
@keyframes gSpark { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -34vh); } }

@media (prefers-reduced-motion: reduce) {
  html.gate-play .gate, html.gate-play .gate__words, html.gate-play .gate__light, html.gate-play .gate__sparks span { animation: none !important; }
  .gate__words { opacity: 1; }
  html.gate-play .gate { animation: gFade .5s ease .3s both !important; }
  .bar__links a:not(.btn)::after { transition: none; }
}

/* Gentle reveals for the original sections (photos and paragraphs fade up once; never hidden without the script) */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } }
.plate__more { margin: 26px 0 0; }

/* The plaque buttons keep their look but grow to a comfortable 44px tap height */
.btn { padding-top: 6px; padding-bottom: 7px; }
.bar .btn { padding-top: 5px; padding-bottom: 6px; }

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 16px; background: var(--color-parchment); color: var(--color-plum); border: 1px solid var(--color-antique-gold); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[tabindex="-1"]:focus { outline: none; }

/* Chapter I: a shorter garden plate, so the first pieces show on the first phone screen */
.page-chapter .plate { min-height: 0; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(44px, 7vw, 96px); }
.page-chapter .plate__title { font-size: clamp(2.1rem, 1.5rem + 3vw, 4rem); }
.page-chapter .plate__inner { gap: 10px; }
.page-chapter .gallery { padding-top: clamp(28px, 5vw, 64px); }
.page-chapter .gallery__lede { margin-bottom: clamp(20px, 4vw, 44px); }
.page-chapter .gset__title { margin-bottom: 14px; }

/* =========================================================
   THE COLLECTION: every chapter, with filters
   ========================================================= */
.coll { padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); }
.coll__intro { text-align: center; max-width: 34em; margin: 0 auto 26px; }
.coll__title { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.3rem, 1.6rem + 3vw, 3.8rem); line-height: 1.05; color: var(--color-parchment); }
.coll__lede { margin: 10px 0 0; font-style: italic; font-size: 1.2rem; }
.coll__filters { max-width: 900px; margin: 0 auto; border-top: 1px solid rgba(217, 174, 85, .55); border-bottom: 1px solid rgba(217, 174, 85, .55); }
.coll__filters > summary {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; cursor: pointer; list-style: none;
  font-size: 1.15rem; font-weight: 600; color: var(--color-honey-gold);
}
.coll__filters > summary::-webkit-details-marker { display: none; }
.coll__filters > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.coll__filters[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.coll__groups { display: grid; gap: 16px; padding: 4px 0 20px; }
.coll__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.coll__group legend { padding: 0; margin-bottom: 8px; font-style: italic; font-size: 1.05rem; color: #F1DFB0; }
.coll__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(217, 174, 85, .75); background: rgba(52, 2, 42, .35); color: var(--color-parchment);
  font-family: var(--font-serif); font-size: 1.08rem;
}
.chip:hover:not(:disabled):not([aria-pressed="true"]) { background: rgba(217, 174, 85, .14); }   /* never hides the gold "selected" look */
.chip[aria-pressed="true"] { background: linear-gradient(180deg, #F7D57E, #D9AE55); border-color: #D9AE55; color: var(--color-plum); font-weight: 600; }
.chip:disabled { opacity: .55; cursor: default; border-style: dashed; }
.chip__n { font-family: var(--font-caps); font-size: .78rem; opacity: .8; }
.chip__soon { font-style: italic; font-size: .92rem; }
.coll__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin: 18px 0 8px; }
.coll__status { margin: 0; font-style: italic; color: #F1DFB0; }
.coll__clear, .coll__reset { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--color-honey-gold); font-family: var(--font-serif); font-size: 1.05rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.coll__chapter { margin-top: clamp(40px, 6vw, 72px); }
.coll__head { text-align: center; margin-bottom: 28px; }
.coll__head h2 { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); color: var(--color-parchment); }
.coll__opens { margin: 4px 0 0; font-style: italic; color: #F1DFB0; }
.coll__visit { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-honey-gold); }
.coll .gset__list { max-width: 1180px; }
@media (min-width: 900px) { .coll .gset__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .coll__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; } }
.varch__meta { margin: 0; font-size: 1rem; font-style: italic; color: rgba(243, 235, 221, .85); }
.varch__photo { position: absolute; left: 8%; right: 8%; top: 20%; bottom: 12%; width: 84%; height: 68%; object-fit: cover; border-radius: 50% 50% 8px 8px / 22% 22% 8px 8px; }
.coll__empty { text-align: center; font-style: italic; margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { .coll__filters > summary::after { transition: none; } }

/* Photos fit their frame: the picture wrappers fill the space, and phones see each photo's subject */
.hero__bg picture, .plate__bg picture, .footer__bg picture { display: block; width: 100%; height: 100%; }
@media (max-aspect-ratio: 4/5) {
  .hero__bg img, .plate__bg img, .footer__bg img { object-position: 50% 55%; }
}
.story__arch img { object-position: 50% 50%; }

/* The wax seal: pressed into the wax, not painted on; it is stamped down gently when someone joins */
.wax { width: 136px; height: 136px; filter: none; }
.wax__v { font-family: var(--font-script); font-size: 58px; fill: #2C060B; }
.wax__v--light { fill: #B4545C; opacity: .55; }
.invite__success:not([hidden]) .wax { animation: waxStamp .75s cubic-bezier(.2, .9, .25, 1.15) .1s both; transform-origin: 50% 55%; }
.invite__success:not([hidden]) .invite__success-title, .invite__success:not([hidden]) .invite__success-text { animation: waxWords .7s ease .6s both; }
@keyframes waxStamp { 0% { opacity: 0; transform: translateY(-14px) scale(1.18) rotate(-6deg); } 55% { opacity: 1; transform: translateY(0) scale(.96) rotate(1deg); } 100% { transform: none; } }
@keyframes waxWords { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .invite__success:not([hidden]) .wax, .invite__success:not([hidden]) .invite__success-title, .invite__success:not([hidden]) .invite__success-text { animation: none; }
}

/* ---------- Info pages (Care, Shipping & Returns, Privacy) and 404: calm reading pages ---------- */
.doc { background: var(--color-parchment); color: var(--color-plum); padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.doc__body h1 { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); line-height: 1.08; text-transform: none; letter-spacing: 0; }
.doc__body h2 { margin: 40px 0 10px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); line-height: 1.2; text-transform: none; letter-spacing: 0; }
.doc__body p, .doc__body li { font-size: 1.15rem; line-height: 1.7; max-width: 36em; }
.doc__body ul { padding-left: 1.2em; }
.doc__body a:not(.btn) { color: var(--color-plum); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.doc__body .updated { font-style: italic; margin: 0 0 28px; color: var(--color-gold-ink); }
.doc--404 { min-height: calc(100svh - var(--bar-h) - 200px); display: grid; align-items: center; background: radial-gradient(90% 60% at 50% 0%, rgba(74, 11, 60, .35), rgba(30, 1, 24, .55) 100%), url("../img/plum-damask-tile.webp") center top / var(--damask-size) repeat; background-color: #34022A; color: var(--color-parchment); }
.nf { text-align: center; display: grid; justify-items: center; gap: 14px; }
.nf h1 { color: var(--color-parchment); }
.nf p { color: #EBDFC8; font-style: italic; margin: 0 auto; }
.nf__emblem { width: 120px; height: auto; }

/* Readability over the garden photograph (full review, 4 Dec 2026): a tight dark halo keeps the
   small gold label, the verse and its reference readable over pale stone, without changing the photo. */
.plate::before {
  background:
    radial-gradient(58% 52% at 50% 50%, rgba(24, 8, 14, .66), rgba(24, 8, 14, .14) 78%),
    linear-gradient(to bottom, rgba(24, 8, 14, .45), rgba(24, 8, 14, 0) 22%, rgba(24, 8, 14, 0) 70%, rgba(24, 8, 14, .55));
}
.plate .eyebrow, .plate__verse cite { text-shadow: 0 0 2px rgba(20, 0, 15, .95), 0 1px 4px rgba(20, 0, 15, .9), 0 0 16px rgba(20, 0, 15, .85); }
.plate__verse p { text-shadow: 0 0 3px rgba(20, 0, 15, .85), 0 2px 20px rgba(20, 0, 15, .8); }
.plate .eyebrow, .plate__verse cite { color: #F6D27A; }
@media (min-width: 900px) { .plate .eyebrow, .plate__verse cite { font-size: .98rem; } }

/* Sentence case (style guide, 4 Dec 2026): labels that were sized for capitals get a readable size in lowercase */
.eyebrow { font-size: 1rem; font-style: italic; }
.plate__verse cite { font-size: .98rem; }
.field label { font-size: .95rem; }
