:root {
  --navy: #0b2d5b;
  --ocean: #1e4e8c;
  --sky: #a7c7e7;
  --gold: #d4af37;
  --gold-ink: #8d6a16;
  --ivory: #f8f9fc;
  --paper: #ffffff;
  --ink: #2c3e50;
  --muted: #5d6d7e;
  --line: #e4ebf3;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Noto Sans Myanmar", "Myanmar Text", sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
}

a { color: var(--ocean); }
img, iframe { max-width: 100%; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  overflow: visible;
  background: var(--navy);
  color: white;
  z-index: 50;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.header-inner,
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  min-height: 74px;
  padding: 10px 0;
}

.header-inner::before,
.header-inner::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='12' r='7' fill='none' stroke='%23D4AF37' stroke-width='4'/%3E%3Cpath d='M32 19v30M16 32h32M18 49c7 9 21 9 28 0' fill='none' stroke='%23D4AF37' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.brand {
  color: #f8f9fc;
  text-decoration: none;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  line-height: 1.35;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: inline-block;
  color: #f3e6bf;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  line-height: 1.4;
  font-weight: 600;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: white;
  background: rgba(212, 175, 55, 0.22);
}

.menu a:focus-visible,
.btn:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero {
  position: relative;
  text-align: center;
  color: white;
  padding: 64px 0 92px;
  background:
    radial-gradient(ellipse at 50% 115%, rgba(212, 175, 55, 0.55), transparent 46%),
    radial-gradient(ellipse at 80% 70%, rgba(167, 199, 231, 0.28), transparent 40%),
    linear-gradient(180deg, #071a38 0%, #0b2d5b 34%, #1e4e8c 68%, #6f93b8 100%);
  overflow: visible;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 74px;
  background: center / 100% 74px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F8F9FC' d='M0 46c120 28 240-28 360 0s240 28 360 0 240-28 360 0 240 28 360 0v34H0z'/%3E%3Cpath d='M0 50c120 24 240-24 360 0s240 24 360 0 240-24 360 0 240 24 360 0' fill='none' stroke='%23D4AF37' stroke-width='3'/%3E%3C/svg%3E");
}

.script {
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: white;
}

.eyebrow {
  margin: 8px 0 0;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 0.95rem;
  font-weight: 600;
}

h1, h2, h3 {
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  line-height: 1.45;
  font-weight: 700;
  color: var(--navy);
}

.hero h1 {
  margin: 8px 0 0;
  color: white;
  font-size: clamp(2rem, 6vw, 3.5rem);
  overflow-wrap: anywhere;
}

h1 .and {
  display: inline-block;
  margin: 0 0.35rem;
  color: var(--gold);
  font-size: 0.5em;
}

.degrees,
.hero .lede {
  color: #e7eef6;
}

.degrees {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}

.lede {
  max-width: 38rem;
  margin: 14px auto 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  min-width: min(100%, 240px);
  padding: 10px 16px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 16px;
  background: rgba(7, 26, 56, 0.28);
  line-height: 1.55;
}

.pill strong { display: block; color: var(--gold); font-weight: 700; }

.count { margin: 14px 0 0; color: var(--gold); font-weight: 700; }

.hero-photo { padding: 0 0 78px; background: #0b2d5b; }
.hero-layout { display: grid; }
.hero-copy { padding: 36px 0 12px; }
.hero-figure { margin: 0; }
.hero-figure img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 42%;
}
.story-grid { display: grid; gap: 18px; align-items: center; margin-bottom: 18px; }
.story-note { text-align: left; margin: 0; }
.portrait-frame {
  margin: 0;
  padding: 10px;
  background: white;
  border: 1px solid var(--gold);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(11, 45, 91, 0.12);
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 14px;
}

.seal {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='14' r='6' fill='none' stroke='%23D4AF37' stroke-width='3'/%3E%3Cpath d='M32 20v26M18 32h28M20 48c6 8 18 8 24 0' fill='none' stroke='%23D4AF37' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid var(--navy);
}

.btn:hover { background: var(--ocean); border-color: var(--ocean); }

.btn.ghost {
  background: white;
  color: var(--navy);
  border-color: var(--gold);
}

.btn.ghost:hover { background: #f4f7fb; }

.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1b2430;
}

.btn.gold:hover { background: #e3c25d; }

.hero .btn.ghost {
  background: transparent;
  color: white;
  border-color: var(--gold);
}

.hero .btn.ghost:hover { background: rgba(212, 175, 55, 0.16); }

.section { padding: 36px 0; }
.section h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.3rem); text-align: center; }
.intro { margin: 0 auto 18px; max-width: 42rem; color: var(--muted); text-align: center; }

