:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #b8b9aa;
  --deep: #050b18;
  --surface: #0d1628;
  --surface-2: #17233a;
  --line: rgba(244, 241, 232, 0.14);
  --gold: #bd852e;
  --green: #8390a6;
  --navy: #071126;
  --shadow: rgba(0, 0, 0, 0.35);
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 14%, rgba(189, 133, 46, 0.12), transparent 30%),
    var(--deep);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/crown-district-crown-logo.png");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: min(72vw, 820px);
  opacity: 0.045;
  filter: invert(1);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(5, 11, 24, 0.5);
  border-bottom: 1px solid rgba(244, 241, 232, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 11, 24, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(189, 133, 46, 0.36);
  border-radius: 8px;
  background: rgba(244, 241, 232, 0.98);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.73rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(244, 241, 232, 0.82);
  font-size: 0.94rem;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 150px clamp(18px, 5vw, 72px) 74px;
}

.pricing-hero {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 74px;
}

.pricing-hero h1 {
  max-width: 1100px;
}

.pricing-hero > p:not(.eyebrow) {
  max-width: 800px;
  font-size: 1.08rem;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 11, 24, 0.88) 0%, rgba(5, 11, 24, 0.6) 46%, rgba(5, 11, 24, 0.14) 82%),
    linear-gradient(90deg, rgba(5, 11, 24, 0.96) 0%, rgba(5, 11, 24, 0.75) 38%, rgba(5, 11, 24, 0.18) 72%),
    linear-gradient(0deg, rgba(5, 11, 24, 0.96) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
}

.hero-brand-card {
  display: grid;
  width: min(250px, 62vw);
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(189, 133, 46, 0.28);
  border-radius: 8px;
  background: rgba(244, 241, 232, 0.98);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.hero-brand-card img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.hero-brand-fallback {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(189, 133, 46, 0.22);
  text-align: center;
}

.hero-brand-fallback strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brand-fallback span {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.95rem);
  line-height: 0.95;
  max-width: 1180px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.7vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #11130f;
}

.button.secondary {
  border-color: rgba(244, 241, 232, 0.28);
  background: rgba(244, 241, 232, 0.075);
  color: var(--ink);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 72px);
  bottom: 58px;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(244, 241, 232, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 38, 0.78);
  box-shadow: 0 22px 60px var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.5rem;
}

.hero-panel p {
  margin: 0;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  margin-top: 34px;
  font-size: 1.05rem;
}

.veteran-owned {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: 42px;
  align-items: center;
}

.about-copy {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(189, 133, 46, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(189, 133, 46, 0.14), rgba(244, 241, 232, 0.035)),
    var(--surface);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.values-grid,
.fit-grid,
.package-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.values-grid article,
.fit-grid article,
.package-grid article,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 232, 0.04);
}

.values-grid article {
  padding: 22px;
}

.values-grid strong,
.values-grid span {
  display: block;
}

.values-grid strong {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.15rem;
}

.values-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.fit-grid,
.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-note {
  max-width: 860px;
  margin: -18px 0 32px;
  font-size: 1.02rem;
}

.fit-grid article,
.package-grid article {
  padding: 26px;
}

.package-grid article {
  display: grid;
  align-content: start;
}

.package-grid span {
  width: fit-content;
  margin-bottom: 42px;
  padding: 6px 10px;
  border: 1px solid rgba(189, 133, 46, 0.36);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-grid a {
  width: fit-content;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.package-meta {
  margin-top: 0;
  color: rgba(244, 241, 232, 0.72);
  font-size: 0.92rem;
}

.starting-price {
  display: block;
  margin: -2px 0 14px;
  color: var(--ink);
  font-size: 1.05rem;
}

.pricing-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 36px;
}

.pricing-page-grid article {
  display: grid;
  align-content: start;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 241, 232, 0.055), rgba(244, 241, 232, 0.02));
}

