/* Cormorant Garamond (SIL OFL), variable, latin subset, self-hosted. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-italic.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;
}

/* Matthew & Katiri. Styles follow the printed suite: paper, taupe serif,
   gold hairlines (decorative only), blush rings, poppy for actions.
   Shapes are square throughout, like the cards. */

:root {
  --paper: #FBF8F4;
  --paper-card: #FFFDFA;
  --paper-deep: #F4EEE7;
  --blush: #F8EAE6;
  --rose: #E2A595;
  --gold: #A8853C;
  --gold-line: #D8C49A;
  --ink-strong: #3B302D;
  --ink: #5B4A46;
  --ink-soft: #776661;
  --poppy: #A9441F;
  --poppy-deep: #8E3818;
  --err: #9B2C1C;

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 34px 70px -38px rgba(91, 74, 70, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
sup { font-size: .55em; line-height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink-strong); color: var(--paper); padding: 8px 14px; z-index: 30; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--poppy); outline-offset: 3px; }

.sample-banner {
  position: sticky; top: 0; z-index: 40;
  background: #2f2a28; color: #fff6e8; text-align: center;
  font-size: .95rem; letter-spacing: .08em; padding: 6px 12px;
}

/* ---------- type helpers ---------- */
.caps { text-transform: uppercase; letter-spacing: .22em; font-size: .92rem; font-weight: 500; color: var(--ink); margin: 0; }
.caps--soft { color: var(--ink-soft); }
.h2 {
  text-transform: uppercase; letter-spacing: .2em; font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  color: var(--ink); text-align: center; line-height: 1.25;
}
.h3 { text-transform: uppercase; letter-spacing: .2em; font-size: 1rem; color: var(--ink-soft); margin-bottom: .7rem; }
.display {
  font-size: clamp(4rem, 15vw, 6.6rem); letter-spacing: .12em; line-height: 1; color: var(--ink);
  text-align: center; margin: .35rem 0 .7rem; padding-left: .12em;
}
.display--md { font-size: clamp(2.6rem, 9vw, 4.2rem); letter-spacing: .1em; }
.lede { text-align: center; font-size: 1.3rem; color: var(--ink); max-width: 30ch; margin: 0 auto .4rem; }
.hint { font-size: 1rem; color: var(--ink-soft); line-height: 1.45; margin: .4rem 0 0; }
.hint--center { text-align: center; max-width: 42ch; margin: 1rem auto 0; }

