/* site.css — layout + chrome for the live wedding site (Direction A).
   Builds on tokens.css. Real responsive multi-page site. */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 620px) { .wrap { padding: 0 20px; } }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 244, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 33, 58, 0.10);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; }
.brand .nm { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink);
  opacity: 0.72; padding-bottom: 4px; border-bottom: 2.5px solid transparent; transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 800; border-bottom-color: var(--magenta); }

.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: var(--edge);
  background: #fff; box-shadow: var(--shadow-sm); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; padding: 0;
}
.menu-btn span { width: 19px; height: 2.3px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; display: none;
  background: rgba(74, 33, 58, 0.34);
}
.drawer.open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(78vw, 320px);
  background: var(--paper); box-shadow: var(--shadow-lg);
  padding: 24px 26px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(8px); animation: drawerIn .22s ease forwards;
}
@keyframes drawerIn { to { transform: translateX(0); } }
.drawer-panel a {
  text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 24px;
  color: var(--ink); padding: 12px 0; border-bottom: 1px solid rgba(74,33,58,.10);
}
.drawer-panel a.active { color: var(--magenta); }
.drawer-close { align-self: flex-end; background: none; border: none; font-size: 30px; color: var(--ink-soft); cursor: pointer; line-height: 1; padding: 0 0 8px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 0; background: var(--cream); border-top: 1px solid rgba(74,33,58,.10);
  padding: 48px 0 40px;
}
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.site-footer h4 { font-family: var(--font-display); font-size: 30px; margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.site-footer .fnav { display: flex; flex-direction: column; gap: 8px; }
.site-footer .fnav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.site-footer .fnav a:hover { color: var(--magenta); }
.site-footer .fine { margin-top: 34px; font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------------- Shared bits ---------------- */
.eyebrow { font-family: var(--font-script); color: var(--magenta); font-size: clamp(22px, 3vw, 30px); margin: 0; line-height: 1; }
.label-caps { font-family: var(--font-body); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.02; margin: 2px 0 0; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.01em; }
.section-title .registry-link { color: var(--magenta); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; transition: opacity .15s ease; }
.section-title .registry-link:hover { opacity: .72; }
.section-title .reg-arrow { display: inline-block; transition: transform .18s ease; }
.section-title .registry-link:hover .reg-arrow { transform: translateX(-5px); }
.reg-annot { display: inline-block; font-family: var(--font-script); font-weight: 600; color: var(--green-deep); font-size: clamp(20px, 2.4vw, 28px); margin-left: 12px; transform: rotate(-6deg); vertical-align: middle; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 15px; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; border: none; transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--magenta); box-shadow: 0 8px 22px rgba(178,58,110,.30); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(178,58,110,.40); }
.btn-ghost { color: var(--ink); background: transparent; border: 2px solid rgba(74,33,58,.18); }
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); }
.btn:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }

.card {
  background: #fff; border: 1px solid rgba(74,33,58,.09); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

/* sunset wash used at the top of hero/page-heads */
.sky-wash { position: absolute; inset: 0 0 auto 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(248,205,160,.6), rgba(241,175,186,.18) 50%, rgba(255,251,244,0) 100%); }
