:root {
  --location-pine: #13271f;
  --location-pine-soft: #254238;
  --location-cream: #f7f3df;
  --location-sand: #d5c79b;
  --location-gold: #b88946;
  --location-ink: #0e3033;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--location-cream);
  color: var(--location-ink);
  overflow-x: hidden;
}

.location-page,
.location-page * {
  box-sizing: border-box;
}

.location-page {
  background: var(--location-cream);
}

.location-shell {
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  width: 100%;
}

.location-hero {
  background:
    linear-gradient(90deg, rgba(7, 28, 22, 0.94) 0%, rgba(12, 39, 31, 0.82) 48%, rgba(18, 48, 39, 0.62) 100%),
    url("../images/home/location/location.webp") center 48% / cover no-repeat;
  color: #fff;
  min-height: min(860px, 100svh);
  overflow: hidden;
  padding-block: clamp(9rem, 16vw, 13rem) clamp(5rem, 9vw, 8rem);
  position: relative;
}

.location-hero::before,
.location-hero::after {
  border: 1px solid rgba(213, 199, 155, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
}

.location-hero::before {
  height: min(55vw, 45rem);
  right: -10rem;
  top: -14rem;
  width: min(55vw, 45rem);
}

.location-hero::after {
  bottom: -18rem;
  height: 34rem;
  left: -14rem;
  width: 34rem;
}

.location-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  position: relative;
  z-index: 1;
}

.location-eyebrow {
  color: var(--location-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

.location-hero h1,
.location-map-heading h2 {
  font-family: var(--font-editorialOld), Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
}

.location-hero h1 {
  color: #fff4d6;
  font-size: clamp(4rem, 8.5vw, 8.5rem);
  line-height: 0.88;
  max-width: 8.5ch;
  text-wrap: balance;
}

.location-intro {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65;
  margin: 2.25rem 0 0;
  max-width: 38rem;
}

.location-address-card {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(247, 243, 223, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.5rem;
  box-shadow: 0 2rem 5rem rgba(4, 14, 10, 0.25);
  color: var(--location-ink);
  font-style: normal;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.location-pin {
  align-items: center;
  background: var(--location-pine);
  border-radius: 50%;
  display: inline-flex;
  height: 3.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  width: 3.5rem;
}

.location-pin svg {
  fill: none;
  height: 1.55rem;
  stroke: var(--location-sand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 1.55rem;
}

.location-card-label {
  color: #8b6732;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.location-address {
  font-family: var(--font-editorialOld), Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1.08;
  margin: 0;
}

.location-phone-label {
  border-top: 1px solid rgba(14, 48, 51, 0.18);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.location-phone {
  color: var(--location-ink);
  display: inline-block;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  text-decoration: none;
}

.location-map-section {
  background: var(--location-cream);
  padding-block: clamp(5rem, 10vw, 10rem);
}

.location-map-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.6fr);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.location-map-heading h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
  max-width: 11ch;
}

.location-map-heading > p {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  margin: 0;
}

.location-map-frame {
  background: #d9dfd8;
  border: 1px solid rgba(14, 48, 51, 0.15);
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 1.5rem 4rem rgba(14, 48, 51, 0.12);
  height: clamp(30rem, 62vw, 46rem);
  overflow: hidden;
}

.location-map-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.location-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
}

.location-primary-button {
  align-items: center;
  background: var(--location-pine);
  border: 1px solid var(--location-pine);
  border-radius: 999px;
  color: #fff4d6;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 1.5rem;
  justify-content: center;
  letter-spacing: 0.07em;
  min-height: 3.5rem;
  padding: 0.75rem 1.75rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.location-primary-button:hover,
.location-primary-button:focus-visible {
  background: var(--location-sand);
  color: var(--location-pine);
}

.location-secondary-link {
  border-bottom: 1px solid rgba(14, 48, 51, 0.55);
  color: var(--location-ink);
  font-weight: 650;
  padding-block: 0.4rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .location-hero {
    min-height: auto;
  }

  .location-hero-grid,
  .location-map-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .location-hero h1 {
    max-width: 10ch;
  }

  .location-address-card {
    max-width: 42rem;
  }

  .location-map-heading > p {
    max-width: 40rem;
  }
}

@media (max-width: 600px) {
  .location-hero {
    background:
      linear-gradient(180deg, rgba(7, 28, 22, 0.9) 0%, rgba(10, 35, 28, 0.78) 58%, rgba(11, 36, 29, 0.9) 100%),
      url("../images/home/location/location.webp") 57% center / cover no-repeat;
    padding-block: 8rem 4rem;
  }

  .location-hero-grid {
    gap: 2.75rem;
  }

  .location-hero h1 {
    font-size: clamp(3.35rem, 15vw, 4.75rem);
    line-height: 0.94;
  }

  .location-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1.5rem;
  }

  .location-address-card {
    border-radius: 1.25rem;
    padding: 1.5rem;
  }

  .location-pin {
    height: 3rem;
    margin-bottom: 1.5rem;
    width: 3rem;
  }

  .location-address {
    font-size: 1.65rem;
  }

  .location-map-section {
    padding-block: 4.5rem;
  }

  .location-map-heading {
    margin-bottom: 2rem;
  }

  .location-map-heading h2 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .location-map-frame {
    border-radius: 1.25rem;
    height: 31rem;
  }

  .location-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .location-primary-button {
    width: 100%;
  }

  .location-secondary-link {
    align-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-primary-button {
    transition: none;
  }
}
