:root {
  --bg: #080a10;
  --surface: #101522;
  --surface-2: #171e2e;
  --text: #f7f9ff;
  --muted: #b7bfd0;
  --line: rgba(255,255,255,.14);
  --brand: #f3c85b;
  --brand-2: #8b5cf6;
  --brand-3: #42d9cf;
  --ink-on-brand: #17120a;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 28px 70px rgba(0,0,0,.34);
}

body.theme-desert {
  --bg: #0b0b0c;
  --surface: #151210;
  --surface-2: #201914;
  --text: #fff8ed;
  --muted: #c7b9a8;
  --line: rgba(229,168,91,.24);
  --brand: #e5a85b;
  --brand-2: #40d9d0;
  --brand-3: #ff6847;
  --ink-on-brand: #21140b;
}

body.theme-moorestown {
  --bg: #071410;
  --surface: #0f251e;
  --surface-2: #17382d;
  --text: #fffdf7;
  --muted: #bed0c7;
  --line: rgba(255,255,255,.15);
  --brand: #f2c75b;
  --brand-2: #33ded0;
  --brand-3: #d9475b;
  --ink-on-brand: #182016;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.preview-bar {
  background: color-mix(in srgb, var(--brand-2) 35%, #091018);
  color: #fff;
  padding: .56rem 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 850;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  max-width: var(--max);
  min-height: 96px;
  margin: auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 318px;
  text-decoration: none;
}
.brand-lockup img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 9px 15px rgba(0,0,0,.42));
}
.brand-copy {
  display: block;
  min-width: 0;
}
.brand-name {
  display: block;
  font-size: 1.08rem;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.025em;
}
.brand-domain {
  display: block;
  margin-top: 7px;
  color: var(--brand);
  font-size: .7rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .035em;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 750;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:focus-visible, .button:focus-visible, .menu-button:focus-visible, .text-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--brand); color: var(--ink-on-brand); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.055); }
.button.small { min-height: 44px; padding-inline: 17px; font-size: .9rem; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(93deg, rgba(5,8,13,.98) 0%, rgba(5,8,13,.91) 45%, rgba(5,8,13,.23) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-3));
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: auto;
  padding: 76px 22px 0;
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(310px,.82fr);
  gap: 44px;
  align-items: end;
}
.hero-copy { align-self: center; padding-bottom: 72px; }
.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
h1 {
  margin: 17px 0 24px;
  max-width: 880px;
  font-size: clamp(3.35rem, 7vw, 6.7rem);
  line-height: .91;
  letter-spacing: -.065em;
}
.theme-moorestown h1, .theme-moorestown h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.hero-lede { max-width: 670px; color: #e2e6ee; font-size: 1.17rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine-print { color: var(--muted); font-size: .84rem; }
.hero .fine-print { margin-top: 18px; max-width: 680px; }
.mascot-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.mascot-stage::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 35%, transparent), transparent 68%);
}
.mascot-stage img {
  position: relative;
  z-index: 1;
  max-height: 500px;
  width: auto;
  filter: drop-shadow(0 30px 34px rgba(0,0,0,.56));
}