.pricing-page-grid span {
  width: fit-content;
  margin-bottom: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(189, 133, 46, 0.36);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-page-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.pricing-page-grid strong {
  margin-top: 10px;
  color: var(--ink);
}

.pricing-page-grid .starting-price {
  margin: -4px 0 16px;
  color: var(--gold);
  font-size: 1.18rem;
}

.pricing-page-grid a {
  width: fit-content;
  margin-top: 8px;
  color: var(--gold);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.pricing-note-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.help-choose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(189, 133, 46, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(189, 133, 46, 0.16), rgba(244, 241, 232, 0.035)),
    var(--surface);
}

.help-choose h2 {
  max-width: 860px;
}

.help-choose p:last-child {
  margin-bottom: 0;
}

.next-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.next-step-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 232, 0.04);
}

.next-step-grid span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--gold);
  font-weight: 900;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(244, 241, 232, 0.045), rgba(244, 241, 232, 0.012));
}

.service-grid span {
  display: inline-block;
  margin-bottom: 82px;
  color: var(--gold);
  font-weight: 900;
}

.approach {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: #081122;
}

.ai-assessment {
  padding-top: 34px;
}

.assessment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 40px;
  align-items: start;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(189, 133, 46, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(189, 133, 46, 0.18), rgba(131, 144, 166, 0.1)),
    var(--surface);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
}

.assessment-card .button {
  align-self: end;
  justify-self: start;
}

.assessment-list {
  display: grid;
  gap: 12px;
}

.assessment-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 11, 24, 0.48);
}

.assessment-list strong,
.assessment-list span {
  display: block;
}

.assessment-list strong {
  margin-bottom: 6px;
}

.assessment-list span {
  color: var(--muted);
  line-height: 1.45;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 241, 232, 0.035);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.8fr);
  gap: 60px;
  align-items: center;
}

.metrics {
  display: grid;
  gap: 14px;
}

.metrics div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  line-height: 1.45;
}

.faq {
  padding-top: 34px;
}

.faq-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
}

.faq-grid details {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, rgba(244, 241, 232, 0.06), rgba(244, 241, 232, 0.025));
  transition: border-color 160ms ease, background 160ms ease;
}

.faq-grid details[open] {
  border-color: rgba(189, 133, 46, 0.42);
  background: linear-gradient(180deg, rgba(189, 133, 46, 0.12), rgba(244, 241, 232, 0.035));
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(189, 133, 46, 0.42);
  border-radius: 999px;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.8fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 112px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 241, 232, 0.06), rgba(244, 241, 232, 0.025));
}

label {
  display: grid;
  gap: 8px;
  color: rgba(244, 241, 232, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 8px;
  background: rgba(5, 11, 24, 0.82);
  color: var(--ink);
  font: inherit;
  padding: 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.privacy-note {
  margin: -2px 0 0;
  color: rgba(244, 241, 232, 0.62);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: #030713;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > a:last-child {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    min-height: 820px;
    align-items: start;
  }

  .hero-panel {
    left: clamp(18px, 5vw, 72px);
    right: auto;
  }

  .intro,
  .veteran-owned,
  .proof,
  .help-choose,
  .contact,
  .assessment-card {
    grid-template-columns: 1fr;
  }

  .intro p:last-child {
    margin-top: 0;
  }

  .service-grid,
  .timeline,
  .fit-grid,
  .package-grid,
  .pricing-page-grid,
  .next-step-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-note-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    position: relative;
    z-index: 30;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(244, 241, 232, 0.16);
    border-radius: 8px;
    background: rgba(244, 241, 232, 0.08);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 96px 28px;
    background: rgba(5, 11, 24, 0.97);
    font-size: 1.6rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 760px;
    padding-top: 128px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 11, 24, 0.95) 0%, rgba(5, 11, 24, 0.78) 68%, rgba(5, 11, 24, 0.42) 100%),
      linear-gradient(90deg, rgba(5, 11, 24, 0.98) 0%, rgba(5, 11, 24, 0.84) 68%, rgba(5, 11, 24, 0.45) 100%),
      linear-gradient(0deg, rgba(5, 11, 24, 0.97) 0%, transparent 44%);
  }

  .hero-panel {
    bottom: 24px;
  }

  .service-grid,
  .timeline,
  .fit-grid,
  .package-grid,
  .pricing-page-grid,
  .next-step-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-grid span {
    margin-bottom: 38px;
  }

  .section {
    padding: 70px 0;
  }

  .contact {
    padding-bottom: 86px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}
