body {
  background: #f5f4ef;
}

.site-header,
#home {
  font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}

.site-header {
  padding-block: clamp(16px, 4vw, 28px);
}

.site-header button {
  padding: 0;
  min-height: 44px;
  background: transparent;
  color: #17382e;
  font-family: inherit;
}

.site-header .logo {
  font-size: clamp(26px, 6.8vw, 38px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.site-header .partner-link {
  font-size: clamp(13px, 3.35vw, 16px);
  font-weight: 500;
}

.partner-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header button:focus-visible,
#home button:focus-visible {
  outline: 2px solid #367c62;
  outline-offset: 4px;
}

.site-main:has(#home:not(.hidden)) {
  padding-top: 0;
}

#home {
  --landing-green: #17382e;
  --landing-muted: #52665d;
  --landing-rule: #dadcd4;
  color: var(--landing-green);
}

.landing-hero {
  display: grid;
  gap: clamp(14px, 3.6vw, 24px);
}

.landing-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4.3% / 7.6%;
  background: #e3dfd0;
}

.landing-hero h1 {
  margin: 0;
  font: 750 clamp(28px, 6.6vw, 52px) / 1.12 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  letter-spacing: -0.033em;
}

.landing-hero p {
  max-width: 42ch;
  margin: clamp(12px, 3.4vw, 20px) 0;
  color: var(--landing-muted);
  font-size: clamp(16px, 3.9vw, 19px);
  line-height: 1.45;
}

.landing-cta {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  background: var(--landing-green);
  font: 650 clamp(15px, 4vw, 17px) / 1.3 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  transition: background-color 150ms ease;
}

.landing-cta:hover {
  background: #285044;
}

.landing-icon-defs {
  position: absolute;
}

.landing-perks {
  display: grid;
  gap: clamp(9px, 2.5vw, 12px);
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.landing-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(14px, 3.6vw, 17px);
  line-height: 1.5;
}

.landing-perks svg,
.landing-privacy svg {
  flex: none;
  color: #3c896c;
}

.landing-showcase,
.landing-categories,
.landing-privacy {
  margin-top: clamp(20px, 5vw, 36px);
  padding-top: clamp(19px, 5.3vw, 30px);
  border-top: 1px solid var(--landing-rule);
}

.landing-showcase {
  display: grid;
  gap: clamp(16px, 3vw, 36px);
}

.showcase-intro .eyebrow {
  color: var(--landing-muted);
}

.showcase-intro h2 {
  margin: 8px 0;
  font: 740 clamp(26px, 4.2vw, 39px) / 1.13 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.showcase-intro p {
  max-width: 39ch;
  margin: 0;
  font-size: 15px;
  color: var(--landing-muted);
}

.showcase-viewer {
  min-width: 0;
}

.showcase-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 6px;
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.showcase-rail {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  border-radius: 14px;
  background: #e9ede4;
}

.showcase-rail:focus-visible {
  outline: 2px solid #367c62;
  outline-offset: 4px;
}

.showcase-rail[data-enhanced] {
  scrollbar-width: none;
}

.showcase-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.showcase-slide img {
  display: block;
  width: 100%;
  height: auto;
  background: #e3dfd0;
}

.showcase-slide figcaption {
  padding: 12px clamp(13px, 2.5vw, 20px) 15px;
}

.showcase-slide h3 {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.35;
}

.showcase-slide p {
  margin: 3px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.4;
}

.showcase-controls:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 9px;
}

.showcase-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c4d1c5;
  border-radius: 50%;
  background: transparent;
  color: var(--landing-green);
}

.showcase-arrow:not([aria-disabled="true"]):hover {
  background: #e5ebe2;
}

.showcase-arrow[aria-disabled="true"] {
  opacity: 0.45;
  cursor: default;
}

.showcase-count {
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.landing-categories h2 {
  margin: 0 0 clamp(12px, 3.5vw, 20px);
  font: 740 clamp(18px, 4.7vw, 32px) / 1.2 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  letter-spacing: -0.022em;
}

.landing-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(13px, 3.3vw, 24px) clamp(10px, 3vw, 20px);
}

.space-card {
  display: grid;
  gap: clamp(6px, 2vw, 12px);
  padding: 0;
  border-radius: 14px;
  background: transparent;
  color: #1b201e;
  text-align: left;
  font: 700 clamp(16px, 4.1vw, 22px) / 1.25 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  letter-spacing: -0.015em;
  transition: color 150ms ease;
}

.space-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8.2% / 10.9%;
  background: #e3dfd0;
}

.space-card:hover {
  color: #367c62;
}

.space-card:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.landing-privacy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(8px, 2vw, 20px);
}

.landing-privacy h2 {
  margin: 0;
  color: #1b201e;
  font: 740 clamp(17px, 4.1vw, 23px) / 1.25 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}

.landing-privacy p {
  margin: 5px 0 0;
  color: var(--landing-muted);
  font-size: clamp(14px, 3.5vw, 17px);
  line-height: 1.45;
}

@media (min-width: 800px) {
  .landing-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: 'copy photo';
    align-items: center;
    gap: clamp(26px, 4vw, 56px);
  }

  .landing-hero-photo { grid-area: photo; }
  .landing-hero-copy { grid-area: copy; }
  .landing-hero h1 { font-size: clamp(32px, 4vw, 44px); }
  .landing-showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .showcase-intro { padding-top: 22px; }
  .landing-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .landing-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-perks li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-cta, .space-card { transition: none; }
}
