/* Ever After Seating — shared brand styles (homepage, planner, legal pages) */
:root {
  --wine: #3b1a2a;
  --rose: #b8476b;
  --blush: #fbe9ee;
  --blush-2: #ecd3dc;
  --petal: #f3c9d3;
  --paper: #fffafb;
  --ink-2: #6b4a5a;
  --ink-3: #7d6170;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--wine); font: 16px/1.6 var(--sans); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--wine); }
a:hover { color: var(--rose); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.serif { font-family: var(--serif); font-weight: 600; }
.script { font-family: var(--script); color: var(--rose); line-height: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.muted { color: var(--ink-2); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 251, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--blush-2); }

.site-head .nav { flex-wrap: nowrap; margin-left: auto; justify-content: flex-end; }
.site-head .navcta { display: none; white-space: nowrap; }
.site-head.cta .navcta { display: inline-flex; animation: ctaIn .25s ease-out; }
.site-head .signin { white-space: nowrap; }
@keyframes ctaIn { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 600px) { .site-head .navcta .lg { display: none; } .site-head .navcta { padding: 8px 14px; font-size: 13px; min-height: 36px; } .site-head .logo { font-size: 20px; white-space: nowrap; } .site-head .wrap { gap: 10px; } .site-head .nav { gap: 14px; } }
.site-head .wrap { display: flex; flex-wrap: nowrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 16px; }
.logo { font-family: var(--serif); font-size: 30px; font-weight: 600; text-decoration: none; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }

/* Buttons */
.tb { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 22px; border-radius: 999px; font: 700 15px var(--sans); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background-color .3s, border-color .3s; }
.tb-lg { padding: 17px 28px; font-size: 16px; }
.tb-p { background: var(--rose); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12), 0 8px 18px -6px rgba(184,71,107,.55); }
.tb-p:hover { color: #fff; transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.12), 0 16px 30px -8px rgba(184,71,107,.6); }
.tb-p::after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.tb-p:hover::after { left: 130%; }
.tb-g { background: transparent; color: var(--wine); border: 1.5px solid var(--blush-2); }
.tb-g::before { content: ""; position: absolute; inset: 0; background: var(--blush); border-radius: inherit; transform: translateY(101%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: -1; }
.tb-g:hover::before { transform: translateY(0); }
.tb-g:hover { color: var(--wine); border-color: #e3b9c8; }
.tb-dark { border-color: var(--wine); }
.tb:active { transform: translateY(0) scale(.97); }
.tb:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.tb .ar, .tb .hrt { transition: transform .3s cubic-bezier(.2,.8,.2,1); flex: none; }
.tb:hover .ar { transform: translateX(5px); }
.tb:hover .hrt { transform: scale(1.3) rotate(-8deg); }
.tb:disabled { opacity: .5; cursor: default; transform: none; }

/* Footer */
.site-foot { background: var(--blush); padding: 40px 0; font-size: 14px; color: var(--ink-3); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-foot .script { font-size: 30px; color: var(--wine); }
.site-foot nav { display: flex; gap: 24px; }

@media (max-width: 600px) { .wrap { padding-inline: 18px; } .nav .hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tb, .tb::after, .tb::before, .tb .ar, .tb .hrt { transition: none; } }
