@font-face {
  font-display: swap;
  font-family: "Apalu";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/apalu.ttf") format("truetype");
}

:root {
  --off-white: #f7f2e9;
  --paper: #fffaf1;
  --sand: #cbb094;
  --sand-deep: #a8896d;
  --chocolate: #422718;
  --chocolate-soft: #644333;
  --ink: #2f1c12;
  --line: rgba(66, 39, 24, 0.18);
  --script: "Apalu", "Snell Roundhand", cursive;
  --serif: Garamond, "EB Garamond", Georgia, serif;
  --shadow: 0 24px 60px rgba(71, 43, 26, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--chocolate);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  background: radial-gradient(circle at 15% 15%, rgba(203, 176, 148, 0.16), transparent 29rem), radial-gradient(circle at 88% 38%, rgba(203, 176, 148, 0.12), transparent 22rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

img { display: block; max-width: 100%; }

::selection { background: var(--sand); color: var(--chocolate); }

.skip-link {
  background: var(--chocolate);
  color: var(--off-white);
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -5rem;
  transition: top 0.2s ease;
  z-index: 20;
}

.skip-link:focus { top: 1rem; }

.section-shell { margin: 0 auto; max-width: 1180px; padding-left: 32px; padding-right: 32px; }

.section-space { padding-bottom: 136px; padding-top: 136px; }

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 0.76rem;
  font-weight: 600;
  gap: 0.55rem;
  letter-spacing: 0.17em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

.eyebrow::before { background: var(--sand-deep); content: ""; height: 1px; width: 28px; }

h1, h2, h3, p { margin-top: 0; }

h2 {
  font-size: clamp(3rem, 5.4vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.85;
  margin-bottom: 1.9rem;
}

h2 span, .footer-signature span { font-family: var(--script); font-weight: 400; letter-spacing: 0; }

.site-header {
  align-items: center;
  background-color: var(--off-white);
  display: flex;
  height: 94px;
  isolation: isolate;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 48px;
  position: relative;
  z-index: 10;
}

.site-header::before {
  background: url("/images/identity/floral-surface.webp") center 47% / 720px auto repeat-x;
  content: "";
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.site-header > * { position: relative; z-index: 1; }

.brand { align-items: center; display: flex; flex-direction: column; line-height: 0.85; text-decoration: none; }
.brand-mark { height: 42px; object-fit: contain; width: 42px; }
.brand-date { font-size: 0.53rem; font-weight: 600; letter-spacing: 0.19em; margin-top: 0.4rem; }

.site-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.45rem); }
.site-nav a { font-size: 0.93rem; font-style: italic; text-decoration: none; transition: color 0.2s ease; }
.site-nav a:hover { color: var(--sand-deep); }
.menu-toggle { display: none; }

.hero { align-items: center; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.83fr); min-height: 650px; padding-bottom: 88px; padding-top: 66px; position: relative; }

.hero-copy { max-width: 600px; padding-right: 3rem; position: relative; }
.hero-monogram { bottom: 9%; opacity: 0.08; pointer-events: none; position: absolute; right: -12px; width: 155px; z-index: 0; }
.hero-copy, .hero-photo { z-index: 1; }

.hero h1 { font-size: clamp(5.2rem, 10.6vw, 9.7rem); font-weight: 400; letter-spacing: -0.075em; line-height: 0.66; margin: 0; max-width: 650px; }
.hero h1 span { display: block; font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.hero h1 em { color: var(--sand-deep); display: block; font-family: var(--serif); font-size: 0.26em; font-style: italic; letter-spacing: 0; line-height: 0.8; margin-left: 3.2em; }

.hero-date { align-items: center; display: flex; font-size: 0.84rem; font-weight: 600; gap: 0.6rem; letter-spacing: 0.12em; margin: 2.2rem 0; }
.hero-date i { background: var(--sand-deep); border-radius: 50%; height: 4px; width: 4px; }
.hero-intro { font-size: 1.23rem; line-height: 1.38; margin-bottom: 1.6rem; max-width: 470px; }

.text-link { border-bottom: 1px solid var(--chocolate); display: inline-flex; font-size: 1.05rem; gap: 0.8rem; padding-bottom: 0.22rem; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease; }
.text-link span { color: var(--sand-deep); font-size: 1.25em; line-height: 0.9; }
.text-link:hover { border-color: var(--sand-deep); color: var(--sand-deep); }

.photo-frame { position: relative; }
.photo-frame::before { border: 1px solid var(--sand); content: ""; inset: -14px 14px 14px -14px; pointer-events: none; position: absolute; z-index: 1; }
.hero-photo { margin-left: auto; width: min(100%, 410px); }
.hero-photo .hero-image { aspect-ratio: 0.73; box-shadow: var(--shadow); height: 100%; object-fit: cover; object-position: 50% 48%; width: 100%; }
.hero-photo figcaption { background: var(--paper); bottom: -22px; font-family: var(--script); font-size: 1.9rem; left: -38px; padding: 0.38rem 1rem 0.1rem; position: absolute; transform: rotate(-5deg); z-index: 2; }
.photo-seal { height: 55px; object-fit: contain; position: absolute; right: -23px; top: -27px; transform: rotate(12deg); width: 55px; z-index: 2; }

.countdown-band { background-color: var(--chocolate); color: var(--off-white); overflow: hidden; position: relative; }
.countdown-band::before {
  background: url("/images/identity/floral-surface.webp") center 52% / 850px auto repeat;
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}
.countdown-wrap { align-items: center; display: flex; justify-content: space-between; min-height: 197px; position: relative; z-index: 1; }
.countdown-mark { opacity: 0.13; pointer-events: none; position: absolute; right: 28%; top: 50%; transform: translateY(-50%); width: 155px; }
.countdown-heading { position: relative; z-index: 1; }
.countdown-heading .eyebrow { color: var(--sand); }
.countdown-heading h2 { font-size: clamp(2.6rem, 4vw, 4.2rem); margin: 0; }
.countdown-heading h2 span { color: var(--sand); }
.countdown { display: flex; gap: clamp(1.1rem, 3.5vw, 3.8rem); position: relative; text-align: center; z-index: 1; }
.countdown div { min-width: 54px; }
.countdown strong { color: var(--sand); display: block; font-size: clamp(2.4rem, 4.2vw, 4.8rem); font-weight: 400; letter-spacing: -0.06em; line-height: 0.8; }
.countdown span { display: block; font-size: 0.72rem; letter-spacing: 0.12em; margin-top: 0.55rem; text-transform: uppercase; }

.welcome { max-width: 860px; text-align: center; }
.welcome .eyebrow { justify-content: center; }
.welcome .eyebrow::after { background: var(--sand-deep); content: ""; height: 1px; width: 28px; }
.welcome h2 { font-size: clamp(3.5rem, 6.2vw, 6.4rem); }
.welcome h2 span { color: var(--sand-deep); display: block; font-size: 1.18em; line-height: 0.55; }
.welcome > p:last-child { font-size: clamp(1.15rem, 1.9vw, 1.42rem); line-height: 1.45; margin: 3.1rem auto 0; max-width: 740px; }
.welcome-ornament { display: block; height: 42px; margin: 0 auto 2.2rem; object-fit: contain; opacity: 0.58; width: 42px; }

.verse-section { background: #e6d5c0; padding: 98px 0; }
.verse-card { max-width: 950px; padding-left: 104px; position: relative; text-align: center; }
.verse-mark { left: 32px; opacity: 0.55; position: absolute; top: 35px; width: 48px; }
blockquote { font-size: clamp(1.75rem, 3.1vw, 2.95rem); line-height: 1.05; margin: 0 auto 1.4rem; max-width: 790px; }
cite { font-size: 0.85rem; font-style: normal; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
cite span { color: var(--sand-deep); padding: 0 0.35rem; }

.story-section { display: block; max-width: 980px; }
.story-copy { margin: 0 auto; max-width: 860px; }
.story-copy .eyebrow { justify-content: center; }
.story-copy .eyebrow::after { background: var(--sand-deep); content: ""; height: 1px; width: 28px; }
.story-copy h2 { font-size: clamp(3.6rem, 6vw, 6.4rem); }
.story-copy h2 { text-align: center; }
.story-copy h2 span { color: var(--sand-deep); display: block; font-size: 1.16em; line-height: 0.58; }
.story-placeholder { border-left: 2px solid var(--sand); margin: 3.3rem auto 0; max-width: 820px; padding: 0.3rem 0 0.3rem 1.7rem; }
.story-placeholder p { font-size: 1.23rem; line-height: 1.5; margin-bottom: 0.95rem; }
.story-placeholder strong { font-weight: 600; }
.placeholder-signature { color: var(--sand-deep); font-family: var(--script); font-size: 2rem; }

.gallery-section { background: #ebdfcf; overflow: hidden; padding: 120px 0 132px; position: relative; }
.floral-surface { bottom: -170px; opacity: 0.18; pointer-events: none; position: absolute; right: -125px; transform: rotate(-8deg); width: min(58vw, 670px); }
.gallery-header { max-width: 860px; text-align: center; }
.gallery-header, .gallery-grid { position: relative; z-index: 1; }
.gallery-header .eyebrow { justify-content: center; }
.gallery-header h2 { font-size: clamp(3.1rem, 5.4vw, 5.9rem); }
.gallery-header h2 span { color: var(--sand-deep); display: block; font-size: 1.03em; line-height: 0.76; }
.gallery-grid { display: grid; gap: 18px; grid-template-columns: 1.08fr 0.92fr; grid-template-rows: 1fr 1fr; margin-top: 3.7rem; }
.gallery-card { margin: 0; overflow: hidden; }
.gallery-card--tall { grid-row: 1 / 3; }
.gallery-card--top { transform: translateY(-28px); }
.gallery-card--bottom { transform: translate(7%, 20px); width: 87%; }
.gallery-card img { height: 100%; min-height: 0; object-fit: cover; transition: transform 0.55s ease; width: 100%; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card--tall img { aspect-ratio: 0.84; object-position: 52% 50%; }
.gallery-card--top img, .gallery-card--bottom img { aspect-ratio: 1.46; object-position: 50% 45%; }

.event-section { display: grid; gap: clamp(3.5rem, 9vw, 9rem); grid-template-columns: 0.7fr 1.3fr; }
.event-title-block h2 { font-size: clamp(3.7rem, 5.4vw, 6.2rem); }
.event-title-block h2 span { color: var(--sand-deep); display: block; font-size: 1.1em; line-height: 0.57; }
.event-title-block > p:last-child { font-size: 1.25rem; line-height: 1.4; max-width: 290px; }
.event-details { align-items: center; border-top: 1px solid var(--line); display: grid; gap: clamp(2.2rem, 5vw, 5rem); grid-template-columns: minmax(170px, 0.46fr) 1fr; padding-top: 2rem; }
.date-card { align-items: center; background: var(--sand); display: flex; flex-direction: column; justify-content: center; min-height: 260px; text-align: center; }
.date-card .month, .date-card .weekday { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.date-card strong { font-size: 7.4rem; font-weight: 400; letter-spacing: -0.09em; line-height: 0.72; margin: 0.85rem 0; }
.event-info { padding-right: 1rem; }
.info-label { color: var(--sand-deep); display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.13em; margin-bottom: 0.6rem; text-transform: uppercase; }
.event-info h3 { font-size: clamp(2.4rem, 3.5vw, 3.8rem); font-weight: 400; letter-spacing: -0.05em; line-height: 0.9; margin-bottom: 1.5rem; }
.event-info h3 em { color: var(--sand-deep); font-family: var(--script); font-size: 1.25em; font-style: normal; letter-spacing: 0; }
.event-meta { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-bottom: 1.8rem; padding: 1rem 0 0.85rem; }
.event-meta p { font-size: 1.12rem; line-height: 1.25; margin-bottom: 0.6rem; }
.event-meta small { color: var(--chocolate-soft); font-size: 0.95em; }
.icon { color: var(--sand-deep); display: inline-block; font-family: Georgia, serif; font-size: 1.2em; margin-right: 0.26rem; width: 1.1em; }
.button { align-items: center; display: inline-flex; font-family: var(--serif); font-size: 1rem; gap: 0.65rem; justify-content: center; padding: 0.9rem 1.35rem; text-decoration: none; transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease; }
.button:hover { transform: translateY(-2px); }
.button-outline { border: 1px solid var(--chocolate); }
.button-outline:hover { background: var(--chocolate); color: var(--off-white); }

.attire-section { background: var(--chocolate); color: var(--off-white); }
.attire-wrap { align-items: center; display: grid; gap: 2.4rem; grid-template-columns: auto 0.68fr 1fr; padding-bottom: 82px; padding-top: 82px; }
.attire-symbol { align-items: center; border: 1px solid var(--sand); border-radius: 50%; display: flex; height: 68px; justify-content: center; width: 68px; }
.attire-symbol img { filter: brightness(0) invert(1); height: 47px; object-fit: contain; opacity: 0.78; width: 47px; }
.attire-wrap .eyebrow { color: var(--sand); }
.attire-wrap h2 { font-size: clamp(3.2rem, 4.6vw, 5rem); margin: 0; }
.attire-wrap h2 span { color: var(--sand); }
.attire-text { font-size: 1.2rem; line-height: 1.38; margin: 0; max-width: 500px; }

.rsvp-section { background: linear-gradient(115deg, rgba(66, 39, 24, 0.94), rgba(66, 39, 24, 0.84)), url('/images/gallery-kiss.jpeg') center 45% / cover; color: var(--off-white); padding: 126px 0; }
.rsvp-card { max-width: 820px; position: relative; text-align: center; }
.rsvp-garden { bottom: -135px; opacity: 0.28; pointer-events: none; position: absolute; right: -88px; width: 185px; z-index: 0; }
.rsvp-mark { z-index: 0; }
.rsvp-card > *:not(.rsvp-garden):not(.rsvp-mark) { position: relative; z-index: 1; }
.rsvp-card .eyebrow { color: var(--sand); justify-content: center; }
.rsvp-card .eyebrow::after { background: var(--sand-deep); content: ""; height: 1px; width: 28px; }
.rsvp-card h2 { font-size: clamp(3.5rem, 6.3vw, 6.7rem); }
.rsvp-card h2 span { color: var(--sand); display: block; font-size: 1.06em; line-height: 0.72; }
.rsvp-card > p { font-size: 1.25rem; line-height: 1.42; margin: 2.2rem auto; max-width: 695px; }
.rsvp-deadline { color: var(--sand); font-size: 1.03rem; letter-spacing: 0.05em; margin-bottom: 1.65rem; }
.rsvp-deadline strong { color: var(--off-white); font-size: 1.13em; font-weight: 600; }
.button-solid { background: var(--sand); color: var(--chocolate); max-width: 100%; padding: 1rem 1.45rem; }
.button-solid:hover { background: var(--off-white); }
.whatsapp-mark { border: 1px solid currentColor; border-radius: 50%; font-size: 0.87rem; height: 19px; line-height: 16px; text-align: center; width: 19px; }
.rsvp-mark { height: 70px; left: 4%; opacity: 0.45; position: absolute; top: -38px; transform: rotate(-12deg); width: 70px; }

.gift-section { max-width: 800px; padding-bottom: 150px; padding-top: 142px; text-align: center; }
.gift-section .eyebrow { justify-content: center; }
.gift-section .eyebrow::after { background: var(--sand-deep); content: ""; height: 1px; width: 28px; }
.gift-icon { align-items: center; border: 1px solid var(--sand); border-radius: 50%; display: flex; height: 72px; justify-content: center; margin: 0 auto 2rem; transform: rotate(-10deg); width: 72px; }
.gift-icon img { height: 53px; object-fit: contain; opacity: 0.72; width: 32px; }
.gift-section h2 { font-size: clamp(3.7rem, 5.8vw, 6.4rem); margin-bottom: 2.3rem; }
.gift-section h2 span { color: var(--sand-deep); display: block; font-size: 1.14em; line-height: 0.55; }
.gift-section > p { font-size: 1.24rem; line-height: 1.43; margin: 0 auto 2.2rem; max-width: 680px; }

.site-footer { background: var(--chocolate); color: var(--off-white); padding: 88px 0 44px; text-align: center; }
.footer-inner { max-width: 760px; }
.footer-inner > p { font-size: 1.18rem; line-height: 1.42; margin: 0 auto 2.3rem; max-width: 670px; }
.footer-signature { color: var(--sand); font-size: 1.05rem; line-height: 1.4; }
.footer-signature span { color: var(--off-white); font-size: 3rem; line-height: 0.9; }
.footer-divider { align-items: center; display: flex; gap: 0.9rem; justify-content: center; margin: 3.2rem 0 1.2rem; }
.footer-divider i { background: rgba(247, 242, 233, 0.38); height: 1px; width: 60px; }
.footer-divider img { height: 24px; object-fit: contain; width: 24px; }
.site-footer small { color: var(--sand); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .section-shell { padding-left: 22px; padding-right: 22px; }
  .section-space { padding-bottom: 92px; padding-top: 92px; }
  .site-header { height: 76px; padding: 0 22px; }
  .menu-toggle { background: transparent; border: 0; display: flex; flex-direction: column; gap: 5px; padding: 10px 0 10px 10px; }
  .menu-toggle span { background: var(--chocolate); display: block; height: 1px; transition: transform 0.2s ease; width: 25px; }
  .menu-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { background: var(--paper); box-shadow: 0 15px 28px rgba(66, 39, 24, 0.14); display: flex; flex-direction: column; gap: 0; opacity: 0; padding: 0.6rem 1.15rem; pointer-events: none; position: absolute; right: 18px; top: 65px; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease; width: 215px; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { display: flex; flex-direction: column; gap: 3.4rem; min-height: 0; padding-bottom: 88px; padding-top: 54px; }
  .hero-copy { padding-right: 0; }
  .hero-monogram { bottom: 37%; opacity: 0.06; right: -34px; width: 125px; }
  .photo-seal { height: 43px; right: -13px; top: -21px; width: 43px; }
  .hero h1 { font-size: clamp(5rem, 23vw, 7.5rem); }
  .hero h1 em { margin-left: 2.8em; }
  .hero-intro { font-size: 1.15rem; }
  .hero-photo { margin: 0 auto; width: min(83%, 390px); }
  .hero-photo figcaption { font-size: 1.65rem; left: -14px; }
  .countdown-wrap { align-items: flex-start; flex-direction: column; gap: 1.9rem; padding-bottom: 38px; padding-top: 38px; }
  .countdown-wrap::after { display: none; }
  .countdown { gap: 0; justify-content: space-between; width: 100%; }
  .countdown div { min-width: 0; }
  .countdown strong { font-size: clamp(2.4rem, 11vw, 3.9rem); }
  .countdown span { font-size: 0.6rem; letter-spacing: 0.06em; }
  .welcome h2 { font-size: clamp(3.6rem, 16vw, 5.6rem); }
  .welcome > p:last-child { font-size: 1.14rem; margin-top: 2.4rem; }
  .verse-section { padding: 72px 0; }
  .verse-card { padding-left: 34px; }
  .verse-mark { left: 9px; top: 28px; width: 34px; }
  blockquote { font-size: clamp(1.65rem, 7.3vw, 2.5rem); }
  .story-section { display: flex; flex-direction: column; gap: 4.5rem; }
  .story-media { width: min(86%, 420px); }
  .story-copy { max-width: 100%; }
  .story-copy h2 { font-size: clamp(4rem, 17vw, 6rem); }
  .story-placeholder p { font-size: 1.14rem; }
  .gallery-section { padding: 80px 0 95px; }
  .floral-surface { bottom: -30px; opacity: 0.13; right: -115px; width: 430px; }
  .gallery-header h2 { font-size: clamp(3.35rem, 14vw, 5rem); }
  .gallery-grid { gap: 10px; margin-top: 3.2rem; }
  .gallery-card--top { transform: translateY(-15px); }
  .gallery-card--bottom { transform: translate(7%, 12px); }
  .event-section { display: block; }
  .event-title-block { margin-bottom: 3.5rem; }
  .event-title-block > p:last-child { max-width: 390px; }
  .event-details { gap: 2rem; grid-template-columns: 0.7fr 1fr; }
  .date-card { min-height: 205px; }
  .date-card strong { font-size: 5.7rem; }
  .event-info h3 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .event-meta p { font-size: 1.02rem; }
  .attire-wrap { align-items: start; display: grid; gap: 1.4rem; grid-template-columns: auto 1fr; padding-bottom: 58px; padding-top: 58px; }
  .attire-symbol { height: 55px; width: 55px; }
  .attire-symbol img { height: 38px; width: 38px; }
  .attire-wrap h2 { font-size: clamp(3.4rem, 14vw, 5rem); }
  .attire-text { grid-column: 1 / -1; margin-top: 0.6rem; }
  .rsvp-section { padding: 95px 0; }
  .rsvp-card h2 { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .rsvp-card > p { font-size: 1.14rem; }
  .rsvp-garden { bottom: -85px; opacity: 0.2; right: -62px; width: 126px; }
  .button-solid { font-size: 0.96rem; line-height: 1.2; padding: 0.95rem 1rem; }
  .rsvp-mark { height: 48px; left: 2%; top: -22px; width: 48px; }
  .gift-section { padding-bottom: 100px; padding-top: 96px; }
  .gift-section h2 { font-size: clamp(3.8rem, 16vw, 5.8rem); }
  .gift-section > p { font-size: 1.14rem; }
  .site-footer { padding: 70px 0 35px; }
  .footer-inner > p { font-size: 1.08rem; }
}

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