:root {
  --black: #000;
  --white: #fff;
  --muted: #ccc;
  --soft: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --max: 1470px;
  --side: 40px;
  --header: 64px;
  --viewport-height: 100vh;
}

@supports (height: 100dvh) {
  :root {
    --viewport-height: 100dvh;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Switzer", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

body.is-menu-open {
  overflow: hidden;
}

.home-sticky-stage {
  position: relative;
  z-index: 1;
  background: var(--black);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  isolation: isolate;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--side);
  color: var(--white);
  background: rgba(0, 0, 0, 0);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.site-header.is-solid {
  background: transparent;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.site-header.is-solid::before {
  opacity: 1;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.menu-open {
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.site-header.menu-open::before {
  position: fixed;
  background: rgba(0, 0, 0, 0.94);
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 28px;
  font-size: 23px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 15px;
  line-height: 1;
}

.nav-links > a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  color: var(--white);
}

.nav-links > a:not(.btn)::after {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav-links > a:not(.btn):hover::after,
.nav-links > a:not(.btn):focus-visible::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links > a[aria-current="page"] {
  color: var(--white);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.22);
}

.lang-switcher button {
  height: 26px;
  min-width: 34px;
  padding: 0 8px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.lang-switcher button.is-active {
  color: var(--black);
  background: var(--white);
}

.nav-cta {
  margin-left: 20px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: opacity 180ms ease, transform 180ms ease;
}

.btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 77px;
  height: 32px;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.btn span {
  grid-area: 1 / 1;
  transition: transform 260ms ease;
}

.btn span + span {
  transform: translateY(24px);
}

.btn:hover span:first-child {
  transform: translateY(-24px);
}

.btn:hover span + span {
  transform: translateY(0);
}

.btn-light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0.32);
}

.section-frame,
.property {
  position: relative;
  min-height: var(--viewport-height);
  overflow: hidden;
}

body[data-page="home"] .hero.section-frame,
.featured-stack .section-frame {
  position: sticky;
  top: 0;
  z-index: 1;
  flex: none;
  height: var(--viewport-height);
  min-height: var(--viewport-height);
}

.featured-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: stretch;
  justify-content: center;
  padding-bottom: 50px;
  background: var(--black);
  overflow: visible;
  width: 100%;
}

.featured-group {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  overflow: visible;
}

body[data-page="home"] .story,
body[data-page="home"] .communities,
body[data-page="home"] .testimonials,
body[data-page="home"] .press,
body[data-page="home"] .journey,
body[data-page="home"] .footer {
  position: relative;
  z-index: 2;
}

.hero {
  isolation: isolate;
}

.hero-image,
.property > img,
.journey-media img,
.journey-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 420ms ease, transform 900ms ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.16) 40%, rgba(0, 0, 0, 0.58)),
    rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: absolute;
  left: var(--side);
  bottom: 40px;
  z-index: 2;
  width: 550px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
}

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

h1,
h2,
h3 {
  font-weight: 500;
}

h1 {
  margin-bottom: 22px;
  font-size: 50px;
  line-height: 55px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  font-size: 30px;
  line-height: 33px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
}

.property .shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.62)),
    rgba(0, 0, 0, 0.22);
}

.property-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 550px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.property-copy p {
  margin-top: 10px;
  color: var(--white);
  font-size: 16px;
  line-height: 22px;
}

.actions {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
}

.story {
  display: grid;
  grid-template-columns: minmax(360px, 550px) minmax(360px, 565px);
  justify-content: space-between;
  gap: 72px;
  min-height: calc(var(--viewport-height) * 1.3);
  padding: 160px 90px 120px;
  background: var(--black);
}

.story-copy {
  align-self: center;
}

.story-copy h2 {
  margin-bottom: 18px;
}

.story-copy > p:not(.eyebrow),
.founder-block p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.story-copy .btn {
  margin-top: 24px;
}

.founder-block {
  display: grid;
  gap: 60px;
}

