:root {
  --paper: #f4f3eb;
  --paper-deep: #ebece2;
  --ink: #52675c;
  --ink-deep: #3e5549;
  --sage: #80958a;
  --sage-pale: #e2e8df;
  --muted: #787c72;
  --gold: #d4b478;
  --terracotta: #c88770;
  --line: #d9d2bd;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255,255,255,.48), transparent 57%),
    linear-gradient(rgba(244,243,235,.48), rgba(244,243,235,.48)),
    url("paper-texture.jpg") center / cover;
  background-color: var(--paper);
  background-blend-mode: screen, normal, multiply;
}
.hero-glow {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(212,180,120,.34);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  padding: 1rem 0;
  text-align: center;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .25em;
}
.monogram-print {
  position: relative;
  width: clamp(185px, 25vw, 270px);
  margin: .3rem auto .5rem;
}
.monogram-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.invitation-line, .invite-copy {
  color: #74786e;
  font-family: var(--serif);
  font-style: italic;
}
.invitation-line { margin: .15rem 0 .2rem; font-size: 18px; }
.names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .19em;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7.2vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.names em {
  color: var(--terracotta);
  font-size: .48em;
  font-weight: 400;
  letter-spacing: 0;
}
.invite-copy { margin: .75rem 0 1.1rem; font-size: 17px; line-height: 1.5; }
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: .6rem auto 1.1rem;
  color: var(--terracotta);
}
.flourish span { width: 39px; height: 1px; background: var(--gold); }
.flourish i { font-size: 13px; font-style: normal; }
.date-lockup { display: flex; align-items: center; justify-content: center; gap: 18px; }
.date-lockup > div { display: grid; gap: 5px; }
.date-lockup strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: .1em;
}
.date-lockup strong i { padding: 0 4px; color: var(--terracotta); font-size: .7em; font-style: normal; }
.date-day { color: var(--sage); font-size: 8px; letter-spacing: .25em; }
.date-rule { width: 1px; height: 39px; background: var(--gold); }
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 1.35rem;
  color: var(--sage);
  font-size: 8px;
  letter-spacing: .22em;
  text-decoration: none;
}
.scroll-cue b { color: var(--terracotta); font-size: 17px; font-weight: 400; animation: bob 1.8s ease-in-out infinite; }
.opening-scroll {
  position: relative;
  height: 220svh;
  background: var(--paper);
}
.opening-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.opening-sticky .hero {
  width: 100%;
  height: 100%;
  min-height: 100%;
  opacity: var(--hero-opacity, 0);
  transform: translateY(var(--hero-y, 16px)) scale(var(--hero-scale, .975));
  transition: none;
}
.opening-cover {
  --cover-opacity: 1;
  position: absolute;
  z-index: 6;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  opacity: var(--cover-opacity);
  background: var(--paper);
  pointer-events: none;
  will-change: opacity;
}
.envelope-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.envelope-frame {
  opacity: 0;
  transform: scale(1.018);
}
.envelope-frame.frame-active { will-change: opacity, transform; }
.envelope-cover-copy, .envelope-card-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  text-align: center;
}
.envelope-cover-copy {
  top: 28%;
  gap: 8px;
  color: #52675c;
  opacity: var(--cover-copy-opacity, 1);
  text-shadow: 0 1px 4px rgba(247,246,238,.8);
  white-space: nowrap;
}
.envelope-cover-copy span, .envelope-cover-copy small {
  font-size: 8px;
  letter-spacing: .24em;
}
.envelope-cover-copy strong {
  font: 500 clamp(20px, 2.8vw, 30px)/1.1 var(--serif);
  letter-spacing: .08em;
}
.envelope-cover-copy i { color: var(--terracotta); font-weight: 400; }
.envelope-card-copy {
  top: 42%;
  width: min(72vw, 680px);
  gap: 7px;
  opacity: var(--card-copy-opacity, 0);
  pointer-events: none;
  text-shadow: 0 1px rgba(255,255,255,.42);
  transform: translate(-50%, -50%) rotate(-3deg);
}
.card-prelude, .card-date {
  color: #718176;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .22em;
}
.card-prelude { margin-bottom: 2px; }
.card-names {
  color: var(--ink);
  font: 500 clamp(28px, 3.3vw, 42px)/1 var(--serif);
  letter-spacing: -.02em;
}
.card-names i {
  color: var(--terracotta);
  font-size: .68em;
  font-weight: 400;
  font-style: italic;
}
.card-message {
  margin: 0;
  color: #74786e;
  font: italic clamp(13px, 1.45vw, 17px)/1.35 var(--serif);
}
.card-date {
  margin-top: 5px;
  color: #899084;
  font-size: 7px;
}
.envelope-card-copy img {
  display: block;
  width: clamp(145px, 17vw, 210px);
  height: auto;
  mix-blend-mode: multiply;
  opacity: .88;
  filter: saturate(.82);
}
.cover-prompt {
  position: absolute;
  z-index: 3;
  bottom: 5%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 8px;
  letter-spacing: .22em;
  opacity: var(--prompt-opacity, 1);
  transform: translateX(-50%);
  white-space: nowrap;
}
.cover-prompt .prompt-mobile { display: none; }
.cover-prompt .prompt-arrow { color: var(--terracotta); font-size: 17px; animation: bob 1.8s ease-in-out infinite; }

