/* A quiet spring garden, on every screen. */
:root {
  --paper: #f7f5ef;
  --ink: #323f34;
  --green: #53684c;
  --muted: #7d8073;
  --line: #dedfd3;
  --serif: 'Noto Serif KR', Batang, serif;
  --english: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; word-break: keep-all; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .12; z-index: 5; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888888' opacity='.2' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--green); }
button { border: none; background: none; }
svg { display: inline-block; width: 24px; height: 24px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell { max-width: 1120px; margin: 0 auto; padding: 0 52px; overflow-x: clip; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 33px 0 23px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--english); font-size: 19px; font-weight: 600; letter-spacing: 2px; }
.wordmark span { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 2px; color: var(--muted); margin-top: 6px; }
.header-date { font-size: 10px; letter-spacing: 1.6px; }
.header-date span { margin-left: 20px; font-size: 17px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; padding: 64px 18px 70px 0; }
.hero-copy { text-align: center; padding-top: 8px; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 2.5px; color: var(--green); margin: 0 0 23px; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 9px; letter-spacing: 2px; }
.hero .eyebrow span { height: 1px; width: 22px; background: #b4bca8; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.3vw, 49px); font-weight: 400; line-height: 1.65; letter-spacing: -2.5px; }
h1 em { font-style: normal; color: #71805a; }
.hero-english { font-family: var(--english); font-size: 25px; font-style: italic; font-weight: 400; color: #849075; margin: 12px 0 35px; }
.couple-names { display: flex; align-items: center; justify-content: center; gap: 23px; font-family: var(--serif); font-size: 23px; letter-spacing: 5px; }
.couple-names svg { width: 21px; height: 21px; color: #8d9b7b; }
.hero-details { font-size: 12px; line-height: 1.8; margin-top: 24px; color: #676f60; }
.hero-details p { margin: 5px 0; }
.detail-dot { margin: 0 8px; color: #a3a98f; }
.no-wrap { white-space: nowrap; }
.hero-link { display: inline-flex; align-items: center; gap: 25px; font-size: 10px; color: var(--muted); margin-top: 30px; padding: 12px 0; border-bottom: 1px solid #c9cebd; }
.hero-link span { font-size: 16px; }
.hero-art { position: relative; padding: 0 0 12px; }
.photo-frame { height: 492px; position: relative; border-radius: 220px 220px 3px 3px; padding: 10px; border: 1px solid #bdc4b0; }
.photo-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 56% center; border-radius: inherit; filter: saturate(.7); }
.photo-frame::after { content: ''; position: absolute; inset: 10px; border-radius: inherit; background: linear-gradient(transparent 65%, #14221760); pointer-events: none; }
.photo-caption { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 1; color: #f6f3e8; text-align: center; font-family: var(--english); font-style: italic; font-size: 21px; }
.date-seal { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; bottom: -12px; left: -36px; height: 113px; width: 113px; background: #e9ecdf; border: 1px solid #bec7ae; border-radius: 50%; outline: 5px solid var(--paper); transform: rotate(-12deg); z-index: 2; }
.date-seal span { font-size: 7px; letter-spacing: 1.2px; }
.date-seal strong { font-family: var(--english); font-size: 37px; line-height: 1.5; font-weight: 500; }
.hero-sprig { position: absolute; bottom: -34px; right: -40px; width: 113px; height: 160px; transform: rotate(20deg); color: #758264; }
.vertical-note { position: absolute; right: -27px; top: 170px; writing-mode: vertical-rl; font-size: 7px; letter-spacing: 2px; color: #8c9381; }
.section { text-align: center; }
.invitation { position: relative; padding: 62px 0 85px; border-top: 1px solid var(--line); }
.section-flower { width: 32px; height: 32px; color: #8c9a77; margin-bottom: 27px; }
h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -.8px; margin: 0; }
.invitation-message { font-family: var(--serif); font-size: 14px; font-weight: 400; line-height: 2.3; margin-top: 30px; color: #646b60; }
.invitation-message p { margin: 0 0 21px; }
.signature { font-family: var(--serif); font-size: 17px; letter-spacing: 2px; margin: 34px 0 0; }
.signature span { font-size: 10px; color: var(--muted); letter-spacing: 0; margin: 0 10px; }
.signature small { font-size: 11px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #eeeee444; }
.event-grid > section { padding: 48px 40px 42px; }
.day-section { border-right: 1px solid var(--line); }
.event-grid .eyebrow { font-size: 9px; letter-spacing: 2px; margin-bottom: 15px; }
.day-section h2 { font-family: var(--english); font-size: 37px; letter-spacing: 1px; line-height: 1.2; }
.location-section h2 { line-height: 1.8; }
.section-description { margin: 10px 0 27px; font-size: 11px; color: var(--muted); }
.calendar { max-width: 300px; margin: 0 auto; }
.calendar-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 11px; font-family: var(--english); font-size: 21px; }
.calendar-heading span:last-child { font-size: 17px; color: var(--muted); padding-top: 3px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; margin-top: 9px; }
th { font-size: 10px; font-weight: 400; color: var(--muted); height: 34px; }
td { height: 35px; font-weight: 400; }
td:first-child, th:first-child { color: #a67967; }
.wedding-date { display: inline-flex; width: 31px; height: 31px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: #fff; }
.countdown { font-size: 11px; margin: 26px 0 5px; line-height: 1.8; }
.countdown strong { color: var(--green); font-weight: 600; }
.text-button { min-height: 44px; font-size: 10px; color: var(--muted); padding: 10px; }
.text-button span { margin-left: 8px; }
.venue-art { height: 175px; position: relative; display: flex; justify-content: center; margin-top: 22px; }
.venue-arch { width: 168px; border: 1px solid #c4ccb7; border-radius: 90px 90px 0 0; display: flex; align-items: center; flex-direction: column; justify-content: center; background: #e6e9dc; }
.venue-arch > svg { width: 29px; height: 29px; color: var(--green); margin: 12px 0 15px; }
.venue-arch > span { font-family: var(--english); font-size: 16px; letter-spacing: 1px; }
.venue-arch > i { font-family: var(--english); font-size: 13px; color: var(--muted); margin-top: 6px; }
.venue-sprig { position: absolute; height: 139px; width: 98px; bottom: -6px; color: #8d9b7d; }
.venue-sprig.left { left: calc(50% - 143px); transform: rotate(-25deg); }
.venue-sprig.right { right: calc(50% - 143px); transform: scaleX(-1) rotate(-25deg); }
h3 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 27px 0 9px; }
.address-line { display: flex; justify-content: center; align-items: center; gap: 8px; }
.address-line p { margin: 0; font-size: 11px; color: #74796d; }
.copy-button { font-size: 9px; border: 1px solid #d6dacd; border-radius: 3px; min-height: 44px; padding: 0 10px; }
.map-links { display: flex; gap: 10px; margin-top: 19px; }
.map-links a { display: flex; align-items: center; justify-content: space-between; width: 50%; min-height: 44px; border: 1px solid #cbd0bf; padding: 12px; font-size: 10px; transition: background .2s; }
.map-links a:hover { background: #e5e8da; }
.map-links svg { height: 16px; width: 16px; }
.closing { text-align: center; padding: 65px 0 38px; }
.closing > svg { height: 94px; width: 70px; color: #8a9878; transform: rotate(-12deg); }
.closing p { font-family: var(--serif); font-size: 17px; margin: 20px 0 10px; }
.closing > span { font-family: var(--english); font-style: italic; font-size: 23px; color: #8b967f; }
.closing-date { font-size: 8px; letter-spacing: 2px; color: var(--muted); margin-top: 37px; }
.closing-date span { padding: 0 8px; }
footer { text-align: center; color: #9b9f90; font-size: 9px; padding: 0 0 115px; letter-spacing: 1px; }
.bottom-bar { position: fixed; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; width: min(440px, calc(100% - 32px)); padding: 7px; padding-bottom: max(7px, env(safe-area-inset-bottom)); background: #f9f8f1f5; backdrop-filter: blur(12px); border: 1px solid #d6dbcb; border-radius: 8px; box-shadow: 0 6px 30px #34412b13; z-index: 10; }
.bottom-bar a, .bottom-bar button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; font-size: 11px; }
.bottom-bar a { width: 40%; }
.bottom-bar button { width: 60%; background: var(--green); color: #fff; border-radius: 4px; }
.bottom-bar svg { width: 16px; height: 16px; }
.toast { position: fixed; z-index: 20; bottom: calc(100px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 10px); border-radius: 6px; padding: 14px 22px; max-width: calc(100% - 36px); background: #34412ef2; color: #fff; text-align: center; font-size: 12px; width: max-content; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(400px, calc(100% - 40px)); padding: 25px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
dialog::backdrop { background: #1c2a2055; backdrop-filter: blur(3px); }
dialog h2 { font-family: var(--sans); font-size: 16px; }
dialog p { font-size: 11px; line-height: 1.8; color: var(--muted); }
dialog textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 12px/1.7 var(--sans); resize: vertical; }
.dialog-close { width: 100%; background: var(--green); color: #fff; padding: 12px; margin-top: 12px; border-radius: 4px; }
@media (min-width: 760px) {
  .hero-copy { animation: appear .9s ease-out both; }
  .hero-art { animation: appear 1.2s ease-out both; }
}
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) and (min-width: 701px) {
  .page-shell { padding: 0 32px; }
  .hero { gap: 28px; }
  h1 { font-size: 37px; }
  .photo-frame { height: 450px; }
  .event-grid > section { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 700px) {
  .page-shell { max-width: 480px; padding: 0 25px; }
  .site-header { padding: 23px 0 18px; }
  .wordmark { font-size: 14px; letter-spacing: 1.5px; }
  .wordmark span { font-size: 8px; letter-spacing: 1px; margin-top: 4px; }
  .header-date { font-size: 8px; letter-spacing: 1px; }
  .header-date span { margin-left: 5px; font-size: 13px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding: 37px 0 50px; }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 0; font-size: 8px; letter-spacing: 1.8px; margin-bottom: 18px; }
  h1 { order: 1; font-size: 36px; line-height: 1.6; text-align: center; letter-spacing: -2px; }
  .hero-english { order: 2; font-size: 24px; margin: 8px 0 25px; }
  .hero-art { order: 3; width: 100%; padding: 0; max-width: 330px; margin: 0 auto 35px; }
  .photo-frame { height: 355px; padding: 8px; }
  .photo-frame::after { inset: 8px; }
  .photo-caption { bottom: 28px; font-size: 19px; }
  .date-seal { height: 88px; width: 88px; left: -10px; bottom: -16px; outline-width: 4px; }
  .date-seal strong { font-size: 29px; }
  .date-seal span { font-size: 6px; letter-spacing: .8px; }
  .hero-sprig { right: -18px; bottom: -28px; width: 85px; height: 125px; }
  .vertical-note { right: -15px; font-size: 6px; top: 130px; letter-spacing: 1.2px; }
  .couple-names { order: 4; font-size: 21px; gap: 23px; letter-spacing: 4px; }
  .couple-names svg { width: 18px; height: 18px; }
  .hero-details { order: 5; margin-top: 17px; font-size: 11px; }
  .hero-link { order: 6; margin-top: 17px; font-size: 9px; }
  .invitation { padding: 48px 0 53px; }
  .eyebrow { font-size: 9px; letter-spacing: 2px; margin-bottom: 20px; }
  h2 { font-size: 22px; }
  .section-flower { width: 28px; height: 28px; margin-bottom: 23px; }
  .invitation-message { font-size: 12px; line-height: 2.4; margin-top: 27px; }
  .invitation-message p { margin-bottom: 20px; }
  .signature { font-size: 15px; margin-top: 30px; }
  .event-grid { display: block; background: none; }
  .event-grid > section { padding: 45px 14px; }
  .day-section { border-right: 0; border-bottom: 1px solid var(--line); }
  .calendar { max-width: 290px; }
  td { height: 38px; }
  .countdown { margin-top: 23px; }
  .location-section .section-description { margin-bottom: 26px; }
  .venue-art { height: 184px; }
  .venue-arch { width: 180px; }
  .venue-sprig { height: 148px; width: 103px; }
  .location-section h3 { margin-top: 26px; }
  .map-links { max-width: 310px; margin: 20px auto 0; }
  .map-links a { padding: 13px 16px; font-size: 11px; }
  .closing { padding-top: 45px; }
  .closing p { font-size: 15px; }
  .closing > span { font-size: 22px; }
  .closing-date { font-size: 7px; letter-spacing: 1.4px; }
  .bottom-bar { bottom: 10px; }
}
@media (max-width: 350px) {
  .page-shell { padding: 0 20px; }
  .header-date { font-size: 7px; }
  .hero .eyebrow { letter-spacing: 1px; }
  h1 { font-size: 32px; }
  .photo-frame { height: 310px; }
  .invitation-message { font-size: 11px; }
  .event-grid > section { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
