/* ============================================================
   Steen Blichers Vej 22 — bankpræsentation
   Editorial / premium magazine
   ============================================================ */

:root {
  --paper:        #F4EFE6;
  --paper-2:      #ECE4D2;
  --paper-deep:   #E3D8C2;
  --ink:          #1A1612;
  --ink-2:        #4A4239;
  --ink-3:        #7A6F62;
  --sage:         #3D4A3A;
  --sage-2:       #5A6B53;
  --rust:         #8C4A33;
  --line:         rgba(26, 22, 18, 0.14);
  --line-soft:    rgba(26, 22, 18, 0.07);

  --ff-display:   'Fraunces', 'Times New Roman', Times, serif;
  --ff-body:      'Newsreader', 'Georgia', serif;

  --max:          1320px;
  --gutter:       clamp(20px, 4vw, 56px);

  --t-base:       17px;
  --lh-base:      1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--t-base);
  line-height: var(--lh-base);
  font-feature-settings: "ss01", "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px var(--gutter) 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%);
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav-mark {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 20px;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.mark-letters { font-style: italic; }
.mark-num { font-feature-settings: "lnum", "tnum"; font-style: italic; color: var(--sage); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links li a {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.2s ease;
  color: var(--ink-2);
}
.nav-links li a:hover,
.nav-links li a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-links li a.is-active em { color: var(--sage); }
.nav-links em {
  font-style: italic;
  color: var(--ink-3);
  font-size: 11px;
  font-feature-settings: "lnum", "tnum";
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-links { gap: 16px 22px; justify-content: flex-start; }
  .nav-links li a em { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  padding: 0 var(--gutter);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: relative;
  overflow: hidden;
  margin: 24px 32px 24px 0;
  background: var(--paper-deep);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.02);
}

.hero-text {
  align-self: center;
  padding: 60px 0;
}
.hero-eyebrow {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 32px;
  font-feature-settings: "smcp";
}
.hero-eyebrow .dot { margin: 0 8px; color: var(--ink-3); }

.hero-title {
  font-family: var(--ff-display);
  font-weight: 320;
  font-size: clamp(58px, 11vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  color: var(--ink);
}
.hero-title .wonk {
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  color: var(--sage);
}

.hero-tagline {
  font-family: var(--ff-body);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  max-width: 22ch;
  color: var(--ink-2);
  margin: 0;
}
.hero-tagline em { font-style: italic; color: var(--ink); }

.hero-folio {
  position: absolute;
  bottom: 28px; right: var(--gutter);
  display: inline-flex;
  gap: 18px;
  align-items: baseline;
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-folio-num {
  font-feature-settings: "lnum", "tnum";
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image { order: -1; margin: 16px 0 28px; aspect-ratio: 4/5; }
  .hero-text { padding: 0 0 64px; }
  .hero-folio { position: static; padding: 0 0 24px; }
}

/* ---------- Section frame ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  position: relative;
}
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 84px);
}
.section-no {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 280;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  color: var(--ink-3);
  font-feature-settings: "lnum";
  line-height: 1;
}
.section-title {
  font-family: var(--ff-display);
  font-weight: 320;
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.section-title .wonk {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  color: var(--sage);
}
.section-rule {
  align-self: end;
  height: 1px;
  background: var(--ink);
  margin-bottom: 16px;
}

.section-intro {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-3);
  max-width: 60ch;
  margin: -40px 0 56px;
}

/* ---------- Two-col grid ---------- */
.grid-two {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 820px) {
  .grid-two { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Prose ---------- */
.prose {
  max-width: 60ch;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.prose .lead {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 28px;
  font-weight: 320;
}
.prose .lead em { font-style: italic; color: var(--sage); }
.prose .lead a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color 0.2s ease, color 0.2s ease; }
.prose .lead a:hover { color: var(--sage); border-bottom-color: var(--sage); }
.prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.prose p em { font-style: italic; color: var(--ink); }

/* ---------- Facts list ---------- */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  font-family: var(--ff-display);
}
.facts > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.facts dt {
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variation-settings: "opsz" 14;
}
.facts dd {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  font-feature-settings: "lnum", "tnum";
  font-variation-settings: "opsz" 24;
}
.facts-aside {
  font-style: italic;
  color: var(--ink-3);
  font-size: 14px;
  margin-left: 6px;
}

/* ---------- Locale list ---------- */
.locale-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.locale-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  align-items: baseline;
}
.locale-time {
  font-style: italic;
  font-size: 28px;
  font-weight: 320;
  color: var(--sage);
  font-feature-settings: "lnum", "tnum";
  font-variation-settings: "opsz" 36, "SOFT" 50, "WONK" 1;
  letter-spacing: -0.01em;
}
.locale-where {
  font-size: 18px;
  color: var(--ink);
}

/* ---------- Amenities (sektion 01) ---------- */
.amenities {
  margin-top: clamp(56px, 7vw, 96px);
}
.amenities-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-feature-settings: "smcp";
}
.amenities-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.amenity-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.amenity-group li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.amenity-group li:last-child { border-bottom: none; }
.amenity-eyebrow {
  font-family: var(--ff-display);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--ink-3);
  margin: 0 0 12px;
  font-feature-settings: "smcp";
}
@media (max-width: 820px) {
  .amenities-groups { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 500px) {
  .amenities-groups { grid-template-columns: 1fr; }
}

/* ---------- Floor disposition ---------- */
.floors {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.floor-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin: 0 0 4px;
}
.floor-head h3 {
  font-family: var(--ff-display);
  font-weight: 320;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 30;
}
.floor-meta {
  font-family: var(--ff-display);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-3);
  margin: 0;
  font-feature-settings: "lnum", "tnum";
}
.floor-meta span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  margin-left: 6px;
  font-style: normal;
  color: var(--sage);
  font-feature-settings: "smcp";
}
.floor-plan {
  display: block;
  margin: 18px 0 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.floor-plan img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/7;
  object-fit: contain;
  object-position: center;
  background: white;
  padding: 16px;
  filter: contrast(1.02);
}
.floor-plan:hover {
  border-color: var(--sage);
}
.floor-rooms {
  list-style: none;
  margin: 0;
  padding: 0;
}
.floor-rooms li {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--ff-display);
  font-size: 15px;
  align-items: baseline;
}
.room-code {
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-feature-settings: "lnum", "tnum";
  text-transform: uppercase;
}
.room-name { color: var(--ink); }
.room-m2 {
  color: var(--ink-3);
  font-feature-settings: "lnum", "tnum";
  white-space: nowrap;
}
.floor-sum {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-feature-settings: "smcp", "lnum", "tnum";
}
.floor-sum span:last-child {
  font-style: normal;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0;
}
@media (max-width: 820px) {
  .floors { grid-template-columns: 1fr; }
}