.founder-block img {
  width: 565px;
  height: 659px;
  object-fit: cover;
}

.communities {
  position: relative;
  overflow: hidden;
  padding: 276px 0 62px;
  background: var(--black);
}

.communities h2 {
  margin-bottom: 45px;
  text-align: center;
}

.marquee-shell {
  position: relative;
  overflow: hidden;
}

.marquee-shell::before,
.marquee-shell::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 110px;
  height: 100%;
  pointer-events: none;
}

.marquee-shell::before {
  left: 0;
  background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0));
}

.marquee-shell::after {
  right: 0;
  background: linear-gradient(270deg, #000, rgba(0, 0, 0, 0));
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 15px;
  animation: marquee 46s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(-10px);
  }
  to {
    transform: translateX(-1875px);
  }
}

.community-card {
  position: relative;
  flex: 0 0 360px;
  width: 360px;
  height: 500px;
  overflow: hidden;
  background: #111;
}

.community-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.58));
}

.community-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-card p {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  z-index: 1;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  color: var(--white);
}

.testimonials {
  position: relative;
  min-height: 760px;
  padding: 88px var(--side) 80px;
  background: var(--black);
}

.testimonials > h2 {
  margin-bottom: 34px;
}

.testimonial-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 556px) minmax(420px, 650px);
  align-items: center;
  justify-content: space-between;
  gap: 90px;
}

.testimonial-media {
  width: 556px;
  height: 558px;
  overflow: hidden;
  background: #111;
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.testimonial-copy {
  max-width: 650px;
  padding-right: 50px;
}

.stars {
  margin-bottom: 28px;
  font-size: 23px;
  line-height: 1;
  color: var(--white);
}

.quote {
  max-width: 620px;
  color: var(--white);
  font-size: 20px;
  line-height: 26px;
}

.name {
  margin-top: 28px;
  color: var(--white);
  font-size: 18px;
  line-height: 24px;
}

.role {
  color: var(--muted);
  font-size: 16px;
}

.testimonial-controls {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 10px;
}

.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--white);
  background: var(--white);
  cursor: pointer;
}

.testimonial-controls img {
  width: 20px;
  height: 20px;
}

.press {
  padding: 86px var(--side) 251px;
  background: var(--black);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.press-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  color: var(--white);
}

.press-card img {
  width: 100%;
  aspect-ratio: 450 / 496;
  object-fit: cover;
  background: #111;
}

.press-card p {
  color: var(--white);
  font-size: 14px;
  line-height: 19px;
}

.press-card h3 {
  max-width: 440px;
}

.journey {
  padding: 50px var(--side);
  background: var(--black);
}

.journey-media {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 600px;
  margin: 0 auto;
  aspect-ratio: 1.8666666667 / 1;
  overflow: hidden;
  background: #111;
}

.journey-media .shade {
  background: rgba(0, 0, 0, 0.45);
}

.journey-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  text-align: center;
}

.journey-copy h2 {
  width: min(550px, 92%);
  font-size: 45px;
  line-height: 50px;
}

.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(340px, 390px) 120px 130px minmax(260px, 330px);
  justify-content: space-between;
  gap: 48px;
  padding: 66px var(--side) 74px;
}

.newsletter > p {
  width: 350px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  width: 350px;
  margin-top: 18px;
  background: #1d1d1d;
}

.newsletter input {
  min-width: 0;
  height: 46px;
  border: 0;
  padding: 0 14px;
  color: var(--white);
  background: #1d1d1d;
  outline: none;
}

.newsletter input::placeholder {
  color: var(--white);
  opacity: 0.86;
}

.newsletter button {
  height: 36px;
  margin: 5px;
  border: 0;
  padding: 0 18px;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
}

.form-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.newsletter .form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 14px 10px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 18px;
}

.footer-column p {
  color: var(--white);
  font-size: 15px;
}

.footer-column a,
.footer-column span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-column {
  gap: 9px;
}

