/* ==========================================================================
   Soarceress: calm, airy, lavender & amethyst
   ========================================================================== */
:root {
  --bg: #fdfbf8;            /* warm rice-paper white */
  --bg-tint: #f6f2f9;       /* whisper of lavender */
  --sand: #f3ede4;          /* soft natural sand */
  --white: #ffffff;
  --text: #3b3742;          /* soft charcoal (11:1 on bg) */
  --muted: #5f5a68;         /* 6.6:1 on bg */
  --plum: #4b3472;          /* headings */
  --amethyst: #6d4fa3;      /* links, buttons (6.4:1 on white) */
  --amethyst-dark: #573d87;
  --lavender: #c9b6ea;
  --lavender-soft: #e8def6;
  --gold: #b8995c;          /* decorative only */
  --line: #e6dfee;
  --radius: 999px;
  --radius-card: 22px;
  --shadow: 0 10px 40px -18px rgba(75, 52, 114, .28);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amethyst); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--amethyst-dark); }
p { margin: 0 0 1.25em; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--plum);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 1.45rem + 1.5vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); }

:focus-visible {
  outline: 3px solid var(--amethyst);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Header: logo on a white band, nav bar below
   -------------------------------------------------------------------------- */
.logo-band {
  background: var(--white);
  display: flex;
  justify-content: center;
  padding: 1.25rem 1rem 1rem;
}
.logo-link { display: block; border-radius: 50%; }
.logo {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(201, 182, 234, .55), 0 12px 34px -16px rgba(75, 52, 114, .45);
}
.logo { width: clamp(120px, 22vw, 176px); height: auto; aspect-ratio: 1 / 1; }

.main-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1120px, 100% - 1.5rem);
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.6rem;
}
.nav-list a {
  display: inline-block;
  padding: .55rem .2rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: .25rem; height: 1px;
  background: var(--amethyst); transition: left .35s ease, right .35s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--amethyst); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { left: 0; right: 0; }

.nav-toggle { display: none; }

@media (max-width: 899.98px) {
  .js .nav-inner { justify-content: flex-end; position: relative; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .65rem;
    background: none; border: 0; cursor: pointer;
    padding: .6rem .5rem; color: var(--plum);
    font: 700 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
    border-radius: 12px;
  }
  .nav-toggle-bars { position: relative; width: 26px; height: 18px; display: inline-block; }
  .nav-toggle-bars span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform .4s cubic-bezier(.65,.05,.36,1), opacity .25s ease, top .4s cubic-bezier(.65,.05,.36,1);
  }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 8px; }
  .nav-toggle-bars span:nth-child(3) { top: 16px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

  .js .nav-list {
    position: absolute; top: 100%; left: -.75rem; right: -.75rem;
    flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(75, 52, 114, .35);
    padding: .75rem 0 1.25rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
  }
  .js .nav-list.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .35s ease, transform .35s ease;
  }
  .js .nav-list li { width: 100%; text-align: center; }
  .js .nav-list a { padding: .85rem 1rem; font-size: .9rem; }
  .js .nav-list a::after { bottom: .55rem; }
  .js .nav-list a:hover::after, .js .nav-list a[aria-current="page"]::after { left: 40%; right: 40%; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(60% 70% at 15% 10%, rgba(201, 182, 234, .30), transparent 70%),
    radial-gradient(50% 60% at 90% 30%, rgba(243, 237, 228, .9), transparent 70%),
    var(--bg);
}
.hero h1 { max-width: 16ch; margin-inline: auto; }
.page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 1.5rem;
  background: radial-gradient(55% 80% at 50% 0%, rgba(201, 182, 234, .28), transparent 70%), var(--bg);
}
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--amethyst); margin-bottom: .9rem;
}
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--text); }
.quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  color: var(--plum); line-height: 1.5;
}
.signoff { font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--amethyst); margin-top: 1.5rem; }
.closing { margin-top: 2.5rem; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-top-tight { padding-top: 1.25rem; }
.section-tint {
  background: linear-gradient(180deg, var(--bg-tint), #faf7fc);
  border-block: 1px solid #efe8f5;
}

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(260px, 380px) 1fr; }
}
.portrait { margin: 0 auto; max-width: 380px; width: 100%; position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid var(--lavender);
  background: radial-gradient(circle, rgba(232, 222, 246, .7), transparent 70%);
}
.portrait img {
  position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

/* Divider */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--gold); padding: 1rem 0;
}
.divider svg { width: 64px; height: 32px; }
.divider span { height: 1px; width: min(180px, 28vw); background: linear-gradient(90deg, transparent, var(--lavender)); }
.divider span:last-child { background: linear-gradient(90deg, var(--lavender), transparent); }

