/* core.css — split from styles.css on 2026-07-24 (Phase 4 Stage 2).
   Rules are verbatim, in original source order. Do not hand-merge sheets;
   the page -> stylesheet mapping lives in tools/build-site.js. */

/* Self-hosted webfonts (2026-07-25, Phase 4 Stage 4). The three families are
   the exact vendor woff2 files Google served for our css2 request — latin
   subset, byte-identical, never re-encoded. unicode-range is Google's latin
   range verbatim, so any non-latin text falls back exactly as it did while the
   sheet came from Google. The url()s below are PLACEHOLDER KEYS: the
   build hashes site/assets/fonts/*.woff2 and rewrites these to the hashed
   /assets/fonts/<name>-<hash10>.woff2 paths before hashing this sheet.
   Provenance (source URLs, sizes, sha256): experiments/phase-4-css-2026-07-24/notes-e.md */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-e9201eddf1.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-5a51946dff.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: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/sora-811e11966d.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;
}
:root {
  --paper: #fffdf8;
  --warm: #f7f2ea;
  --surface: #ffffff;
  --ink: #11282b;
  --muted: #5d6968;
  --line: #ded6ca;
  --line-strong: #c8b9a8;
  --teal: #0d5240;
  --teal-dark: #093d2e;
  --teal-soft: #e3efe9;
  --gold: #c2872d;
  --sage: #6e8b73;
  --night: #0a1812;
  --night-raised: #10251b;
  --candle: #e9ba52;
  --night-paper: #f7f3ea;
  --ember: #e8684a;
  --sage-line: #7e9a8c;
  --success: #259b58;
  --shadow: 0 22px 70px rgba(34, 24, 14, 0.13);
  --soft-shadow: 0 14px 34px rgba(19, 37, 38, 0.08);
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --serif-accent: "Instrument Serif", Georgia, "Times New Roman", serif;
  --logo-serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 240, 0.9) 58%, rgba(251, 251, 248, 0.98)),
    #fbfbf8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font-family: var(--sans);
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 46px);
  border-bottom: 1px solid rgba(198, 185, 169, 0.7);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(20px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}
