:root {
  --linen: #F6EEE9;
  --linen-2: #EFE4DD;
  --sage-wash: #E9EDE3;
  --rose-wash: #F3E2DE;
  --rose: #D9A9A7;
  --rose-deep: #A9696D;
  --sage: #A9B79A;
  --sage-deep: #5E7254;
  --forest: #2E3B2C;
  --ink: #3A3530;
  --ochre: #C7A46A;
  --bark: #6E5848;
  --line: #D9CCC2;
  --white: #FFFCFA;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --measure: 38rem;
  --radius: 6px;
  --arch: 999px 999px 6px 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--linen); color: var(--ink);
  font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 500; color: var(--forest); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- preview banner ---------- */
.preview-note {
  display: none; position: fixed; z-index: 60; left: 50%; bottom: 1rem; transform: translateX(-50%);
  background: var(--forest); color: var(--linen); font-size: .95rem; padding: .55rem 1rem; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(46,59,44,.25); max-width: calc(100% - 2rem); text-align: center;
}
.preview-note.show { display: block; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: .6rem clamp(1rem, 4vw, 2.5rem); background: rgba(246,238,233,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); transform: translateY(-100%); transition: transform .35s ease;
}
.nav.show { transform: none; }
.nav__mark { font-family: var(--script); font-size: 1.9rem; color: var(--forest); text-decoration: none; line-height: 1; }
.nav__links { display: flex; gap: clamp(.8rem, 1.6vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--forest); font-size: 1.05rem; }
.nav__links a:hover { color: var(--rose-deep); }
.nav__links a.rsvp-link { color: var(--rose-deep); font-weight: 600; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font: inherit; font-size: 1rem; color: var(--forest); cursor: pointer; }
@media (max-width: 1240px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--linen); border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .nav__links.open { display: flex; }
  .nav__links a { display: block; padding: .55rem clamp(1rem, 4vw, 2.5rem); }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; background: #C3CBBA; }
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 700px) { .hero__scene { top: auto; bottom: 0; height: 64%; } }
.hero__text { position: relative; z-index: 2; align-self: start; justify-self: center; text-align: center; padding: clamp(5rem, 16vh, 10rem) 1.5rem 0; }
.hero__names { font-family: var(--script); font-weight: 400; color: var(--forest); font-size: clamp(4.2rem, 13vw, 9.5rem); line-height: .95; letter-spacing: .01em; }
.hero__names span { display: block; font-family: var(--serif); font-style: italic; font-size: .28em; margin: .1em 0 .05em; color: var(--rose-deep); }
.hero__date { margin-top: 1.4rem; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--forest); letter-spacing: .04em; }
.hero__place { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--bark); font-style: italic; margin-top: .2rem; }
.hero__cue { margin-top: 1.8rem; display: inline-block; padding: .55rem 1.5rem; border: 1px solid var(--forest); border-radius: 999px; color: var(--forest); text-decoration: none; font-size: 1.05rem; background: rgba(246,238,233,.35); }
.hero__cue:hover { background: var(--forest); color: var(--linen); }

.hero .sun { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero .sun { animation: rise 2.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero__text > * { animation: fadein 1.4s ease both; }
  .hero__text > *:nth-child(2) { animation-delay: .5s; }
  .hero__text > *:nth-child(3) { animation-delay: .7s; }
  .hero__text > *:nth-child(4) { animation-delay: .9s; }
  @keyframes rise { from { transform: translateY(70px); opacity: .2; } to { transform: none; opacity: 1; } }
  @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
}

/* hero with a real photo */
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__veil { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
  background: linear-gradient(180deg, rgba(243,226,222,.86) 0%, rgba(243,226,222,.62) 34%, rgba(243,226,222,0) 60%, rgba(46,59,44,.15) 80%, rgba(46,59,44,.9) 100%); }
.hero--photo .hero__photo, .hero--photo .hero__veil { opacity: 1; }
.hero--photo .hero__scene { opacity: 0; transition: opacity 1.2s ease; }
.hero--photo .hero__cue { background: rgba(246,238,233,.75); }
.hero--photo .hero__text::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(150%, 60rem); height: 125%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(246,238,233,.78) 0%, rgba(246,238,233,.5) 42%, rgba(246,238,233,0) 70%); pointer-events: none; }
.hero--photo .hero__date, .hero--photo .hero__place { color: var(--forest); text-shadow: 0 0 14px rgba(246,238,233,.95), 0 0 4px rgba(246,238,233,.9); }

