/* GuardiStem V6 — one layout system.
   Colour: the logo's indigo and periwinkle on warm ivory; muted gold is reserved for deposit actions.
   Type: Newsreader (serif) for headlines, Hanken Grotesk for everything else. */
:root {
  --ink: #252957;
  --indigo: #343a7a;
  --indigo-deep: #2a2e63;
  --peri: #4f6db3;
  --peri-soft: #a9b8dd;
  --mist: #ebeff7;
  --ivory: #fbf8f2;
  --sand: #f2ece1;
  --line: #ddd5c6;
  --muted: #5d6080;
  --gold: #cfae66;
  --gold-hover: #c29f55;
  --white: #fff;
  --logo-blue: #363c7a; /* background the brand logo was drawn on; the footer uses it */

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec: clamp(72px, 9vw, 128px);
  --gap: clamp(24px, 3vw, 40px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--ink);
  font: 400 clamp(16px, 1.05vw + 10px, 18px)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--peri); text-underline-offset: .18em; }
a:hover { color: var(--indigo); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.c { text-align: center; }
.sec { padding: var(--sec) 0; }
.sec--sand { background: var(--sand); }
.sec--mist { background: var(--mist); }
.sec--indigo { background: var(--indigo); color: var(--white); }
.sec--indigo a { color: var(--white); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.c { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap) clamp(32px, 6vw, 96px); align-items: start; }
.split--top { align-items: start; }
.sec--joined { padding-top: 0; }
/* visitors and members see different pages; set on <html> before first paint */
html[data-auth="out"] .member-only, html[data-auth="out"] .nav__member { display: none !important; }
html[data-auth="in"] .welcome { display: none; }

/* ---------- type ---------- */
.display {
  font: 400 clamp(42px, 5.6vw, 80px)/1.04 var(--serif);
  letter-spacing: -0.015em;
  color: var(--indigo);
  text-wrap: balance;
}
.display--sm { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.1; }
.h2 {
  font: 400 clamp(32px, 3.4vw, 48px)/1.12 var(--serif);
  letter-spacing: -0.01em;
  color: var(--indigo);
  text-wrap: balance;
}
.sec--indigo .h2, .sec--indigo .display { color: var(--white); }
.h3 { font: 600 clamp(18px, .5vw + 15px, 21px)/1.35 var(--sans); color: var(--ink); }
.lede { font-size: clamp(18px, .6vw + 14px, 21px); line-height: 1.6; }
.head .lede, .h2 + .lede, .h2 + .kicker { margin-top: 18px; }
/* beside a heading (two-column split), body text starts level with the heading's first line */
.split > .h2 + .lede, .split > .h2 + .ticks--lg { margin-top: -.38em; }
.kicker { font: italic 400 clamp(20px, 1vw + 12px, 24px)/1.3 var(--serif); color: var(--peri); }
.fine { font-size: 15px; line-height: 1.55; color: var(--muted); }
strong { font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; background: transparent;
  font: 500 16px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-deep); color: var(--white); }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--ghost:hover { background: var(--indigo); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--indigo); }
