/* ==========================================================================
   Fund site demo — shared styles
   Swap the fund name in every page header/footer; swap colors here.
   ========================================================================== */

:root {
  --ink: #16242a;        /* deep slate — text, dark bands */
  --ink-soft: #44545a;   /* secondary text */
  --paper: #f7f7f4;      /* page background */
  --concrete: #e3e4de;   /* alternate bands, placeholders */
  --rule: #c3c6be;       /* lines */
  --verdigris: #3f7263;  /* the one accent: links, active states */
  --verdigris-deep: #2c5448;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --band: clamp(72px, 10vw, 136px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--verdigris);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type scale (1.25 ratio, wide cut for display) ---------- */

.display,
h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

h1, .display { font-size: clamp(2.5rem, 6.2vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.25; font-variation-settings: "wdth" 112; }

p { margin: 0 0 1em; max-width: 64ch; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

.small { font-size: 0.875rem; color: var(--ink-soft); }

.num { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Logo placeholder: a plain square with a parcel line through it */
.wordmark .mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  position: relative;
  flex: none;
}
.wordmark .mark::after {
  content: "";
  position: absolute;
  left: 40%;
  top: -2px;
  bottom: -2px;
  border-left: 2px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--verdigris);
}

.nav .btn { color: var(--paper); border-bottom: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  padding: 8px 14px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--verdigris); }
  .nav .btn { margin-top: 16px; text-align: center; }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border: 1px solid var(--ink);
}
.btn:hover { background: var(--verdigris-deep); border-color: var(--verdigris-deep); }

.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.on-dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-dark .btn:hover { background: var(--concrete); }

.text-link {
  color: var(--verdigris);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--verdigris-deep); }

/* ---------- Bands (vertical rhythm lives here only) ---------- */

.band { padding: var(--band) 0; }
.band + .band { border-top: 1px solid var(--rule); }
.band.alt { background: var(--concrete); border-top: 0; }
.band.alt + .band { border-top: 0; }

.on-dark {
  background: var(--ink);
  color: var(--paper);
}
.on-dark .lede, .on-dark .small { color: #b8c3c3; }

.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.band-head h2 { max-width: 18ch; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero h1 { max-width: 12ch; margin-bottom: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* The site plan drawing: the one memorable thing */
.siteplan {
  width: 100%;
  height: auto;
  color: var(--ink);
}
.siteplan .grid line { stroke: var(--rule); stroke-width: 0.6; }
.siteplan .parcel { fill: none; stroke: currentColor; stroke-width: 1.4; }
.siteplan .bldg { fill: var(--concrete); stroke: currentColor; stroke-width: 1.4; }
.siteplan .bldg.ours { fill: var(--verdigris); stroke: var(--verdigris-deep); }
.siteplan .street { fill: none; stroke: var(--ink-soft); stroke-width: 0.8; stroke-dasharray: 6 5; }
.siteplan text {
  font-family: var(--font);
  font-size: 9px;
  fill: var(--ink-soft);
  font-variation-settings: "wdth" 100;
}

@media (prefers-reduced-motion: no-preference) {
  .siteplan .draw {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw 2.2s cubic-bezier(.6,.1,.2,1) forwards;
  }
  .siteplan .draw:nth-of-type(2) { animation-delay: .15s; }
  .siteplan .draw:nth-of-type(3) { animation-delay: .3s; }
  .siteplan .draw:nth-of-type(4) { animation-delay: .45s; }
  .siteplan .bldg.ours {
    opacity: 0;
    animation: settle .6s ease-out 1.9s forwards;
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { to { opacity: 1; } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .siteplan { max-width: 520px; }
}

/* ---------- Title block: the fund's spec, drawn like a plan sheet's title block ---------- */

.titleblock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
  margin: 0;
}
.titleblock > div {
  padding: 18px 20px 20px;
  border-left: 1px solid var(--ink);
}
.titleblock > div:first-child { border-left: 0; }
.titleblock dt { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 6px; }
.titleblock dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  font-variation-settings: "wdth" 112;
  line-height: 1.3;
}

@media (max-width: 760px) {
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(3) { border-left: 0; }
  .titleblock > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
}

/* ---------- Interior page header ---------- */

.page-head {
  border-bottom: 1px solid var(--rule);
}
.page-head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); max-width: 16ch; margin-bottom: 20px; }
.page-head .lede { margin-bottom: 0; }

/* Sheet tag: small title-block cell in the corner, like a drawing set */
.sheet {
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  min-width: 190px;
}
.sheet div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 12px; }
.sheet div + div { border-top: 1px solid var(--ink); }
.sheet span:first-child { color: var(--ink-soft); }
.sheet span:last-child { font-weight: 600; }

