/* ==========================================================================
   United Home Offers — core stylesheet
   Palette: cream + charcoal, warm bronze hairline accent.
   Type: Cormorant Garamond (display) / Inter (interface).
   ========================================================================== */

/* ---------- tokens ---------- */
:root{
  --cream:        #F4F1EA;
  --cream-deep:   #EBE6DA;
  --cream-warm:   #E4DDCD;
  --ink:          #16150F;
  --ink-mid:      #3D3B33;
  --ink-soft:     #6B6759;
  --bronze:       #8A7548;
  --line:         rgba(22,21,15,.16);
  --line-soft:    rgba(22,21,15,.09);
  --line-light:   rgba(244,241,234,.22);

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(1.5rem, 5vw, 5.5rem);
  --measure: 1360px;
  --section: clamp(5.5rem, 11vw, 10.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--ui);
  font-size:16px;
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

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

::selection{ background:var(--ink); color:var(--cream); }

/* ---------- typography ---------- */
h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:300;
  line-height:1.04;
  letter-spacing:-.012em;
  margin:0;
  text-wrap:balance;
}
.d1{ font-size:clamp(3rem, 7.4vw, 6.6rem); }
.d2{ font-size:clamp(2.35rem, 5.1vw, 4.4rem); }
.d3{ font-size:clamp(1.6rem, 2.6vw, 2.35rem); }
.d4{ font-size:clamp(1.25rem, 1.7vw, 1.6rem); }

p{ margin:0 0 1.15em; }
p:last-child{ margin-bottom:0; }

.lede{
  font-size:clamp(1.06rem, 1.35vw, 1.3rem);
  line-height:1.62;
  color:var(--ink-mid);
  max-width:56ch;
}
.body-copy{ color:var(--ink-mid); max-width:62ch; }
.small{ font-size:.9rem; line-height:1.65; color:var(--ink-soft); }