/* Buttons */
.btn-group { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }
.btn-group.left { justify-content: flex-start; }
@media (max-width: 859.98px) { .btn-group.left { justify-content: center; } .split-text { text-align: center; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.9rem;
  border-radius: var(--radius);
  font: 700 .82rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}
.btn-primary { background: var(--amethyst); color: #fff; box-shadow: 0 8px 24px -12px rgba(109, 79, 163, .7); }
.btn-primary:hover { background: var(--amethyst-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(109, 79, 163, .8); }
.btn-secondary { background: rgba(255,255,255,.7); color: var(--amethyst-dark); border-color: var(--lavender); }
.btn-secondary:hover { background: var(--lavender-soft); color: var(--plum); border-color: var(--amethyst); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Cards */
.cards { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card, .details-card, .policy, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}
.card p:last-child, .policy p:last-child { margin-bottom: 0; }
.details-card { margin-top: 2.5rem; }
.details-card h2 { text-align: center; }
.details { margin: 0; }
.details > div {
  display: grid; gap: .1rem 1.5rem; padding: .9rem 0; border-bottom: 1px dashed var(--line);
}
.details > div:last-child { border-bottom: 0; }
@media (min-width: 600px) { .details > div { grid-template-columns: 170px 1fr; } }
.details dt { font-weight: 700; color: var(--plum); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.details dd { margin: 0; }

.soft-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.soft-list li { position: relative; padding: .35rem 0 .35rem 2rem; }
.soft-list li::before {
  content: ""; position: absolute; left: .35rem; top: 1.05em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lavender); box-shadow: 0 0 0 4px var(--lavender-soft);
}

.policies { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.policy h3 { margin-bottom: .4em; }
.disclaimer {
  font-size: .98rem; color: var(--muted);
  background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.25rem;
}

/* FAQ */
.faq-list { display: grid; gap: .9rem; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .35s ease; }
.faq[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); margin: 0; font-weight: 600; }
.faq-icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1.6px; background: var(--amethyst);
  transition: transform .35s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 1.4rem .4rem; }
.faq-a .disclaimer { background: var(--bg-tint); }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--bg-tint), #efe8f6);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  font-size: .95rem;
  color: var(--muted);
}
.footer-blessing { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--plum); }
.footer-nav { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.4rem; }
.footer-nav a { color: var(--text); text-decoration: none; font-size: .85rem; letter-spacing: .08em; padding: .35rem .1rem; display: inline-block; }
.footer-nav a:hover { color: var(--amethyst); text-decoration: underline; }
.footer-disclaimer { max-width: 640px; margin-inline: auto; font-size: .85rem; }
.footer-copy { font-size: .8rem; margin: 0; }

/* --------------------------------------------------------------------------
   Contact form & modal
   -------------------------------------------------------------------------- */
