:root {
  color-scheme: light;
  --paper: #f5f1e9;
  --paper-deep: #eae3d7;
  --ink: #33382f;
  --muted: #68695f;
  --olive: #59614c;
  --olive-dark: #414a39;
  --rose: #90574f;
  --line: #d9d1c4;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --content: 1280px;
  --shadow: 0 24px 70px rgb(66 61 48 / 10%);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { width: min(calc(100% - 3rem), var(--content)); min-height: 94px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.wordmark em { font-family: var(--serif); font-size: 1.14rem; letter-spacing: 0; text-transform: none; }
.wordmark__mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--olive); border-radius: 50%; color: var(--olive); font: italic 1.15rem var(--serif); }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.site-nav a { color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--olive-dark); }
.nav-toggle { display: none; }
.welcome { position: relative; width: min(calc(100% - 3rem), var(--content)); min-height: min(690px, calc(100svh - 94px)); margin: 0 auto; padding: 3.8rem 0 4.2rem; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.welcome__image { position: relative; min-height: 470px; overflow: hidden; background: #d8d4c3; isolation: isolate; box-shadow: var(--shadow); }
.welcome__image--photo { width: 100%; min-height: 0; height: auto; aspect-ratio: auto; overflow: visible; background: transparent; }
.welcome__image--photo img { position: relative; inset: auto; z-index: auto; width: 100%; height: auto; max-height: none; display: block; object-fit: contain; object-position: center; aspect-ratio: auto; }
.welcome__image--photo::before, .welcome__image--photo::after { display: none; }
.welcome__image::before { position: absolute; z-index: -1; inset: 0; content: ''; background: radial-gradient(ellipse at 50% 42%, #eee6d3 0 13%, transparent 48%), linear-gradient(155deg, #b9c0a3 0%, #e5dbca 45%, #c49e83 100%); }
.welcome__image::after { position: absolute; inset: 52% 0 0; content: ''; background: linear-gradient(0deg, rgb(50 54 42 / 30%), transparent); }
.sun-disc { position: absolute; top: 21%; left: 51%; width: min(35vw, 230px); aspect-ratio: 1; border-radius: 50%; background: #f6edda; opacity: .82; transform: translateX(-50%); }
.botanical { position: absolute; bottom: -7%; width: 48%; height: 62%; border: 1px solid rgb(77 93 65 / 55%); border-width: 0 0 0 2px; border-radius: 50%; transform: rotate(32deg); }
.botanical::before, .botanical::after { position: absolute; width: 48%; height: 24%; content: ''; border: 1px solid rgb(77 93 65 / 50%); border-radius: 100% 0 100% 0; background: rgb(145 157 124 / 24%); }
.botanical::before { top: 20%; left: 4%; transform: rotate(-35deg); box-shadow: 25px 100px 0 -1px rgb(145 157 124 / 20%); }
.botanical::after { top: 45%; right: 1%; transform: rotate(155deg); }
.botanical--left { left: -13%; }
.botanical--right { right: -18%; transform: rotate(-25deg) scaleX(-1); }
.image-note { position: absolute; z-index: 1; right: 1.3rem; bottom: 1rem; margin: 0; color: white; font: italic .9rem var(--serif); }
.welcome__copy { max-width: 490px; padding: 1rem 0; }
.eyebrow { margin: 0 0 1.7rem; color: var(--olive); font-size: .68rem; font-weight: 600; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.script-note { margin: 0 0 .3rem; color: var(--rose); font: italic 1.4rem var(--serif); transform: rotate(-5deg); transform-origin: left; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.5rem, 6vw, 5.8rem); letter-spacing: -.045em; line-height: 1.05; }
.welcome__names { font-size: clamp(2.75rem, 3.8vw, 4.2rem); font-weight: 700; line-height: 1.08; }
h1 em { color: var(--olive); font-weight: 400; }
.name-join { display: block; color: var(--rose); font: italic .48em var(--serif); letter-spacing: 0; }
.welcome__intro { max-width: 410px; margin: 1.5rem 0 1rem; color: var(--muted); font-size: .94rem; }
.welcome__tagline { margin: .9rem 0 0; color: var(--olive); font: italic 1.2rem var(--serif); }
.date-placeholder { margin: 0; color: var(--rose); font: italic 1rem var(--serif); }
.countdown, .date-greeting { margin: .65rem 0 0; color: var(--olive-dark); font-size: .76rem; letter-spacing: .05em; }
.countdown span { color: var(--rose); font: 1.35rem var(--serif); }
.date-greeting { font: italic 1rem var(--serif); }
.welcome__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.button { min-height: 48px; padding: .8rem 1.1rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--olive); color: white; }
.button--primary:hover { background: var(--olive-dark); }
.button:active { transform: translateY(0); }
.text-link { padding: .45rem 0; color: var(--olive-dark); font-size: .78rem; text-decoration-color: var(--line); text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--olive); }
.welcome__index { position: absolute; right: 0; bottom: 2rem; color: var(--muted); font-size: .65rem; letter-spacing: .14em; }
.wedding-schedule { padding: clamp(3.5rem, 7vw, 6rem) 1.5rem; border-top: 1px solid var(--line); background: #eeeadf; }
.wedding-schedule__heading { max-width: 720px; margin: 0 auto 2.4rem; text-align: center; }
.wedding-schedule__heading .eyebrow { margin-bottom: .65rem; }
.wedding-schedule__heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.wedding-schedule__heading > p:last-child { margin: .8rem auto 0; color: var(--muted); }
.wedding-schedule__route { position: relative; width: min(100%, 1000px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr); align-items: center; gap: 1rem; }
.wedding-schedule__route::before { position: absolute; z-index: 0; top: 50%; right: 13%; left: 13%; height: 1px; background: var(--line); content: ''; }
.wedding-schedule__event { position: relative; z-index: 1; min-height: 250px; padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--line); background: var(--paper); }
.wedding-schedule__event--ceremony { border-top: 3px solid var(--rose); }
.wedding-schedule__event--reception { border-top: 3px solid var(--olive); }
.wedding-schedule__event .eyebrow { margin-bottom: .55rem; }
.wedding-schedule__event h3 { margin: 0; color: var(--ink); font: 400 clamp(1.45rem, 2.4vw, 2rem)/1.2 var(--serif); }
.wedding-schedule__date { margin: .45rem 0 0; color: var(--rose); font-size: .78rem; letter-spacing: .04em; }
.wedding-schedule__time { margin: .8rem 0 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--olive-dark); font: italic 1.05rem var(--serif); }
.wedding-schedule__directions { margin-top: .25rem; padding: .45rem 0; color: var(--olive-dark); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-decoration-color: var(--line); text-underline-offset: 5px; text-transform: uppercase; }
.wedding-schedule__transition { position: relative; z-index: 1; padding: .5rem .25rem; display: grid; justify-items: center; gap: .25rem; background: #eeeadf; color: var(--olive-dark); text-align: center; }
.wedding-schedule__transition > span { color: var(--rose); font: 1.5rem var(--serif); }
.wedding-schedule__transition p { margin: 0; display: grid; gap: .1rem; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.wedding-schedule__transition small { color: var(--muted); font-size: .58rem; }
.intro-strip { width: min(calc(100% - 3rem), 920px); margin: 1rem auto 0; padding: 4rem 0; display: grid; grid-template-columns: 3px 1fr .8fr; align-items: center; gap: 2.5rem; border-top: 1px solid var(--line); }
.intro-strip__rule { height: 96px; background: var(--rose); }
.intro-strip .eyebrow { margin-bottom: .6rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.22; }
.intro-strip__note { max-width: 300px; margin: 0; color: var(--muted); font-size: .88rem; }
.memory-placeholder, .share-placeholder { padding: 4.5rem 1.5rem; text-align: center; }
.memory-placeholder { background: #eeeadf; }
.memory-placeholder .eyebrow, .share-placeholder .eyebrow { margin-bottom: .8rem; }
.memory-placeholder h2, .share-placeholder h2 { max-width: 560px; margin: auto; }
.memory-placeholder > p:last-child, .share-placeholder > p:last-child { margin: 1rem auto 0; color: var(--muted); font-size: .9rem; }
.share-placeholder { background: #f8f5ef; }
.quiet-note { min-height: 160px; padding: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; background: var(--paper-deep); color: var(--olive-dark); }
.quiet-note span { color: var(--rose); font: 2.4rem var(--serif); }
.quiet-note p { margin: 0; font: italic clamp(1.15rem, 2vw, 1.55rem) var(--serif); }
.featured-showcase { width: min(calc(100% - 3rem), 1120px); margin: 1rem auto 0; padding: 4.5rem 0; border-top: 1px solid var(--line); }
.featured-showcase__heading { margin-bottom: 1.4rem; text-align: center; }
.featured-showcase__heading .eyebrow { margin-bottom: .5rem; }
.featured-showcase__heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.home-carousel { position: relative; }
.home-carousel__stage { position: relative; height: clamp(280px, 48vw, 580px); overflow: hidden; background: #e9e3d8; }
.home-carousel__slide { position: absolute; inset: 0 auto 0 50%; z-index: 1; width: min(74%, 820px); height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; background: #e5dfd4; opacity: 0; transform: translateX(-50%) scale(.78); transition: transform .55s ease, opacity .55s ease, filter .55s ease; }
.home-carousel__slide[hidden] { display: none; }
.home-carousel__slide[data-position='active'] { z-index: 3; opacity: 1; filter: none; background: transparent; transform: translateX(-50%) scale(1); }
.home-carousel__slide[data-position='previous'] { z-index: 1; opacity: .48; filter: saturate(.72); transform: translateX(calc(-50% - 55%)) scale(.84); }
.home-carousel__slide[data-position='next'] { z-index: 1; opacity: .48; filter: saturate(.72); transform: translateX(calc(-50% + 55%)) scale(.84); }
.home-carousel__slide img { width: 100%; height: 100%; min-height: 0; display: block; object-fit: contain; }
.home-carousel__slide img[data-image-error='true'] { opacity: 0; }
.home-carousel__slide[data-position='previous'] img, .home-carousel__slide[data-position='next'] img { object-fit: cover; }
.home-carousel__slide figcaption { min-height: 48px; padding: .65rem .8rem; overflow: hidden; color: var(--olive-dark); background: #f5f1e9; font: italic 1rem var(--serif); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.home-carousel__slide[data-position='previous'] figcaption, .home-carousel__slide[data-position='next'] figcaption { opacity: 0; }
.home-carousel__controls { position: absolute; z-index: 5; inset: 42% 1rem auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; transform: translateY(-50%); pointer-events: none; }
.home-carousel__controls button { min-width: 46px; min-height: 46px; border: 1px solid rgb(245 241 233 / 85%); border-radius: 50%; background: rgb(51 56 47 / 82%); color: white; cursor: pointer; font: 600 1rem var(--sans); pointer-events: auto; }
.home-carousel__controls button[data-carousel-toggle] { position: absolute; top: clamp(110px, 24vw, 265px); right: 0; min-width: 68px; min-height: 40px; border-radius: 0; font-size: .68rem; letter-spacing: .06em; transform: translateY(50%); }
.home-carousel__indicators { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: .45rem; }
.home-carousel__indicators button { width: 9px; height: 9px; padding: 0; border: 1px solid var(--olive); border-radius: 50%; background: transparent; cursor: pointer; }
.home-carousel__indicators button[aria-current='true'] { background: var(--olive); }
.portfolio-carousel { width: min(100%, 1120px); margin: 0 auto; }
.portfolio-carousel .home-carousel__stage { height: clamp(270px, 44vw, 520px); }
.featured-showcase__empty { padding: 2rem; background: #eeeadf; color: var(--muted); text-align: center; }
.featured-showcase__empty p { margin: 0 0 .6rem; }
.featured-motion { width: min(100%, 1120px); margin: 1.4rem auto 0; }
.featured-motion__frame { position: relative; min-height: 240px; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 15%, #f4efe5 0, #e6dfd3 60%, #d8cebf 100%); }
.featured-motion__frame::before, .featured-motion__frame::after { position: absolute; width: 28%; height: 68%; border: 1px solid rgb(89 97 76 / 16%); border-radius: 50%; content: ''; pointer-events: none; }
.featured-motion__frame::before { left: -16%; transform: rotate(28deg); }
.featured-motion__frame::after { right: -16%; transform: rotate(-28deg); }
.featured-motion__media { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; background: transparent; }
.featured-motion__fallback { z-index: 1; max-width: 32rem; margin: 0; padding: 1.5rem; color: var(--olive-dark); font: italic clamp(1.1rem, 2vw, 1.6rem) var(--serif); text-align: center; }
.featured-motion__fallback[hidden] { display: none; }
.featured-motion__kind { position: absolute; z-index: 2; top: .8rem; left: .8rem; padding: .35rem .55rem; background: rgb(245 241 233 / 92%); color: var(--olive-dark); font: 600 .62rem var(--sans); letter-spacing: .1em; }
.featured-motion__kind[hidden] { display: none; }
.featured-motion__footer { min-height: 48px; padding: .55rem .8rem; display: flex; align-items: center; justify-content: center; gap: 1rem; background: #f5f1e9; }
.featured-motion__caption { margin: 0; color: var(--olive-dark); font: italic 1rem var(--serif); text-align: center; }
.featured-motion__sound { min-height: 36px; padding: .35rem .7rem; border: 1px solid var(--line); background: transparent; color: var(--olive-dark); cursor: pointer; font: 600 .65rem var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.featured-motion__sound[hidden] { display: none; }
.featured-motion__sound:hover { border-color: var(--olive); background: #eae3d7; }
.featured-motion__sound:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.featured-motion__announcement { min-height: 1px; }
.portfolio { width: 100%; }
.portfolio-chapter { padding: clamp(3rem, 7vw, 6rem) max(1.5rem, calc((100% - 1050px) / 2)); border-top: 1px solid var(--line); }
.portfolio-chapter:nth-child(even) { background: #efebe2; }
.portfolio-chapter__heading { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.portfolio-chapter__heading .eyebrow { margin-bottom: .65rem; }
.portfolio-chapter__heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.portfolio-chapter__heading > p:last-child { margin: .8rem auto 0; color: var(--muted); }
.portfolio-placeholder { max-width: 680px; margin: 1rem auto 0; padding: 1.3rem; background: rgb(245 241 233 / 72%); color: var(--muted); font: italic 1rem var(--serif); text-align: center; }
.story-timeline { max-width: 680px; margin: 0 auto; padding: 0 0 0 1rem; list-style: none; }
.story-timeline li { position: relative; min-height: 94px; padding: 0 0 1.5rem 2rem; border-left: 1px solid var(--line); }
.story-timeline li:last-child { border-left-color: transparent; }
.story-timeline__marker { position: absolute; top: .35rem; left: -5px; width: 9px; height: 9px; border: 1px solid var(--rose); border-radius: 50%; background: var(--paper); }
.story-timeline time { color: var(--rose); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.story-timeline h3 { margin: .1rem 0 .3rem; font: 400 1.35rem var(--serif); }
.story-timeline p { max-width: 560px; margin: 0; color: var(--muted); font-size: .88rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }
.site-footer { min-height: 168px; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.site-footer p { margin: .25rem 0 .7rem; font: italic 1.1rem var(--serif); }
.footer-flourish { color: var(--rose); }
.footer-caption { color: var(--muted); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 2rem); min-height: 76px; }
  .nav-toggle { min-width: 44px; min-height: 44px; padding: .5rem; display: inline-flex; align-items: center; gap: .55rem; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
  .nav-toggle__label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
  .nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { width: 18px; height: 1px; display: block; background: var(--olive-dark); }
  .nav-toggle__icon { position: relative; }
  .nav-toggle__icon::before, .nav-toggle__icon::after { position: absolute; left: 0; content: ''; }
  .nav-toggle__icon::before { top: -6px; }
  .nav-toggle__icon::after { top: 6px; }
  .site-nav { position: absolute; z-index: 3; top: 76px; right: 1rem; left: 1rem; padding: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; padding: .8rem .5rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .welcome { width: calc(100% - 2rem); min-height: 0; padding: 1.4rem 0 3.5rem; grid-template-columns: 1fr; gap: 1.6rem; }
  .welcome__image { min-height: clamp(250px, 67vw, 430px); }
  .welcome__copy { padding: .4rem .3rem; }
  .eyebrow { margin-bottom: 1rem; }
  h1 { font-size: clamp(3.5rem, 15vw, 5.2rem); }
  .welcome__names { font-size: clamp(2.15rem, 9.4vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; }
  h1 { overflow-wrap: anywhere; }
  .welcome__image--photo { min-height: 0; }
  .welcome__intro { margin-top: 1.1rem; }
  .welcome__actions { margin-top: 1.4rem; gap: 1rem; }
  .welcome__index { bottom: 1rem; }
  .wedding-schedule { padding: 3rem 1rem; }
  .wedding-schedule__heading { margin-bottom: 1.6rem; }
  .wedding-schedule__route { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .wedding-schedule__route::before { display: none; }
  .wedding-schedule__event { min-height: 0; padding: 1.4rem; }
  .wedding-schedule__transition { padding: .3rem; display: flex; justify-content: center; gap: .65rem; }
  .wedding-schedule__transition > span { transform: rotate(90deg); }
  .wedding-schedule__transition p { display: flex; align-items: baseline; gap: .35rem; }
  .intro-strip { width: calc(100% - 2rem); padding: 2.8rem 0; grid-template-columns: 3px 1fr; gap: 1.25rem; }
  .intro-strip__rule { height: 100%; min-height: 115px; }
  .intro-strip__note { grid-column: 2; }
  .featured-showcase { width: calc(100% - 2rem); padding: 3rem 0; }
  .home-carousel__stage { height: clamp(250px, 72vw, 420px); }
  .home-carousel__slide { width: 78%; }
  .home-carousel__slide[data-position='previous'] { transform: translateX(calc(-50% - 52%)) scale(.8); }
  .home-carousel__slide[data-position='next'] { transform: translateX(calc(-50% + 52%)) scale(.8); }
  .home-carousel__controls { inset: 42% .25rem auto; }
  .home-carousel__controls button { min-width: 40px; min-height: 40px; }
  .home-carousel__controls button[data-carousel-toggle] { top: clamp(100px, 45vw, 190px); right: 0; min-width: 62px; min-height: 36px; font-size: .6rem; }
  .featured-motion { margin-top: 1rem; }
  .featured-motion__frame { min-height: 210px; aspect-ratio: 4 / 3; }
  .featured-motion__footer { justify-content: space-between; }
  .featured-motion__caption { flex: 1; font-size: .9rem; }
  .featured-motion__sound { min-height: 40px; }
  .portfolio-carousel .home-carousel__stage { height: clamp(240px, 68vw, 380px); }
  .portfolio-chapter { padding: 3.2rem 1rem; }
}
@media (max-width: 380px) {
  .wordmark { gap: .5rem; font-size: .72rem; }
  .wordmark em { font-size: 1rem; }
  .welcome__actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