.btn--light { background: var(--white); color: var(--indigo); }
.btn--light:hover { background: var(--mist); color: var(--indigo); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--peri); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.linkbtn:hover { color: var(--indigo); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(221, 213, 198, .7); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand img { width: 190px; }
.nav { position: relative; display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo); }
.nav a:hover { color: var(--peri); }
/* one underline that glides to the current page or section */
.nav__ink { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; border-radius: 2px; background: var(--peri); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.3, .7, .2, 1), width .45s cubic-bezier(.3, .7, .2, 1), opacity .3s; }
html:not(.ink-ready) .nav__ink { transition: none; }
.nav-scrim { display: none; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(86vh, 780px); padding: clamp(72px, 10vw, 140px) 0; }
.hero__bg {
  position: absolute; top: 0; bottom: 0; right: 0; width: 55%;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero__inner { position: relative; z-index: 1; }
.hero .display { max-width: 15ch; }
.hero__sub { margin-top: 22px; max-width: 32ch; font: 500 clamp(21px, 1.4vw + 12px, 30px)/1.3 var(--sans); color: var(--peri); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 38px; }
.cta-stack { display: grid; justify-items: center; gap: 10px; }
.hero__note { font: italic 400 17px/1.3 var(--serif); color: var(--muted); text-align: center; }
/* the one orchestrated moment: hero content settles in on load */
.hero__inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__inner > :nth-child(2) { animation-delay: .12s; }
.hero__inner > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.contact .split > *, .legal__wrap > :nth-child(-n+3) { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.contact .split > :nth-child(2), .legal__wrap > :nth-child(2) { animation-delay: .12s; }
.legal__wrap > :nth-child(3) { animation-delay: .24s; }

/* ---------- visitor welcome (pre-login) ---------- */
.welcome { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100svh - 73px); padding: clamp(72px, 10vw, 120px) 0; background: var(--indigo-deep); color: var(--white); text-align: center; }
.welcome__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; filter: saturate(.7); }
.welcome::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(42, 46, 99, .55) 0%, rgba(42, 46, 99, .92) 70%); }
.welcome__inner { position: relative; z-index: 1; max-width: calc(820px + 2 * var(--gutter)); }
.welcome__kicker { font: 400 clamp(19px, 1vw + 12px, 23px)/1.3 var(--serif); color: var(--peri-soft); }
.welcome .display { margin-top: 16px; color: var(--white); font-size: clamp(38px, 5vw, 68px); }
.welcome__lede { margin: 24px auto 0; max-width: 52ch; font-size: clamp(17px, .5vw + 14px, 20px); color: rgba(255, 255, 255, .86); }
.welcome__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.welcome__help { margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.welcome__help a { color: var(--white); }
.welcome__inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.welcome__inner > :nth-child(2) { animation-delay: .1s; }
.welcome__inner > :nth-child(3) { animation-delay: .2s; }
.welcome__inner > :nth-child(4) { animation-delay: .3s; }
.welcome__inner > :nth-child(5) { animation-delay: .4s; }

/* ---------- loading: a quiet placeholder in the page's own shapes, then a soft fade-in ---------- */
.skel { overflow: hidden; }
.skel__block { display: none; }
.skel--reserve .skel__block { display: block; height: clamp(420px, 60vh, 640px); background: var(--indigo-deep); }
.skel .wrap { display: grid; gap: 14px; padding-top: 64px; padding-bottom: 96px; }
.skel span { display: block; height: 14px; border-radius: 7px; background: var(--sand); }
.skel span:first-child { width: 42%; height: 28px; }
.skel span:nth-child(2) { width: 78%; }
.skel span:nth-child(3) { width: 64%; }
.skel__block, .skel span { position: relative; overflow: hidden; }
.skel__block::after, .skel span::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent); animation: sheen 1.4s ease-in-out infinite; }
@keyframes sheen { to { transform: translateX(100%); } }
#content.is-ready { animation: fadein .5s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- entrance animations (added by script, so content stays visible without it) ---------- */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }

/* ---------- statement band ---------- */
.statement { padding-bottom: clamp(56px, 7vw, 96px); }
.statement__title { font: italic 400 clamp(34px, 3.7vw, 54px)/1.1 var(--serif); color: var(--indigo); letter-spacing: -0.01em; text-wrap: balance; }
@media (min-width: 1000px) { .statement__title { white-space: nowrap; } }
.statement .lede { margin: 22px auto 0; max-width: 620px; text-align: left; color: var(--ink); }
.statement u { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.flourish { display: flex; align-items: center; width: 100%; margin: clamp(44px, 5.5vw, 72px) auto 0; color: var(--gold); }
.flourish::before, .flourish::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.flourish svg { flex: none; display: block; width: 116px; height: auto; }

/* ---------- why preserve: checklist ---------- */
.checks { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px clamp(32px, 5vw, 72px); }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mist) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.3 8.5 11 1.5' fill='none' stroke='%23343a7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- small tick lists ---------- */
.ticks li { position: relative; padding-left: 20px; }
.ticks li + li { margin-top: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--peri-soft); }
.ticks--lg { font-size: clamp(18px, .6vw + 14px, 21px); }
.ticks--lg li + li { margin-top: 18px; }

