/* ------------------------------------------------------------------
   Chá da Allegra — sistema de design
   Inspirado na paleta da HQ: sépia quente, creme, tinta marrom
   ------------------------------------------------------------------ */

:root {
  --cream:        #f4ecdd;
  --cream-deep:   #ead8bb;
  --paper:        #faf4e6;
  --ink:          #2b2017;
  --ink-soft:     #4a382a;
  --sepia:        #a8714a;
  --sepia-deep:   #8a5638;
  --cherry:       #d62839;
  --cherry-deep:  #a51d2c;
  --bow-blue:     #a8c4dc;
  --bow-blue-deep:#6f93b0;
  --coral:        #d62839;
  --sage:         #6f93b0;
  --rule:         rgba(43, 32, 23, 0.18);
  --rule-soft:    rgba(43, 32, 23, 0.08);

  --serif:  'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* halftone overlay common to the whole page — subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: radial-gradient(rgba(43, 32, 23, 0.12) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* paper noise via SVG — attached to sections that want it */
.paper-tex {
  position: relative;
}
.paper-tex::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.12 0 0 0 0 0.08 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: 0.25;
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* ------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------ */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 96px 0;
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sepia-deep);
}

.rule {
  height: 1px;
  background: var(--rule);
  margin: 0;
  border: 0;
}

/* ------------------------------------------------------------------
   Top bar
   ------------------------------------------------------------------ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  background: rgba(250, 244, 230, 0.88);
}
.topbar nav { display: flex; gap: 22px; align-items: center; }
.topbar nav a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.topbar nav a:hover { color: var(--coral); }
.topbar nav a.rsvp {
  color: var(--paper);
  background: var(--coral);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.18em;
}
.topbar nav a.rsvp:hover {
  background: var(--ink);
  color: var(--paper);
}
.topbar .mark { display: flex; align-items: center; gap: 10px; }
.topbar .mark .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
}

.pix-key-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pix-key-copy {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.pix-key-copy:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.hero {
  padding: 60px 0 72px;
  overflow: hidden;
}
.hero-clean {
  padding: 88px 0 64px;
  text-align: center;
}
.hero-title-center {
  font-size: clamp(110px, 22vw, 280px) !important;
  text-align: center;
  margin: 0 auto 40px !important;
  line-height: 0.82;
}
.hero-meta-center {
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-bow {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 16px rgba(43, 32, 23, 0.18));
}
@media (max-width: 860px) {
  .hero-bow > svg { width: 130px !important; height: 130px !important; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(86px, 16vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title .amp {
  font-style: italic;
  color: var(--coral);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  max-width: 420px;
}
.hero-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-meta-row b { color: var(--ink); font-weight: 600; }

.hero-photo {
  aspect-ratio: 3/4;
  background: var(--cream-deep);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 30px 60px -20px rgba(43, 32, 23, 0.35);
  transform: rotate(1.2deg);
}

/* hero ornaments — laço, cereja, lagosta, balões */
.hero-ornaments {
  position: relative;
  aspect-ratio: 3/4;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(184, 36, 58, 0) 0,
      rgba(184, 36, 58, 0) 14px,
      rgba(184, 36, 58, 0.08) 14px,
      rgba(184, 36, 58, 0.08) 28px,
      rgba(184, 36, 58, 0) 28px,
      rgba(184, 36, 58, 0) 42px,
      rgba(184, 36, 58, 0.08) 42px,
      rgba(184, 36, 58, 0.08) 56px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(184, 36, 58, 0) 0,
      rgba(184, 36, 58, 0) 14px,
      rgba(184, 36, 58, 0.08) 14px,
      rgba(184, 36, 58, 0.08) 28px,
      rgba(184, 36, 58, 0) 28px,
      rgba(184, 36, 58, 0) 42px,
      rgba(184, 36, 58, 0.08) 42px,
      rgba(184, 36, 58, 0.08) 56px
    ),
    var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.hero-ornaments > div { position: absolute; }