.product-label {
  margin: 0;
  color: #243637;
  font-size: 15px;
  font-weight: 600;
}
.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  border: 1px solid rgba(13, 82, 64, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  color: #536463;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 4px;
}
.language-switch a,
.language-switch span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
}
.language-switch a {
  color: #536463;
}
.language-switch span {
  background: var(--night);
  color: #fffdf8;
}
.header-link,
.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.header-link {
  padding: 0 8px;
  color: #263c3d;
}
.header-action {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 7px 18px rgba(17, 40, 43, 0.05);
}
main {
  max-width: 1840px;
  margin: 0 auto;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 1fr) minmax(260px, 0.46fr);
  align-items: stretch;
  min-height: calc(100vh - 76px);
  border-bottom: 1px solid rgba(205, 191, 174, 0.62);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  text-wrap: pretty;
}
input,
textarea,
.drop-link-list input,
.drop-reminder textarea {
  overflow-wrap: anywhere;
}
h1,
.kit-copy h2,
.faq-section h2 {
  margin: 0;
  color: #0d2c2f;
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.04;
}
h1 {
  max-width: 700px;
  font-size: clamp(36px, 4.1vw, 58px);
}
input,
select {
  min-height: 48px;
  width: 100%;
  border: 1px solid #cfc6ba;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(13, 82, 64, 0.22);
  outline-offset: 3px;
}
input:focus,
select:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 4px rgba(13, 82, 64, 0.08);
}
.field-note.is-error {
  color: #a8341e;
}
.style-chip.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(13, 82, 64, 0.12);
}
.garden {
  background:
    radial-gradient(circle at 20% 25%, rgba(110, 139, 115, 0.34), transparent 18%),
    radial-gradient(circle at 72% 70%, rgba(110, 139, 115, 0.28), transparent 18%),
    #faf6ed;
}
.modern {
  background:
    linear-gradient(135deg, #0b2528 0 58%, #e9ba52 58% 61%, #151515 61%),
    #0b2528;
}
.primary-action,
.download-action,
.kit-cta,
.secondary-action {
  min-height: 54px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
}
button:disabled {
  cursor: not-allowed;
}
.primary-action,
.download-action {
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: 0 14px 28px rgba(13, 82, 64, 0.25);
}
.download-action:disabled {
  background: #d7d0c5;
  color: #5e6968;
  box-shadow: none;
}
.primary-action {
  margin-top: 2px;
}
.paper-sign {
  --accent: var(--gold);
  --leaf: var(--sage);
  position: relative;
  z-index: 1;
  display: grid;
  width: min(390px, 82%);
  aspect-ratio: 8 / 10;
  justify-items: center;
  align-content: center;
  padding: 46px 46px 34px;
  border: 2px solid var(--accent);
  background: #fffefb;
  color: #161c1d;
  box-shadow: 0 18px 40px rgba(58, 43, 25, 0.2);
}
.corner {
  position: absolute;
  z-index: 2;
  width: 35px;
  height: 35px;
  border-color: var(--accent);
}
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fffdfa;
  color: #172d2f;
  text-align: center;
}
.checklist li.done::before {
  border-color: var(--success);
  background: var(--success);
  content: "\2713";
  font-size: 12px;
  font-weight: 900;
}
.template-strip,
.kit-section,
.trust-row,
.faq-section {
  margin: 0 clamp(20px, 4vw, 46px);
}
.kit-section {
  display: grid;
  grid-template-columns: minmax(480px, 520px) 1fr;
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(216, 188, 150, 0.75);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(255, 244, 231, 0.8)),
    #fff7eb;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--soft-shadow);
}
.kit-copy > p,
.checkout-note,
.guide-index-head p:last-child,
.guide-feature-card em,
.guide-feature-list em,
.article-body > p,
.article-body details p,
.article-cta p,
.faq-section p,
.redirect-panel p {
  font-family: var(--body);
}
.pin-redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}
.redirect-panel {
  width: min(620px, 100%);
  display: grid;
  gap: 18px;
}
.redirect-panel h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.94;
  letter-spacing: 0;
}
.redirect-panel p {
  margin: 0;
  color: var(--muted);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
  padding: 22px 0 28px;
}
.faq-section {
  padding: 16px 0 56px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  padding: 20px;
}
.faq-grid h3 {
  margin: 0 0 8px;
  color: #203839;
  font-size: 17px;
}
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.event-landing {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) clamp(20px, 4vw, 46px) 64px;
}
.landing-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.landing-hero h1 {
  max-width: 11ch;
}
.landing-hero p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: #34494a;
  font-size: 18px;
}
.seo-landing {
  display: grid;
  gap: 34px;
}
.seo-hero {
  padding-bottom: 36px;
}
.seo-hero h1 {
  max-width: 13ch;
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.seo-grid article,
.seo-answer,
.seo-choice,
.seo-copy-block,
.seo-cta-band,
.seo-related {
  border: 1px solid rgba(200, 185, 168, 0.72);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--soft-shadow);
}
.seo-grid article {
  padding: 22px;
}
.seo-grid h2,
.seo-answer h2,
.seo-choice h2,
.seo-copy-block h2,
.seo-cta-band h2,
.seo-related h2 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}
.seo-grid p,
.seo-answer p,
.seo-choice p,
.seo-copy-block p,
.seo-cta-band p {
  margin: 14px 0 0;
  color: var(--muted);
}
.seo-answer .eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
}
.seo-answer p:not(.eyebrow) {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.7;
}
.seo-copy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 34px);
}
.seo-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 34px);
}
.guide-index {
  margin: 46px clamp(20px, 4vw, 46px) 0;
  padding: 36px 0 46px;
  border-top: 1px solid rgba(200, 185, 168, 0.74);
  border-bottom: 1px solid rgba(200, 185, 168, 0.5);
}
.guide-index-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(420px, 1fr);
  gap: 32px;
  align-items: end;
  max-width: 1320px;
  margin: 0 auto 26px;
}
.guide-feature-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(520px, 1.14fr);
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}
.guide-feature-card,
.guide-feature-list a {
  border: 1px solid rgba(199, 184, 166, 0.82);
  background: rgba(255, 255, 255, 0.64);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.guide-feature-card {
  display: flex;
  position: relative;
  min-height: 306px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.86) 0%, rgba(255, 253, 248, 0.62) 46%, rgba(255, 253, 248, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.02) 0%, rgba(255, 253, 248, 0.76) 100%),
    url("/assets/photo-drop-event-preview-guests.jpg") center / cover no-repeat;
}
.map-node.entry {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.map-node.tables {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}
.article-cta p:not(.eyebrow) {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--muted);
}
/* Premium generator studio */
.create-studio {
  grid-template-columns: minmax(360px, 0.86fr) minmax(430px, 1fr) minmax(290px, 0.48fr);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    #f6f4f0;
}
.segment-chip.is-selected,
.format-chip.is-selected,
.setup-chip.is-selected,
.asset-chip.is-selected,
.palette-chip.is-selected,
.style-chip.is-selected {
  border-color: var(--teal);
  background: rgba(226, 232, 227, 0.66);
  box-shadow: 0 0 0 2px rgba(13, 82, 64, 0.1);
}
.setup-guide:not([open]) > :not(summary),
.advanced-design:not([open]) > :not(summary) {
  display: none;
}
.setup-guide[open] summary::after,
.advanced-design[open] summary::after {
  content: "\2212";
}
.advanced-design[open] {
  padding-bottom: 14px;
}
.advanced-design[open] summary {
  border-bottom: 1px solid rgba(207, 198, 186, 0.62);
  margin-bottom: 14px;
}
.editorial {
  background:
    linear-gradient(#151515 0 0) center 18px / 62px 4px no-repeat,
    linear-gradient(#151515 0 0) center calc(100% - 18px) / 62px 4px no-repeat,
    #fffefa;
}
.soft {
  background:
    radial-gradient(circle at 70% 30%, rgba(185, 99, 95, 0.2), transparent 22%),
    #fff9f6;
}
.celebration {
  background:
    radial-gradient(circle at 22% 25%, rgba(223, 106, 44, 0.38) 0 4px, transparent 5px),
    radial-gradient(circle at 68% 34%, rgba(47, 111, 131, 0.32) 0 4px, transparent 5px),
    radial-gradient(circle at 45% 72%, rgba(182, 120, 34, 0.3) 0 4px, transparent 5px),
    #fbfeff;
}
.paper-sign[data-style="celebration"] .corner {
  border-radius: 0;
}
.readiness-card li.done::before {
  border-color: var(--success);
  background: var(--success);
  content: "\2713";
  font-size: 12px;
  font-weight: 900;
}

/* Stage 3 mobile-first: phone tiers become the base and min-width blocks
   add the wider composition back. .hero-shell has THREE bands (<=940 /
   941-1280 / >=1281); the tablet rule below is left in place as a base
   and the whole chain is re-emitted in ASCENDING order after the 940
   group, which is what makes later-block-wins land on the right band.
   .site-header's tracks and gap are also three-banded, but their
   narrowest tier lives further down, so their chain is emitted there. */
.hero-shell {
  grid-template-columns: minmax(320px, 0.95fr) minmax(390px, 1fr);
}
.site-header {
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.product-label {
  display: none;
}
.hero-shell,
.create-studio,
.kit-section,
.trust-row,
.faq-grid,
.seo-grid,
.seo-choice,
.seo-copy-block,
.seo-cta-band,
.seo-related-grid,
.guide-index-head,
.guide-feature-layout,
.guide-feature-list,
.landing-hero,
.landing-details,
.article-hero,
.article-layout,
.article-cta {
  grid-template-columns: 1fr;
}

@media (min-width: 941px) {
.product-label {
    display: revert;
  }
.hero-shell {
    grid-template-columns: minmax(320px, 0.95fr) minmax(390px, 1fr);
  }
.create-studio {
    grid-template-columns: minmax(360px, 0.86fr) minmax(430px, 1fr) minmax(290px, 0.48fr);
  }
.kit-section {
    grid-template-columns: minmax(480px, 520px) 1fr;
  }
.trust-row,
  .faq-grid,
  .seo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
.seo-copy-block {
    grid-template-columns: 1fr 1fr;
  }
.seo-cta-band {
    grid-template-columns: 1fr auto;
  }
.guide-index-head {
    grid-template-columns: minmax(280px, 0.76fr) minmax(420px, 1fr);
  }
.guide-feature-layout {
    grid-template-columns: minmax(320px, 0.86fr) minmax(520px, 1.14fr);
  }
.landing-hero {
    grid-template-columns: minmax(320px, 0.95fr) minmax(260px, 0.55fr);
  }
/* No author grid-template-columns anywhere for these, so the desktop
   side is the explicit initial. */
.seo-choice,
  .seo-related-grid,
  .guide-feature-list,
  .landing-details,
  .article-hero,
  .article-layout,
  .article-cta {
    grid-template-columns: none;
  }
}

@media (min-width: 1281px) {
.hero-shell {
    grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 1fr) minmax(260px, 0.46fr);
  }
}

.site-header {
  position: relative;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  padding: 14px;
}
.header-actions {
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}
/* Inert in both tiers: the 2026-06-22 renewal pass re-declares
   .header-action's min-height and padding unconditionally below. */
.header-action {
  min-height: 36px;
  padding: 0 12px;
}
.header-link {
  display: none;
}
.language-switch {
  font-size: 11px;
}
.language-switch a,
.language-switch span {
  min-height: 32px;
  padding: 0 10px;
}
.guide-index {
  padding-top: 30px;
}
.map-node.entry,
.map-node.tables,
.map-node.bar,
.map-node.guestbook,
.map-node.booth {
  grid-column: auto;
  grid-row: auto;
}

@media (min-width: 681px) {
.site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px clamp(20px, 4vw, 46px);
  }
.header-actions {
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 12px;
  }
.header-link {
    display: inline-flex;
  }
.language-switch {
    font-size: 12px;
  }
.language-switch a,
  .language-switch span {
    min-height: 32px;
    padding: 0 12px;
  }
.guide-index {
    padding-top: 36px;
  }
.map-node.entry {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
.map-node.tables {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }
}
/* Third band of the header's tracks and gap (the tablet tier above is
   the middle band). */
@media (min-width: 941px) {
.site-header {
    grid-template-columns: auto 1fr auto;
    gap: 32px;
  }
}
.generator-options[open] > summary {
  border-bottom: 1px solid rgba(207, 198, 186, 0.74);
}
.generator-options[open] .compact-event-name,
.generator-options[open] .form-row,
.generator-options[open] .choice-field,
.generator-options[open] .setup-guide,
.generator-options[open] .test-card,
.generator-options[open] .advanced-design {
  margin-inline: 14px;
}
.generator-options[open] .compact-event-name {
  margin-top: 14px;
}
.generator-options[open] .advanced-design {
  margin-bottom: 0;
}
.generator-options[open] .setup-guide > summary::after,
.generator-options[open] .advanced-design > summary::after {
  content: "+";
}
.generator-options[open] .setup-guide[open] > summary::after,
.generator-options[open] .advanced-design[open] > summary::after {
  content: "\2212";
}
html[lang^="es"] .create-studio .paper-sign h3 {
  max-width: 14.8ch;
  font-size: clamp(30px, 2.65vw, 44px);
}

@media (prefers-reduced-motion: no-preference) {
.paper-sign,
  .result-panel,
  .kit-section {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
}
/* 2026-06-22 full renewal pass */
body {
  background:
    radial-gradient(circle at 76% 12%, rgba(194, 135, 45, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #faf7f0 54%, #fffdf8 100%);
}
.site-header {
  min-height: 84px;
  background: rgba(255, 253, 248, 0.94);
}
.product-label {
  color: #213b3c;
  font-size: 15px;
  font-weight: 750;
}
.header-link,
.header-action {
  font-size: 15px;
}
.header-action {
  min-height: 48px;
  padding: 0 24px;
  background: #fffdf8;
}
main {
  max-width: none;
}
:where(#generator, #templates-title, #kit, #guide-title, #how-it-works, #pricing, #createDropForm) {
  scroll-margin-top: 132px;
}
.primary-action,
.download-action,
.kit-cta,
.secondary-action {
  border-radius: 8px;
}
.download-action:disabled,
.secondary-action:disabled {
  box-shadow: none;
  opacity: 0.58;
}
.generator-options[open] summary::after {
  content: "−";
}
.generator-options[open] {
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
}
.generator-options[open] summary {
  border-bottom: 1px solid rgba(207, 198, 186, 0.74);
}
.paper-sign {
  box-shadow: 0 24px 70px rgba(22, 39, 39, 0.16);
}
.template-strip,
.kit-section,
.trust-row,
.faq-section,
.guide-index {
  width: min(1560px, calc(100% - 48px));
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.86);
  padding-right: clamp(20px, 3vw, 44px);
  padding-left: clamp(20px, 3vw, 44px);
}
.guide-index {
  border-top: 0;
  border-bottom: 0;
}

.site-header {
  min-height: 76px;
}

@media (min-width: 981px) {
.site-header {
    min-height: 84px;
  }
}
.site-header .header-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(207, 198, 186, 0.78);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  padding: 0 11px;
  font-size: 13px;
}
.site-header .header-action {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}
.template-strip,
.kit-section,
.trust-row,
.faq-section,
.guide-index {
  width: min(100% - 28px, 1560px);
  border-radius: 12px;
}

/* The phone header pill. Above 680 nothing declares border or background
   for these (0,2,0) selectors, so those are the explicit initials; the
   rest hand back the shared .header-link / .header-action values. This
   restore therefore sits one specificity step above the rules that
   supply the values — see the notes' pinning flag. */
@media (min-width: 681px) {
.site-header .header-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    padding: 0 8px;
    font-size: 15px;
  }
.site-header .header-action {
    min-height: 48px;
    padding: 0 24px;
    font-size: 15px;
  }
.template-strip,
  .kit-section,
  .trust-row,
  .faq-section,
  .guide-index {
    width: min(1560px, calc(100% - 48px));
    border-radius: 16px;
  }
}
/* 2026-07-02 root hierarchy flip */

/* 2026-07-02 round 10 root day-surface refinement */

.root-mini-drop figure.is-newest {
  border-color: rgba(233, 186, 82, 0.86);
  box-shadow: 0 0 0 2px rgba(233, 186, 82, 0.2), 0 14px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}
.root-mini-drop figure.is-newest figcaption {
  opacity: 1;
  transform: translateY(0);
}
.create-studio .generator-form,
.create-studio .result-panel,
.sign-stage,
.paper-sign,
.checklist,
.download-card,
.result-panel .trust-note,
.template-card,
.kit-section,
.guide-feature-card,
.guide-feature-list a {
  border-color: rgba(201, 189, 174, 0.62);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) inset, 0 16px 38px rgba(19, 37, 38, 0.055);
}

@media (prefers-reduced-motion: reduce) {
.root-mini-drop figure.is-newest {
    transform: none;
  }
}
.night-header .header-action {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f5c765, var(--candle));
  color: #10140d;
  padding: 0 24px;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(233, 186, 82, 0.18);
}
.drop-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(180deg, #f5c765, var(--candle));
  color: #10140d;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(233, 186, 82, 0.18);
}
.drop-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 243, 234, 0.28);
  background: transparent;
  color: var(--night-paper);
  min-height: 56px;
  border-radius: 8px;
  padding: 0 28px;
  font-size: 17px;
}
.drop-primary:focus-visible,
.drop-secondary:focus-visible {
  outline: 3px solid rgba(233, 186, 82, 0.5);
  outline-offset: 3px;
}
.night-steps {
  border-top: 1px solid rgba(233, 186, 82, 0.2);
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 46px);
  background: var(--night);
  color: var(--night-paper);
}
.night-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 24px);
  width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.night-section-head h2 {
  margin: 0;
  color: var(--night-paper);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}
