:root { --ink: #3D493E; --cream: #edf1e8; --sand: #dbe5d7; --coral: #8E82A8; --blue: #AFC1B0; --line: rgba(61,73,62,.25); --serif: 'Barlow Condensed', 'Arial Narrow', sans-serif; --sans: 'DM Sans', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.site-header { height: 82px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: fixed; top: 0; left: 0; right: 0; z-index: 150; background: var(--cream); transition: transform .3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
main { padding-top: 82px; }
.wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: 1px; }.wordmark span { color: var(--coral); font-style: italic; }.main-nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }.main-nav a { transition: color .2s; }.main-nav a:hover { color: var(--coral); }.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); width: 42px; height: 42px; padding: 10px 8px; cursor: pointer; }
.hero { min-height: 610px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; position: relative; padding: 76px 50px 80px; }.hero-copy { padding-left: 30px; }.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; margin: 0 0 24px; }.hero h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .95; letter-spacing: 0; margin: 0; }.hero h1 { font-size: clamp(70px, 9vw, 125px); }.hero h1 i, h2 em { color: var(--coral); font-style: italic; }.hero-intro { max-width: 290px; margin: 32px 0 25px; font-size: 15px; }.hero-date { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }.hero-date span:first-child { font-family: var(--serif); font-size: 42px; font-weight: 500; letter-spacing: 0; }.date-line { height: 1px; width: 34px; background: var(--coral); }.text-link { display: inline-block; margin-top: 34px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; font-size: 13px; font-weight: 700; }.text-link span { color: var(--coral); padding-left: 12px; }.hero-image-wrap { position: relative; }.hero-image { height: 470px; background: url('Bilder/IMG_1964.JPEG') center 20%/cover; filter: grayscale(1) brightness(1.08) contrast(1.12); }.image-note { position: absolute; bottom: -16px; left: -28px; background: var(--coral); color: white; padding: 13px 18px; font-size: 11px; transform: rotate(-3deg); }.dot { display: inline-block; height: 7px; width: 7px; background: var(--sand); border-radius: 50%; margin-right: 6px; }.vertical-label { position: absolute; right: 4px; top: 140px; writing-mode: vertical-rl; letter-spacing: .15em; font-size: 10px; }
.countdown-band { background: var(--blue); }.countdown-inner { min-height: 145px; display: flex; align-items: center; justify-content: space-between; padding: 25px 50px; }.countdown-inner .eyebrow { margin: 0; }.countdown { display: flex; align-items: center; gap: 22px; }.countdown div { text-align: center; min-width: 65px; }.countdown strong { display: block; font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1; }.countdown span { display: block; text-transform: uppercase; font-size: 9px; letter-spacing: .12em; margin-top: 8px; }.countdown b { font-family: var(--serif); color: var(--coral); font-size: 28px; font-weight: 400; margin-top: -14px; }
.content-section { padding-top: 130px; padding-bottom: 130px; }.section-heading h2, .route-copy h2, .rsvp-section h2, .about-head h2 { font-size: clamp(53px, 6vw, 82px); }.day-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; margin-top: 80px; }.day-intro { align-self: end; padding-bottom: 25px; }.day-intro p { max-width: 250px; }.scribble { display: block; font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--coral); transform: rotate(-5deg); margin-top: 80px; }.scribble b { font-family: var(--sans); font-style: normal; margin-left: 20px; }.timeline { border-top: 1px solid var(--line); }.timeline-item { display: grid; grid-template-columns: 115px 1fr; padding: 25px 0; border-bottom: 1px solid var(--line); }.timeline time { color: var(--coral); font-family: var(--serif); font-size: 22px; }.timeline h3, .travel-grid h3, .info-grid h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 0 0 5px; }.timeline p { margin: 0; font-size: 14px; }.timeline a, .travel-grid a, .info-grid a { color: var(--coral); border-bottom: 1px solid rgba(216,100,79,.4); }.muted { opacity: .65; }
.route-section { background: var(--sand); padding: 120px 0 110px; }.route-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: center; }.route-copy > p:not(.eyebrow) { max-width: 310px; margin: 32px 0; }.button { display: inline-flex; border: 0; padding: 14px 20px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; justify-content: space-between; gap: 30px; }.button-dark { background: var(--ink); color: white; }.button-light { background: var(--coral); color: white; margin-top: 20px; }.map-card { height: 430px; background: #d9c8ac; position: relative; overflow: hidden; border: 1px solid rgba(25,60,59,.2); }.map-grid { position: absolute; inset: 0; background-image: linear-gradient(30deg, transparent 48%, rgba(25,60,59,.12) 49%, transparent 50%), linear-gradient(120deg, transparent 48%, rgba(25,60,59,.1) 49%, transparent 50%); background-size: 80px 80px; transform: scale(1.4); }.map-card:after { content: ''; position: absolute; width: 72%; height: 130%; top: -20%; right: -10%; background: var(--blue); border-radius: 48% 0 0 60%; transform: rotate(-20deg); }.map-route { position: absolute; z-index: 1; border: 2px solid var(--coral); border-radius: 50%; }.route-one { width: 320px; height: 180px; top: 130px; left: 190px; transform: rotate(-22deg); }.route-two { width: 150px; height: 260px; top: 75px; left: 270px; transform: rotate(24deg); border-style: dashed; }.map-pin { position: absolute; z-index: 2; color: var(--coral); font-size: 27px; line-height: .8; }.map-pin span { color: var(--ink); display: block; font: 10px/1.2 var(--sans); margin-left: 22px; margin-top: -7px; white-space: nowrap; }.map-pin b { font-size: 12px; }.pin-church { top: 130px; left: 180px; }.pin-party { top: 285px; left: 390px; }.map-compass { position: absolute; right: 25px; bottom: 22px; z-index: 3; font-size: 10px; text-align: center; line-height: 1.4; }.map-compass span { font-size: 20px; color: var(--coral); }.travel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 90px; }.travel-grid article { border-top: 1px solid var(--line); padding-top: 17px; position: relative; }.travel-icon, .info-number { font-size: 11px; color: var(--coral); font-weight: 700; }.travel-grid p { font-size: 14px; margin: 0; }.tag { display: inline-block; margin-top: 16px; border: 1px solid var(--coral); color: var(--coral); text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .1em; padding: 3px 7px; }
.rsvp-section { background: var(--ink); color: var(--cream); padding: 120px 0; }.rsvp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; }.rsvp-copy { max-width: 300px; margin-top: 30px; }.rsvp-copy strong { color: var(--coral); }.rsvp-stamp { border: 1px solid var(--coral); color: var(--coral); display: inline-block; font-family: var(--serif); font-size: 28px; line-height: .85; padding: 17px; text-align: center; transform: rotate(-8deg); margin-top: 35px; }.rsvp-stamp small { font: 10px var(--sans); letter-spacing: .1em; }.rsvp-form { display: flex; flex-direction: column; padding-top: 8px; }.rsvp-form label, legend { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }.rsvp-form input, .rsvp-form textarea { border: 0; border-bottom: 1px solid rgba(245,240,232,.4); background: transparent; color: var(--cream); font: 16px var(--sans); padding: 9px 0 11px; margin-bottom: 24px; outline: 0; resize: vertical; }.rsvp-form input:focus, .rsvp-form textarea:focus { border-color: var(--coral); }.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: rgba(245,240,232,.55); }.rsvp-form fieldset { border: 0; padding: 0; margin: 0 0 20px; }.choice { display: inline-flex !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; margin: 6px 25px 0 0 !important; }.choice input { accent-color: var(--coral); margin: 0 7px 0 0; }.optional { opacity: .55; text-transform: none; letter-spacing: 0; font-weight: 400; }.form-success { display: none; color: var(--blue); font-size: 14px; }.form-success.visible { display: block; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 45px 100px; margin-top: 80px; }.info-grid article { border-top: 1px solid var(--line); padding-top: 15px; }.info-grid h3 { margin-top: 22px; }.info-grid p { max-width: 370px; margin: 0; font-size: 14px; }.wide-info { grid-column: 1 / -1; }.wide-info p { max-width: 600px; }.about-section { background: var(--coral); color: white; padding: 120px 0 140px; }.about-head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-top: 30px; }.about-head p { max-width: 300px; margin: 0; }.photo-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 200px 110px; gap: 15px; margin: 75px 100px 0; position: relative; }.photo { background-size: cover; background-position: center; }.photo-one { grid-row: 1 / 3; background-image: url('https://images.unsplash.com/photo-1520854221256-17451cc331bf?auto=format&fit=crop&w=800&q=80'); }.photo-two { background-image: url('https://images.unsplash.com/photo-1507504031003-b417219a0fde?auto=format&fit=crop&w=800&q=80'); background-position: center 60%; }.photo-caption { font-family: var(--serif); font-style: italic; font-size: 20px; align-self: center; padding-left: 20px; }.faq-list { max-width: 720px; margin: 75px 0 0 auto; border-top: 1px solid var(--line); }.faq-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 22px; list-style: none; display: flex; justify-content: space-between; }.faq-list summary:after { content: '+'; color: var(--coral); font-family: var(--sans); }.faq-list details[open] summary:after { content: '−'; }.faq-list p { font-size: 14px; max-width: 550px; margin: 15px 0 0; }.site-footer { background: var(--cream); border-top: 1px solid var(--line); }.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; }.footer-inner p, .footer-inner a { font-size: 12px; }.footer-inner a { color: var(--coral); }.reveal { animation: rise .8s ease both; }.reveal-delay { animation-delay: .15s; }@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .section-shell { width: min(100% - 120px, 560px); }.site-header { height: 70px; padding: 0 19px; }.main-nav { display: none; }.hero { display: flex; flex-direction: column; align-items: stretch; gap: 50px; padding: 70px 0 80px; }.hero-copy { padding-left: 0; }.hero h1 { font-size: 78px; }.hero-image { height: 380px; }.vertical-label { display: none; }.countdown-inner { display: block; padding: 28px 0; }.countdown-inner .eyebrow { margin-bottom: 20px; }.countdown { gap: 7px; justify-content: space-between; }.countdown div { min-width: 52px; }.countdown strong { font-size: 30px; }.countdown b { font-size: 20px; }.content-section { padding: 82px 0; }.day-grid, .route-layout, .rsvp-layout { grid-template-columns: 1fr; gap: 50px; }.day-grid { margin-top: 55px; }.scribble { margin-top: 35px; }.timeline-item { grid-template-columns: 76px 1fr; }.route-section { padding: 82px 0; }.map-card { height: 330px; }.pin-church { left: 18%; }.pin-party { left: 62%; }.route-one { left: 18%; }.route-two { left: 35%; }.travel-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 60px; }.rsvp-section { padding: 82px 0; }.rsvp-layout { gap: 55px; }.info-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 55px; }.wide-info { grid-column: auto; }.about-section { padding: 82px 0; }.about-head { display: block; }.about-head p { margin-top: 28px; }.photo-grid { margin: 55px 0 0; grid-template-rows: 180px 100px; }.faq-list { margin-top: 55px; }.footer-inner { min-height: 130px; flex-wrap: wrap; gap: 10px; padding: 25px 0; }.footer-inner p { order: 3; flex-basis: 100%; }.hero-intro { margin-top: 24px; } }