/* ---------- is this for me ---------- */
.personas { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.persona { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.persona img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.persona__body { padding: 26px 30px 32px; }
.persona__body .h3 { font: 400 clamp(22px, 1vw + 14px, 27px)/1.25 var(--serif); color: var(--indigo); margin-bottom: 14px; }

/* ---------- conditions ---------- */
.aside { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 8.7fr); gap: var(--gap) clamp(28px, 4vw, 56px); align-items: start; }
#conditions .wrap { max-width: calc(1280px + 2 * var(--gutter)); }
.aside__head { position: sticky; top: 104px; }
.aside__head p:last-child { margin-top: 18px; color: var(--muted); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font: 400 clamp(19px, .7vw + 14px, 23px)/1.3 var(--serif); color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23343a7a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform .3s ease;
}
.acc details.is-open summary::after { transform: rotate(180deg); }
details.anim { overflow: hidden; }
details.anim > .acc__body { overflow: hidden; }
.acc summary:hover { color: var(--peri); }
.acc details p { padding: 0 4px 26px; color: var(--muted); max-width: 82ch; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); counter-reset: step; position: relative; }
.step { position: relative; }
#process .head { max-width: none; }
#process .head .lede { max-width: 760px; margin-left: auto; margin-right: auto; }
#process .wrap { max-width: calc(1320px + 2 * var(--gutter)); }
@media (min-width: 900px) { .h2--oneline { white-space: nowrap; } }
.step__art { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.step__art img { max-height: 140px; width: auto; max-width: 100%; position: relative; }
.step__art svg { width: 100%; max-width: 190px; height: auto; }
.step .h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.step__n { font: 400 30px/1 var(--serif); color: var(--peri); }
.step p { font-size: 16px; color: var(--muted); }

/* ---------- quality band ---------- */
.tiles { margin: clamp(36px, 5vw, 56px) 0 clamp(32px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--white); border-radius: 14px; height: clamp(110px, 12vw, 150px); display: flex; align-items: center; justify-content: center; padding: 20px 28px; }
.tile img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.tile--text { flex-direction: column; gap: 2px; color: var(--ink); text-align: center; font-size: 15px; line-height: 1.35; }
.tile--text strong { font-size: 18px; }
.specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.specs li { border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 6px 16px; font-size: 15px; color: rgba(255, 255, 255, .92); }

/* ---------- why guardistem ---------- */
.split--logo { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.split--logo .lede { margin-top: 18px; }
.mark { width: 100%; max-width: 320px; justify-self: end; }
.deliver { width: 100%; border-collapse: collapse; }
.deliver th, .deliver td { text-align: left; vertical-align: top; padding: 22px 24px; border-top: 1px solid var(--line); }
.deliver thead th { border-top: 0; padding-top: 0; font: 500 14px/1.3 var(--sans); color: var(--muted); }
.deliver tbody th { width: 32%; font: 400 clamp(19px, .6vw + 14px, 22px)/1.3 var(--serif); color: var(--indigo); }
.deliver tbody tr:last-child th, .deliver tbody tr:last-child td { border-bottom: 1px solid var(--line); }

/* ---------- about ---------- */
.about__intro { max-width: 760px; margin: 0 auto; }
.about__intro .lede { margin-top: 22px; }
.about__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap) clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.about__text p + p { margin-top: 18px; }
.about__photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(37, 41, 87, .14); }
.about__photo figcaption { margin-top: 12px; font: italic 400 16px/1.45 var(--serif); color: var(--muted); }