/* ---------- photo bands between sections ---------- */
.band { position: relative; margin: 0; height: clamp(15rem, 46vw, 34rem); overflow: hidden; background: var(--sage-wash); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(217,169,167,.14) 0%, rgba(46,59,44,0) 45%, rgba(46,59,44,.45) 100%); }
.band figcaption { position: absolute; z-index: 1; left: clamp(1.25rem, 5vw, 3rem); bottom: clamp(.9rem, 2.5vw, 1.6rem); color: var(--white); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.5rem); text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* ---------- venue photos ---------- */
.venue-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(9rem, 15vw, 13rem); gap: .8rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.venue-photos figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.venue-photos figure:first-child { grid-row: span 2; }
.venue-photos button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.venue-photos button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.venue-photos img { width: 100%; height: 100%; object-fit: cover; }
.venue-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .8rem .55rem; color: var(--white); font-style: italic; font-size: 1rem; background: linear-gradient(180deg, transparent, rgba(46,59,44,.7)); pointer-events: none; }
.venue-photos[data-n="1"] { grid-template-columns: 1fr; grid-auto-rows: clamp(14rem, 40vw, 26rem); }
.venue-photos[data-n="1"] figure:first-child { grid-row: auto; }
.venue-photos[data-n="2"] { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(12rem, 26vw, 20rem); }
.venue-photos[data-n="2"] figure:first-child { grid-row: auto; }
@media (max-width: 700px) {
  .venue-photos, .venue-photos[data-n="2"] { grid-template-columns: 1fr 1fr; grid-auto-rows: 9.5rem; }
  .venue-photos figure:first-child { grid-column: span 2; grid-row: span 2; }
}

/* ---------- countdown ---------- */
.countdown { background: var(--forest); color: var(--linen); text-align: center; padding: 2.6rem 1rem 2.8rem; }
.countdown__grid { display: flex; justify-content: center; gap: clamp(1.2rem, 6vw, 4.5rem); }
.countdown__n { display: block; font-size: clamp(2.8rem, 9vw, 5rem); line-height: 1; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; }
.countdown__l { display: block; font-style: italic; color: var(--rose); font-size: 1.05rem; margin-top: .3rem; }
.countdown__lead { margin: 0 0 1.2rem; font-style: italic; color: #CFD7C6; }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 3rem); }
.section--sage { background: var(--sage-wash); }
.section--rose { background: var(--rose-wash); }
.section--linen2 { background: var(--linen-2); }
.wrap { max-width: 68rem; margin: 0 auto; }
.wrap--narrow { max-width: var(--measure); margin: 0 auto; }
.head { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.head h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 500; }
.head p { max-width: 34rem; margin: .9rem auto 0; color: var(--bark); }
.sprig { display: block; width: 92px; height: 22px; margin: 0 auto .9rem; color: var(--sage-deep); }

/* story */
.story { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.story__photo { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: var(--arch); }
.story__text { max-width: var(--measure); }
.story__text p:first-child::first-letter { font-family: var(--script); float: left; font-size: 4.6rem; line-height: .8; padding: .25rem .5rem 0 0; color: var(--rose-deep); }
@media (max-width: 760px) { .story.has-photo { grid-template-columns: 1fr; } .story__photo { max-width: 22rem; margin: 0 auto; } }

/* timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 46rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.5rem; top: .6rem; bottom: .6rem; width: 1px; background: var(--sage); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 2rem; padding: 0 0 2.2rem; position: relative; }
.timeline li::after { content: ""; position: absolute; left: calc(7.5rem - 6px); top: .55rem; width: 13px; height: 13px; border-radius: 50%; background: var(--linen); border: 2px solid var(--rose-deep); }
.timeline li:last-child::after { background: var(--rose-deep); }
.timeline__when { text-align: right; font-style: italic; color: var(--rose-deep); padding-top: .1rem; }
.timeline h3 { font-size: 1.55rem; }
.timeline p { margin: .2rem 0 0; color: var(--ink); }
@media (max-width: 560px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: .1rem; padding-left: 2rem; }
  .timeline li::after { left: 0; }
  .timeline__when { text-align: left; }
}

/* gallery */
.gallery { columns: 3 16rem; column-gap: 1rem; }
.gallery button { all: unset; display: block; margin: 0 0 1rem; break-inside: avoid; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
.gallery img { width: 100%; height: auto; }
.empty { text-align: center; color: var(--bark); font-style: italic; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(32,40,30,.88); }
.lightbox img { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: var(--radius); }
.lightbox p { color: var(--linen); text-align: center; margin: .7rem 0 0; font-style: italic; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; background: var(--linen); border: 0; border-radius: 999px; padding: .35rem 1rem; font: inherit; font-size: 1rem; cursor: pointer; }

/* wedding party */
.party { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.party h3 { text-align: center; font-size: 1.9rem; margin-bottom: 1.8rem; font-style: italic; }
.party__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 2rem 1.2rem; list-style: none; padding: 0; margin: 0; }
.person { text-align: center; }
.person__pic { width: 100%; max-width: 10rem; aspect-ratio: 3/4; margin: 0 auto .9rem; border-radius: var(--arch); object-fit: cover; background: var(--sage); display: grid; place-items: center; color: var(--white); font-size: 2.2rem; font-style: italic; }
.party__side--bride .person__pic:not(img) { background: var(--rose); }
.person__name { font-size: 1.3rem; color: var(--forest); line-height: 1.2; }
.person__role { color: var(--rose-deep); font-style: italic; font-size: 1.05rem; }
.person__note { font-size: 1.02rem; color: var(--bark); margin-top: .3rem; line-height: 1.4; }
@media (max-width: 720px) { .party { grid-template-columns: 1fr; } }

/* agenda */
.agenda { list-style: none; padding: 0; margin: 0 auto; max-width: 36rem; }
.agenda li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.agenda li:last-child { border-bottom: 0; }
.agenda__time { font-size: 1.6rem; color: var(--rose-deep); font-variant-numeric: lining-nums tabular-nums; line-height: 1.2; }
.agenda h3 { font-size: 1.45rem; }
.agenda p { margin: .1rem 0 0; color: var(--bark); }

/* venue */
.venue { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.venue__map { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius); background: var(--sage-wash); filter: saturate(.75) sepia(.12); }
.venue h3 { font-size: 1.9rem; }
.venue__area { color: var(--rose-deep); font-style: italic; margin-bottom: 1rem; }
.steps { padding-left: 1.4rem; margin: 1.2rem 0; }
.steps li { margin-bottom: .6rem; padding-left: .3rem; }
.steps li::marker { color: var(--rose-deep); font-style: italic; }
.tips { list-style: none; padding: 0; margin: 1rem 0 1.4rem; color: var(--bark); font-size: 1.08rem; }
.tips li { padding-left: 1.3rem; position: relative; margin-bottom: .3rem; }
.tips li::before { content: ""; position: absolute; left: 0; top: .65em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sage); }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 820px) { .venue { grid-template-columns: 1fr; } }

/* dress code */
.dress { max-width: 46rem; margin: 0 auto; text-align: center; }
.dress__title { font-family: var(--script); font-size: clamp(3rem, 8vw, 4.4rem); color: var(--rose-deep); line-height: 1; margin-bottom: 1rem; font-weight: 400; }
.swatches { display: flex; justify-content: center; gap: .7rem; margin: 1.6rem 0 2.4rem; }
.swatches span { width: 2.8rem; height: 3.6rem; border-radius: var(--arch); border: 1px solid rgba(0,0,0,.06); }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; text-align: left; }
.dos h3 { font-size: 1.4rem; margin-bottom: .5rem; font-style: italic; }
.dos ul { margin: 0; padding-left: 1.2rem; }
.dos li { margin-bottom: .4rem; }
@media (max-width: 600px) { .dos { grid-template-columns: 1fr; } }

