/* Shared theme for ryleeandjulian — mirrors the Joy design: watercolor wash, terracotta panel,
   handwritten headings (Homemade Apple), Bitter serif for dates, Montserrat for body. */
:root {
  --paper: #f8f6f2;
  --ink: #333333;
  --muted: #6b625b;
  --terracotta: #c65d2b;
  --terracotta-deep: #b24f22;
  --on-terracotta: #fff7f0;
  --line: rgba(255,255,255,.55);
  --olive: #3f4a2c;
  --serif: "Bitter", Georgia, serif;
  --sans: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;
  --script: "Homemade Apple", cursive;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---- navigation pill ---- */
.nav { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgba(40,20,5,.12); white-space: nowrap; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--terracotta); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav a:hover { background: rgba(198,93,43,.1); }
@media (max-width: 480px) { .nav { top: 16px; } .nav a { font-size: 13px; padding: 8px 10px; } }

/* ---- page scaffold ---- */
.page { position: relative; display: flow-root; min-height: 100vh; padding-bottom: 64px; }
.wash { position: absolute; inset: 0 0 auto 0; height: 900px; background: url(/img/watercolor.jpg) center top / cover no-repeat; z-index: 0; }
@media (max-width: 720px) { .wash { height: 62vh; } }
.panel { position: relative; z-index: 1; max-width: 1024px; min-height: 1140px; margin: 140px auto 0; background: var(--terracotta); color: var(--on-terracotta); padding: 120px 24px 140px; text-align: center; box-shadow: 0 20px 60px rgba(60,25,5,.18); }
@media (max-width: 720px) { .panel { margin-top: 84px; padding: 72px 20px 96px; min-height: calc(62vh + 200px); } }
.panel-inner { max-width: 560px; margin: 0 auto; }
.panel-wide { max-width: 760px; margin: 0 auto; }
.script { font-family: var(--script); font-weight: 400; font-size: clamp(34px, 6vw, 54px); line-height: 1.2; margin: 0 0 40px; letter-spacing: .01em; }
.date-h { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: inline-block; min-width: 360px; max-width: 100%; }
@media (max-width: 480px) { .date-h { min-width: 0; width: 100%; font-size: 21px; } }
.event { margin: 34px auto 72px; }
.event h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 4px; }
.event .time { font-size: 14px; margin: 0 0 22px; letter-spacing: .02em; }
.event p { font-size: 15.5px; margin: 0 0 18px; }
.event .meta { display: flex; gap: 8px; justify-content: center; align-items: flex-start; font-size: 14px; margin: 0 auto 10px; max-width: 420px; text-align: center; }
.event .meta svg { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.event .meta a { color: inherit; }
.links { display: flex; gap: 28px; justify-content: center; margin-top: 26px; font-size: 14.5px; }
.links a { color: inherit; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.btn-outline { display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--on-terracotta); text-decoration: none; border: 1.5px solid var(--on-terracotta); border-radius: 999px; padding: 12px 36px; transition: background .15s, color .15s; }
.btn-outline:hover { background: var(--on-terracotta); color: var(--terracotta); }
.monogram { width: 420px; max-width: 80%; margin: 0 auto 70px; box-shadow: 0 18px 44px rgba(40,15,0,.35); }
.lead { font-size: 16px; max-width: 460px; margin: 0 auto 26px; }
.card-h { font-family: var(--sans); font-weight: 600; font-size: 24px; margin: 0 0 14px; }
.hotel { text-align: left; max-width: 760px; margin: 60px auto 0; }
.hotel .meta { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; margin-bottom: 36px; }
.hotel .meta svg { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.hotel .kv { font-size: 14px; margin: 0 0 24px; }
.hotel .kv b { display: block; font-weight: 500; margin-bottom: 4px; }
.hotel .btn-outline { padding: 12px 56px; }
.hotel + .hotel { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
footer.site { position: relative; z-index: 1; text-align: center; color: var(--muted); font-size: 12.5px; padding: 40px 16px 0; }
footer.site a { color: inherit; }

/* ---- welcome hero ---- */
.hero { position: relative; height: 900px; max-height: 100vh; min-height: 520px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero h1 { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; font-family: var(--script); font-weight: 400; color: var(--terracotta); font-size: clamp(44px, 9vw, 112px); line-height: 1.1; padding: 0 16px; text-shadow: 0 2px 18px rgba(255,255,255,.35); }
.hero h1 .amp { font-size: .7em; }
.welcome .panel { margin-top: 0; padding-top: 220px; min-height: 0; }
@media (max-width: 720px) { .welcome .panel { padding-top: 96px; } }
.welcome .date-line { font-family: var(--serif); font-size: 28px; margin: 0 0 6px; }
.welcome .venue-line { font-family: var(--serif); font-size: 24px; margin: 0 0 56px; }
@media (max-width: 480px) { .welcome .date-line { font-size: 23px; } .welcome .venue-line { font-size: 19px; } }
.welcome .btn-outline { font-family: var(--serif); font-size: 15px; padding: 10px 24px; margin-bottom: 58px; }
.welcome p { font-family: var(--serif); font-size: 16px; margin: 0 0 24px; }
