/* ==========================================================================
   Global styles: base, layout, components, header, footer, forms, dialog.
   Homepage-only sections live in home.css.
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: normal; color: var(--royal); }
p { text-wrap: pretty; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--royal); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--royal-700); }

:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}
::selection { background: var(--sky); color: var(--navy); }

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--navy); color: #fff;
  font-family: var(--font-ui); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* overflow-x: clip keeps decorative shapes from causing sideways scroll (and, unlike hidden, keeps sticky working) */
.section { padding-block: var(--section-pad); position: relative; overflow-x: clip; }
.section--tint { background: var(--sky-50); }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Typography components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before {
  content: "";
  width: 20px; height: 4px;
  border-radius: 4px;
  background: var(--sun);
}
.eyebrow--ink { color: var(--navy); }
.eyebrow--pill {
  padding: 0.45rem 0.95rem 0.45rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.875rem;
  color: var(--navy);
}
.eyebrow--pill::before { display: none; }
.eyebrow--pill .icon { color: var(--pink-700); width: 1.1rem; height: 1.1rem; }

.section-head { max-width: 700px; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 0.85rem; }
.section-head h2:first-child { margin-top: 0; }
.section-head p:not([class]) { margin-top: 1rem; font-size: var(--fs-lead); color: var(--ink-soft); }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem;
}
.section-head--split > div { max-width: 640px; }

.lead { font-size: var(--fs-lead); color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--royal);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { box-shadow: 0 10px 22px -10px rgba(54, 86, 216, 0.7); }
.btn--primary:hover { --btn-bg: var(--royal-700); box-shadow: 0 14px 26px -10px rgba(54, 86, 216, 0.75); }
.btn--secondary { --btn-bg: #fff; --btn-fg: var(--navy); --btn-border: var(--line-strong); }
.btn--secondary:hover { --btn-border: var(--royal); --btn-fg: var(--royal); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.95rem 1.85rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding-block: 0.65rem; margin-block: -0.65rem; /* bigger tap area, same spacing */
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--royal);
  text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--sky-50); border-color: var(--line-strong); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  width: fit-content;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--tint, var(--sky-100));
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Placeholders (client content still needed) ---------- */
/* Missing fact: always visible, never styled to look final */
.ph-fact {
  display: inline-flex; align-items: center; gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border: 1.5px dashed #C99B00;
  border-radius: 10px;
  background: var(--sun-50);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.4;
}
.ph-fact .icon { width: 1rem; height: 1rem; color: var(--sun-700); }

