@font-face {
  font-family: P052;
  src: url(assets/p052.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: P052;
  src: url(assets/p052-italic.woff) format("woff");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url(assets/open-sans.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url(assets/open-sans-semibold.woff) format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  --spruce: #19392d;
  --oat: #f5efdf;
  --moss: #cbd3af;
  --clay: #b65437;
  --ink: #1b211c;
  --line: #19392d37;
  --display: P052, "Palatino Linotype", Palatino, Georgia, serif;
  --gutter: clamp(1.25rem, 5.55vw, 9rem);
  --shell: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--oat);
  color: var(--spruce);
  font-family: "Open Sans", system-ui, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: 1rem;
  background: var(--oat);
  padding: .5rem 1rem;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 5.25rem;
}
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(160px, 16vw, 207px); height: auto; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 2.45vw, 2.2rem); }
nav a {
  text-decoration: none;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
}
nav a:hover:not(.button) { text-decoration: underline; text-underline-offset: .35em; }
.button, .menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: .65rem 1.35rem;
  font: 600 .9375rem/1.35 "Open Sans", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button-outline, .menu-button { background: transparent; color: var(--spruce); }
.button-outline:hover, .menu-button:hover { background: var(--spruce); color: var(--oat); }
.button-light { background: var(--oat); border-color: var(--oat); color: var(--spruce); }
.button-light:hover { background: var(--moss); border-color: var(--moss); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(4rem, 7.3vw, 7.8rem); letter-spacing: -.042em; line-height: .96; }
h2 { font-size: clamp(2.6rem, 4.65vw, 4.7rem); letter-spacing: -.034em; }
h3 { font-size: clamp(1.65rem, 2.65vw, 2.65rem); letter-spacing: -.022em; }
p { margin: 0; }
h2 + p, h3 + p { margin-top: .9rem; }
.eyebrow {
  margin-bottom: .95rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero { display: grid; grid-template-columns: 1.02fr 1fr; background: var(--spruce); color: var(--oat); }
.hero-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: clamp(33rem, 42vw, 47rem);
  padding: 3rem 2rem 5.25rem max(var(--gutter), calc((100vw - var(--shell)) / 2));
  background: url(assets/contours.svg) left bottom / 100% auto no-repeat;
}
.hero-content { width: 100%; }
.hero .eyebrow { color: var(--moss); margin-bottom: 1.5rem; }
.hero h1 em { font-weight: 400; }
.hero-intro { margin-top: 1.55rem; max-width: 23rem; font-size: clamp(1.05rem, 1.43vw, 1.24rem); }
.hero .button { margin-top: 1.65rem; }
.hero-image { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 52%; }
.hero-image { aspect-ratio: 1.15; }

