
:root {
  --paper: #faf8f2;
  --ink: #11100e;
  --muted: #68625a;
  --accent: #c6a24d;
  --accent-strong: #9c761c;
  --panel: rgba(255, 255, 255, 0.9);
  --line: rgba(17, 16, 14, 0.16);
  --heading: "Didot", "Bodoni 72", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}
body {
  background:
    linear-gradient(90deg, rgba(198, 162, 77, 0.17) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff 0%, #f4efe2 100%);
  background-size: 72px 72px, auto;
}
.hero-card { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.eyebrow, .section h2 { letter-spacing: 0.18em; text-transform: uppercase; }
.couple-names { text-transform: uppercase; line-height: 0.88; }
.button { border-radius: 0; text-transform: uppercase; letter-spacing: 0.12em; }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  min-height: 100vh;
}
a { color: inherit; }
.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}
.hero-card {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 32px;
  align-items: stretch;
  padding: clamp(28px, 6vw, 72px);
  background: var(--panel);
  backdrop-filter: blur(18px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.couple-names {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 500;
}
.amp { color: var(--accent-strong); font-style: italic; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 1rem;
}
.hero-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.34);
}
.hero-intro {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
  margin: -6px 0 0;
}
.hero-visual {
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  display: grid;
  place-items: center;
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lettering-mark, .illustrated-mark {
  width: min(340px, 86%);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  color: var(--accent-strong);
  font-family: var(--heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  background: rgba(255,255,255,0.28);
}
.illustrated-mark::before,
.illustrated-mark::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid var(--accent);
  border-radius: 44% 56% 49% 51%;
  opacity: 0.42;
}
.illustrated-mark::before { transform: translate(-108px, -106px) rotate(-22deg); }
.illustrated-mark::after { transform: translate(114px, 112px) rotate(18deg); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.section {
  background: var(--panel);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
}
.section.full { grid-column: 1 / -1; }
.section h2 {
  margin: 0 0 16px;
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
}
.section p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 12px;
}
.facts {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.fact strong { color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 700;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.rsvp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.rsvp-form label { display: grid; gap: 7px; color: var(--muted); font-size: 0.92rem; }
.rsvp-form input,
.rsvp-form textarea,
.rsvp-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,0.68);
  color: var(--ink);
  font: inherit;
}
.rsvp-form .wide { grid-column: 1 / -1; }
.hidden-field { position: absolute; left: -5000px; opacity: 0; }
.footer {
  text-align: center;
  color: var(--muted);
  margin-top: 36px;
  padding: 30px;
}
#countdown {
  color: var(--accent-strong);
  font-weight: 700;
}
@media (max-width: 800px) {
  .site-shell { width: min(100% - 20px, 720px); padding-top: 10px; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; padding: 24px; }
  .hero-visual { min-height: 300px; }
  .section-grid { grid-template-columns: 1fr; }
  .rsvp-form { grid-template-columns: 1fr; }
  .couple-names { font-size: clamp(3.6rem, 20vw, 6rem); }
}


/* OpenClaw design spec: Minimal Verde */
:root {
  --paper: #f7f9f8;
  --ink: #2a3530;
  --muted: #7a8b82;
  --accent: #7bb8a8;
  --accent-strong: #5a9e8c;
  --panel: #ebf3f0e8;
  --line: color-mix(in srgb, #2a3530 16%, transparent);
  --heading: "Fraunces", "Recoleta", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}
body.has-openclaw {
  background:
    radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 22rem),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--accent-strong) 16%, transparent), transparent 19rem),
    linear-gradient(145deg, color-mix(in srgb, var(--paper) 94%, white), var(--paper));
}
body.has-openclaw .hero-card {
  position: relative;
  overflow: hidden;
}
body.has-openclaw .hero-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  pointer-events: none;
}
body.openclaw-minimal .hero-card { grid-template-columns: 1fr; text-align: center; }
body.openclaw-minimal .hero-copy { align-items: center; }
body.openclaw-minimal .hero-visual { min-height: 280px; width: min(520px, 100%); justify-self: center; }
body.openclaw-editorial .hero-card { grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr); }
body.openclaw-editorial .couple-names { letter-spacing: -0.055em; }
body.openclaw-garden .hero-card,
body.openclaw-garden .section { border-radius: 44px 18px 44px 18px; }
body.openclaw-garden .section::before { content: "flor"; color: var(--accent); font-family: var(--heading); font-size: 0.9rem; letter-spacing: 0.25em; text-transform: uppercase; }
body.openclaw-poster .hero-card { border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--accent); }
body.openclaw-poster .couple-names { text-transform: uppercase; line-height: 0.84; }
body.openclaw-poster .section h2 { text-transform: uppercase; letter-spacing: 0.08em; }
body.openclaw-storybook .site-shell { width: min(1040px, calc(100% - 32px)); }
body.openclaw-storybook .hero-card { border-radius: 52px; }
body.openclaw-storybook .couple-names { font-style: italic; }
body.openclaw-atelier .hero-card { transform: rotate(-0.4deg); }
body.openclaw-atelier .section:nth-child(even) { transform: rotate(0.3deg); }
.hero-badge { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.65rem; color: var(--muted); } .accent-rule { height: 2px; background: var(--accent); width: 3rem; margin: 0 auto 1rem; } .section-title { font-weight: 300; letter-spacing: 0.06em; }
