:root {
  --claret: #562923;
  --deep: #43231e;
  --gold: #a57a42;
  --paper: #f7f1e5;
}
.landing { color-scheme: light; background: var(--paper); color: var(--deep); }
.topbar { background: var(--deep); color: #fff3df; }
.top-inner,.hero,.count-inner { width: min(1152px, 86%); margin-inline: auto; }
.top-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font: 28px Georgia, serif; letter-spacing: -.8px; }
.brand i { font-size: .78em; color: #ddbc8d; }
.brand-mark { color: #dcb57b; font-size: 33px; margin-right: 6px; }
.cover-nav { display: flex; align-items: center; gap: clamp(14px, 2.8vw, 44px); }
.cover-nav a,.cover-nav button { background: none; border: 0; text-decoration: none; font: 500 13px Inter, sans-serif; color: #e4d4c4; padding: 11px 0; }
.cover-nav .current { color: #fff0d4; border-bottom: 1px solid #d6ad70; }
.cover-nav .rsvp-link { border: 1px solid #9e7c60; border-radius: 24px; padding: 8px 17px; color: #f4e7d4; }
.rsvp-link span { margin-left: 6px; }
.cover-nav button:hover { color: #fff; }
.woven { background: #643229 url("media/tenun.svg") repeat-x center / 77px 19px; height: 15px; border-block: 1px solid #b58b53; }
.paper { overflow: hidden; position: relative; background: radial-gradient(ellipse at 78% 41%, #eee1cd, transparent 55%),var(--paper); }
.paper::before,.count-band::before { content: ""; pointer-events: none; position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.74' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%2375532f' opacity='.55' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.hero { position: relative; min-height: clamp(510px, 72vh, 740px); display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: clamp(32px, 4vw, 78px); padding-block: clamp(40px,6vh,80px); }
.hero-copy { padding-block: 12px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 600 10px/1.5 Inter,sans-serif; text-transform: uppercase; letter-spacing: 2.9px; color: #916638; }
.line-gem { position: relative; width: 33px; height: 1px; background: #ad8653; }
.line-gem::after { position: absolute; right: 0; top: -2px; content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: #ad8653; }
.hero h1 { font: 400 clamp(57px,6.9vw,104px)/1.08 var(--display); color: var(--claret); margin: 20px 0 18px; letter-spacing: -.065em; white-space: nowrap; }
.hero h1 em { font-family: Georgia,serif; font-size: .65em; font-weight: 400; color: #a27d4e; vertical-align: .04em; }
.ornament { display: flex; align-items: center; gap: 3px; color: #b18c5a; font: 13px/16px Georgia,serif; width: 184px; }
.ornament b { flex: 1; height: 1px; background: #c7ac83; }
.ornament strong { font-size: 19px; font-weight: normal; }
.greeting { font: 15px/1.85 Inter,sans-serif; color: #6e6055; margin-top: 23px; }
.named-guest { font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
.event-facts { display: grid; gap: 10px; margin: 23px 0 26px; font-size: 14px; font-weight: 500; }
.event-facts div { display: flex; align-items: center; gap: 12px; }
.event-facts svg,.open-invite svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.event-facts svg { color: #996d39; }
.open-invite { display: inline-flex; gap: 11px; align-items: center; min-height: 49px; padding: 0 21px; background: var(--claret); color: #fff5e7; border: 1px solid var(--claret); border-radius: 5px; font-weight: 550; box-shadow: 0 4px 10px #52272215; }
.open-invite:hover { background: #703a30; }
.arrow { margin-left: 12px; font-size: 19px; }
.photo-wrap { width: min(100%,420px); justify-self: center; margin: 0; position: relative; padding: 9px 9px 0; }
.arch { position: relative; height: clamp(340px, 54vh, 525px); padding: 6px; border: 1px solid #b5966a; border-radius: 50% 50% 4px 4px / 40% 40% 4px 4px; }
.arch::after { content: ""; position: absolute; inset: 7px; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 40px #4b321617; }
.arch img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 57%; border-radius: inherit; }
.date-seal { width: 84px; aspect-ratio: 1; position: absolute; right: -15px; bottom: 56px; background: var(--claret); color: #ebd8b2; border: 3px solid var(--paper); border-radius: 50%; outline: 1px solid #aa895f; box-shadow: 0 4px 12px #46292126; display: grid; align-content: center; justify-items: center; transform: rotate(8deg); }
.date-seal::before { content:""; position: absolute; inset: 4px; border: 1px dashed #c4a17c; border-radius: 50%; }
.date-seal small { font: 600 7px/1.5 Inter,sans-serif; letter-spacing: 1.5px; }
.date-seal strong { font: 32px/1.1 Georgia,serif; }
.photo-wrap figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; font: 600 8px/1.5 Inter,sans-serif; letter-spacing: 2.1px; color: #806748; margin-top: 15px; }
.photo-wrap figcaption span { width: 24px; height: 1px; background: #bca380; }
.photo-wrap figcaption b { font-size: 6px; }
.lower { height: 21px; background-size: 88px 22px; }
.count-band { background: var(--deep); color: #f6e9d7; position: relative; overflow: hidden; }
.count-inner { min-height: 147px; padding-block: 28px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.count-heading .eyebrow { color: #d2b181; font-size: 9px; }
.count-heading h2 { font: 400 clamp(29px,3vw,43px)/1.1 var(--display); margin-top: 8px; }
.cover-timer { display: flex; align-items: center; gap: clamp(12px,2.5vw,36px); }
.cover-timer div { display: grid; justify-items: center; min-width: 40px; }
.cover-timer strong { font: 400 clamp(34px,3.3vw,50px)/1.1 Georgia,serif; font-variant-numeric: tabular-nums; }
.cover-timer span { text-transform: uppercase; color: #d7ba94; font-size: 9px; letter-spacing: 2px; margin-top: 5px; }
.cover-timer i { color: #ae8868; font: 23px Georgia,serif; margin-bottom: 18px; }
.home-cover { position:absolute; top: 16px; left: 16px; padding: 9px 14px; border-radius: 25px; }
.invitation-backdrop::after { background: linear-gradient(#331c18a8,#291b17d9); }
.side::before { content:""; position:absolute; top:0; inset-inline:0; height:17px; background: url("media/tenun.svg"); }
.controls button { background:#4c2a23d9; }
@media(max-width:1050px){.wide-only{display:none}.hero{gap:30px}.top-inner,.hero,.count-inner{width:88%}}
@media(max-width:700px){
  .top-inner { width: 92%; min-height: 60px; gap: 8px; }
  .brand { font-size: 21px; gap: 3px; }
  .brand-mark { font-size: 22px; margin-right: 2px; }
  .cover-nav { gap: 13px; }.cover-nav a,.cover-nav button { font-size: 11px; }.cover-nav .current{display:none}.cover-nav .rsvp-link{padding:6px 9px}.rsvp-link span{display:none}
  .hero { width: 88%; min-height: unset; grid-template-columns: 1fr; gap: 30px; padding: 37px 0 28px; }
  .hero-copy { padding: 0; }.hero h1{font-size:clamp(54px,12vw,80px);margin:13px 0}.greeting{margin-top:15px;font-size:14px}.event-facts{margin:16px 0 20px;gap:7px}
  .photo-wrap { width: min(87%,350px); }.arch{height:auto;aspect-ratio: .94;}.date-seal{width:68px;right:-12px;bottom:45px}.date-seal strong{font-size:25px}
  .count-inner { flex-direction: column; padding-block: 28px; gap: 22px; text-align:center; }.count-heading .eyebrow{justify-content:center}
}
@media(max-width:370px){.cover-nav{gap:8px}.brand-mark{display:none}}