.form-container { width: min(680px, 100% - 2.5rem); margin-top: 1rem; }
.contact-form { text-align: left; }
.form-row { margin-bottom: 1.1rem; }
.form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: block; font-weight: 700; font-size: .88rem; letter-spacing: .04em; color: var(--plum); margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #fcfaff; border: 1px solid #d5c9e6; border-radius: 14px;
  padding: .75rem .95rem; transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--amethyst); background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 79, 163, .18);
}
.contact-form [aria-invalid="true"] { border-color: #a4405a; }
.field-error { color: #973451; font-size: .88rem; margin: .35rem 0 0; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.5rem; text-align: center; }
.form-status:empty { display: none; }
.form-status, .notice { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: 16px; text-align: center; }
.notice { margin: 0 0 1.5rem; }
.is-success, .notice-success { background: #f1ecf9; border: 1px solid var(--lavender); color: var(--plum); }
.is-error, .notice-error { background: #fbf0f2; border: 1px solid #ecc8d1; color: #7d2b43; }
.form-sent .form-row, .form-sent .form-grid, .form-sent .form-actions { display: none; }
.form-sent .form-status { font-family: var(--serif); font-size: 1.4rem; padding: 2rem 1.25rem; }

.contact-modal {
  border: 0; padding: 0; background: transparent;
  width: min(620px, 100% - 1.5rem); max-height: calc(100% - 1.5rem);
  margin: auto; color: var(--text); overflow: visible;
}
.contact-modal::backdrop { background: rgba(59, 42, 88, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; background: var(--white);
  border-radius: 26px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(59, 42, 88, .55);
  padding: clamp(1.6rem, 5vw, 2.6rem);
  max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow-y: auto;
  background-image: radial-gradient(80% 50% at 50% 0%, rgba(232, 222, 246, .55), transparent 70%);
}
.modal-card h2 { text-align: center; padding: 0 2rem; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem); }
.modal-intro { text-align: center; color: var(--muted); }
.modal-close {
  position: absolute; top: .9rem; right: .9rem;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--plum); cursor: pointer;
  display: grid; place-items: center; transition: background-color .3s ease;
}
.modal-close:hover { background: var(--lavender-soft); }
.contact-modal[open] { animation: modal-in .45s cubic-bezier(.2,.7,.2,1); }
.contact-modal[open]::backdrop { animation: fade-in .45s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body.modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Page transition: fade out, glowing infinity, fade in
   -------------------------------------------------------------------------- */
.site-wrap { transition: opacity .5s ease; }
.transition-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #f7f2fc 0%, var(--bg) 60%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.infinity { width: min(280px, 64vw); height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(138, 102, 196, .55)) drop-shadow(0 0 26px rgba(201, 182, 234, .7)); }
.infinity path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.infinity-base { stroke: #ddcdf2; stroke-width: 6; }
.infinity-trace { stroke: url(#infGrad); stroke-width: 6.5; stroke-dasharray: 38 62; }

/* leaving the current page */
.sc-leaving .site-wrap { opacity: 0; }
.sc-leaving .transition-overlay { opacity: 1; visibility: visible; transition: opacity .6s ease .35s, visibility 0s; }

/* arriving on the new page */
.sc-arriving .site-wrap { opacity: 0; transition: none; }
.sc-arriving .transition-overlay { opacity: 1; visibility: visible; transition: none; }
.sc-arriving.sc-arrived .transition-overlay { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.sc-arriving.sc-arrived .site-wrap { opacity: 1; transition: opacity .8s ease .35s; }

.sc-leaving .infinity-trace, .sc-arriving .infinity-trace { animation: infinity-trace 1.6s linear infinite; }
.sc-leaving .infinity, .sc-arriving .infinity { animation: infinity-glow 1.6s ease-in-out infinite; }
@keyframes infinity-trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes infinity-glow {
  0%, 100% { transform: scale(.97); opacity: .85; }
  50% { transform: scale(1.03); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Reduced motion: no transitions or animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .transition-overlay { display: none; }
  .sc-arriving .site-wrap, .sc-leaving .site-wrap { opacity: 1; }
}

@media print {
  .main-nav, .transition-overlay, .contact-modal, .btn-group { display: none !important; }
}

/* Registered-trademark symbol: keep it small and raised in headings, buttons and menus */
.reg { font-size: .6em; vertical-align: super; line-height: 0; margin-left: .04em; }
.nav-list .reg, .btn .reg, .footer-nav .reg { font-size: .75em; vertical-align: .35em; }
