/* =============================================================================
   Of This Day — public website
   Colours: four Pantones (sage, rust, dusty rose, syrah) on linen, forest ink.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   FONTS — CHANGE THEM HERE
   1. Headings and body are set by --display and --sans in :root just below.
   2. Google Fonts are loaded by SITE_FONTS in includes/site.php — swap the
      family there too (the name must match the one used below).
   3. For a font that isn't on Google Fonts, put its .woff2 file in
      assets/site/fonts/ and add an @font-face rule here.
   ----------------------------------------------------------------------------- */

:root {
  --linen: #f5efe6;
  --linen-2: #ede5d8;
  --forest: #2d3326;
  --sage: #91946e;
  --rust: #b55a30;
  --rust-deep: #9a4522;
  --rust-light: #e39a72;
  --rose: #ba797d;
  --rose-light: #e2aeb0;
  --syrah: #6a282c;
  --syrah-deep: #3b1619;
  --muted: #4b4840;
  --hairline: rgba(45, 51, 38, 0.18);

  --display: "Patua One", Rockwell, Georgia, serif;   /* headings */
  --sans: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;               /* body text, buttons, menu */
  --mark: "Bodoni Moda", Didot, "Bodoni 72", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 6rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--linen);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; font-weight: 500; }
a:hover { color: var(--syrah); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--syrah); color: var(--linen); padding: .6rem 1rem; z-index: 50; border-radius: 999px; }
.skip:focus { top: 1rem; color: var(--linen); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Type --------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--forest); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.12; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.25; font-weight: 400; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--forest); max-width: 36em; font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8rem 1.6rem;
  background: var(--syrah); color: var(--linen);
  border: 1px solid var(--syrah); border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--syrah-deep); border-color: var(--syrah-deep); color: var(--linen); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 42px; padding: .55rem 1.15rem; font-size: 1rem; }
.btn-light { background: var(--linen); border-color: var(--linen); color: var(--syrah); }
.btn-light:hover { background: var(--linen-2); border-color: var(--linen-2); color: var(--syrah-deep); }
.btn-quiet { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-quiet:hover { background: var(--forest); color: var(--linen); border-color: var(--forest); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.textlink { font-weight: 600; color: var(--forest); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---- Header ------------------------------------------------------------- */
.site-head { border-bottom: 1px solid var(--hairline); background: var(--linen); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--forest); flex-shrink: 0; }
.logo-img { display: block; height: 44px; width: auto; }
.logo-mark { width: 38px; height: 38px; color: var(--rust); }
.logo:hover { color: var(--forest); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--forest); font-size: 1rem; }
.site-nav ul a { padding: .4rem 0; border-bottom: 1px solid transparent; }
.site-nav ul a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--rust); }
.site-nav .btn { color: var(--linen); }
.nav-signin { font-size: 1rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--forest); border-radius: 999px; padding: .45rem 1rem; font: 600 1rem var(--sans); color: var(--forest); min-height: 42px; cursor: pointer; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--linen); border-bottom: 1px solid var(--hairline); padding: 1rem var(--gutter) 1.5rem; flex-direction: column; align-items: stretch; gap: .5rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--hairline); font-size: 1.1rem; }
  .site-nav ul a[aria-current="page"] { color: var(--rust-deep); border-bottom-color: var(--hairline); }
  .nav-signin { padding: .8rem 0; }
}
@media (max-width: 420px) { .logo-img { height: 36px; } }

.crumbs { padding-top: 1.1rem; font-size: 1rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sage); }
.crumbs a { color: var(--muted); }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
/* Tinted section bands (class names kept from the old pink/green versions). */
.band-blush, .band-mist { background: var(--linen-2); }
.band-syrah { background: var(--syrah); color: var(--linen); }
.band-syrah h2, .band-syrah h3 { color: var(--linen); }
.band-syrah a:not(.btn) { color: var(--rose-light); }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin-top: 1rem; font-size: 1.12rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---- Home hero ---------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin: 1.6rem 0 2rem; }
.price-line { margin-top: 1.25rem; font-size: 1rem; color: var(--muted); }
.price-line strong { color: var(--forest); font-weight: 500; }