.rule {
  width: 88px;
  height: 1px;
  margin: 0 auto 16px;
  background: var(--gold);
  position: relative;
}
.rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  transform: translate(-50%, -50%);
}

.grid-2, .grid-4 { display: grid; gap: 14px; }

.card, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(11, 45, 91, 0.05);
}

.card h3, .panel h3 { margin: 0; font-size: 1.25rem; }
.kicker { margin: 0; color: var(--gold-ink); font-weight: 700; }
.date-lg {
  margin: 6px 0;
  font-family: "Noto Serif Myanmar", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.25;
  color: var(--navy);
}
.meta { margin: 0; }
.meta + .meta { margin-top: 2px; }
.place { margin: 10px 0 0; font-weight: 700; font-size: 1.12rem; color: var(--navy); }
.text-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--ocean); }

dl.facts { margin: 0; }
dl.facts div {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 8px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
dl.facts dt { margin: 0; color: var(--gold-ink); font-weight: 700; }
dl.facts dd { margin: 0; }

.invite-page {
  width: min(860px, calc(100% - 24px));
  margin: 22px auto 40px;
}
.sheet {
  position: relative;
  padding: 28px 22px 0;
  background: #f6f1e6;
  border: 22px solid #0b2d5b;
  box-shadow:
    inset 0 0 0 3px #c6a035,
    inset 0 0 0 9px #f6f1e6,
    inset 0 0 0 11px #d4af37,
    0 18px 40px rgba(11, 45, 91, 0.16);
  text-align: center;
  color: #0b2d5b;
  overflow: hidden;
}
.corner {
  position: absolute;
  width: 78px;
  height: 78px;
  background: center / 78px 78px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 78'%3E%3Cpath d='M10 34c16-2 22-12 24-26M10 22c10 0 12-8 12-14M22 10c-2 16-12 22-26 24' fill='none' stroke='%23C6A035' stroke-width='1.3'/%3E%3Ccircle cx='22' cy='18' r='3.2' fill='none' stroke='%23D4AF37' stroke-width='1.4'/%3E%3Cpath d='M22 21v16M14 29h16M15 37c3.5 4 10.5 4 14 0' fill='none' stroke='%23D4AF37' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  z-index: 2;
}
.c-tl { top: 8px; left: 8px; }
.c-tr { top: 8px; right: 8px; transform: scaleX(-1); }
.c-bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.c-br { bottom: 8px; right: 8px; transform: scale(-1); }
.crest-svg {
  width: 132px;
  height: auto;
  display: block;
  margin: 0 auto 2px;
}
.kicker-anchor {
  width: 14px;
  height: 14px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='6' r='3' fill='none' stroke='%230B2D5B' stroke-width='2'/%3E%3Cpath d='M16 9v14M8 16h16M9 23c3 4 11 4 14 0' fill='none' stroke='%230B2D5B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.sheet-kicker {
  margin: 0;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0b2d5b;
}
.sheet h1 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 4.6rem);
  line-height: 1.05;
  color: #0b2d5b;
}
.sheet-mm {
  margin: 0 0 6px;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  color: #0b2d5b;
}
.sheet-body {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-top: 8px;
  text-align: center;
}
.sheet-photo { margin: 0; }
.sheet-photo img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
}
.sheet-photo figcaption {
  margin-top: 8px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  color: #0b2d5b;
}
.sheet-copy p { margin: 0; }
.greet {
  margin-bottom: 14px !important;
  line-height: 1.7;
}
.kin {
  line-height: 1.65;
  font-size: 0.98rem;
}
.who-mm {
  margin: 6px 0 0 !important;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  color: #0b2d5b;
}
.who-sub {
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  color: #0b2d5b;
}
.who-note {
  margin-top: 2px !important;
  color: #0b2d5b;
  font-size: 0.92rem;
  line-height: 1.55;
}
.amp {
  margin: 10px 0 !important;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  color: #8d6a16;
}
.ask {
  margin-top: 16px !important;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  line-height: 1.7;
}
.ask-en {
  margin-top: 8px !important;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #1e4e8c;
}
.when {
  display: grid;
  gap: 16px;
  margin: 16px 8px 4px;
  text-align: left;
}
.when h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #0b2d5b;
  text-align: center;
}
.when p {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 8px;
  margin: 0 0 3px;
  line-height: 1.45;
}
.when p > span {
  color: #8d6a16;
  font-weight: 700;
}
@media (min-width: 720px) {
  .when { grid-template-columns: 1fr 1fr; }
}
.ico {
  width: 20px;
  height: 20px;
  background: center / contain no-repeat;
}
.ico-cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' fill='none' stroke='%23C6A035' stroke-width='1.7'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4' fill='none' stroke='%23C6A035' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico-time { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23C6A035' stroke-width='1.7'/%3E%3Cpath d='M12 8v5l3 2' fill='none' stroke='%23C6A035' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z' fill='none' stroke='%23C6A035' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='10' r='2.2' fill='none' stroke='%23C6A035' stroke-width='1.7'/%3E%3C/svg%3E"); }
.ship {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  margin: 10px -4% -2px;
}
.invite-page .actions { justify-content: center; }
@media (min-width: 860px) {
  .sheet { padding: 26px 28px 0; }
  .sheet-body {
    grid-template-columns: minmax(220px, 0.78fr) 1.22fr;
    gap: 22px;
    align-items: center;
  }
  .sheet-photo img { width: 100%; }
}

.quote {
  margin: 18px 0;
  padding: 18px 20px;
  background: #eef4fb;
  border-left: 3px solid var(--navy);
  border-radius: 0 16px 16px 0;
}

.band {
  background: linear-gradient(180deg, #0b2d5b, #163e78);
  color: white;
}
.band h2, .band h3 { color: white; }
.band .intro, .band .meta { color: #d5e2f2; }
.band .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: none;
  color: white;
}
.band .date-lg, .band .place, .band .text-link { color: white; }
.band .kicker { color: var(--gold); }
.band .rule::after { background: #0b2d5b; }

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: white;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
th { background: #e7f0fa; color: var(--navy); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }

.map-frame {
  display: block;
  width: 100%;
  height: 260px;
  margin-top: 16px;
  border: 0;
  border-radius: 16px;
  background: #e7f0fa;
}
.reception { text-align: center; }
.reception-kicker {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-weight: 600;
  color: #8d6a16;
}
.reception h1 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  line-height: 1.05;
  color: #0b2d5b;
}
.reception-mm {
  margin: 0 0 8px;
  font-family: "Noto Serif Myanmar", "Myanmar Text", serif;
  font-weight: 700;
  color: #0b2d5b;
}
.reception-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  text-align: center;
}
.event-card {
  padding: 22px 18px 18px;
  background: #f7f2e6;
  border: 12px solid #0b2d5b;
  box-shadow: inset 0 0 0 2px #c6a035;
}
.event-card .kicker {
  display: block;
  margin: 0 0 10px;
  line-height: 1.4;
}
.event-card h2 {
  margin: 8px 0 0;
  line-height: 1.7;
  padding-top: 6px;
}
.event-rule {
  width: 78px;
  height: 1px;
  margin: 10px auto 12px;
  background: #c6a035;
  position: relative;
}
.event-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #c6a035;
  background: #f7f2e6;
  transform: translate(-50%, -50%) rotate(45deg);
}
.event-card .event-facts {
  margin: 0 0 6px;
  text-align: left;
}
.event-card .event-facts div {
  grid-template-columns: 8.6rem 1fr;
  padding: 8px 2px;
  border-bottom-color: rgba(198, 160, 53, 0.4);
}
.event-card .event-facts dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8d6a16;
}
.event-card .event-facts .ico { width: 16px; height: 16px; flex: 0 0 16px; }
.ico-day { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%23C6A035' stroke-width='1.7'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1' fill='none' stroke='%23C6A035' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ico-kind { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h16v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z' fill='none' stroke='%23C6A035' stroke-width='1.7'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2M12 12v5' fill='none' stroke='%23C6A035' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.event-card .event-facts dd { color: #0b2d5b; font-weight: 600; }
.event-card .links { justify-content: center; }
.event-card .map-frame {
  height: 300px;
  margin-top: 14px;
  border: 2px solid #c6a035;
  border-radius: 8px;
}
.event-card { display: flex; flex-direction: column; }
.event-card .links { margin-top: auto; }
@media (min-width: 860px) {
  .reception-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.site-footer {
  position: relative;
  margin-top: 10px;
  padding: 56px 0 34px;
  background: var(--navy);
  color: #f8f9fc;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 42px;
  background: center / 100% 42px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24c160 20 280-20 440 0s280 20 440 0 300-20 440 0 220 16 120 0' fill='none' stroke='%23D4AF37' stroke-width='3'/%3E%3C/svg%3E");
}
.site-footer a { color: #f8f9fc; }
.site-footer p { margin: 0; }
.site-footer .muted { color: #c5d4e6; margin-top: 6px; }
.foot-grid {
  display: grid;
  gap: 16px;
  text-align: center;
}

.path { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }
.path a { color: var(--muted); }

@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  dl.facts div { grid-template-columns: 9rem 1fr; }
  .header-inner { justify-content: space-between; }
  .hero-layout { grid-template-columns: 1.05fr 0.95fr; min-height: 700px; }
  .hero-copy { display: flex; align-items: center; padding: 24px 10px 78px 0; }
  .hero-figure img { height: 100%; min-height: 700px; object-position: center center; }
  .story-grid { grid-template-columns: 0.8fr 1.2fr; }
  .portrait-frame img { height: 560px; }
  .hero-photo h1 .and { display: block; margin: 0.12rem 0; }
}

@media (max-width: 759px) {
  .header-inner { flex-direction: column; gap: 4px; }
  .header-inner::before,
  .header-inner::after { display: none; }
  .menu { width: 100%; }
  .menu a { padding: 6px 8px; }
  .invite-page { width: calc(100% - 12px); margin: 12px auto 28px; }
  .sheet { border-width: 12px; padding: 18px 12px 0; }
  .corner { width: 48px; height: 48px; background-size: 48px 48px; }
  .crest-svg { width: 104px; }
  .sheet-kicker { font-size: 1.02rem; }
  .sheet h1 { font-size: clamp(2.45rem, 11vw, 3.3rem); }
  .sheet-mm { font-size: 0.95rem; line-height: 1.75; padding: 0 2px; }
  .kin, .who-note { font-size: 0.9rem; }
  .who-mm { font-size: 1.28rem; }
  .ask { font-size: 0.98rem; }
  .ask-en { font-size: 1.05rem; }
  .when { margin-inline: 0; }
  .when p { grid-template-columns: 3.5rem 1fr; }
  .event-card { border-width: 8px; padding: 16px 12px 14px; }
  .event-card .event-facts div { grid-template-columns: 7.4rem 1fr; }
  .event-card .map-frame { height: 220px; }
  .reception h1 { font-size: 2.8rem; }
  .reception-kicker {
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 0 8px;
  }
  .reception .intro { font-size: 0.95rem; padding: 0 6px; }
  .hero .actions { flex-direction: column; align-items: center; }
  .hero .actions .btn { width: min(100%, 240px); }
  .hero-figure { padding: 0 0 8px; }
  .hero-figure img { height: 320px; border-radius: 0; }
  .lede { overflow-wrap: anywhere; }
  .hero h1 .and { display: block; margin: 0.1rem 0; }
  .compare { display: none; }
  .stack-table { min-width: 0; }
  .stack-table thead { display: none; }
  .stack-table tr {
    display: block;
    margin: 0 0 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }
  .stack-table td { display: block; min-width: 0; }
  .stack-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--gold-ink);
    font-weight: 700;
  }
}

@media (max-width: 859px) {
  .invite-page { width: calc(100% - 8px); margin: 8px auto 20px; }
  .sheet { border-width: 10px; padding: 12px 8px 0; }
  .corner { width: 34px; height: 34px; background-size: 34px 34px; }
  .crest-svg { width: 78px; }
  .sheet-kicker { font-size: 0.78rem; }
  .sheet h1 { font-size: clamp(1.28rem, 5.2vw, 2.2rem); white-space: normal; }
  .sheet-mm { font-size: 0.68rem; line-height: 1.55; }
  .sheet-body {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 6px;
    align-items: center;
  }
  .sheet-photo,
  .sheet-copy,
  .sheet-copy p { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
  .sheet-photo img { width: 100%; }
  .sheet-photo figcaption { font-size: 0.95rem; }
  .sheet h1 { white-space: normal; }
  .kin, .who-note, .ask, .who-mm, .sheet-mm { overflow-wrap: anywhere; }
  .kin, .who-note { font-size: 0.52rem; line-height: 1.4; }
  .who-mm { font-size: 0.7rem; line-height: 1.35; }
  .amp { margin: 4px 0 !important; }
  .ask { margin-top: 8px !important; font-size: 0.66rem; line-height: 1.5; }
  .ask-en { font-size: 0.78rem; }
  .when { grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 2px; }
  .when h2 { font-size: 0.72rem; }
  .when p { grid-template-columns: 2.1rem 1fr; gap: 3px; font-size: 0.58rem; }
}

@media (max-width: 1100px) {
  body:not(.home) {
    width: 1100px;
    transform-origin: 0 0;
  }
  body:not(.home) .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  body:not(.home) .sheet { border-width: 22px; padding: 26px 28px 0; }
  body:not(.home) .corner { width: 78px; height: 78px; background-size: 78px 78px; }
  body:not(.home) .crest-svg { width: 132px; }
  body:not(.home) .sheet-kicker { font-size: 1.15rem; }
  body:not(.home) .sheet h1 { font-size: 4.2rem; white-space: normal; }
  body:not(.home) .sheet-mm { font-size: 1.05rem; line-height: 1.7; }
  body:not(.home) .sheet-body {
    grid-template-columns: minmax(220px, 0.78fr) 1.22fr;
    gap: 22px;
    align-items: center;
  }
  body:not(.home) .sheet-photo figcaption { font-size: 1.8rem; }
  body:not(.home) .kin,
  body:not(.home) .who-note {
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
  }
  body:not(.home) .who-mm { font-size: 1.6rem; line-height: 1.45; }
  body:not(.home) .ask { font-size: 1.05rem; line-height: 1.7; }
  body:not(.home) .ask-en { font-size: 1.2rem; }
  body:not(.home) .when { grid-template-columns: 1fr 1fr; gap: 16px; }
  body:not(.home) .when h2 { font-size: 1.05rem; }
  body:not(.home) .when p { grid-template-columns: 4.2rem 1fr; font-size: 1rem; gap: 8px; }
  body:not(.home) .reception-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  body:not(.home) .reception h1 { font-size: 4.2rem; }
  body:not(.home) .reception-kicker { letter-spacing: 0.18em; font-size: 1rem; }
  body:not(.home) .event-card { border-width: 12px; padding: 22px 18px 18px; }
  body:not(.home) .event-card .event-facts div { grid-template-columns: 8.6rem 1fr; }
  body:not(.home) .event-card .map-frame { height: 300px; }
}

.wishes-page h1 { text-align: center; }
.wish-video { max-width: 640px; margin: 8px auto 22px; }
.wish-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: #0b2d5b;
}
.wish-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 28px;
}
.wish-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
  text-align: left;
}
.wish-form input,
.wish-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sky);
  border-radius: 14px;
  padding: 12px 14px;
  background: white;
  color: var(--charcoal);
  font: inherit;
  font-family: "Noto Sans Myanmar", "Myanmar Text", sans-serif;
  font-weight: 400;
}
.wish-form textarea { resize: vertical; min-height: 120px; }
.wish-form .btn { justify-self: center; min-width: 180px; cursor: pointer; }
.wish-form .btn:disabled { opacity: 0.6; cursor: wait; }
.wish-status { min-height: 1.4em; margin: 0; text-align: center; color: var(--ocean); font-weight: 700; }
.wish-list { display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.wish {
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
}
.wish-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.wish-head strong { color: var(--navy); }
.wish-head time { color: var(--ocean); font-size: 0.85rem; white-space: nowrap; }
.wish p { margin: 8px 0 0; white-space: pre-wrap; }

.rsvp-page h1 { text-align: center; }
.rsvp-event {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 16px;
  background: white;
  text-align: left;
}
.rsvp-event legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 700;
}
.rsvp-event p { margin: 0 0 10px; color: var(--ocean); }
.rsvp-choice { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.rsvp-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
}
.rsvp-choice input { width: auto; }
.rsvp-count { margin-top: 12px; max-width: 140px; }
.wish-form label.rsvp-count[hidden] { display: none; }
.rsvp-count input { max-width: 120px; }

