:root {
  --gulf: #052e35;
  --gulf-deep: #031f25;
  --gulf-soft: #0d4147;
  --emerald: #087a68;
  --sea-glass: #47c7aa;
  --sea-glass-bright: #69dfc4;
  --gold: #d5a94d;
  --foam: #f7fbf7;
  --sand: #efe5d2;
  --ink: #132e33;
  --muted: #5e7373;
  --line: rgba(19, 46, 51, 0.15);
  --white-line: rgba(255, 255, 255, 0.17);
  --shadow: 0 24px 70px rgba(2, 30, 35, 0.16);
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Raleway", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1240px;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--foam);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--gulf-deep);
  background: var(--foam);
  border-radius: 7px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.button svg,
.text-link svg,
.operating-standard svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.button--primary {
  color: var(--gulf-deep);
  background: var(--sea-glass);
  box-shadow: 0 14px 34px rgba(71, 199, 170, 0.24);
}

.button--primary:hover {
  background: var(--sea-glass-bright);
  box-shadow: 0 17px 40px rgba(71, 199, 170, 0.34);
}

/* Section 1: audience-first hero */
.hero {
  position: relative;
  min-height: max(760px, 100svh);
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: var(--gulf-deep);
}

.hero__media,
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 52%;
}

.hero__wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 30, 35, 0.97) 0%, rgba(3, 35, 39, 0.91) 29%, rgba(3, 35, 39, 0.52) 51%, rgba(3, 35, 39, 0.09) 75%),
    linear-gradient(180deg, rgba(2, 30, 35, 0.34) 0%, transparent 35%, rgba(2, 30, 35, 0.3) 100%);
}

.audience-bar {
  position: relative;
  z-index: 3;
  color: #183234;
  background: var(--sand);
  border-bottom: 1px solid rgba(3, 31, 37, 0.15);
}

.audience-bar__inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.audience-bar p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
}

.audience-bar strong {
  font-weight: 800;
}

.audience-bar a {
  flex: 0 0 auto;
  color: var(--gulf);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--white-line);
  background: rgba(3, 31, 37, 0.24);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: grid;
  min-height: 74px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand__name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__name strong {
  color: var(--sea-glass);
  font-family: var(--body);
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-base {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-base svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
}

.header-cta {
  justify-self: end;
  padding: 9px 16px;
  color: var(--gulf-deep);
  background: white;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  background: var(--sea-glass-bright);
  transform: translateY(-1px);
}

.hero__content {
  display: flex;
  min-height: calc(max(760px, 100svh) - 117px);
  align-items: center;
  padding-block: 54px 70px;
}

.hero__copy {
  width: min(610px, 54vw);
  animation: hero-in 720ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.heritage-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin-bottom: 24px;
  padding: 9px 14px 9px 9px;
  color: white;
  background: rgba(3, 31, 37, 0.76);
  border: 1px solid rgba(213, 169, 77, 0.52);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.heritage-lockup__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--gulf-deep);
  background: var(--gold);
  border-radius: 8px;
}

.heritage-lockup__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.heritage-lockup > span:last-child {
  display: grid;
  gap: 1px;
}

.heritage-lockup strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.heritage-lockup small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.69rem;
  line-height: 1.35;
}

.hero .eyebrow {
  color: var(--sea-glass-bright);
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.35rem, 5.25vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--sea-glass);
  font-weight: 500;
}

.hero__lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--sea-glass-bright);
}

.fit-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.fit-signals li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.79);
  background: rgba(3, 31, 37, 0.45);
  border: 1px solid var(--white-line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.fit-signals li span,
.hero__status span,
.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--sea-glass);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(71, 199, 170, 0.13);
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
}

.image-disclosure {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.61rem;
  letter-spacing: 0.04em;
}

/* Section 2: fit, routes, and assessment */
.assessment {
  position: relative;
  min-height: 100svh;
  padding: 84px 0 0;
  background:
    radial-gradient(circle at 0 0, rgba(71, 199, 170, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfdf9 0%, var(--foam) 100%);
}

.assessment::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--sea-glass) 0 32%, var(--gold) 32% 39%, var(--gulf) 39% 100%);
}

.assessment__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}

.fit-panel h2,
.form-card h2,
.map-dialog h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.fit-panel h2 {
  color: var(--gulf);
  font-size: clamp(2.5rem, 4vw, 4.1rem);
}

.fit-panel h2 em {
  color: var(--emerald);
  font-weight: 500;
}

.fit-panel__intro {
  max-width: 680px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.service-pair {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 206px;
  padding: 24px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card::after {
  position: absolute;
  right: -34px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid rgba(8, 122, 104, 0.13);
  border-radius: 50%;
}

.service-card--primary {
  color: white;
  background: var(--gulf);
  border-color: var(--gulf);
  box-shadow: 0 18px 45px rgba(3, 31, 37, 0.13);
}

.service-card--primary::after {
  border-color: rgba(71, 199, 170, 0.25);
}

.service-card__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.service-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--emerald);
  background: rgba(8, 122, 104, 0.08);
  border: 1px solid rgba(8, 122, 104, 0.22);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.9rem;
}

