/* ═════════════ Invia Invites — premium theme for inner pages ═════════════
   Matches the homepage: ivory paper · warm ink · champagne gold,
   Cormorant Garamond display serif with italic gold emphasis.
   Loaded last in <head>, so it overrides each page's own base styles. */

:root{
  --bg:#fcfbf9;--cream:#fcfbf9;--paper:#ffffff;--card:#ffffff;--surface:#ffffff;
  --ink:#1a1714;--ink-2:#2b2620;--dark:#1a1714;--btn:#1a1714;
  --gold:#a8834c;--gold-l:#d9c29a;--gold-xl:#efe3c9;
  --muted:#7a7166;--muted-2:#a39a8d;--line:rgba(26,23,20,.09);
  --serif:'Cormorant Garamond','Cormorant',Georgia,serif;
  --gold-text:linear-gradient(100deg,#8a6636 0%,#bf9a5c 38%,#e2c891 55%,#a8834c 80%,#8a6636 100%);
  /* shared.css (cancellation page) palette → same family */
  --ivory:#fcfbf9;--ivory-deep:#f3f1ec;--ivory-card:#ffffff;
  --rose:#a8834c;--rose-deep:#8a6636;--rose-blush:#efe3c9;--rose-pale:#f6eedd;
  --gold-light:#d9c29a;--gold-pale:#efe3c9;--gold-bg:#fbf6ea;
  --ink-mid:#4a443c;--border:rgba(168,131,76,.18);--border-gold:rgba(168,131,76,.3);
  --brand:#a8834c;--maroon:#8a6636;--gold-d:#8a6636;
}
html,body{background:var(--bg)}
body{color:var(--ink)}
body::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:2000;opacity:.035;transform:translateZ(0);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
::selection{background:#eadbbd;color:var(--ink)}

/* ── logo ── */
.nav-logo,.logo,.ss-logo,.footer-logo,.footer-brand,.brand-name{font-family:var(--serif)!important;font-weight:600;letter-spacing:.01em}
.nav-logo,.logo:not(img),.ss-logo{font-size:1.55rem!important;color:var(--ink)}
.nav-logo em,.logo em,.ss-logo em,.footer-logo em{font-style:italic;font-weight:500;color:var(--gold)}

/* ── nav ── */
.nav.scrolled,.nav-scrolled{background:rgba(252,251,249,.88)!important;box-shadow:0 1px 0 rgba(168,131,76,.18)!important}
.nav-link:hover{opacity:1;color:var(--gold)}
.nav-btn{background:var(--ink)!important;color:var(--cream)!important}
#mob-panel{background:var(--paper)}
.ml{font-family:var(--serif);font-size:1.35rem;font-weight:500}

/* ── page headings ── */
.ph-title,.page-title,.policy-title,.prod-name,.card-title,.ss-title,.title,h1.serif,.template-name,.feedback-shell h1,.shell>header h1,.dash-title{
  font-family:var(--serif)!important;font-weight:500!important;letter-spacing:-.015em!important;line-height:.95!important;color:var(--ink)!important}
.ph-title,.page-title,.policy-title{font-size:clamp(3rem,7vw,5.6rem)!important}
.ph-title em,.page-title em,.policy-title em,.prod-name em,.card-title em,.ss-title em,.title em,h1 em,.template-name em,.sec-title em{
  font-style:italic!important;font-weight:400!important;background:var(--gold-text);-webkit-background-clip:text;background-clip:text;color:transparent!important;padding-right:.05em}
.sec-title{font-family:var(--serif)!important;font-weight:500;line-height:.95;letter-spacing:-.015em;color:var(--ink)}
h2.section-title,.sec-h,.policy-section h2,.pol h2,.ss-section h2{font-family:var(--serif);font-weight:600;letter-spacing:0;color:var(--ink)}
.ph-sub,.page-sub,.sec-lead,.sub,.policy-sub,.prod-desc,.card-sub{color:var(--muted)!important;line-height:1.75}

h1{font-family:var(--serif)!important;font-weight:500;letter-spacing:-.01em;color:var(--ink)}
h1:not([class]){font-size:clamp(2.4rem,6vw,3.4rem);line-height:1}
.aside-quote{font-family:var(--serif)!important;font-style:italic;font-weight:400!important;font-size:clamp(1.9rem,3vw,2.6rem)!important;line-height:1.15!important;color:#f3e9d6!important}
.profile-name{font-family:var(--serif)!important;font-weight:600;font-size:1.5rem!important}

/* ── small labels ── */
.s-label,.eyebrow,.ph-eyebrow,.page-eyebrow,.policy-eyebrow,.ss-eyebrow,.card-eyebrow{color:var(--gold)!important;font-weight:600;letter-spacing:.3em!important}
.s-label-line,.eyebrow::before{background:linear-gradient(90deg,transparent,currentColor)!important;width:30px}
.s-label::after{content:'✦';font-size:.62rem;letter-spacing:0;margin-left:.15rem}

/* ── buttons ── */
.btn-dark,.btn-primary,.btn-submit,.submit-btn,.cta-btn,.btn-ink,.primary-btn,button.btn-black{background:var(--ink)!important;color:var(--cream)!important;border-color:var(--ink)!important}
.btn-dark:hover,.btn-primary:hover,.btn-submit:hover,.submit-btn:hover{opacity:.88}
.btn-outline,.btn-light,.btn-secondary{border-color:rgba(168,131,76,.4)!important}

/* ── cards / surfaces ── */
.card,.contact-card,.info-card,.policy-card,.policy-body,.form-card,.ss-card,.order-card,.auth-card,.login-card,.summary-card,.c-card,.req-card{
  background:var(--paper)!important;border-color:rgba(26,23,20,.08)!important}
input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{border-color:rgba(168,131,76,.25)}
input:focus,textarea:focus,select:focus{border-color:var(--gold)!important;box-shadow:0 0 0 3px rgba(168,131,76,.14)!important;outline:none}

/* ── template cards (templates page) ── */
.po{color:#8a6636!important;background:rgba(168,131,76,.12)!important;letter-spacing:.08em}
.fchip.act,.f-chip.act,.filter-chip.act,.chip.act,.fn-pill.act{background:var(--ink)!important;border-color:var(--ink)!important;color:var(--cream)!important}

/* ── footer ── */
footer:has(.footer-inner){background:var(--ink);color:var(--gold-xl)}
.footer-logo{font-size:1.8rem;font-weight:500}
.footer-tag{color:rgba(239,227,201,.45)}
.footer-group-label{color:var(--gold)!important;letter-spacing:.24em}
.footer-link{color:rgba(239,227,201,.55)}
.footer-link:hover{color:var(--gold-xl)}
.footer-top{border-bottom-color:rgba(217,194,154,.12)!important}
.social-btn{border-color:rgba(217,194,154,.2)!important;color:var(--gold-l)!important}
.footer-bottom{color:rgba(239,227,201,.35)}
.footer-inner .footer-brand{font-style:italic;font-weight:400;color:transparent!important;-webkit-text-stroke:1px rgba(217,194,154,.28)}

/* ── skeleton loading (shared) ── */
@keyframes ssk{0%{background-position:150% 0}100%{background-position:-50% 0}}
.sk{background:linear-gradient(100deg,#efede8 30%,#f9f8f5 50%,#efede8 70%)!important;background-size:250% 100%!important;animation:ssk 1.5s ease-in-out infinite;box-shadow:none!important}
.sk::before,.sk::after{content:none!important}
.sk-card{display:flex;flex-direction:column}
.sk-card .tv.sk{border-radius:22px}
.sk-line{display:block;height:.9rem;border-radius:6px}
.sk-t{height:1.7rem;width:58%;margin-top:1.1rem}
.sk-s{width:42%;margin-top:.55rem}
.sk-p{width:30%;margin-top:.7rem}
.sk-list{max-width:640px;margin:0 auto;text-align:left}
.sk-row{height:96px;border-radius:18px;margin-bottom:1rem}
@media(prefers-reduced-motion:reduce){.sk{animation:none}}
/* touch screens: no hover effects on menu links, so one tap opens the page */
a,button{-webkit-tap-highlight-color:transparent}
@media(hover:none){.ml:hover{opacity:1!important;padding-left:0!important}}

/* scroll fade-in: long, soft ease-out; only GPU-friendly properties */
.reveal,.reveal-pop{opacity:0;transform:translate3d(0,24px,0);transition:opacity 1s cubic-bezier(.16,1,.3,1),transform 1.1s cubic-bezier(.16,1,.3,1)}
.reveal:not(.visible),.reveal-pop:not(.visible){will-change:opacity,transform}
.reveal.visible,.reveal-pop.visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal,.reveal-pop{transition:none;opacity:1;transform:none}}