.admin-lock {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(11, 45, 91, 0.46);
}
.admin-lock[hidden] { display: none; }
.admin-lock-card {
  width: min(360px, 100%);
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px 18px;
  border-radius: 18px;
  background: #f8f9fc;
  border: 1px solid rgba(212, 175, 55, 0.7);
  text-align: center;
}
.admin-lock-card p { margin: 0; color: var(--navy); font-weight: 700; }
.admin-lock-card input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sky);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  text-align: center;
}
.admin-lock-msg { min-height: 1.4em; color: var(--ocean); }

.admin-page .header-inner { justify-content: space-between; }
.admin-page .header-inner::before,
.admin-page .header-inner::after { display: none; }
.admin-page .btn { min-height: 40px; }
.admin-wrap { width: min(880px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 64px; }
.admin-wrap h1 {
  margin: 28px 0 8px;
  text-align: center;
  color: var(--navy);
  font-size: 1.7rem;
}
.admin-total { margin: 0 0 12px; text-align: center; color: var(--ocean); font-weight: 700; }
.admin-scroll { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 16px;
  overflow: hidden;
}
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(167, 199, 231, 0.8);
  text-align: left;
  vertical-align: top;
}
.admin-table th { color: var(--navy); background: #f3f7fc; }
.admin-table tfoot td { font-weight: 700; color: var(--navy); }
.admin-table td:nth-child(2),
.admin-table td:nth-child(3),
.admin-table th:nth-child(2),
.admin-table th:nth-child(3) { text-align: center; white-space: nowrap; }