/* wide-tracked label — the editorial signature of the site */
.eyebrow{
  font-size:.688rem;
  font-weight:500;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--bronze);
  margin:0 0 1.6rem;
  display:flex;
  align-items:center;
  gap:.9rem;
}
.eyebrow::before{
  content:"";
  width:2.2rem; height:1px;
  background:currentColor;
  opacity:.6;
  flex:none;
}
.eyebrow.is-plain::before{ display:none; }
.eyebrow.on-dark{ color:#C6B183; }

/* ---------- layout ---------- */
.wrap{
  width:100%;
  max-width:var(--measure);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.wrap-narrow{ max-width:940px; }
.section{ padding-block:var(--section); }
.section-tight{ padding-block:clamp(3.5rem,7vw,6rem); }
.rule{ height:1px; background:var(--line-soft); border:0; margin:0; }

.grid{ display:grid; gap:clamp(2rem,4vw,4.5rem); }
.g-2{ grid-template-columns:repeat(2,1fr); }
.g-3{ grid-template-columns:repeat(3,1fr); }
.split{ grid-template-columns:minmax(0,.85fr) minmax(0,1fr); align-items:start; }
@media (max-width:900px){
  .g-2,.g-3,.split{ grid-template-columns:1fr; }
}

/* ---------- links + buttons ---------- */
a{ color:inherit; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  font-family:var(--ui);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  text-decoration:none;
  padding:1.15rem 2.1rem;
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--cream);
  cursor:pointer;
  transition:background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover{ background:transparent; color:var(--ink); }
.btn-ghost{ background:transparent; color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--cream); }
.btn-light{ background:transparent; color:var(--cream); border-color:var(--line-light); }
.btn-light:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.btn-solid-light{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.btn-solid-light:hover{ background:transparent; color:var(--cream); }

/* understated text link with a rule that draws in on hover */
.tlink{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  text-decoration:none;
  padding-bottom:.45rem;
  border-bottom:1px solid var(--line);
  transition:border-color .4s var(--ease), gap .4s var(--ease);
}
.tlink:hover{ border-color:var(--ink); gap:1rem; }
.tlink .arw{ transition:transform .4s var(--ease); }
.tlink:hover .arw{ transform:translateX(3px); }
.tlink.on-dark{ color:var(--cream); border-color:var(--line-light); }
.tlink.on-dark:hover{ border-color:var(--cream); }

.btn-row{ display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }

/* ---------- header ---------- */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:200;
  transition:background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  height:88px;
}
.site-header.is-solid{
  background:rgba(244,241,234,.94);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom-color:var(--line-soft);
}
.site-header.is-hidden{ transform:translateY(-100%); }

/* wordmark */
.mark{
  display:flex;
  flex-direction:column;
  gap:.28rem;
  text-decoration:none;
  line-height:1;
  flex:none;
}
.mark-name{
  font-family:var(--display);
  font-size:1.42rem;
  font-weight:400;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
}
.mark-sub{
  font-size:.53rem;
  font-weight:500;
  letter-spacing:.34em;
  text-transform:uppercase;
  opacity:.62;
  white-space:nowrap;
}

.nav{ display:flex; align-items:center; gap:clamp(1.5rem,2.6vw,2.9rem); }
.nav a{
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.17em;
  text-transform:uppercase;
  text-decoration:none;
  position:relative;
  padding-block:.4rem;
  white-space:nowrap;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .45s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after{ transform:scaleX(1); }
.nav .btn{ padding:.95rem 1.6rem; }
.nav .btn::after{ display:none; }

/* header sitting over a dark hero */
.site-header.on-hero:not(.is-solid){ color:var(--cream); }
.site-header.on-hero:not(.is-solid) .btn-ghost{ color:var(--cream); border-color:var(--line-light); }
.site-header.on-hero:not(.is-solid) .btn-ghost:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.site-header.on-hero:not(.is-solid) .burger span{ background:var(--cream); }

/* mobile menu toggle */
.burger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
}
.burger span{
  display:block;
  height:1px;
  width:22px;
  background:var(--ink);
  transition:transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-open .burger span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2){ opacity:0; }
.nav-open .burger span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

@media (max-width:940px){
  .site-header .wrap{ height:74px; }
  .burger{ display:flex; }
  .nav{
    position:fixed;
    inset:74px 0 auto 0;
    background:var(--cream);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:1rem var(--gutter) 2.5rem;
    border-bottom:1px solid var(--line-soft);
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .4s var(--ease), transform .4s var(--ease);
    max-height:calc(100vh - 74px);
    overflow-y:auto;
  }
  .nav-open .nav{ opacity:1; transform:none; pointer-events:auto; }
  .nav a{
    font-size:.95rem;
    letter-spacing:.1em;
    padding:1.05rem 0;
    border-bottom:1px solid var(--line-soft);
  }
  .nav a::after{ display:none; }
  .nav .btn{ margin-top:1.6rem; justify-content:center; border-bottom:0; }
  .site-header.on-hero:not(.is-solid) .nav{ color:var(--ink); }
  .site-header.on-hero:not(.is-solid) .nav .btn{ color:var(--cream); }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:min(92vh, 900px);
  display:flex;
  align-items:flex-end;
  color:var(--cream);
  overflow:hidden;
  isolation:isolate;
}
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero::after{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(100deg, rgba(10,10,8,.80) 0%, rgba(10,10,8,.55) 38%, rgba(10,10,8,.10) 72%),
    linear-gradient(180deg, rgba(10,10,8,.55) 0%, rgba(10,10,8,.20) 40%, rgba(10,10,8,.82) 100%);
}
.hero .wrap{ padding-block:clamp(3.5rem,9vh,7rem); width:100%; }
.hero h1{ max-width:17ch; margin-bottom:1.9rem; }
.hero .lede{ color:rgba(244,241,234,.86); max-width:50ch; margin-bottom:2.8rem; }

/* the thin meta strip along the bottom of the hero */
.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:clamp(1.6rem,4vw,4rem);
  margin-top:clamp(3rem,7vh,5rem);
  padding-top:1.7rem;
  border-top:1px solid var(--line-light);
}
.hero-meta div{ display:flex; flex-direction:column; gap:.3rem; }
.hero-meta dt,.hero-meta .k{
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(244,241,234,.6);
}
.hero-meta .v{ font-family:var(--display); font-size:1.5rem; }

