@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --white: #fff;
  --ground: #faf6ed;
  --ink: #172b30;
  --muted: #637277;
  --wine: #0e6570;
  --wine-dark: #073f48;
  --green: #0a5661;
  --brass: #d8ad5c;
  --sand: #f3e5d2;
  --line: rgba(23, 43, 48, .17);
  --display: 'Libre Caslon Display', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body { margin: 0; overflow-x: hidden; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--wine); color: var(--white); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.section { width: min(100%, var(--max)); margin-inline: auto; padding: clamp(6rem, 11vw, 10rem) clamp(1.5rem, 5vw, 4rem); }
.section-label { margin: 0 0 1rem; color: var(--wine); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
h2 { margin: 0; font: 400 clamp(3rem, 6vw, 5.6rem)/1.02 var(--display); letter-spacing: -.025em; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; min-height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 1rem clamp(1.5rem, 4vw, 4rem); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); transition: min-height .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.site-header.is-scrolled { min-height: 70px; background: rgba(250,246,237,.96); color: var(--wine-dark); border-color: rgba(14,101,112,.18); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand__mark { font: 500 1.4rem/1 var(--display); letter-spacing: -.07em; }
.brand__mark span, .site-footer__mark span { color: var(--brass); font-style: italic; }
.brand__date { padding-left: 1rem; border-left: 1px solid currentColor; font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.navigation { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.navigation__meta { display: none; }
.navigation a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.navigation a:not(.navigation__response) { position: relative; }
.navigation a:not(.navigation__response)::after { position: absolute; inset: auto 0 7px; height: 1px; content: ''; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.navigation a:not(.navigation__response):hover::after { transform: scaleX(1); transform-origin: left; }
.navigation__response { padding: 0 1.25rem; background: var(--wine); color: var(--white); }
.site-header:not(.is-scrolled) .navigation__response { background: var(--white); color: var(--wine-dark); }
.menu-button { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: .65rem; border: 0; background: transparent; color: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.menu-button i, .menu-button i::after { width: 20px; height: 1px; display: block; background: currentColor; content: ''; transition: transform .3s var(--ease); }
.menu-button i::after { transform: translateY(6px); }
.menu-button[aria-expanded='true'] i { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded='true'] i::after { transform: rotate(-90deg); }

.wedding-hero { position: relative; min-height: max(760px, 100svh); overflow: hidden; background: #073f48; color: var(--white); isolation: isolate; }
.wedding-hero__photo { position: absolute; z-index: -3; inset: 0; background: #073f48 url('../images/couple/optimized/miyajima-hero-canvas.jpg') 50% 50% / cover no-repeat; }
.wedding-hero__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(2,28,33,.42) 0%, rgba(2,28,33,.16) 52%, rgba(2,28,33,.03) 100%), linear-gradient(180deg, rgba(2,28,33,.22) 0%, transparent 50%, rgba(2,27,32,.58) 100%); }
.wedding-hero__inner { width: min(100%, 1440px); min-height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; margin-inline: auto; padding: 9rem clamp(1.5rem, 6vw, 6rem) 2rem; }
.wedding-hero__copy { width: min(100%, 720px); padding-bottom: clamp(4.5rem, 8vh, 7rem); }
.wedding-hero__kicker { margin: 0 0 1.1rem; color: #f0ce83; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.wedding-hero h1 { margin: 0; font: 400 clamp(5rem, 9vw, 8.25rem)/.78 var(--display); letter-spacing: -.055em; text-shadow: 0 2px 32px rgba(0,0,0,.28); }
.wedding-hero h1 span { display: block; }
.wedding-hero h1 i { display: inline-block; margin: .08em .12em .02em .38em; color: #f0ce83; font-size: .48em; font-weight: 400; }
.wedding-hero h1 i + span { display: inline-block; }
.wedding-hero__event { display: flex; align-items: center; gap: 1.35rem; margin-top: 2rem; }
.wedding-hero__event time, .wedding-hero__event p { display: grid; gap: .2rem; margin: 0; }
.wedding-hero__event strong { font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.wedding-hero__event small { color: rgba(255,255,255,.72); font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.wedding-hero__rule { width: 1px; height: 42px; background: rgba(255,255,255,.42); }
.wedding-hero__rsvp { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2rem; padding: .85rem 1.45rem; background: var(--brass); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; transition: background .25s, transform .25s var(--ease); }
.wedding-hero__rsvp:hover { background: #f0ce83; transform: translateY(-2px); }
.wedding-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.32); }
.wedding-hero__foot a { min-height: 44px; display: inline-flex; align-items: center; gap: .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.wedding-hero__foot p { margin: 0; color: rgba(255,255,255,.62); font-size: .62rem; }
.action-arrow { width: 46px; height: 14px; flex: 0 0 46px; overflow: visible; }
.action-arrow path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }


.program { background: var(--ground); }
.program__heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(3rem, 9vw, 9rem); margin-bottom: clamp(4rem, 8vw, 7rem); }
.program__heading > p { max-width: 500px; margin: 0 0 .5rem; color: var(--muted); font-size: 1.05rem; }
.timeline { position: relative; max-width: 980px; margin-left: auto; }
.timeline::before { position: absolute; top: 1rem; bottom: 1rem; left: 130px; width: 1px; content: ''; background: rgba(23,43,48,.24); }
.timeline__item { position: relative; display: grid; grid-template-columns: 120px 20px 1fr; min-height: 180px; border-top: 1px solid var(--line); }
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__item time { display: flex; flex-direction: column; align-items: flex-end; padding-top: 2.25rem; color: var(--ink); font: 500 1.4rem/1 var(--body); letter-spacing: .04em; }
.timeline__item time small { margin-top: .25rem; color: var(--muted); font-size: .72rem; font-weight: 500; }
.timeline__point { position: relative; z-index: 1; width: 12px; height: 12px; justify-self: center; margin-top: 2.7rem; border: 0; border-radius: 50%; background: var(--wine-dark); box-shadow: 0 0 0 4px var(--ground), 0 0 0 5px rgba(7,63,72,.3); }
.timeline__item > div { padding: 2.25rem 0 2.5rem 1.65rem; }
.timeline__item h3 { margin: 0 0 .75rem; color: var(--ink); font: 400 1.8rem/1.2 var(--display); }
.timeline__item p { max-width: 480px; margin: 0; color: var(--muted); font-size: .92rem; }
.timeline__item:nth-child(3) { min-height: 200px; }
.timeline__item:nth-child(4) { min-height: 190px; }
.timeline__item--accent h3 { color: var(--wine); }
.timeline__item--accent .timeline__point { background: var(--wine); box-shadow: 0 0 0 4px var(--ground), 0 0 0 6px rgba(216,173,92,.38); }
.timeline__item--pending { color: #73746f; }
.timeline__item--optional { color: var(--muted); }
.timeline__item--optional .timeline__point { width: 8px; height: 8px; margin-top: 2.82rem; border: 1px solid rgba(7,63,72,.65); background: var(--ground); box-shadow: 0 0 0 4px var(--ground); }
.timeline__item--optional time { color: var(--muted); }
.timeline__item--optional h3 { color: var(--muted); }
.timeline__item--optional h3 em { font-weight: 400; }
.timeline__item--optional h3 span { display: inline-block; margin-left: .35rem; font: italic 500 .72rem/1.4 var(--body); letter-spacing: .02em; }
.timeline__item--optional h3 span strong { color: var(--wine-dark); font-weight: 700; }
.timeline__item--optional h3 span small { font: inherit; }


.practical__heading { max-width: 850px; margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.venue { display: grid; grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr); min-height: 470px; margin-bottom: clamp(2.5rem, 5vw, 4rem); border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 60px rgba(23,43,48,.08); }
.venue__map { min-height: 470px; background: #dfe4df; }
.venue__map iframe { width: 100%; height: 100%; min-height: 470px; display: block; border: 0; filter: saturate(.78) contrast(.95); }
.venue__content { display: flex; flex-direction: column; padding: clamp(2.25rem, 4vw, 4rem); }
.venue__content .section-label { margin-bottom: .8rem; }
.venue__content > h3 { margin: 0; font: 400 clamp(2.4rem, 4vw, 4rem)/1.02 var(--display); letter-spacing: -.025em; }
.venue__content address { margin-top: 1.25rem; color: var(--muted); font-style: normal; line-height: 1.6; }
.venue__maps-link { width: fit-content; display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.6rem; padding-bottom: .3rem; border-bottom: 1px solid var(--wine); color: var(--wine); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.venue__maps-link span { font-size: 1rem; line-height: 1; }
.venue__access { display: grid; margin-top: 1.8rem; padding-top: 0; }
.venue__access article { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.venue__access h4 { margin: 0; font: 400 1.25rem/1.2 var(--display); }
.venue__access p { margin: .35rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.venue__access strong { color: var(--ink); font-weight: 700; }
.practical__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.practical__list article { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.practical__list h3 { margin: 0; color: var(--ink); font: 400 1.4rem/1.2 var(--display); }
.practical__list p { margin: 0; color: var(--muted); font-size: .88rem; }
.practical__list span { margin-top: auto; color: var(--wine); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(4rem, 9vw, 9rem); border-top: 1px solid var(--line); }
.faq header { position: sticky; top: 110px; align-self: start; }
.accordion { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; min-height: 76px; display: flex; align-items: center; padding: 1.25rem 3rem 1.25rem 0; cursor: pointer; list-style: none; font: 500 clamp(1.2rem, 2vw, 1.55rem)/1.25 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: .2rem; content: '+'; color: var(--wine); font: 400 2.4rem var(--body); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 650px; margin: -.1rem 0 1.6rem; color: var(--muted); }

.gifts { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(4rem, 9vw, 9rem); background: var(--sand); }
.gifts__visual { position: relative; width: min(100%, 1020px); justify-self: end; margin: 0 0 2rem; }
.gifts__visual::after { position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; content: ''; border: 1px solid rgba(14,101,112,.3); pointer-events: none; }
.gifts__visual img { position: relative; z-index: 1; width: 100%; height: auto; display: block; box-shadow: 0 24px 60px rgba(36,34,29,.13); }
.gifts__content h2 { margin: 0; color: var(--ink); font: 400 clamp(3.25rem, 5.4vw, 5.3rem)/1.05 var(--display); letter-spacing: -.02em; }
.gifts__content h2 i { color: var(--brass); }
.gifts__content > p:not(.section-label) { max-width: 650px; margin: 1.4rem 0 0; color: var(--muted); }
.gifts__payment { max-width: 590px; display: grid; gap: .35rem; margin-top: 2.25rem; padding: 1.4rem 1.5rem; border-block: 1px solid rgba(14,101,112,.32); color: var(--wine); }
.gifts__payment span { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gifts__payment strong { font: 500 clamp(1.55rem, 2.4vw, 2.1rem)/1.15 var(--display); }
.gifts__payment small { color: var(--muted); font-size: .72rem; }

.rsvp { position: relative; overflow: hidden; padding: clamp(7rem, 11vw, 10rem) clamp(1.5rem, 5vw, 4rem); background: linear-gradient(135deg, #073f48 0%, #0e6570 100%); color: var(--white); }
.rsvp::before { position: absolute; inset: 22px; content: ''; border: 1px solid rgba(255,255,255,.32); pointer-events: none; }
.rsvp__monogram { position: absolute; top: 2rem; left: 50%; color: transparent; font: 500 clamp(11rem, 27vw, 28rem)/1 var(--display); letter-spacing: -.12em; -webkit-text-stroke: 1px rgba(255,255,255,.09); transform: translateX(-50%); white-space: nowrap; pointer-events: none; }
.rsvp__shell { position: relative; z-index: 1; width: min(100%, 760px); display: grid; grid-template-columns: 1fr; align-items: start; gap: clamp(3.5rem, 6vw, 5.5rem); margin-inline: auto; }
.rsvp__intro { position: static; padding: 1rem clamp(1rem, 4vw, 3rem) 0; text-align: center; }
.rsvp__intro > p, .rsvp-confirmation__copy > p:first-child { margin: 0 0 1.25rem; color: #f0ce83; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rsvp h2 { font-size: clamp(4rem, 7.2vw, 6.5rem); }
.rsvp__intro > span { display: block; max-width: 560px; margin: 1.5rem auto 0; color: rgba(255,255,255,.78); }
.rsvp__panel { min-width: 0; padding: clamp(2.75rem, 6vw, 5rem); border: 1px solid rgba(216,173,92,.55); background: var(--ground); color: var(--ink); box-shadow: 0 30px 70px rgba(3,28,33,.28); }
.rsvp-form { display: grid; gap: 2.75rem; }
.form-field { display: grid; gap: .7rem; }
.form-field label, .form-choice legend, .form-activity legend { color: var(--ink); font-size: .72rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-field label em { color: var(--muted); font-size: .62rem; font-style: normal; font-weight: 500; letter-spacing: .04em; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 54px; padding: .85rem 0; border: 0; border-bottom: 1px solid #8c8d88; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: 500 1rem/1.5 var(--body); transition: border-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 106px; resize: vertical; }
.form-field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--wine) 50%) calc(100% - 11px) 50% / 6px 6px no-repeat, linear-gradient(135deg, var(--wine) 50%, transparent 50%) calc(100% - 5px) 50% / 6px 6px no-repeat; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--wine); box-shadow: 0 2px 0 var(--wine); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #7c7d78; opacity: 1; }
.form-field > small:not(.field-error), .form-note { color: var(--muted); font-size: .72rem; }
.form-choice, .form-activity { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-choice legend, .form-activity legend { margin-bottom: 1.2rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.choice-grid label { position: relative; min-height: 64px; display: grid; place-items: center; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { width: 100%; min-height: 64px; display: grid; place-items: center; padding: .8rem; border: 1px solid #a3a49e; color: var(--ink); font-size: .78rem; font-weight: 700; text-align: center; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.choice-grid label:hover span { border-color: var(--wine); transform: translateY(-1px); }
.choice-grid input:checked + span { border-color: var(--wine); background: var(--wine); color: var(--white); }
.choice-grid input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 3px; }
.form-conditional { display: grid; gap: 2.4rem; padding: 2.35rem; border-left: 2px solid var(--brass); background: rgba(14,101,112,.045); }
.attendee-list { display: grid; gap: 1.25rem; }
.attendee-entry { display: grid; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--line); background: rgba(255,255,255,.62); }
.attendee-entry > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.attendee-entry > header span { color: var(--wine); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.attendee-entry > header strong { overflow-wrap: anywhere; font: 400 1.25rem/1.2 var(--display); text-align: right; }
.ceremony-choice { min-height: 96px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.4rem; border: 1px solid rgba(14,101,112,.32); background: var(--white); cursor: pointer; }
.ceremony-choice input { width: 22px; height: 22px; margin: .2rem 0 0; accent-color: var(--wine); }
.ceremony-choice span { display: grid; gap: .4rem; }
.ceremony-choice strong { color: var(--ink); font-size: .84rem; line-height: 1.5; }
.ceremony-choice small { color: var(--muted); font-size: .7rem; line-height: 1.55; }
.ceremony-choice.is-full { cursor: not-allowed; opacity: .58; }
.ceremony-availability { width: fit-content; justify-self: end; margin: -1.55rem 0 0; padding: .45rem .7rem; background: rgba(7,63,72,.07); color: var(--muted); font-size: .72rem; line-height: 1.35; text-align: right; }
.ceremony-availability strong { color: var(--wine-dark); font-size: 1rem; }
.ceremony-availability.is-insufficient { background: #f8e8ec; color: #6d1027; }
.ceremony-availability.is-insufficient strong { color: #8f1835; }

.form-activity .form-conditional { margin-top: 1.25rem; }
.check-line { min-height: 48px; display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: .85rem; cursor: pointer; }
.check-line input { width: 22px; height: 22px; margin: .18rem 0 0; accent-color: var(--wine); }
.check-line span { color: var(--ink); font-size: .92rem; }
.check-line--privacy { padding-top: .25rem; }
.check-line--privacy span { color: var(--muted); font-size: .78rem; }
.form-status { padding: 1rem 1.1rem; border-left: 3px solid #9d233f; background: #f8e8ec; color: #6d1027; font-size: .85rem; font-weight: 600; }
.field-error { min-height: 0; color: #8f1835; font-size: .72rem; font-weight: 700; }
.field-error:empty { display: none; }
.form-submit { width: 100%; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .25rem; padding: .9rem 1.25rem; border: 1px solid var(--wine); background: var(--wine); color: var(--white); cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s, transform .25s var(--ease); }
.form-submit:hover:not(:disabled) { background: var(--wine-dark); transform: translateY(-2px); }
.form-submit:disabled { cursor: wait; opacity: .68; }
.form-submit.is-loading .action-arrow { animation: loading-line .8s ease-in-out infinite alternate; }
.form-note { margin: -1rem 0 0; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.rsvp-confirmation { min-height: 580px; display: grid; grid-template-columns: 84px minmax(0, 1fr); align-content: center; gap: 0 2rem; padding: 1rem 0; }
.rsvp-confirmation__mark { width: 78px; height: 78px; display: grid; place-items: center; grid-row: 1 / span 2; align-self: start; border: 1px solid var(--brass); border-radius: 50%; color: var(--wine); }
.rsvp-confirmation__mark span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(216,173,92,.45); border-radius: 50%; font: 600 1.25rem var(--body); }
.rsvp-confirmation__copy { min-width: 0; }
.rsvp-confirmation__copy > p:first-child { color: var(--wine); }
.rsvp-confirmation h3 { max-width: 540px; margin: 0; font: 400 clamp(3.4rem, 6vw, 5.2rem)/.98 var(--display); letter-spacing: -.035em; }
.rsvp-confirmation__copy > span { display: block; max-width: 500px; margin-top: 1.75rem; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.rsvp-confirmation__summary { max-width: 540px; margin: 1.5rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--brass); background: rgba(14,101,112,.07); color: var(--ink); font-size: .86rem; line-height: 1.65; }
.rsvp-confirmation__event { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rsvp-confirmation__event i { width: 3px; height: 3px; border-radius: 50%; background: var(--brass); }
.rsvp-confirmation__actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.rsvp-confirmation button { min-height: 50px; padding: .85rem 1.15rem; border: 1px solid var(--wine); background: var(--wine); color: var(--white); cursor: pointer; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s var(--ease); }
.rsvp-confirmation button:hover { background: var(--wine-dark); transform: translateY(-1px); }
.rsvp-confirmation .button-quiet { background: transparent; color: var(--wine); }
.rsvp-confirmation .button-quiet:hover { background: rgba(14,101,112,.07); }
[hidden] { display: none !important; }

.site-footer { min-height: 170px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.5rem, 5vw, 5rem); background: linear-gradient(120deg, #052f36, #0b5964); color: var(--white); }
.site-footer__mark { font: 500 2rem/1 var(--display); letter-spacing: -.08em; }
.site-footer p { margin: 0; font-size: .78rem; text-align: center; }
.site-footer p span { color: rgba(255,255,255,.58); }
.site-footer a { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

@keyframes loading-line { from { transform: translateX(-6px); } to { transform: translateX(2px); } }

@media (max-width: 900px) {
  .program__heading, .faq, .gifts, .rsvp__shell { grid-template-columns: 1fr; }
  .program__heading { align-items: start; gap: 2rem; }
  .faq header { position: static; }
  .rsvp__intro { position: static; }
  .venue { grid-template-columns: 1fr; }
  .venue__map, .venue__map iframe { min-height: 360px; }
  .venue__access { margin-top: 1.8rem; }
  .practical__list { grid-template-columns: 1fr; }
  .practical__list article { min-height: 0; }
}

@media (max-width: 720px) {
  .site-header { min-height: 72px; }
  .menu-button { display: flex; }
  .navigation { position: fixed; inset: 0; z-index: -1; min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; overflow: hidden; padding: 6.5rem 1.5rem 2rem; background: linear-gradient(155deg, #073f48, #0e6570); color: var(--white); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .65s var(--ease), visibility .65s; counter-reset: menu-item; }
  .navigation::before { position: absolute; right: -1rem; bottom: 4rem; content: 'T&A'; color: transparent; font: 400 10rem/1 var(--display); letter-spacing: -.1em; -webkit-text-stroke: 1px rgba(255,255,255,.1); pointer-events: none; }
  .navigation.is-open { visibility: visible; clip-path: inset(0); }
  .navigation a { position: relative; width: 100%; min-height: 68px; display: flex; align-items: center; padding: .75rem 0 .75rem 3rem; border-bottom: 1px solid rgba(255,255,255,.18); font: 400 clamp(2rem, 10vw, 2.8rem)/1 var(--display); letter-spacing: -.015em; text-transform: none; opacity: 0; transform: translateY(18px); transition: opacity .35s var(--ease), transform .45s var(--ease), color .25s; counter-increment: menu-item; }
  .navigation a::before { position: absolute; left: 0; content: '0' counter(menu-item); color: #f0ce83; font: 700 .62rem/1 var(--body); letter-spacing: .1em; }
  .navigation.is-open a { opacity: 1; transform: translateY(0); }
  .navigation.is-open a:nth-child(1) { transition-delay: .16s; }
  .navigation.is-open a:nth-child(2) { transition-delay: .22s; }
  .navigation.is-open a:nth-child(3) { transition-delay: .28s; }
  .navigation.is-open a:nth-child(4) { transition-delay: .34s; }
  .navigation.is-open a:nth-child(5) { transition-delay: .4s; }
  .navigation a:not(.navigation__response)::after { inset: auto 0 0; }
  .navigation__response, .site-header:not(.is-scrolled) .navigation__response { margin-top: .5rem; padding-left: 3rem; background: transparent; color: #f0ce83; }
  .navigation__meta { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.18); }
  .navigation__meta span { font: 400 1.2rem/1.2 var(--display); }
  .navigation__meta small { margin-top: .35rem; color: rgba(255,255,255,.58); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
  .menu-open .site-header { color: var(--white); border-color: transparent; background: transparent; backdrop-filter: none; }
  .brand { position: relative; z-index: 1; }
  .menu-button { position: relative; z-index: 1; }
  .wedding-hero { min-height: max(700px, 100svh); }
  .wedding-hero__photo { background-image: url('../images/couple/optimized/miyajima-hero-mobile.jpg'); background-position: 50% 0; background-size: cover; background-repeat: no-repeat; }
  .wedding-hero__shade { background: linear-gradient(180deg, rgba(2,29,34,.2) 0%, rgba(2,29,34,.04) 30%, rgba(2,28,33,.86) 73%, rgba(2,28,33,.96) 100%); }
  .wedding-hero__inner { min-height: max(700px, 100svh); justify-content: flex-end; padding: 6.5rem 1.25rem 1.25rem; }
  .wedding-hero__copy { width: 100%; padding-bottom: 2.5rem; text-align: center; }
  .wedding-hero__kicker { margin-bottom: .8rem; }
  .wedding-hero h1 { font-size: clamp(4rem, 18vw, 5.6rem); line-height: .82; }
  .wedding-hero h1 i { margin: .08em .12em .02em 0; }
  .wedding-hero__event { justify-content: center; gap: .85rem; margin-top: 1.5rem; }
  .wedding-hero__event strong { font-size: .72rem; }
  .wedding-hero__event small { font-size: .57rem; }
  .wedding-hero__rule { height: 36px; }
  .wedding-hero__rsvp { margin-top: 1.5rem; }
  .wedding-hero__foot { padding-top: .8rem; }
  .wedding-hero__foot p { display: none; }
  .wedding-hero__foot a { width: 100%; justify-content: space-between; }
  .section { padding-inline: 1.25rem; }

  .timeline { margin: 0; }
  .timeline::before { left: 96px; }
  .timeline__item { grid-template-columns: 82px 28px 1fr; min-height: 150px; }
  .timeline__item time { padding-top: 1.55rem; font-size: 1.25rem; white-space: normal; }
  .timeline__point { margin-top: 1.9rem; }
  .timeline__item > div { padding: 1.45rem 0 1.6rem .75rem; }
  .timeline__item h3 { font-size: 1.55rem; }
  .timeline__item p { font-size: .9rem; }

  .practical__list article { padding: 1.5rem; }
  .faq { gap: 3rem; }
  .gifts { gap: 3.5rem; }
  .gifts__visual { width: calc(100% - 1rem); }
  .gifts__visual::after { inset: .9rem -.9rem -.9rem .9rem; }
  .gifts__content h2 { font-size: clamp(3.25rem, 15vw, 4.8rem); }
  .rsvp { padding: 6.5rem 1rem; }
  .rsvp::before { inset: 12px; }
  .rsvp__shell { gap: 3rem; }
  .rsvp__intro { padding: 0 .75rem; }
  .rsvp__intro h2 { font-size: clamp(4rem, 18vw, 5.4rem); }
  .rsvp__panel { padding: 2.5rem 1.35rem 2.75rem; }
  .rsvp-form { gap: 2.35rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-conditional { gap: 2rem; padding: 1.5rem 1rem; }
  .attendee-entry { gap: 1.3rem; padding: 1.2rem; }
  .ceremony-choice { min-height: 104px; padding: 1.2rem; }
  .ceremony-availability { justify-self: stretch; margin: -1.15rem 0 0; text-align: center; }

  .rsvp-confirmation { min-height: 520px; grid-template-columns: 1fr; gap: 1.75rem; padding: .75rem .25rem; text-align: center; }
  .rsvp-confirmation__mark { grid-row: auto; justify-self: center; }
  .rsvp-confirmation__copy > span { margin-inline: auto; }
  .rsvp-confirmation__event { justify-content: center; }
  .rsvp-confirmation__actions { grid-column: 1; justify-content: center; margin-top: .5rem; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding-block: 3rem; text-align: center; }
  .site-footer a { justify-self: center; }
}

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