/* ---------- leadership ---------- */
.leaders { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); text-align: center; }
.leader { display: flex; flex-direction: column; align-items: center; }
.leader__photo { width: min(220px, 100%); aspect-ratio: 3 / 4; border-radius: var(--radius); object-fit: cover; margin-bottom: 20px; background: var(--mist); }
.leader .h3 { font: 400 23px/1.25 var(--serif); color: var(--indigo); }
.leader__cred { font-size: 15px; color: var(--muted); }
.leader__role { margin-top: 4px; font-size: 16px; color: var(--ink); }
.leader .linkbtn { margin-top: 12px; font-size: 15px; }

/* ---------- closing ---------- */
.closing__tag { margin: 18px 0 34px; font: italic 400 clamp(20px, 1vw + 12px, 26px)/1.3 var(--serif); color: var(--peri-soft); }

/* ---------- reserve: invite hero ---------- */
.invite { position: relative; overflow: hidden; color: var(--white); background: var(--indigo-deep); padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); }
.invite__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.invite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 40, 92, .92) 0%, rgba(36, 40, 92, .78) 45%, rgba(36, 40, 92, .35) 100%); }
.invite__inner { position: relative; z-index: 1; max-width: calc(820px + 2 * var(--gutter)); margin-left: 0; }
@media (min-width: 1272px) { .invite__inner { margin-left: calc((100vw - var(--wrap)) / 2 - var(--gutter)); } }
.invite .display { color: var(--white); font-size: clamp(38px, 4.8vw, 68px); }
.invite .lede { margin-top: 22px; color: rgba(255, 255, 255, .9); max-width: 60ch; }
.invite__note { margin-top: 14px; font: italic 400 18px/1.4 var(--serif); color: var(--peri-soft); }

/* ---------- reserve: what's included ---------- */
.fee { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap) clamp(32px, 5vw, 80px); align-items: start; }
.fee__copy p { margin-top: 14px; }
.fee__copy .fine { margin-top: 14px; }
.fee__table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 26px 22px; }
.incl { width: 100%; border-collapse: collapse; }
.incl th, .incl td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.incl td { text-align: right; font-weight: 500; color: var(--indigo); padding-left: 16px; }
.incl__total th, .incl__total td { font: 400 22px/1.3 var(--serif); color: var(--indigo); }
.incl small { display: block; margin-top: 2px; font: 500 13px/1.4 var(--sans); color: var(--muted); }
.fee__table .fine { margin-top: 14px; }

/* ---------- reserve: plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 30px; }
.plan--best { border: 2px solid var(--gold); }
.plan__flag { position: absolute; top: -14px; left: 30px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan__price { font: 400 clamp(44px, 4vw, 56px)/1 var(--serif); color: var(--indigo); }
.plan__what { margin-top: 18px; font-size: 15px; color: var(--muted); }
.plan__perk { margin-top: 4px; font: 600 19px/1.35 var(--sans); }
.plan__value { margin: 4px 0 26px; font-size: 15px; color: var(--peri); }
.plan .btn { margin-top: auto; }
.gift-wrap { max-width: 720px; margin: 36px auto 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .6); }
.gift-wrap > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px; font-weight: 500; color: var(--indigo);
}
.gift-wrap > summary::-webkit-details-marker { display: none; }
.gift-wrap > summary::after {
  content: ""; width: 12px; height: 8px; transition: transform .3s ease;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23343a7a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.gift-wrap.is-open > summary::after { transform: rotate(180deg); }
.gift-wrap > summary:hover { color: var(--peri); }
.gift { padding: 4px 28px 28px; }
.gift__intro { font-size: 16px; color: var(--muted); text-align: center; margin-bottom: 18px; }
.gift__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
.gift__fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.gift__fields label:first-child { grid-column: 1 / -1; }
.gift__fields input, .gift__fields select { height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 16px; }
.gift__fields .btn { grid-column: 1 / -1; justify-self: center; }
.gift__err { grid-column: 1 / -1; color: #b3261e; font-size: 15px; }
.plans__foot { margin-top: 32px; text-align: center; color: var(--muted); }
.plans__foot p + p { margin-top: 6px; }
.plans__later { margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- contact ---------- */
.contact .lede { margin-top: 18px; color: rgba(255, 255, 255, .88); }
.contact__alt { margin-top: 22px; color: rgba(255, 255, 255, .8); }
.split--top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.card .h3 { font: 400 26px/1.2 var(--serif); color: var(--indigo); margin-bottom: 20px; }
.card a { color: var(--peri); }