/* short hero for interior pages */
.page-head{
  position:relative;
  color:var(--cream);
  display:flex;
  align-items:flex-end;
  min-height:min(62vh,620px);
  overflow:hidden;
  isolation:isolate;
}
.page-head .hero-media{ z-index:-2; }
.page-head::after{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(100deg, rgba(10,10,8,.78) 0%, rgba(10,10,8,.50) 42%, rgba(10,10,8,.12) 78%),
    linear-gradient(180deg, rgba(10,10,8,.50) 0%, rgba(10,10,8,.22) 45%, rgba(10,10,8,.75) 100%);
}
.page-head .wrap{ padding-block:clamp(3rem,7vh,5.5rem); width:100%; }
.page-head h1{ max-width:16ch; }
.page-head .lede{ color:rgba(244,241,234,.85); margin-top:1.6rem; }

/* ---------- dark band ---------- */
.dark{ background:var(--ink); color:var(--cream); }
.dark .lede,.dark .body-copy{ color:rgba(244,241,234,.74); }
.dark .small{ color:rgba(244,241,234,.58); }
.dark .rule{ background:var(--line-light); }

/* ---------- discipline / capability cards ---------- */
.disciplines{ display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); }
@media (max-width:900px){ .disciplines{ grid-template-columns:1fr; } }
.disc{
  padding:clamp(2.2rem,3.4vw,3.4rem) clamp(1.5rem,2.4vw,2.6rem) clamp(2.4rem,3.4vw,3.4rem);
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:1rem;
  position:relative;
  transition:background .5s var(--ease);
}
.disc:last-child{ border-right:0; }
@media (max-width:900px){ .disc{ border-right:0; } }
.disc:hover{ background:var(--cream-deep); }
.disc-num{
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.24em;
  color:var(--bronze);
  margin-bottom:.4rem;
}
.disc ul{ margin:1.6rem 0 0; padding:0; list-style:none; margin-top:auto; padding-top:1.6rem; }
.disc li{
  font-size:.86rem;
  color:var(--ink-soft);
  padding:.55rem 0;
  border-top:1px solid var(--line-soft);
}

/* ---------- project cards ---------- */
.projects{ display:grid; gap:clamp(2.2rem,3.4vw,3.6rem); grid-template-columns:repeat(2,1fr); }
.projects.is-three{ grid-template-columns:repeat(3,1fr); }
@media (max-width:900px){ .projects,.projects.is-three{ grid-template-columns:1fr; } }

.project{ display:block; text-decoration:none; }
.project-media{
  position:relative;
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--cream-warm);
  margin-bottom:1.5rem;
}
.project-media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform 1.2s var(--ease);
}
.project:hover .project-media img{ transform:scale(1.045); }
.project-tag{
  position:absolute;
  top:1rem; left:1rem;
  background:rgba(244,241,234,.93);
  color:var(--ink);
  font-size:.6rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  padding:.5rem .85rem;
}
.project-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:1.5rem;
  padding-bottom:.9rem;
  border-bottom:1px solid var(--line-soft);
  margin-bottom:.9rem;
}
.project-loc{
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--ink-soft);
  white-space:nowrap;
}
.project-facts{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1.4rem;
  font-size:.82rem;
  color:var(--ink-soft);
}
.project-facts span{ display:inline-flex; align-items:center; gap:.5rem; }
.project-facts span+span::before{
  content:"";
  width:3px; height:3px;
  background:var(--bronze);
  border-radius:50%;
  margin-right:.4rem;
}

/* ---------- numbered approach list ---------- */
.steps{ border-top:1px solid var(--line); }
.step{
  display:grid;
  grid-template-columns:5.5rem minmax(0,20ch) minmax(0,1fr);
  gap:clamp(1rem,3vw,3rem);
  padding:clamp(1.9rem,3vw,2.9rem) 0;
  border-bottom:1px solid var(--line);
  align-items:start;
}
@media (max-width:800px){
  .step{ grid-template-columns:3.2rem 1fr; }
  .step .step-body{ grid-column:2; }
}
.step-num{
  font-family:var(--display);
  font-variant-numeric:lining-nums;
  font-feature-settings:"lnum" 1;
  font-size:1.35rem;
  color:var(--bronze);
}
.step-body{ color:var(--ink-soft); font-size:.95rem; max-width:60ch; }

