@layer reset, design, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
  a { color: inherit; }
  button { font: inherit; }
  img { display: block; max-width: 100%; }
  :focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
}

@layer design {
  :root {
    color-scheme: light;
    --ink: #142820;
    --green-dark: #082b22;
    --green: #006048;
    --mint: #b9f4c1;
    --muted: #485e54;
    --paper: #f8faf7;
    --line: #dbe5dd;
    --section-space: clamp(2.75rem, 5.5vw, 4.75rem);
    font-family: "Segoe UI", system-ui, sans-serif;
  }
  body { background: var(--paper); color: var(--ink); line-height: 1.55; }
  .wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
  .skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .75rem; background: white; transform: translateY(-150%); }
  .skip:focus { transform: none; }
  .header, .hero { color: #f4faf5; background-color: var(--green-dark); }
  .header { border-bottom: 1px solid #ffffff26; position: relative; z-index: 1; }
  main { isolation: isolate; }
  .header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .brand { display: inline-flex; align-items: center; padding-block: .5rem; flex-shrink: 0; }
  .brand img { width: 7rem; height: auto; filter: brightness(0) invert(1); }
  .nav { display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 3rem); }
  .nav a, .footer a { font-weight: 600; text-decoration: none; }
  .nav a:hover, .footer a:hover { color: var(--mint); }
  .menu { display: none; }
  .button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .65rem 1.3rem; border: 1px solid transparent; border-radius: .6rem; text-decoration: none; font-weight: 750; transition: background-color .2s, border-color .2s; }
  .mint { background: var(--mint); color: var(--green-dark); }
  .mint:hover { background: #d7fadd; }
  .outline { border-color: #ffffff72; }
  .outline:hover { background: #ffffff1a; border-color: white; }
  .solid { background: var(--green); color: white; }
  .solid:hover { background: var(--green-dark); }
  .hero {
    background-image: radial-gradient(ellipse at 82% 70%, #176743 0%, transparent 52%), repeating-linear-gradient(115deg, transparent 0 81px, #c4fbd009 82px 83px);
    overflow: clip;
  }
  .hero-grid { min-height: 37rem; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; }
  .hero-copy { padding-block: clamp(3.5rem, 6vw, 5.25rem); z-index: 1; align-self: center; }
  .eyebrow { font-size: .875rem; font-weight: 760; letter-spacing: .15em; color: var(--green); }
  .hero .eyebrow, .fleet .eyebrow { color: var(--mint); }
  .location-mark { display: inline-block; vertical-align: .05em; width: .55em; height: .55em; margin-right: .45em; outline: 1px solid currentColor; outline-offset: 3px; transform: rotate(45deg); background: currentColor; }
  h1, h2 { text-wrap: balance; font-weight: 780; letter-spacing: -.065em; line-height: .99; }
  h1 { font-size: clamp(2.65rem, 5.25vw, 5.5rem); margin-block: 1.3rem 1.6rem; }
  h1 span, h1 em { display: block; }
  h1 em { font-style: normal; color: var(--mint); }
  .hero-description { max-width: 27rem; font-size: clamp(1rem, 1.7vw, 1.25rem); color: #d9e9df; }
  .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .portrait { min-width: 0; display: grid; align-items: end; justify-items: center; isolation: isolate; position: relative; }
  .portrait-ring { position: absolute; z-index: -1; border-radius: 50%; width: 90%; aspect-ratio: 1; bottom: 4%; background: radial-gradient(circle, #88dc9a44, #78cf9322 58%, transparent 59%); border: 1px solid #c4ffcc43; box-shadow: 0 0 0 2rem #c4ffcc09, 0 0 0 4rem #c4ffcc08; }
  .portrait img { width: min(100%, 35rem); height: auto; filter: drop-shadow(0 18px 28px #001b1357); }
  .facts { background: var(--mint); }
  .facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 1.05rem; }
  .facts-grid div { padding: .3rem clamp(.6rem, 3vw, 2.1rem); border-inline-start: 1px solid #1d563e44; }
  .facts-grid div:first-child { padding-inline-start: 0; border: 0; }
  dt { font-size: .875rem; font-weight: 650; color: #315442; }
  dd { font-size: clamp(1.1rem, 3vw, 2.2rem); font-weight: 780; letter-spacing: -.04em; line-height: 1.25; }
  .section { padding-block: var(--section-space); }
  .section-intro h2 { margin-block: .75rem 1rem; font-size: clamp(2.65rem, 5.4vw, 5rem); }
  .section-intro > p:not(.eyebrow), address { max-width: 31rem; color: var(--muted); font-size: 1.1rem; font-style: normal; }
  .section-intro > .button { margin-top: 1.65rem; }
  .service-grid { margin-top: clamp(1.5rem, 3vw, 2rem); display: grid; grid-template-columns: 1.45fr 1fr; gap: 1rem; }
  .service-side { display: grid; gap: 1rem; }
  .service { background: white; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.3rem, 3vw, 2rem); }
  .service-feature { position: relative; isolation: isolate; overflow: clip; display: grid; align-content: end; min-height: 25rem; background: var(--green-dark); color: white; }
  .service-feature img, .service-feature::after { position: absolute; inset: 0; width: 100%; height: 100%; }
  .service-feature img { z-index: -2; object-fit: cover; object-position: center; }
  .service-feature::after { content: ""; z-index: -1; background: linear-gradient(0deg, #061f17 5%, #061f17e8 30%, #061f1733 78%); }
  .service-feature h3 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.055em; margin: .15rem 0 .5rem; }
  .service-feature .service-feature-copy p { color: #e6f5eb; }
  .service-feature .service-feature-copy .eyebrow { color: var(--mint); }
  .service-feature .button { margin-top: 1.15rem; }
  .service h3, .contact h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: .6rem; }
  .service p { color: var(--muted); }
  .service-mark { display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; margin-bottom: 1.4rem; border-radius: .6rem; background: var(--green); color: white; font-weight: 800; }
  .rest::before { content: ""; width: .95rem; height: .7rem; border: 2px solid; border-top: 0; border-radius: 0 0 .4rem .4rem; box-shadow: .3rem .05rem 0 -.15rem white; }
  .repair::before { content: ""; width: .95rem; aspect-ratio: 1; border: .2rem double; border-radius: 50%; }
  .inline { color: var(--green); font-weight: 700; text-underline-offset: .24em; overflow-wrap: anywhere; }
  .service .inline { display: inline-block; margin-top: .9rem; }
  .fleet, .footer { background: var(--green-dark); color: #f4faf5; }
  .fleet-grid, .visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
  .fleet .section-intro > p:not(.eyebrow), .fleet details p { color: #d9e9df; }
  .fleet { background: radial-gradient(ellipse at 88% 18%, #154637, transparent 56%), var(--green-dark); }
  .fleet-intro { position: sticky; top: clamp(2rem, 12vh, 7rem); }
  .fleet-steps { list-style: decimal-leading-zero; display: grid; gap: .95rem; padding-inline-start: 2.75rem; margin: 0; }
  .fleet-step { border: 1px solid #c9f6cf40; border-radius: 1rem; background: #ffffff08; padding: clamp(1.1rem, 4vw, 2rem); min-height: 9rem; transition: background-color .35s, border-color .35s, transform .35s; }
  .fleet-step::marker { color: var(--mint); font-weight: 800; }
  .fleet-step h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); line-height: 1.18; margin-bottom: .55rem; }
  .fleet-step p { color: #d9e9df; }
  .fleet-step.is-current { background: #28624a; border-color: var(--mint); transform: translateX(.25rem); }
  .visit { gap: 1rem; align-items: stretch; }
  .visit-location { background: radial-gradient(ellipse at 105% 95%, #327655, transparent 62%), var(--green-dark); color: white; }
  .visit-location .eyebrow, .visit-location address { color: var(--mint); }
  .visit-location, .contact { padding: clamp(1.35rem, 3.25vw, 2.5rem); border-radius: 1rem; }
  .contact { display: grid; align-content: start; gap: 1.25rem; border: 1px solid var(--line); background: #fff; }
  .contact h3 { max-width: 19ch; font-size: clamp(1.75rem, 3.2vw, 2.7rem); letter-spacing: -.05em; margin: 0; }
  .contact-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .6rem; }
  .contact-actions .button { gap: .55rem; min-width: 0; padding-inline: .65rem; }
  .contact-actions svg { width: 1.35rem; height: 1.35rem; flex-shrink: 0; }
  .contact-email { border-color: #bfd7c8; color: var(--green); background: #f2f8f4; }
  .contact-email:hover { background: #e0efe5; }
  .contact-phones { border-top: 1px solid var(--line); padding-top: .95rem; }
  .contact-phones h4, .contact-phones h5, .contact-phones ul { margin: 0; }
  .contact-phones h4 { font-size: 1rem; }
  .phone-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.75rem), 1fr)); gap: .55rem; margin-top: .6rem; }
  .phone-group { min-width: 0; background: #f4f8f5; border: 1px solid #e4eee7; border-radius: .65rem; padding: .55rem .7rem .2rem; }
  .phone-group h5 { color: var(--muted); font-size: .875rem; font-weight: 650; }
  .phone-group ul { list-style: none; padding: 0; }
  .phone-group li + li { border-top: 1px solid var(--line); }
  .phone-group a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--green);
    font-size: .9375rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
  }
  .phone-group a:hover { text-decoration: underline; text-underline-offset: .23em; }
  .entered { animation: enter-section .65s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes enter-section {
    from { opacity: .55; transform: translateY(1.25rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  .footer { background: radial-gradient(ellipse at 90% 0%, #194f3f, transparent 60%), var(--green-dark); }
  .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem 2rem;
    padding-block: clamp(1.75rem, 4vw, 2.75rem);
  }
  .footer-identity .brand { padding: 0; }
  .footer-identity .brand img { width: 8rem; }
  .footer-identity p { color: #c4dcd0; font-size: .875rem; margin-top: .6rem; }
  .footer-social { display: flex; gap: .55rem; justify-self: end; }
  .footer-social a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #c9f6cf50;
    border-radius: 50%;
    background: #ffffff0d;
    transition: background-color .2s, color .2s;
  }
  .footer-social a:hover { background: var(--mint); color: var(--green-dark); }
  .footer-social svg { width: 1.25rem; height: 1.25rem; }
  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    border-top: 1px solid #c9f6cf30;
    padding-block: 1rem;
    color: #c4dcd0;
    font-size: .875rem;
  }
}

@layer responsive {
  @media (max-width: 52rem) {
    .hero-grid { min-height: auto; grid-template-columns: 1fr 1fr; }
    .hero-copy { padding-block: 3.25rem; }
    .nav { gap: 1rem; }
    .header-contact { display: none; }
    .footer-social { align-self: start; }
  }
  @media (max-width: 40rem) {
    .wrap { width: calc(100% - 2rem); }
    .footer-main { gap: .7rem 1rem; }
    .footer-identity { display: contents; }
    .footer-identity .brand { grid-area: 1 / 1; justify-self: start; }
    .footer-identity p { grid-area: 2 / 1 / 3 / -1; margin-top: 0; }
    .footer-social { grid-area: 1 / 2; align-self: center; }
    .header-inner { position: relative; min-height: 4.25rem; flex-wrap: wrap; gap: 0; }
    .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: .75rem; }
    .nav a { display: flex; align-items: center; min-height: 2.75rem; padding-inline: .5rem; border-top: 1px solid #ffffff26; }
    .enhanced .menu {
      display: grid;
      place-items: center;
      width: 2.75rem;
      height: 2.75rem;
      border: 1px solid #ffffff72;
      border-radius: .5rem;
      background: transparent;
      color: inherit;
      cursor: pointer;
    }
    .menu-icon { display: grid; gap: .25rem; width: 1.25rem; }
    .menu-icon span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
    .menu[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(6px) rotate(45deg); }
    .menu[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
    .menu[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-6px) rotate(-45deg); }
    .enhanced .nav {
      display: none;
      position: absolute;
      inset-block-start: calc(100% + .5rem);
      inset-inline-end: 0;
      width: min(100%, 19rem);
      max-height: calc(100dvh - 5.5rem);
      overflow: auto;
      padding: .45rem;
      border: 1px solid #ffffff36;
      border-radius: .85rem;
      background: #103e31;
      box-shadow: 0 .9rem 2rem #00140e66;
    }
    .enhanced .nav.is-open { display: flex; animation: menu-enter .2s ease-out both; }
    .enhanced .nav a { flex-shrink: 0; border: 0; border-radius: .45rem; padding-inline: .8rem; }
    .enhanced .nav a:hover, .enhanced .nav a:focus-visible { background: #ffffff12; }
    .enhanced .nav a:focus-visible { outline-offset: -3px; }
    @keyframes menu-enter {
      from { transform: translateY(-.35rem); }
      to { transform: translateY(0); }
    }
    .hero-grid, .service-grid, .fleet-grid, .visit { grid-template-columns: 1fr; }
    .hero-copy { padding-block: 2.5rem 1.25rem; }
    h1 { margin-block: .9rem 1rem; font-size: clamp(2.25rem, 10vw, 4rem); }
    .portrait img { width: min(82%, 21rem); }
    .portrait-ring { width: min(74%, 19rem); }
    .facts-grid div { padding-inline: .4rem; }
    dt { font-size: .75rem; }
    .fleet-intro { position: static; }
    .fleet-steps { padding-inline-start: 2rem; }
    .service-feature { min-height: 22rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .fleet-step, .menu-icon span, .footer-social a { transition: none; }
    .entered, .enhanced .nav.is-open { animation: none; }
  }
}