/* Botanical details from the Save the Date artwork. */
body:before, body:after { content: ''; position: fixed; z-index: 100; width: clamp(260px, 28vw, 390px); height: clamp(260px, 28vw, 390px); background-position: center; background-size: contain; background-repeat: no-repeat; opacity: .9; pointer-events: none; }
body:before { top: 80px; left: -18px; background-image: url('Bilder/vanster.png'); background-position: left top; transform: scaleY(-1); opacity: 1; transition: top .35s ease, left .35s ease; }
body.has-scrolled:before { top: 2px; }
body.header-visible:before { top: 72px; }
body:after { right: -18px; bottom: -18px; background-image: url('Bilder/blomma3.png'); }
.about-section { background: var(--blue); color: var(--ink); position: relative; overflow: hidden; }
@media (max-width: 760px) { body:before, body:after { width: 190px; height: 190px; } body:before { top: 76px; left: -12px; } body:after { position: fixed; right: -5px; top: auto; bottom: -10px; width: 220px; height: 220px; background-position: right bottom; transform: translateZ(0); } }
@media (max-width: 760px) { body.header-visible:before { top: 76px; } }

/* Scroll reveals keep each section moving at a calm, staggered pace. */
.reveal, .reveal-stagger { opacity: 0; transform: translateY(32px); animation: none; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible, .reveal-stagger.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .16s; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .27s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .38s; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .reveal-stagger, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 760px) {
	.menu-toggle { display: grid; place-content: center; gap: 4px; margin-left: auto; margin-right: 10px; }
	.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
	.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
	.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.main-nav.is-open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 28px 16px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(49,71,53,.1); }
	.main-nav.is-open a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
	.main-nav.is-open a:last-child { border-bottom: 0; }
}