/* ---------- pull quote ---------- */
.quote{ text-align:center; max-width:24ch; margin-inline:auto; }
.quote-cite{
  margin-top:2.2rem;
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.dark .quote-cite{ color:rgba(244,241,234,.6); }

/* ---------- figures ---------- */
.figure{ position:relative; overflow:hidden; }
.figure img{ width:100%; height:100%; object-fit:cover; }
.figure-tall{ aspect-ratio:3/4; }
.figure-wide{ aspect-ratio:16/9; }
.figure-square{ aspect-ratio:1/1; }
.figure-caption{
  margin-top:1rem;
  font-size:.76rem;
  letter-spacing:.06em;
  color:var(--ink-soft);
}

/* offset two-image composition */
.stack{ display:grid; grid-template-columns:repeat(12,1fr); gap:1.25rem; }
.stack .a{ grid-column:1 / span 8; }
.stack .b{ grid-column:7 / span 6; margin-top:-18%; z-index:2; }
@media (max-width:700px){
  .stack .a{ grid-column:1 / -1; }
  .stack .b{ grid-column:3 / -1; margin-top:-14%; }
}

/* ---------- metrics ---------- */
.metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
}
.dark .metrics{ border-color:var(--line-light); }
@media (max-width:820px){ .metrics{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:460px){ .metrics{ grid-template-columns:1fr; } }
.metric{
  padding:clamp(1.8rem,3vw,2.8rem) 1.5rem clamp(1.8rem,3vw,2.6rem) 0;
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line);
}
.dark .metric{ border-color:var(--line-light); }
.metric:last-child{ border-right:0; }
.metric-v{
  font-family:var(--display);
  font-variant-numeric:lining-nums tabular-nums;
  font-feature-settings:"lnum" 1;
  font-size:clamp(2.4rem,4.4vw,3.6rem);
  line-height:1;
  display:block;
  margin-bottom:.9rem;
}
.metric-k{
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.dark .metric-k{ color:rgba(244,241,234,.6); }

/* placeholder styling — makes unfilled facts obvious in the browser
   without looking broken. Remove .is-placeholder once real data is in. */
.is-placeholder{ position:relative; }
.is-placeholder .metric-v{ opacity:.32; }

/* ---------- forms ---------- */
.form-grid{ display:grid; gap:1.5rem 1.75rem; grid-template-columns:repeat(2,1fr); }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:.6rem; }
.field-wide{ grid-column:1 / -1; }
.field label{
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.field input,.field select,.field textarea{
  font-family:var(--ui);
  font-size:1rem;
  color:var(--ink);
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  padding:.75rem 0;
  border-radius:0;
  transition:border-color .35s var(--ease);
  width:100%;
}
.field textarea{ resize:vertical; min-height:120px; }
.field select{ appearance:none; cursor:pointer; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;
  border-bottom-color:var(--ink);
}
.field input::placeholder,.field textarea::placeholder{ color:rgba(107,103,89,.55); }
.consent{
  grid-column:1 / -1;
  display:flex;
  gap:.85rem;
  align-items:flex-start;
  font-size:.82rem;
  color:var(--ink-soft);
  line-height:1.6;
}
.consent input{ width:auto; margin-top:.35rem; flex:none; accent-color:var(--ink); }
.form-note{
  margin-top:1.6rem;
  font-size:.78rem;
  color:var(--ink-soft);
}
.form-status{
  margin-top:1.2rem;
  font-size:.85rem;
  padding:1rem 1.2rem;
  border-left:2px solid var(--bronze);
  background:var(--cream-deep);
  display:none;
}
.form-status.is-shown{ display:block; }

/* ---------- contact detail list ---------- */
.detail-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.detail-list li{ padding:1.35rem 0; border-bottom:1px solid var(--line); }
.detail-list .k{
  display:block;
  font-size:.64rem;
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin-bottom:.55rem;
}
.detail-list .v{ font-size:1.02rem; }
.detail-list a{ text-decoration:none; border-bottom:1px solid var(--line); }
.detail-list a:hover{ border-color:var(--ink); }

/* ---------- faq ---------- */
.faq{ border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  list-style:none;
  cursor:pointer;
  padding:1.6rem 3rem 1.6rem 0;
  position:relative;
  font-family:var(--display);
  font-size:clamp(1.15rem,1.7vw,1.45rem);
  font-weight:400;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"";
  position:absolute;
  right:.4rem; top:50%;
  width:12px; height:1px;
  background:var(--ink);
  transition:transform .4s var(--ease);
}
.faq summary::before{
  content:"";
  position:absolute;
  right:.4rem; top:50%;
  width:12px; height:1px;
  background:var(--ink);
  transform:rotate(90deg);
  transition:transform .4s var(--ease), opacity .4s var(--ease);
}
.faq details[open] summary::before{ transform:rotate(0deg); opacity:0; }
.faq-body{ padding:0 3rem 1.9rem 0; color:var(--ink-soft); max-width:70ch; }

/* ---------- cta band ---------- */
.cta{ text-align:center; }
.cta h2{ max-width:20ch; margin-inline:auto; }
.cta .lede{ margin:1.7rem auto 2.6rem; }
.cta .btn-row{ justify-content:center; }

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:var(--cream); padding-block:clamp(4rem,7vw,6rem) 2.5rem; }
.footer-top{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));
  gap:clamp(2rem,4vw,3.5rem);
  padding-bottom:3.5rem;
  border-bottom:1px solid var(--line-light);
}
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-brand .mark-name{ font-size:1.5rem; }
.footer-brand p{ margin-top:1.4rem; color:rgba(244,241,234,.66); font-size:.9rem; max-width:34ch; }
.footer-col h3{
  font-family:var(--ui);
  font-size:.64rem;
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(244,241,234,.5);
  margin-bottom:1.3rem;
}
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.85rem; }
.footer-col a{
  text-decoration:none;
  font-size:.9rem;
  color:rgba(244,241,234,.82);
  transition:color .3s var(--ease);
}
.footer-col a:hover{ color:var(--cream); }
.footer-legal{
  padding-top:2.5rem;
  display:flex;
  flex-wrap:wrap;
  gap:1rem 2.5rem;
  justify-content:space-between;
  align-items:flex-start;
  font-size:.76rem;
  color:rgba(244,241,234,.5);
}
.disclaimer{
  margin-top:2.2rem;
  padding-top:2rem;
  border-top:1px solid var(--line-light);
  font-size:.72rem;
  line-height:1.75;
  color:rgba(244,241,234,.46);
  max-width:100ch;
}

