:root {
  --forest: #3f4932;
  --forest-deep: #303827;
  --olive: #6f7651;
  --moss: #8e9270;
  --clay: #9a5743;
  --camel: #b9855b;
  --sand: #cab995;
  --oat: #e8dfce;
  --paper: #f5f0e6;
  --ivory: #fbf8f1;
  --ink: #352f29;
  --muted: #766d63;
  --line: rgba(53, 47, 41, 0.2);
  --serif: 'Italiana', 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 400; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }

.eyebrow { margin: 0 0 1.4rem; font-size: 0.74rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; }
.earth { color: var(--clay); }
.light-earth { color: #d6c7a7; }
.section-pad { padding: clamp(5rem, 10vw, 9.5rem) clamp(1.5rem, 7vw, 7rem); }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--ivory); }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-image { object-position: center 72%; animation: hero-in 1.5s ease-out both; }
.hero-shade { background: linear-gradient(180deg, rgba(25, 28, 20, 0.38) 0%, rgba(25, 28, 20, 0.08) 45%, rgba(25, 28, 20, 0.5) 100%); }
.nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 1.75rem clamp(1.4rem, 5vw, 4.8rem); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.nav a { text-decoration: none; }
.nav-mark { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.08em; }
.nav-mark span { color: #d9bd8d; font-style: italic; }
.nav-links { display: flex; gap: clamp(1.2rem, 4vw, 3.5rem); }
.nav-links a { position: relative; padding: 0.5rem 0; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ''; background: currentColor; transform: scaleX(0); transition: transform 250ms ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.hero-copy { position: relative; z-index: 1; display: flex; min-height: calc(100svh - 85px); padding: clamp(5rem, 14vh, 9rem) 1.5rem 4rem; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-copy .eyebrow { color: rgba(255, 255, 255, 0.88); }
.hero h1 { display: flex; margin: 0; flex-direction: column; align-items: center; font-family: var(--serif); font-size: clamp(4.4rem, 11vw, 9.5rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.72; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18); }
.hero h1 i { margin: 0.2em 0 0.12em; color: #e3cba1; font-size: 0.42em; font-weight: 400; }
.hero-meta { display: flex; margin-top: clamp(2.6rem, 6vh, 4.5rem); align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.hero-meta span { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; }
.hero-meta strong { padding: 0 1.5rem; border-right: 1px solid rgba(255,255,255,.45); border-left: 1px solid rgba(255,255,255,.45); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; letter-spacing: 0.12em; }
.text-link { display: inline-flex; margin-top: 2.5rem; padding-bottom: 0.45rem; border-bottom: 1px solid currentColor; align-items: center; gap: 1rem; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-decoration: none; text-transform: uppercase; }
.text-link span { transition: transform 250ms ease; }
.text-link:hover span { transform: translateY(4px); }
.text-link-light { color: var(--ivory); }
.hero-side { position: absolute; z-index: 1; right: 1.2rem; bottom: 2rem; margin: 0; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; writing-mode: vertical-rl; }

.welcome { background: var(--ivory); text-align: center; }
.welcome h2 { max-width: 850px; margin: 0 auto; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 400; letter-spacing: -0.035em; line-height: 1.04; }
.welcome-copy { max-width: 580px; margin: 2.2rem auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.botanical-rule { display: flex; max-width: 310px; margin: 3.4rem auto 0; color: var(--camel); align-items: center; gap: 1.3rem; }
.botanical-rule span { height: 1px; flex: 1; background: var(--line); }

.day { display: grid; min-height: 850px; background: var(--forest); color: var(--ivory); grid-template-columns: 1.05fr 0.95fr; }
.day-photo { position: relative; min-height: 760px; overflow: hidden; }
.day-photo img { height: 100%; object-fit: cover; }
.day-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 65%, rgba(35,38,26,.45)); }
.day-photo p { position: absolute; z-index: 1; bottom: 2rem; left: 2rem; margin: 0; color: var(--ivory); font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.16em; }
.day-content { display: flex; justify-content: center; flex-direction: column; }
.day h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 6rem); font-weight: 400; letter-spacing: -0.04em; }
.place { margin: 0.8rem 0 4rem; color: #cfc5ae; font-family: var(--serif); font-size: 1.45rem; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.18); align-items: start; gap: 1.8rem; grid-template-columns: 95px 1fr; }
.timeline li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.timeline time { color: #d6c7a7; font-family: var(--serif); font-size: 1.2rem; }
.timeline strong, .timeline span { display: block; }
.timeline strong { margin-bottom: 0.45rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.timeline span { color: rgba(255,255,255,.68); font-size: 0.9rem; line-height: 1.6; }

.dress-code { display: grid; background: var(--oat); align-items: center; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1fr 0.85fr; }
.dress-copy { max-width: 600px; }
.dress-copy h2 { margin: 0 0 1.7rem; font-family: var(--serif); font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 400; letter-spacing: -0.045em; }
.dress-copy > p:not(.eyebrow):not(.dress-note) { max-width: 540px; margin: 0; color: #655c51; font-size: 1.05rem; line-height: 1.85; }
.dress-note { margin: 2rem 0 0; color: var(--forest); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.palette { display: flex; margin-top: 3.5rem; flex-wrap: wrap; gap: clamp(0.9rem, 2vw, 1.4rem); }
.palette div { text-align: center; }
.palette span { display: block; width: clamp(46px, 5vw, 66px); height: clamp(46px, 5vw, 66px); border: 5px solid rgba(255,255,255,.28); border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(53,47,41,.12); }
.palette small { display: block; margin-top: 0.7rem; color: #665d53; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.dress-portrait { position: relative; margin: 0; padding: 1.2rem 1.2rem 3.7rem; background: var(--ivory); transform: rotate(1.5deg); box-shadow: 0 22px 55px rgba(64,49,37,.13); }
.dress-portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
.dress-portrait figcaption { position: absolute; right: 1.5rem; bottom: 1.25rem; left: 1.5rem; font-family: var(--serif); font-size: 1rem; text-align: center; }

.gallery { display: grid; padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 5vw, 5rem); background: var(--ivory); gap: clamp(0.8rem, 2vw, 1.8rem); grid-template-columns: 1.2fr 0.8fr 1fr; grid-template-rows: 180px minmax(300px, 32vw); }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { height: 100%; object-fit: cover; transition: transform 700ms ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery-wide { grid-row: 1 / 3; }
.gallery-title { display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gallery-title p:last-child { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4rem); }
.gallery-tall { grid-row: 1 / 3; grid-column: 3; }
.gallery-small { grid-column: 2; }
.gallery-tall img { object-position: center 70%; }

.rsvp-section { display: grid; padding: clamp(4.5rem, 9vw, 8.5rem) clamp(1.3rem, 7vw, 7rem); background: var(--forest-deep); color: var(--ivory); gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 0.72fr 1.28fr; }
.rsvp-intro { position: sticky; top: 4rem; align-self: start; }
.rsvp-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 8vw, 8rem); font-weight: 400; letter-spacing: -0.05em; line-height: 0.88; }
.rsvp-intro > p:not(.eyebrow):not(.date-mark) { max-width: 330px; margin: 2.2rem 0 0; color: rgba(255,255,255,.65); line-height: 1.75; }
.date-mark { margin: 4rem 0 0; color: #d6c7a7; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .17em; }
.rsvp-card { padding: clamp(2rem, 5vw, 4.5rem); background: var(--paper); color: var(--ink); }
.field-row { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.field { display: block; color: #5b5248; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.13em; text-transform: uppercase; }
.field span { color: var(--clay); }
.field input, .field textarea { width: 100%; margin-top: 0.85rem; padding: 0.75rem 0; border: 0; border-bottom: 1px solid #aaa08f; border-radius: 0; outline: none; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; text-transform: none; transition: border-color 180ms ease; }
.field input:focus, .field textarea:focus { border-color: var(--clay); }
.field-guests { display: block; max-width: 180px; margin-top: 2.2rem; }
.field-notes { margin-top: 2.7rem; }
.field textarea { resize: vertical; }
fieldset { margin: 3.2rem 0 0; padding: 0; border: 0; }
legend { width: 100%; padding: 0 0 1rem; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; }
legend span { display: inline-block; margin-right: 1rem; color: var(--clay); font-family: var(--sans); font-size: .67rem; font-weight: 400; letter-spacing: .12em; vertical-align: middle; }
fieldset > small { display: block; margin-top: 0.8rem; color: var(--muted); font-size: 0.76rem; }
.choice-grid { display: grid; margin-top: 1rem; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: flex; min-height: 56px; border: 1px solid #bdb3a4; cursor: pointer; align-items: center; justify-content: center; transition: 180ms ease; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.choice:hover { border-color: var(--olive); }
.choice:focus-within { outline: 2px solid var(--olive); outline-offset: 2px; }
.choice.is-selected { border-color: var(--forest); background: var(--forest); color: var(--ivory); }
.field-error { min-height: 1rem; margin: 0.55rem 0 0; color: #9a3f33; font-size: 0.76rem; }
.submit-button { display: flex; width: 100%; margin-top: 3rem; padding: 1.2rem 1.4rem; border: 0; background: var(--clay); color: white; cursor: pointer; align-items: center; justify-content: center; gap: 1.1rem; font-size: 0.74rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; transition: background 200ms ease, transform 200ms ease; }
.submit-button:hover { background: #844633; transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-message { margin: 0; color: #9a3f33; line-height: 1.7; text-align: center; }
.form-message.success { display: flex; min-height: 380px; color: var(--forest); flex-direction: column; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.25rem; }
.form-message.success span { margin-bottom: 1.2rem; color: var(--clay); font-size: 2.5rem; }
.form-message.success strong { display: block; margin-bottom: 1rem; font-size: 3rem; font-weight: 400; }

footer { display: grid; padding: 2.4rem clamp(1.4rem, 5vw, 4.8rem); background: #22271d; color: rgba(255,255,255,.72); align-items: center; grid-template-columns: 1fr auto 1fr; }
footer p { margin: 0; font-size: .75rem; letter-spacing: .08em; }
footer a { justify-self: end; font-size: .65rem; font-weight: 400; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; }
.footer-mark { color: var(--ivory); font-family: var(--serif); font-size: 1.5rem; }
.footer-mark i { color: #d6c7a7; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .day { min-height: 0; grid-template-columns: 1fr; }
  .day-photo { min-height: 70svh; }
  .dress-code { grid-template-columns: 1fr; }
  .dress-copy { max-width: none; }
  .dress-portrait { width: min(80%, 520px); justify-self: center; }
  .rsvp-section { grid-template-columns: 1fr; }
  .rsvp-intro { position: static; text-align: center; }
  .rsvp-intro > p:not(.eyebrow):not(.date-mark) { margin-right: auto; margin-left: auto; }
  .date-mark { display: none; }
}

@media (max-width: 680px) {
  .section-pad { padding: 4.5rem 1.25rem; }
  .nav { padding: 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.61rem; letter-spacing: .1em; }
  .hero-copy { min-height: calc(100svh - 70px); padding-right: 1rem; padding-left: 1rem; }
  .hero h1 { font-size: clamp(4rem, 22vw, 6.5rem); }
  .hero-meta span { display: none; }
  .hero-meta strong { border: 0; }
  .hero-side { display: none; }
  .welcome h2 br { display: none; }
  .day-photo { min-height: 72svh; }
  .dress-code { gap: 1rem; }
  .palette { gap: 1rem; }
  .palette span { width: 48px; height: 48px; }
  .dress-portrait { width: 92%; margin-top: 2.5rem; }
  .gallery { padding: 4.5rem 1rem; grid-template-columns: 1fr 1fr; grid-template-rows: 150px 260px 210px; }
  .gallery-wide { grid-row: 1 / 3; }
  .gallery-title { padding: .5rem; }
  .gallery-tall { grid-row: 3; grid-column: 1; }
  .gallery-small { grid-row: 3; grid-column: 2; }
  .gallery-title p:last-child { font-size: 2rem; }
  .rsvp-section { padding: 4.5rem 1rem; }
  .rsvp-card { padding: 2rem 1.15rem; }
  .field-row, .choice-grid { grid-template-columns: 1fr; }
  .field-row { gap: 2rem; }
  footer { gap: 1.2rem; grid-template-columns: 1fr auto; }
  footer > p:nth-child(2) { display: none; }
}

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

.field, .choice span, .submit-button { font-size: .875rem; letter-spacing: .06em; }
.field-help { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.field-error { font-size: .875rem; line-height: 1.5; }
.field input[aria-invalid="true"] { border-color: #9a3f33; }

.nav-mark { display: block; flex-shrink: 0; }
.nav-mark img { width: 58px; height: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0,0,0,.35)); }



#welcome-title { font-family: 'Cinzel Decorative', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 4.3vw, 3.6rem); letter-spacing: 0; line-height: 1.35; }
@media (max-width: 680px) {
  .nav-mark img { width: 46px; }
  
}

/* Supplied monogram and regular Cinzel Decorative throughout. */
body { font-synthesis: none; }
strong, b, i { font-weight: 400; font-style: normal; }
.hero { color: #fff; }
.hero-logo { width: min(260px, 48vw); height: auto; margin: 0 0 1.5rem; filter: drop-shadow(0 2px 12px rgba(0,0,0,.3)); }
.hero h1.hero-names { display: block; font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.3; letter-spacing: .025em; }
.hero-meta { margin-top: 2rem; }
.day h2, .dress-copy h2, .rsvp-intro h2 { font-size: clamp(2rem, 3.7vw, 4rem); line-height: 1.25; letter-spacing: 0; }
.gallery-title p:last-child { font-size: clamp(1.35rem, 2.2vw, 2.6rem); line-height: 1.35; }
.day-content, .dress-copy, .rsvp-card, .rsvp-intro, .field-row > div { min-width: 0; }
.choice { padding: .8rem; text-align: center; }
.dress-portrait figcaption { font-size: .75rem; }
legend { font-size: 1.15rem; line-height: 1.5; }
@media (max-width: 680px) {
  .hero-meta { gap: .6rem; }
  .hero-meta span { display: block; font-size: .55rem; letter-spacing: .06em; white-space: nowrap; }
  .hero-meta strong { padding: 0 .65rem; border-right: 1px solid rgba(255,255,255,.45); border-left: 1px solid rgba(255,255,255,.45); font-size: .9rem; letter-spacing: .04em; white-space: nowrap; }
  .nav-links { gap: .7rem; }
  .nav-links a { font-size: .56rem; letter-spacing: .04em; }
  .timeline li { gap: 1rem; grid-template-columns: 80px 1fr; }
  .timeline time { font-size: .95rem; }
  .timeline strong { font-size: 1.2rem; }
}

/* Cinzel for large headings; original typefaces for supporting text. */
body { font-weight: 300; }
h1, h2, .gallery-title p:last-child { font-family: 'Cinzel Decorative', Georgia, serif; font-weight: 400; }
.hero h1.hero-names, .day h2, .dress-copy h2, .rsvp-intro h2, .gallery-title p:last-child { font-family: 'Cinzel Decorative', Georgia, serif; }
.eyebrow, .nav-links a, .hero-meta span, .text-link, .hero-side, .dress-note, .palette small, .field, legend span, .choice span, .submit-button, footer a { font-weight: 500; }
.hero-logo { transform: translateY(20px); margin-bottom: 2.75rem; }
.hero-identity { width: min(480px, 100%); }
.hero h1.hero-names { display: flex; width: 100%; flex-direction: row; justify-content: space-between; align-items: baseline; font-size: clamp(1.25rem, 6.2vw, 2.5rem); letter-spacing: 0; white-space: nowrap; }
.hero-meta { width: 100%; justify-content: space-between; gap: 0; }
.hero-meta strong { padding: 0 1.3rem; }
@media (max-width: 680px) {
  .hero-identity { width: min(400px, 100%); }
  .hero h1.hero-names { font-size: clamp(1.25rem, 6.2vw, 2.1rem); }
  .hero-meta strong { padding: 0 .8rem; }
  .hero-meta span { font-size: .6rem; letter-spacing: .08em; }
  .nav-links a { font-size: .61rem; letter-spacing: .1em; }
}

/* Lift the complete hero content towards the photograph's centre. */
.hero-copy { transform: translateY(clamp(-56px, -6vh, -24px)); }


.footer-mark img { width: 58px; height: auto; }
@media (max-width: 680px) { .footer-mark img { width: 46px; } }