.rsvp-section {
  position: relative;
  overflow: hidden;
  padding: 7.2rem 1.5rem 6.5rem;
  background:
    linear-gradient(rgba(235,236,226,.88), rgba(235,236,226,.9)),
    url("paper-texture.jpg") center / cover;
  background-color: var(--paper-deep);
}
.section-inner { position: relative; z-index: 1; max-width: 680px; margin: auto; text-align: center; }
.section-inner > .eyebrow { margin-bottom: .8rem; }
.section-inner h2 {
  margin: 0;
  color: var(--ink);
  font: 500 clamp(2.9rem, 7vw, 4.5rem)/1.05 var(--serif);
  letter-spacing: -.035em;
}
.section-intro { margin: 1rem 0 2.3rem; color: var(--muted); font: italic 17px/1.55 var(--serif); }
.rsvp-card {
  position: relative;
  max-width: 570px;
  margin: auto;
  border: 1px solid rgba(212,180,120,.57);
  background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(248,247,240,.96));
  padding: clamp(1.5rem, 6vw, 3.2rem);
  box-shadow: 0 22px 60px rgba(62,85,73,.08), inset 0 1px rgba(255,255,255,.8);
  text-align: left;
}
.rsvp-card:before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212,180,120,.22);
  content: '';
  pointer-events: none;
}
.step-indicator { display: flex; align-items: center; justify-content: center; width: 90px; margin: 0 auto 2.3rem; }
.step-pane { min-width: 0; margin: 0; border: 0; padding: 0; }
.step-dot { width: 8px; height: 8px; border: 1px solid #b7b6a5; border-radius: 50%; transition: .35s; }
.step-dot.active { border-color: var(--sage); background: var(--sage); box-shadow: 0 0 0 4px rgba(128,149,138,.15); }
.step-line { width: 48px; height: 1px; background: #d1cbb8; }
.step-pane legend { margin: 0 auto 7px; color: var(--ink); font: 500 29px/1.2 var(--serif); text-align: center; }
.field-hint { margin: 0 0 1.8rem; color: var(--muted); font-size: 12px; text-align: center; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-card {
  position: relative;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  color: #686f65;
  cursor: pointer;
  transition: border .25s, background .25s, transform .25s;
}
.choice-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.choice-card:has(input:checked) { border-color: var(--sage); background: var(--sage-pale); color: var(--ink-deep); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.choice-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice-icon { color: var(--terracotta); font-size: 19px; }
.choice-card span:last-child { font-family: var(--serif); font-size: 16px; }
.button { border: 0; cursor: pointer; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .18em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .back-button:focus-visible, .link-row button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.button-dark { width: 100%; margin-top: 18px; padding: 17px 20px; background: var(--ink-deep); color: #fffdf7; }
.button-dark:hover { background: #354b40; }
.button-dark span { float: right; font-size: 15px; line-height: 10px; }
.form-error { min-height: 16px; margin: 10px 0 0; color: #a95745; font-size: 11px; text-align: center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; text-align: left; }
.field > span { color: #6f776d; font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.field small { margin-left: 5px; color: #a9a18e; font-size: 7px; letter-spacing: .1em; }
.field input, .field textarea {
  border: 0;
  border-bottom: 1px solid #c8c9b8;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink-deep);
  font: 13px var(--sans);
  padding: 10px 0;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--sage); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 rgba(128,149,138,.2); }
.field input::placeholder, .field textarea::placeholder { color: #a2a496; font: italic 14px var(--serif); }
.plus-one-block { margin: 9px 0 19px; border: 1px solid #d8d9c9; background: #eef0e7; padding: 17px; }
.plus-one-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.mini-sparkle { color: var(--terracotta); font-size: 21px; }
.plus-one-heading strong, .plus-one-heading small { display: block; }
.plus-one-heading strong { color: var(--ink); font: 500 16px var(--serif); }
.plus-one-heading small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.switch-label { display: flex; align-items: center; gap: 10px; color: #606e63; cursor: pointer; font-size: 12px; }
.switch-label input { position: absolute; opacity: 0; }
.switch { position: relative; width: 31px; height: 17px; border-radius: 20px; background: #c8cbbb; transition: .2s; }
.switch:after { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: white; content: ''; transition: .2s; }
.switch-label input:checked + .switch { background: var(--sage); }
.switch-label input:checked + .switch:after { transform: translateX(14px); }
.switch-label input:focus-visible + .switch { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.plus-one-fields { margin-top: 17px; }
.note-field { margin-top: 20px; }
.back-button { display: block; margin: 17px auto 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 8px; letter-spacing: .18em; padding: 8px; }
.result-pane { padding: 1.7rem 0; text-align: center; }
.result-icon { color: var(--terracotta); font-size: 40px; }
.result-pane .eyebrow { margin-top: 16px; }
.result-pane h3 { margin: 0 0 12px; color: var(--ink); font: 500 33px/1.1 var(--serif); }
.result-pane > p:not(.eyebrow) { max-width: 350px; margin: 0 auto; color: var(--muted); font: italic 16px/1.55 var(--serif); }
.text-button { margin-top: 22px; border: 0; background: none; color: var(--ink-deep); cursor: pointer; font-size: 10px; letter-spacing: .12em; text-decoration: underline; text-underline-offset: 4px; }
.privacy-note { margin-top: 25px; color: #858b7f; font: italic 16px var(--serif); }
.footer { display: flex; align-items: center; justify-content: center; gap: 17px; padding: 27px 20px; color: #858b7f; font-size: 8px; letter-spacing: .2em; }
.footer i { color: var(--terracotta); font-style: normal; }

.host-tools { max-width: 620px; margin: 0 auto 5rem; padding: 0 1.5rem; color: var(--muted); }
.host-back-link { display: inline-block; margin-bottom: 1.6rem; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-decoration: none; }
.host-back-link:hover { color: var(--ink-deep); text-decoration: underline; text-underline-offset: 4px; }
.host-tools summary { color: #858b7f; cursor: pointer; font-size: 9px; letter-spacing: .15em; list-style: none; text-align: center; }
.host-tools summary::-webkit-details-marker { display: none; }
.host-tools summary:after { content: ' +'; }
.host-tools[open] summary:after { content: ' −'; }
.host-panel { margin-top: 15px; border: 1px solid var(--line); background: var(--paper); padding: clamp(18px, 4vw, 28px); box-shadow: 0 14px 36px rgba(62,85,73,.045); }
html.manager-mode main > :not(.host-tools) { display: none !important; }
html.manager-mode .host-tools { display: block; max-width: 720px; min-height: 100svh; margin: 0 auto; padding: clamp(32px, 8vh, 80px) 1.25rem; }
html.manager-mode .host-tools summary { display: none; }
html.manager-mode .host-panel { margin-top: 0; }
.host-panel h2 { margin: 0 0 8px; color: var(--ink); font: 500 26px var(--serif); }
.host-panel > p { font-size: 12px; line-height: 1.6; }
.host-panel .button { margin-top: 0; }
.link-type-choice { min-width: 0; margin: 18px 0 0; border: 0; padding: 0; }
.link-type-choice legend { margin: 0 0 10px; color: #6f776d; font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.host-step-number { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; margin-right: 7px; border: 1px solid rgba(185,120,96,.4); border-radius: 50%; color: var(--terracotta); font: 500 9px var(--sans); letter-spacing: 0; vertical-align: middle; }
.link-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-type-options .link-choice {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #c9cbbd;
  text-align: left;
  letter-spacing: 0;
}
.link-type-options .link-choice:hover { transform: translateY(-2px); border-color: var(--sage); background: var(--sage-pale); color: var(--ink-deep); }
.link-type-options .link-choice.button-dark { border-color: var(--ink-deep); background: var(--ink-deep); color: #fffdf7; }
.link-type-options .link-choice.button-dark:hover { border-color: #354b40; background: #354b40; }
.link-type-options .link-choice:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.link-type-options .link-choice-copy { display: block; min-width: 0; float: none; font-size: 13px; line-height: 1.35; }
.link-type-options .link-choice-copy strong, .link-type-options .link-choice-copy small { display: block; }
.link-type-options .link-choice-copy strong { font: 500 17px/1.1 var(--serif); letter-spacing: 0; }
.link-type-options .link-choice-copy small { margin-top: 6px; color: #777e72; font: 10px/1.4 var(--sans); letter-spacing: 0; }
.link-type-options .link-choice.button-dark .link-choice-copy small { color: rgba(255,253,247,.78); }
.link-type-options .link-choice i { flex: 0 0 auto; font-size: 16px; font-style: normal; }
.host-status { min-height: 18px; margin: 14px 0 0; color: var(--ink-deep); font-size: 11px !important; }
.link-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 0 0 8px; color: var(--ink); font: 500 17px var(--serif); }
.link-list-heading span { color: #858b7f; font: 9px var(--sans); letter-spacing: .08em; }
.generated-links { margin-top: 8px; }
.link-empty-state { margin: 0; border-top: 1px solid var(--line); padding: 12px 0 4px; color: #858b7f; font: italic 14px/1.5 var(--serif); }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 13px 0; }
.link-row-info { min-width: 0; }
.link-row-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.link-row-heading strong { color: var(--ink); font: 500 16px var(--serif); }
.link-type-badge { border: 1px solid #d3cdbc; padding: 3px 6px; color: #676f64; font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.link-type-badge.has-plus-one { border-color: rgba(185,120,96,.45); color: #9d5947; }
.link-url { display: block; overflow-wrap: anywhere; margin-top: 5px; color: #858b7f; font: 9px/1.4 var(--sans); }
.link-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.link-row button { min-height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink-deep); cursor: pointer; font: 600 9px var(--sans); padding: 0 11px; }
.link-row button:hover { border-color: var(--sage); background: var(--sage-pale); }
.link-row .link-copy { border-color: var(--ink-deep); background: var(--ink-deep); color: #fffdf7; }
.link-row .link-copy:hover { background: #354b40; }
.link-row .link-share { border-color: #c9cbbd; }
.link-row .link-remove { border-color: transparent; padding: 0 5px; color: #858b7f; text-decoration: underline; text-underline-offset: 3px; }
.host-footnote { margin: 17px 0 0; color: #8d9286; font-size: 10px !important; }
.export-button { display: block; margin-right: auto; margin-left: auto; }

.has-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--delay, 0s), transform .75s cubic-bezier(.2,.7,.2,1) var(--delay, 0s); }
.has-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.step-enter { animation: step-enter .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes step-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 50% { transform: translateY(5px); } }
[hidden] { display: none !important; }

@media (max-width: 600px) {
  /* Give each frame room to follow a deliberate swipe instead of one short flick. */
  .opening-scroll { height: 500svh; }
  .opening-sticky {
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .opening-cover {
    background-image: url("envelope-closed.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .envelope-frame {
    transform: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .envelope-frame.frame-active,
  .envelope-frame.frame-prewarm { will-change: opacity; }
  .hero { min-height: 100svh; padding: 2rem 1rem 1.8rem; }
  .hero-content { padding: .25rem 0; }
  .hero-glow { inset: 8px; }
  .eyebrow { margin-bottom: .65rem; font-size: 8px; }
  .monogram-print { width: min(54vw, 205px); margin: .05rem auto .2rem; }
  .invitation-line { font-size: 15px; }
  .names { gap: .16em; font-size: clamp(2.3rem, 12vw, 3.8rem); }
  .invite-copy { margin: .45rem 0 .65rem; font-size: 15px; line-height: 1.35; }
  .flourish { margin: .3rem auto .65rem; }
  .date-lockup { gap: 13px; }
  .date-lockup strong { font-size: 20px; }
  .date-day { font-size: 7px; }
  .scroll-cue { gap: 5px; margin-top: .7rem; }
  .cover-prompt { bottom: 6%; color: #43574d; font-size: 8px; font-weight: 600; letter-spacing: .18em; text-shadow: 0 1px 4px rgba(244,243,235,.85); }
  .cover-prompt .prompt-desktop { display: none; }
  .cover-prompt .prompt-mobile { display: inline; }
  .envelope-cover-copy { top: 28%; gap: 7px; }
  .envelope-cover-copy span, .envelope-cover-copy small { font-size: 7px; }
  .envelope-cover-copy strong { font-size: clamp(17px, 5vw, 23px); }
  .envelope-card-copy { top: 39%; width: 82vw; gap: 5px; }
  .envelope-card-copy img { width: clamp(110px, 32vw, 145px); }
  .card-prelude { font-size: 7px; letter-spacing: .16em; }
  .card-names { font-size: clamp(22px, 6.5vw, 30px); }
  .card-message { font-size: 13px; }
  .card-date { font-size: 7px; letter-spacing: .13em; }
  .rsvp-section { padding: 4.8rem .9rem; }
  .section-intro { margin-bottom: 1.8rem; font-size: 16px; }
  .rsvp-card { padding: 1.4rem 1rem; }
  .step-indicator { margin-bottom: 1.8rem; }
  .step-pane legend { font-size: 25px; }
  .choice-grid { gap: 8px; }
  .choice-card { min-height: 96px; padding: 8px; }
  .choice-card span:last-child { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .host-panel { padding: 18px; }
  .link-row { grid-template-columns: 1fr; gap: 9px; }
  .link-row-actions { justify-content: flex-start; }
  .link-row .link-copy { min-width: 105px; }
  .footer { gap: 10px; font-size: 7px; }
}
@media (max-width: 380px) {
  .hero { padding-right: .8rem; padding-left: .8rem; }
  .names { font-size: clamp(2.2rem, 11.5vw, 2.8rem); }
  .date-lockup { gap: 9px; }
  .date-lockup strong { font-size: 18px; letter-spacing: .08em; }
  .date-day { letter-spacing: .18em; }
  .envelope-card-copy { width: 84vw; }
  .envelope-card-copy img { width: clamp(104px, 33vw, 126px); }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 74px; flex-direction: row; }
  .link-type-options { grid-template-columns: 1fr; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .hero { padding-top: 1.2rem; padding-bottom: 1.1rem; }
  .hero-content { padding: 0; }
  .eyebrow { margin-bottom: .35rem; }
  .monogram-print { width: min(45vw, 150px); margin: 0 auto .15rem; }
  .invitation-line { font-size: 14px; }
  .names { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  .invite-copy { margin: .3rem 0 .45rem; font-size: 14px; }
  .flourish { margin: .2rem auto .45rem; }
  .date-lockup strong { font-size: 18px; }
  .scroll-cue { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .opening-scroll { height: auto; }
  .opening-sticky { position: relative; height: auto; min-height: 100svh; }
  .opening-sticky .hero { min-height: 100svh; opacity: 1 !important; transform: none !important; }
  .opening-cover { display: none; }
}