/* ---------- scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .95s var(--ease), transform .95s var(--ease);
  will-change:opacity, transform;
}
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .project-media img,.btn,.tlink{ transition:none; }
}

/* ---------- utility ---------- */
.stack-sm > * + *{ margin-top:1.4rem; }
.mt-lg{ margin-top:clamp(2.5rem,4vw,4rem); }
.mt-md{ margin-top:clamp(1.6rem,2.5vw,2.4rem); }
.visually-hidden{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:999;
  background:var(--ink); color:var(--cream);
  padding:1rem 1.5rem; font-size:.8rem;
}
.skip-link:focus{ left:0; }
:focus-visible{ outline:2px solid var(--bronze); outline-offset:3px; }

/* ---------- small-screen refinements ---------- */
@media (max-width:560px){
  .btn-row{ flex-direction:column; align-items:stretch; gap:.85rem; }
  .btn-row .btn{ justify-content:center; width:100%; }
  .hero-meta{ gap:1.4rem; }
  .mark-name{ font-size:1.2rem; }
  .mark-sub{ font-size:.5rem; letter-spacing:.28em; }
  .project-head{ flex-direction:column; gap:.35rem; align-items:flex-start; }
  .metric{ padding-right:1rem; }
  .faq summary{ padding-right:2.2rem; }
}

/* ---------- forms on dark surfaces ----------
   The investor form sits on .section.dark, where the light-surface field
   styles would render text and rules almost invisibly. */