.night-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.night-step-grid article {
  border: 1px solid rgba(126, 154, 140, 0.28);
  border-radius: 8px;
  background: transparent;
  padding: clamp(16px, 2vw, 22px);
}
.night-step-grid span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(233, 186, 82, 0.55);
  border-radius: 999px;
  color: var(--candle);
  font-size: 14px;
  font-weight: 850;
}
.night-step-grid h3 {
  margin: 10px 0 6px;
  color: var(--night-paper);
  font-size: 19px;
  line-height: 1.15;
}
.night-step-grid p {
  margin: 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.night-step-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 761px) {
.night-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* justify-content: center is what the two base rules above already set at
   every width, so only width needs handing back. */
.drop-primary,
.drop-secondary {
  width: 100%;
  justify-content: center;
}

@media (min-width: 681px) {
.drop-primary,
  .drop-secondary {
    width: auto;
  }
}
/* 2026-07-03 guide rebrand prototype (where-to-put-wedding-photo-qr-code-signs) */

.guide-hero-copy .eyebrow {
  color: var(--candle);
}
.guide-end-cta .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.guide-end-cta .header-action {
  width: 100%;
}

@media (min-width: 681px) {
.guide-end-cta .header-action {
    width: auto;
  }
}
.guide-mid-cta .drop-primary {
  border: 0;
  background: linear-gradient(180deg, #f5c765, #E9BA52);
  color: #10140d;
  box-shadow: none;
}
/* 2026-07-03 free sign rebrand: paper system, single rule, plain QR frame */

.create-studio .paper-sign::before,
.create-studio .corner,
.create-studio .leaf {
  display: none;
  content: none;
}
html[lang^="es"] .create-studio .paper-sign h3 {
  max-width: 14ch;
  font-size: calc(34px * var(--sign-title-scale, 1));
}
/* ============================================================
   2026-07-03 opus1 root desktop: one content rail, one grid.
   Every section's CONTENT sits on the same rails. Full-bleed
   night/paper bands are fine; the content inside them is railed
   to --rail-max, centered, with a single shared gutter.
   ============================================================ */

:root {
  --rail-max: 1200px;
  --rail-gutter: clamp(20px, 4vw, 46px);
}

@media (min-width: 1600px) {
:root {
    --rail-max: 1280px;
  }
}
/* main is a passthrough; the rail lives on each section's inner. */
main {
  max-width: none;
}
/* ---------- HERO ---------- */

/* Living-drop panel: a genuine visual counterweight, centered
   against the copy column, sized by content not empty space. */

/* ---------- THREE STEPS ---------- */
.night-steps {
  padding-block: clamp(48px, 5vw, 72px);
  padding-inline: var(--rail-gutter);
}
.night-steps .night-section-head,
.night-steps .night-step-grid {
  width: 100%;
  max-width: none;
  margin: 0;
}
.night-steps .night-section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}
/* One connected row on the rails: shared hairline top border, a
   divider between steps, larger step presence, compact height. */
.night-steps .night-step-grid {
  gap: 0;
  border-top: 1px solid rgba(233, 186, 82, 0.28);
}
.night-steps .night-step-grid article {
  border: 0;
  border-radius: 0;
  padding: clamp(24px, 2.4vw, 32px) clamp(20px, 2vw, 30px);
}
.night-steps .night-step-grid article + article {
  border-left: 1px solid rgba(126, 154, 140, 0.24);
}
.night-steps .night-step-grid span {
  width: 34px;
  height: 34px;
  font-size: 15px;
}
.night-steps .night-step-grid h3 {
  margin: 14px 0 6px;
  font-size: 20px;
}
.night-steps .night-step-grid p {
  font-size: 15px;
}

.night-steps .night-step-grid {
  grid-template-columns: 1fr;
  border-top: 0;
}
.night-steps .night-step-grid article {
  border-top: 1px solid rgba(126, 154, 140, 0.24);
  padding-inline: 0;
}
.night-steps .night-step-grid article + article {
  border-left: 0;
}

@media (min-width: 761px) {
.night-steps .night-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(233, 186, 82, 0.28);
  }
.night-steps .night-step-grid article {
    border-top: 0;
    padding-inline: clamp(20px, 2vw, 30px);
  }
.night-steps .night-step-grid article + article {
    border-left: 1px solid rgba(126, 154, 140, 0.24);
  }
}
/* ---------- MOBILE RAIL GUARD (phone base) ---------- */
/* Approved mobile layouts must not regress: no horizontal
   overflow at 390. Narrow the shared rail gutter on phones;
   the wider gutter returns above the phone tier. */