.hero-ornaments .orn-bow {
  top: 8%; left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 18px rgba(43, 32, 23, 0.18));
}
.hero-ornaments .orn-cherry {
  top: 8%; right: 8%;
  transform: rotate(14deg);
}
.hero-ornaments .orn-lobster {
  bottom: 10%; left: 6%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 8px 14px rgba(142, 26, 44, 0.3));
}
.hero-ornaments .orn-balloon {
  filter: drop-shadow(0 6px 10px rgba(43, 32, 23, 0.18));
}
.hero-ornaments .orn-balloon-1 { top: 4%; left: 6%; transform: rotate(-6deg); }
.hero-ornaments .orn-balloon-2 { top: 18%; left: 14%; transform: rotate(8deg); }
.hero-ornaments .orn-balloon-3 { bottom: 12%; right: 10%; transform: rotate(4deg); }
.hero-ornaments .orn-stamp {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--paper);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.2) saturate(0.95) contrast(0.98);
}
.hero-photo::after {
  /* halftone overlay */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(43, 32, 23, 0.18) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}
.hero-photo .stamp {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--paper);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
}

.hero-ticker {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  white-space: nowrap;
  overflow: hidden;
}
.hero-ticker-inner {
  display: inline-flex;
  gap: 32px;
  animation: ticker 40s linear infinite;
}
.hero-ticker span { opacity: 0.85; }
.hero-ticker .diamond {
  color: var(--coral);
  opacity: 1;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------
   Hero — editorial card (referência: convite aquarela)
   ------------------------------------------------------------------ */

.hero-card {
  padding: 0;
  background: var(--cream, #f5ede0);
}
.hero-card-inner {
  max-width: 920px;
  margin: 0 auto;
  background: #fbf2e0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(232,210,180,0.4), transparent 60%);
  padding: 64px 56px 0;
  position: relative;
  border: 1px solid rgba(160,120,80,0.18);
  box-shadow: 0 24px 80px -32px rgba(80,40,20,0.25);
  overflow: hidden;
}
.hero-bow-big {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-event {
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--ink, #2c2118);
  line-height: 1.6;
  font-weight: 400;
}
.hero-event-amp {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  margin: 4px 0;
}
.hero-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px auto 24px;
  max-width: 280px;
}
.hero-heart-divider .hr-line {
  flex: 1;
  height: 1px;
  background: #2c2118;
  opacity: 0.5;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(72px, 11vw, 140px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink, #2c2118);
  margin: 0 0 18px;
  line-height: 1;
}
.hero-sub-1 {
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.22em;
  color: var(--ink, #2c2118);
  margin-bottom: 12px;
}
.hero-sub-2 {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft, #6b5a4a);
  margin-bottom: 28px;
}
.hero-tagline {
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--ink, #2c2118);
  line-height: 2;
  margin: 0 auto 40px;
}
.hero-photo-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0 auto 40px;
  max-width: 760px;
}
.hero-side {
  display: flex;
  align-items: center;
}
.hero-side-left {
  justify-content: flex-start;
}
.hero-side-right {
  justify-content: flex-end;
}
.hero-photo-frame {
  width: 100%;
  max-width: 380px;
}
.hero-frame-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(80,40,20,0.18));
}
.hero-info-row {
  display: grid;
  grid-template-columns: 1fr 1px 1.4fr 1px 1fr;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(120,80,50,0.3);
  border-bottom: 1px solid rgba(120,80,50,0.3);
  padding: 22px 0;
  margin-bottom: 32px;
}
.hero-info-divider {
  width: 1px;
  height: 56px;
  background: rgba(120,80,50,0.3);
  justify-self: center;
}
.hero-info-col {
  text-align: center;
  padding: 0 12px;
}
.hero-info-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-soft, #6b5a4a);
  margin-bottom: 10px;
}
.hero-info-value {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink, #2c2118);
  line-height: 1.7;
}
.hero-info-sub {
  font-size: 12px;
  letter-spacing: 0.2em;
}
.hero-gingham {
  height: 56px;
  margin: 0 -56px;
  background-image:
    linear-gradient(rgba(208,76,84,0.4) 50%, transparent 50%),
    linear-gradient(90deg, rgba(208,76,84,0.4) 50%, transparent 50%);
  background-size: 28px 28px;
  background-color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(120,80,50,0.2);
}