/* ---------- actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8rem 2rem;
  background: var(--poppy); color: #FFFDFB; border: 1px solid var(--poppy);
  font: 600 .98rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), transform .2s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--poppy-deep); border-color: var(--poppy-deep); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--small { min-height: 40px; padding: .55rem 1.15rem; font-size: .88rem; }
.btn--outline { background: transparent; color: var(--poppy); }
.btn--outline:hover { background: var(--poppy); color: #FFFDFB; }

.link {
  color: var(--poppy); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .28em; text-decoration-color: rgba(169, 68, 31, .45);
  font-weight: 600; transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }
.link--btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- ornaments ---------- */
.rings { color: var(--rose); width: 74px; margin: 0 auto 1.4rem; }
.rings--sm { width: 58px; margin-bottom: 1rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 0; color: var(--gold); margin: 1.6rem auto; max-width: 300px; }
.ornament i { flex: 1; height: 1px; background: var(--gold-line); }
.ornament svg { width: 54px; flex: none; }
.rule-short { width: 64px; border: 0; border-top: 1px solid var(--gold-line); margin: 1.6rem auto; }
.rule-gold { border: 0; border-top: 1px solid var(--gold-line); margin: 1.4rem 0 1.8rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(251, 248, 244, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 196, 154, .55);
}
.sample-banner + .skip + .nav { top: 34px; }
.nav__mark { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink-strong); font-size: 1.35rem; letter-spacing: .12em; }
.nav__mark { gap: .2rem; font-size: 1.55rem; font-weight: 400; letter-spacing: 0; }
.mono { width: 36px; height: auto; color: #C98473; overflow: visible; }
.nav__mark .mono { margin: -6px .1rem 0; }
.monogram { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-strong); font-weight: 400; }
.monogram--footer { font-size: 2.3rem; margin-bottom: .6rem; }
.monogram--footer .mono { width: 54px; margin-top: -10px; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--gold-line); color: var(--ink);
  font: 600 .88rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase;
  padding: .6rem .9rem; min-height: 40px; cursor: pointer;
}
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav__menu > a:not(.btn) {
  text-decoration: none; text-transform: uppercase; letter-spacing: .18em; font-size: .9rem; font-weight: 600; color: var(--ink);
  padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav__menu > a:not(.btn):hover, .nav__menu > a[aria-current] { border-color: var(--gold); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--gold-line);
    padding: .5rem var(--gutter) 1.4rem;
    box-shadow: 0 24px 40px -30px rgba(91, 74, 70, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__menu > a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid rgba(216, 196, 154, .5); font-size: 1rem; }
  .nav__menu > .btn { margin-top: 1.1rem; min-height: 52px; }
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr);
  max-width: 1240px; margin: 0 auto;
}
.hero__photo { margin: 0; position: relative; overflow: hidden; background: var(--paper-deep); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.hero__text { text-align: center; padding: 0 var(--gutter) 3.2rem; position: relative; }
.hero__date { display: flex; align-items: center; justify-content: center; gap: .8rem; font-style: italic; font-weight: 400; font-size: 1.9rem; color: var(--ink); margin: 0 0 1.3rem; }
.hero__date i { width: 28px; height: 1px; background: var(--gold-line); }
.hero__names { display: flex; flex-direction: column; align-items: center; color: var(--ink-strong); }
.hero__name { text-transform: uppercase; font-size: clamp(2.9rem, 12.5vw, 5.4rem); letter-spacing: .16em; padding-left: .16em; line-height: 1.04; font-weight: 500; }
.hero__and { display: flex; align-items: center; gap: 1rem; color: var(--poppy); margin: .25rem 0 .4rem; }
.hero__and svg { width: clamp(72px, 18vw, 104px); }
.hero__and i { width: clamp(44px, 12vw, 84px); height: 1px; background: rgba(169, 68, 31, .5); }
.hero__sub { margin: 1.4rem 0 1.7rem; font-size: 1.28rem; color: var(--ink); line-height: 1.4; }
.hero__sub .dot { margin: 0 .35em; }
@media (max-width: 899px) { .hero__sub .dot { display: block; height: 0; overflow: hidden; } }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 1.8rem; }

@media (max-width: 899px) {
  .hero__photo { height: min(54svh, 560px); }
  .hero__name { font-size: clamp(2.4rem, 11vw, 4.4rem); }
  .hero__date { font-size: 1.6rem; margin-bottom: .9rem; }
  .hero__sub { margin: 1rem 0 1.3rem; }
  .hero__photo::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
    background: linear-gradient(to bottom, rgba(251, 248, 244, 0), rgba(251, 248, 244, .75) 55%, var(--paper));
  }
  .hero__text { margin-top: -4.6rem; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); padding: 2.4rem var(--gutter) 4rem; min-height: calc(100dvh - var(--nav-h)); }
  .hero__photo { order: 2; aspect-ratio: 570 / 860; max-height: calc(100dvh - var(--nav-h) - 5rem); justify-self: center; width: 100%; max-width: 520px; box-shadow: var(--shadow); }
  .hero__photo::before {
    content: ""; position: absolute; inset: 12px; z-index: 1; pointer-events: none;
    border: 1px solid rgba(255, 253, 250, .75);
  }
  .hero__text { order: 1; padding: 0; }
  .hero__date { font-size: 2.2rem; }
}

