:root {
  --paper: #fbf6f1;
  --ink: #493d38;
  --muted: #716763;
  --line: #eadfd6;
  --gold: #d7c4a8;
  --coral: #d96343;
  --jade: #168c87;
  --brown: #d96343;
  --card: rgba(255, 252, 249, 0.82);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Italianno", "Cormorant Garamond", cursive;
  --sans: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.scene {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
  background-color: #fbf6f1;
  background-image: url("../img/page-mobile.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.scene-move {
  position: absolute;
  inset: 0;
}
.cover {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  padding: 7vh 28px 22px;
  text-align: center;
  color: var(--ink);
  background: #fbf6f1 url("../img/cover-mobile.jpg") center / cover no-repeat;
}
.cover-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(640px, 100%);
}
.cover-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink);
}
.cover-kicker::before,
.cover-kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: #c4a574;
  flex: 0 0 auto;
}
.cover-names {
  margin: 0;
  color: var(--jade);
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(66px, 18vw, 84px);
  line-height: 1.3;
}
.cover-names span {
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
}
.cover-names em {
  display: block;
  margin: 0.02em 0;
  font-size: 0.72em;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}
.cover-date {
  margin: 22px 0 0;
  color: var(--coral);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.5;
  text-transform: uppercase;
  text-wrap: balance;
}
.cover-time,
.cover-venue,
.cover-address {
  margin: 0;
  color: var(--ink);
}
.cover-time {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}
.cover-venue {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  text-wrap: balance;
}
.cover-address {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.6;
}
.cover-scroll {
  flex: 0 0 auto;
  margin: 0;
  padding-bottom: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  text-decoration: none;
}
.cover-scroll span {
  display: inline-block;
  margin-left: 4px;
  animation: cover-bob 1.6s ease-in-out infinite;
}
@keyframes cover-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (min-width: 801px) {
  .scene {
    height: 100vh;
    background-image: url("../img/page-pc.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .cover-br { display: none; }
  .cover {
    padding: 8vh 48px 28px;
    background-image: url("../img/cover-pc.jpg");
  }
  .cover-inner { width: min(820px, 100%); }
  .cover-kicker { font-size: 16px; letter-spacing: 0.14em; }
  .cover-kicker::before,
  .cover-kicker::after { width: 64px; }
  .cover-names { font-size: clamp(96px, 8vw, 120px); line-height: 1.18; }
  .cover-date { margin-top: 32px; font-size: 22px; letter-spacing: 0.08em; }
  .cover-time { margin-top: 14px; font-size: 20px; }
  .cover-venue { margin-top: 20px; font-size: 24px; }
  .cover-address { font-size: 18px; }
  .cover-scroll { font-size: 20px; }
}
@media (max-height: 700px) {
  .cover { padding-top: 16px; }
  .cover-kicker { margin-bottom: 8px; }
  .cover-names { font-size: clamp(56px, 15vw, 72px); line-height: 1.24; }
  .cover-date { margin-top: 10px; }
  .cover-venue { margin-top: 8px; }
}
main, .footer { position: relative; z-index: 1; }

.wrap {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
}
.narrow { width: min(640px, calc(100% - 36px)); }
.section { padding: 64px 0; }
.section-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--coral);
}
.section-sub {
  margin: 12px 0 32px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  text-transform: none;
}

.hero { padding-top: 28px; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(180px, 340px) 1fr;
  gap: 18px 10px;
  align-items: center;
}
.portrait {
  justify-self: end;
  position: relative;
  width: 100%;
  margin: 0;
  overflow: visible;
}
.portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-copy { position: relative; text-align: center; padding-right: 28px; }
.hero-title {
  margin: 0;
  color: var(--jade);
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(36px, 9.6vw, 44px);
  line-height: 1.3;
  letter-spacing: 0;
}
.hero-title span {
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
}
.hero-title em {
  display: block;
  margin: 0.02em 0;
  font-style: normal;
  font-weight: 400;
  font-size: 0.72em;
  line-height: 1;
}
.kicker {
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--muted);
}
.journey {
  position: absolute;
  top: 18px;
  right: 0;
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--muted);
}
.tagline {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-transform: uppercase;
}
.invite-card {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(460px, 100%);
  margin-top: 8px;
  padding: 26px 28px 22px;
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(198, 179, 154, 0.7);
  box-shadow: 0 16px 40px rgba(92, 70, 54, 0.05);
}
.card-kicker {
  margin: 0;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--muted);
}
.guest-name {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(32px, 8vw, 42px);
  line-height: 1.3;
}
.invite-card p:last-child { margin: 0; color: var(--ink); line-height: 1.7; }