.deck { position: relative; padding-bottom: 2.5rem; max-width: 460px; justify-self: end; width: 100%; }
.deck-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--linen-2); }
.deck-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.mission {
  position: absolute; left: -2.5rem; bottom: 0; width: min(78%, 330px);
  background: var(--linen); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.2rem; box-shadow: 0 18px 40px rgba(59, 22, 25, .16);
  transform: rotate(-2.5deg); transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .25s;
}
.mission-label { display: flex; justify-content: space-between; font-size: 1rem; color: var(--muted); margin: 0 0 .5rem; }
.mission-label b { color: var(--rust-deep); font-weight: 500; }
.mission-text { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; min-height: 2.2em; margin: 0 0 1.1rem; color: var(--forest); }
.mission-actions { display: flex; gap: .6rem; align-items: center; justify-content: space-between; }
.mission-actions .fake { font-size: 1rem; line-height: 1.3; color: var(--muted); }
.mission-actions .btn { white-space: nowrap; }
.mission.dealing { opacity: 0; transform: rotate(4deg) translateY(10px); }
.deck-note { font-size: 1rem; color: var(--muted); margin-top: 3.4rem; text-align: right; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .deck { justify-self: center; max-width: 380px; margin-top: 1rem; }
  .mission { left: -.5rem; }
  .deck-note { text-align: left; }
}

.facts { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.facts ul { list-style: none; margin: 0 auto; padding: 1.1rem var(--gutter); display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; justify-content: space-between; }
.facts li { display: flex; align-items: center; gap: .6rem; font-size: 1rem; }
.facts li::before { content: ""; width: 9px; height: 9px; background: var(--rust); transform: rotate(45deg); flex-shrink: 0; }

/* ---- Steps (a real sequence, so numbered) ------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--forest); padding-top: 1.25rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 400; font-size: 3.6rem; line-height: .9; color: var(--rust); margin-bottom: .75rem; }
.steps h3 { margin-bottom: .6rem; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .steps, .steps-4 { grid-template-columns: 1fr; } }

/* ---- Arched photographs ------------------------------------------------- */
.arches { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 2vw, 1.5rem); align-items: end; }
.arches figure { margin: 0; }
.arches img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: grayscale(1); }
.arches figure:nth-child(2) img { aspect-ratio: 3 / 4.6; }
.arches figure:nth-child(3) img { aspect-ratio: 3 / 3.6; }
.arches figcaption { font-family: var(--sans); font-style: italic; font-size: 1.1rem; font-weight: 400; line-height: 1.2; margin-top: .7rem; }
@media (max-width: 760px) { .arches { grid-template-columns: repeat(2, 1fr); } }

/* ---- Occasions ---------------------------------------------------------- */
.occasions { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; }
.occ { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); text-decoration: none; color: var(--forest); display: flex; flex-direction: column; justify-content: flex-end; min-height: 15rem; }
.occ h3 { margin-bottom: .5rem; font-size: clamp(1.75rem, 2.6vw, 2.3rem); }
.occ p { margin: 0 0 1rem; max-width: 30em; }
.occ span { font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }
.occ:hover { color: var(--forest); }
.occ:hover span { color: var(--syrah); }
.occ-wed { grid-row: span 2; background: var(--linen-2); overflow: hidden; color: var(--forest); padding: 0; justify-content: flex-start; }
.occ-wed img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); }
.occ-wed > div { padding: clamp(1.5rem, 3vw, 2.5rem); margin-top: auto; }
.occ-party { background: var(--linen-2); color: var(--syrah-deep); box-shadow: inset 0 6px 0 var(--rose); }
.occ-party h3 { color: var(--syrah-deep); }
.occ-party:hover { color: var(--syrah-deep); }
.occ-corp { background: var(--linen-2); color: var(--forest); box-shadow: inset 0 6px 0 var(--sage); }
@media (max-width: 760px) { .occasions { grid-template-columns: 1fr; } .occ-wed { grid-row: auto; } }

