/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --page: #fcfcfd;
  --surface: #ffffff;
  --ink: #0f1720;
  --muted-ink: #5a6572;
  --border: #e4e7ec;
  --accent: #12315c;
  --accent-hover: #0c2244;
  --slot: #eef1f5;
  --warning: #f2f5f9;
  --error: #a12622;
  --success: #235c3b;
  --shadow: 0 12px 32px rgba(18, 49, 92, 0.06);
  --radius: 10px;
  --container: 1160px;
  --gutter: 24px;
  --section-space: 96px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

h1 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

p,
li,
dd {
  color: var(--muted-ink);
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--compact {
  padding-block: 64px;
}

.prose {
  max-width: 68ch;
}

.prose > * + * {
  margin-top: 18px;
}

.page-intro {
  padding-block: 80px 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-intro p {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.split--wide-copy {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.stack > * + * {
  margin-top: 24px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(252, 252, 253, 0.98);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-decoration: none;
}

.wordmark span {
  margin-top: 5px;
  color: var(--muted-ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  padding-block: 7px;
  align-items: center;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin-block: 4px;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #f6f8fa;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(150px, 0.7fr) minmax(190px, 0.8fr) minmax(210px, 0.95fr);
  gap: 48px;
  padding-block: 64px;
}

.footer-brand {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.footer-heading {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a {
  color: var(--muted-ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  padding-block: 22px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--accent);
  color: #ffffff;
}

.button--primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #ffffff;
}

.button--secondary {
  background: transparent;
  color: var(--accent);
}

.button--secondary:hover {
  background: #f2f5f9;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  height: 100%;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, transform 160ms ease;
}

.card:hover {
  border-color: #b8c1cc;
  transform: translateY(-1px);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: inherit;
}

.card-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 22px;
  color: var(--accent);
}

.card p {
  margin-bottom: 0;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-shell {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.field {
  min-width: 0;
}

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

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  background: var(--surface);
  border: 1px solid #aeb7c2;
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 49, 92, 0.12);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 1.35em;
  margin: 6px 0 0;
  color: var(--error);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Card network marks on the payments page. The SVGs are 780x500, so a fixed
   height and auto width keeps all four the same size without distorting any
   of them. Sourced from aaronfagan/svg-credit-card-payment-icons (Apache 2.0,
   full text in assets/img/payment/LICENSE-icons.txt). That licence covers the
   artwork files only: the marks themselves stay the trademarks of each card
   network, shown here to state which cards this business accepts. */
.payment-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.payment-marks img {
  display: block;
  width: auto;
  height: 34px;
  border-radius: 4px;
}

/* hCaptcha draws a fixed-width iframe here. On a narrow phone it is wider
   than the column, so the container scrolls rather than pushing the page. */
.form-captcha {
  margin-top: 26px;
  max-width: 100%;
  overflow-x: auto;
}

.form-actions {
  margin-top: 26px;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
}

.form-status[data-state="error"] {
  color: var(--error);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.hero {
  padding-block: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-copy p {
  max-width: 62ch;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.img-slot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 0;
  aspect-ratio: 4 / 3;
  background: var(--slot);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.img-slot[data-slot="hero"] {
  aspect-ratio: 16 / 9;
}

.img-slot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--slot);
  color: transparent;
  font-size: 0;
  object-fit: cover;
}

.img-slot::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--slot);
  color: var(--muted-ink);
  content: attr(data-slot);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  text-align: center;
  text-transform: uppercase;
}

.img-slot.is-missing::after {
  opacity: 1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.service-list,
.check-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  content: "";
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 70px 28px 0 0;
  counter-increment: steps;
}

.step-card::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #ffffff;
  content: counter(steps);
  font-size: 0.88rem;
  font-weight: 700;
}

.step-card:not(:last-child)::after {
  position: absolute;
  top: 21px;
  right: 20px;
  left: 54px;
  height: 1px;
  background: var(--border);
  content: "";
}

.cta-band {
  background: var(--accent);
  color: #ffffff;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band h2 {
  margin-bottom: 10px;
}

.cta-band .button {
  flex: 0 0 auto;
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent);
}

.cta-band .button:hover {
  background: #eef1f5;
  color: var(--accent-hover);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 7vw, 84px);
  padding-block: 64px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-row:nth-child(even) .feature-copy {
  order: 2;
}

.feature-row:nth-child(even) .img-slot {
  order: 1;
}

.feature-row--text {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.feature-row ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.feature-row li + li {
  margin-top: 7px;
}

.business-info {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
  max-width: 780px;
  margin: 0;
  border-top: 1px solid var(--border);
}

.business-info dt,
.business-info dd {
  margin: 0;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}

.business-info dt {
  color: var(--ink);
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 840px;
  margin: 0;
  padding: 0;
  counter-reset: timeline;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 23px;
  width: 1px;
  background: var(--border);
  content: "";
}

.timeline-item {
  position: relative;
  padding: 0 0 56px 80px;
  counter-increment: timeline;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  content: counter(timeline);
  font-weight: 700;
}

.timeline-item p {
  max-width: 68ch;
}

.process-list {
  margin: 0;
  padding: 0;
  counter-reset: process;
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 0 0 24px 48px;
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  content: counter(process, decimal-leading-zero);
  font-size: 0.82rem;
  font-weight: 700;
}

.callout {
  padding: 22px 24px;
  background: var(--warning);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.contact-details {
  margin: 0;
}

.contact-details > div + div {
  margin-top: 22px;
}

.contact-details dt {
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 700;
}

.contact-details dd {
  margin: 0;
}

/* ==========================================================================
   POLICY PAGES
   ========================================================================== */
.policy {
  max-width: 820px;
}

.policy > section + section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.policy h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
}

.policy h3 {
  margin-top: 28px;
}

.policy ul,
.policy ol {
  padding-left: 22px;
}

.policy li + li {
  margin-top: 10px;
}

.effective-date {
  margin-top: -10px;
  font-size: 0.92rem;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.ph {
  color: var(--muted-ink);
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.muted {
  color: var(--muted-ink);
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  /* The collapsed menu only exists when JavaScript can reopen it. The .js
     class is set by an inline script in <head>, so with scripting off the
     navigation simply stays visible and the toggle button never appears. */
  .header-inner {
    flex-wrap: wrap;
  }

  .js .header-inner {
    flex-wrap: nowrap;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .js .primary-nav.is-open {
    display: block;
  }

  .primary-nav {
    width: 100%;
  }

  .nav-list {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
    padding-block: 18px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
  }

  .nav-link.button {
    margin-top: 8px;
  }

  .grid-4,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:nth-child(-n + 2) {
    margin-bottom: 44px;
  }

  .step-card:nth-child(2)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-space: 56px;
  }

  .hero,
  .page-intro {
    padding-block: 56px;
  }

  .split,
  .split--wide-copy,
  .grid-2,
  .grid-3,
  .form-grid,
  .feature-row,
  .feature-row--text {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 36px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .feature-row {
    gap: 30px;
    padding-block: 48px;
  }

  .feature-row:nth-child(even) .feature-copy,
  .feature-row:nth-child(even) .img-slot {
    order: initial;
  }

  .feature-row--text .feature-copy:first-child {
    padding-bottom: 0;
  }

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

  .cta-band .container,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .grid-4,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .step-card {
    margin-bottom: 38px;
  }

  .step-card:not(:last-child)::after {
    top: 50px;
    right: auto;
    bottom: -28px;
    left: 21px;
    width: 1px;
    height: auto;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .business-info {
    grid-template-columns: 1fr;
  }

  .business-info dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .business-info dd {
    padding-top: 4px;
  }

  .timeline::before {
    left: 19px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-item::before {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}


/* ==========================================================================
   PHOTOGRAPHY
   Licensed stock photography. Images are decorative context for the
   services described; they do not depict property, facilities, vehicles,
   inventory or personnel belonging to the business.
   ========================================================================== */
.img-slot picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.img-slot[data-slot="wide"] {
  aspect-ratio: 16 / 9;
}

/* Match the frame to the ratio the image pipeline actually crops to, so the
   browser is not silently re-cropping a considered crop. */
.img-slot[data-slot="feature"] {
  aspect-ratio: 3 / 2;
}

/* --------------------------------------------------------------------------
   Full-bleed photographic hero
   -------------------------------------------------------------------------- */
.hero--image {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(500px, 66vh, 660px);
  padding-block: 96px;
  border-bottom: 0;
  background: #0a141f;
  color: #ffffff;
}

.hero--image .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.hero--image .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* Two layered gradients: a left-to-right wash that anchors the copy column
   and a base darkening pass, so white text stays legible over the busiest
   part of the photograph at every breakpoint. */
.hero--image .hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 14, 24, 0.94) 0%, rgba(6, 14, 24, 0.82) 38%,
      rgba(6, 14, 24, 0.46) 68%, rgba(6, 14, 24, 0.34) 100%),
    linear-gradient(to bottom, rgba(6, 14, 24, 0.45) 0%, rgba(6, 14, 24, 0.25) 45%,
      rgba(6, 14, 24, 0.6) 100%);
  content: "";
}

.hero--image .container {
  position: relative;
  z-index: 2;
}

.hero--image .hero-copy {
  max-width: 44rem;
}

.hero-eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero--image h1 {
  color: #ffffff;
  text-wrap: balance;
}

.hero--image .hero-copy p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero--image .button--secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
}

.hero--image .button--secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Page banner - a shorter photographic header for interior pages
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(260px, 34vh, 380px);
  padding-block: 56px;
  background: #0a141f;
  color: #ffffff;
}

.page-banner .banner-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.page-banner .banner-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .banner-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 14, 24, 0.9) 0%, rgba(6, 14, 24, 0.74) 50%,
    rgba(6, 14, 24, 0.5) 100%);
  content: "";
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  margin-bottom: 12px;
  color: #ffffff;
  text-wrap: balance;
}

.page-banner p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

@media (max-width: 768px) {
  .hero--image {
    min-height: 0;
    padding-block: 72px;
  }

  .hero--image .hero-media img {
    object-position: center 62%;
  }

  .hero--image .hero-media::after {
    background: linear-gradient(to bottom, rgba(6, 14, 24, 0.72) 0%,
      rgba(6, 14, 24, 0.8) 55%, rgba(6, 14, 24, 0.92) 100%);
  }

  .page-banner {
    min-height: 0;
    padding-block: 44px;
  }

  .page-banner .banner-media::after {
    background: linear-gradient(to bottom, rgba(6, 14, 24, 0.68) 0%,
      rgba(6, 14, 24, 0.86) 100%);
  }
}

@media (max-width: 480px) {
  .hero--image {
    padding-block: 56px;
  }

  .hero-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }
}

/* The unconfigured-form notice is revealed by JavaScript, so the hidden
   attribute must win over any component display rule. */
[hidden] {
  display: none !important;
}

/* Keyboard users land on this before the navigation. It stays out of the
   layout until it takes focus. */
.skip-link {
  position: absolute;
  z-index: 100;
  top: -100px;
  left: 16px;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: #ffffff;
}