/* accommodation */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.4rem; margin-bottom: 3.5rem; }
.room { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.room img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.room__body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.room h3 { font-size: 1.5rem; }
.room__price { font-size: 1.45rem; color: var(--forest); }
.room__price small { font-size: 1rem; color: var(--bark); font-style: italic; }
.room__meta { color: var(--bark); font-size: 1.05rem; }
.room__left { margin-top: auto; padding-top: .6rem; color: var(--sage-deep); font-style: italic; }
.room__left.none { color: var(--rose-deep); }

/* registry */
.gifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.4rem; }
.gift { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.gift__img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--linen-2); }
.gift__ph { aspect-ratio: 1; background: var(--linen-2); display: grid; place-items: center; color: var(--sage-deep); }
.gift__ph svg { width: 40%; opacity: .55; }
.gift__body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.gift h3 { font-size: 1.35rem; }
.gift__desc { color: var(--bark); font-size: 1.04rem; line-height: 1.4; }
.gift__store { font-size: 1.04rem; }
.gift__price { font-size: 1.3rem; color: var(--forest); }
.gift__need { font-style: italic; color: var(--sage-deep); font-size: 1.05rem; }
.gift__actions { margin-top: auto; padding-top: .8rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.gift.done { opacity: .62; }
.gift.done .gift__need { color: var(--rose-deep); }
.gift-filter { display: flex; justify-content: center; gap: .5rem; margin: -1.4rem 0 2rem; flex-wrap: wrap; }

/* honeymoon */
.honey { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.bank { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.bank h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.bank dl { display: grid; grid-template-columns: auto 1fr auto; gap: .45rem 1rem; margin: 0; align-items: baseline; }
.bank dt { color: var(--bark); font-style: italic; }
.bank dd { margin: 0; color: var(--forest); font-variant-numeric: lining-nums; word-break: break-word; }
.copy { font: inherit; font-size: .9rem; border: 1px solid var(--line); background: none; border-radius: 999px; padding: .05rem .6rem; color: var(--sage-deep); cursor: pointer; }
.progress { margin: 1.4rem 0 0; }
.progress__bar { height: .55rem; background: var(--linen-2); border-radius: 999px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--rose)); }
.progress p { margin: .4rem 0 0; color: var(--bark); font-size: 1.05rem; }
@media (max-width: 760px) { .honey { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); max-width: 44rem; margin: 0 auto; }
.form h3 { font-size: 1.75rem; margin-bottom: .3rem; }
.form > p { color: var(--bark); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row--3 { grid-template-columns: 1fr 1fr 1.2fr; }
@media (max-width: 620px) { .row, .row--3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1rem; }
.field > span, .legend { font-size: 1.02rem; color: var(--forest); }
.field > span em, .legend em { color: var(--bark); font-size: .95rem; }
input, select, textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--linen); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .5rem .7rem; width: 100%; min-height: 2.75rem;
}
textarea { min-height: 5.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage-deep); }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.choices { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .4rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: .5rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: var(--linen); cursor: pointer; }
.choice input:checked + span { background: var(--forest); color: var(--linen); border-color: var(--forest); }
.choice input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.guest-row { border-top: 1px dashed var(--line); padding-top: 1rem; margin-top: .2rem; position: relative; }
.guest-row:first-of-type { border-top: 0; padding-top: 0; }
.guest-row__x { position: absolute; right: 0; top: .6rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.stay-nights { margin: 0; padding: .55rem .9rem; background: var(--sage-wash); border: 1px solid var(--sage); border-radius: var(--radius); color: var(--forest); }
.stay-note { color: var(--sage-deep) !important; font-style: italic; }
.total { font-size: 1.35rem; color: var(--forest); margin: .3rem 0 1.2rem; }
.total small { color: var(--bark); font-size: 1rem; font-style: italic; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: inherit; font-size: 1.08rem; font-weight: 600; padding: .55rem 1.4rem; border-radius: 999px; border: 1px solid var(--forest); background: var(--forest); color: var(--linen); cursor: pointer; text-decoration: none; min-height: 2.75rem; }
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--linen); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--linen); }
.btn--rose { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn--rose:hover { background: #8E5458; border-color: #8E5458; }
.btn--small { font-size: 1rem; padding: .3rem 1rem; min-height: 2.3rem; }
.btn--link { background: none; border: 0; color: var(--rose-deep); padding: 0; min-height: 0; font-weight: 500; text-decoration: underline; }
.btn--link:hover { background: none; color: var(--forest); }
.btn[disabled] { opacity: .55; cursor: default; }

.msg { margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--radius); display: none; }
.msg.show { display: block; }
.msg.ok { background: var(--sage-wash); color: var(--forest); border: 1px solid var(--sage); }
.msg.err { background: var(--rose-wash); color: #7B3D42; border: 1px solid var(--rose); }

dialog.sheet { border: 0; border-radius: var(--radius); padding: 0; max-width: min(32rem, 94vw); width: 100%; background: var(--white); color: var(--ink); }
dialog.sheet::backdrop { background: rgba(32,40,30,.55); }
dialog.sheet .form { border: 0; }

/* footer */
.foot { background: var(--forest); color: #D7DDCF; text-align: center; padding: 0 0 2.6rem; }
.foot > div, .foot > p { padding: 0 1rem; }
.foot svg { display: block; width: 100%; height: auto; margin-bottom: 1.6rem; }
.foot__names { font-family: var(--script); font-size: 3.2rem; color: var(--rose); line-height: 1; }
.foot p { margin: .4rem 0 0; }
.foot a { color: var(--rose); }
.foot__credit { font-size: .95rem; color: #AEB8A6; font-style: italic; }

@media print { .nav, .hero__scene, .countdown, form, .preview-note { display: none !important; } }

/* language switch */
.lang-btn { font: inherit; font-size: .98rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .8rem; color: var(--forest); cursor: pointer; }
.lang-btn:hover { background: var(--forest); color: var(--linen); border-color: var(--forest); }
.lang-btn--hero { position: absolute; z-index: 3; top: max(1rem, env(safe-area-inset-top)); right: clamp(1rem, 4vw, 2.5rem); background: rgba(246,238,233,.6); border-color: rgba(46,59,44,.35); }
@media (max-width: 1240px) { .nav__links .lang-btn { margin: .4rem clamp(1rem, 4vw, 2.5rem); } }