/* load-in */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__photo img { animation: photoIn 1.6s var(--ease) both; }
  .js .hero__text > * { animation: rise 1.1s var(--ease) both; }
  .js .hero__text > :nth-child(1) { animation-delay: .15s; }
  .js .hero__text > :nth-child(2) { animation-delay: .3s; }
  .js .hero__text > :nth-child(3) { animation-delay: .5s; }
  .js .hero__text > :nth-child(4) { animation-delay: .65s; }
}
@keyframes photoIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- invitation card ---------- */
.invite { padding: clamp(3rem, 8vw, 6.5rem) var(--gutter); background: var(--paper-deep); }
.card {
  background: var(--paper-card); max-width: 640px; margin: 0 auto; position: relative;
  padding: clamp(2.6rem, 7vw, 4.2rem) clamp(1.4rem, 6vw, 3.6rem);
  box-shadow: var(--shadow);
}
.card--double::before, .card--single::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid var(--gold-line);
}
.card--double::after {
  content: ""; position: absolute; inset: 15px; pointer-events: none;
  border: 1px solid var(--gold-line);
}
.invite .card { text-align: center; }
.invite__opening { text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.98rem, 3.9vw, 1.45rem); line-height: 1.55; margin: 0 auto 1.2rem; color: var(--ink); }
.invite__opening span { display: block; white-space: nowrap; }
@media (max-width: 380px) { .invite__opening { letter-spacing: .14em; } }
.invite__script { color: var(--gold); margin: 0 auto 1.3rem; max-width: 520px; }
.invite__script svg { width: 100%; height: auto; }
.invite__body { max-width: 34ch; margin: 0 auto; font-size: 1.3rem; line-height: 1.55; }
.invite__when { display: flex; flex-direction: column; gap: .2rem; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(1rem, 3.4vw, 1.18rem); margin: 0; color: var(--ink); }
.invite__date { font-size: 1.4em; letter-spacing: .16em; font-weight: 600; margin-bottom: .2rem; }
.invite__rsvp { margin: 0; font-size: 1.3rem; }
.br-m { display: none; }
@media (max-width: 520px) { .br-m { display: inline; } }

/* ---------- the day ---------- */
.day { padding: clamp(3.6rem, 9vw, 7rem) var(--gutter); max-width: 1080px; margin: 0 auto; }
.day .h2 { margin-bottom: 2.4rem; }
.countdown { display: flex; justify-content: center; gap: clamp(1.4rem, 6vw, 4rem); text-align: center; }
.countdown span { display: block; font-style: italic; font-weight: 400; font-size: clamp(3rem, 11vw, 5rem); line-height: 1; color: var(--ink-strong); font-variant-numeric: lining-nums tabular-nums; min-width: 2ch; }
.countdown small { display: block; margin-top: .45rem; text-transform: uppercase; letter-spacing: .22em; font-size: .85rem; color: var(--ink-soft); }
.countdown__after { text-align: center; color: var(--ink-soft); font-style: italic; margin: 1.1rem 0 0; }
.day__grid { display: grid; grid-template-columns: 1fr; margin-top: clamp(2.6rem, 6vw, 4rem); border-top: 1px solid var(--gold-line); }
.day__col { padding: 1.8rem 0; text-align: center; }
.day__col + .day__col { border-top: 1px solid var(--gold-line); }
.day__col p { margin-bottom: .8rem; font-size: 1.3rem; }
.day__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; font-size: 1.1rem !important; }
.day__note { color: var(--ink-soft); font-size: 1.15rem !important; }
@media (min-width: 760px) {
  .day__grid { grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--gold-line); }
  .day__col { padding: 2.4rem 2rem; }
  .day__col + .day__col { border-top: 0; border-left: 1px solid var(--gold-line); }
}

