.landing-page {
  background: var(--paper);
}

.landing-page .site-header {
  background: rgba(245, 240, 232, .96);
}

.landing-hero {
  width: min(calc(100% - 3rem), var(--content));
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
  margin: 1.5rem auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.landing-hero-copy {
  padding: clamp(3.5rem, 5vw, 5.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-hero h1 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 5.2vw, 5.9rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
}

.landing-hero .hero-intro {
  max-width: 620px;
  margin-bottom: 1.8rem;
  color: rgba(23, 26, 24, .72);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.75;
}

.landing-hero-note {
  max-width: 610px;
  margin: 2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: rgba(23, 26, 24, .58);
  font-size: .75rem;
  line-height: 1.68;
}

.landing-hero-media {
  min-height: 620px;
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.landing-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 14, 0) 48%, rgba(7, 18, 14, .64));
  pointer-events: none;
}

.landing-hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03) sepia(.025);
}

.corporate-page .landing-hero-media img { object-position: 58% center; }
.relocation-page .landing-hero-media img { object-position: center; }
.medical-page .landing-hero-media img { object-position: 52% center; }
.long-stay-page .landing-hero-media img { object-position: center 58%; }

.landing-hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.55rem 1.7rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.landing-hero-media small {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.trust-strip {
  width: min(calc(100% - 3rem), var(--content));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 1.15rem auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.trust-strip div {
  min-height: 118px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child { border-right: 0; }

.trust-strip strong {
  margin-bottom: .38rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.trust-strip span {
  color: rgba(23, 26, 24, .58);
  font-size: .72rem;
  line-height: 1.55;
}

.landing-section {
  padding: clamp(6rem, 9vw, 8.5rem) max(4vw, calc((100vw - var(--content)) / 2 + 1.5rem));
}

.landing-section:not(.residence-section):not(.planning-section) {
  background: var(--paper);
}

.landing-heading {
  display: grid;
  grid-template-columns: .34fr 1fr .7fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 3rem;
}

.landing-heading .eyebrow { align-self: start; }

.landing-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 4.4vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -.032em;
  line-height: .98;
}

.landing-heading > p:last-child {
  margin: 0;
  color: rgba(23, 26, 24, .66);
  font-size: .93rem;
  line-height: 1.72;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-grid article {
  min-height: 290px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.benefit-number {
  margin-bottom: auto;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1rem;
}

.benefit-grid h3 {
  margin: 3.5rem 0 .7rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.benefit-grid p {
  margin: 0;
  color: rgba(23, 26, 24, .64);
  font-size: .84rem;
  line-height: 1.68;
}

.residence-section {
  background: var(--green-deep);
  color: var(--white);
}

.residence-section .landing-heading > p:last-child {
  color: rgba(255, 255, 255, .68);
}

.residence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.residence-pick {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-md);
  background: #132e25;
}

.residence-pick-media {
  min-height: 340px;
  overflow: hidden;
  background: #0a1712;
}

.residence-pick-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.04) sepia(.03);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.residence-pick:hover .residence-pick-media img { transform: scale(1.018); }

.residence-pick-copy {
  min-width: 0;
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.residence-pick .property-number {
  margin-bottom: .9rem;
  color: rgba(255, 255, 255, .58);
  font-size: .68rem;
}

.residence-pick h3 {
  margin-bottom: .55rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.residence-pick p {
  color: rgba(255, 255, 255, .67);
  font-size: .78rem;
  line-height: 1.62;
}

.pick-facts {
  margin: 1.1rem 0;
  padding: .75rem 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .78) !important;
  font-size: .72rem !important;
}

.pick-rate {
  margin: 0 0 1.2rem !important;
  color: var(--white) !important;
  font-family: var(--serif);
  font-size: 1rem !important;
}

.residence-pick .text-link { color: var(--white); }

.planning-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
  background: var(--paper-deep);
}

.planning-copy h2 {
  max-width: 10ch;
  margin-bottom: 1.35rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.8vw, 5rem);
  font-weight: 400;
  letter-spacing: -.032em;
  line-height: .98;
}

.planning-copy > p:last-child {
  max-width: 520px;
  color: rgba(23, 26, 24, .64);
  line-height: 1.75;
}

.planning-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
  counter-reset: planning;
}

.planning-list li {
  counter-increment: planning;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: rgba(23, 26, 24, .72);
  font-size: .9rem;
  line-height: 1.65;
}

.planning-list li::before {
  content: counter(planning, decimal-leading-zero);
  color: var(--clay);
  font-family: var(--serif);
  font-size: 1rem;
}

.notice-panel {
  margin-top: 1.6rem;
  padding: 1.15rem 1.3rem;
  border-left: 3px solid var(--clay);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
  color: rgba(23, 26, 24, .66);
  font-size: .77rem;
  line-height: 1.68;
}

.landing-cta {
  width: min(calc(100% - 3rem), var(--content));
  min-height: 480px;
  margin: 1.5rem auto;
  padding: clamp(5rem, 8vw, 7rem) max(1.5rem, 5vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--clay);
  color: var(--white);
  text-align: center;
}

.landing-cta h2 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
}

.landing-cta > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.72;
}

.landing-cta .closing-actions { justify-content: center; }

@media (max-width: 1180px) {
  .landing-hero { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .residence-grid { grid-template-columns: 1fr; }
  .residence-pick { grid-template-columns: minmax(280px, .85fr) 1.15fr; }
}

@media (max-width: 820px) {
  .landing-hero {
    width: calc(100% - 1.5rem);
    min-height: auto;
    grid-template-columns: 1fr;
    margin-top: .75rem;
  }
  .landing-hero-copy { padding: 4.2rem 1.25rem 3.4rem; }
  .landing-hero h1 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .landing-hero .button { width: 100%; }
  .landing-hero-media { min-height: min(66svh, 520px); }
  .landing-hero-media figcaption { padding: 1.2rem 1.25rem; font-size: 1rem; }
  .trust-strip { width: calc(100% - 1.5rem); margin-top: .75rem; }
  .landing-section { padding: 5.5rem 1.25rem; }
  .landing-heading { grid-template-columns: 1fr; gap: .75rem; margin-bottom: 2.4rem; }
  .landing-heading h2 { margin-bottom: .45rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 240px; }
  .benefit-grid h3 { margin-top: 2.5rem; }
  .residence-pick { grid-template-columns: minmax(230px, .9fr) 1.1fr; }
  .planning-section { grid-template-columns: 1fr; gap: 3rem; }
  .landing-cta { width: calc(100% - 1.5rem); min-height: 460px; margin-block: .75rem; padding-inline: 1.25rem; }
}

@media (max-width: 620px) {
  .landing-hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .landing-hero-media { min-height: 430px; }
  .landing-hero-media figcaption { flex-direction: column; align-items: start; gap: .6rem; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div,
  .trust-strip div:nth-child(2) { min-height: 102px; border-top: 1px solid var(--line); border-right: 0; }
  .trust-strip div:first-child { border-top: 0; }
  .landing-heading h2,
  .planning-copy h2,
  .landing-cta h2 { font-size: clamp(2.7rem, 13vw, 3.8rem); }
  .residence-pick { grid-template-columns: 1fr; }
  .residence-pick-media { min-height: 300px; }
  .landing-cta .closing-actions { width: min(100%, 430px); align-items: stretch; }
  .landing-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .residence-pick-media img { transition: none; }
}