@media (max-width: 720px) {
  .hero-card-inner { padding: 40px 24px 0; }
  .hero-bow-big > svg { width: 200px !important; height: auto !important; }
  .hero-name { font-size: 64px; }
  .hero-event { font-size: 16px; }
  .hero-photo-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-side { justify-content: center; }
  .hero-info-row { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .hero-info-divider { display: none; }
  .hero-gingham { margin: 0 -24px; height: 40px; background-size: 20px 20px; }
}

/* ------------------------------------------------------------------
   Section header
   ------------------------------------------------------------------ */

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sepia-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head .lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 52ch;
}

/* ------------------------------------------------------------------
   HQ section
   ------------------------------------------------------------------ */

.hq-panel {
  background: var(--cream);
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hq-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hq-image {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 16px;
  box-shadow:
    0 30px 60px -20px rgba(43, 32, 23, 0.35);
}
.hq-image img {
  width: 100%; display: block;
  filter: contrast(1.02);
}
.hq-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  margin-top: 14px;
  text-align: center;
}
.hq-pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hq-pullquote b {
  color: var(--coral);
  font-weight: 400;
}

/* ------------------------------------------------------------------
   Recado dos pais
   ------------------------------------------------------------------ */

.recado {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.recado-text p + p { margin-top: 18px; }
.recado-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.recado-sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
  margin-top: 32px;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery .cell {
  aspect-ratio: 3/4;
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}
.gallery .cell:nth-child(1) { transform: rotate(-1.5deg); }
.gallery .cell:nth-child(2) { transform: rotate(1.2deg); margin-top: 20px; }
.gallery .cell:nth-child(3) { transform: rotate(1deg); margin-top: -10px; }
.gallery .cell:nth-child(4) { transform: rotate(-0.8deg); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------
   Presentes
   ------------------------------------------------------------------ */

.gifts-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 32px;
  flex-wrap: wrap;
}
.gifts-filter {
  display: flex;
  gap: 4px;
  border: 1px solid var(--rule);
  padding: 4px;
  border-radius: 999px;
  background: var(--cream);
}
.gifts-filter button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: all .2s;
}
.gifts-filter button.active {
  background: var(--ink);
  color: var(--paper);
}
.gifts-filter button:not(.active):hover {
  color: var(--ink);
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gift-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all .25s ease;
  position: relative;
}
.gift-card:hover {
  transform: translateY(-2px);
  border-color: var(--sepia);
  box-shadow: 0 20px 40px -20px rgba(43, 32, 23, 0.2);
}
.gift-card.taken {
  opacity: 0.55;
}
.gift-card.taken::after {
  content: "Escolhido";
  position: absolute;
  top: 12px; right: 12px;
  background: var(--sage);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.gift-thumb {
  aspect-ratio: 4/3;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-thumb svg { width: 50%; height: 50%; }
.gift-thumb::after {
  /* halftone stripes */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(43, 32, 23, 0.04) 8px, rgba(43, 32, 23, 0.04) 10px);
  pointer-events: none;
}

.gift-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.gift-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia-deep);
}
.gift-name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
}
.gift-price {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--rule);
}
.gift-price .price { font-weight: 600; }
.gift-price .btn {
  appearance: none;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.gift-price .btn:hover { background: var(--coral); }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(43, 32, 23, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  border: 1px solid var(--rule);
  position: relative;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal .close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink-soft);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal h3 {
  font-size: 32px;
  font-style: italic;
  margin-bottom: 6px;
}
.modal .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  margin-bottom: 24px;
}
.modal .option {
  border: 1px solid var(--rule);
  padding: 18px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
}
.modal .option:hover { border-color: var(--coral); background: var(--paper); }
.modal .option .label { font-family: var(--serif); font-size: 18px; font-style: italic; }
.modal .option .desc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.modal .option .arrow { font-family: var(--mono); color: var(--coral); }