:root {
  --rail-gutter: 16px;
}
.night-steps {
  padding-block: 40px;
}

@media (min-width: 681px) {
:root {
    --rail-gutter: clamp(20px, 4vw, 46px);
  }
.night-steps {
    padding-block: clamp(48px, 5vw, 72px);
  }
}
/* ============================================================
   2026-07-03 opus1 guide editorial: one centered measure.
   The guide body is a single centered ~68ch measure; every
   element (answer box, rules, tables, quotes, map image, faq)
   aligns to the SAME column edges. Hairline frames, no nested
   boxes, no floating labels, no CSS-drawn artifacts. Appended
   last so it cleanly supersedes the older .guide-* answer/map/
   related rules above without editing them in place.
   ============================================================ */

:root {
  --guide-hairline: rgba(201, 189, 174, 0.62);
  --guide-hairline-strong: rgba(194, 135, 45, 0.5);
}
/* ---------- SHORT-ANSWER LEAD-IN (hairline-framed box) ----------
   A designed lead-in at the top of the measure, not a floating
   label. Boxed in a single hairline frame, aligned to the body
   measure edges. */
/* Match .guide-body's measure exactly so the answer box frame sits
   on the same left/right column edges as every rule, table, and
   heading below it. The body measure is 68ch at 18px; mirror that
   font context and the same inline padding here. */

