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

.editorial-hero {
  width: min(100%, var(--content));
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  margin-inline: auto;
  padding: clamp(4.5rem, 8vw, 7rem) max(3vw, 1.5rem);
}

.editorial-hero-copy { max-width: 700px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.4rem; color: rgba(23, 26, 24, .58); font-size: .72rem; }
.breadcrumb a { border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-color: currentColor; }
.editorial-hero h1,
.journal-header h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5.8vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .95;
}
.editorial-hero .hero-intro { max-width: 660px; }
.editorial-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 2rem 0 0; color: rgba(23, 26, 24, .58); font-size: .74rem; }
.editorial-hero-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--stone); box-shadow: var(--shadow-soft); }
.editorial-hero-media img { min-height: 470px; aspect-ratio: 4 / 3; object-fit: cover; }
.editorial-hero-media figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; background: var(--white); color: rgba(23, 26, 24, .65); font-size: .72rem; }

.location-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}
.location-proof div { min-height: 118px; display: grid; align-content: center; gap: .35rem; padding: 1.5rem max(3vw, 1.5rem); border-right: 1px solid var(--line); }
.location-proof div:last-child { border-right: 0; }
.location-proof strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.location-proof span { color: rgba(23, 26, 24, .58); font-size: .74rem; line-height: 1.5; }

.editorial-section { padding: clamp(5rem, 8vw, 7.5rem) max(4vw, calc((100vw - var(--content)) / 2 + 1.5rem)); }
.editorial-section-paper { background: var(--paper); }
.editorial-section-white { background: var(--white); }
.editorial-section-dark { background: var(--green); color: var(--white); }
.editorial-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 6vw; align-items: end; margin-bottom: 3rem; }
.editorial-heading h2,
.neighbourhood-intro h2,
.journal-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.7vw, 5rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}
.editorial-heading > p,
.neighbourhood-intro > p { margin: 0; color: rgba(23, 26, 24, .65); line-height: 1.75; }
.editorial-section-dark .editorial-heading > p { color: rgba(255, 255, 255, .68); }

.location-residences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.location-residences.one-card { grid-template-columns: minmax(0, 760px); }
.location-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 14px 40px rgba(22, 29, 25, .05); }
.location-card-media { display: block; overflow: hidden; }
.location-card-media img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
.location-card:hover .location-card-media img { transform: scale(1.025); }
.location-card-copy { padding: clamp(1.5rem, 3vw, 2.3rem); }
.location-card-copy h3 { margin-bottom: .8rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; }
.location-card-copy > p:not(.property-number) { color: rgba(23, 26, 24, .65); line-height: 1.7; }
.location-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.location-facts li { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 720; }
.location-rate { padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .78rem; }