.service-card--primary .service-card__number {
  color: var(--sea-glass-bright);
  background: rgba(71, 199, 170, 0.09);
  border-color: rgba(71, 199, 170, 0.27);
}

.service-card__heading p,
.mini-label {
  margin: 0 0 2px;
  color: var(--emerald);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-card--primary .service-card__heading p {
  color: var(--sea-glass);
}

.service-card h3,
.route-block h3 {
  margin: 0;
  color: var(--gulf);
  font-family: var(--display);
  font-size: 1.36rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.service-card--primary h3 {
  color: white;
}

.service-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.service-card--primary > p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card ul {
  display: flex;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 6px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
}

.selective-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.selective-note strong {
  color: var(--ink);
}

.route-block {
  margin-top: 25px;
  padding: 21px 22px;
  background: #edf5ef;
  border: 1px solid rgba(8, 122, 104, 0.13);
  border-radius: var(--radius);
}

.route-block__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.map-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--gulf);
  background: white;
  border: 1px solid rgba(8, 122, 104, 0.24);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.map-button:hover {
  color: white;
  background: var(--emerald);
  border-color: var(--emerald);
}

.map-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.county-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 10px;
  padding: 0;
  list-style: none;
}

.county-list li {
  padding: 5px 9px;
  color: var(--gulf);
  background: white;
  border: 1px solid rgba(8, 122, 104, 0.13);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
}

.route-block > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.operating-standard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 4px;
  color: var(--gulf);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.operating-standard svg {
  width: 15px;
  color: var(--gold);
}

