/* ==========================================================================
   BVC North — a modern shop site.
   Archivo headlines, DM Sans text, Kaushan Script for the wordmark.
   ========================================================================== */

:root {
  --navy: #101312;
  --navy-2: #1a1f1c;
  --ink: #141817;
  --muted: #59615c;
  --cream: #eef0ee;
  --paper: #ffffff;
  --stone: #e1e5e1;
  --accent: #2f7a4f;
  --accent-dark: #245f3d;
  --accent-light: #a8d4b7;
  --line: rgba(22, 30, 25, 0.14);
  --line-soft: rgba(22, 30, 25, 0.09);

  --sans: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Kaushan Script", "Segoe Script", cursive;

  --shadow: 0 18px 44px rgba(22, 30, 25, 0.11);
  --shadow-soft: 0 8px 22px rgba(22, 30, 25, 0.07);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --pad: clamp(20px, 4.5vw, 56px);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background: var(--accent);
  color: var(--cream);
}

:focus-visible {
  outline: 3px solid rgba(47, 122, 79, 0.45);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 16px;
}

/* ==========================================================================
   Layout and type
   ========================================================================== */

.wrap {
  width: min(1220px, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: none;
  background: currentColor;
}

.kicker--light {
  color: var(--accent-light);
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.section-head > p {
  max-width: 52ch;
  margin-top: 2px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.section-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(20px, 5vw, 80px);
  align-items: end;
}

.section-head__row > p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 15.5px;
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 5px 14px rgba(47, 122, 79, 0.18);
}

.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 9px 20px rgba(47, 122, 79, 0.24);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--cream);
}

.btn--pill {
  border-radius: 999px;
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.arrow-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.arrow-link:hover {
  color: var(--accent-dark);
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav__shape {
  --p: 0;
  position: relative;
  pointer-events: auto;
  width: min(1220px, calc(100% - 32px));
  height: 76px;
  border: 1px solid rgba(255, 255, 255, calc(0.6 + var(--p) * 0.2));
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 44%),
    rgba(246, 248, 246, calc(0.52 + var(--p) * 0.24));
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 14px 36px rgba(16, 19, 18, calc(0.08 + var(--p) * 0.1)),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(20, 30, 25, 0.03);
  transform: translateY(12px);
  will-change: width, height, transform;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--pad, 28px);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 0;
  height: 44px;
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
  transition: transform 0.35s var(--ease), filter 0.3s ease;
}

.brand__word {
  display: flex;
  align-items: baseline;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 10px;
}

.brand__name {
  display: inline-block;
  font-family: var(--script);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  -webkit-text-stroke: 0.2px currentColor;
  transition: color 0.2s ease;
}