/* ---- Comparison table --------------------------------------------------- */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1.0625rem; }
.compare th, .compare td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid rgba(45, 51, 38, .28); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 1.1rem; font-weight: 400; border-bottom: 1px solid var(--forest); }
.compare tbody th { font-weight: 500; width: 30%; }
.compare .us { background: var(--linen); font-weight: 500; }
.compare thead .us { background: var(--syrah); color: var(--linen); }

/* ---- Price -------------------------------------------------------------- */
.price-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.price-big { font-family: var(--display); font-weight: 400; font-size: clamp(5rem, 11vw, 8.5rem); line-height: .85; margin: 1.25rem 0 .75rem; color: var(--linen); }
.price-sub { font-size: 1.15rem; color: var(--linen); max-width: 22em; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid rgba(245, 239, 230, .2); position: relative; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.35rem; width: 9px; height: 9px; background: var(--rust-light); transform: rotate(45deg); }
.ticks-dark li { border-bottom-color: var(--hairline); }
.ticks-dark li::before { background: var(--rust); }
@media (max-width: 860px) { .price-panel { grid-template-columns: 1fr; } }

/* ---- Quote -------------------------------------------------------------- */
.quote { margin: 0 auto; max-width: 46rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.quote-mark { width: 40px; height: 40px; color: var(--rust); margin-bottom: 1.25rem; }
.quote img { width: clamp(140px, 18vw, 220px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); }
.quote blockquote { margin: 0; font-family: var(--sans); font-style: italic; font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.3; font-weight: 400; }
.quote cite { display: block; margin-top: 1rem; font: 400 1rem var(--sans); font-style: normal; color: var(--muted); font-style: normal; }
.signature { font-family: var(--script); font-size: 2.4rem; color: var(--syrah); line-height: 1; display: block; margin-top: .75rem; }


/* ---- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--forest); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-family: var(--display); font-size: 1.2rem; font-weight: 400; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.55rem; width: 10px; height: 10px; border-right: 1.5px solid var(--forest); border-bottom: 1.5px solid var(--forest); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq-a { padding: 0 0 1.25rem; max-width: 44rem; }
.faq-a p { margin: 0; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--syrah); color: var(--linen); padding: clamp(4rem, 8vw, 6.5rem) 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 48px; height: 48px; color: var(--rust-light); margin-bottom: 1.5rem; }
.cta-band h2 { color: var(--linen); max-width: 22ch; }
.cta-band p { max-width: 36em; margin: 1.25rem 0 2rem; color: var(--linen); font-size: 1.1rem; }
.cta-band .actions { justify-content: center; }
.link-light { color: var(--linen); font-weight: 500; }
.link-light:hover { color: var(--rose-light); }

/* ---- Inner pages -------------------------------------------------------- */
.page-hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 17ch; }
.page-hero .lede { margin: 1.5rem 0 2rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.page-hero-grid .arch-photo { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(1); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .arch-photo { max-width: 320px; } }

.prose { max-width: 42rem; }
.prose h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.prose h3 { margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--rust); }
.prose .callout { background: var(--linen); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.prose .callout p:last-child { margin: 0; }
.prose table { margin: 1.5rem 0; }

.two-col { display: grid; grid-template-columns: 15rem 1fr; gap: clamp(2rem, 6vw, 5rem); }
.two-col aside { position: sticky; top: 1.5rem; align-self: start; font-size: 1rem; }
.two-col aside h2 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-bottom: .75rem; letter-spacing: 0; }
.two-col aside ul { list-style: none; margin: 0; padding: 0; }
.two-col aside li { border-top: 1px solid var(--hairline); }
.two-col aside a { display: block; padding: .55rem 0; text-decoration: none; color: var(--forest); }
.two-col aside a:hover { color: var(--rust-deep); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .two-col aside { position: static; } }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); }
.feature-list > div { border-top: 1px solid var(--hairline); padding: 1.5rem 0; }
.feature-list h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.feature-list p { margin: 0; }
@media (max-width: 720px) { .feature-list { grid-template-columns: 1fr; } }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.related a { display: block; padding: 1.4rem 1.5rem; border: 1px solid var(--hairline); border-radius: var(--radius); text-decoration: none; color: var(--forest); background: var(--linen); }
.related a:hover { border-color: var(--forest); }
.related strong { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 400; line-height: 1.15; margin-bottom: .35rem; }
.related span { font-size: 1rem; color: var(--muted); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---- Mission ideas page ------------------------------------------------- */
.missions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.mission-group h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: .4rem; }
.mission-group > p { color: var(--muted); font-size: 1rem; }
.mission-group ol { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: m; columns: 1; }
.mission-group li { counter-increment: m; padding: .6rem 0 .6rem 2.5rem; border-top: 1px solid var(--hairline); position: relative; break-inside: avoid; }
.mission-group li::before { content: counter(m); position: absolute; left: 0; top: .55rem; font-family: var(--display); font-weight: 400; font-size: 1.1rem; color: var(--rust-deep); width: 1.8rem; text-align: right; }
.mission-group li.starter { font-weight: 500; }
@media (max-width: 760px) { .missions-grid { grid-template-columns: 1fr; } }