/* When the answer box leads the body, the body's own top padding
   would double the gap; trim it. */

/* ---------- RECEPTION LAYOUT IMAGE (real illustration) ----------
   Constrained to the measure, hairline-framed, aspect reserved by
   the img width/height attributes. Replaces the old CSS-box grid. */

/* ---------- RELATED GUIDES (de-nested) ----------
   Eyebrow + heading sit directly on the paper. Hairline cards in
   a 2-col grid. No outer frame. Slightly wider than the body
   measure so the cards breathe (~880px), centered. */

.guide-related .eyebrow {
  color: var(--gold);
}
/* ============================================================
   GUIDE ARTICLE BODY — the reading surface (all 12 guides,
   EN + ES, via the generators' emitted .guide-* classes).
   Desktop body 19px / 1.7, paragraph rhythm ~1.42em, measure
   ~66ch. Keeps 18px below 900px. Headings get real top space and
   modest bottom. Lists / quotes / captions / faq / answer box all
   inherit the same comfort. Hairline rules get clearance.
   ============================================================ */

/* Paragraph rhythm: ~1.42em of the 19px body = ~27px between
   paragraphs (was a flat 18px = 1em, which read cramped). */

/* Scale coherence: 40px H2 next to 19px body was jumpy. Bring the
   display H2 to a calmer 30-36px and give it generous top space
   (~1.9em of its own size) with a modest bottom (~0.5em), so the
   heading clearly belongs to the section it opens without jamming
   the paragraph above or the copy below. */