.contact-column p:not(:first-child) {
  margin-top: 7px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 66px;
  padding: 0 var(--side);
  border-top: 1px solid var(--line);
  color: var(--white);
  font-size: 15px;
}

.footer-bottom > :last-child {
  justify-self: end;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 700ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-frame.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-app {
  min-height: var(--viewport-height);
  background: var(--black);
}

.page-hero {
  display: grid;
  align-content: end;
  min-height: var(--viewport-height);
  padding: 150px var(--side) 40px;
}

.page-hero.compact {
  min-height: 330px;
  padding-bottom: 52px;
}

.page-hero h1 {
  width: min(550px, 100%);
  margin-bottom: 0;
  font-size: 50px;
  line-height: 55px;
}

.about-hero {
  min-height: auto;
  padding-top: 156px;
  padding-bottom: 0;
}

.about-hero h1 {
  width: min(630px, 100%);
}

.wide-image {
  width: 100%;
  height: 620px;
  margin-top: 48px;
  object-fit: cover;
  background: #111;
}

.about-hero-image {
  height: clamp(430px, 47vw, 620px);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(420px, 530px);
  gap: 90px;
  padding: 34px var(--side) 118px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px;
}

.about-stats strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
}

.about-stats p {
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
}

.about-copy {
  align-self: start;
}

.about-copy p,
.detail-lede,
.article-body p,
.location-section p,
.detail-two-col p,
.detail-two-col li {
  color: var(--muted);
  font-size: 18px;
  line-height: 27px;
}

.about-story {
  padding: 36px var(--side) 138px;
  border-bottom: 1px solid var(--line);
}

.about-story-row {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(560px, 1fr);
  align-items: center;
  gap: 130px;
  min-height: 720px;
}

.about-story-row + .about-story-row {
  margin-top: 34px;
}

.about-story-row img {
  width: 100%;
  height: clamp(560px, 52vw, 720px);
  object-fit: cover;
  background: #111;
}

.about-story-copy h2 {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 24px;
}

.about-story-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.values-section,
.team-section,
.properties-list,
.blog-list-page {
  padding: 92px var(--side) 110px;
}

.values-section h2,
.team-section h2 {
  margin-bottom: 44px;
}

.values-grid,
.team-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.values-grid article,
.team-grid article {
  min-width: 0;
}

.value-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #111;
}

.value-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.value-card > div:last-child {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.value-card img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.values-grid img,
.team-grid img {
  width: 100%;
  object-fit: cover;
  background: #111;
}

.values-grid img {
  aspect-ratio: 1 / 1.15;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-grid img {
  aspect-ratio: 2 / 3;
}

.values-grid h3,
.team-grid h3 {
  margin-top: 18px;
}

.value-card h3 {
  margin-top: 0;
}

.values-grid p,
.team-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 21px;
}

.subpage-cta {
  padding-top: 0;
}

.properties-list {
  display: grid;
  gap: 20px;
  padding-top: 0;
}

.blog-list-page {
  padding-top: 0;
}

.blog-list-page .press-card img {
  aspect-ratio: 1 / 1;
}

.property-feature-card,
.listing-card {
  min-width: 0;
}

.listing-image {
  position: relative;
  display: block;
  aspect-ratio: 530 / 313;
  overflow: hidden;
  background: #111;
  color: var(--white);
  text-decoration: none;
}

.property-feature-card .listing-image {
  aspect-ratio: 1390 / 745;
}

.listing-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 700ms ease;
}

.listing-image:hover img {
  transform: scale(1.045);
}

.listing-card .listing-image:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.listing-card .listing-image::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 0;
  height: 0;
  border-top: 16px solid var(--white);
  border-left: 16px solid transparent;
}

.listing-image .shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.68)),
    rgba(0, 0, 0, 0.18);
}

.listing-image > div:last-child {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateY(-50%);
}

.listing-image h2 {
  width: min(520px, 100%);
}

.listing-image p {
  margin-top: 8px;
  color: var(--white);
  font-size: 15px;
  line-height: 20px;
}