/* ---------- Wix form (rendered from the live schema) ---------- */
.wix-form { display: grid; gap: 20px; }
.wix-form .field { display: grid; gap: 7px; border: 0; }
.wix-form label, .wix-form legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.wix-form input:not([type="checkbox"]):not([type="radio"]), .wix-form textarea, .wix-form select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); font-size: 16px;
}
.wix-form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.wix-form input:focus, .wix-form textarea:focus, .wix-form select:focus { outline: 2px solid var(--peri); outline-offset: 0; border-color: transparent; }
.wix-form .field--choices { display: grid; gap: 10px; }
.wix-form legend { margin-bottom: 8px; }
.wix-form .choice { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; cursor: pointer; }
.wix-form .choice input { width: 18px; height: 18px; accent-color: var(--indigo); }
.wix-form .field__error { color: #b3261e; font-size: 14px; }
.wix-form .field__error:empty { display: none; }
.wix-form .field--invalid input, .wix-form .field--invalid textarea { border-color: #b3261e; }
.wix-form__actions { display: flex; }
.form-submit { min-height: 52px; padding: 0 32px; border-radius: 999px; border: 0; background: var(--indigo); color: var(--white); font-weight: 500; cursor: pointer; }
.form-submit:hover { background: var(--indigo-deep); }
.form-submit[disabled] { opacity: .6; }
.form-msg { font-size: 15px; }
.form-msg--error { color: #b3261e; }
.form-thanks { font-size: 18px; padding: 12px 0; }
.form-skeleton { height: 460px; border-radius: 10px; background: linear-gradient(90deg, var(--sand), var(--ivory), var(--sand)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- footer ---------- */
.site-footer { background: var(--logo-blue); border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82); font-size: 15px; padding: clamp(56px, 6vw, 80px) 0 28px; }
.site-footer a { color: var(--white); }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; }
.foot__brand img { width: 230px; }
.foot__brand p { margin-top: 18px; }
.foot__links { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); gap: 8px 24px; align-content: start; }
.foot__links li:nth-child(4) { grid-area: 1 / 2; }
.foot__links li:nth-child(5) { grid-area: 2 / 2; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__contact { font-style: normal; line-height: 1.8; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; font-size: 14px; background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px; }
.authlink { background: none; border: 0; padding: 0; color: var(--white); text-decoration: underline; cursor: pointer; font-size: 14px; }

/* ---------- gate, loading, notices ---------- */
.gate { background: var(--sand); padding: var(--sec) var(--gutter); text-align: center; }
.gate h2 { font: 400 clamp(32px, 3.4vw, 46px)/1.15 var(--serif); color: var(--indigo); margin-bottom: 16px; }
.gate p { max-width: 560px; margin: 0 auto 28px; }
.gate .pill { display: inline-flex; align-items: center; min-height: 52px; padding: 0 32px; border-radius: 999px; border: 0; background: var(--indigo); color: var(--white); font-weight: 500; cursor: pointer; }
.gate .note { font-size: 15px; color: var(--muted); margin-top: 20px; }
.gate__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gate .pill--ghost { background: transparent; color: var(--indigo); border: 1px solid var(--indigo); }
.invite-dialog { width: min(560px, calc(100% - 32px)); }
/* the account pop-up is non-modal (so Google's picture check stays clickable); position it and dim the page ourselves */
.invite-dialog[open] { position: fixed; inset: 0; z-index: 70; margin: auto; height: fit-content; }
body.auth-open { overflow: hidden; }
body.auth-open::before { content: ""; position: fixed; inset: 0; z-index: 65; background: rgba(26, 30, 70, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: fadein .2s ease both; }
@media (max-width: 420px) { .invite-form__captcha { min-height: 68px; } .invite-form__captcha > div { transform: scale(.86); transform-origin: 0 0; } }
.invite-dialog__title { font: 400 30px/1.15 var(--serif); color: var(--indigo); padding-right: 40px; }
.invite-dialog__lede { margin: 12px 0 22px; color: var(--muted); }
.invite-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.invite-form .span2 { grid-column: 1 / -1; }
.invite-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.invite-form input { height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: 16px; }
.invite-form input[name="code"] { letter-spacing: .08em; font-weight: 600; }
.invite-form small { font-weight: 400; color: var(--muted); }
.invite-form__err { color: #b3261e; font-size: 15px; }
.invite-form .btn { justify-self: start; margin-top: 4px; }
.invite-form__hint { margin-top: -8px; font-size: 13px; color: var(--muted); }
.invite-form__alt { font-size: 15px; color: var(--muted); }
.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 52px; }
.pw__toggle { position: absolute; top: 0; right: 0; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw__toggle:hover { color: var(--indigo); }
.invite-form__captcha { min-height: 78px; }
.next-steps__title { margin-top: 4px; font-weight: 600; }
.next-steps { list-style: decimal; padding-left: 1.3em; margin: 8px 0 18px; color: var(--ink); }
.next-steps li + li { margin-top: 6px; }
.invite-dialog__lede strong, .invite-form__alt strong { color: var(--ink); }
.invite-form__legal { font-size: 12px; line-height: 1.5; color: var(--muted); }
.invite-form__legal a { color: inherit; }
.invite-form__alt .linkbtn { font-size: 15px; }

/* ---------- legal pages ---------- */
.legal { padding: clamp(56px, 7vw, 96px) 0 var(--sec); }
.legal__wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal__meta { margin: 10px 0 30px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 34px 0 10px; font: 400 24px/1.25 var(--serif); color: var(--indigo); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-top: 10px; }
.legal li + li { margin-top: 8px; }
.loading { min-height: 50vh; display: grid; place-items: center; color: var(--muted); }
.notice {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: flex; gap: 16px; align-items: center;
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; background: var(--indigo); color: var(--white); box-shadow: 0 12px 32px rgba(37, 41, 87, .3);
}
.notice button { background: none; border: 0; color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- bio pop-up ---------- */
.bio-dialog { margin: auto; border: 0; border-radius: 20px; padding: 0; width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); color: var(--ink); background: var(--ivory); box-shadow: 0 30px 80px rgba(20, 24, 60, .35); }
.bio-dialog::backdrop { background: rgba(26, 30, 70, .55); backdrop-filter: blur(2px); }
.bio-dialog[open] { animation: rise .25s ease both; }
.bio-inner { padding: 36px 40px 40px; overflow-y: auto; max-height: min(86vh, 900px); }
.bio-close { position: sticky; top: 0; float: right; display: grid; place-items: center; margin: -16px -18px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist); color: var(--indigo); cursor: pointer; transition: background-color .2s; }
.bio-close:hover { background: var(--peri-soft); }
.bio-close svg { display: block; }
.bio-head { display: flex; gap: 22px; align-items: center; margin-bottom: 24px; }
.bio-head img { width: 96px; height: 128px; border-radius: 12px; object-fit: cover; flex: none; }
.bio-head h3 { font: 400 30px/1.15 var(--serif); color: var(--indigo); }
.bio-head .cred { color: var(--muted); font-size: 15px; }
.bio-head .role { font-style: italic; color: var(--peri); }
.bio-inner > p + p { margin-top: 14px; }
.bio-inner h4 { margin: 26px 0 10px; font: 400 22px/1.2 var(--serif); color: var(--indigo); }
.bio-inner ul { list-style: disc; padding-left: 1.2em; }
.bio-inner li + li { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =================================================================== tablet */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__contact { grid-column: 1 / -1; }
}

/* =================================================================== mobile */
@media (max-width: 820px) {
  .bar { min-height: 64px; gap: 14px; }
  .brand img { width: 150px; }
  .site-header { backdrop-filter: none; background: rgba(251, 248, 242, .98); }
  .nav { position: fixed; top: 64px; right: 0; bottom: 0; width: min(68vw, 320px); flex-direction: column; gap: 0; margin: 0; padding: 12px 24px 32px;
    background: var(--ivory); border-left: 1px solid var(--line); box-shadow: -18px 0 40px rgba(37, 41, 87, .12);
    transform: translateX(100%); visibility: hidden; transition: transform .38s cubic-bezier(.3, .7, .2, 1), visibility 0s .38s; z-index: 2; overflow-y: auto; }
  .site-header.open .nav { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.3, .7, .2, 1); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav a[aria-current="page"] { color: var(--peri); box-shadow: inset 3px 0 0 var(--peri); padding-left: 12px; }
  .nav__ink { display: none; }
  .nav-scrim { display: block; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: rgba(26, 30, 70, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1; }
  .site-header.open .nav-scrim { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .bar .btn { margin-left: auto; }
  .menu-btn { display: block; position: relative; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; }
  .menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; }
  .menu-btn::before { top: 14px; } .menu-btn span { top: 20px; } .menu-btn::after { top: 26px; }

  .split, .split--logo, .split--top, .aside, .fee, .about__body { grid-template-columns: 1fr; }
  .invite-form { grid-template-columns: 1fr; }
  .welcome { min-height: calc(100svh - 65px); }
  .split > .h2 + .lede, .split > .h2 + .ticks--lg { margin-top: 0; }
  .aside__head { position: static; }
  .mark { max-width: 220px; justify-self: start; }
  .checks, .personas { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step { display: grid; grid-template-columns: 96px 1fr; gap: 0 20px; align-items: start; }
  .step__art { grid-row: 1 / span 2; height: 96px; margin: 0; }
  .step__art img { max-height: 96px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { padding: 14px 16px; }
  .tile--text { font-size: 13px; }
  .tile--text strong { font-size: 15px; }
  .deliver thead { display: none; }
  .deliver tr { display: block; padding: 18px 0; border-top: 1px solid var(--line); }
  .deliver th, .deliver td { display: block; border: 0 !important; padding: 0; width: auto !important; }
  .deliver td { margin-top: 6px; }
  .deliver tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .hero__bg { position: relative; order: 2; width: 100%; height: 260px; margin-top: 36px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); }
  .hero .display { max-width: none; }
  .h2--oneline { white-space: normal; }
  .invite::after { background: rgba(36, 40, 92, .82); }
  .gift__fields { grid-template-columns: 1fr; }
  .gift { padding: 4px 18px 22px; }
  .site-footer { padding: 48px 0 22px; }
  .foot { grid-template-columns: 1fr; gap: 26px; }
  .foot__brand img { width: 176px; }
  .foot__brand p { margin-top: 12px; font-size: 14px; }
  .foot__links { gap: 12px 24px; }
  .foot__contact { font-size: 14px; line-height: 1.7; }
  .foot__base { align-items: center; margin-top: 30px; padding-top: 18px; font-size: 13px; }
  .bio-inner { padding: 28px 22px 30px; }
  .bio-head img { width: 72px; height: 96px; }
  .bio-head h3 { font-size: 24px; }
}

/* =================================================================== mobile reading pass (V7)
   Folds, swipe row and compact cards exist only on phones and small tablets; desktop is unchanged. */
.fold-btn, .dots, .plans__note, .nav__mobile, .nav__reserve { display: none; }
@media (max-width: 820px) {
  /* one alignment rule: headings and intros sit left; only the statement and closing bands stay centred */
  .head.c, .h2.c, .plans__foot { text-align: left; }
  .head.c { margin-left: 0; }
  .nav__mobile { display: inline; } /* menu reads "GuardiStem Process" on phones */
  .nav .nav__reserve { display: block; } /* "Reserve Now" link, phone/tablet menu only */
  .aside__head p:last-child { font-size: 18px; color: var(--ink); }

  /* folds */
  .fold.is-folded .fold-x { display: none; }
  .fold-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 18px; border: 1px solid var(--line);
    border-radius: 999px; background: var(--white); color: var(--indigo); font-size: 15px; font-weight: 500; cursor: pointer; }
  .fold-btn::after { content: ""; width: 10px; height: 10px; flex: none; transition: transform .3s ease;
    background: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23343a7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .fold-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
  .checks { gap: 20px; }

  /* is this for me: one card per swipe, next card peeking */
  .personas { position: relative; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .personas::-webkit-scrollbar { display: none; }
  .persona { flex: 0 0 84%; scroll-snap-align: start; }
  .personas .persona.rv { opacity: 1; transform: none; }
  .persona__body { padding: 20px 22px 24px; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
  .dots span.on { background: var(--gold); transform: scale(1.25); }

  /* process: larger step text, gold line joining the steps */
  .steps { row-gap: 30px; }
  .steps::before { content: ""; position: absolute; left: 36px; top: 36px; bottom: 36px; width: 1px; background: var(--gold); opacity: .7; }
  .step { grid-template-columns: 72px 1fr; gap: 0 18px; }
  .step__art { height: 72px; position: relative; z-index: 1; background: var(--mist); }
  .step__art img, .step__art svg { max-height: 72px; }
  .step p { font-size: 17px; }

  /* quality: spec list as two tidy columns */
  .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .specs li { position: relative; border: 0; border-radius: 0; padding: 0 0 0 24px; font-size: 15px; line-height: 1.4; }
  .specs li::before { content: ""; position: absolute; left: 0; top: .15em; width: 14px; height: 14px;
    background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.3 8.5 11 1.5' fill='none' stroke='%23cfae66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

  /* why guardistem: the header already carries the logo */
  .mark { display: none; }
  .split--logo { margin-bottom: 32px; }

  /* leadership: no blank line where there are no letters after the name */
  .leader__cred--none { display: none; }
  .leader .h3 { font-size: 21px; }
  .leader__role { font-size: 15px; line-height: 1.4; }

  /* reserve: price table first, then the fee and deposit wording (always shown) */
  .fee__table { order: -1; }

  /* plans: price beside the benefit; the shared sentence is said once above */
  .plans__note { display: block; margin: -8px 0 22px; color: var(--muted); font-size: 16px; }
  .plans { gap: 18px; }
  .plan { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 24px 20px 20px; }
  .plan__price { grid-row: 1 / span 2; font-size: 40px; }
  .plan__what { display: none; }
  .plan__perk { grid-column: 2; margin: 0; font-size: 17px; }
  .plan__value { grid-column: 2; margin: 0; }
  .plan .btn { grid-column: 1 / -1; margin-top: 18px; }
  .plan__flag { left: 20px; }
}
@media (max-width: 600px) {
  /* breathing room: sections get a clear pause between them, and each heading sits apart from what follows */
  :root { --sec: 76px; }
  .head { margin-bottom: 40px; }
  .split { gap: 22px; }
  .statement { padding-bottom: 60px; }
  .flourish { margin-top: 52px; }
  .flourish::before, .flourish::after { height: .7px; }
  .flourish svg { width: 66px; }
  .checks { margin-top: 36px; gap: 26px; }
  .dots { margin-top: 22px; }
  .aside { gap: 34px; }
  .steps { row-gap: 40px; }
  .tiles { margin: 40px 0 36px; }
  .split--logo { margin-bottom: 40px; }
  .deliver tr { padding: 22px 0; }
  .about__intro .lede { margin-top: 20px; }
  .about__body { margin-top: 32px; gap: 32px; }
  .about__text p + p { margin-top: 20px; }
  .leaders { margin-top: 44px; row-gap: 52px; }
  .closing__tag { margin: 20px 0 36px; }
  .fee { gap: 28px; }
  .plans__note { margin: -4px 0 26px; }
  .plans { gap: 22px; }
  .plans__foot { margin-top: 36px; }
  .gift-wrap { margin-top: 40px; }
}
