:root {
  color-scheme: light dark;
  --bg: #f4eee4;
  --surface: #fffaf2;
  --surface-strong: #e8f1ef;
  --ink: #18201f;
  --muted: #65706d;
  --line: rgba(24, 32, 31, 0.14);
  --accent: #126b65;
  --accent-strong: #0c4f4b;
  --coral: #d86f56;
  --shadow: 0 24px 70px rgba(51, 74, 70, 0.16);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101817;
    --surface: #172421;
    --surface-strong: #20312e;
    --ink: #f2eee5;
    --muted: #b3beb9;
    --line: rgba(242, 238, 229, 0.16);
    --accent: #65c7bc;
    --accent-strong: #99ddd5;
    --coral: #e3917e;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.proof-strip,
.neighborhoods {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 850;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent-strong);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.nav-cta {
  padding: 0 18px;
  background: var(--ink);
  color: var(--bg);
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button:active,
.nav-cta:active {
  transform: translateY(1px) scale(0.99);
}

.primary {
  background: var(--accent);
  color: #fffaf2;
}

.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

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

.hero {
  display: grid;
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
  padding: clamp(42px, 7vw, 82px) 0 52px;
}

.hero-copy {
  max-width: 650px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3.7rem, 7vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img,
.media-panel img,
.work-tile.photo img,
.advantage-card.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 720;
}

.proof-strip p {
  margin: 0;
}

.intro,
.work-section,
.community {
  padding: clamp(76px, 10vw, 128px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 690px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.section-heading p,
.content-panel p,
.community-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.advantage-card,
.work-tile,
.community-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.advantage-card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
}

.advantage-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent-strong);
  font-weight: 850;
}

.advantage-card p,
.work-tile p,
.community-card li {
  color: var(--muted);
}

.advantage-card.large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface-strong);
}

.advantage-card.large span {
  margin-bottom: auto;
}

.advantage-card.image-card {
  overflow: hidden;
  padding: 0;
}

.advantage-card.coral {
  background: color-mix(in srgb, var(--coral) 24%, var(--surface));
}

.stay-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: 44px 0 clamp(76px, 10vw, 128px);
}

.media-panel {
  overflow: hidden;
  min-height: 540px;
  border-radius: var(--radius);
}

.content-panel {
  padding: clamp(8px, 2vw, 28px) 0;
}

.neighborhoods {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.neighborhoods span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--ink);
  font-weight: 720;
}

.work-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
  grid-auto-rows: 240px;
  gap: 16px;
}

.work-tile {
  padding: clamp(22px, 3vw, 32px);
}

.work-tile.tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface-strong);
}

.work-tile.sea {
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
}

.work-tile.photo {
  grid-column: span 2;
  overflow: hidden;
  padding: 0;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
}

.community-copy {
  max-width: 620px;
}

.community-card {
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.community-label {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-weight: 850;
}

.community-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.join-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.site-footer p {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-media,
  .advantage-card,
  .work-tile,
  .community-card {
    animation: rise-in 680ms both cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-media {
    animation-delay: 90ms;
  }

  .advantage-card:nth-child(2),
  .work-tile:nth-child(2) {
    animation-delay: 90ms;
  }

  .advantage-card:nth-child(3),
  .work-tile:nth-child(3) {
    animation-delay: 150ms;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .stay-work,
  .community {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-media,
  .media-panel {
    min-height: 360px;
  }

  .advantage-grid,
  .work-layout {
    grid-template-columns: 1fr;
  }

  .advantage-card.large,
  .work-tile.tall,
  .work-tile.photo {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

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

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .section-shell,
  .proof-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

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

  .button {
    width: 100%;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    font-size: 0.94rem;
  }

  .hero-media,
  .media-panel {
    min-height: 300px;
  }

  .work-layout {
    grid-auto-rows: auto;
  }

  .work-tile.photo {
    min-height: 260px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