.orientation-grid,
.check-grid,
.journal-grid,
.neighbourhood-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.orientation-card,
.check-card { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .52); }
.orientation-card h3,
.check-card h3 { margin-bottom: .75rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.orientation-card p,
.check-card p { margin: 0; color: rgba(23, 26, 24, .64); font-size: .88rem; line-height: 1.7; }
.editorial-section-dark .orientation-card { border-color: var(--line-dark); background: rgba(255, 255, 255, .04); }
.editorial-section-dark .orientation-card p { color: rgba(255, 255, 255, .67); }
.source-note { max-width: 860px; margin: 2rem 0 0; color: rgba(23, 26, 24, .55); font-size: .72rem; line-height: 1.65; }
.source-note a { border-bottom: 1px solid currentColor; }
.editorial-section-dark .source-note { color: rgba(255, 255, 255, .55); }

.journal-header { padding: clamp(5rem, 9vw, 8rem) max(4vw, calc((100vw - var(--content)) / 2 + 1.5rem)); border-bottom: 1px solid var(--line); }
.journal-header p:not(.eyebrow) { max-width: 720px; color: rgba(23, 26, 24, .67); font-size: 1.05rem; line-height: 1.75; }
.journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal-card { min-height: 420px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.journal-card img { aspect-ratio: 16 / 8.5; object-fit: cover; }
.journal-card-copy { height: 100%; display: flex; flex-direction: column; padding: 1.7rem; }
.journal-card h2,
.journal-card h3 { margin-bottom: .8rem; font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 2.45rem); font-weight: 400; line-height: 1.05; }
.journal-card p:not(.property-number) { color: rgba(23, 26, 24, .64); line-height: 1.65; }
.journal-card .text-link { margin-top: auto; }
.journal-more { margin: 2rem 0 0; }

.article-layout { width: min(100% - 2.5rem, 1240px); display: grid; grid-template-columns: minmax(0, 760px) minmax(250px, 330px); gap: clamp(3rem, 7vw, 7rem); align-items: start; margin: 0 auto; padding: clamp(5rem, 8vw, 7rem) 0; }
.article-body { font-size: 1rem; line-height: 1.85; }
.article-body > p:first-child { font-size: 1.2rem; line-height: 1.75; }
.article-body h2 { margin: 3.2rem 0 1.1rem; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.03; }
.article-body h3 { margin: 2.2rem 0 .7rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.article-body ul,
.article-body ol { padding-left: 1.25rem; }
.article-body li { margin-bottom: .65rem; }
.article-note { margin: 2rem 0; padding: 1.25rem 1.35rem; border-left: 3px solid var(--clay); background: var(--white); font-size: .9rem; }
.article-table { width: 100%; margin: 1.8rem 0; border-collapse: collapse; font-size: .86rem; }
.article-table th,
.article-table td { padding: .9rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table th { color: rgba(23, 26, 24, .58); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.article-aside { position: sticky; top: 108px; padding: 1.5rem; border-radius: var(--radius-md); background: var(--green); color: var(--white); }
.article-aside h2 { margin-bottom: .8rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.article-aside p { color: rgba(255, 255, 255, .68); font-size: .82rem; line-height: 1.7; }
.article-aside nav { display: grid; gap: .75rem; margin: 1.35rem 0; }
.article-aside nav a { padding-bottom: .65rem; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .78rem; }
.article-aside .button { width: 100%; margin-top: .5rem; }
.article-byline { padding-top: 1.2rem; border-top: 1px solid var(--line); color: rgba(23, 26, 24, .55); font-size: .72rem; }

.neighbourhood-intro { display: grid; grid-template-columns: 1fr .7fr; gap: 6vw; align-items: end; margin-bottom: 3rem; }
.neighbourhood-card { min-height: 350px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); }
.neighbourhood-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.neighbourhood-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(5, 16, 12, .82)); }
.neighbourhood-card-copy { position: relative; z-index: 1; padding: 1.5rem; }
.neighbourhood-card h3 { margin-bottom: .5rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.neighbourhood-card p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .8rem; line-height: 1.55; }
.neighbourhood-card strong { display: block; margin-top: 1rem; font-size: .74rem; }

@media (max-width: 1180px) {
  .editorial-hero { grid-template-columns: 1fr 1fr; }
  .orientation-grid,
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .neighbourhood-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .editorial-hero { min-height: auto; grid-template-columns: 1fr; padding: 4rem 1.25rem 2rem; }
  .editorial-hero h1,
  .journal-header h1 { font-size: clamp(3.2rem, 14vw, 4.9rem); }
  .editorial-hero-media img { min-height: 360px; }
  .location-proof { grid-template-columns: 1fr; }
  .location-proof div { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .location-proof div:last-child { border-bottom: 0; }
  .editorial-section,
  .journal-header { padding-inline: 1.25rem; }
  .editorial-heading,
  .neighbourhood-intro { grid-template-columns: 1fr; gap: 1rem; }
  .location-residences,
  .journal-grid,
  .orientation-grid,
  .check-grid,
  .neighbourhood-grid { grid-template-columns: 1fr; }
  .location-residences.one-card { grid-template-columns: 1fr; }
  .article-layout { width: min(100% - 2.5rem, 760px); grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 540px) {
  .editorial-hero { padding-top: 3.3rem; }
  .editorial-hero-media img { min-height: 300px; }
  .editorial-hero-media figcaption { align-items: flex-start; flex-direction: column; }
  .article-table { display: block; overflow-x: auto; }
}

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