/* Lists inherit body comfort: 19px, 1.6 line-height, breathing
   space between items and a paragraph-sized gap after the list. */

/* Placement / spec rows: text must clear the hairlines above and
   below it (owner's repeated annotation — text never touches a
   rule). Row padding gives ~18px clearance each side. */

/* Quote rows: breathing padding so the pull-quote sits off both
   hairlines; slightly more leading for the larger display face. */

/* FAQ answers: comfortable 1.65 leading, real clearance from the
   summary above and the hairline below. */

/* Reception-layout figure caption: >=0.8em space from the image
   above so the caption never crowds the illustration. */

/* Short-answer lead-in box: line-height >=1.6 for the answer text
   and a touch more internal breathing room, so the boxed lead-in
   reads as comfortably as the body it introduces. */

/* Below the comfortable-desktop threshold, hold body at 18px
   (already comfortable per the audit) and tighten the H2 top
   space a little so short mobile sections don't feel gappy. */

/* photodrop brand lockup (mark J "la camara-buzon") — site-wide system, 2026-07-04.
   Mono wordmark rule: word stays one color; the glyph is the only gold hero. */
.brand-photodrop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-photodrop .pd-glyph {
  display: block;
  width: 30px;
  height: 30px;
  color: #0a1812;
  flex: none;
}
.brand-photodrop .pd-stack {
  display: flex;
  flex-direction: column;
}
.brand-photodrop .pd-word {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #0a1812;
}
.brand-photodrop .pd-by {
  margin-top: 3px;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8374;
}
.brand-photodrop .pd-by b {
  color: #c99732;
  font-weight: 600;
}
.night-surface .brand-photodrop .pd-glyph,
.night-header .brand-photodrop .pd-glyph {
  color: #E9BA52;
}
.night-surface .brand-photodrop .pd-word,
.night-header .brand-photodrop .pd-word {
  color: #F7F3EA;
}
.night-surface .brand-photodrop .pd-by,
.night-header .brand-photodrop .pd-by {
  color: #7E9A8C;
}
.night-surface .brand-photodrop .pd-by b,
.night-header .brand-photodrop .pd-by b {
  color: #E9BA52;
}
.night-surface .brand-photodrop:hover .pd-by,
.night-header .brand-photodrop:hover .pd-by {
  color: #A9C2B5;
}
.brand-photodrop--mini {
  gap: 8px;
}
.brand-photodrop--mini .pd-glyph {
  width: 22px;
  height: 22px;
}
.brand-photodrop--mini .pd-word {
  font-size: 15px;
}