.signal-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.signal-grid {
  max-width: var(--max);
  margin: auto;
  padding: 25px 22px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.signal-grid b { display: block; color: var(--brand); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.signal-grid span { color: var(--muted); }

.section { max-width: var(--max); margin: auto; padding: 86px 22px; }
.section.compact { padding-block: 62px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 46px;
  align-items: end;
  margin-bottom: 34px;
}
h2 {
  margin: 10px 0 0;
  font-size: clamp(2.45rem, 4.8vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.card-body { padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.38rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link .card { height: 100%; transition: transform .2s, border-color .2s; }
.card-link:hover .card { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 54%, var(--line)); }
.card-link .text-link { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 900; }
.meta { display: block; margin-top: 15px; color: color-mix(in srgb, var(--brand) 70%, var(--muted)); font-size: .77rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; }
.gallery-item { position: relative; min-height: 250px; grid-column: span 4; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.tall { min-height: 420px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption { position: absolute; inset: auto 12px 12px; padding: 10px 12px; border-radius: 10px; background: rgba(4,7,9,.78); backdrop-filter: blur(8px); color: #fff; font-size: .78rem; }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 50px; align-items: start; }
.feature-list { display: grid; gap: 13px; }
.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.feature b { display: block; color: var(--brand); margin-bottom: 5px; }
.feature p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 13px; }
.step { position: relative; padding: 22px 22px 22px 76px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 21px; top: 21px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--ink-on-brand); font-weight: 950; }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }
.place-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 30px; }
.place { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.place b { color: var(--brand); }
.place p { margin: 7px 0 0; color: var(--muted); }
.place a { color: inherit; text-decoration: none; }
.place .text-link { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 850; }

.breadcrumbs { max-width: var(--max); margin: auto; padding: 20px 22px 0; color: var(--muted); font-size: .86rem; }
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 48px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin: 42px 0 14px; font-size: clamp(2rem,4vw,3.5rem); }
.prose h3 { margin: 30px 0 8px; font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; }
.prose strong { color: var(--text); }
.side-panel { position: sticky; top: 118px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.side-panel h2 { font-size: 2.2rem; }
.side-panel .button { width: 100%; margin-top: 18px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 950; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.image-pair figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.image-pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.image-pair figcaption { padding: 12px 14px; color: var(--muted); font-size: .8rem; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 20px; }
.faq-list summary { cursor: pointer; padding: 20px 32px 20px 0; color: var(--text); font-weight: 900; }
.faq-list details p { margin: 0 0 20px; color: var(--muted); }
.note { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--surface); color: var(--muted); }

.cta-panel {
  max-width: var(--max);
  margin: 0 auto 86px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-2) 30%, var(--surface)), var(--surface));
  box-shadow: var(--shadow);
}
.cta-panel h2 { font-size: clamp(2.2rem,4vw,3.8rem); }
.cta-panel p { color: var(--muted); }

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,12,.98), rgba(5,8,12,.76), rgba(5,8,12,.28)), var(--page-image); background-size: cover; background-position: center; }
.page-hero-inner { position: relative; z-index: 1; max-width: var(--max); min-height: 410px; margin: auto; padding: 86px 22px; display: grid; align-content: center; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.1rem,6vw,6rem); }
.page-hero p:not(.eyebrow) { max-width: 680px; color: #e2e6ee; font-size: 1.1rem; }

.quote-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: start; }
.quote-aside, .quote-form { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.quote-aside { position: sticky; top: 118px; padding: 30px; }
.quote-aside h2 { font-size: 2.7rem; }
.quote-aside ul { padding-left: 20px; color: var(--muted); }
.quote-form { padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1/-1; }
.field label, fieldset legend { display: block; margin-bottom: 7px; color: var(--text); font-weight: 800; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 68%, var(--surface));
  color: var(--text);
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 24%, transparent); }
.choice-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); }
.choice input { margin-top: 4px; accent-color: var(--brand-2); }
.quote-form fieldset { margin: 22px 0; padding: 0; border: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--brand-2); }
.quote-form .button { width: 100%; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--brand); font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); background: #05090b; }
.footer-grid { max-width: var(--max); margin: auto; padding: 48px 22px; display: grid; grid-template-columns: 1.3fr repeat(2,.7fr); gap: 42px; }
.footer-grid h3 { margin: 0 0 8px; }
.footer-grid p { color: var(--muted); }
.footer-links { display: grid; gap: 9px; align-content: start; }
.footer-links b { color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-base { max-width: var(--max); margin: auto; padding: 18px 22px 34px; border-top: 1px solid var(--line); color: #929cab; font-size: .82rem; }

@media (max-width: 940px) {
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .nav > .button { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 18px 22px 24px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { padding-bottom: 0; }
  .mascot-stage { min-height: 380px; }
  .mascot-stage img { max-height: 380px; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .section-heading, .split, .quote-layout, .content-grid { grid-template-columns: 1fr; }
  .quote-aside, .side-panel { position: static; }
  .card-grid { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 16/9; }
  .place-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { margin-inline: 22px; grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.wide { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  .preview-bar { font-size: .64rem; }
  .nav { padding-inline: 16px; }
  .nav { min-height: 80px; }
  .brand-lockup { min-width: 0; gap: 9px; }
  .brand-lockup img { width: 54px; height: 54px; }
  .brand-name { max-width: 155px; font-size: .82rem; line-height: 1.05; }
  .brand-domain { max-width: 155px; margin-top: 5px; font-size: .58rem; overflow-wrap: anywhere; }
  .hero { min-height: auto; }
  .hero-inner, .section, .page-hero-inner { padding-left: 17px; padding-right: 17px; }
  h1 { font-size: 3.35rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .mascot-stage { min-height: 300px; }
  .mascot-stage img { max-height: 300px; }
  .signal-grid, .place-grid, .form-grid, .choice-row { grid-template-columns: 1fr; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.wide { grid-column: auto; min-height: 270px; }
  .gallery-item.tall { min-height: 320px; }
  .cta-panel { padding: 28px; margin-bottom: 60px; }
  .quote-form { padding: 22px; }
  .image-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