/* Photo placeholder: dashed frame + label that doubles as a shot list */
.ph {
  --ph-a: var(--sky-100);
  --ph-b: var(--sky-50);
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: var(--ratio, 4 / 3);
  padding: 1.25rem;
  overflow: hidden;
  border: 2px dashed rgba(54, 86, 216, 0.35);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 1px 1px, rgba(54, 86, 216, 0.13) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
  text-align: center;
  color: var(--ink-soft);
}
.ph__content { display: grid; justify-items: center; gap: 0.6rem; max-width: 30ch; }
.ph__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--royal);
  box-shadow: var(--shadow-sm);
}
.ph__icon .icon { width: 24px; height: 24px; }
.ph__tag {
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--royal);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ph__desc { font-size: 0.875rem; line-height: 1.45; }
.ph--sun    { --ph-a: var(--sun-50);    --ph-b: #FFFBEA; }
.ph--pink   { --ph-a: var(--pink-50);   --ph-b: #FFF7FA; }
.ph--green  { --ph-a: var(--green-50);  --ph-b: #F3FBF6; }
.ph--purple { --ph-a: var(--purple-50); --ph-b: #F8F6FE; }
.ph--white  { --ph-a: #FFFFFF;          --ph-b: var(--sky-50); }

/* Client logo — used exactly as supplied (cropped only); never recolor or redraw */
.brand {
  display: inline-flex; align-items: center;
  flex: none;
  border-radius: 12px;
}
.brand__logo { display: block; width: auto; height: 44px; }
@media (min-width: 768px) {
  .brand__logo { height: 52px; }
}
.footer-brand .brand__logo { height: 72px; }

/* ---------- Prototype review bar ---------- */
.proto-bar { background: var(--navy); color: #EEF1F8; font-family: var(--font-ui); font-size: var(--fs-xs); }
.proto-bar__inner { display: flex; align-items: center; gap: 1rem; padding-block: 0.55rem; }
.proto-bar__tag {
  flex: none;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-pill);
  background: var(--sun);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.proto-bar__text { flex: 1; line-height: 1.45; }
.proto-bar__close {
  flex: none;
  min-height: 32px;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  font-weight: 500;
}
.proto-bar__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
a.proto-bar__close { display: inline-flex; align-items: center; text-decoration: none; }
.proto-bar :focus-visible { outline-color: var(--sun); }
/* phones: one compact row (tag + buttons); the full note shows on larger screens */
@media (max-width: 640px) {
  .proto-bar__inner { gap: 0.5rem; }
  .proto-bar__text { display: none; }
  .proto-bar__tag { margin-right: auto; }
  .proto-bar__close { min-height: 40px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(23, 32, 51, 0.3);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
}
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 0.1rem; margin: 0; }
.primary-nav a {
  display: block;
  padding: 0.5rem 0.68rem;
  border-radius: var(--r-pill);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.primary-nav a:hover { background: rgba(255, 255, 255, 0.7); color: var(--royal); }
.primary-nav a[aria-current="page"] { background: #fff; color: var(--royal); box-shadow: var(--shadow-sm); }

.header-cta { display: none; white-space: nowrap; }
.menu-btn .menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline-block; }

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1260px) {
  .site-header__inner { gap: 1rem; }
  .primary-nav a { padding-inline: 0.58rem; }
  .primary-nav { display: block; margin-inline: auto; }
  .site-header__actions { margin-left: 0; }
  .menu-btn { display: none; }
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
}
.lang-switch__btn {
  min-width: 44px; height: 40px;
  padding: 0 0.6rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch__btn:hover { color: var(--navy); }
.lang-switch__btn[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Mobile navigation panel */
.mobile-nav {
  position: fixed;
  top: var(--menu-top, var(--header-h));
  left: 0; right: 0; bottom: 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem var(--gutter) 2rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { margin: 0 auto; max-width: 640px; }
.mobile-nav li + li { border-top: 1px solid var(--line); }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px;
  padding: 0.75rem 0.25rem;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
}
.mobile-nav a .icon { color: var(--royal); opacity: 0.6; }
.mobile-nav a[aria-current="page"] { color: var(--royal); }
.mobile-nav__cta { display: grid; gap: 0.75rem; max-width: 640px; margin: 1.5rem auto 0; }
html.menu-open { overflow: hidden; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -18px rgba(23, 32, 51, 0.35);
}
.action-bar .btn { min-height: 48px; padding-inline: 0.75rem; font-size: 0.9375rem; }
@media (max-width: 767px) {
  html { scroll-padding-bottom: 96px; }
}
@media (min-width: 768px) {
  .action-bar { display: none; }
}

/* ---------- Clouds & decorative shapes ---------- */
.cloud {
  position: absolute;
  color: #fff;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(54, 86, 216, 0.08));
}
.cloud svg { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .cloud--drift { animation: cloud-drift 22s ease-in-out infinite alternate; }
  .cloud--drift-slow { animation: cloud-drift 30s ease-in-out infinite alternate-reverse; }
}
@keyframes cloud-drift {
  from { transform: translateX(-18px); }
  to { transform: translateX(28px); }
}
.sparkle { position: absolute; pointer-events: none; }
.sky-edge {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(48px, 7vw, 110px);
  color: var(--cream);
  pointer-events: none;
}

/* ---------- Contact list ---------- */
.contact-list { display: grid; gap: 1rem; margin: 0; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: var(--royal);
  box-shadow: var(--shadow-sm);
}
.contact-list__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-list__value { display: inline-block; font-size: 1.125rem; font-weight: 700; line-height: 1.4; color: var(--navy); overflow-wrap: anywhere; }
.contact-list a.contact-list__value { text-decoration: none; padding-block: 0.6rem; margin-block: -0.6rem; } /* bigger tap area, same spacing */
.contact-list a.contact-list__value:hover { color: var(--royal); text-decoration: underline; }
.contact-list .ph-fact { margin-top: 0.2rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0 2rem;
  background: var(--grass-100);
  color: var(--navy);
}
/* phones: room under the footer for the fixed Call / Schedule a Tour bar */
@media (max-width: 767px) {
  .site-footer { padding-bottom: calc(2rem + 76px + env(safe-area-inset-bottom)); }
}
.site-footer__hills {
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  width: 100%; height: var(--hills-h);
  pointer-events: none;
}
main > :last-child { padding-bottom: calc(var(--section-pad) + var(--hills-h)); }
.footer-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; }
/* phones: brand and contact full width, the two link lists side by side */
@media (max-width: 719px) {
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  /* the contact column is widest so the email address stays on one line */
  .footer-grid { grid-template-columns: 1.3fr 0.85fr 1fr 1.6fr; gap: 2.5rem; }
}
@media (min-width: 1200px) {
  .footer-grid { gap: 3rem; }
}
.footer-tagline { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.footer-about { margin-top: 0.6rem; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 34ch; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}
.footer-links { display: grid; gap: 0.35rem; margin: 0; }
.footer-links a, .footer-links button {
  display: inline-flex; align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}
.footer-links a:hover, .footer-links button:hover { color: var(--royal); text-decoration: underline; }
@media (pointer: coarse) {
  .footer-links { gap: 0; }
  .footer-links a, .footer-links button { min-height: 44px; min-width: 44px; }
}
.footer-links .icon { width: 0.95em; height: 0.95em; margin-left: 0.35rem; }
.site-footer .contact-list { gap: 0.9rem; }
.site-footer .contact-list__icon { width: 40px; height: 40px; box-shadow: none; }
.site-footer .contact-list__icon .icon { width: 18px; height: 18px; }
.site-footer .contact-list__value { font-size: 1rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(23, 32, 51, 0.12);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form__intro {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--sky-200);
  border-radius: var(--r-md);
  background: var(--sky-50);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.form__intro .icon { margin-top: 0.1rem; color: var(--royal); }
.form__req { font-size: var(--fs-xs); color: var(--ink-soft); }
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--choices { grid-template-columns: 1.45fr 1fr; align-items: start; }
}
.field { display: grid; gap: 0.45rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field > label, .field > legend {
  padding: 0;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.field > legend { margin-bottom: 0.55rem; }
.req { color: var(--error); margin-left: 0.15rem; }
.field__hint { color: var(--ink-soft); font-size: 0.875rem; line-height: 1.45; }
.field__error {
  display: flex; align-items: flex-start; gap: 0.4rem;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}
.field__error .icon { width: 1rem; height: 1rem; margin-top: 0.1rem; }
.field__error[hidden] { display: none; }

.input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--field-border);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.input:hover { border-color: var(--ink-soft); }
.input:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 1px;
  border-color: var(--royal);
}
.input[aria-invalid="true"] { border-color: var(--error); background: #FFF8F7; }
textarea.input { min-height: 92px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 2.75rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23172033' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
}

/* Choice pills (radio / checkbox) */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; display: inline-flex; }
.pill input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pill__label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pill__label .icon { display: none; width: 1rem; height: 1rem; stroke-width: 2.5; }
.pill:hover .pill__label { border-color: var(--ink-soft); }
.pill input:checked + .pill__label {
  border-color: var(--royal);
  background: var(--royal-50);
  color: var(--royal-700);
}
.pill input:checked + .pill__label .icon { display: inline-block; }
.pill input:focus-visible + .pill__label { outline: 3px solid var(--royal); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-sm); line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 0.1rem; accent-color: var(--royal); cursor: pointer; }

.form__summary {
  padding: 1rem 1.25rem;
  border: 2px solid var(--error);
  border-radius: var(--r-md);
  background: #FFF4F2;
}
.form__summary:focus { outline: 3px solid var(--royal); outline-offset: 3px; }
.form__summary-title { font-weight: 800; color: var(--error); }
.form__summary ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.form__summary a { color: var(--error); font-weight: 600; font-size: var(--fs-sm); }
.form__proto {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  text-align: center;
}
.form__proto .icon { width: 1rem; height: 1rem; margin-right: 0.3rem; vertical-align: -0.2em; }

.inquiry__success {
  display: grid; justify-items: center; gap: 0.9rem;
  padding: 2rem 0.5rem;
  text-align: center;
}
.inquiry__success[hidden] { display: none; }
.inquiry__success-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
}
.inquiry__success-icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.inquiry__success h3 { font-size: 1.6rem; }
.inquiry__success h3:focus { outline: none; }
.inquiry__success p { color: var(--ink-soft); max-width: 42ch; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.form-card__title { font-size: 1.6rem; margin-bottom: 1.25rem; }

/* ---------- Dialog (Wix: Lightbox) ---------- */
.dialog {
  width: min(100% - 2rem, 700px);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}
.dialog::backdrop { background: rgba(23, 32, 51, 0.5); }
.dialog__panel {
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.dialog__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.75rem 1.1rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.dialog__title { margin-top: 0.4rem; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.dialog__title:focus { outline: none; }
.dialog__body { padding: 1.5rem 1.75rem 1.75rem; }
html.has-modal { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .dialog[open] .dialog__panel { animation: dialog-in 280ms var(--ease); }
  .dialog[open]::backdrop { animation: fade-in 200ms ease-out; }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 640px) {
  .dialog { width: 100%; max-height: calc(100dvh - 16px); margin: auto 0 0; }
  .dialog__panel { max-height: calc(100dvh - 16px); border-radius: 28px 28px 0 0; }
  .dialog__head, .dialog__body { padding-inline: 1.25rem; }
}

/* ---------- Secondary page placeholders ---------- */
.page-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem)) 0 clamp(6rem, 4rem + 6vw, 9rem);
  overflow: clip;
  /* same sunrise-hinted sky as the homepage hero */
  background:
    radial-gradient(ellipse 50% 60% at 85% -5%, rgba(255, 240, 220, 0.9), rgba(255, 240, 220, 0) 70%),
    radial-gradient(ellipse 52% 44% at 88% 100%, rgba(255, 139, 73, 0.46), rgba(255, 168, 112, 0.2) 45%, rgba(255, 168, 112, 0) 74%),
    radial-gradient(ellipse 68% 46% at 12% 100%, rgba(249, 164, 198, 0.54), rgba(249, 164, 198, 0.2) 45%, rgba(249, 164, 198, 0) 74%),
    radial-gradient(ellipse 72% 60% at 86% 100%, rgba(255, 238, 224, 0.75), rgba(255, 238, 224, 0) 70%),
    radial-gradient(ellipse 85% 60% at 14% 100%, rgba(255, 238, 246, 0.7), rgba(255, 238, 246, 0) 70%),
    linear-gradient(180deg, #A9D5FF 0%, #C2E1FF 45%, #E2EEFF 70%, #F9E9F1 100%);
  text-align: center;
}
.page-hero h1 { margin-top: 1rem; font-size: var(--fs-h1); }
.page-hero .lead { max-width: 40ch; margin: 1rem auto 0; color: var(--ink-soft); }
.page-hero .eyebrow { color: var(--navy); }
/* text always sits in front of the drifting clouds; smaller clouds on phones */
.page-hero .container { position: relative; z-index: 1; }
@media (max-width: 599px) {
  .page-hero .cloud { width: 110px !important; opacity: 0.75; }
}
.soon-card {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.soon-card h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.soon-card > p { margin-top: 0.75rem; color: var(--ink-soft); }
.check-list { display: grid; gap: 0.75rem; max-width: 460px; margin: 1.75rem auto 2rem; text-align: left; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-list__icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
}
.check-list__icon .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.soon-card .btn-row { justify-content: center; }
.page-form { max-width: 760px; margin-inline: auto; }

/* ---------- Scroll reveal (Wix: entrance animation "Fade in") ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