/* ---- Contact ------------------------------------------------------------ */
.contact-ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 52rem; }
.contact-ways a { display: block; padding: 1.75rem; border-radius: var(--radius); text-decoration: none; color: var(--forest); }
.contact-ways a { background: var(--linen-2); }
.contact-ways a:first-child { box-shadow: inset 0 6px 0 var(--rose); }
.contact-ways a:last-child { box-shadow: inset 0 6px 0 var(--sage); }
.contact-ways strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; margin-bottom: .25rem; }
@media (max-width: 620px) { .contact-ways { grid-template-columns: 1fr; } }

/* ---- 404 ---------------------------------------------------------------- */
.lost { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.lost .logo-mark { width: 72px; height: 72px; margin: 0 auto 2rem; color: var(--rust); }
.lost h1 { margin: 0 auto 1rem; max-width: 14ch; }
.lost .actions { justify-content: center; margin-top: 2rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-foot { background: var(--forest); color: var(--linen); padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; font-size: 1rem; }
.site-foot a { color: var(--linen); }
.site-foot a:hover { color: var(--rust-light); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand .logo-img { height: 64px; }
.foot-brand p { color: #ece6da; max-width: 26rem; margin-top: 1rem; }
.logo-light { color: var(--linen); }
.logo-light:hover { color: var(--linen); }
.foot-h { font-family: var(--sans); font-weight: 600; font-size: 1rem; font-weight: 500; color: var(--rust-light); margin-bottom: .75rem; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .45rem; }
.site-foot li a { text-decoration: none; }
.site-foot li a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(245, 239, 230, .18); font-size: 1rem; color: #ddd7cb; }
.foot-legal p { margin: 0; }
.foot-legal a, .foot-legal button { margin-left: 1rem; color: #e6e0d4; }
.foot-legal a:first-child { margin-left: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---- Sticky mobile CTA, consent ----------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom)); background: var(--linen); border-top: 1px solid var(--hairline); transform: translateY(110%); transition: transform .3s; font-size: 1rem; }
  .sticky-cta.show { transform: none; }
  body { padding-bottom: 4.5rem; }
}
.consent { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; max-width: 24rem; background: var(--linen); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 18px 40px rgba(45, 51, 38, .18); font-size: 1rem; }
.consent p { margin: 0 0 .6rem; }
.consent .actions { margin-top: .8rem; gap: .5rem; }
@media (max-width: 760px) { .consent { left: 1rem; bottom: 5rem; } }
@media (max-width: 480px) { .mission-actions .fake { display: none; } .mission-actions { justify-content: flex-end; } }

/* Navigation, breadcrumbs and footer lists keep a lighter weight than body links. */
.site-nav a, .crumbs a, .site-foot li a, .foot-legal a, .logo { font-weight: 400; }
.site-nav .btn { font-weight: 600; }

/* ---- Polish: reading rhythm, a header that stays in reach, in-flow CTAs ---- */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.section-cta { margin-top: 2.75rem; }
@media (min-width: 761px) {
  .site-head { position: sticky; top: 0; background: rgba(245, 239, 230, .96); backdrop-filter: blur(6px); }
}
.btn:focus-visible { outline-offset: 4px; }
[id] { scroll-margin-top: 96px; }

/* ---- Audio guestbook cross-sell ---------------------------------------- */
.new-tag { display: inline-block; font: 700 .62rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--rust); color: var(--linen); padding: .3em .55em; border-radius: 99px; vertical-align: .15em; margin-left: .25em; }
.promo-bar { position: relative; background: var(--forest); color: var(--linen); font-size: .92rem; text-align: center; padding: .6rem 3rem; }
.promo-bar p { margin: 0; }
.promo-bar .new-tag { margin: 0 .5em 0 0; }
.promo-bar a { color: var(--linen); text-decoration: underline; text-decoration-color: var(--rust-light); text-underline-offset: 3px; font-weight: 600; }
.promo-bar button { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--linen); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: .3rem .5rem; opacity: .75; }
.promo-bar button:hover { opacity: 1; }
.site-nav .nav-audio { display: none; }
@media (max-width: 1080px) { .site-nav .nav-audio { display: block; } }
.audio-kicker { display: flex; align-items: center; gap: .5rem; font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust-deep); margin: 0 0 1rem; }
.audio-kicker .audio-star { width: 18px; height: 18px; color: var(--rust); }
.audio-promo .actions { margin-top: 1.75rem; }

