/* Dunlop Road Locksmith — night highway / green destination signs
   Distinct from all prior client locksmith sites */

:root {
  --night: #0d1117;
  --asphalt: #161b22;
  --green: #1a6b3c;
  --green-hot: #22864c;
  --amber: #ffb703;
  --paint: #f4f7f2;
  --mute: #c5cec4;
  --display: "Barlow Condensed", sans-serif;
  --body: "Nunito Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paint);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--night);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 80;
  background: var(--amber);
  color: var(--night);
  padding: 0.7rem 1rem;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.tag {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

.lane {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  margin-left: -3px;
  background: repeating-linear-gradient(
    180deg,
    var(--amber) 0 18px,
    transparent 18px 36px
  );
  pointer-events: none;
  opacity: 0.85;
}

/* Road-sign header badges */
.signs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.8rem;
  padding: 0.85rem 1.1rem;
  background: var(--asphalt);
  border-bottom: 3px solid var(--amber);
  flex-wrap: wrap;
}

.signs a {
  text-decoration: none;
}

.signs__nav {
  display: flex;
  gap: 0.55rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: 0.4rem 0.7rem;
  border: 2px solid #fff;
  border-radius: 4px;
}

.badge--ghost {
  background: transparent;
}

.badge--ghost:hover {
  background: var(--green);
}

.badge--amber {
  background: var(--amber);
  color: var(--night);
  border-color: var(--amber);
}

/* Hero: highway board + tilted billboard */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100svh - 64px);
  padding: 2.5rem 1.2rem 3rem;
}

.board {
  justify-self: end;
  width: min(100%, 440px);
  background: var(--green);
  color: #fff;
  padding: 1.4rem 1.4rem 1.55rem;
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.board__city {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.95rem;
  opacity: 0.9;
}

.board__dest {
  margin: 0.15rem 0 0.2rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.85;
  text-transform: uppercase;
}

.board__km {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board__lede {
  margin: 0 0 1.1rem;
  max-width: 28ch;
  color: #e6f3ea;
}

.btn {
  display: inline-flex;
  background: var(--amber);
  color: var(--night);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
}

.btn:hover {
  filter: brightness(1.08);
}

.billboard {
  margin: 0;
  width: min(100%, 420px);
  justify-self: start;
  transform: rotate(2.5deg);
  border: 8px solid #1c2128;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.4);
}

.billboard img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* About */
.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy glass"
    "marker glass";
  gap: 1.4rem 3rem;
  width: min(100% - 2.4rem, 1080px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.about__copy { grid-area: copy; }
.about__glass { grid-area: glass; margin: 0; }
.marker { grid-area: marker; }

.about__title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 14ch;
}

.about__text {
  margin: 0;
  max-width: 40ch;
  color: var(--mute);
}

.about__glass img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  outline: 3px solid rgba(255, 183, 3, 0.45);
  outline-offset: 6px;
}

.marker {
  background: var(--asphalt);
  border-left: 6px solid var(--amber);
  padding: 1.1rem 1.2rem;
  max-width: 22rem;
}

.marker__label {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-size: 0.9rem;
}

.marker__addr {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.marker__sub {
  margin: 0.25rem 0 0.85rem;
  font-weight: 700;
}

.marker ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  border-top: 1px dashed rgba(255, 183, 3, 0.4);
  display: grid;
  gap: 0.3rem;
}

.marker a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
}

.marker a:hover {
  color: var(--amber);
}

/* Exit-sign services */
.services {
  position: relative;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}

.services__head {
  width: min(100% - 2.4rem, 720px);
  margin: 0 auto 1.6rem;
  text-align: center;
}

.services__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
}

.exits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(100% - 2.4rem, 1080px);
  display: grid;
  gap: 1.3rem;
}

.exit {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
  width: min(100%, 460px);
  background: var(--green);
  border: 3px solid #fff;
  border-radius: 8px;
  padding: 0.85rem;
  position: relative;
}

.exit--left {
  justify-self: start;
  margin-right: 8%;
}

.exit--right {
  justify-self: end;
  margin-left: 8%;
}

.exit__tab {
  position: absolute;
  top: -0.75rem;
  left: 0.8rem;
  background: var(--amber);
  color: var(--night);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  font-size: 0.85rem;
}

.exit img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.exit h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.7rem;
  text-transform: uppercase;
}

.exit p {
  margin: 0 0 0.5rem;
  color: #e6f3ea;
  font-size: 0.95rem;
}

.exit a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
}

.exit a:hover {
  color: var(--amber);
}

.foot {
  background: #07090c;
  padding: 1.4rem 1.2rem 1.8rem;
  display: grid;
  gap: 0.5rem;
  border-top: 3px solid var(--amber);
}

.foot strong {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.3rem;
}

.foot div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.foot a {
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
}

.foot a:hover {
  color: var(--amber);
}

.foot p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  opacity: 0.5;
}

@media (max-width: 860px) {
  .lane {
    display: none;
  }

  .hero,
  .about {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .about__copy,
  .about__glass,
  .marker {
    grid-area: auto;
  }

  .board,
  .billboard,
  .exit--left,
  .exit--right {
    justify-self: center;
    margin: 0;
    width: min(100%, 460px);
  }

  .billboard {
    transform: none;
  }

  .signs__nav {
    display: none;
  }

  .signs {
    padding: 0.7rem 0.8rem;
  }

  .badge {
    padding: 0.32rem 0.5rem;
    letter-spacing: 0.05em;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1.6rem;
  }
}

@media (max-width: 540px) {
  .signs {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 0.45rem;
  }

  .badge,
  .badge--amber {
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.4rem 0.55rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .exit {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