.dark .field label{ color:rgba(244,241,234,.62); }
.dark .field input,
.dark .field select,
.dark .field textarea{
  color:var(--cream);
  border-bottom-color:var(--line-light);
}
.dark .field input:focus,
.dark .field select:focus,
.dark .field textarea:focus{ border-bottom-color:var(--cream); }
.dark .field input::placeholder,
.dark .field textarea::placeholder{ color:rgba(244,241,234,.42); }
/* the native dropdown panel is drawn light by the OS */
.dark .field select option{ color:#16150F; background:#F4F1EA; }
.dark .consent{ color:rgba(244,241,234,.72); }
.dark .consent input{ accent-color:var(--cream); }
.dark .form-status{
  background:rgba(244,241,234,.08);
  border-left-color:#C6B183;
  color:rgba(244,241,234,.88);
}
.dark .detail-list,
.dark .detail-list li{ border-color:var(--line-light); }
.dark .detail-list .k{ color:rgba(244,241,234,.6); }
.dark .detail-list a{ border-bottom-color:var(--line-light); }
.dark .detail-list a:hover{ border-bottom-color:var(--cream); }
.dark .faq,
.dark .faq details{ border-color:var(--line-light); }
.dark .faq summary::after,
.dark .faq summary::before{ background:var(--cream); }
.dark .faq-body{ color:rgba(244,241,234,.72); }
.dark .steps,
.dark .step{ border-color:var(--line-light); }
.dark .step-body{ color:rgba(244,241,234,.72); }
.dark .step-num{ color:#C6B183; }
.dark .disc{ border-color:var(--line-light); }
.dark .disc li{ border-top-color:var(--line-light); color:rgba(244,241,234,.66); }
.dark .project-head{ border-bottom-color:var(--line-light); }
.dark .project-loc,
.dark .project-facts{ color:rgba(244,241,234,.66); }
.dark .rule{ background:var(--line-light); }

/* ---------- open mobile menu ----------
   With the menu open the header must read as a solid light bar, and the
   menu CTA must be a solid button. Without this the hero-state rules paint
   cream text onto the cream menu panel and the button disappears. */
@media (max-width:940px){
  .nav-open .site-header,
  .nav-open .site-header.on-hero:not(.is-solid){
    background:var(--cream);
    color:var(--ink);
    border-bottom-color:var(--line-soft);
  }
  .nav-open .site-header .burger span,
  .nav-open .site-header.on-hero:not(.is-solid) .burger span{ background:var(--ink); }

  .site-header .nav .btn,
  .site-header.on-hero:not(.is-solid) .nav .btn{
    background:var(--ink);
    color:var(--cream);
    border-color:var(--ink);
  }
  .site-header .nav .btn:hover,
  .site-header.on-hero:not(.is-solid) .nav .btn:hover{
    background:transparent;
    color:var(--ink);
  }
}

/* ---------- specification lists (acquisition criteria) ---------- */
.specs{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(2.2rem,4vw,4rem); }
@media (max-width:900px){ .specs{ grid-template-columns:1fr; } }

.spec h3{ padding-bottom:1.1rem; border-bottom:1px solid var(--line); margin-bottom:.25rem; }
.spec dl{ margin:0; }
.spec .row{
  display:grid;
  grid-template-columns:minmax(0,11ch) minmax(0,1fr);
  gap:1.25rem;
  padding:1rem 0;
  border-bottom:1px solid var(--line-soft);
  align-items:baseline;
}
@media (max-width:480px){
  .spec .row{ grid-template-columns:1fr; gap:.35rem; }
}
.spec dt{
  font-size:.64rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.spec dd{ margin:0; font-size:.95rem; color:var(--ink); }
.dark .spec h3{ border-bottom-color:var(--line-light); }
.dark .spec .row{ border-bottom-color:var(--line-light); }
.dark .spec dt{ color:rgba(244,241,234,.6); }
.dark .spec dd{ color:var(--cream); }

/* asset-type strip: category images, not project claims */
.types{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.2rem,2.4vw,2rem); }
@media (max-width:800px){ .types{ grid-template-columns:1fr; } }
.type-item .figure{ margin-bottom:1rem; }
.type-item h4{
  font-family:var(--ui);
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  margin:0 0 .5rem;
}
.type-item p{ font-size:.88rem; color:var(--ink-soft); margin:0; }

/* plain "we don't buy" list */
.exclusions{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.exclusions li{
  padding:.95rem 0 .95rem 1.9rem;
  border-bottom:1px solid var(--line-soft);
  position:relative;
  color:var(--ink-soft);
  font-size:.95rem;
}
.exclusions li::before{
  content:"";
  position:absolute;
  left:0; top:1.45rem;
  width:11px; height:1px;
  background:var(--bronze);
}

/* ---------- four-up disciplines ---------- */
.disciplines.is-four{ grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){
  .disciplines.is-four{ grid-template-columns:repeat(2,1fr); }
  .disciplines.is-four .disc:nth-child(2n){ border-right:0; }
}
@media (max-width:900px){
  .disciplines.is-four{ grid-template-columns:1fr; }
  .disciplines.is-four .disc{ border-right:0; }
}

/* keep the four discipline headings on a common baseline so the body copy
   below them starts at the same height even when one title wraps */
@media (min-width:901px){
  .disciplines.is-four .disc h3{ min-height:2.1em; }
}