@media (max-width: 760px) {
  .page-head .wrap { grid-template-columns: 1fr; }
  .sheet { display: none; }
}

/* ---------- Image placeholders: section hatching, labeled with what goes there ---------- */

.ph {
  position: relative;
  background-color: var(--concrete);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 9px,
    rgba(22, 36, 42, 0.09) 9px 10px
  );
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
}
.ph span {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  font-size: 0.75rem;
  color: var(--ink-soft);
  padding: 5px 10px;
}
.ph.wide { aspect-ratio: 16 / 9; }
.ph.tall { aspect-ratio: 4 / 5; }
.ph.square { aspect-ratio: 1; }
.band.alt .ph { background-color: #d5d7d0; }

/* ---------- Generic layouts ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split.even { grid-template-columns: 1fr 1fr; }

@media (max-width: 860px) {
  .split, .split.even { grid-template-columns: 1fr; }
}

/* Strategy columns on the home page */
.strategies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.strategies article {
  padding: 28px 28px 8px 0;
}
.strategies article + article {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
.strategies h3 { margin-bottom: 14px; }
.strategies .range { font-size: 0.9rem; color: var(--verdigris); font-weight: 600; margin-bottom: 12px; }

@media (max-width: 860px) {
  .strategies { grid-template-columns: 1fr; }
  .strategies article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ---------- Portfolio ---------- */

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button {
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 8px 16px;
  cursor: pointer;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.properties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
}
.property h3 { margin: 18px 0 4px; }
.property .where { color: var(--ink-soft); margin: 0 0 14px; }
.property dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
.property dt { color: var(--ink-soft); }
.property dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 9px;
  border: 1px solid currentColor;
}
.status.active { color: var(--verdigris); }
.status.realized { color: var(--ink-soft); }
.property[hidden] { display: none; }

@media (max-width: 980px) { .properties { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .properties { grid-template-columns: 1fr; } }

/* ---------- Philosophy tenets (not a sequence, so no numbers) ---------- */

.tenets { border-top: 1px solid var(--ink); }
.tenet {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
}
.tenet h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.tenet p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .tenet { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Criteria spec table ---------- */

.spec {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
}
.spec th, .spec td {
  text-align: left;
  vertical-align: top;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.spec th {
  width: 32%;
  padding-right: 32px;
  font-weight: 600;
  font-variation-settings: "wdth" 112;
}
.spec td { color: var(--ink-soft); }
.spec td strong { color: var(--ink); font-weight: 600; }

@media (max-width: 620px) {
  .spec th, .spec td { display: block; width: 100%; padding: 0; border: 0; }
  .spec tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .spec th { margin-bottom: 6px; }
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--verdigris);
  border-bottom: 2px solid var(--verdigris);
  transform: rotate(-45deg);
}
.checklist.no li::before {
  width: 14px; height: 0; top: 26px;
  border-left: 0;
  border-bottom: 2px solid var(--ink-soft);
  transform: none;
}

/* ---------- Team ---------- */

.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
}
.person .ph { margin-bottom: 16px; }
.person h3 { font-size: 1.15rem; margin-bottom: 2px; }
.person .role { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 10px; }
.person details summary {
  cursor: pointer;
  color: var(--verdigris);
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
}
.person details summary::-webkit-details-marker { display: none; }
.person details summary::after { content: " +"; }
.person details[open] summary::after { content: " \2212"; }
.person details p { font-size: 0.92rem; color: var(--ink-soft); margin: 10px 0 0; }

@media (max-width: 980px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .people { grid-template-columns: 1fr 1fr; } }

/* ---------- News ---------- */

.news-list { border-top: 1px solid var(--ink); }
.news-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  align-items: baseline;
}
.news-item time { color: var(--ink-soft); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.news-item h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.news-item:hover h3 { color: var(--verdigris); }
.news-item .kind { font-size: 0.85rem; color: var(--ink-soft); text-align: right; }

@media (max-width: 700px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-item .kind { text-align: left; order: -1; }
}

/* ---------- Home: numbers row inside the dark band ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #3a4a50;
}
.facts dt { font-size: 0.9rem; color: #b8c3c3; }
.facts dd {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  font-variation-settings: "wdth" 125;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 620px) { .facts { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Investor band ---------- */

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 20ch; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b8c3c3;
  font-size: 0.92rem;
  padding: 72px 0 36px;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid #3a4a50;
}
.site-footer .wordmark { color: var(--paper); margin-bottom: 16px; }
.site-footer .wordmark .mark, .site-footer .wordmark .mark::after { border-color: var(--paper); }
.site-footer .footer-title { color: var(--paper); font-size: 0.92rem; font-weight: 600; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer .legal {
  padding-top: 24px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.site-footer .legal p { max-width: 110ch; }

@media (max-width: 760px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
}

/* Demo banner — delete once real content is in */
.demo-note {
  background: var(--verdigris);
  color: var(--paper);
  font-size: 0.8rem;
  text-align: center;
  padding: 6px 16px;
}

/* Portfolio page uses h2 for property names (no section heading above them) */
.property h2 {
  margin: 18px 0 4px;
  font-size: 1.3rem;
  line-height: 1.25;
  font-variation-settings: "wdth" 112;
}

/* Fixes after first visual pass */
@media (min-width: 861px) { .hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero h1 { max-width: 14ch; }
.hero .wrap.hero-spec { display: block; padding-top: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.nav a.btn { padding: 10px 18px; color: var(--paper); }
.nav a.btn:hover { color: var(--paper); }

/* Tenet names are h2 for heading order; keep them at card size */
.tenet h2 { line-height: 1.25; font-variation-settings: "wdth" 112; }
/* News page items are h2 (no section heading above them) */
.news-item h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; font-variation-settings: "wdth" 112; }
.news-item:hover h2 { color: var(--verdigris); }

/* ==========================================================================
   Motion. Everything below is off for prefers-reduced-motion.
   Scroll/JS-driven pieces also require the .motion class that main.js sets,
   so without JavaScript the page shows in its finished state.
   ========================================================================== */

.media { overflow: hidden; }
.media > * { transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.property h2, .property h3 { transition: color .3s ease; }
.property:hover .media > * { transform: scale(1.03); }
.property:hover h2, .property:hover h3 { color: var(--verdigris); }

.person .media > * { filter: grayscale(1); }
.person:hover .media > * { filter: grayscale(0); }

.properties { transition: opacity .18s ease; }
.properties.fading { opacity: 0; }

.news-item h2, .news-item h3 { transition: transform .3s ease, color .3s ease; }
.news-item:hover h2, .news-item:hover h3 { transform: translateX(6px); }

/* Buttons: fill slides in from the left */
.btn {
  --fill: var(--verdigris-deep);
  background-image: linear-gradient(var(--fill), var(--fill));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover {
  background-color: var(--ink);
  background-image: linear-gradient(var(--fill), var(--fill));
  background-size: 100% 100%;
  border-color: var(--fill);
}
.btn.ghost { --fill: var(--ink); }
.btn.ghost:hover {
  background-color: transparent;
  background-image: linear-gradient(var(--fill), var(--fill));
  color: var(--paper);
}
.on-dark .btn { --fill: var(--concrete); }
.on-dark .btn:hover {
  background-color: var(--paper);
  background-image: linear-gradient(var(--fill), var(--fill));
  border-color: var(--concrete);
}

/* Text links: underline redraws from the left on hover */
.text-link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 3px;
}
.text-link:hover { animation: redraw .45s ease; }
@keyframes redraw { from { background-size: 0% 1px; } to { background-size: 100% 1px; } }

/* Home: fund facts strip settles in after the site plan draws */
@media (prefers-reduced-motion: no-preference) {
  .hero .titleblock > div { opacity: 0; animation: rise .6s ease-out forwards; }
  .hero .titleblock > div:nth-child(1) { animation-delay: 1.1s; }
  .hero .titleblock > div:nth-child(2) { animation-delay: 1.22s; }
  .hero .titleblock > div:nth-child(3) { animation-delay: 1.34s; }
  .hero .titleblock > div:nth-child(4) { animation-delay: 1.46s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Philosophy + Criteria: dividing lines draw left to right on scroll */
.motion .tenet.reveal { border-bottom: 0; position: relative; }
.motion .tenet.reveal::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.6,.1,.2,1);
}
.motion .tenet.reveal.in::after { transform: scaleX(1); }

@media (min-width: 621px) {
  .motion .spec tr.reveal > * {
    border-bottom: 0;
    background: linear-gradient(var(--rule), var(--rule)) left bottom / 0% 1px no-repeat;
    transition: background-size .6s cubic-bezier(.6,.1,.2,1);
  }
  .motion .spec tr.reveal > td { transition-delay: .5s; }
  .motion .spec tr.reveal.in > * { background-size: 100% 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .media > *, .btn, .properties, .news-item h2, .news-item h3, .property h2, .property h3 { transition: none; }
  .property:hover .media > *, .news-item:hover h2, .news-item:hover h3 { transform: none; }
  .text-link:hover { animation: none; }
}

/* ---------- Contact ---------- */
.contact-info > div { padding: 28px 0; border-top: 1px solid var(--rule); }
.contact-info > div:first-child { border-top: 1px solid var(--ink); }
.contact-info h2 { font-size: 1.3rem; line-height: 1.25; font-variation-settings: "wdth" 112; margin-bottom: 10px; }
.contact-info p { color: var(--ink-soft); margin-bottom: .6em; }

/* Stand-in for the n8n form: hatched box with faint field outlines */
.form-slot { aspect-ratio: auto; min-height: 620px; align-items: stretch; flex-direction: column; justify-content: space-between; }
.form-ghost { display: grid; gap: 18px; padding: 32px; }
.form-ghost i { display: block; height: 48px; background: var(--paper); border: 1px solid var(--rule); opacity: .85; }
.form-ghost i.tall { height: 150px; }
.form-ghost b { display: block; width: 160px; height: 48px; background: var(--ink); opacity: .85; }
.form-slot > span { align-self: flex-start; }

/* ---------- FAQ (Criteria) ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--ink); }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.faq-item p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Team cards are links now ---------- */
a.person { display: block; text-decoration: none; }
a.person h3 { transition: color .3s ease; }
a.person:hover h3 { color: var(--verdigris); }
.person .more { color: var(--verdigris); font-weight: 600; font-size: 0.9rem; }

/* ---------- Article + profile pages ---------- */
.crumb { margin: 0 0 20px; font-size: 0.95rem; }
.article-title { font-size: clamp(2rem, 4.2vw, 3.5rem); max-width: 22ch; }
.article-meta { display: flex; gap: 20px; margin: 20px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.article-meta span { padding-left: 20px; border-left: 1px solid var(--rule); }
.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.article-body .lede { color: var(--ink); margin-bottom: 32px; }
.article-body .ph { margin-bottom: 32px; }
.side-facts { margin: 0 0 20px; border-top: 1px solid var(--ink); }
.side-facts > div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.side-facts dt { font-size: 0.8rem; color: var(--ink-soft); }
.side-facts dd { margin: 2px 0 0; font-weight: 600; }
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile-name { font-size: clamp(2.2rem, 4.5vw, 3.75rem); margin-bottom: 8px; }
.profile .lede { margin-bottom: 28px; }
.profile .side-facts { margin-top: 28px; }
@media (max-width: 860px) {
  .article, .profile { grid-template-columns: 1fr; }
  .profile .media { max-width: 360px; }
}