.brand__llc {
  display: inline-block;
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: translateY(-2px);
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .nav:not(.is-pill) .brand:hover .brand__mark {
    transform: scale(1.05);
  }

  .nav:not(.is-pill) .brand:hover .brand__name {
    color: var(--accent);
  }

  .nav:not(.is-pill) .brand:hover .brand__llc {
    color: var(--accent-dark);
  }

  .nav.is-pill .brand:hover .brand__mark {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(47, 122, 79, 0.38));
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  background: var(--stone);
  color: var(--accent);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.nav__phone {
  color: rgba(238, 240, 238, 0.82);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__phone:hover {
  color: var(--accent-light);
}

.nav__cta {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.24);
}

.cta-short {
  display: none;
}

@media (max-width: 860px) {
  .nav__phone {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav__inner {
    gap: 8px;
  }

  .nav__link {
    padding: 9px 11px;
    font-size: 13px;
  }

  .nav__link--wide {
    display: none;
  }

  .nav__cta {
    min-height: 40px;
    padding: 0 15px;
    font-size: 12.5px;
  }
}

@media (max-width: 560px) {
  .nav__shape {
    width: calc(100% - 16px);
    height: 64px;
    border-radius: 20px;
    transform: translateY(8px);
  }
}

@media (max-width: 560px) {
  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .brand__word {
    display: flex;
    padding-left: 8px;
  }

  .brand__name {
    font-size: 23px;
  }

  .brand__llc {
    display: none;
  }

  .nav__link {
    padding: 9px 8px;
    font-size: 12.5px;
  }

  .nav__link--contact {
    display: none;
  }

  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }
}

@media (max-width: 380px) {
  .brand__word {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: calc(84px + clamp(40px, 6vw, 74px)) 0 clamp(48px, 7vw, 82px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.hero__copy {
  padding-top: 4px;
}

.hero h1 {
  max-width: 12ch;
  margin: 20px 0 22px;
  color: var(--navy);
  font-size: clamp(3.1rem, 5.8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--accent);
}

.hero__sub {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__stack {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(100%, 560px);
  margin-right: 10px;
  aspect-ratio: 4 / 5;
  perspective: 1200px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero__stack:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.hero__stack.is-dragging {
  cursor: grabbing;
}

.hero__card.is-dragging {
  transition: none;
}

.hero__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 24px 50px rgba(16, 19, 18, 0.18);
  transform-origin: 45% 70%;
  transition: transform 0.7s var(--ease), box-shadow 0.5s ease;
  will-change: transform;
}

.hero__card__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
  transition: filter 0.7s ease;
  user-select: none;
}

.hero__card[data-pos="1"] img {
  filter: saturate(0.96) contrast(1.02) brightness(0.92);
}

.hero__card[data-pos="2"] img {
  filter: saturate(0.96) contrast(1.02) brightness(0.84);
}

.hero__card[data-pos="0"] {
  z-index: 3;
  transform: translate(0, 0) rotate(0) scale(1);
}

.hero__card[data-pos="1"] {
  z-index: 2;
  transform: translate(14px, 14px) rotate(2.8deg) rotateY(-7deg) scale(0.962);
  box-shadow: 0 18px 38px rgba(16, 19, 18, 0.13);
}

.hero__card[data-pos="2"] {
  z-index: 1;
  transform: translate(28px, 28px) rotate(5.6deg) rotateY(-14deg) scale(0.924);
  box-shadow: 0 14px 30px rgba(16, 19, 18, 0.1);
}

.hero__card.is-dealing {
  box-shadow: 0 32px 64px rgba(16, 19, 18, 0.24);
  transition-timing-function: cubic-bezier(0.33, 0.05, 0.2, 1);
}

.hero__card.deal-right {
  transform: translate(110%, 8px) rotate(4deg) scale(0.96);
}

.hero__card.deal-left {
  transform: translate(-110%, 8px) rotate(-4deg) scale(0.96);
}

.hero__stack.is-settling .hero__card {
  transition-duration: 0.45s;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  background: var(--stone);
}

.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.services__head h2 {
  max-width: 12ch;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.services__head p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.services__head .arrow-link {
  margin-top: 18px;
}

.services__list {
  border-top: 1px solid var(--line);
}

.section-join {
  position: relative;
  z-index: 2;
  height: 32px;
  margin-block: -16px;
  background: var(--join-bg, transparent);
  filter: blur(3px);
  pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V40C1080 52 980 28 860 40S640 56 520 40S300 20 180 36S60 50 0 40Z' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V40C1080 52 980 28 860 40S640 56 520 40S300 20 180 36S60 50 0 40Z' fill='%23fff'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.section-join--cream {
  --join-bg: var(--cream);
}

.section-join--stone {
  --join-bg: var(--stone);
}

.section-join--paper {
  --join-bg: var(--paper);
}

.service-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 44px;
  gap: clamp(16px, 2.4vw, 34px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(47, 122, 79, 0.09), rgba(47, 122, 79, 0) 70%);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
  pointer-events: none;
}

.service-row::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  z-index: 0;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-row__name {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.35s var(--ease);
}

.service-row__desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.35s var(--ease);
}

.service-row__go {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  box-shadow: 0 3px 10px rgba(16, 19, 18, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.25s var(--ease), box-shadow 0.2s ease;
}

.service-row__go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .service-row:hover::before {
    opacity: 1;
    transform: translateX(0);
  }

  .service-row:hover::after {
    transform: scaleY(1);
  }

  .service-row:hover .service-row__name {
    color: var(--accent);
    transform: translateX(8px);
  }

  .service-row:hover .service-row__desc {
    color: var(--ink);
    transform: translateX(8px);
  }

  .service-row:hover .service-row__go {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--cream);
    transform: rotate(-45deg);
    box-shadow: 0 8px 18px rgba(47, 122, 79, 0.18);
  }
}

/* ==========================================================================
   Team
   ========================================================================== */

.team {
  background: var(--paper);
}

.team__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.team__intro h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
}

.team__intro p {
  max-width: 38ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.team__call {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.team__call a {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.team__call a:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.team__list {
  border-top: 1px solid var(--line);
}

.team__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.team__row h3 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.team__row p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   Map — roads only
   ========================================================================== */

.map {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 72vh, 700px);
  padding-block: clamp(72px, 8vw, 96px);
  background: var(--cream);
}

.map__roads {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-composite: intersect;
}

.map__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.map__copy {
  display: grid;
  width: min(100%, 440px);
  gap: 18px;
  align-content: center;
}

.map__head {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(16, 19, 18, 0.14);
}

.map__head h2 {
  color: var(--navy);
  font-size: clamp(2.1rem, 3.1vw, 3.1rem);
}

.map__head p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}

.map__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(16, 19, 18, 0.14);
}

.map__card h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.map__city {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.map__foot {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 18px;
}

.map__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 56px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.map__pin svg {
  width: 100%;
  height: 100%;
  fill: var(--accent);
}

.map__pin svg circle {
  fill: #ffffff;
}

.map__credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.map__credit:hover {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .map {
    min-height: 0;
    padding: 250px 0 54px;
  }

  .map__roads {
    bottom: auto;
    height: 240px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 8%, #000 62%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 8%, #000 62%, transparent 100%);
  }

  .map__pin {
    top: 120px;
  }

  .map__credit {
    top: 206px;
    bottom: auto;
  }

  .map__inner {
    display: block;
  }

  .map__copy {
    width: 100%;
    gap: 16px;
  }

  .map__head h2 {
    font-size: clamp(2.1rem, 6vw, 2.8rem);
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.contact__copy h2 {
  margin: 12px 0 16px;
  color: var(--navy);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
}

.contact__copy > p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 15.5px;
}

.contact__phone {
  display: inline-block;
  margin-top: 24px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: clamp(1.7rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.contact__phone:hover {
  color: var(--accent);
}

.contact__line {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.contact__line a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.contact__snow {
  margin-top: 22px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact__snow strong {
  color: var(--navy);
}

.form-card {
  padding: clamp(22px, 3.2vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(16, 19, 18, 0.1);
}

.form-card h3 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.form-card__note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 14px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 6px;
}

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

.field label,
.field-label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a9598;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(47, 122, 79, 0.12);
}

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

/* custom Timeline dropdown */
.select {
  position: relative;
}

.select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.4;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.select__trigger:hover {
  border-color: var(--line);
}

.select.is-open .select__trigger {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(47, 122, 79, 0.12);
}

.select__trigger svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.select.is-open .select__trigger svg {
  transform: rotate(180deg);
}

.select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(16, 19, 18, 0.16);
}

.select__menu[hidden] {
  display: none;
}

.select__menu li {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  outline: none;
}

.select__menu li:hover,
.select__menu li:focus {
  background: var(--stone);
  color: var(--accent);
}

.select__menu li[aria-selected="true"] {
  background: var(--accent);
  color: var(--cream);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: var(--paper);
}

.checks-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.check {
  position: relative;
}

.check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.check span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.check input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--cream);
}

.check input:focus-visible + span {
  outline: 3px solid rgba(47, 122, 79, 0.3);
  outline-offset: 2px;
}

.form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 3px;
}

.form__note {
  max-width: 30ch;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.form__status {
  display: none;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--cream);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.55;
}

.form__status.is-on {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #525a55, #d8dfda 45%, #525a55) 1;
  background: var(--navy);
  color: var(--cream);
}

.footer__inner {
  padding: clamp(42px, 5vw, 64px) 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.9fr;
  gap: clamp(26px, 4vw, 56px);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer__name {
  color: var(--cream);
  font-family: var(--script);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 0.2px currentColor;
}

.footer__llc {
  display: block;
  margin-top: 3px;
  color: #93a5aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.footer__blurb {
  max-width: 30ch;
  margin-top: 16px;
  color: #aebdc1;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer h4 {
  margin-bottom: 13px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer__col a,
.footer__col p,
.footer__col address {
  display: block;
  color: #c7d1d3;
  font-size: 13.5px;
  line-height: 1.55;
}

.footer__col a + a,
.footer__col p + p,
.footer__col a + p,
.footer__col address + a {
  margin-top: 7px;
}

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

.footer__contact a:first-of-type {
  color: var(--cream);
  font-size: 15px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(34px, 4.5vw, 52px);
  padding-top: 18px;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  color: #8fa3a9;
  font-size: 11.5px;
}

.footer__credit {
  align-self: flex-start;
  color: #8fa3a9;
  transition: color 0.2s ease;
}

.footer__credit:hover {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__credit:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Not found
   ========================================================================== */

.notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.notfound .wrap {
  text-align: center;
}

.notfound .brand {
  justify-content: center;
  margin-bottom: 48px;
}

.notfound h1 {
  margin: 16px 0 14px;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.notfound p {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--muted);
}

.notfound .btn {
  margin-top: 24px;
}

/* ==========================================================================
   Scroll motion
   ========================================================================== */

.js-scroll [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-scroll [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero__grid,
  .contact__grid,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .hero__stack {
    justify-self: center;
    width: min(100%, 560px);
  }

  .hero__card[data-pos="1"] {
    transform: translate(8px, 10px) rotate(2deg) rotateY(-6deg) scale(0.965);
  }

  .hero__card[data-pos="2"] {
    transform: translate(16px, 20px) rotate(3.4deg) rotateY(-12deg) scale(0.93);
  }

  .hero h1 {
    max-width: 13ch;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .services__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 8px 16px;
    align-items: start;
    padding: 20px 0;
  }

  .service-row__desc {
    grid-column: 1;
  }

  .service-row__go {
    grid-column: 2;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: calc(84px + 36px);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11vw, 4.3rem);
    max-width: 12ch;
  }

  .team__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero__stack {
    width: 100%;
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__stack {
    margin-right: 0;
  }

  .hero__card[data-pos="1"] {
    transform: translate(5px, 8px) rotate(1.4deg) rotateY(-5deg) scale(0.97);
  }

  .hero__card[data-pos="2"] {
    transform: translate(12px, 16px) rotate(3deg) rotateY(-10deg) scale(0.94);
  }

  .hero__meta {
    display: grid;
    gap: 7px;
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

}