.disposition-source {
  margin: clamp(40px, 5vw, 60px) 0 0;
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-family: var(--ff-display);
  flex-wrap: wrap;
}
.disposition-source a {
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.disposition-source a span { color: var(--sage); margin-left: 4px; }
.disposition-source a:hover { color: var(--sage); border-color: var(--sage); }
.disposition-source-meta {
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- Renovation: exterior changes list ---------- */
.renov-changes-wrap {
  margin-top: clamp(56px, 7vw, 88px);
  max-width: 700px;
}
.renov-subhead {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-feature-settings: "smcp";
}
.renov-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 48px;
}
.renov-changes li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--ink);
  break-inside: avoid;
}
@media (max-width: 700px) {
  .renov-changes { columns: 1; }
}

/* ---------- Full-bleed figure ---------- */
.figure-full {
  margin: clamp(60px, 8vw, 100px) 0 0;
}
.figure-full img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}
.figure-full figcaption,
.gallery figcaption,
.renderings figcaption {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin-top: 14px;
  max-width: 50ch;
}
figcaption span {
  display: inline-block;
  margin-right: 12px;
  text-transform: uppercase;
  font-style: normal;
  font-feature-settings: "smcp", "lnum";
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--ink);
}
figcaption em { font-style: italic; color: var(--sage); }

/* ---------- Renderings (renoveringen) ---------- */
.renderings {
  margin-top: clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.renderings figure { margin: 0; display: flex; flex-direction: column; }
.renderings img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--paper-deep);
}
.r-facade    { grid-column: span 7; }
.r-facade img { aspect-ratio: 16/11; }
.r-entre     { grid-column: span 5; }
.r-entre img { aspect-ratio: 4/5; }
.r-gang      { grid-column: span 4; margin-top: -8%; }
.r-gang img  { aspect-ratio: 3/4; }
.r-spisestue { grid-column: span 5; }
.r-koekken   { grid-column: span 3; align-self: end; }

