:root {
  --paper: #f6f1e9;
  --paper-soft: #e7dfd3;
  --ink: #1d1d1d;
  --muted: #71695f;
  --line: rgba(29, 29, 29, 0.14);
  --accent: #fdbb30;
  --accent-dark: #6f4c00;
  --white: #fffaf1;
  --radius: 8px;
  --shadow: 0 26px 80px rgba(24, 19, 13, 0.22);
  --font-sans: HalyardDisplay, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: DomaineDisplayNarrow, "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 14px 24px;
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(29, 29, 29, 0.12);
  font-family: var(--font-display);
  font-size: 19px;
}

.menu-button,
.account,
.settings,
.search-card button,
.home-meta button {
  border: 0;
  cursor: pointer;
}

.menu-button,
.account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.menu-button {
  flex-direction: column;
  gap: 7px;
  justify-self: start;
}

.menu-button span,
.account span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.account {
  gap: 4px;
  flex-direction: column;
}

.account span:last-child {
  width: 12px;
  margin-left: 8px;
}

.nav-links {
  display: none;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.settings {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 500;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: white;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  filter: saturate(0.96) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 52% 30%, rgba(255, 255, 255, 0.12), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  padding: 98px 0 176px;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(52px, 8.4vw, 104px);
  font-weight: 400;
  line-height: 0.94;
}

.hero-copy {
  max-width: 570px;
  margin: 22px auto 0;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.94);
}

.search-card {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) minmax(180px, 1fr) minmax(140px, 0.8fr) auto;
  width: min(1080px, calc(100% - 40px));
  min-height: 84px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.97);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.search-card label {
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
}

.search-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.search-card input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
}

.search-card button {
  min-width: 150px;
  background: var(--accent);
  color: #1d1d1d;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-card button:hover {
  background: #ffc84b;
}

.search-card button:active,
.home-meta button:active,
.cta-link:active {
  transform: translateY(1px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 126px;
  padding: 32px;
  background: var(--paper);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
}

.intro-band span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-copy {
  max-width: 740px;
  margin-bottom: 38px;
}

.section-copy.compact {
  max-width: 640px;
}

.section h2,
.standard h2,
.cta-section h2,
.location-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 0.98;
}

.section p,
.standard p,
.cta-section p,
.location-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 660px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(250px, 1fr);
  gap: 18px;
}

.gallery-tile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: 0 16px 46px rgba(24, 19, 13, 0.12);
}

.gallery-tile.wide {
  grid-column: span 2;
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile:hover img {
  transform: scale(1.035);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.home-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 46px rgba(24, 19, 13, 0.1);
}

.home-card.raised {
  margin-top: 48px;
}

.home-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-body {
  padding: 24px;
}

.home-body .city {
  margin: 0 0 9px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.home-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.02;
}

.home-body p:not(.city) {
  margin: 12px 0 0;
  color: var(--muted);
}

.home-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.home-meta span {
  font-weight: 600;
}

.home-meta button,
.cta-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.home-meta button:hover,
.cta-link:hover,
.text-link:hover {
  background: #3a332d;
}

.location-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 100px;
}

.location-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(24, 19, 13, 0.16);
}

.location-image img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.text-link {
  margin-top: 24px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.text-link:hover {
  background: var(--ink);
  color: var(--white);
}

.standard {
  padding: 92px 20px;
  background: #21201e;
  color: var(--white);
}

.standard-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.standard p {
  color: rgba(255, 250, 241, 0.74);
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checks li {
  min-height: 154px;
  padding: 23px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.06);
}

.checks strong,
.checks span {
  display: block;
}

.checks strong {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
}

.checks span {
  color: rgba(255, 250, 241, 0.7);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.cta-section p {
  max-width: 560px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  max-width: min(500px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 900px) {
  .nav-links {
    display: inline-flex;
    justify-self: start;
    margin-left: 66px;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .settings {
    display: none;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
  }

  .hero-image {
    object-position: 54% 50%;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 98px 0 236px;
    text-align: left;
  }

  .hero h1 {
    max-width: 620px;
    margin-left: 0;
    font-size: clamp(48px, 14vw, 72px);
    line-height: 0.96;
  }

  .hero-copy {
    max-width: 420px;
    margin-left: 0;
  }

  .search-card {
    grid-template-columns: 1fr;
    bottom: 16px;
    width: calc(100% - 28px);
    min-height: 0;
  }

  .search-card label {
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-card input {
    font-size: 16px;
  }

  .search-card button {
    min-height: 54px;
  }

  .intro-band,
  .home-grid,
  .standard-panel,
  .checks,
  .location-story {
    grid-template-columns: 1fr;
  }

  .intro-band div {
    min-height: auto;
    padding: 22px 20px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 70px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(250px, auto);
  }

  .gallery-tile,
  .gallery-tile.wide,
  .gallery-tile.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 250px;
  }

  .home-card.raised {
    margin-top: 0;
  }

  .location-story {
    width: calc(100% - 32px);
    gap: 28px;
    padding: 10px 0 72px;
  }

  .standard {
    padding: 70px 16px;
  }

  .standard-panel {
    gap: 30px;
  }

  .cta-section,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section {
    width: calc(100% - 32px);
    padding: 68px 0;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181715;
    --paper-soft: #24211d;
    --ink: #f8f2e8;
    --muted: #b6aa9a;
    --line: rgba(255, 250, 241, 0.14);
    --white: #24211d;
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
  }

  .search-card {
    background: rgba(36, 33, 29, 0.97);
  }

  .home-meta button,
  .cta-link,
  .toast {
    background: #f8f2e8;
    color: #181715;
  }

  .home-meta button:hover,
  .cta-link:hover {
    background: #fffaf1;
  }

  .text-link {
    color: #f8f2e8;
    border-color: #f8f2e8;
  }

  .text-link:hover {
    background: #f8f2e8;
    color: #181715;
  }
}

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

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