.family-grid, .event-grid, .gift-grid {
  display: grid;
  gap: 22px;
}
.family-grid { grid-template-columns: 1fr 1fr; }
.family-card {
  padding: 28px 18px 22px;
  text-align: center;
  background: rgba(255, 252, 249, 0.55);
  border: 1px solid var(--line);
}
.family-card h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--coral);
}
.family-card p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.45; }
.family-card .place {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--muted);
}

.event-when { display: contents; }
.event-grid {
  grid-template-columns: 0.8fr 1fr 1.25fr;
  align-items: center;
  padding: 10px 0 0;
}
.date-block { color: var(--coral); }
.date-block, .times, .venue { text-align: center; }
.date-block span, .times span, .venue .at {
  display: block;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--muted);
}
.date-block span { color: var(--coral); }
.date-block strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(88px, 12vw, 120px);
  font-weight: 600;
  line-height: 0.9;
  margin: 6px 0;
}
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.times strong, .venue strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.venue strong { font-size: 22px; letter-spacing: 0.02em; line-height: 1.35; text-transform: uppercase; text-wrap: balance; }
.venue p { margin: 10px 0 16px; color: var(--ink); font-size: 16px; line-height: 1.65; }

.letter-body {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.75;
}

.panel {
  padding: 28px 22px 24px;
  background: rgba(255, 252, 249, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(92, 70, 54, 0.05);
}
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 18px; }
.choice {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #eadfd3;
  border-radius: 3px;
  cursor: pointer;
}
.choice.choice-absent { flex: 1 1 100%; }
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice span { font-size: 16px; line-height: 1.45; }
.choice:has(input:checked) {
  border-color: var(--brown);
  box-shadow: inset 0 0 0 1px var(--brown);
  background: #fff;
}
.choice:has(input:checked) span::before {
  content: "✓ ";
}
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.field {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.5;
}
.input {
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #eadfd3;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
}
.input:focus { outline: 2px solid rgba(198, 179, 154, 0.8); border-color: var(--gold); }
.textarea { min-height: 110px; resize: vertical; }
.companion { display: none; }
.rsvp:has(#attendanceTogether:checked) .companion { display: block; }
.companion[hidden],
.meal-block[hidden],
.rsvp:has(#attendanceAbsent:checked) .meal-block { display: none !important; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.btn-solid {
  width: 100%;
  border: 0;
  background: var(--coral);
  color: #fff;
}
.btn-solid:hover { background: #c45438; }
.btn-solid:disabled { opacity: 0.7; cursor: wait; }
.btn-line {
  border: 1px solid var(--brown);
  background: transparent;
  color: var(--brown);
}
.btn-line:hover { background: rgba(217, 99, 67, 0.08); }
.form-status { min-height: 1.5em; margin: 12px 0 0; text-align: center; font-size: 16px; line-height: 1.5; }
.form-status.is-ok { color: #3f6b45; }
.form-status.is-err { color: #8a3d32; }

.gift-note {
  max-width: 520px;
  margin: -8px auto 26px;
  text-align: center;
  color: var(--ink);
}
.gift-grid {
  grid-template-columns: 180px 1fr;
  align-items: center;
  justify-content: center;
  width: min(560px, 100%);
  margin: 0 auto;
}
.qr-slot img { width: 160px; height: 160px; object-fit: contain; background: #fff; }
.qr-placeholder {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  border: 1px dashed var(--gold);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
}
.qr-placeholder span { letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; line-height: 1.4; }
.qr-placeholder small { font-size: 15px; line-height: 1.4; }
.bank-list { margin: 0; }
.bank-list div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bank-list dt { color: var(--muted); }
.bank-list dd { margin: 0; }
.account-number {
  display: flex;
  align-items: center;
  gap: 4px;
}
.copy-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.copy-account svg {
  width: 22px;
  height: 22px;
  display: block;
}
.copy-account.is-done { color: var(--jade); }

.clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(680px, 100%);
  margin: 8px auto 0;
  text-align: center;
}
.clock strong {
  display: block;
  font-family: var(--sans);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.clock span {
  display: block;
  margin-top: 6px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--muted);
}

.footer {
  padding: 10px 18px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}
.footer p { margin: 0; }
.footer-date { margin-top: 8px !important; color: var(--coral); }

.admin-body { background: var(--paper); }
.admin { width: min(980px, calc(100% - 32px)); margin: 40px auto 64px; }
.admin h1, .admin h2 { font-family: var(--serif); font-weight: 500; }
.admin .panel { margin-top: 18px; }
.admin .btn { width: auto; margin-top: 8px; }
.table-wrap { overflow-x: auto; }
.admin table { width: 100%; border-collapse: collapse; background: #fff; }
.admin th, .admin td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin th { font-size: 13px; letter-spacing: 0.04em; }

@media (max-width: 800px) {
  .cover-inner { transform: translateY(40px); }
  body { font-size: 16px; }
  .section { padding: 48px 0; }
  .hero { padding-top: 20px; }
  .section-title {
    font-size: 26px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }
  .section-sub {
    margin: 10px 0 28px;
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.7;
    text-transform: none;
  }
  .hero-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 12px 0; }
  .hero-copy { display: contents; }
  .portrait {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    width: 118%;
    margin-right: -42px;
    z-index: 1;
  }
  .kicker { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 0; font-size: 17px; letter-spacing: 0.04em; line-height: 1.45; transform: translateX(18px); }
  .hero-title { grid-column: 2; grid-row: 2; align-self: start; font-size: clamp(42px, 12vw, 52px); line-height: 1.28; transform: translateX(18px); }
  .card-kicker { font-size: 15px; letter-spacing: 0.06em; line-height: 1.6; }
  .journey,
  .tagline {
    grid-column: 1 / -1;
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 1.55;
    text-align: center;
  }
  .journey { position: static; writing-mode: horizontal-tb; margin: 18px 0 0; }
  .tagline { margin-top: 6px; }
  .invite-card { padding: 20px 16px 18px; }
  .invite-card p:last-child { font-size: 16px; line-height: 1.7; }
  .family-grid { grid-template-columns: 1fr; gap: 20px; }
  .family-card { padding: 18px 16px 16px; }
  .family-card h2 { font-size: 15px; letter-spacing: 0.08em; line-height: 1.4; margin-bottom: 8px; }
  .family-card p { font-size: 26px; line-height: 1.45; }
  .family-card .place { font-size: 16px; margin-top: 8px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .venue { grid-column: 1 / -1; }
  .date-block span, .times span, .venue .at, .venue p { font-size: 16px; letter-spacing: 0.04em; line-height: 1.55; }
  .times strong { font-size: 42px; line-height: 1.1; }
  .venue strong { font-size: 22px; line-height: 1.35; }
  .letter-body { font-size: 22px; line-height: 1.75; }
  .field, .choice span, .input, .form-status, .gift-note, .bank-list, .footer, .clock span, .qr-placeholder span, .qr-placeholder small {
    font-size: 16px;
  }
  .choice { min-height: 48px; }
  .input:not(.textarea) { min-height: 48px; }
  .input { padding: 12px 14px; }
  .btn { min-height: 48px; font-size: 15px; letter-spacing: 0.06em; }
  #qua-mung .wrap { width: min(100% - 48px, 420px); }
  #qua-mung .gift-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 22px;
  }
  #qua-mung .qr-slot { display: flex; justify-content: center; width: 100%; }
  #qua-mung .qr-slot img,
  #qua-mung .qr-placeholder {
    width: min(200px, 72%);
    height: auto;
    aspect-ratio: 1;
  }
  #qua-mung .bank-list {
    width: 100%;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.55;
    text-align: center;
  }
  #qua-mung .bank-list div {
    display: block;
    min-width: 0;
    padding: 14px 4px;
  }
  #qua-mung .bank-list dt {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.4;
  }
  #qua-mung .bank-list dd {
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  #qua-mung .account-number { justify-content: center; }
}