.schedule { list-style: none; margin: 3rem auto 0; padding: 0; max-width: 560px; }
.schedule li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.2rem; padding: .9rem 0; }
.schedule li + li { border-top: 1px solid rgba(216, 196, 154, .6); }
.schedule__time { font-style: italic; color: var(--ink-strong); font-size: 1.35rem; text-align: right; }
.schedule__what { font-size: 1.3rem; }
.schedule__what small { display: block; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- story / travel ---------- */
.story, .travel { padding: clamp(3rem, 8vw, 6rem) var(--gutter); max-width: 900px; margin: 0 auto; }
.story .h2, .travel .h2 { margin-bottom: 2rem; }
.story__body { max-width: 62ch; margin: 0 auto; font-size: 1.3rem; }
.travel__intro { text-align: center; max-width: 52ch; margin: 0 auto 2rem; }
.travel__list { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hotel { border-top: 1px solid var(--gold-line); padding-top: 1.2rem; }
.hotel .h3 { color: var(--ink-strong); }
.hotel__area { color: var(--ink-soft); font-style: italic; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(3.4rem, 8vw, 6rem) var(--gutter); background: var(--paper-deep); }
.faq .h2 { margin-bottom: 2.2rem; }
.faq__list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--gold-line); }
.faq details { border-bottom: 1px solid var(--gold-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem .2rem; font-size: 1.32rem; color: var(--ink-strong); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--poppy); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq__a { padding: 0 .2rem 1.3rem; max-width: 62ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- duo tiles ---------- */
.duo { display: grid; grid-template-columns: 1fr; }
.duo__tile { padding: clamp(3rem, 8vw, 5.4rem) var(--gutter); text-align: center; }
.duo__tile .h2 { margin-bottom: 1.1rem; }
.duo__tile p { max-width: 36ch; margin: 0 auto 1.3rem; }
.duo__tile--blush { background: var(--blush); }
.duo__tile--paper { background: var(--paper-card); }
@media (min-width: 820px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--single { grid-template-columns: 1fr; }
}

/* ---------- closing ---------- */
.closing { padding: clamp(3.6rem, 9vw, 6.5rem) var(--gutter) clamp(3rem, 7vw, 5rem); text-align: center; }
.closing__script { color: var(--gold); max-width: 640px; margin: 0 auto 2.2rem; }
.closing__script svg { width: 100%; height: auto; }
.closing__script--sm { max-width: 420px; margin: 2rem auto 0; }
.closing__cta { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--gold-line); padding: 2.6rem var(--gutter) calc(2.6rem + env(safe-area-inset-bottom)); text-align: center; background: var(--paper); }
.footer__names { text-transform: uppercase; letter-spacing: .2em; color: var(--ink-strong); margin: 0; font-size: 1.1rem; }
.footer__names .amp { font-style: italic; text-transform: none; color: var(--poppy); letter-spacing: 0; }
.footer__date { font-style: italic; color: var(--ink-soft); margin: .2rem 0 1rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; }
.footer__links a { text-decoration: none; text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 600; color: var(--ink-soft); padding: .4rem 0; }
.footer__links a:hover { color: var(--poppy); }

/* ---------- form pages ---------- */
.formpage { padding: clamp(1.6rem, 6vw, 4.5rem) clamp(10px, 3vw, 40px) clamp(3rem, 8vw, 6rem); background: var(--paper-deep); min-height: calc(100dvh - var(--nav-h)); }
.formcard { max-width: 680px; }
.formcard .caps { text-align: center; }

.form { display: flex; flex-direction: column; gap: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .35rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { text-transform: uppercase; letter-spacing: .2em; font-size: .9rem; font-weight: 600; color: var(--ink); }
.opt { text-transform: none; letter-spacing: 0; font-style: italic; font-weight: 500; color: var(--ink-soft); font-size: 1.05rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: 500 1.3rem/1.4 var(--serif); color: var(--ink-strong);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink-soft); border-radius: 0;
  padding: .55rem .1rem; min-height: 48px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background-color .2s;
}
.form textarea { border: 1px solid rgba(119, 102, 97, .55); padding: .7rem .8rem; resize: vertical; min-height: 104px; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 12px top 55%, right 6px top 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--poppy); background: rgba(248, 234, 230, .45); }
.field.has-err input, .field.has-err textarea { border-color: var(--err); }
.err { color: var(--err); font-size: 1.02rem; margin: .2rem 0 0; font-weight: 600; }
.field-row { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .field-row { grid-template-columns: 1.5fr .8fr .9fr; gap: 1.4rem; }
  .field-row--two { grid-template-columns: 1fr 1fr; }
}

