/* Shared type, spacing and navigation; project-specific composition. */
.archive-book-head {
  background: #e5e6dc;
}
.archive-book-head > a {
  font-size: 14px;
}
.archive-book-title {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8%;
  align-items: end;
  margin-top: 70px;
}
.archive-book-title h1 {
  font-size: clamp(50px, 6.5vw, 100px);
  margin: 25px 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.archive-book-title:not(:has(.archive-year)) { grid-template-columns: minmax(0, 1fr); }
.archive-book-title > div > p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.archive-year {
  border-left: 1px solid #b5beac;
  padding-left: 30px;
}
.archive-year span {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
}
.archive-year strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(70px, 9vw, 150px);
  font-weight: 400;
  letter-spacing: -0.06em;
  color: #55634e;
  line-height: 1.2;
  margin-top: 20px;
}
.archive-book-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.archive-book-body h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  margin: 25px 0 35px;
}
.archive-description {
  font-size: 14px;
  line-height: 1.9;
  max-width: 650px;
  color: var(--muted);
}
.archive-book-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0;
  align-content: start;
}
.archive-book-body dl > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.archive-book-body dt {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.archive-book-body dd {
  font-size: 22px;
  line-height: 1.5;
  margin: 15px 0 0;
  overflow-wrap: anywhere;
}
.archive-neighbors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding-top: 20px;
}
.archive-neighbors > a {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.archive-neighbors span {
  font-size: 14px;
  color: var(--accent);
}
.archive-neighbors strong {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -1px;
}
.archive-neighbors small {
  font-size: 14px;
  color: var(--muted);
}
.archive-home .archive-book-head {
  background: #ece2d6;
}
.archive-home .archive-year strong {
  color: #a06e4f;
}
.archive-other .archive-book-head {
  background: var(--dark);
  color: var(--paper);
}
.archive-other .archive-book-title > div > p:last-child,
.archive-other .archive-year strong {
  color: #c7c9b9;
}
@media (max-width: 760px) {
  .archive-book-title,
  .archive-book-body {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .archive-book-title {
    margin-top: 40px;
  }
  .archive-book-title h1 {
    font-size: clamp(38px, 10.7vw, 48px);
  }
  .archive-year {
    border-left: 0;
    border-top: 1px solid #b5beac;
    padding: 22px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .archive-year strong {
    font-size: 60px;
    margin: 0;
  }
  .archive-description {
    font-size: 14px;
  }
  .archive-book-body dl {
    gap: 25px 20px;
  }
  .archive-book-body dd {
    font-size: 19px;
  }
  .archive-book-body h2 {
    font-size: 40px;
  }
  .archive-neighbors {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .archive-neighbors strong {
    font-size: 24px;
  }
}
/* Variant composition: shared image policy, different project character. */
/* Keep the exterior rendering prominent above the fold on wide displays. */
@media (min-width: 1100px) {
  .project-ensemble .portrait-hero-title {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 32px; align-items: end;
  }
  .project-ensemble .portrait-hero-title .eyebrow { grid-column: 1/-1; margin-bottom: 0; }
  .project-ensemble .portrait-hero h1 { font-size: clamp(50px, 5.7vw, 82px); }
  .project-ensemble .portrait-hero h1 br { display: none; }
  .project-ensemble .hero-actions { margin-top: 0; }
  /* Split heroes already have a narrow text column beside the photograph.
     Keep their action below the address instead of squeezing long street names. */
  .project-ensemble .hero-split .portrait-hero-title,
  .project-ensemble .hero-split-dark .portrait-hero-title { display: block; }
  .project-ensemble .hero-split h1,
  .project-ensemble .hero-split-dark h1 { font-size: clamp(42px, 4.4vw, 76px); hyphens: auto; }
  .project-ensemble .hero-split .hero-actions,
  .project-ensemble .hero-split-dark .hero-actions { margin-top: 28px; }
}
.hero-split, .hero-split-dark {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px 5%; align-items: center;
}
.hero-split { background: #e7e5dc; color: var(--ink); }
.hero-split-dark { background: var(--dark); }
.hero-split .portrait-hero-top, .hero-split-dark .portrait-hero-top { grid-column: 1/-1; }
.hero-split .portrait-hero-title, .hero-split-dark .portrait-hero-title { grid-row: 2; grid-column: 1; }
.hero-split .portrait-hero-image, .hero-split-dark .portrait-hero-image { grid-row: 2; grid-column: 2; }
.hero-split .portrait-caption, .hero-split-dark .portrait-caption { grid-row: 3; grid-column: 2; }
.hero-split h1, .hero-split-dark h1 { font-size: clamp(42px, 4.4vw, 76px); }
.hero-split .portrait-hero-title em, .hero-editorial .portrait-hero-title em, .hero-study .portrait-hero-title em { color: var(--accent); }
.hero-editorial, .hero-study { background: var(--paper); color: var(--ink); }
.hero-editorial .portrait-hero-title, .hero-study .portrait-hero-title {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 35px; align-items: end;
}
.hero-editorial .eyebrow, .hero-study .eyebrow { grid-column: 1/-1; margin-bottom: 0; }
.hero-editorial h1, .hero-study h1 { font-size: clamp(45px, 5.7vw, 90px); }
.hero-editorial h1 br, .hero-study h1 br { display: none; }
.hero-study { background: #eeece3; }
.hero-study .portrait-hero-top > span { background: var(--dark); color: var(--paper); }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero-split, .hero-split-dark { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .hero-editorial .portrait-hero-title, .hero-study .portrait-hero-title { display: block; }
}
@media (max-width: 760px) {
  .portrait-hero {
    display: flex; flex-direction: column; align-items: stretch;
    padding: 22px var(--gutter) 25px; gap: 26px;
  }
  .portrait-hero-top { order: 0; align-items: flex-start; font-size: 14px; gap: 14px; }
  .portrait-hero-top > span { max-width: 62%; padding: 10px 12px; }
  .portrait-hero-top > a { flex-shrink: 0; }
  .portrait-hero-title { order: 1; }
  .portrait-hero .portrait-hero-image {
    order: 2; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter));
    height: auto; max-height: none; object-fit: contain;
  }
  .portrait-hero .portrait-caption { order: 3; }
  .portrait-hero .portrait-hero-title { display: block; }
  .portrait-hero h1 { font-size: clamp(36px, 10.4vw, 58px); hyphens: auto; }
  .portrait-hero h1 br { display: block; }
  .portrait-hero-title .eyebrow { margin-bottom: 18px; }
  .hero-actions { gap: 14px 22px; margin-top: 24px; }
}
.project-focus {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px 8%;
  background: #eae8df;
  overflow: hidden;
}
.focus-copy {
  align-self: center;
  min-width: 0;
}
.focus-copy h2 {
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.1;
  margin: 27px 0 32px;
}
.focus-copy ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 470px;
}
.focus-copy li {
  padding: 12px 0;
  border-top: 1px solid #bbc0b0;
}
.focus-image {
  margin: 0;
  min-width: 0;
}
.focus-image button {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}
.focus-image img {
  height: auto;
  object-fit: contain;
  transition: transform 1s;
}
.focus-image button:hover img {
  filter: brightness(1.04);
}
.focus-image button > span {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--paper);
  /* The image can sit inside a dark section. Its label owns both colours. */
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #25282230;
  padding: 12px 16px;
  font-size: 14px;
}
.focus-image figcaption {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
  color: var(--muted);
}
.focus-values {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.sales-person { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 20px; margin-top: 32px; padding-top: 26px; border-top: 1px solid #ffffff55; }
.sales-person img { width: 88px; height: 116px; object-fit: cover; object-position: top; }
.sales-person h3 { font-size: 25px; margin: 10px 0; }
.sales-person .eyebrow { font-size: 13px; letter-spacing: 1px; }
.sales-person a { display: flex; align-items: center; min-height: 44px; font-size: 16px; overflow-wrap: anywhere; }
.sales-person a:hover { text-decoration: underline; }
@media(max-width: 760px) {
  .sales-person { grid-template-columns: 72px minmax(0,1fr); gap: 16px; }
  .sales-person img { width: 72px; height: 96px; }
  .sales-person h3 { font-size: 24px; }
}
.focus-values > div {
  border-top: 1px solid #aeb5a5;
  padding-top: 25px;
  min-width: 0;
}
.focus-values strong {
  display: block;
  font-size: clamp(38px, 5.8vw, 94px);
  letter-spacing: -0.065em;
  line-height: 1.15;
  font-weight: 450;
  overflow-wrap: anywhere;
}
.focus-values span {
  display: block;
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.project-focus.type-study {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.type-study .focus-values {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.type-study .focus-values > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 25px;
}
.type-study .focus-values strong {
  font-size: clamp(35px, 4vw, 62px);
}
.type-study .focus-values span {
  margin: 0;
}
.project-dossier {
  padding-top: 35px;
  padding-bottom: 45px;
  background: #eae8df;
}
.project-dossier summary {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  cursor: pointer;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.project-dossier summary > span {
  font-size: 20px;
  color: var(--accent);
}
.project-dossier .portrait-facts {
  margin: 30px 0 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.project-dossier .portrait-facts dd {
  font-size: 17px;
}
.focus-garden {
  background: #e4e7dc;
}
.focus-garden .focus-image {
  grid-column: 1;
  grid-row: 1;
}
.focus-garden .focus-copy {
  grid-column: 2;
}
.focus-garden .focus-values strong {
  color: #405039;
}
.focus-terraces {
  background: #29312d;
  color: var(--paper);
  grid-template-columns: 1fr 1fr;
}
.focus-terraces .focus-image img {
  height: auto;
}
.focus-terraces .focus-copy li {
  border-color: #fff3;
}
.focus-terraces .focus-copy ul,
.focus-terraces .focus-values span,
.focus-terraces figcaption {
  color: #c8cabb;
}
.focus-terraces .focus-values > div {
  border-color: #fff4;
}
.focus-ensemble {
  grid-template-columns: 0.85fr 1.15fr;
  background: #e5e3d8;
}
.focus-ensemble .focus-values strong {
  color: var(--accent);
}
.project-ensemble .project-showroom {
  background: #eae8df;
}
.focus-campus {
  background: #252d28;
  color: var(--paper);
}
.focus-campus .focus-copy ul,
.focus-campus .focus-values span,
.focus-campus figcaption {
  color: #c8cabb;
}
.focus-campus .focus-image img {
  height: auto;
}
.focus-campus .focus-values strong {
  color: #dfc6a0;
}
.focus-fitness {
  background: #deddd2;
}
.focus-fitness .focus-image {
  grid-column: 1/-1;
  grid-row: 2;
}
.focus-fitness .focus-image img {
  height: auto;
}
.focus-fitness .focus-copy {
  grid-column: 1/-1;
  max-width: 750px;
}
.focus-fitness .focus-values {
  grid-row: 3;
}
.project-fitness .project-showroom {
  background: var(--dark);
  color: var(--paper);
}
.project-fitness .project-photo figcaption {
  color: #c5c8b9;
}
.focus-courtyard {
  background: #e1e5d8;
  grid-template-columns: 0.8fr 1.2fr;
}
.focus-courtyard .focus-image img {
  height: auto;
}
.focus-courtyard .focus-values strong {
  font-family: var(--serif);
  font-style: italic;
  color: #42503b;
}
.focus-duo.type-study .focus-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.focus-duo.type-study .focus-values > div {
  display: block;
}
.focus-duo.type-study .focus-values > div:last-child {
  grid-column: 1/-1;
}
.focus-duo.type-study .focus-values strong {
  font-size: 65px;
}
.focus-duo.type-study .focus-values span {
  margin-top: 15px;
}
.focus-development {
  background: var(--dark);
  color: var(--paper);
}
.focus-development .focus-copy ul,
.focus-development .focus-values span {
  color: #c6c9bb;
}
.focus-development .focus-values strong {
  color: #e0c4a6;
}
.focus-hillside {
  background: #e2e6d8;
}
.focus-hillside .focus-values > div:nth-child(2) {
  margin-left: 30px;
}
.focus-hillside .focus-values > div:nth-child(3) {
  margin-left: 60px;
}
.focus-copper {
  background: #e7d7c9;
}
.focus-copper .focus-values strong {
  color: #995a37;
}
.focus-urban.type-study {
  grid-template-columns: 1fr;
}
.focus-urban .focus-copy {
  max-width: 750px;
}
.focus-urban.type-study .focus-values {
  grid-row: 2;
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.focus-urban.type-study .focus-values > div {
  display: block;
}
.focus-urban.type-study .focus-values span {
  margin-top: 15px;
}
.focus-villa {
  background: #253b39;
  color: var(--paper);
}
.focus-villa .focus-copy h2 {
  font-family: var(--serif);
  font-style: italic;
  max-width: 600px;
}
.focus-villa .focus-copy ul,
.focus-villa .focus-values span {
  color: #cad7ce;
}
.focus-villa .focus-values strong {
  font-family: var(--serif);
  font-style: italic;
  color: #e8dac2;
}
.project-villa .portrait-summary {
  padding-top: 100px;
  padding-bottom: 100px;
}
.focus-accessible {
  background: #e1e6df;
}
.focus-accessible .focus-values > div {
  padding: 25px;
  background: #f4f1eb;
  border: 0;
}
.focus-completed .focus-values > div:last-child strong {
  color: var(--accent);
}
.focus-study {
  background-color: #eeece3;
  background-image:
    linear-gradient(#92988912 1px, transparent 1px),
    linear-gradient(90deg, #92988912 1px, transparent 1px);
  background-size: 32px 32px;
}
.focus-study .focus-values strong {
  font-family: var(--serif);
  color: #73776c;
}
.project-study .portrait-contact {
  background: var(--dark);
}
@media (max-width: 1100px) {
  .project-focus {
    gap: 40px 6%;
  }
  .focus-image img {
    height: auto;
  }
  .project-dossier .portrait-facts {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .project-focus,
  .project-focus.type-study {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: stretch;
  }
  .focus-copy h2 {
    font-size: 39px;
  }
  .focus-copy ul {
    font-size: 14px;
  }
  .focus-image img,
  .focus-terraces .focus-image img,
  .focus-campus .focus-image img,
  .focus-fitness .focus-image img,
  .focus-courtyard .focus-image img {
    height: auto;
  }
  .focus-values,
  .type-study .focus-values,
  .focus-duo.type-study .focus-values,
  .focus-urban.type-study .focus-values {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .focus-values > div,
  .type-study .focus-values > div,
  .focus-duo.type-study .focus-values > div,
  .focus-urban.type-study .focus-values > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding-top: 20px;
  }
  .focus-values strong,
  .type-study .focus-values strong,
  .focus-duo.type-study .focus-values strong {
    font-size: 44px;
  }
  .focus-values span,
  .type-study .focus-values span,
  .focus-duo.type-study .focus-values span,
  .focus-urban.type-study .focus-values span {
    font-size: 14px;
    margin: 0;
  }
  .focus-hillside .focus-values > div:nth-child(2),
  .focus-hillside .focus-values > div:nth-child(3) {
    margin-left: 0;
  }
  .focus-copy {
    order: 0;
  }
  .focus-image {
    order: 1;
  }
  .focus-values {
    order: 2;
  }
  .project-villa .portrait-summary {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .project-dossier .portrait-facts {
    gap: 25px 15px;
  }
  .project-dossier .portrait-facts dd {
    font-size: 15px;
  }
}

/* Places and building types are descriptive facts, not oversized statistics. */
.project-focus .focus-values > :is(.focus-fact--text,.focus-fact--measure) {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}
.project-focus .focus-values > :is(.focus-fact--text,.focus-fact--measure) strong {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  max-width: 100%;
}
.project-focus .focus-values > :is(.focus-fact--text,.focus-fact--measure) span {
  margin: 0;
  font-size: 16px;
}
@media (max-width: 760px) {
  .project-focus .focus-values > :is(.focus-fact--text,.focus-fact--measure) strong { font-size: 24px; }
}