@media (max-width: 560px) {
  .wrap, .narrow { width: min(100% - 28px, 640px); }
  .choice-row { flex-direction: column; }
  .date-block strong { font-size: 84px; }
}

@media (min-width: 1200px) {
  .wrap, .narrow {
    width: min(1160px, calc(100% - 80px));
    max-width: 1160px;
  }
  .section { padding: 80px 0; }
  .hero { padding-top: 36px; }
  .section-title {
    font-size: 32px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }
  .section-sub {
    margin: 12px 0 36px;
    font-size: 18px;
    letter-spacing: 0.02em;
    line-height: 1.7;
  }
  .hero-layout {
    grid-template-columns: minmax(320px, 500px) 1fr;
    gap: 24px 0;
  }
  .portrait {
    width: calc(112% * 2 / 3);
    margin-right: -130px;
    justify-self: end;
  }
  .kicker, .tagline, .card-kicker { font-size: 16px; letter-spacing: 0.08em; line-height: 1.6; }
  .journey { font-size: 14px; letter-spacing: 0.1em; }
  .hero-title { font-size: 76px; line-height: 1.22; }
  .invite-card { width: min(680px, 100%); padding: 28px 36px; }
  .invite-card p:last-child { font-size: 18px; line-height: 1.7; }
  .guest-name { font-size: 44px; line-height: 1.3; }
  .family-grid { gap: 28px; }
  .family-card { padding: 36px 28px 30px; }
  .family-card h2 { font-size: 16px; letter-spacing: 0.08em; line-height: 1.4; }
  .family-card p { font-size: 34px; line-height: 1.4; }
  .family-card .place { font-size: 18px; }
  .event-when {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
  .event-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px 48px;
    align-items: center;
  }
  .date-block strong { font-size: 132px; }
  .times strong { font-size: 68px; }
  .date-block span, .times span, .venue .at { font-size: 16px; letter-spacing: 0.06em; line-height: 1.45; }
  .venue {
    text-align: left;
    padding-left: 40px;
    border-left: 1px solid var(--line);
  }
  .venue strong { font-size: 30px; line-height: 1.3; }
  .venue p { font-size: 18px; line-height: 1.65; }
  .letter .narrow { width: min(860px, calc(100% - 80px)); }
  .letter-body { font-size: 28px; line-height: 1.7; }
  .panel { padding: 36px 40px 32px; }
  .choice { min-height: 56px; }
  .choice span, .field, .input, .form-status, .gift-note { font-size: 18px; }
  .input:not(.textarea) { min-height: 52px; }
  .textarea { min-height: 140px; }
  .btn { min-height: 54px; font-size: 16px; }
  .gift-note { max-width: 760px; margin-bottom: 20px; }
  .gift-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px 72px;
  }
  .qr-placeholder, .qr-slot img { width: 220px; height: 220px; }
  .bank-list { font-size: 20px; }
  .bank-list div { grid-template-columns: 200px 1fr; padding: 14px 0; }
  .clock { width: 100%; gap: 20px; }
  .clock strong { font-size: 76px; }
  .clock span { font-size: 15px; letter-spacing: 0.08em; line-height: 1.45; }
  .footer { font-size: 15px; letter-spacing: 0.08em; line-height: 1.6; }
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}
.veil-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 2px);
  overflow: hidden;
  pointer-events: auto;
  background-color: #f0c3cd;
  will-change: transform;
}
.veil-left,
.veil-right {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 22%, rgba(186, 104, 124, 0.08) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 252, 252, 0.72) 0,
      rgba(255, 255, 255, 0.12) 46px,
      rgba(214, 132, 150, 0.34) 110px,
      rgba(255, 246, 248, 0.58) 180px,
      rgba(190, 108, 126, 0.2) 240px,
      rgba(255, 250, 250, 0.62) 300px
    );
}
.veil-left {
  left: 0;
  box-shadow: inset -34px 0 42px rgba(176, 96, 116, 0.2);
  animation: veil-out-left 3s cubic-bezier(0.45, 0.02, 0.2, 1) forwards;
}
.veil-right {
  right: 0;
  box-shadow: inset 34px 0 42px rgba(176, 96, 116, 0.2);
  animation: veil-out-right 3s cubic-bezier(0.45, 0.02, 0.2, 1) forwards;
}
.veil-hello {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(88vw, 720px);
  margin: 0;
  transform: translate(-50%, -50%);
  color: #4d3b38;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  pointer-events: none;
  animation: veil-hello 3s linear forwards;
}
html.veil-on,
html.veil-on body {
  overflow: hidden;
}
@keyframes veil-out-left {
  0%, 33.333% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
@keyframes veil-out-right {
  0%, 33.333% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(100%, 0, 0); }
}
@keyframes veil-hello {
  0%, 33% { opacity: 1; }
  52% { opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 800px) {
  .veil-hello { font-size: clamp(26px, 7vw, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.veil-on,
  html.veil-on body { overflow: auto; }
  .veil { display: none !important; }
  .scene-move { transform: none !important; }
  .cover-scroll span { animation: none; }
}

.maker-body {
  min-height: 100vh;
  background: var(--paper);
}
.maker {
  width: min(480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}
.maker-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.maker h1 {
  margin: 0 0 28px;
  color: var(--jade);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
}
.maker .field { font-size: 16px; }
.maker .input {
  min-height: 48px;
  font-size: 16px;
}
.maker .btn {
  min-height: 48px;
  margin-top: 4px;
  font-size: 16px;
}
.maker-link {
  margin: -4px 0 16px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  background: rgba(255, 252, 249, 0.82);
  border: 1px solid var(--line);
}
.maker .form-status { text-align: left; font-size: 16px; }
