:root {
  --fig: #532d3b;
  --chartreuse: #b5bf50;
  --paper: #f5f0e8;
  --ivory: #fbf8f2;
  --rose-grey: #b8a5a7;
  --ink: #261a20;
  --line: rgba(83,45,59,.22);
  --display: "Bodoni Moda", Didot, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --jp: "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--fig); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); font-family: var(--sans); font-weight: 300; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--chartreuse); outline-offset: 4px; }

.site-header { position: fixed; z-index: 30; top: 0; left: 0; width: 100%; padding: 28px 38px; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.site-header button { pointer-events: auto; }
.menu-trigger, .wordmark { border: 0; background: transparent; color: var(--fig); cursor: pointer; padding: 0; }
.menu-trigger { display: grid; justify-items: center; gap: 1px; text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 600; }
.menu-mark { width: 45px; height: 45px; display: block; }
.menu-mark svg { fill: none; stroke: currentColor; stroke-width: 1.4; width: 100%; height: 100%; transition: transform .35s ease; }
.menu-trigger:hover .menu-mark svg { transform: rotate(12deg); }
.wordmark { font-family: var(--display); font-size: 18px; letter-spacing: .02em; }
.wordmark i { color: var(--chartreuse); font-weight: 400; }

.menu-panel { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(460px, 92vw); padding: 30px 42px 38px; background: var(--fig); color: var(--paper); transform: translateX(-102%); transition: transform .55s cubic-bezier(.77,0,.18,1); display: flex; flex-direction: column; }
.menu-panel.open { transform: translateX(0); }
.menu-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(38,26,32,.25); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.menu-backdrop.open { opacity: 1; pointer-events: auto; }
.menu-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid rgba(245,240,232,.25); font-family: var(--display); font-size: 20px; }
.menu-close { border: 0; background: transparent; color: inherit; font-size: 32px; line-height: 1; cursor: pointer; }
.main-nav { margin: auto 0; display: grid; }
.main-nav button { position: relative; border: 0; border-bottom: 1px solid rgba(245,240,232,.15); background: transparent; color: inherit; text-align: left; padding: 12px 0 10px; font-family: var(--display); font-size: clamp(29px, 5vh, 46px); line-height: 1; cursor: pointer; transition: padding .2s ease, color .2s ease; }
.main-nav button:hover, .main-nav button.active { padding-left: 25px; color: var(--chartreuse); }
.main-nav button::before { content: ""; width: 14px; height: 1px; background: currentColor; position: absolute; left: 0; top: 50%; opacity: 0; }
.main-nav button:hover::before, .main-nav button.active::before { opacity: 1; }
.language-picker { display: flex; align-items: center; gap: 11px; font-size: 11px; letter-spacing: .14em; }
.language-picker button { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 4px 0; opacity: .55; }
.language-picker button.active { color: var(--chartreuse); opacity: 1; }

#app { min-height: 100vh; }
.page { min-height: 100vh; padding: 180px 7vw 100px; animation: pageIn .55s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } }
.page-grid { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(460px, 1.25fr); gap: clamp(50px, 8vw, 150px); max-width: 1380px; margin: 0 auto; }
.page-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(68px, 9vw, 145px); line-height: .82; letter-spacing: -.055em; position: sticky; top: 170px; height: max-content; }
.page-title em { display: block; color: var(--chartreuse); font-weight: 400; }
.page-content { max-width: 760px; }
.eyebrow { margin: 0 0 18px; color: var(--chartreuse); font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.lede { margin: 0 0 58px; font-family: var(--display); font-size: clamp(29px, 3vw, 45px); line-height: 1.18; letter-spacing: -.025em; }
.copy { font-size: 17px; line-height: 1.75; }

.hero { min-height: 100vh; position: relative; overflow: hidden; display: grid; place-items: center; padding: 100px 5vw 60px; }
.stationery { position: relative; width: min(760px, 68vw); aspect-ratio: 1.32 / 1; filter: drop-shadow(0 22px 34px rgba(38,26,32,.10)); transform: translateY(2vh); }
.envelope-back { position: absolute; width: 88%; height: 52%; left: 6%; bottom: 3%; background: #e9e0d4; border: 1px solid rgba(83,45,59,.18); }
.envelope-back::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0,50% 66%,100% 0); background: #f0e9df; border-bottom: 1px solid rgba(83,45,59,.18); }
.lace-card { position: absolute; z-index: 2; width: 82%; height: 77%; top: 0; left: 9%; color: var(--fig); }
.lace-frame { position: absolute; inset: 0; width: 100%; height: 100%; stroke-width: 1.25; }
.lace-edge { fill: rgba(251,248,242,.68); stroke-width: 1.4; }
.lace-inner { fill: rgba(245,240,232,.25); stroke-width: 1; }
.lace-flora { stroke-width: 1.2; }
.stitch-field { opacity: .11; }
.invitation-card { position: absolute; inset: 21% 19%; background: var(--ivory); border: 1px solid rgba(83,45,59,.17); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 7px 20px rgba(38,26,32,.06); }
.invitation-card h1 { margin: 8px 0 12px; font-family: var(--display); font-size: clamp(41px, 5.5vw, 77px); font-weight: 400; font-style: italic; letter-spacing: -.055em; line-height: .9; white-space: nowrap; }
.invitation-card h1 span { color: var(--chartreuse); font-size: .58em; padding: 0 .05em; }
.card-kicker, .card-date { margin: 0; font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: clamp(7px, .7vw, 10px); font-weight: 500; }
.card-date { color: var(--fig); }
.envelope-front { position: absolute; z-index: 3; width: 88%; height: 40%; left: 6%; bottom: 3%; overflow: hidden; background: #f0e9df; border: 1px solid rgba(83,45,59,.16); clip-path: polygon(0 12%, 50% 78%, 100% 12%, 100% 100%, 0 100%); }
.envelope-seam { position: absolute; bottom: -30%; width: 70%; height: 140%; border-top: 1px solid rgba(83,45,59,.14); }
.envelope-seam.left { left: -30%; transform: rotate(32deg); }
.envelope-seam.right { right: -30%; transform: rotate(-32deg); }
.hero-hint { position: absolute; bottom: 24px; margin: 0; font-size: 8px; letter-spacing: .25em; text-transform: uppercase; opacity: .6; }

.section { padding: 0 0 65px; margin: 0 0 65px; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section h2 { margin: 0 0 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.section h3 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(30px, 4vw, 49px); font-weight: 400; line-height: 1.05; }
.detail-list { display: grid; grid-template-columns: 115px 1fr; gap: 9px 18px; margin: 27px 0; font-size: 14px; line-height: 1.6; }
.detail-list dt { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.detail-list dd { margin: 0; }
.event-time { color: var(--chartreuse); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.event-step { display: grid; grid-template-columns: 80px 1fr; gap: 25px; padding: 21px 0; border-top: 1px solid var(--line); }
.event-step h4 { margin: 0 0 7px; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.event-step p { margin: 0; line-height: 1.65; }

.hotel { display: grid; grid-template-columns: 42% 1fr; gap: 32px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.hotel:nth-child(even) { grid-template-columns: 1fr 42%; }
.hotel:nth-child(even) .hotel-image { order: 2; }
.hotel-image { aspect-ratio: 4 / 3; background: linear-gradient(135deg, rgba(83,45,59,.18), rgba(181,191,80,.2)); position: relative; overflow: hidden; }
.hotel-image::after { content: "IMAGE"; position: absolute; inset: auto 12px 10px auto; font-size: 9px; letter-spacing: .16em; }
.hotel h3 { font-size: 31px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link::after { content: "↗"; color: var(--chartreuse); }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; border: 0; background: transparent; color: inherit; padding: 25px 0; display: flex; justify-content: space-between; gap: 30px; text-align: left; font-family: var(--display); font-size: 25px; cursor: pointer; }
.faq-question span:last-child { color: var(--chartreuse); }
.faq-answer { display: none; padding: 0 50px 28px 0; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

.rsvp-form { display: grid; gap: 29px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--fig); border-radius: 0; background: transparent; color: var(--fig); padding: 12px 0; font-family: var(--display); font-size: 20px; }
.field textarea { min-height: 90px; resize: vertical; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 12px; }
.radio-option { position: relative; }
.radio-option input { position: absolute; opacity: 0; }
.radio-option label { display: block; border: 1px solid var(--fig); padding: 12px 16px; cursor: pointer; font-size: 11px; }
.radio-option input:checked + label { background: var(--fig); color: var(--paper); }
.conditional { display: none; gap: 29px; }
.conditional.visible { display: grid; }
.consent { display: flex; gap: 11px; font-size: 12px; line-height: 1.5; }
.consent input { accent-color: var(--fig); }
.submit-button { width: max-content; border: 1px solid var(--fig); background: var(--fig); color: var(--paper); padding: 16px 26px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; cursor: pointer; transition: background .2s, color .2s; }
.submit-button:hover { background: var(--chartreuse); color: var(--ink); border-color: var(--chartreuse); }
.form-status { min-height: 1.5em; font-size: 13px; }

.site-footer { padding: 24px 4vw; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 9px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.not-found { min-height: 100vh; display: grid; place-content: center; text-align: center; }
.not-found h1 { font-family: var(--display); font-size: 100px; font-weight: 400; margin: 0; }

[lang="ja"] body, [lang="ja"] .lede, [lang="ja"] .copy { font-family: var(--jp); }
[lang="ja"] .page-title, [lang="ja"] .hero-names { font-family: var(--display), var(--jp); }

@media (max-width: 800px) {
  .site-header { padding: 20px 18px; }
  .wordmark { font-size: 15px; }
  .menu-mark { width: 39px; height: 39px; }
  .menu-panel { padding: 24px 27px 30px; }
  .hero { padding: 95px 16px 50px; }
  .stationery { width: min(620px, 96vw); transform: none; }
  .lace-card { width: 94%; left: 3%; }
  .invitation-card { inset: 22% 16%; }
  .invitation-card h1 { font-size: clamp(35px, 10vw, 54px); }
  .envelope-back, .envelope-front { width: 96%; left: 2%; }
  .page { padding: 135px 22px 75px; }
  .page-grid { grid-template-columns: 1fr; gap: 55px; }
  .page-title { position: static; font-size: clamp(65px, 21vw, 100px); }
  .lede { font-size: 29px; margin-bottom: 45px; }
  .detail-list { grid-template-columns: 90px 1fr; }
  .event-step { grid-template-columns: 60px 1fr; gap: 15px; }
  .hotel, .hotel:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .hotel:nth-child(even) .hotel-image { order: 0; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; }
}

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