.detail-page,
.article-page {
  padding: 130px var(--side) 110px;
}

.detail-page,
.article-page {
  width: min(800px, calc(100% - (var(--side) * 2)));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.detail-page h1,
.article-page h1 {
  width: min(930px, 100%);
  margin-top: 20px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 63px;
}

.detail-page h1 {
  font-size: 50px;
  line-height: 55px;
}

.article-page h1 {
  font-size: 50px;
  line-height: 55px;
}

.back-link {
  display: inline-flex;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}

.back-link:hover {
  color: var(--white);
}

.detail-lede {
  width: min(760px, 100%);
}

.detail-price {
  margin-top: 22px;
  font-size: 24px;
  line-height: 30px;
}

.gallery-shell {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  background: #111;
}

.gallery-track {
  display: flex;
  aspect-ratio: 16 / 9;
  height: auto;
  transition: transform 420ms ease;
}

.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
}

.gallery-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--white);
  background: var(--white);
  cursor: pointer;
}

.gallery-controls img {
  width: 22px;
  height: 22px;
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.property-facts div {
  min-height: 134px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.property-facts div:last-child {
  border-right: 0;
}

.property-facts p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 19px;
  text-transform: uppercase;
}

.property-facts strong {
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
}

.property-facts .fact-address strong {
  display: block;
  font-size: 15px;
  line-height: 21px;
}

.detail-two-col {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.8fr);
  gap: 110px;
  padding-top: 86px;
}

.detail-section {
  padding-top: 86px;
}

.detail-two-col h2,
.detail-section h2,
.location-section h2 {
  margin-bottom: 20px;
}

.detail-two-col p + p,
.detail-section p + p,
.location-section p + p {
  margin-top: 16px;
}

.detail-two-col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.feature-section {
  padding-top: 74px;
}