.pix-box {
  background: var(--cream);
  border: 1px dashed var(--sepia);
  padding: 18px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pix-box button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ------------------------------------------------------------------
   Playlist
   ------------------------------------------------------------------ */

.playlist-section {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.playlist-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.playlist-cover {
  aspect-ratio: 1;
  background: var(--coral);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(43, 32, 23, 0.5);
}
.playlist-cover .title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--paper);
}
.playlist-cover .title h3 {
  font-size: 48px;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.playlist-cover .title .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}
.playlist-cover::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(43, 32, 23, 0.25) 1px, transparent 1px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}

.track-list { display: flex; flex-direction: column; }
.track {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.track .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sepia-deep);
  letter-spacing: 0.1em;
}
.track .info .t { font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.2; }
.track .info .a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; margin-top: 2px; }
.track .by {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--sepia-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.track-add {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.track-add input {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.track-add input:focus { border-color: var(--coral); }
.track-add input::placeholder { color: var(--sepia-deep); opacity: 0.7; }
.track-add button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}
.track-add button:hover { background: var(--coral); }

.track-byline {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
}
.track-byline input {
  flex: 1;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--rule);
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  outline: none;
}
.track-byline input::placeholder { color: var(--sepia-deep); }

/* ------------------------------------------------------------------
   Mural (recados)
   ------------------------------------------------------------------ */

.mural {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mural-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .2s;
  position: relative;
}
.mural-card:nth-child(3n+1) { transform: rotate(-0.6deg); background: #fbf3dc; }
.mural-card:nth-child(3n+2) { transform: rotate(0.8deg); }
.mural-card:nth-child(3n+3) { transform: rotate(-0.3deg); background: #f6ecd8; }
.mural-card:hover { transform: translateY(-2px) rotate(0); box-shadow: 0 20px 40px -20px rgba(43, 32, 23, 0.25); }
.mural-card .msg {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.mural-card .by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}

.mural-form {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 28px;
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mural-form .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sepia-deep);
  margin-bottom: 4px;
}
.mural-form textarea {
  min-height: 100px;
  resize: vertical;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  outline: none;
}
.mural-form textarea:focus { border-color: var(--coral); }
.mural-form input {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink);
  outline: none;
}
.mural-form input:focus { border-color: var(--coral); }
.mural-form button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
}
.mural-form button:hover { background: var(--coral); }

/* ------------------------------------------------------------------
   Foot
   ------------------------------------------------------------------ */

footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--rule);
  background: var(--cream);
  text-align: center;
}
footer .mark {
  font-family: var(--serif);
  font-size: 64px;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
footer .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sepia-deep);
}
footer .heart { color: var(--coral); }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .topbar { padding: 14px 20px; }
  .topbar nav { gap: 14px; font-size: 10px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: clamp(72px, 22vw, 140px); }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .hq-grid, .recado, .playlist-wrap { grid-template-columns: 1fr; gap: 36px; }
  .gifts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mural { grid-template-columns: 1fr; }
  .track-add { grid-template-columns: 1fr; }
  .modal { padding: 28px 22px; }
}
@media (max-width: 720px) {
  .topbar nav a:not(.rsvp) { display: none; }
  .topbar nav a.rsvp { font-size: 10px; padding: 5px 10px; letter-spacing: 0.14em; }
}
@media (max-width: 520px) {
  .gifts-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
