:root {
  --ink: #20233a;
  --muted: #66676d;
  --paper: #f7f7f4;
  --white: #ffffff;
  --mist: #eef0f6;
  --navy: #28317f;
  --navy-dark: #151b52;
  --green: #2f8f46;
  --green-dark: #206b34;
  --steel: #747579;
  --steel-dark: #4f5054;
  --silver: #d8d9df;
  --line: rgba(40, 49, 127, 0.16);
  --shadow: 0 24px 60px rgba(31, 35, 79, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-dark);
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 168px;
  padding: 28px max(20px, calc((100% - 1120px) / 2)) 22px;
  background:
    linear-gradient(135deg, rgba(21, 27, 82, 0.98), rgba(40, 49, 127, 0.94)),
    var(--navy-dark);
}

.home-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 190px;
  padding: 30px max(20px, calc((100% - 1120px) / 2)) 20px;
  background: transparent;
}

.brand {
  display: inline-flex;
  grid-column: 1;
  align-items: center;
  align-self: center;
  justify-self: start;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 304px;
  height: auto;
}

.menu-toggle {
  display: none;
  grid-column: 2;
  align-self: center;
  justify-self: end;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  grid-column: 2;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
  font-size: 14px;
  font-weight: 820;
}

.site-nav a {
  min-height: 44px;
  padding: 11px 14px;
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.site-nav .nav-cta {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 235px 0 96px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 23, 76, 0.74) 0%, rgba(18, 23, 76, 0.44) 220px, rgba(18, 23, 76, 0) 430px),
    linear-gradient(90deg, rgba(18, 23, 76, 0.9) 0%, rgba(18, 23, 76, 0.76) 39%, rgba(18, 23, 76, 0.18) 72%),
    url("assets/home-accessibility-hero.jpg") center / cover no-repeat;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--silver);
}

.hero h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(2.55rem, 5.1vw, 5rem);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--mist);
}

.hero .button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-hero {
  padding: 76px 0 82px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 27, 82, 0.96), rgba(40, 49, 127, 0.9)),
    var(--navy-dark);
}

.page-hero .eyebrow {
  color: var(--silver);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.55rem, 5.1vw, 5rem);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.6;
}

.intro-band,
.match-section,
.services-section,
.process-section,
.projects-section,
.signs-section,
.summary-section,
.cta-section,
.schedule-section,
.faq-section {
  padding: 86px 0;
}

.intro-band {
  background: var(--white);
}

.casey-copy {
  display: grid;
  gap: 14px;
}

.casey-copy p {
  margin: 0;
}

.casey-photo {
  margin: 28px 0 0;
}

.casey-photo img {
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-grid,
.schedule-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.3vw, 3.15rem);
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p {
  margin: 14px 0 0;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.summary-section {
  background: var(--white);
}

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

.summary-card,
.trust-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.summary-card p,
.trust-card p {
  margin: 0;
}

.summary-card:hover {
  background: var(--mist);
}

.cta-section {
  background: var(--navy-dark);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
}

.picker-label {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-weight: 900;
}

.need-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.need-button {
  min-height: 56px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.need-button:hover,
.need-button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.recommendation {
  padding: 28px;
  color: var(--white);
  background: var(--navy-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.recommendation p {
  color: rgba(255, 255, 255, 0.84);
}

.recommendation-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.services-section,
.signs-section,
.faq-section {
  background: var(--mist);
}

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

.service-card {
  min-height: 285px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card p,
.timeline p {
  margin-bottom: 0;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.projects-section {
  background: var(--white);
}

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

.project-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-card p {
  margin: 0;
}

.project-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-height: 150px;
}

.project-photo-pair span {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: var(--steel-dark);
  background:
    linear-gradient(135deg, rgba(40, 49, 127, 0.08), rgba(116, 117, 121, 0.1));
  border: 1px dashed rgba(40, 49, 127, 0.28);
  border-radius: 8px;
  font-weight: 900;
}

.signs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.signs-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.signs-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--navy);
  border-radius: 999px;
}

.schedule-section {
  background: var(--white);
}

.contact-panel {
  margin-top: 28px;
  padding: 24px;
  background: var(--mist);
  border-radius: 8px;
}

.panel-label {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-weight: 900;
}

.contact-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label,
legend {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--muted);
  font-weight: 700;
}

input[type="radio"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--navy);
}

.booking-form .button {
  width: auto;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy-dark);
  font-weight: 800;
}

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

details {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.84);
  background: #111641;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 10px 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.footer-details a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 164px;
    padding: 26px 20px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: 158px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(17, 22, 65, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

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

  .hero {
    min-height: 690px;
    align-items: flex-start;
    padding: 190px 0 56px;
    background:
      linear-gradient(180deg, rgba(18, 23, 76, 0.74) 0%, rgba(18, 23, 76, 0.48) 190px, rgba(18, 23, 76, 0) 360px),
      linear-gradient(0deg, rgba(18, 23, 76, 0.92) 0%, rgba(18, 23, 76, 0.76) 44%, rgba(18, 23, 76, 0.12) 100%),
      url("assets/home-accessibility-hero.jpg") center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 8vw, 4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 8vw, 4rem);
  }

  .intro-grid,
  .schedule-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sticky-copy {
    position: static;
  }

  .need-picker,
  .service-grid,
  .project-grid,
  .summary-grid,
  .trust-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 136px;
    padding: 24px 14px 18px;
  }

  .brand-logo {
    width: 206px;
  }

  .site-nav {
    top: 132px;
  }

  .section-inner,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 640px;
    padding-top: 166px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  .page-hero {
    padding: 56px 0 60px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .need-picker,
  .service-grid,
  .project-grid,
  .summary-grid,
  .trust-grid,
  .signs-list,
  .field-pair,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  .intro-band,
  .match-section,
  .services-section,
  .process-section,
  .projects-section,
  .signs-section,
  .summary-section,
  .cta-section,
  .schedule-section,
  .faq-section {
    padding: 58px 0;
  }

  .booking-form,
  .recommendation,
  .service-card,
  .project-card,
  .summary-card,
  .trust-card,
  .timeline li,
  details {
    padding: 20px;
  }

  .footer-grid {
    display: grid;
  }

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

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