@media (max-width: 820px) {
  .renderings { grid-template-columns: 1fr 1fr; gap: 16px; }
  .renderings figure { grid-column: span 1 !important; margin-top: 0 !important; }
  .renderings img { aspect-ratio: 4/3 !important; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery img {
  width: 100%;
  object-fit: cover;
  background: var(--paper-deep);
  filter: saturate(0.96);
}

.g-aerial1     { grid-column: span 8; }
.g-aerial1 img { aspect-ratio: 16/10; }
.g-aerial2     { grid-column: span 4; align-self: end; }
.g-aerial2 img { aspect-ratio: 4/5; }

.g-trappehus     { grid-column: span 4; }
.g-trappehus img { aspect-ratio: 3/4; }
.g-rosette       { grid-column: span 8; align-self: end; }
.g-rosette img   { aspect-ratio: 16/10; }

.g-karnap     { grid-column: span 5; }
.g-karnap img { aspect-ratio: 4/5; }
.g-enfilade   { grid-column: span 7; align-self: end; }
.g-enfilade img { aspect-ratio: 16/10; }

.g-tagetage     { grid-column: span 8; }
.g-tagetage img { aspect-ratio: 3/2; }
.g-tagterrasse  { grid-column: span 4; align-self: end; }
.g-tagterrasse img { aspect-ratio: 3/4; }

.g-pool      { grid-column: span 8; }
.g-pool img  { aspect-ratio: 16/10; }
.g-master    { grid-column: span 4; align-self: end; }
.g-master img{ aspect-ratio: 3/4; }

.g-tag1      { grid-column: span 6; }
.g-tag2      { grid-column: span 6; }
.g-tag1 img, .g-tag2 img { aspect-ratio: 4/3; }

.g-gulv1     { grid-column: span 6; }
.g-gulv2     { grid-column: span 6; }
.g-gulv1 img, .g-gulv2 img { aspect-ratio: 4/3; }

@media (max-width: 820px) {
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .gallery figure { grid-column: span 1; align-self: auto; }
  /* Bevarer hver figurs originale aspect-ratio på mobil — ingen forced 4/5 */
}

/* ---------- Beliggenhed: image strip ---------- */
.locale-images {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.locale-images figure { margin: 0; }
.locale-images img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--paper-deep);
}
.locale-images figcaption {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 10px;
}
@media (max-width: 820px) {
  .locale-images { grid-template-columns: 1fr; }
}

/* ---------- Design & kvalitet ---------- */
.design-grid {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.design-grid figure { margin: 0; display: flex; flex-direction: column; }
.design-grid img {
  width: 100%;
  object-fit: cover;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  filter: saturate(0.98);
}

.d-palette          { grid-column: span 12; }
.d-palette img      { aspect-ratio: 16/9; object-fit: cover; }

.d-koekken-plan     { grid-column: span 8; }
.d-koekken-plan img { aspect-ratio: 4/3; }
.d-koekken-bordplade{ grid-column: span 4; align-self: end; }
.d-koekken-bordplade img { aspect-ratio: 3/4; }

.d-spisebord        { grid-column: span 6; }
.d-spisebord img    { aspect-ratio: 4/3; }
.d-lysekrone        { grid-column: span 6; }
.d-lysekrone img    { aspect-ratio: 4/3; }

.d-laundry          { grid-column: span 5; }
.d-laundry img      { aspect-ratio: 4/3; }
.d-armaturer        { grid-column: span 7; align-self: end; }
.d-armaturer img    { aspect-ratio: 16/10; }

.d-master-bath      { grid-column: span 7; }
.d-master-bath img  { aspect-ratio: 4/3; }
.d-bath-detail      { grid-column: span 5; align-self: end; }
.d-bath-detail img  { aspect-ratio: 4/5; }

@media (max-width: 820px) {
  .design-grid { grid-template-columns: 1fr; gap: 16px; }
  .design-grid figure { grid-column: span 1; align-self: auto; }
}

/* ---------- Marked ---------- */
.market-note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 28px;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 40ch;
}
.market-note-title {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--ink);
  margin: 0 0 10px;
  font-feature-settings: "smcp";
}
.market-note p { margin: 0; }

