:root {
  --paper: #f7f1e7;
  --paper-deep: #eee2d3;
  --ink: #292522;
  --muted: #756b63;
  --peach: #c96552;
  --peach-dark: #a94637;
  --cream: #fffaf2;
  --line: rgba(41, 37, 34, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.62), transparent 27rem),
    repeating-linear-gradient(93deg, rgba(92,63,40,.018) 0 1px, transparent 1px 4px),
    var(--paper);
  font-family: "Manrope", sans-serif;
  font-weight: 300;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 72px);
  transition: background .25s ease, padding .25s ease;
}
.site-header.scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(247,241,231,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(41,37,34,.08); }
.monogram { font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 600; letter-spacing: .08em; text-decoration: none; }
.monogram span { color: var(--peach); margin: 0 .14em; }
nav { display: flex; gap: clamp(18px, 3vw, 42px); }
nav a { position: relative; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
nav a::after { content: ""; position: absolute; height: 1px; width: 0; left: 0; bottom: -6px; background: var(--peach); transition: width .2s ease; }
nav a:hover::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: none; width: 38px; height: 30px; padding: 6px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; background: var(--ink); margin: 6px 0; }

.hero { min-height: 100svh; position: relative; overflow: hidden; display: grid; place-items: center; padding: 110px 24px 70px; }
.hero::before { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(41,37,34,.08); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(920px, 92vw); text-align: center; }
.eyebrow { margin: 0 0 22px; color: var(--peach-dark); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 70px); margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(68px, 12vw, 168px); font-weight: 400; line-height: .78; letter-spacing: -.045em; }
.hero h1 i { color: var(--peach); font-size: .42em; font-weight: 400; }
.thread-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: min(670px, 82vw); margin: 55px auto 24px; }
.thread { height: 1.5px; background: var(--peach); position: relative; }
.thread:first-child { border-radius: 100% 0 0 100%; transform: rotate(1.4deg); }
.thread:last-child { border-radius: 0 100% 100% 0; transform: rotate(-1.4deg); }
.thread::after { content: ""; position: absolute; width: 5px; height: 5px; top: -1.8px; border-radius: 50%; background: var(--peach); }
.thread:first-child::after { left: 0; }
.thread:last-child::after { right: 0; }
.thread-date time { font-family: "Cormorant Garamond", serif; font-size: clamp(20px, 2.3vw, 28px); font-weight: 600; letter-spacing: .22em; white-space: nowrap; }
.venue-line { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.scroll-cue { display: inline-flex; align-items: center; gap: 13px; margin-top: 62px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { color: var(--peach); font-size: 18px; animation: float 1.8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(5px); } }
.fingerprint { position: absolute; width: clamp(150px, 21vw, 290px); color: rgba(169,70,55,.18); }
.fingerprint g { stroke-width: 1.4; }
.fingerprint-one { top: -40px; left: -42px; transform: rotate(-31deg); }
.fingerprint-two { right: -52px; bottom: -45px; transform: rotate(151deg); }

.countdown-section { display: flex; justify-content: center; align-items: center; gap: clamp(30px, 7vw, 100px); padding: 36px 6vw; color: var(--cream); background: var(--peach); }
.countdown-section > p { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(23px, 3vw, 35px); font-style: italic; }
.countdown { display: flex; gap: clamp(22px, 4vw, 55px); }
.countdown div { display: grid; text-align: center; }
.countdown strong { font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 5px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.section { position: relative; display: grid; grid-template-columns: minmax(60px, 1fr) minmax(280px, 820px) minmax(40px, 1fr); padding: clamp(100px, 13vw, 190px) 0; }
.section-number { grid-column: 1; align-self: start; justify-self: center; padding-top: 9px; color: var(--peach); font-family: "Cormorant Garamond", serif; font-size: 22px; }
.section-number::after { content: ""; display: block; width: 1px; height: 80px; margin: 18px auto 0; background: var(--peach); }
.section-copy { grid-column: 2; }
.section-copy.narrow { max-width: 690px; }
h2 { margin: 0 0 34px; font-family: "Cormorant Garamond", serif; font-size: clamp(50px, 7vw, 94px); font-weight: 400; line-height: .91; letter-spacing: -.035em; }
.lead { max-width: 680px; font-family: "Cormorant Garamond", serif; font-size: clamp(24px, 3vw, 33px); line-height: 1.35; }
.schedule { margin-top: 70px; border-top: 1px solid var(--line); }
.schedule article { display: grid; grid-template-columns: 130px 1fr; gap: 25px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.schedule time, .schedule article > span { color: var(--peach-dark); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.schedule h3 { margin: -6px 0 5px; font-family: "Cormorant Garamond", serif; font-size: 27px; font-weight: 500; }
.schedule p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.small-note { margin-top: 26px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.location { min-height: 720px; position: relative; overflow: hidden; display: grid; place-items: center; color: var(--cream); background: #34302c; }
.location::before { content: ""; position: absolute; inset: 0; opacity: .35; background: radial-gradient(circle at 72% 15%, rgba(201,101,82,.5), transparent 30%), linear-gradient(125deg, transparent 45%, rgba(255,255,255,.06)); }
.location-card { position: relative; z-index: 2; width: min(1100px, 84vw); }
.location-card h2 { font-size: clamp(64px, 10vw, 140px); }
.location-card > p:not(.eyebrow):not(.location-description) { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.location-description { max-width: 440px; margin: 32px 0; font-family: "Cormorant Garamond", serif; font-size: 24px; line-height: 1.45; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 25px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.button-light { border-color: rgba(255,255,255,.55); color: var(--cream); }
.button:not(:disabled):hover { background: var(--ink); color: var(--cream); }
.button-light:hover { background: var(--cream) !important; color: var(--ink) !important; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.architectural-lines { position: absolute; right: 4vw; bottom: 0; width: min(48vw, 620px); height: 77%; border: 1px solid rgba(255,255,255,.16); border-bottom: 0; }
.architectural-lines::before { content: ""; position: absolute; width: 44%; aspect-ratio: 1/1.3; left: 28%; bottom: 0; border: 1px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 50% 50% 0 0; }
.architectural-lines span { position: absolute; bottom: 0; height: 100%; width: 1px; background: rgba(255,255,255,.09); }
.architectural-lines span:nth-child(1){left:16.6%}.architectural-lines span:nth-child(2){left:33.2%}.architectural-lines span:nth-child(3){left:49.8%}.architectural-lines span:nth-child(4){left:66.4%}.architectural-lines span:nth-child(5){left:83%}

.gift { background: var(--cream); }
.iban-card { margin-top: 52px; padding: 28px 0; display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.iban-card > span { color: var(--peach-dark); font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.iban-card strong { font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 500; }
.copy-button { padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; font: 600 9px "Manrope",sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.copy-button:disabled { opacity: .35; }

.photos { padding: clamp(100px, 13vw, 180px) 7vw; color: var(--cream); background: var(--peach); text-align: center; }
.photo-inner { max-width: 920px; margin: 0 auto; }
.photos .eyebrow { color: rgba(255,250,242,.78); }
.photos h2 { font-size: clamp(50px, 8vw, 100px); }
.photos > div > p:not(.eyebrow):not(.privacy-note) { max-width: 570px; margin: 0 auto 43px; font-family: "Cormorant Garamond", serif; font-size: 25px; line-height: 1.45; }
.upload-button { width: min(620px, 100%); padding: 28px; display: flex; align-items: center; gap: 24px; margin: 0 auto; border: 1px dashed rgba(255,255,255,.62); color: var(--cream); background: rgba(255,255,255,.06); text-align: left; }
.upload-button:disabled { cursor: not-allowed; }
.upload-icon { width: 49px; height: 49px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 23px; }
.upload-button strong, .upload-button small { display: block; }
.upload-button strong { margin-bottom: 4px; font: 500 20px "Cormorant Garamond", serif; }
.upload-button small { opacity: .75; font-size: 10px; letter-spacing: .05em; }
.privacy-note { margin-top: 17px; opacity: .7; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.rsvp { background: var(--paper-deep); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; padding: 55px clamp(22px,5vw,72px); color: var(--cream); background: var(--ink); }
.footer-mark { font: 400 48px "Cormorant Garamond",serif; }.footer-mark span{color:var(--peach);padding:0 5px}
footer p { margin: 0; font-size: 9px; letter-spacing: .17em; text-align: center; text-transform: uppercase; }
footer a { justify-self: end; font-size: 9px; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .site-header { padding: 18px 22px; }
  .menu-toggle { display: block; }
  nav { position: absolute; top: 66px; left: 18px; right: 18px; display: none; padding: 26px; flex-direction: column; background: var(--cream); box-shadow: 0 16px 50px rgba(41,37,34,.14); }
  nav.open { display: flex; }
  .hero::before { inset: 6% 18px; }
  .hero h1 { flex-direction: column; gap: 9px; font-size: clamp(70px, 25vw, 102px); }
  .hero h1 i { margin: -6px 0; }
  .thread-date { gap: 10px; margin-top: 40px; width: 92vw; }
  .thread-date time { font-size: 18px; letter-spacing: .13em; }
  .venue-line { font-size: 9px; letter-spacing: .18em; }
  .countdown-section { flex-direction: column; gap: 22px; padding: 30px 20px; }
  .section { grid-template-columns: 48px 1fr 24px; padding: 100px 0; }
  .section-number { font-size: 18px; }
  .section-number::after { height: 55px; }
  .schedule article { grid-template-columns: 90px 1fr; }
  .location { min-height: 640px; }
  .location-card { width: 80vw; }
  .architectural-lines { right: -15%; width: 80vw; height: 50%; opacity: .7; }
  .iban-card { grid-template-columns: 1fr; }
  .copy-button { justify-self: start; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer a { justify-self: center; } .footer-mark { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