.form-card {
  padding: 30px;
  color: white;
  background: var(--gulf);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.form-card__topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--sea-glass-bright);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-card h2 {
  color: white;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.form-card > p {
  margin: 13px 0 21px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.79rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 12px;
}

.field {
  display: grid;
  gap: 5px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.field label span {
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  font-size: 0.76rem;
  outline: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 72px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.field select {
  padding-right: 40px;
  color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' fill='none' stroke='%2369dfc4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  appearance: none;
}

.field select:required:invalid {
  color: rgba(255, 255, 255, 0.48);
}

.field select option {
  color: var(--ink);
  background: white;
}

.field select option:disabled {
  color: #6a7c7c;
}

.field select optgroup {
  color: var(--gulf);
  background: white;
  font-weight: 800;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--sea-glass);
  box-shadow: 0 0 0 3px rgba(71, 199, 170, 0.12);
}

.field [aria-invalid="true"] {
  border-color: #f2b1a8;
  box-shadow: 0 0 0 3px rgba(242, 177, 168, 0.12);
}

.field-error:not(:empty) {
  color: #ffd6d0;
  font-size: 0.59rem;
  line-height: 1.35;
}

.field-hint {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.57rem;
  line-height: 1.35;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.button--submit {
  width: 100%;
  margin-top: 16px;
  color: var(--gulf-deep);
  background: var(--sea-glass);
}

.button--submit:hover {
  background: var(--sea-glass-bright);
}

.button--submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-note,
.form-status {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  line-height: 1.5;
  text-align: center;
}

.form-status:not(:empty) {
  padding: 9px 10px;
  color: #c7f5e9;
  background: rgba(71, 199, 170, 0.1);
  border: 1px solid rgba(71, 199, 170, 0.22);
  border-radius: 7px;
}

.form-status.is-error:not(:empty) {
  color: #ffd6d0;
  background: rgba(217, 100, 88, 0.1);
  border-color: rgba(217, 100, 88, 0.26);
}

.site-footer {
  margin-top: 66px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.57);
  background: var(--gulf-deep);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-footer p {
  margin: 0;
  font-size: 0.6rem;
  line-height: 1.45;
}

.site-footer p:nth-child(2) {
  max-width: 630px;
  justify-self: center;
  text-align: center;
}

.site-footer strong {
  color: white;
}


/* Immediate mobile assessment form */
.assessment-dialog {
  width: min(540px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: white;
  background: var(--gulf);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.assessment-dialog::backdrop {
  background: rgba(2, 24, 28, 0.82);
  backdrop-filter: blur(6px);
}

.assessment-dialog[open] {
  animation: dialog-in 220ms ease both;
}

.assessment-dialog__toolbar {
  display: flex;
  position: sticky;
  z-index: 5;
  top: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  background: var(--gulf-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.assessment-dialog__toolbar p {
  margin: 0;
  color: var(--sea-glass-bright);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assessment-dialog .form-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Live service-area map */
.map-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--foam);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
}

.map-dialog::backdrop {
  background: rgba(2, 24, 28, 0.77);
  backdrop-filter: blur(6px);
}

.map-dialog[open] {
  animation: dialog-in 220ms ease both;
}

.map-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 21px;
}

.map-dialog__header .eyebrow {
  margin-bottom: 7px;
}

.map-dialog h2 {
  color: var(--gulf);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.map-dialog__header p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--gulf);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.dialog-close:hover {
  color: white;
  background: var(--gulf);
}

.dialog-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.map-shell {
  position: relative;
  height: min(64svh, 610px);
  min-height: 380px;
  overflow: hidden;
  background: #dfeae4;
  border-top: 1px solid var(--line);
}

.service-map,
.map-fallback {
  position: absolute;
  inset: 0;
}

.service-map {
  z-index: 2;
}

.map-fallback {
  display: grid;
  z-index: 3;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  background: #eaf2ed;
}

.map-shell.is-live .map-fallback {
  display: none;
}

.map-fallback img {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
}

.map-fallback__message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 30px;
  color: white;
  background: var(--gulf);
}

.map-fallback__message strong {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.map-fallback__message span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.74rem;
  line-height: 1.55;
}

.map-fallback__message code {
  color: var(--sea-glass-bright);
}

.map-fallback__message a {
  width: max-content;
  margin-top: 3px;
  color: var(--sea-glass-bright);
  font-size: 0.74rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1080px) {
  .hero__copy {
    width: min(590px, 62vw);
  }

  .assessment__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
    gap: 34px;
  }

  .service-pair {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .operating-standard {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 820px;
  }

  .hero__media img {
    object-position: 67% 50%;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(2, 30, 35, 0.96) 0%, rgba(3, 35, 39, 0.82) 56%, rgba(3, 35, 39, 0.26) 100%),
      linear-gradient(180deg, rgba(2, 30, 35, 0.3) 0%, transparent 40%, rgba(2, 30, 35, 0.44) 100%);
  }

  .hero__content {
    min-height: 703px;
  }

  .hero__copy {
    width: min(590px, 77vw);
  }

  .assessment {
    padding-top: 70px;
  }

  .assessment__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .service-pair {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .form-card {
    max-width: 720px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .audience-bar__inner {
    min-height: 51px;
    justify-content: center;
    text-align: center;
  }

  .audience-bar p {
    max-width: 360px;
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .audience-bar a,
  .header-cta {
    display: none;
  }

  .site-header__inner {
    min-height: 64px;
    grid-template-columns: 1fr auto;
  }

  .home-base {
    font-size: 0.6rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 850px;
  }

  .hero__media img {
    object-position: 68% 50%;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(2, 30, 35, 0.93) 0%, rgba(3, 35, 39, 0.73) 78%, rgba(3, 35, 39, 0.45) 100%),
      linear-gradient(180deg, rgba(2, 30, 35, 0.33) 0%, rgba(2, 30, 35, 0.21) 35%, rgba(2, 30, 35, 0.72) 100%);
  }

  .hero__content {
    min-height: 735px;
    align-items: flex-end;
    padding-block: 48px 56px;
  }

  .hero__copy {
    width: 100%;
  }

  .heritage-lockup {
    margin-bottom: 21px;
  }

  .heritage-lockup small {
    font-size: 0.63rem;
  }

  .hero h1 {
    max-width: 500px;
    font-size: clamp(2.75rem, 13.2vw, 4rem);
    line-height: 0.98;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 0.91rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }

  .button--primary {
    width: 100%;
  }

  .text-link {
    align-self: center;
  }

  .fit-signals {
    gap: 6px;
    margin-top: 15px;
  }

  .fit-signals li {
    padding: 6px 8px;
    font-size: 0.61rem;
  }

  .hero__status {
    font-size: 0.62rem;
  }

  .image-disclosure {
    right: 10px;
    bottom: 7px;
    font-size: 0.52rem;
  }

  .assessment {
    padding-top: 58px;
  }

  .fit-panel h2 {
    font-size: clamp(2.4rem, 11vw, 3.35rem);
  }

  .fit-panel__intro {
    margin-top: 16px;
    font-size: 0.91rem;
  }

  .service-pair {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 21px;
  }

  .route-block__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-button {
    width: 100%;
    justify-content: center;
  }

  .operating-standard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }

  .operating-standard svg {
    display: none;
  }

  .operating-standard span::before {
    margin-right: 8px;
    color: var(--gold);
    content: "✓";
  }

  .form-card {
    margin-inline: -6px;
    padding: 25px 20px;
    border-radius: 18px;
  }

  .assessment-dialog {
    width: calc(100% - 14px);
    max-height: calc(100svh - 14px);
    border-radius: 17px;
  }

  .assessment-dialog .form-card {
    margin: 0;
    padding: 20px 18px 24px;
    border-radius: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .site-footer {
    margin-top: 52px;
    padding: 24px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .site-footer p:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .map-dialog {
    width: calc(100% - 18px);
    max-height: calc(100svh - 18px);
  }

  .map-dialog__header {
    padding: 20px 18px 17px;
  }

  .map-dialog__header p:last-child {
    display: none;
  }

  .map-shell {
    height: 70svh;
    min-height: 420px;
  }

  .map-fallback {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .map-fallback img {
    min-height: 250px;
    padding: 12px;
  }

  .map-fallback__message {
    gap: 7px;
    padding: 20px;
  }

  .map-fallback__message strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 420px) {
  .home-base {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
  }

  .heritage-lockup {
    align-items: flex-start;
  }

  .heritage-lockup strong {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 875px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