/* ---- Games finder (/wedding-games/) ------------------------------------ */
.gf-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.gf-h { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.gf { background: var(--linen); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 2rem; }
.gf-group { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.gf-group legend { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep); margin-bottom: .6rem; padding: 0; }
.gf-group legend span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.gf-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.gf-chip { position: relative; cursor: pointer; }
.gf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gf-chip span { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--hairline); border-radius: 99px; background: #fff; font-size: .95rem; color: var(--forest); transition: background .15s, border-color .15s; }
.gf-chip:hover span { border-color: var(--forest); }
.gf-chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--linen); }
.gf-chip input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.gf-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--hairline); padding-top: 1.1rem; margin-top: .4rem; }
.gf-count { margin: 0; font-weight: 700; color: var(--forest); }
.gf-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.gf-actions .btn[disabled] { opacity: .5; cursor: default; }
.game-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.game[hidden] { display: none; }
.game article { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; transition: border-color .2s, box-shadow .2s; }
.game-otd article { border-color: var(--rust-light); }
.game-starred article { border-color: var(--forest); box-shadow: 0 0 0 2px var(--forest) inset; }
.game-pick article { animation: gf-pop .9s ease; box-shadow: 0 0 0 3px var(--rust); }
@keyframes gf-pop { 0% { transform: scale(.97); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }
.game-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.game-name { font-size: 1.45rem; line-height: 1.15; margin: 0 0 .5rem; }
.game-star { flex: none; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--rust); cursor: pointer; padding: .1rem .2rem; }
.game-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .8rem; }
.game-tags span { font-size: .75rem; font-weight: 600; background: var(--linen-2); color: var(--muted); padding: .2rem .55rem; border-radius: 99px; }
.game-sum { margin: 0 0 .9rem; font-size: 1rem; }
.game details { margin-top: auto; border-top: 1px solid var(--hairline); padding-top: .7rem; }
.game summary { cursor: pointer; font-weight: 700; color: var(--forest); }
.game-steps { padding-left: 1.2rem; margin: .7rem 0; }
.game-steps li { margin-bottom: .3rem; }
.game-steps li::marker { color: var(--rust); font-weight: 700; }
.game-props, .game-tip { font-size: .95rem; margin: .4rem 0 0; }
.game-cta { display: flex; gap: .5rem; align-items: flex-start; margin: .9rem 0 0; padding: .7rem .8rem; background: var(--linen); border-radius: 10px; font-size: .92rem; }
.game-cta .game-star-mark { flex: none; width: 18px; height: 18px; color: var(--rust); margin-top: .15rem; }
.gf-empty { text-align: center; padding: 2rem 0; font-weight: 600; }
.gf-printout { display: none; }
@media (max-width: 600px) { .game-grid { grid-template-columns: 1fr; } .gf-bar { flex-direction: column; align-items: stretch; } }
@media print {
  body.printing-games > *:not(main), body.printing-games main > *:not(.gf-printout) { display: none !important; }
  body.printing-games .gf-printout { display: block !important; font-family: Georgia, serif; color: #000; }
  .gf-printout h1 { font-size: 22pt; margin: 0 0 4pt; }
  .gf-printout .gf-p-sub { font-size: 9pt; color: #555; margin: 0 0 14pt; }
  .gf-printout section { break-inside: avoid; border-top: 1px solid #ccc; padding: 10pt 0; }
  .gf-printout h2 { font-size: 15pt; margin: 0 0 4pt; }
  .gf-printout p, .gf-printout li { font-size: 10.5pt; line-height: 1.45; margin: 0 0 4pt; }
}

/* ---- Games & ideas pages: shared blocks --------------------------------- */
.cp-quick { background: var(--linen); border: 1px solid var(--hairline); border-left: 4px solid var(--rust); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2rem; max-width: 46rem; }
.cp-quick-h { font-size: 1.35rem; margin: 0 0 .7rem; }
.cp-quick ol { margin: 0; padding-left: 1.3rem; }
.cp-quick li { margin-bottom: .45rem; }
.cp-quick li::marker { color: var(--rust); font-weight: 700; }
.cp-quick a { font-weight: 700; color: var(--forest); }
.cp-quick span { color: var(--muted); }
.cp-rule { margin: .9rem 0 0; font-size: .97rem; }
.cp-section-intro { max-width: 46rem; }
.cp-q-group { margin-top: 2.5rem; }
.cp-q-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cp-q-group > p { color: var(--muted); max-width: 44rem; }
.cp-qs { columns: 2 22rem; column-gap: 3rem; padding-left: 1.6rem; margin: 1rem 0 0; }
.cp-qs li { break-inside: avoid; margin-bottom: .6rem; padding-left: .2rem; }
.cp-qs li::marker { color: var(--rust); font-weight: 700; }
.cp-steps-box { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.cp-steps-box li { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.cp-steps-box li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--forest); color: var(--linen); font-weight: 700; margin-bottom: .6rem; }
.cp-note { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.2rem 1.4rem; font-size: .95rem; }

/* Printables on screen */
.cp-printables { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.cp-printables > *, .cp-printable { min-width: 0; }
.cp-printable { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); }
.cp-printable-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.cp-printable-head h3 { font-size: 1.45rem; margin: 0 0 .3rem; }
.cp-printable-head p { margin: 0; color: var(--muted); max-width: 40rem; }
.cp-sheet { border: 1px dashed var(--hairline); border-radius: 10px; padding: 1.4rem; background: var(--linen); max-height: 34rem; overflow: auto; }
.cp-sheet-foot { font-size: .75rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.cp-personal { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; font-weight: 700; margin-bottom: 1rem; }
.cp-personal input, .cp-bingo-controls input, .cp-bingo-controls select { font: inherit; padding: .5rem .7rem; border: 1px solid var(--hairline); border-radius: 8px; background: #fff; }
.cp-quiz h4, .bingo-card h4 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-align: center; margin: 0 0 .5rem; color: var(--forest); }
.cp-quiz-team { text-align: center; font-size: .9rem; color: var(--muted); }
.cp-quiz ol { padding-left: 1.5rem; }
.cp-quiz li { margin-bottom: .9rem; }
.cp-line { display: block; border-bottom: 1px solid #b9b2a6; height: 1.4rem; }
.cp-answers, [data-print-only] { display: none; }
.cp-bingo-controls { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: flex-end; margin-bottom: 1.2rem; }
.cp-bingo-controls label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 700; }
.cp-bingo-controls input[type=number] { width: 5.5rem; }
.cp-bingo-preview { max-width: 30rem; margin: 0 auto; min-width: 0; }
.cp-bingo-controls label { min-width: 0; }
.cp-bingo-controls input[type=text] { width: min(16rem, 100%); }
.bingo-card { background: #fff; border: 2px solid var(--forest); border-radius: 12px; padding: 1rem; }
.bingo-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border-top: 1px solid var(--forest); border-left: 1px solid var(--forest); }
.bc { aspect-ratio: 1; display: grid; place-items: center; text-align: center; padding: .3rem; font-size: clamp(.58rem, 2.4vw, .8rem); line-height: 1.15; border-right: 1px solid var(--forest); border-bottom: 1px solid var(--forest); hyphens: auto; overflow-wrap: break-word; overflow: hidden; }
.bc.free { background: var(--forest); color: var(--linen); font-weight: 700; }
.bingo-foot { font-size: .72rem; color: var(--muted); text-align: center; margin: .6rem 0 0; }
#print-area { display: none; }

@media print {
  body.printing-one > *:not(#print-area) { display: none !important; }
  body.printing-one #print-area { display: block !important; color: #000; }
  body.printing-one { background: #fff !important; }
  @page { size: A4; margin: 14mm; }
  #print-area .cp-sheet { border: 0; background: none; padding: 0; max-height: none; overflow: visible; }
  #print-area [data-print-only], #print-area .cp-answers { display: block; break-before: page; }
  #print-area .cp-personal, #print-area button { display: none !important; }
  #print-area .cp-quiz h4 { font-size: 22pt; }
  #print-area .cp-quiz ol { padding-left: 2.2em; }
  #print-area .cp-quiz li { font-size: 12pt; margin-bottom: 10pt; }
  #print-area .cp-line { height: 18pt; }
  #print-area .cp-qs { columns: 2; font-size: 11pt; }
  #print-area h1 { font-size: 22pt; margin: 0 0 4pt; }
  #print-area .gf-p-sub { font-size: 9pt; color: #555; margin: 0 0 12pt; }
  #print-area .sl-item { break-inside: avoid; border-top: 1px solid #ccc; padding: 8pt 0; }
  #print-area .sl-item h2 { font-size: 14pt; margin: 0 0 3pt; }
  #print-area .sl-item p, #print-area .sl-item li { font-size: 10.5pt; line-height: 1.4; margin: 0 0 3pt; }
  .bingo-page { break-after: page; display: flex; flex-direction: column; gap: 6mm; }
  .bingo-page:last-child { break-after: auto; }
  .bingo-page.per-1 .bingo-card { padding: 8mm; }
  .bingo-page.per-1 .bc { font-size: 12pt; }
  .bingo-page.per-2 .bingo-card { max-width: 100mm; margin: 0 auto; width: 100%; padding: 3mm 4mm; }
  .bingo-page.per-2 .bingo-card h4 { font-size: 14pt; margin-bottom: 2mm; }
  .bingo-page.per-2 .bc { font-size: 8.5pt; }
  .bingo-card { border-color: #000; break-inside: avoid; }
  .bingo-card h4 { font-size: 18pt; }
  .bc.free { background: #222 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