@media (min-width: 1200px) {
.drop-site-header .brand-photodrop .pd-glyph {
    width: 38px;
    height: 38px;
  }
.drop-site-header .brand-photodrop .pd-word {
    font-size: 23px;
  }
.drop-site-header .brand-photodrop .pd-by {
    margin-top: 4px;
    font-size: 9.5px;
  }
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

/* Three bands (<=640 / 641-1100 / >=1101). The tablet tier stays in place
   as a base and the chain is re-emitted ascending after the phone tier. */
.tier-grid {
  grid-template-columns: repeat(2, 1fr);
}
.tier-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 641px) {
.tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1101px) {
.tier-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.tier-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(247, 243, 234, 0.14);
  border-radius: 20px;
  background: rgba(16, 37, 27, 0.55);
  padding: 30px 26px 26px;
}
.tier-featured {
  border-color: rgba(233, 186, 82, 0.55);
  background: linear-gradient(180deg, rgba(233, 186, 82, 0.08), rgba(16, 37, 27, 0.62));
}
.tier-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.tier-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.tier-price {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier-price span {
  position: relative;
  top: -12px;
  margin-right: 1px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(247, 243, 234, 0.72);
}
.tier-featured .tier-price {
  color: var(--candle);
}
.tier-promise {
  margin: 12px 0 18px;
  font-size: 15.5px;
  color: rgba(247, 243, 234, 0.78);
}
.tier-card ul {
  flex: 1;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.tier-card li {
  padding: 11px 0;
  border-top: 1px solid rgba(247, 243, 234, 0.12);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.92);
}
.tier-cta {
  display: flex;
  justify-content: center;
  text-align: center;
}
.tier-honesty {
  max-width: 760px;
  margin: 46px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(247, 243, 234, 0.66);
}

/* 1) mobile header: lockup and CTA share one aligned row,
      language switch sits quietly underneath.
   Every .root-unified-header / .drop-site-header in the codebase also
   carries .site-header, and this group has the SAME specificity as the
   .site-header rules above, so its restores must mirror .site-header's
   own three-band chain for grid-template-columns / align-items / gap
   rather than a single desktop value. `display: grid` and the phone
   `align-items: center` already match .site-header's base, so display
   needs no restore. The .header-action metrics likewise track the
   .site-header .header-action tier (34px band, then the 48px base). */
.root-unified-header,
.drop-site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 10px;
}
.root-unified-header .header-actions,
.drop-site-header .header-actions {
  display: contents;
}
.root-unified-header .brand-photodrop,
.drop-site-header .brand-photodrop {
  grid-row: 1;
  grid-column: 1;
}
.root-unified-header .header-action,
.drop-site-header .header-action {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}
.root-unified-header .language-switch,
.drop-site-header .language-switch {
  grid-row: 2;
  grid-column: 1 / -1;
  justify-self: start;
}
.root-unified-header .brand-photodrop .pd-glyph,
.drop-site-header .brand-photodrop .pd-glyph {
  width: 27px;
  height: 27px;
}
.root-unified-header .brand-photodrop .pd-word,
.drop-site-header .brand-photodrop .pd-word {
  font-size: 17.5px;
}
/* sign preview on phone: type scales with the smaller card so the
   8x10 proportion holds instead of stretching tall */
html[lang^="es"] .create-studio .paper-sign h3 {
  font-size: calc(23px * var(--sign-title-scale, 1));
}

@media (min-width: 641px) {
.root-unified-header,
  .drop-site-header {
    grid-template-columns: 1fr;
    align-items: start;
  }
.root-unified-header .header-actions,
  .drop-site-header .header-actions {
    display: inline-flex;
  }
.root-unified-header .brand-photodrop,
  .drop-site-header .brand-photodrop {
    grid-row: auto;
    grid-column: auto;
  }
.root-unified-header .header-action,
  .drop-site-header .header-action {
    grid-row: auto;
    grid-column: auto;
    justify-self: auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
/* .night-header .header-action sits at the SAME specificity further up
   the sheet and owned these two in the 641-680 band, so it is re-emitted
   here in its original relative order — restoring only the header-scoped
   rule silently promoted the phone metrics over the night CTA. */
.night-header .header-action {
    min-height: 48px;
    padding: 0 24px;
  }
.root-unified-header .language-switch,
  .drop-site-header .language-switch {
    grid-row: auto;
    grid-column: auto;
    justify-self: auto;
  }
.root-unified-header .brand-photodrop .pd-glyph,
  .drop-site-header .brand-photodrop .pd-glyph {
    width: 30px;
    height: 30px;
  }
/* The mini lockup (guest + album headers) must be restored too, at the
   SAME specificity and in the same relative order as the general rule:
   above the phone tier its own (0,2,0) rule is what used to win, and a
   general-only restore silently promoted the 30px lockup over it. */
.root-unified-header .brand-photodrop--mini .pd-glyph,
  .drop-site-header .brand-photodrop--mini .pd-glyph {
    width: 22px;
    height: 22px;
  }
.root-unified-header .brand-photodrop .pd-word,
  .drop-site-header .brand-photodrop .pd-word {
    font-size: 19px;
  }
.root-unified-header .brand-photodrop--mini .pd-word,
  .drop-site-header .brand-photodrop--mini .pd-word {
    font-size: 15px;
  }
html[lang^="es"] .create-studio .paper-sign h3 {
    font-size: calc(34px * var(--sign-title-scale, 1));
  }
}

@media (min-width: 681px) {
.root-unified-header,
  .drop-site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 12px;
  }
.root-unified-header .header-action,
  .drop-site-header .header-action {
    min-height: 48px;
    padding: 0 24px;
    font-size: 15px;
  }
}

