@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --cream: #f8f4ee;
  --paper: #fffdf9;
  --ink: #2f2927;
  --muted: #776e68;
  --rose: #550000;
  --rose-dark: #550000;
  --line: #e7ddd5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
.site-header { align-items: center; display: flex; justify-content: space-between; margin: auto; max-width: 1180px; padding: 28px 32px; }
.brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; text-decoration: none; }
.brand span, em { color: var(--rose); font-style: normal; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a.active { color: var(--rose-dark); }
.section-shell { margin: auto; max-width: 1120px; padding-left: 32px; padding-right: 32px; }
.hero { padding-bottom: 110px; padding-top: 100px; text-align: center; }
.eyebrow { color: var(--rose-dark); font-size: .7rem; font-weight: 600; letter-spacing: .2em; margin: 0 0 18px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .9; }
h1 { font-size: clamp(4.8rem, 12vw, 9rem); margin-bottom: 30px; }
h2 { font-size: clamp(3.4rem, 6vw, 5.5rem); margin-bottom: 25px; }
h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin-bottom: 10px; }
.hero-lead { color: var(--muted); font-family: var(--serif); font-size: 1.45rem; margin: auto; max-width: 440px; }
.photo-placeholder { align-items: center; background: linear-gradient(135deg, #8a2d2d, #550000); color: #fff; display: flex; font-family: var(--serif); font-size: 1.5rem; justify-content: center; overflow: hidden; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.photo-couple { aspect-ratio: auto; border-radius: 180px 180px 0 0; display: block; height: auto; margin: 70px auto 0; max-width: 500px; object-fit: contain; object-position: center; width: 100%; }
.photo-venue { aspect-ratio: 1; border-radius: 50%; display: block; justify-self: center; object-fit: cover; max-width: 360px; width: 100%; }
.section-heading, .event-grid { margin-left: auto; margin-right: auto; max-width: 1056px; }
.event-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.detail-card { border-top: 1px solid var(--line); padding: 30px 5px; }
.detail-icon { color: var(--rose); font-size: 2rem; }
.detail-card p { color: var(--muted); font-size: .93rem; }
.detail-card strong { color: var(--ink); font-weight: 500; }
.text-link { color: var(--rose-dark); font-size: .78rem; letter-spacing: .04em; text-decoration: none; }
.quote-section { padding-bottom: 130px; padding-top: 50px; text-align: center; }
.quote-mark { color: var(--rose); display: block; font-family: var(--serif); font-size: 7rem; height: 65px; line-height: 1; }
.photo-quote { border-radius: 80px 80px 80px 80px; display: block; height: auto; margin: 0 auto 70px; max-width: 400px; object-fit: contain; object-position: center; width: 100%; }
blockquote { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; margin: 0 auto; max-width: 850px; }
.venue { align-items: center; display: grid; gap: 80px; grid-template-columns: 1.1fr .9fr; padding-bottom: 130px; }
.venue p:not(.eyebrow), .pix-copy > p:not(.eyebrow) { color: var(--muted); max-width: 380px; }
.button { background: var(--rose-dark); color: white; display: inline-block; font-size: .75rem; letter-spacing: .08em; margin-top: 15px; padding: 15px 22px; text-decoration: none; text-transform: uppercase; }
.button:hover { background: var(--ink); }
.site-footer { background: var(--rose-dark); color: var(--cream); padding: 55px 32px; text-align: center; }
.site-footer p:first-child { color: #d8cec7; font-family: var(--serif); font-size: 1.35rem; }
.footer-names { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0; }
.footer-names span { color: var(--rose); }
.gift-hero { padding-bottom: 80px; padding-top: 95px; }
.gift-hero .hero-lead { margin-left: 0; max-width: 560px; }
.gifts { padding-bottom: 120px; }
.gift-list { border-top: 1px solid var(--line); }
.gift-card { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 25px; grid-template-columns: 42px 1fr auto; padding: 28px 5px; }
.gift-card > span { color: var(--rose); font-family: var(--serif); font-size: 1.5rem; }
.gift-card h3 { font-size: 1.65rem; margin: 0; }
.gift-card p { color: var(--muted); font-size: .85rem; margin: 3px 0 0; }
.gift-card strong { color: var(--rose-dark); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.pix-panel { align-items: center; background: var(--paper); display: grid; gap: 65px; grid-template-columns: 250px 1fr; margin-top: 100px; padding: 60px; }
.qr-placeholder { align-items: center; aspect-ratio: 1; background: #fff; border: 13px solid white; box-shadow: 0 4px 20px rgba(47,41,39,.12); display: block; object-fit: contain; width: 100%; }
.qr-placeholder small { font-family: var(--sans); font-size: .6rem; }
.pix-key { align-items: stretch; border: 1px solid var(--line); display: flex; margin-top: 25px; max-width: 500px; }
.pix-key code { color: var(--muted); flex: 1; overflow: hidden; padding: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pix-key button { background: var(--rose-dark); border: 0; color: white; cursor: pointer; padding: 0 16px; }
.pix-key button:hover { background: var(--ink); }
.copy-status { color: var(--rose-dark) !important; font-size: .8rem; margin-top: 8px; }

@media (max-width: 700px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 18px; padding: 22px 20px; }
  nav { gap: 16px; }
  nav a { font-size: .65rem; }
  .section-shell { padding-left: 20px; padding-right: 20px; }
  .hero { padding-bottom: 75px; padding-top: 70px; }
  h1 { font-size: clamp(4.2rem, 20vw, 6.5rem); }
  .hero-lead { font-size: 1.25rem; }
  .photo-couple { margin-top: 45px; }
  .details { padding-bottom: 65px; padding-top: 65px; }
  .event-grid, .venue { grid-template-columns: 1fr; }
  .quote-section { padding-bottom: 80px; padding-top: 35px; }
  .quote-mark { font-size: 5rem; }
  blockquote { font-size: 2.5rem; }
  .venue { gap: 45px; padding-bottom: 80px; }
  .photo-venue { max-width: 340px; }
  .gift-hero { padding-bottom: 55px; padding-top: 65px; }
  .gifts { padding-bottom: 75px; }
  .gift-card { align-items: start; gap: 12px; grid-template-columns: 28px 1fr; }
  .gift-card strong { grid-column: 2; }
  .pix-panel { gap: 45px; grid-template-columns: 1fr; margin-top: 65px; padding: 30px 22px; }
  .qr-placeholder { margin: auto; max-width: 220px; width: 100%; }
  .pix-key { flex-direction: column; }
  .pix-key button { padding: 12px; }
}
