/* Locations page — extends styles.css with the same tokens and type system. */

:root {
  --gold: #b9832f;
  --muted: #5b554c;
  --line: rgb(23 23 23 / 18%);
}

/* Arch logo is taller than the original wordmark; size by height. */
.brand__logo--arch {
  width: auto;
  height: 82px;
  max-height: none;
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Shorter photographic hero than the homepage. */
.hero--short {
  min-height: clamp(520px, 46vw, 600px);
}

.hero--short .hero__image {
  object-position: center 60%;
}

.hero--short h1 {
  max-width: none;
  font-size: clamp(54px, 6vw, 76px);
}

/* What's included */
.included {
  padding: clamp(72px, 7vw, 104px) 0;
  color: var(--ink);
  background: var(--logo-cream);
}

.included__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
}

.included__copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(32px, 5vw, 68px);
  border-right: 1px solid rgb(23 23 23 / 24%);
}

.included__copy h2 {
  margin: 0;
  font-family: "Mr Dafoe", "Brush Script MT", cursive;
  font-size: clamp(38px, 3.8vw, 50px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  transform: none;
  transform-origin: left center;
}

.included__copy p {
  max-width: 50ch;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.included__amount {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.included__amount span {
  margin-left: 10px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

.included__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included__list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.4;
}

.included__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.included__list li::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  transform: translateY(-50%);
}

/* Homes */
.homes {
  padding: clamp(72px, 7vw, 104px) 0 clamp(80px, 8vw, 112px);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.homes__title {
  margin: 0 0 clamp(36px, 4vw, 52px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.homes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 64px) clamp(32px, 4vw, 48px);
}

.home-card {
  min-width: 0;
}

.home-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.home-card__title span {
  margin: 0 4px;
  color: var(--gold);
}

.home-card__address,
.home-card__note {
  min-height: 24px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.home-card__badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  color: var(--logo-cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
  background: var(--gold);
}

/* Gallery: native scroll-snap track so swipe works on phones, buttons on desktop. */
.gallery {
  position: relative;
}

.gallery__track {
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  aspect-ratio: 3 / 2;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

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

.gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2b2621;
}

.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 0;
  color: var(--ink);
}

.gallery__count {
  margin: 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.gallery__button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease-out, background-color 180ms ease-out;
}

.gallery__button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}

.gallery__button:hover {
  color: var(--ink);
  background: rgb(23 23 23 / 8%);
}

.gallery__button:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery__button:disabled:hover {
  color: var(--ink);
  background: transparent;
}

.gallery__button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .brand__logo--arch {
    width: auto;
    height: 70px;
  }

  .hero--short {
    min-height: 560px;
  }

  .hero--short .hero__image {
    object-position: 40% center;
  }

  .included__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .included__copy {
    padding: 0 0 32px;
    border-right: 0;
    border-bottom: 1px solid rgb(23 23 23 / 24%);
  }

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

  .site-footer img {
    width: 96px;
  }
}

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

.hero__button {
  white-space: nowrap;
}

/* Gallery heading in the script display face */
.homes__title {
  font-family: "Mr Dafoe", "Brush Script MT", cursive;
  font-size: clamp(50px, 5vw, 66px);
  line-height: 0.9;
  letter-spacing: 0;
}
