/* Lauren Frontiera · shared styles */
:root {
  --linen: #F4EFE8; --oat: #E8E0D6; --stone: #C9BFB4; --taupe: #A39890;
  --driftwood: #7A706A; --walnut: #5C4F47; --hearth: #3B3430; --beeswax: #E5D2A6;
  --text: #4F453F; --label: #6A5A4C; --line: #DDD3C7;
  --gut: clamp(20px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--hearth); font-family: 'Nunito Sans', sans-serif; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { opacity: .85; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }
h1, h2, h3 { overflow-wrap: break-word; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id], #main { scroll-margin-top: 20px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--hearth); color: var(--linen); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--linen); position: relative; z-index: 50; }
.hdr { max-width: 1160px; margin: 0 auto; padding: 28px var(--gut); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { font-family: 'Italiana', serif; font-size: 28px; letter-spacing: 0.16em; color: var(--hearth); text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.site-nav a, .nav-top { color: var(--hearth); text-decoration: none; }
.nav-top { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-top .chev { transition: transform .2s ease; }
.nav-group { position: relative; }
.sub { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 220px; background: var(--linen); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: none; flex-direction: column; box-shadow: 0 14px 34px rgba(59,52,48,.10); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.sub a { padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.sub a:hover, .sub a[aria-current] { background: var(--oat); opacity: 1; }
.nav-group.open .sub { display: flex; }
.nav-group.open .chev { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1061px) {
  .nav-group:hover .sub { display: flex; }
  .nav-group:hover .chev { transform: rotate(180deg); }
}
.nav-cta { background: var(--beeswax); padding: 11px 20px; border-radius: 999px; }
.menu-toggle { display: none; }

@media (max-width: 1060px) {
  .hdr { padding-top: 20px; padding-bottom: 20px; gap: 12px; }
  .wordmark { font-size: clamp(19px, 5.4vw, 26px); letter-spacing: 0.14em; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--taupe); border-radius: 999px; padding: 9px 16px; font: 15px 'Nunito Sans', sans-serif; color: var(--hearth); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 16px; height: 1.5px; background: var(--hearth); position: relative; transition: transform .2s ease; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -5px; } .bars::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--linen); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; font-size: 17px; box-shadow: 0 18px 30px rgba(59,52,48,.08); }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav > a, .nav-top { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; text-align: left; }
  .sub { position: static; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 14px; min-width: 0; }
  .sub::before { display: none; }
  .sub a { padding: 10px 0; }
  .sub a:hover, .sub a[aria-current] { background: none; text-decoration: underline; }
  @media (max-width: 440px) { .menu-label { display: none; } .menu-toggle { padding: 12px 12px; } .wordmark { font-size: clamp(17px, 5.6vw, 24px); letter-spacing: 0.12em; } }
  .nav-cta { margin-top: 18px; text-align: center; border-bottom: 0 !important; padding: 14px 20px !important; }
}

/* ---------- details / accordions ---------- */
.faq summary, .more summary { list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker, .more summary::-webkit-details-marker { display: none; }
.faq summary .plus, .more summary .plus { display: inline-block; transition: transform .25s ease; }
.faq details[open] summary .plus, .more[open] summary .plus { transform: rotate(45deg); }

/* ---------- home testimonial carousel ---------- */
.quotes > .q { grid-area: 1 / 1; transition: opacity .45s ease; }
.quotes > .q.fade { opacity: 0; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--walnut); background: transparent; cursor: pointer; }
.dot[aria-current="true"] { background: var(--walnut); }

/* ---------- welcome video ---------- */
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding-bottom: 76px; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(59,52,48,0) 55%, rgba(59,52,48,.35)); }
.video-play-icon { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%; background: rgba(244,239,232,.92); display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 6px 24px rgba(59,52,48,.25); transition: transform .25s ease; }
.video-play:hover .video-play-icon { transform: scale(1.06); }
.video-play-label { position: absolute; z-index: 1; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #F4EFE8; }
.video-play[hidden] { display: none; }
.video-end { position: absolute; inset: 0; background: #5C4F47; color: #F4EFE8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 64px 28px 40px; text-align: center; }
.video-end-title { margin: 0; font-family: 'Newsreader', serif; font-weight: 300; font-size: 26px; line-height: 1.3; max-width: 270px; }
.video-end-btn { background: #E5D2A6; color: #3B3430; text-decoration: none; font-size: 15px; padding: 14px 26px; border-radius: 999px; }
.video-replay { background: none; border: 0; padding: 0; font: 14px 'Nunito Sans', sans-serif; color: #E8E0D6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- journey video ---------- */
.journey-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 0 12% 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.journey-play:hover .video-play-icon { transform: scale(1.06); }
.journey-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .journey-play .video-play-icon { width: 60px; height: 60px; } }

/* ---------- doorway cards ---------- */
.door-card { transition: transform .25s ease, box-shadow .25s ease; }
.door-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(59,52,48,.10); opacity: 1; }
.door-card:hover .door-cta { text-decoration-thickness: 2px; }

/* ---------- signup notes ---------- */
.signup-note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: inherit; opacity: .9; }
input[type="email"], input[type="text"] { max-width: 100%; min-width: 0; }

/* ---------- homepage phone welcome ---------- */
.m-welcome { display: none; }
@media (max-width: 700px) {
  .m-welcome { display: flex; position: relative; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - 77px); padding: 0 24px 44px; box-sizing: border-box; overflow: hidden; background: #3B3430; }
  .m-hide { display: none !important; }
  .m-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .home-hero { padding-top: 64px !important; }
  .m-stone { background: #C9BFB4 !important; }
  .m-center { text-align: center; align-items: center; }
}

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  /* hero photos come first on phones, a little smaller */
  .m-first { order: -1; }
  .m-arch { width: 78% !important; max-width: 300px !important; height: auto !important; aspect-ratio: 4 / 4.8 !important; margin: 0 auto; }
  .about-hero { display: flex !important; flex-direction: column; min-height: 0 !important; }
  .m-about-img { padding: 48px 20px 0 !important; }
  /* let the photo show above and below the card */
  .m-band { padding-top: 88px !important; padding-bottom: 88px !important; }
}
@media (max-width: 640px) {
  /* text-heavy cards and arches breathe less on phones */
  [style*="border-radius: 16px; padding: 44px"] { padding: 28px 22px !important; }
  button[data-signup] { width: 100%; }
}

/* ---------- About hero: photo welcome on phones, arch on computers ---------- */
@media (max-width: 700px) {
  .about-intro { min-height: 0 !important; display: block !important; }
  .about-intro .about-text { padding: 48px 28px 8px !important; justify-content: center !important; }
  .about-intro .m-center > div { margin: 0 auto; }
}
@media (max-width: 700px) {
  .m-pt { padding-top: 48px !important; }
  .m-pb { padding-bottom: 48px !important; }
}