@media (min-width: 941px) {
.root-unified-header,
  .drop-site-header {
    grid-template-columns: auto 1fr auto;
    row-gap: 32px;
  }
}

/* The 1200 lockup tier sits ABOVE this block in source order, so its
   values have to be re-emitted here or the 641 restore would out-order
   them at desktop widths. */
@media (min-width: 1200px) {
.drop-site-header .brand-photodrop .pd-glyph {
    width: 38px;
    height: 38px;
  }
.drop-site-header .brand-photodrop .pd-word {
    font-size: 23px;
  }
}
/* ============================================================
   The living night homepage — Claude Design 1a translation
   2026-07-05 · hero live wall, countdown band, stillness section
   ============================================================ */

@keyframes pd-wall-arrive {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    box-shadow: 0 0 0 0 rgba(233, 186, 82, 0);
  }
  30% {
    opacity: 1;
    transform: none;
    box-shadow:
      0 0 0 2px rgba(233, 186, 82, 0.85),
      0 0 28px rgba(233, 186, 82, 0.45);
  }
  100% {
    opacity: 1;
    transform: none;
    box-shadow: 0 0 0 0 rgba(233, 186, 82, 0);
  }
}
@keyframes pd-fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pd-pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes pd-held-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(233, 186, 82, 0);
  }
  35% {
    transform: scale(1.04);
    box-shadow:
      0 0 0 1.5px rgba(233, 186, 82, 0.7),
      0 0 22px rgba(233, 186, 82, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(233, 186, 82, 0);
  }
}
/* The stillness story: visible first (the photo is the point), a
   deliberate fade to nothing, one short beat of absence, then the
   return. Runs only once the section is on screen (.is-live via
   app.js) so no visitor ever arrives to an empty frame. */
@keyframes pd-still-story {
  0% {
    opacity: 0.92;
  }
  32% {
    opacity: 0.92;
  }
  55% {
    opacity: 0;
  }
  68% {
    opacity: 0;
  }
  92% {
    opacity: 0.92;
  }
  100% {
    opacity: 0.92;
  }
}
.held-tile.is-pulse {
  animation: pd-held-pulse 0.9s ease both;
}
.still-band.is-live .still-photo {
  animation: pd-still-story 7s ease-in-out infinite;
}
/* ============================================================
   2026-07-12 audit: the homepage generator is a host surface and
   gets the same 48px senior target floor as the product pages.
   ============================================================ */

.create-studio input[type="checkbox"] {
  width: 22px;
  height: 22px;
}
.create-studio label:has(> input[type="checkbox"]) {
  min-height: 48px;
  align-items: center;
}
.showcase-chip.is-selected {
  background: #0f3d38;
  border-color: #0f3d38;
  color: #fdfbf5;
}
/* Pricing simplification (2026-07-12): one clear paid choice, with the
   year-long tier as a quiet extension band instead of a rival column. */
.tier-grid.tier-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: auto;
}
.tier-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 880px;
  margin: 26px auto 0;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(233, 186, 82, 0.35);
  background: rgba(233, 186, 82, 0.07);
}
.tier-year h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: #e9ba52;
}
.tier-year p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.85);
}
.tier-year > a {
  flex: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.tier-grid.tier-duo {
  grid-template-columns: 1fr;
}
.tier-year {
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 761px) {
.tier-grid.tier-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.tier-year {
    flex-direction: row;
    align-items: center;
  }
}
/* The count band's open tiles land fresh photos (same pool as the
   hero wall); the class retriggers a soft landing fade. */
.held-grid img.is-landing {
  animation: heldLand 720ms ease;
}
@keyframes heldLand {
  0% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: none; }
}
/* ============================================================
   hero-facts wrap + page overflow clamp — 2026-07-20 (Mario's
   iPhone report: the chip strip clipped and panned the whole
   page). Chips now wrap into rows on the phone — everything
   readable, nothing scrolls. The html/body clip is the standing
   guarantee that no element ever pans the document sideways;
   inner overflow-x:auto containers are unaffected by it.
   ============================================================ */

html,
body {
  overflow-x: clip;
}