.feature-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.location-section {
  margin-top: 90px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.detail-video {
  position: relative;
  margin-top: 74px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.detail-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-map {
  width: 100%;
  height: 400px;
  margin-top: 34px;
  overflow: hidden;
  background: #111;
}

.factory-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-name {
  color: var(--white);
}

.detail-cta {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 90px var(--side) 96px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.detail-cta h2 {
  width: min(620px, 100%);
  font-size: 44px;
  line-height: 49px;
}

.detail-cta > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 22px;
}

.article-category,
.article-date {
  color: var(--muted);
  font-size: 14px;
  line-height: 19px;
}

.article-date {
  display: block;
  margin-top: 4px;
  text-align: right;
}

.article-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin-top: 20px;
  object-fit: cover;
  background: #111;
}

.article-body {
  display: grid;
  gap: 40px;
  width: min(800px, 100%);
  margin: 5px auto 0;
}

.article-body h2,
.article-body h3 {
  margin-bottom: 15px;
  text-transform: none;
}

.article-body h3 {
  font-size: 24px;
  line-height: 29px;
}

.article-body p {
  font-size: 16px;
  line-height: 24px;
}

.article-body p + p {
  margin-top: 15px;
}

.article-body ul {
  display: grid;
  gap: 0;
  margin: 15px 0 0;
  padding-left: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.article-body li {
  padding-left: 0;
}

.article-body ul + p {
  margin-top: 15px;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1fr);
  gap: 76px;
  min-height: var(--viewport-height);
  padding: 150px var(--side) 94px;
  align-items: start;
}

.contact-info,
.contact-form {
  min-width: 0;
}

.contact-info h1 {
  width: min(550px, 100%);
}

.contact-stack {
  display: grid;
  gap: 30px;
  width: min(560px, 100%);
  margin-top: 54px;
}

.contact-stack div {
  min-width: 0;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.contact-stack p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.contact-stack a,
.contact-stack span {
  display: block;
  max-width: 100%;
  font-size: 18px;
  line-height: 25px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 8px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #1d1d1d;
  border-radius: 0;
  color: var(--white);
  background: #1b1b1b;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #d7d7d7;
  opacity: 1;
}

.contact-form input {
  height: 54px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
  padding: 16px;
}

.contact-form button {
  height: 54px;
  border: 0;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
}

.contact-form .form-status {
  margin-top: -4px;
}

.error-page {
  display: grid;
  min-height: var(--viewport-height);
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 160px var(--side) 80px;
  text-align: center;
}

.error-page h1 {
  width: min(550px, 100%);
  margin-bottom: 8px;
}

@media (max-width: 1199px) {
  :root {
    --side: 32px;
  }

  .story {
    grid-template-columns: minmax(300px, 1fr) minmax(330px, 430px);
    gap: 50px;
    padding: 140px 60px 105px;
  }

  .founder-block img {
    width: 430px;
    height: 560px;
  }

  .testimonial-stage {
    grid-template-columns: minmax(320px, 48%) minmax(360px, 1fr);
    gap: 56px;
  }

  .testimonial-media {
    width: 100%;
    height: 520px;
  }

  .footer-main {
    grid-template-columns: minmax(310px, 1fr) repeat(3, minmax(120px, auto));
    gap: 34px;
  }

  .about-intro,
  .about-story,
  .detail-two-col,
  .contact-page {
    gap: 56px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-image {
    aspect-ratio: 530 / 330;
  }

  .property-feature-card .listing-image {
    aspect-ratio: 1120 / 530;
  }

  .gallery-track {
    height: auto;
  }

  .article-hero-image {
    height: auto;
  }

  .featured-stack {
    gap: 40px;
  }

  .featured-group {
    gap: 20px;
  }
}

@media (max-width: 810px) {
  :root {
    --side: 20px;
    --header: 60px;
  }

  .site-header {
    padding: 14px var(--side);
  }

  .brand {
    font-size: 20px;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 38px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .site-header.menu-open .nav-links {
    display: grid;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links > a:not(.btn) {
    height: 42px;
    padding: 0;
  }

  .nav-links > a:not(.btn)::after {
    left: 0;
    right: auto;
    bottom: 8px;
    width: 32px;
  }

  .lang-switcher {
    width: max-content;
    margin: 8px 0 0;
  }

  .nav-cta {
    margin: 12px 0 0;
    width: 150px;
  }

  .section-frame,
  .property {
    min-height: 684px;
    min-height: max(684px, var(--viewport-height));
  }

  body[data-page="home"] .hero.section-frame,
  .featured-stack .section-frame {
    height: 684px;
    height: max(684px, var(--viewport-height));
    min-height: 684px;
    min-height: max(684px, var(--viewport-height));
  }

  .featured-stack {
    gap: 36px;
    padding-bottom: 36px;
  }

  .featured-group {
    gap: 14px;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
  }

  h1 {
    width: 320px;
    max-width: 100%;
    font-size: 30px;
    line-height: 34px;
  }

  h2 {
    font-size: 26px;
    line-height: 30px;
  }

  .property-copy {
    width: min(86%, 420px);
  }

  .property-copy p {
    font-size: 14px;
    line-height: 20px;
  }

  .story {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 90px 20px 80px;
    gap: 56px;
  }

  .story-copy {
    align-self: auto;
  }

  .founder-block {
    gap: 28px;
  }

  .founder-block img {
    width: 100%;
    height: auto;
    aspect-ratio: 565 / 659;
  }

  .communities {
    padding: 82px 0 90px;
  }

  .marquee-shell::before,
  .marquee-shell::after {
    width: 50px;
  }

  .community-card {
    flex-basis: 270px;
    width: 270px;
    height: 390px;
  }

  @keyframes marquee {
    from {
      transform: translateX(-10px);
    }
    to {
      transform: translateX(-1425px);
    }
  }

  .testimonials {
    min-height: auto;
    padding: 76px 20px 88px;
  }

  .testimonial-stage {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .testimonial-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .testimonial-copy {
    padding-right: 0;
  }

  .quote {
    font-size: 18px;
    line-height: 24px;
  }

  .testimonial-controls {
    right: 0;
    bottom: -48px;
  }

  .press {
    padding: 72px 20px 76px;
  }

  .section-title-row {
    align-items: start;
    gap: 20px;
  }

  .press-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .press-card img {
    aspect-ratio: 450 / 390;
  }

  .journey {
    padding: 50px 20px;
  }

  .journey-media {
    min-height: 430px;
    aspect-ratio: auto;
  }

  .journey-copy h2 {
    font-size: 32px;
    line-height: 37px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 56px 20px 52px;
  }

  .newsletter > p,
  .newsletter form {
    width: 100%;
  }

  .newsletter form {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
    padding: 22px 20px 28px;
  }

  .footer-bottom > :last-child {
    justify-self: start;
  }

  .page-hero {
    min-height: 684px;
    min-height: max(684px, var(--viewport-height));
    padding: 120px 20px 28px;
  }

  .about-hero {
    min-height: auto;
    padding: 120px 20px 0;
  }

  .page-hero.compact {
    min-height: 300px;
    padding-bottom: 42px;
  }

  .page-hero h1,
  .detail-page h1,
  .article-page h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .wide-image {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: 34px;
  }

  .about-intro,
  .about-story,
  .detail-two-col,
  .location-section,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .about-intro {
    gap: 38px;
    padding: 34px 20px 78px;
  }

  .about-story {
    gap: 34px;
    padding: 0 20px 108px;
  }

  .about-story-row {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .about-story-row + .about-story-row {
    margin-top: 72px;
  }

  .about-story-row img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-copy p,
  .detail-lede,
  .article-body p,
  .location-section p,
  .detail-two-col p,
  .detail-two-col li {
    font-size: 16px;
    line-height: 24px;
  }

  .value-card {
    min-height: 360px;
  }

  .values-section,
  .team-section,
  .properties-list,
  .blog-list-page {
    padding: 70px 20px 82px;
  }

  .values-grid,
  .team-grid,
  .listing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-image,
  .property-feature-card .listing-image {
    aspect-ratio: 4 / 3;
  }

  .listing-image > div:last-child {
    left: 18px;
    right: 18px;
    bottom: auto;
  }

  .listing-image .actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .detail-page,
  .article-page {
    padding: 112px 20px 80px;
  }

  .detail-page h1,
  .article-page h1 {
    margin-top: 18px;
  }

  .gallery-track,
  .article-hero-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-shell,
  .article-hero-image {
    margin-top: 38px;
  }

  .property-facts {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .property-facts div {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .property-facts div:last-child {
    border-bottom: 0;
  }

  .property-facts strong {
    font-size: 24px;
    line-height: 30px;
  }

  .detail-two-col {
    gap: 48px;
    padding-top: 62px;
  }

  .detail-section {
    padding-top: 62px;
  }

  .feature-section {
    padding-top: 52px;
  }

  .location-section {
    gap: 26px;
    margin-top: 58px;
  }

  .detail-video {
    margin-top: 58px;
    aspect-ratio: 4 / 3;
  }

  .factory-map {
    height: 320px;
    margin-top: 28px;
  }

  .detail-cta {
    padding: 72px 20px 78px;
  }

  .detail-cta h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .article-body {
    gap: 38px;
    margin-top: 54px;
  }

  .contact-page {
    gap: 50px;
    min-height: auto;
    padding: 112px 20px 78px;
  }

  .contact-stack {
    margin-top: 36px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .error-page {
    padding: 110px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 420px) {
  .actions {
    gap: 8px;
  }

  .btn {
    padding: 0 12px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0;
    background: transparent;
    gap: 8px;
  }

  .newsletter input,
  .newsletter button {
    height: 44px;
    margin: 0;
  }

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

  .listing-image,
  .property-feature-card .listing-image {
    aspect-ratio: 4 / 3;
  }

  .contact-stack a,
  .contact-stack span {
    font-size: 16px;
    line-height: 23px;
  }
}