.choices { gap: .9rem; }
.choices--inline { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .7rem 2.2rem; }
.legend-center { width: 100%; text-align: center; margin-bottom: .8rem; float: left; }
.choices--inline .legend-center + .choice { clear: left; }
.choice { display: flex; align-items: center; gap: 1rem; cursor: pointer; position: relative; min-height: 48px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .box { width: 30px; height: 30px; flex: none; border: 1.5px solid var(--ink-soft); position: relative; transition: border-color .2s, background-color .2s; background: var(--paper-card); }
.choice .box::after {
  content: ""; position: absolute; left: 9px; top: 3px; width: 8px; height: 15px;
  border: solid var(--poppy); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.4); opacity: 0;
  transition: transform .25s var(--ease), opacity .2s;
}
.choice input:checked + .box { border-color: var(--poppy); background: var(--blush); }
.choice input:checked + .box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.choice input:focus-visible + .box { outline: 2px solid var(--poppy); outline-offset: 3px; }
.choice__label { text-transform: uppercase; letter-spacing: .2em; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
@media (max-width: 400px) { .choice__label { letter-spacing: .13em; } .formcard .caps { letter-spacing: .16em; } }
.choices.has-err .box { border-color: var(--err); }
.cond { display: flex; flex-direction: column; gap: 1.6rem; }

.form__foot { display: flex; flex-direction: column; align-items: center; margin-top: .6rem; }
.form__foot .btn { min-width: 220px; }
.form__status { margin: .9rem 0 0; min-height: 1.4em; text-align: center; color: var(--ink-soft); }
.form__status.is-err { color: var(--err); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; }
.done:focus { outline: none; }
.done__title { font-size: clamp(1.9rem, 6vw, 2.5rem); font-style: italic; font-weight: 400; color: var(--ink-strong); line-height: 1.2; margin-bottom: .8rem; }
.done__address { font-size: 1.25rem; }
.closed { text-align: center; }

/* ---------- registry ---------- */
.regpage { padding: clamp(2.6rem, 7vw, 5rem) var(--gutter) clamp(3.4rem, 8vw, 6rem); max-width: 1120px; margin: 0 auto; }
.reghead { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.reghead .ornament { margin-top: 0; }
.lede--wide { max-width: 40ch; }
.icon {
  display: inline-block; width: 44px; height: 44px; flex: none; background: var(--gold);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.icon--lg { width: 64px; height: 64px; }

.feature {
  display: grid; gap: 1.6rem; background: var(--blush); padding: clamp(2rem, 6vw, 3.6rem);
  position: relative; margin-bottom: clamp(2.6rem, 6vw, 4rem);
}
.feature::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 132, 115, .35); pointer-events: none; }
.feature__copy { position: relative; }
.feature__copy .icon { margin-bottom: 1rem; background: var(--poppy); }
.feature__title { font-size: clamp(2rem, 5.6vw, 3rem); font-weight: 500; color: var(--ink-strong); line-height: 1.1; margin-bottom: .8rem; letter-spacing: .02em; }
.feature__desc { font-size: 1.32rem; max-width: 40ch; margin: 0; }
.feature__side { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.feature__amt { margin: 0; text-transform: uppercase; letter-spacing: .2em; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 3rem; }
  .feature__side { align-items: stretch; }
}

.reg__h { margin-bottom: 1.8rem; }
.reg__grid { display: grid; gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .reg__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .reg__grid { grid-template-columns: 1fr 1fr 1fr; } }
.gift { background: var(--paper-card); padding: 1.8rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .2rem; }
.gift .icon { margin-bottom: .9rem; }
.gift__title { font-size: 1.5rem; font-weight: 600; color: var(--ink-strong); line-height: 1.2; margin-bottom: .35rem; }
.gift__desc { color: var(--ink); font-size: 1.15rem; line-height: 1.45; margin: 0; }
.gift__foot { margin-top: auto; padding-top: 1.3rem; display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.gift__price { margin: 0; font-style: italic; font-size: 1.5rem; color: var(--ink-strong); }
.gift__done { margin: 0; font-style: italic; color: var(--poppy); font-weight: 600; }

.progress { width: 100%; }
.progress__line { height: 2px; background: rgba(168, 133, 60, .22); position: relative; }
.progress__line span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); }
.progress__text { margin: .45rem 0 0; font-size: 1.02rem; color: var(--ink-soft); }