.stats-strip {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat-card {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card:last-child { border-right: none; }
.stat-big {
  font-family: var(--ff-display);
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 0.95;
  font-weight: 320;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  font-feature-settings: "lnum", "tnum";
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}
.stat-label {
  font-family: var(--ff-display);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--sage);
  margin: 4px 0 0;
  font-feature-settings: "smcp";
}
.stat-detail {
  font-family: var(--ff-display);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
  margin: 8px 0 0;
  font-feature-settings: "lnum", "tnum";
  max-width: 32ch;
}
@media (max-width: 820px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .stat-card:last-child { border-bottom: none; }
}

.stats-source {
  margin: 14px 0 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.comps-wrap {
  margin-top: clamp(48px, 6vw, 72px);
  overflow-x: auto;
}
.comps {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-display);
  font-size: 16px;
  font-feature-settings: "lnum", "tnum";
  font-variation-settings: "opsz" 24;
}
.comps thead th {
  text-align: left;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--ink);
  font-feature-settings: "smcp";
}
.comps tbody td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: baseline;
}
.comps tbody tr:hover td { background: var(--paper-2); }
.comps .num { text-align: right; white-space: nowrap; }
.comps thead th.num { text-align: right; }
.comp-addr {
  color: var(--ink-3);
  font-style: italic;
  margin-right: 4px;
}
.comp-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: inherit;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.comp-link:hover { border-bottom-color: var(--sage); color: var(--sage); }
.comp-arrow {
  font-size: 12px;
  color: var(--sage);
  transform: translateY(-1px);
}
.comps-row--linked td:first-child { padding-right: 4px; }
.comps-row--headline td { background: var(--paper-2); }
.comp-status {
  display: block;
  margin-top: 6px;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sage);
  text-transform: uppercase;
  font-feature-settings: "lnum", "tnum";
}
.market-note-foot {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px !important;
  color: var(--ink-3) !important;
  font-style: italic;
}
.market-note-foot sup { color: var(--sage); }
.num sup { color: var(--sage); font-style: italic; }

/* ---------- Docs ---------- */
.docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.docs-group h3 {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-feature-settings: "smcp";
}
.docs-group ul { list-style: none; margin: 0; padding: 0; }
.docs-group li { border-bottom: 1px solid var(--line); }
.docs-group li a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  font-family: var(--ff-display);
  color: var(--ink);
  font-size: 16px;
  transition: padding 0.3s ease, color 0.2s ease;
}
.docs-group li a:hover {
  padding-left: 8px;
  color: var(--sage);
}
.doc-title { line-height: 1.35; }
.doc-title em { font-style: italic; color: var(--ink-3); font-size: 14px; }
.doc-on-request {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  font-family: var(--ff-display);
  color: var(--ink-3);
  font-size: 16px;
  cursor: default;
}
.doc-on-request .doc-meta { font-style: italic; }
.doc-meta {
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  white-space: nowrap;
  font-feature-settings: "lnum", "tnum";
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px var(--gutter) 64px;
  font-family: var(--ff-display);
  position: relative;
}
.footer-rule {
  height: 1px;
  background: var(--ink);
  margin-bottom: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--ink-3);
  margin: 0 0 10px;
  font-feature-settings: "smcp";
}
.footer p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.footer a { border-bottom: 1px solid var(--line); transition: border-color 0.2s ease; }
.footer a:hover { border-bottom-color: var(--ink); }
.footer-mark {
  font-family: var(--ff-display);
  font-size: 28px;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  font-style: italic;
  align-self: end;
}
.footer-mark .mark-num { color: var(--sage); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-mark { align-self: start; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0s;
}
[data-reveal="visible"] {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"][data-reveal="visible"] { transition-delay: 0.10s; }
[data-reveal-delay="2"][data-reveal="visible"] { transition-delay: 0.22s; }
[data-reveal-delay="3"][data-reveal="visible"] { transition-delay: 0.36s; }
[data-reveal-delay="4"][data-reveal="visible"] { transition-delay: 0.52s; }
[data-reveal-delay="5"][data-reveal="visible"] { transition-delay: 0.68s; }

/* Section heads, prose, facts, figures all reveal */
.section [data-reveal] { transition-duration: 1.1s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Print (banks may print) ---------- */
@page { margin: 18mm 15mm; }
@media print {
  .grain, .nav { display: none; }
  body { background: white; color: black; font-size: 11pt; }
  .hero { min-height: auto; page-break-after: always; }
  .section { page-break-inside: auto; padding-top: 24pt; padding-bottom: 24pt; }
  .section-head { page-break-after: avoid; }
  .figure-full, .renderings figure, .gallery figure, .floor, .floor-plan, .stats-strip { page-break-inside: avoid; }
  .gallery figure, .renderings figure, .floor { margin-bottom: 12pt; }
  a { color: black; text-decoration: none; }
  .docs-group li a { padding: 6pt 0; }
  .hero-title { font-size: 48pt; }
  .section-title { font-size: 28pt; }
  .stat-big { font-size: 32pt; }
}

/* ---------- Sign-in ---------- */
.nav-signin {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 18px;
  margin-left: 28px;
  color: var(--sage);
  border: 1px solid var(--sage);
  border-radius: 1px;
  align-self: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav-signin:hover,
.nav-signin:focus-visible {
  background: var(--sage);
  color: var(--paper);
}

@media (max-width: 860px) {
  .nav-signin { margin-left: 0; align-self: flex-start; }
}