.hero h1 { line-height: 1.05; }
.hero-date { margin-top: 28px; font-size: 15px; letter-spacing: .12em; }
.hero-date span:first-child, .hero-date span:last-child { font-size: 22px; }
.hero-date span:first-child { font-size: 32px; }
.hero-copy > .eyebrow { position: relative; top: 8px; }
.about-head h2 em { position: relative; top: .12em; }
.hero-image-wrap { background: #fff; padding: 18px 18px 82px; box-shadow: 0 16px 30px rgba(49,71,53,.16); transform: rotate(-1deg); }
.image-note { left: 18px; right: 18px; bottom: 0; background: transparent; color: var(--ink); padding: 7px 12px 24px; text-align: center; transform: none; font-family: var(--serif); font-size: 15px; letter-spacing: normal; }
.image-note-text { display: inline-block; font-family: 'Dancing Script', cursive; font-size: 22px; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap; }
.rsvp-section { background: var(--coral); }
.rsvp-copy strong, .rsvp-stamp { color: var(--cream); }
.rsvp-stamp { border-color: var(--cream); }
.rsvp-section h2 em { color: var(--blue); }

@media (max-width: 760px) {
	.hero-image-wrap { width: calc(100% + 48px); margin-inline: -24px; padding: 12px 12px 48px; }
	.hero-image { height: 300px; }
	.image-note { left: 12px; right: 12px; bottom: 0; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 8px; }
	.image-note-text { display: block; width: 100%; max-width: 100%; font-size: clamp(14px, 4.4vw, 18px); line-height: 1.15; white-space: nowrap; }
}

.rsvp-people-form[hidden], .attendee-details[hidden] { display: none; }
.guest-count-control { margin-bottom: 28px !important; }
.guest-count-control > legend { margin-bottom: 18px; text-align: center; text-transform: none; letter-spacing: 0; font-size: 14px; }
.guest-count-options { display: flex; justify-content: center; gap: 12px; }
.guest-count-option { position: relative; display: grid !important; place-items: center; width: 60px; height: 60px; margin: 0 !important; border: 1px solid rgba(245,240,232,.65); border-radius: 5px; color: var(--cream); font-size: 20px !important; font-weight: 500 !important; text-align: center; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
#rsvp-form .guest-count-option:hover, #rsvp-form .guest-count-option.is-selected { background-color: var(--sand) !important; border-color: var(--sand) !important; color: var(--ink) !important; }
.guest-count-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.guest-count-option:focus-within { outline: 2px solid var(--sand); outline-offset: 3px; }
.guest-count-option span { pointer-events: none; }
#guest-fields { display: grid; gap: 32px; }
.person-fields { margin: 0 !important; padding: 0 !important; }
.person-fields > legend { width: 100%; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(245,240,232,.55); font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; }
.person-fields > label { display: block; margin-top: 8px; margin-bottom: 2px; }
.person-fields > input, .attendee-details input, .attendee-details textarea { width: 100%; margin: 0 0 10px; padding: 5px 0 7px; border: 0; border-bottom: 1px solid rgba(245,240,232,.7); border-radius: 0; background: transparent; }
.attendee-details input, .attendee-details textarea { margin-bottom: 0; }
#rsvp-form .person-fields > input:focus, #rsvp-form .attendee-details input:focus, #rsvp-form .attendee-details textarea:focus { border-bottom: 2px solid var(--blue) !important; box-shadow: 0 1px 0 var(--blue); outline: none; }
.attendance-field { margin-top: 24px !important; }
.attendance-field > legend { margin-bottom: 10px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.attendance-options { display: flex; flex-wrap: wrap; gap: 18px; }
.attendance-options .choice { margin: 0 !important; }
.attendance-options .choice input { width: 18px; height: 18px; padding: 0; margin: 0 8px 0 0; accent-color: var(--blue); }
.attendee-details { display: grid; gap: 0; margin-top: 28px; }
.attendee-details label { margin: 0 0 2px; }
.attendee-details input:not(:last-child), .attendee-details textarea:not(:last-child) { margin-bottom: 18px; }
.rsvp-people-form > label { margin-top: 28px; }
.rsvp-form .button-light { border-radius: 5px; background: var(--sand); color: var(--ink); }
.rsvp-form .button-light:hover { background: var(--cream); }
.rsvp-form button:disabled { cursor: wait; opacity: .65; }
.form-honeypot { display: none; }
.form-success.is-error { color: var(--cream); }

.gallery-section { padding-top: 100px; padding-bottom: 110px; }
.gallery-heading { margin-bottom: 44px; text-align: left; }
.photo-upload-actions { margin-bottom: 32px; text-align: center; }
.photo-upload-actions .button { justify-content: center; border-radius: 8px; }
.photo-upload-panel { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: var(--sand); color: var(--ink); box-shadow: 0 16px 40px rgba(49,71,53,.2); }
.photo-upload-panel::backdrop { background: rgba(25,60,59,.45); }
.photo-upload-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 30px 0; }
.photo-upload-heading h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.photo-upload-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 28px; cursor: pointer; }
.photo-upload-form { display: grid; gap: 10px; padding: 30px; }
.photo-upload-form label { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.photo-upload-form input[type="text"], .photo-upload-form input[type="file"] { height: 44px; }
.photo-upload-form input[type="text"] { width: 100%; margin: 0 0 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); font: 16px var(--sans); }
.photo-upload-form input[type="file"] { width: 100%; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); font: 14px var(--sans); }
.photo-file-summary, .photo-upload-status, .photo-gallery-status { margin: 0; font-size: 13px; }
.photo-file-summary { opacity: .7; }
.photo-upload-form .button { justify-self: center; justify-content: center; align-items: center; min-width: 130px; min-height: 48px; margin-top: 10px; border-radius: 12px; }
.photo-upload-form .button:hover { background: var(--coral); }
.photo-upload-form .button:disabled { opacity: .6; cursor: wait; }
.photo-upload-result { text-align: center; }
.photo-upload-result:empty { display: none; }
.photo-upload-status, .photo-gallery-status { min-height: 1.5em; text-align: center; }
.photo-upload-status.is-error { color: #8e3e3e; }
.photo-gallery-status { margin-bottom: 18px; }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.photo-card { min-width: 0; padding: 10px; border-radius: 4px; background: #fff; box-shadow: 0 10px 22px rgba(49,71,53,.1); }
.photo-card img, .photo-preview-message { display: block; width: 100%; aspect-ratio: 1; border-radius: 2px; background: var(--cream); object-fit: cover; }
.photo-preview-message { display: grid; place-items: center; padding: 18px; color: var(--ink); font-size: 13px; text-align: center; }
.photo-card-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px 2px; }
.photo-card-name { min-width: 0; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.photo-card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 12px; }
.photo-download { flex: 0 0 auto; border-bottom: 1px solid var(--line); font-size: 12px; }
.photo-delete, .photo-delete-link { flex: 0 0 auto; padding: 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #8e3e3e; font: 12px var(--sans); cursor: pointer; }
.photo-delete-link { color: var(--ink); }
.photo-delete:hover, .photo-delete-link:hover { border-bottom-color: currentColor; }
.photo-delete:disabled { cursor: wait; opacity: .6; }
.photo-delete-prompt[hidden] { display: none; }
.photo-delete-prompt { max-width: 760px; margin: 0 auto 24px; padding: 20px; background: #fff; box-shadow: 0 12px 24px rgba(49,71,53,.1); }
.photo-delete-prompt > p:first-child { margin: 0 0 14px; }
.photo-delete-prompt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-delete-prompt-actions .button { border-radius: 5px; }
.photo-delete-prompt .form-success { margin-top: 10px; }
@media (max-width: 760px) {
	.gallery-section { padding: 82px 0; }
	.gallery-heading { margin-bottom: 34px; }
	.photo-upload-actions { margin-bottom: 24px; }
	.photo-upload-heading { padding: 20px 20px 0; }
	.photo-upload-form { padding: 20px; }
	.photo-gallery { grid-template-columns: 1fr; gap: 14px; }
}

@media (min-width: 761px) { .day-grid > .timeline { grid-column: 2; } }

.route-actions .button { border-radius: 8px; }

.hero-copy { position: relative; top: -34px; }

@media (min-width: 761px) {
	.hero-image-wrap { width: 90%; justify-self: center; top: -20px; }
	.hero-image { height: 400px; }
}

@media (min-width: 761px) { .hero-copy { left: 20px; } }

@media (max-width: 760px) {
 main { padding-top: 70px; }
 .hero { width: min(520px, calc(100% - 48px)); min-height: auto; padding: 46px 0 60px; gap: 28px; align-items: center; }
 .hero-copy { top: 0; left: 0; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0; text-align: left; }
 .hero h1 { font-size: clamp(62px, 15vw, 96px); line-height: 1.05; }
 .hero-date { justify-content: flex-start; margin-top: 10px; }
 .hero-image-wrap { width: 90%; margin: 0 auto; top: 0; padding: 12px 12px 0; }
 .hero-image { height: auto; aspect-ratio: 1 / 1; }
 .image-note { position: static; height: auto; min-height: 64px; padding: 16px 6px; }
 .image-note-text { font-size: clamp(16px, 4.2vw, 22px); line-height: 1.35; white-space: normal; overflow-wrap: break-word; }
}
/* Keep the original ampersand while using condensed display type. */
.hero h1 i { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-style: italic; }
h2 em { font-style: normal; }

.wordmark { font-family: 'Playfair Display', Georgia, serif; }

.hero-name-line { white-space: nowrap; }
@media (max-width: 760px) { .hero h1 { font-size: clamp(52px, 20vw, 124px); } }

.hero-amp-mobile { display: none; }
@media (max-width: 760px) { .hero-amp-desktop { display: none; } .hero-amp-mobile { display: inline; } }

.hero-date > span:only-child { font-family: var(--sans); font-style: normal; font-size: clamp(16px, 4.5vw, 22px); font-weight: 500; letter-spacing: .04em; }

@media (min-width: 761px) {
 .hero h1 .hero-name-line { display: block; }
 .hero h1 > br { display: none; }
 .hero h1 .hero-amp-desktop { display: block; }
}

@media (max-width: 760px) { .hero-date > span:only-child { font-size: clamp(14px, 4vw, 18px); } }

.countdown strong { font-family: 'Playfair Display', Georgia, serif; }

.timeline a { border-bottom-color: currentColor; }

.memory-carousel { margin-top: 60px; }
.memory-track { position: relative; display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 20% 20px; }
.memory-track::-webkit-scrollbar { display: none; }
.memory-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; opacity: .35; transition: opacity .25s ease; }
.memory-slide.is-current { opacity: 1; }
.memory-slide .photo { width: 100%; aspect-ratio: 4 / 3; background-position: center; border: 10px solid white; box-shadow: 0 8px 20px rgba(49,71,53,.12); }
.memory-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 12px; }
.memory-controls p { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.memory-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); font: 24px var(--sans); cursor: pointer; }
.memory-arrow:hover { background: var(--cream); }
.memory-arrow:focus-visible, .memory-track:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 760px) {
 .memory-carousel { width: calc(100vw - 16px); margin-left: calc((100% - 100vw + 16px) / 2); margin-top: 36px; }
 .memory-track { gap: 14px; padding-inline: 14%; }
 .memory-slide .photo { aspect-ratio: 3 / 4; border-width: 7px; }
}
@media (prefers-reduced-motion: reduce) { .memory-slide { transition: none; } }
/* Let the carousel reach the page edges while keeping the active image prominent. */
.memory-carousel { width: 100vw; margin-left: calc((100% - 100vw) / 2); }
.memory-slide .photo { transform: scale(.84); transition: transform .3s ease; }
.memory-slide.is-current .photo { transform: scale(1); }
@media (max-width: 760px) {
 .memory-carousel { width: 100vw; margin-left: calc((100% - 100vw) / 2); }
 .memory-track { gap: 8px; padding-inline: 17%; }
}
@media (prefers-reduced-motion: reduce) { .memory-slide .photo { transition: none; } }
.memory-carousel { --memory-slide-width: min(56vw, 600px); }
.memory-track { padding-inline: calc((100% - var(--memory-slide-width)) / 2); }
.memory-slide { flex-basis: var(--memory-slide-width); }
@media (max-width: 760px) { .memory-carousel { --memory-slide-width: min(70vw, 360px); } }
.memory-track.is-resetting .memory-slide, .memory-track.is-resetting .photo { transition: none; }

