:root {
  --navy: #032333;
  --deep: #061e2a;
  --ink: #122d38;
  --muted: #49606a;
  --paper: #faf9f5;
  --pale: #f1f0e9;
  --white: #fffefa;
  --sand: #e7c994;
  --sand-hover: #f5d9a6;
  --line: #dedfd7;
  --accent: #326359;
  --width: 1250px;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #4b9986; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
h2 { font-size: clamp(2.5rem, 5vw, 4.65rem); }
h3 { font-size: 1.3rem; line-height: 1.23; }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px 16px; background: var(--sand); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.utility { background: #f2ecdf; font-size: .78rem; font-weight: 650; }
.utility .wrap, .utility-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 34px; }
.utility a, .nav a { text-decoration: none; }
.utility a:hover, .nav nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-header { background: var(--navy); color: white; border-bottom: 1px solid #ffffff24; position: relative; z-index: 2; }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: 0 0 auto; }
.brand img { width: 156px; }
.nav nav, .nav-actions { display: flex; align-items: center; gap: clamp(13px, 2vw, 32px); }
.nav nav a { white-space: nowrap; font-size: .91rem; }
.nav nav a[aria-current="page"] { color: var(--sand); }
.nav-actions { gap: 12px; }
.menu-button { display: inline-flex; border: 1px solid #ffffff42; gap: 6px; align-items: center; justify-content: center; min-height: 41px; padding: 0 10px; background: transparent; color: white; border-radius: 4px; }
.menu-button:hover { background: #ffffff16; }
.menu-button { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 17px; background: transparent; border: 1px solid transparent; text-decoration: none; border-radius: 4px; font-size: .91rem; font-weight: 700; line-height: 1.25; text-align: center; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.button span { line-height: 1; font-size: 1.05em; }
.button.primary { background: var(--sand); color: var(--deep); }
.button.primary:hover { background: var(--sand-hover); }
.button.outline { color: var(--ink); border-color: #879991; }
.button.outline:hover { background: #e7ede6; border-color: var(--accent); }
.button.hero-outline, .button.nav-cta { color: white; border-color: #ffffff60; }
.button.hero-outline:hover, .button.nav-cta:hover { background: #ffffff18; }
.button.nav-cta { min-height: 41px; }
.eyebrow { color: var(--accent); font-size: .73rem; font-weight: 800; letter-spacing: .145em; line-height: 1.45; }
.eyebrow::before { content: ""; display: inline-block; width: 13px; height: 1px; background: currentColor; margin: 0 9px 3px 0; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 15px; }
.lead { max-width: 57ch; margin-top: 17px; color: var(--muted); font-size: 1.07rem; }
.hero { background: radial-gradient(ellipse at 35% 80%, #0c3947 0, transparent 63%), var(--navy); color: #fffef7; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 66px); align-items: center; min-height: 554px; padding-block: 48px; }
.hero .eyebrow, .closing .eyebrow, .process .eyebrow { color: var(--sand); }
.hero h1 { max-width: 12ch; font-size: clamp(4rem, 6.6vw, 7rem); line-height: .98; }
.hero h1 em { color: var(--sand); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { margin-top: 24px; color: #dce6e5; max-width: 49ch; font-size: 1.06rem; }
.actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 28px; }
.hero-media { position: relative; min-width: 0; border: 1px solid #ffffff3b; padding: 7px; border-radius: 7px; }
.hero-media > img { width: 100%; height: clamp(350px, 35vw, 510px); object-fit: cover; object-position: 54% center; border-radius: 4px; background: #4a6672; }
.market-band { background: var(--pale); border-bottom: 1px solid var(--line); padding: 26px 0; }
.market-band .wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 25px; }
.market-band .eyebrow { white-space: nowrap; }
.market-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.market-grid a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; color: var(--ink); text-decoration: none; line-height: 1.2; min-height: 44px; font-size: .87rem; font-weight: 700; border: 1px solid var(--line); border-radius: 4px; background: #ffffff73; }
.market-grid a:hover { background: white; border-color: var(--accent); }
.market-grid a > :last-child { margin-left: auto; color: var(--accent); }
.market-code { flex: none; font-size: .64rem; letter-spacing: .04em; padding: 5px; color: #254c42; background: #e1e9dc; border-radius: 2px; }
.section { padding-block: clamp(55px, 7vw, 110px); }
.section.pale { background: var(--pale); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-top .button { flex-shrink: 0; }
.grid { display: grid; gap: 14px; }
.services-grid, .quote-grid, .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .plan-card, .quote-grid figure, .article-grid article { display: flex; flex-direction: column; min-width: 0; gap: 12px; padding: clamp(20px, 2.45vw, 34px); border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.service-card p, .plan-card p:not(.price), .article-grid article > p:last-child, .steps p { color: var(--muted); }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; background: #e8eee5; color: #234e42; font-size: 1.5rem; font-weight: 600; border-radius: 4px; margin-bottom: 6px; }
.text-link { width: fit-content; font-size: .91rem; text-underline-offset: 4px; font-weight: 700; color: #27594d; }
.service-card .text-link, .service-card .button { margin-top: auto; align-self: start; }
.service-card:target { outline: 2px solid var(--accent); outline-offset: 2px; }
.process, .closing { background: var(--navy); color: #fffefa; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; margin: 36px 0 0; list-style: none; }
.steps li { border-top: 1px solid #ffffff4f; padding-top: 24px; position: relative; }
.step-marker { position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--sand); border-radius: 50%; }
.steps p { color: #cfdddc; margin-top: 10px; }
.plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-card.featured { background: #edf1e9; border-color: #749487; }
.plan-card h3 { font-size: 1.45rem; }
.plan-card .price { font: 400 clamp(1.45rem, 2vw, 2.1rem)/1.12 var(--serif); letter-spacing: -.045em; }
.plan-card .duration { margin-top: -8px; font-size: .82rem; }
.checks { padding: 0; margin: 5px 0 12px; list-style: none; font-size: .91rem; }
.checks li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.quote-grid, .faq-list, .table-scroll, .section h2 + .market-grid { margin-top: 28px; }
.quote-grid blockquote { font: 400 1.4rem/1.35 var(--serif); margin: 0; }
.quote-grid figcaption { margin-top: auto; font-size: .89rem; }
.quote-grid figcaption span { display: block; color: var(--muted); }
.article-grid h3 a { text-decoration: none; }
.article-grid h3 a:hover { text-decoration: underline; }
.faq-layout, .about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(22px, 6vw, 90px); }
.faq-list { margin-top: 0; }
.faq-list details { border-top: 1px solid #bfc9be; }
.faq-list details:last-child { border-bottom: 1px solid #bfc9be; }
.faq-list summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 0 0 17px; }
.closing { padding-block: clamp(42px, 6vw, 78px); background: linear-gradient(105deg, #113c46, var(--navy)); }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.closing .lead { color: #e0eae6; }
.closing .button { flex: none; }
.footer { background: #042231; color: white; padding-top: 46px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr 1.2fr; gap: 24px; }
.footer-grid h2 { font: 750 .94rem/1.2 var(--sans); margin: 8px 0 14px; letter-spacing: 0; }
.footer-grid img { width: 156px; }
.footer-grid a, .footer-grid p, .footer-end { color: #d1dcde; font-size: .88rem; overflow-wrap: anywhere; }
.footer-grid a { display: block; text-decoration: none; margin: 0 0 7px; }
.footer-grid p { max-width: 30ch; margin-bottom: 10px; }
.footer-grid a:hover, .footer-end a:hover { text-decoration: underline; color: white; }
.footer-end { margin-top: 30px; border-top: 1px solid #ffffff32; padding: 19px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-end a { text-decoration: none; margin-right: 13px; }
.page-heading { padding-block: clamp(48px, 7vw, 95px); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #eef0e7, #faf5e9); }
.page-heading h1 { max-width: 19ch; font-size: clamp(3rem, 6.4vw, 6.15rem); }
.about-grid { align-items: center; }
.about-grid img { border-radius: 5px; }
.about-grid .button { margin-top: 22px; }
.contact-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.contact-grid aside h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.contact-grid aside h3 { margin-top: 20px; font-size: 1rem; }
.contact-grid aside p, .contact-grid aside a { margin-top: 6px; overflow-wrap: anywhere; }
.inquiry, dialog { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: clamp(18px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: grid; gap: 5px; font-weight: 700; }
input, select, textarea { border: 1px solid #8e9e96; border-radius: 4px; background: white; padding: 10px; min-width: 0; width: 100%; color: var(--ink); }
textarea { resize: vertical; }
.form-note, .small { color: var(--muted); font-size: .89rem; margin: 12px 0; }
.filter, .dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.filter { margin-bottom: 22px; }
.filter button, .remove-button { background: white; border: 1px solid #879991; border-radius: 4px; padding: 7px 13px; font-weight: 700; color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 620px; background: var(--white); }
th, td { border: 1px solid var(--line); padding: 12px 10px; text-align: left; font-size: .91rem; }
thead th { background: var(--navy); color: white; }
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin-top: 24px; }
.prose p { margin-top: 9px; }
dialog { color: var(--ink); width: min(540px, calc(100% - 28px)); max-height: calc(100% - 28px); box-shadow: 0 22px 80px #03172447; }
dialog::backdrop { background-color: #011b2ac9; }
.dialog-head { display: flex; justify-content: space-between; gap: 13px; align-items: center; margin-bottom: 14px; }
.dialog-head h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.close { flex: none; width: 39px; height: 39px; border: 1px solid var(--line); background: white; border-radius: 4px; font-size: 1.5rem; line-height: 1; }
#assessment-form { display: grid; gap: 13px; }
#assessment-form .button { justify-self: start; }
#assessment-result p { margin-block: 9px 15px; overflow-wrap: anywhere; }
.dialog-actions { margin-top: 18px; }
@media (max-width: 1120px) {
  .wrap { width: min(var(--width), calc(100% - 54px)); }
  .market-band .wrap { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 940px) {
  .nav nav { display: none; }
  .nav:has(.menu-button[aria-expanded="true"]) nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 13px 27px 25px; gap: 0; box-shadow: 0 15px 18px #03172446; }
  .nav nav a { padding: 10px 0; border-bottom: 1px solid #ffffff39; }
  .menu-button { display: inline-flex; }
  .hero h1 { font-size: clamp(3.6rem, 7.6vw, 5.4rem); }
  .hero-grid { min-height: auto; }
  .plans-grid, .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 34px); }
  .utility .wrap, .utility-links { gap: 8px; }
  .utility { font-size: .71rem; }
  .nav .nav-cta { display: none; }
  .nav { min-height: 66px; }
  .brand img { width: 132px; }
  .hero-grid, .contact-grid, .faq-layout, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 38px 30px; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 4.8rem); max-width: 12ch; }
  .hero-media > img { height: clamp(240px, 75vw, 350px); }
  .image-caption { bottom: 15px; left: 15px; }
  .services-grid, .quote-grid, .article-grid, .plans-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section-top, .closing .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .market-grid a { font-size: .78rem; padding-inline: 6px; gap: 6px; }
  .utility a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.arrow-icon {
  width: 8px;
  height: 8px;
  position: relative;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  flex: none;
}
.arrow-icon::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 10px;
  background: currentColor;
  top: 3px;
  right: -1px;
  transform: rotate(-45deg);
}
.checks li::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  top: .55em;
  left: 1px;
}
.market-grid .arrow-icon { color: var(--accent); margin-right: 2px; }
