/*
  Concept 01: Institutional / BlackRock-style.
  The system uses tight grids, charcoal surfaces, brass dividers, and restrained
  data panels to make Keyhold feel like an operating partner for property assets.
*/
:root {
  --charcoal: #0e1114;
  --charcoal-2: #171b20;
  --ivory: #f4efe5;
  --paper: #fbf8f0;
  --brass: #a9894b;
  --brass-soft: #d1bf93;
  --navy: #142236;
  --muted: #8d877c;
  --line-dark: rgba(244, 239, 229, 0.16);
  --line-light: rgba(14, 17, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ivory);
  background: var(--charcoal);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(14, 17, 20, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-cta,
.button {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--charcoal);
  background: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  color: rgba(244, 239, 229, 0.72);
}

.nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  color: var(--brass-soft);
}

.section {
  padding: clamp(72px, 11vw, 144px) clamp(20px, 5vw, 72px);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  padding-top: 62px;
  padding-bottom: 62px;
  background:
    linear-gradient(90deg, rgba(14, 17, 20, 0.78), rgba(14, 17, 20, 0.96)),
    repeating-linear-gradient(90deg, rgba(244, 239, 229, 0.05) 0 1px, transparent 1px 118px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brass-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: 6.35rem;
  line-height: 0.9;
}

h2 {
  font-size: 4.35rem;
  line-height: 0.95;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.1;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 700px;
  margin-top: 30px;
  color: rgba(244, 239, 229, 0.74);
  font-size: 1.16rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--charcoal);
  background: var(--brass-soft);
}

.button.secondary {
  color: var(--ivory);
  border-color: var(--line-dark);
}

.asset-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(180deg, rgba(20, 34, 54, 0.95), rgba(23, 27, 32, 0.95)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(244, 239, 229, 0.06) 38px 39px);
}

.asset-panel-top,
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(244, 239, 229, 0.68);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.asset-panel-top strong,
.metric-row strong {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.panel-chart {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  padding-top: 34px;
}

.panel-chart span {
  display: block;
  background: var(--brass);
}

.panel-chart span:nth-child(1) {
  height: 38%;
}

.panel-chart span:nth-child(2) {
  height: 62%;
}

.panel-chart span:nth-child(3) {
  height: 46%;
}

.panel-chart span:nth-child(4) {
  height: 78%;
}

.panel-chart span:nth-child(5) {
  height: 88%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--charcoal-2);
}

.trust-strip span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-right: 1px solid var(--line-dark);
  color: rgba(244, 239, 229, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span:last-child {
  border-right: 0;
}

.problem,
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
  color: var(--charcoal);
  background: var(--paper);
}

.problem > p,
.why-grid {
  color: #4e4a42;
  font-size: 1.16rem;
  line-height: 1.78;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.services,
.process,
.faq {
  background: var(--charcoal);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.service-grid article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.service-grid span,
.timeline span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--brass-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.service-grid h3 {
  margin-bottom: 18px;
}

.service-grid p,
.timeline p,
.faq p {
  color: rgba(244, 239, 229, 0.68);
  line-height: 1.68;
}

.audit {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) auto;
  gap: 28px;
  align-items: end;
  color: var(--charcoal);
  background: var(--brass-soft);
}

.audit .eyebrow {
  color: var(--navy);
}

.audit p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(14, 17, 20, 0.72);
  font-size: 1.12rem;
  line-height: 1.7;
}

.audit .button.primary {
  color: var(--ivory);
  background: var(--charcoal);
}

.pricing {
  color: var(--charcoal);
  background: var(--paper);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.price-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line-light);
  background: #fffdf6;
}

.price-card.muted {
  background: var(--navy);
  color: var(--ivory);
}

.price-card p {
  margin-bottom: 38px;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.8rem;
  line-height: 0.9;
}

.price-card span {
  display: block;
  max-width: 400px;
  margin-top: 18px;
  color: currentColor;
  opacity: 0.72;
  line-height: 1.55;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.timeline li {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.timeline strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.why-grid {
  display: grid;
  gap: 18px;
}

.why-grid p {
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.faq details {
  border-top: 1px solid var(--line-dark);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.faq summary {
  cursor: pointer;
  padding: 24px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brass-soft);
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  max-width: 760px;
  padding: 0 0 28px;
}

.final-cta {
  padding: clamp(72px, 12vw, 150px) clamp(20px, 5vw, 72px);
  text-align: center;
  color: var(--charcoal);
  background: var(--ivory);
}

.final-cta h2 {
  width: min(900px, 100%);
  margin: 0 auto 34px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line-dark);
  color: rgba(244, 239, 229, 0.68);
  font-size: 0.84rem;
}

.footer a {
  color: var(--brass-soft);
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .problem,
  .audit,
  .why {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .asset-panel {
    display: none;
  }

  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.35rem;
  }

  .trust-strip,
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 64px 18px;
  }

  h1 {
    font-size: 2.75rem;
    line-height: 0.96;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .asset-panel {
    display: none;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .price {
    font-size: 3.85rem;
  }

  .hero-actions,
  .pricing-grid,
  .trust-strip,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .trust-strip span {
    min-height: 78px;
    border-right: 0;
  }

  .pricing-grid,
  .service-grid,
  .timeline {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