.sk { background: linear-gradient(90deg, var(--paper-deep), #f9f4ee, var(--paper-deep)); background-size: 200% 100%; animation: sk 1.4s linear infinite; min-height: 260px; }
.sk--featured { min-height: 240px; margin-bottom: 2.6rem; }
.reg__loading .reg__grid { background: none; border: 0; gap: 1rem; }
@keyframes sk { to { background-position: -200% 0; } }

.methods { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.method--zelle { border: 1px solid rgba(119, 102, 97, .5); padding: .9rem 1rem; background: var(--paper-card); text-align: left; }
.method--zelle .hint { margin-top: .3rem; }
.method__name { text-transform: uppercase; letter-spacing: .2em; font-size: .88rem; font-weight: 600; margin: 0; }
.method__detail { margin: 0; font-size: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--ink-strong); }

.amounts { display: flex; flex-wrap: wrap; gap: .6rem; }
.amount { cursor: pointer; position: relative; }
.amount input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount span { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 48px; padding: 0 1rem; border: 1px solid var(--ink-soft); font-size: 1.2rem; font-weight: 600; color: var(--ink-strong); background: var(--paper-card); transition: background-color .2s, border-color .2s, color .2s; }
.amount input:checked + span { background: var(--ink-strong); border-color: var(--ink-strong); color: var(--paper-card); }
.amount input:focus-visible + span { outline: 2px solid var(--poppy); outline-offset: 2px; }
.has-err .amount span { border-color: var(--err); }

.give {
  width: min(560px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 0;
  background: var(--paper-card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(59, 48, 45, .5);
  overflow: auto;
}
.give::backdrop { background: rgba(59, 48, 45, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.give__step { padding: .6rem clamp(1.2rem, 5vw, 2.4rem) 2rem; }
.give__x { position: sticky; top: .7rem; display: block; margin: .7rem .7rem 0 auto; z-index: 1; background: var(--paper-card); border: 1px solid var(--gold-line); font: 600 .82rem/1 var(--serif); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); padding: .6rem .8rem; min-height: 40px; cursor: pointer; }
.give__icon { display: block; margin: 0 auto .8rem; background: var(--poppy); }
.give__title { text-align: center; font-size: clamp(1.7rem, 5vw, 2.1rem); color: var(--ink-strong); line-height: 1.15; margin: .2rem 0 1.6rem; }
.give .form { gap: 1.3rem; }
.modal-open { overflow: hidden; }

.stores { margin-top: clamp(2.6rem, 6vw, 3.8rem); }
.stores .h2 { margin-bottom: 1.4rem; }
.stores__list { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; border-top: 1px solid var(--gold-line); }
.store { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem .2rem; border-bottom: 1px solid var(--gold-line); text-decoration: none; font-size: 1.35rem; color: var(--ink-strong); }
.store i { width: 10px; height: 10px; border: solid var(--poppy); border-width: 1px 1px 0 0; transform: rotate(45deg); }
.store:hover span { color: var(--poppy); }
.soon { text-align: center; }

/* ---------- gallery ---------- */
.galpage { padding: clamp(2.6rem, 7vw, 5rem) clamp(10px, 3vw, 40px) clamp(3.4rem, 8vw, 6rem); max-width: 1320px; margin: 0 auto; }
.gallery { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 8px; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 14px; } }
.gallery__item { break-inside: avoid; margin-bottom: 8px; }
@media (min-width: 760px) { .gallery__item { margin-bottom: 14px; } }
.gallery__item a { display: block; overflow: hidden; background: var(--paper-deep); }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease), opacity .4s; }
.gallery__item a:hover img { transform: scale(1.025); }
.soon .monogram { justify-content: center; margin-bottom: .8rem; }
.soon .monogram .mono { width: 64px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(36, 29, 27, .96); color: #fff; overflow: hidden; touch-action: pan-y; }
.lightbox::backdrop { background: rgba(36, 29, 27, .9); }
.lightbox__stage { margin: 0; position: absolute; inset: 56px 0 24px; display: flex; align-items: center; justify-content: center; padding: 0 clamp(8px, 6vw, 90px); }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0; transition: opacity .35s var(--ease); user-select: none; -webkit-user-drag: none; }
.lightbox__stage img.is-ready { opacity: 1; }
.lightbox__close { position: absolute; top: 10px; right: 10px; background: none; border: 1px solid rgba(255, 253, 250, .4); color: #FFFDFA; font: 600 .85rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; padding: .7rem 1rem; min-height: 44px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; background: none; border: 0; cursor: pointer; }
.lightbox__nav i { display: block; width: 16px; height: 16px; margin: 0 auto; border: solid rgba(255, 253, 250, .85); border-width: 1.5px 1.5px 0 0; }
.lightbox__nav--prev { left: 4px; } .lightbox__nav--prev i { transform: rotate(-135deg); }
.lightbox__nav--next { right: 4px; } .lightbox__nav--next i { transform: rotate(45deg); }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 0; transform: none; } }

.peek { padding: clamp(3.4rem, 8vw, 6rem) var(--gutter); max-width: 1240px; margin: 0 auto; }
.peek .h2 { margin-bottom: 2rem; }
.peek__row { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .peek__row { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.peek__row a { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.peek__row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.peek__row a:hover img { transform: scale(1.03); }

/* ---------- scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .write svg { clip-path: inset(0 100% 0 0); }
  .js .is-in .write svg, .js .write.is-in svg { animation: write 2.4s cubic-bezier(.55, .1, .35, 1) .35s forwards; }
  .js .rings--draw svg { opacity: 0; transform: scale(.9) translateY(4px); }
  .js .is-in .rings--draw svg, .js .rings--draw.is-in svg { animation: ringsIn 1.3s var(--ease) .1s forwards; }
}
@keyframes write { to { clip-path: inset(0 0 0 0); } }
@keyframes ringsIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