.section { padding-block: clamp(3.75rem, 6vw, 6.85rem); }
.section-intro { max-width: 45rem; margin-bottom: 2.15rem; }
.section-intro > p:last-child { max-width: 41rem; }
.stay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); }
.stay-card { border: 1px solid var(--line); }
.stay-card img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.stay-copy { padding: clamp(1.1rem, 2.15vw, 2rem); }
.image-note { color: #536253; font-size: .8125rem; margin-top: .75rem; }
.ways { background: var(--moss); }
.ways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2rem); }
.way-card { background: var(--oat); display: flex; flex-direction: column; padding: clamp(1.35rem, 3.2vw, 3rem); }
.way-card > p:not(.eyebrow) { margin-bottom: 1.5rem; }
.way-card details { margin-top: auto; }
details { border-top: 1px solid var(--line); padding-block: .9rem; }
details > p { padding-top: .65rem; }
summary {
  position: relative;
  padding-right: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  inset: .56em .23em auto auto;
  width: .56em;
  height: .56em;
  border: solid var(--clay);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
details[open] summary::after { transform: rotate(225deg); inset-block-start: .82em; }
.experience-grid, .regen-grid, .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}
.experience-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: 48% 48% 0 0 / 31% 31% 0 0;
}
.experience-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.experience-list li { padding: .62rem 0; border-top: 1px solid var(--line); }
.experience-list li:last-child { border-bottom: 1px solid var(--line); }
.regeneration { background: var(--spruce); color: var(--oat); }
.regeneration .eyebrow { color: var(--moss); }
.regen-grid, .about-grid { align-items: start; }
.impact-list > div { border-top: 1px solid #cbd3af64; padding-block: 1.1rem; }
.impact-list > div:last-child { padding-bottom: 0; }
.impact-list h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); }
.impact-list p { margin-top: .45rem; }
.about-details details:last-child { border-bottom: 1px solid var(--line); }
.footer { background: var(--spruce); color: var(--oat); }
.footer .footer-inner { display: block; padding-block: 1.8rem; }
.footer-main, .footer-bottom, .footer-social { display: flex; align-items: center; flex-wrap: wrap; }
.footer-main, .footer-bottom { justify-content: space-between; gap: 1rem 2rem; }
.footer-bottom { margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid #cbd3af64; }
.footer-social { gap: .75rem; font-size: .875rem; }
.footer-social nav { gap: .45rem; }
.footer .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid #cbd3af85;
  border-radius: 999px;
}
.footer .social-icon:hover { background: #f5efdf1a; border-color: var(--oat); }
.social-icon svg { width: 1.125rem; height: 1.125rem; }
.social-hypha { padding-inline: .5rem; }
.social-hypha img { object-fit: contain; filter: brightness(0) invert(1); }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .header-inner { flex-wrap: wrap; }
.legal-page { max-width: 48rem; }
.legal-page h1 { font-size: clamp(2.65rem, 7vw, 5rem); line-height: 1.04; }
.legal-page h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
.legal-date, .legal-page p + p { margin-top: .75rem; }
.legal-date { color: #536253; font-size: .875rem; }
.legal-page section { margin-top: 2rem; }

@media (max-width: 900px) {
  .hero-copy { padding-right: 1rem; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: .5rem; min-height: 4.2rem; padding-block: .65rem; }
  .header nav { width: 100%; align-items: stretch; flex-direction: column; gap: 0; }
  .header nav a { padding: .65rem 0; }
  .header nav a:not(.button) { border-top: 1px solid var(--line); }
  .header nav .button { align-self: flex-start; margin-block: .3rem .6rem; padding-inline: 1.2rem; }
  .menu-button { min-height: 2.65rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 0; padding: 3.1rem var(--gutter) 3.4rem; }
  .hero h1 { font-size: clamp(3.8rem, 12vw, 6rem); }
  .hero-image { max-height: 29rem; aspect-ratio: 1.45; }
  .stay-grid, .experience-grid, .regen-grid, .about-grid { grid-template-columns: 1fr; }
  .experience-image { max-height: 30rem; aspect-ratio: 1.35; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; padding-block: 1.5rem; }
  .footer nav { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .ways-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.header .header-inner { gap: clamp(.55rem, 1.6vw, 1.5rem); }
.header nav { gap: clamp(.6rem, 1.5vw, 1.45rem); margin-left: auto; }
.header .button { padding-inline: clamp(.7rem, 1.3vw, 1.25rem); }
.button-primary { background: var(--spruce); color: var(--oat); border-color: var(--spruce); }
.button-primary:hover { background: #25513f; border-color: #25513f; }
.button-primary:focus-visible { outline-color: var(--spruce); }
.sign-in {
  flex-shrink: 0;
  gap: .45rem;
  border-radius: 999px;
  white-space: nowrap;
}
.sign-in img {
  flex: 0 0 22px;
  padding: 2px;
  border-radius: 50%;
  background: var(--oat);
}

.rental-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-bottom: 1.2rem; }
.rental-actions span { color: #536253; font-size: .8125rem; }

.partners { border-top: 1px solid var(--line); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .75rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}
.partner-grid a {
  display: grid;
  min-height: 8.5rem;
  height: 100%;
  grid-template-rows: 2.8rem auto;
  place-items: center;
  align-content: center;
  gap: .75rem;
  padding: 1rem .75rem;
  background: #fbf8ef;
  border: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
}
.partner-grid a:hover { border-color: var(--spruce); }
.partner-grid a:hover span { text-decoration: underline; text-underline-offset: .25em; }
.partner-grid img { width: min(100%, 9.5rem); height: 100%; object-fit: contain; }
.partner-grid img[src$="hypha.webp"] { max-width: 6.75rem; }

.auth-page { max-width: 42rem; }
.auth-page h1 { font-size: clamp(2.8rem, 6vw, 4.7rem); }
.auth-page > p:not(.eyebrow), .auth-page form { margin-top: 1.2rem; }
.auth-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.2rem; margin-top: 1.5rem; }
.cp-signin-dialog {
  width: min(31rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 1px solid var(--line);
  padding: clamp(1.3rem, 4vw, 2.5rem);
  background: var(--oat);
  color: var(--spruce);
  box-shadow: 0 1.2rem 4rem #13291e40;
}
.cp-signin-dialog::backdrop { background: #14281fc4; }
.cp-signin-dialog h2 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
.cp-dialog-brand { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; font-weight: 600; }
.cp-dialog-kicker { font-size: .875rem; margin-bottom: .35rem; }
.cp-dialog-description, .cp-dialog-window-note, .cp-dialog-status { margin-top: .75rem; }
.cp-dialog-close {
  position: absolute;
  inset: .6rem .65rem auto auto;
  border: 0;
  padding: .2rem .55rem;
  background: none;
  color: var(--spruce);
  font-size: 1.5rem;
  cursor: pointer;
}
.cp-dialog-email-label { display: block; margin: 1rem 0 .25rem; font-weight: 600; }
.cp-dialog-email { width: 100%; min-height: 2.75rem; padding: .5rem .7rem; font: inherit; border: 1px solid var(--spruce); background: #fffdf6; color: var(--ink); }
.cp-dialog-continue { width: 100%; margin-top: .65rem; }
.cp-dialog-other, .cp-dialog-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.cp-dialog-other { display: block; margin: .75rem auto 0; font-weight: 600; }
.cp-dialog-footer { display: flex; flex-wrap: wrap; gap: .45rem .65rem; margin-top: .9rem; font-size: .875rem; }
.cp-dialog-status.is-error, .cp-auth-notice.is-error { color: #8d3528; }
.cp-auth-notice {
  position: fixed;
  inset: auto 1rem 1rem auto;
  max-width: calc(100% - 2rem);
  padding: .75rem 1rem;
  background: var(--oat);
  border: 1px solid var(--line);
  z-index: 3;
}

@media (max-width: 1000px) {
  .header .header-inner { flex-wrap: wrap; gap: .5rem; min-height: 4.2rem; padding-block: .65rem; }
  .header .menu-button { margin-left: auto; min-height: 2.65rem; padding-inline: .65rem; }
  .header .sign-in { min-height: 2.65rem; order: 0; }
  .header nav { order: 1; width: 100%; align-items: stretch; flex-direction: column; gap: 0; }
  .header nav a { padding: .65rem 0; }
  .header nav a:not(.button) { border-top: 1px solid var(--line); }
  .header nav .button { align-self: flex-start; margin-block: .3rem .6rem; padding-inline: 1.1rem; }
  .header .brand img { width: 160px; }
}
@media (max-width: 340px) {
  .header .header-inner { justify-content: flex-start; }
  .header .menu-button { margin-left: 0; }
}
