/* --- Active page in the bar --------------------------------------------- */
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__panel a[aria-current="page"] { color: var(--orange); }

/* --- Page hero ----------------------------------------------------------- */
/* Same dark field as the home hero, sized for a page that leads with words. */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(2.75rem, 4.5vw, 4.25rem);
  background-color: var(--ink); color: var(--white);
  background-image:
    radial-gradient(58% 62% at 92% -14%, rgba(255,87,34,.20), rgba(255,87,34,0) 62%),
    radial-gradient(66% 60% at 2% 106%, rgba(26,58,99,.46), rgba(26,58,99,0) 64%),
    linear-gradient(180deg, #17171A 0%, #1A1A1D 46%, #121215 100%);
}
.page-hero::before {
  -webkit-mask-image: radial-gradient(ellipse 84% 118% at 88% -12%, #000 8%, transparent 74%);
          mask-image: radial-gradient(ellipse 84% 118% at 88% -12%, #000 8%, transparent 74%);
  opacity: .075;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; text-wrap: balance; margin-bottom: var(--s-2); }
.page-hero .lead { color: var(--on-dark-muted); max-width: 62ch; }

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs { font-size: var(--fs-caption); margin-bottom: var(--s-2); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.crumbs li { display: flex; align-items: center; gap: .5rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; color: rgba(255,255,255,.3); }
.crumbs a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current="page"] { color: var(--white); }

/* --- Purpose / vision / mission, values ---------------------------------- */
.trio { display: grid; gap: var(--s-1); grid-template-columns: 1fr; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3,1fr); }}
.trio .card { display: flex; flex-direction: column; height: 100%; }
.trio .card h3 {
  font-size: var(--fs-caption); letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-deep); margin-bottom: .75rem;
}
.trio .card p { font-size: var(--fs-lead); color: var(--navy); line-height: 1.5; }
@keyframes lb-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nav__links a { gap: .3125rem; }
.nav__panel a:not(.btn) { display: flex; align-items: center; gap: .4375rem; }
.site-footer nav > h2 { font-family: var(--font); }

/* --- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }}

.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: .4375rem; margin-bottom: var(--s-2); }
.field-row { display: grid; gap: var(--s-2); }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; }}

/* Visible labels, always â€” a placeholder disappears the moment someone types,
   taking the only description of the field with it. */
.field label { font-size: .9375rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: .8125rem 1rem;
  font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355595F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
  padding-right: 2.75rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9CDD3; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--orange-cta); outline: 2px solid var(--orange-deep); outline-offset: 1px;
}
/* Only flag a field the visitor has actually left, never one they are mid-way
   through filling in. */
.field input:not(:placeholder-shown):invalid,
.field textarea:not(:placeholder-shown):invalid { border-color: #C0392B; }
.form-card .btn { width: 100%; margin-top: var(--s-1); }
@media (min-width: 620px) { .form-card .btn { width: auto; }}
.form-note { margin-top: var(--s-1); font-size: var(--fs-caption); color: var(--slate); }

.contact-aside { display: grid; gap: var(--s-1); align-content: start; }
.contact-card {
  padding: clamp(1.375rem, 2.2vw, 1.75rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--neutral);
}
.contact-card h2 { font-size: 1.0625rem; font-family: var(--font-display); margin-bottom: .5rem; }
.contact-card p { color: var(--slate); font-size: 1rem; }
.contact-card p + p, .contact-card .link-arrow { margin-top: .625rem; }
.contact-card a:not(.btn):not(.link-arrow) {
  color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px;
}
.contact-card--accent { background: var(--tint); border-color: rgba(255,87,34,.22); }

/* Phone and email are the primary contact route on this page â€” they need to be
   tappable, not just readable. */
.contact-card--accent p a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 1.0625rem; font-weight: 600;
}