.memory-controls { gap: 28px; margin-top: 22px; }
.memory-arrow { width: 72px; height: 48px; border: 0; border-radius: 0; color: var(--ink); background: transparent; transition: color .2s ease, border-color .2s ease; }
.memory-arrow svg { width: 44px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.memory-arrow:hover { color: var(--coral); background: transparent; border-color: var(--ink); }
#memory-prev:hover svg { transform: translateX(-4px); }
#memory-next:hover svg { transform: translateX(4px); }
.memory-arrow:active svg { transform: scale(.92); }
@media (prefers-reduced-motion: reduce) { .memory-arrow, .memory-arrow svg { transition: none; } }
.memory-track { cursor: grab; user-select: none; }
.memory-slide:not(.is-current) .photo { cursor: pointer; }
.memory-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.memory-track.is-dragging .photo { cursor: grabbing; }

.about-section { background: var(--cream); }
.gallery-section { background: var(--sand); }

.memory-slide img.photo { display: block; height: auto; object-fit: cover; object-position: center; background: white; }

.memory-slide img[src*='karusell-19'] { object-position: center 30%; }

@media (max-width: 760px) { .memory-controls { display: none; } }

@media (max-width: 760px) { .memory-slide img[src*='karusell-17'] { object-position: 22% center; } }

a { text-decoration-color: var(--coral); }
.text-link, .timeline a, .travel-grid a, .info-grid a, .photo-download, .photo-delete:hover, .photo-delete-link:hover { border-bottom-color: var(--coral); }

.countdown-inner .eyebrow { font-size: 14px; }
@media (min-width: 761px) { .countdown-inner { padding-left: 0; padding-right: 0; } }

body:before { left: -58px; width: clamp(335px, 36vw, 495px); height: clamp(335px, 36vw, 495px); }
@media (max-width: 760px) { body:before { left: -52px; width: 245px; height: 245px; } }

body:after { right: -68px; bottom: 2px; background-position: right center; }
@media (max-width: 760px) { body:after { right: -60px; bottom: -10px; background-position: right center; } }

body:after { width: clamp(335px, 36vw, 495px); height: clamp(335px, 36vw, 495px); }
@media (max-width: 760px) { body:after { width: 280px; height: 280px; } }

@media (max-width: 760px) {
 body:before { left: -35px; width: clamp(235px, 65vw, 285px); height: clamp(235px, 65vw, 285px); }
 body:after { right: -48px; width: clamp(255px, 72vw, 325px); height: clamp(255px, 72vw, 325px); }
}

@media (max-width: 760px) { body:before { top: 63px; } body.has-scrolled:before { top: -11px; } body.header-visible:before { top: 63px; } }

@media (max-width: 760px) { .info-grid h3 { margin-top: 0; } }

@media (min-width: 761px) { .hero-date > span:only-child { font-size: 19px; } }

@media (min-width: 761px) { .countdown-inner .countdown { margin-right: calc(2.75% + 45px); } }

@media (max-width: 760px) { .countdown-band { margin-top: 16px; } }
