/* ==========================================================================
   The Straten Group, stratenapex.com
   Design tokens + base styles
   ========================================================================== */

:root {
  /* Color */
  --ink: #0d1420;
  --ink-2: #131c2b;
  --ink-3: #1c2637;
  --cream: #f4f1ec;
  --cream-2: #eae5dd;
  --white: #ffffff;
  --accent: #c8502a;
  --accent-soft: #e0764e;
  --text: #1a2230;
  --text-muted: #5c6575;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --muted-on-dark: rgba(255, 255, 255, 0.62);
  /* Brand orange is used for fills; this slightly darker tone is for accent TEXT
     on cream/white so it clears 4.5:1. */
  --accent-text: #b94a27;
  --line: rgba(20, 30, 45, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Outfit", "Century Gothic", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.25rem, 1.6vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 2.4vw, 2rem);
  --text-3xl: clamp(2rem, 3.6vw, 2.9rem);
  --text-hero: clamp(2.4rem, 5.4vw, 4.25rem);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  /* The shell can grow on wide displays while paragraphs retain their own
     readable character-based measures. */
  --maxw: 1360px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

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

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: var(--muted-on-dark); }

.section--cream2 { background: var(--cream-2); }
.section--white { background: var(--white); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
  font-weight: 500;
}
.section--dark .eyebrow { color: var(--muted-on-dark); }
.eyebrow--accent { color: var(--accent); }

.rule {
  width: 42px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 62ch;
}
.section--dark .lead { color: var(--muted-on-dark); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split--center { align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand svg { display: block; }
.brand__text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav__portal { display: none; }

.header__cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: 0.28s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -0.75px; }
.nav-toggle span::before { content: ""; top: -6px; left: 0; transform: none; }
.nav-toggle span::after { content: ""; top: 6px; left: 0; transform: none; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.28s var(--ease);
  background: none;
}
.btn svg { width: 13px; height: 13px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #a93f1f; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease);
}
.textlink svg { width: 12px; height: 12px; flex: none; }
.textlink:hover { gap: 0.8rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.95;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 16, 26, 0.94) 0%,
    rgba(10, 16, 26, 0.78) 42%,
    rgba(10, 16, 26, 0.32) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
}
.hero h1 {
  font-size: var(--text-hero);
  color: #fff;
  max-width: 21ch;
  margin-bottom: 1.35rem;
}
.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

/* Page hero (interior pages) */
.pagehero {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 82% 25%,
    rgba(200, 80, 42, 0.26),
    transparent 58%
  );
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { font-size: var(--text-3xl); color: #fff; max-width: 26ch; }
.pagehero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-lg);
  max-width: 62ch;
  margin-top: 1.1rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats > div {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line-on-dark);
}
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.stat__label {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: 0.3s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.card:hover { transform: translateY(-4px); border-color: rgba(200, 80, 42, 0.5); }
.card__num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  margin-bottom: 1.8rem;
}
.card h3 { font-size: var(--text-xl); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.section--dark .card {
  background: var(--ink-2);
  border-color: var(--line-on-dark);
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: var(--muted-on-dark); }
.card--accent { background: var(--ink-3); border-color: var(--ink-3); }
.card--accent h3, .card--accent .card__num { color: #fff; }
.card--accent .card__num { color: var(--accent-soft); }
.card--accent p { color: var(--muted-on-dark); }

.valuecard {
  border-left: 1px solid var(--line-on-dark);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}
.valuecard:first-child { border-left: 0; }
.valuecard__letter {
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: 1.6rem;
}

/* ---------- Feature list ---------- */
.featurelist { display: grid; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.featurelist li { border-left: 2px solid var(--accent); padding-left: 1.15rem; }
.featurelist h3 { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.featurelist p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Media frame ---------- */
.frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}
.frame img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.frame--wide img { aspect-ratio: 16 / 9; }
.pemberton-feature { align-items: start; }
.pemberton-feature__copy h2 { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.pemberton-feature__copy p + p { margin-top: 1.25rem; }
.pemberton-feature__copy p:last-child { margin-top: 2rem; }

/* ---------- Property cards ---------- */
.property {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.property img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s var(--ease); }
.property:hover img { transform: scale(1.04); }
.property__body { padding: clamp(1.2rem, 2vw, 1.75rem); }
.property__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ---------- Venture logos ---------- */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-on-dark); }
.logos div {
  background: var(--ink-2);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.logos img {
  max-height: 104px;
  width: auto;
  filter: grayscale(1) brightness(1.7);
  opacity: 0.85;
  transition: 0.3s var(--ease);
  mix-blend-mode: screen;
}
.logos div:hover img { filter: none; opacity: 1; }

/* ---------- Team ---------- */
.leader {
  border: 1px solid var(--line-on-dark);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink-2);
}
.leader__role {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}
.leader h3 { font-size: var(--text-2xl); margin-bottom: 0.65rem; }

.roster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line-on-dark); }
.roster div {
  padding: 1.15rem 1.25rem;
  border-left: 1px solid var(--line-on-dark);
  font-size: 0.95rem;
  color: var(--text-on-dark);
}
.roster div:first-child { border-left: 0; }

/* ---------- CTA band ---------- */
.ctaband {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
}
.ctaband__text {
  background: var(--accent);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ctaband__text h2 { color: #fff; font-size: var(--text-2xl); margin-bottom: 1rem; }
.ctaband__text p { color: rgba(255, 255, 255, 0.88); }
.ctaband__text .eyebrow { color: rgba(255, 255, 255, 0.8); }
.ctaband img { height: 100%; width: 100%; object-fit: cover; min-height: 280px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.form__captcha {
  min-height: 78px;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}
.form__captcha .h-captcha { max-width: 100%; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.25s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }
.form__note { font-size: var(--text-sm); color: var(--text-muted); }
.form__status { font-size: 0.95rem; min-height: 1.4em; }
.form__status[data-state="error"] { color: #a93f1f; }
.form__status[data-state="ok"] { color: #1d6b43; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Contact meta ---------- */
.contactmeta a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.contactmeta address { font-style: normal; color: var(--text-muted); margin-top: 1.25rem; }

/* ---------- Insights ---------- */
.post {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: 0.3s var(--ease);
}
.post:hover { border-color: rgba(200, 80, 42, 0.5); transform: translateY(-3px); }
.post__date {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.post h3 { font-size: var(--text-lg); }
.post p { color: var(--text-muted); font-size: 0.95rem; }

.prose { max-width: 70ch; }
.prose h2 { font-size: var(--text-2xl); margin: 2.5rem 0 0.9rem; }
.prose h3 { font-size: var(--text-lg); margin: 2rem 0 0.6rem; }
.prose ul { padding-left: 1.2rem; color: var(--text-muted); }
.prose li { margin-bottom: 0.5rem; }
.prose p { color: var(--text-muted); }
.legal-prose h2 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; border-top: 1px solid var(--line); padding-top: 1.4rem; margin: 2.25rem 0 .9rem; }
.prose > h2:first-child { margin-top: 0; }
.legal-prose p { line-height: 1.75; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.site-footer p, .site-footer address {
  color: var(--muted-on-dark);
  font-size: 0.95rem;
  font-style: normal;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; font-size: 0.95rem; transition: color 0.25s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer__brand img { width: 46px; margin-bottom: 1.1rem; }
.site-footer__bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--muted-on-dark);
}
.site-footer__bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster div { border-left: 0; border-top: 1px solid var(--line-on-dark); }
  .roster div:nth-child(-n + 2) { border-top: 0; }
  .roster div:nth-child(even) { border-left: 1px solid var(--line-on-dark); }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav a { width: 100%; padding-block: 0.95rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  .nav .nav__portal { display: block; color: var(--cream); background: var(--ink); padding-inline: 1rem; margin-top: 0.8rem; border-bottom: 0; }
  .nav-open .nav { transform: none; }
  .header__cta .btn { display: none; }

  .split { grid-template-columns: 1fr; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-left: 0; border-top: 1px solid var(--line-on-dark); padding-left: 0; }
  .stats > div:first-child { border-top: 0; }
  .valuecard { border-left: 0; border-top: 1px solid var(--line-on-dark); }
  .valuecard:first-child { border-top: 0; }
  .ctaband { grid-template-columns: 1fr; }
  .ctaband img { order: -1; min-height: 240px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .form__captcha {
    transform: scale(.92);
    transform-origin: left center;
    width: 108.7%;
  }
}

/* Use more of large laptop and desktop screens without stretching body copy
   into hard-to-read lines. Full-bleed backgrounds still use the viewport. */
@media (min-width: 1500px) {
  :root {
    --maxw: 1480px;
    --gutter: clamp(4rem, 5vw, 6rem);
  }
}


/* ---- People cards ---- */
.person {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.person:hover img { transform: scale(1.03); filter: saturate(1.05); }
.person__body { padding: 1.1rem 1.15rem 1.35rem; }
.person__role {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.person__body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.person--lead .person__body { padding: clamp(1.25rem, 2vw, 1.9rem); }
.person--lead .person__body h3 { font-size: var(--text-lg); margin-bottom: 0.6rem; }
.person__bio { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.person__li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  flex: none;
}
.person__li:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.stats--wrap { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .stats--wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 560px) { .stats--wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; } }
.stats--wrap > div { border-left-color: var(--line); }
.stats--wrap .stat__label { color: var(--text-muted); }

/* ==========================================================================
   Modern layer (2026 refresh): type, motion, and editorial detail
   ========================================================================== */
:root {
  --text-2xl: clamp(1.7rem, 2.9vw, 2.45rem);
  --text-3xl: clamp(2.1rem, 4.2vw, 3.3rem);
  --text-hero: clamp(2.5rem, 6.1vw, 5.1rem);
  --radius: 3px;
  --shadow-soft: 0 1px 2px rgba(13,20,32,.04), 0 12px 32px -12px rgba(13,20,32,.16);
  --shadow-lift: 0 2px 4px rgba(13,20,32,.05), 0 28px 60px -22px rgba(13,20,32,.3);
}
h1, h2 { letter-spacing: -0.028em; }
h1 { font-weight: 300; }
h2 { font-weight: 300; }
.lead { line-height: 1.55; letter-spacing: -0.008em; }
.eyebrow { letter-spacing: 0.26em; font-size: 0.7rem; }

/* Scroll progress */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  z-index: 300; pointer-events: none;
}

/* Header refinement */
.site-header {
  background: rgba(244, 241, 236, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: transparent;
  transition: min-height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 241, 236, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(13,20,32,.5);
}
.site-header__inner { transition: min-height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { min-height: 62px; }

/* Hero */
.hero { min-height: min(92svh, 860px); display: grid; align-items: end; }
.hero__media::after {
  background:
    linear-gradient(180deg, rgba(13,20,32,.62) 0%, rgba(13,20,32,.30) 38%, rgba(13,20,32,.74) 100%),
    radial-gradient(80% 60% at 18% 76%, rgba(13,20,32,.55), transparent 70%);
}
.hero__media img { animation: heroDrift 26s var(--ease) both; }
@keyframes heroDrift { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero h1 { max-width: 20ch; }
.hero__inner > * { animation: riseIn .9s var(--ease) both; }
.hero__inner > *:nth-child(1) { animation-delay: .05s; }
.hero__inner > *:nth-child(2) { animation-delay: .16s; }
.hero__inner > *:nth-child(3) { animation-delay: .28s; }
.hero__inner > *:nth-child(4) { animation-delay: .4s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__cue {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.66);
}
.hero__cue .hero__cue-rule {
  width: 54px; height: 1px; background: rgba(255,255,255,.4); position: relative; overflow: hidden;
}
.hero__cue .hero__cue-rule::after {
  content: ""; position: absolute; inset: 0; background: var(--accent-soft);
  transform: translateX(-100%); animation: cueSlide 2.6s var(--ease) infinite;
}
@keyframes cueSlide { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* Marquee */
.marquee {
  background: var(--ink); color: #fff; overflow: hidden;
  border-block: 1px solid var(--line-on-dark); padding-block: 1.05rem;
  /* The band sits on a light page, so the track fades into the band's own
     colour with overlay gradients instead of a mask that reveals the page. */
  position: relative;
}
.marquee__track {
  display: flex; gap: 3.5rem; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee__track > span {
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee__track > span::after { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (max-width: 860px) {
  .marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .marquee__track { animation: none; }
  .marquee__track > span:nth-child(n+7) { display: none; }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.section--dark .card { background: rgba(255,255,255,.035); border-color: var(--line-on-dark); }
.section--dark .card:hover { background: rgba(255,255,255,.07); border-color: var(--line-on-dark); }
.card__num { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* Image frames */
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.frame img { transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }

/* Editorial collage */
.collage {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1.35fr 1fr; align-items: end;
}
.collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.collage figure img { transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage__caption {
  margin-top: .85rem; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
}
.section--dark .collage__caption { color: var(--muted-on-dark); }

/* Stats */
.stat__value { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* Reveal refinement */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (max-width: 860px) {
  .collage { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .marquee__track, .hero__cue .hero__cue-rule::after, .hero__inner > * { animation: none !important; }
  .card:hover, .frame:hover img, .collage figure:hover img { transform: none; }
}

/* accent card must win over the modern .card background */
.card.card--accent { background: var(--ink-3); border-color: var(--ink-3); }
.card.card--accent h3 { color: #fff; }
.card.card--accent .card__num { color: var(--accent-soft); }
.card.card--accent p { color: var(--muted-on-dark); }
.card.card--accent:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* ==========================================================================
   Portfolio depth layer (2026): sub-nav, data table, venture cards
   ========================================================================== */
.subnav {
  position: sticky; top: 62px; z-index: 40;
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.subnav__inner {
  display: flex; gap: clamp(1rem, 3vw, 2.5rem);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-top: .9rem; padding-bottom: .9rem;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: 0 0 auto;
  color: rgba(244,241,236,.66);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding-bottom: .2rem;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.subnav a:hover, .subnav a:focus-visible { color: var(--cream); border-bottom-color: var(--accent); }

.grid--cap { align-items: stretch; }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.datatable {
  width: 100%; border-collapse: collapse;
  font-size: .95rem; min-width: 620px;
}
.datatable th {
  text-align: left; font-family: var(--font-display); font-weight: 400;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 1rem .75rem 0; border-bottom: 1px solid var(--line);
}
.datatable td {
  padding: 1.05rem 1rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline; color: var(--text-muted);
}
.datatable tbody tr { transition: background .2s ease; }
.datatable tbody tr:hover { background: rgba(200,80,42,.05); }
.datatable td:first-child {
  color: var(--ink); font-family: var(--font-display); font-weight: 400;
  font-size: 1.05rem; white-space: nowrap;
}
.datatable td:last-child { color: var(--ink-3); }
@media (max-width: 720px) {
  .datatable { min-width: 0; }
  .datatable thead { display: none; }
  .datatable tbody tr { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .datatable td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .2rem 0; white-space: normal; }
  .datatable td:first-child { white-space: normal; margin-bottom: .35rem; }
  .datatable td:not(:first-child)::before {
    content: attr(data-label);
    font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-3); opacity: .55; flex: 0 0 auto;
  }
}

.grid--v { gap: 1px; }
.vcard {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), background .4s ease, border-color .4s ease;
}
.vcard:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); border-color: rgba(224,118,78,.45); }
.vcard__sector {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-soft); margin: 0;
}
.vcard h3 { font-size: 1.3rem; font-weight: 300; margin: 0; color: var(--cream); }
.vcard p { color: rgba(244,241,236,.68); font-size: .92rem; margin: 0; }
.vcard .textlink { margin-top: auto; padding-top: .6rem; }
.vcard__logo { height: 88px; display: flex; align-items: center; justify-content: center; background: var(--cream); margin-bottom: .55rem; }
.vcard__logo img { display: block; width: auto; height: auto; max-width: 76%; max-height: 64px; object-fit: contain; }
.textlink--sm { font-size: .78rem; }

.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.statgrid > div { background: var(--cream); padding: clamp(1.25rem, 2.5vw, 1.9rem); }
.statgrid .stat__value { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--ink); }
.statgrid .stat__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: .5rem; }

.section--dark .datatable td, .section--dark .datatable th { border-color: rgba(255,255,255,.12); }
.section--dark .datatable td:first-child { color: var(--cream); }

[id] { scroll-margin-top: 140px; }
@media (max-width: 720px) { .subnav { top: 60px; } }

.statgrid--dark { background: rgba(255,255,255,.12); }
.statgrid--dark > div { background: var(--ink-2); }
.statgrid--dark .stat__value { color: var(--cream); }
.statgrid--dark .stat__label { color: rgba(244,241,236,.6); }

/* Pre-IPO cards (light sections) */
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(200,80,42,.35); }
.pcard h3 { font-size: 1.35rem; font-weight: 300; margin: 0; color: var(--ink); }
.pcard p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.pcard__logo { height: 76px; display: flex; align-items: center; justify-content: center; background: var(--cream); margin-bottom: .6rem; }
.pcard__logo img { display: block; width: auto; height: auto; max-width: 76%; max-height: 52px; object-fit: contain; }
.chip {
  align-self: flex-start;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .6rem; border: 1px solid rgba(200,80,42,.4);
  color: var(--accent); background: rgba(200,80,42,.07);
}
.chip--public { border-color: rgba(28,38,55,.28); color: var(--ink-3); background: rgba(28,38,55,.05); }
@media (max-width: 720px) {
  .statgrid[style] { grid-template-columns: repeat(2, 1fr) !important; }
}

.featurelist--tight li { padding-block: .75rem; }
.featurelist--tight li h3 { font-size: 1rem; }
.featurelist--tight li p { font-size: .88rem; }

/* Brand mark (uploaded logo assets) */
.brand__mark { display: block; height: 30px; width: auto; }
.site-header.is-scrolled .brand__mark { height: 27px; }
.site-footer__brand img { height: 48px; width: auto; }

/* Timeline (company history) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.timeline li { padding: 1.75rem 1.5rem 1.75rem 0; border-right: 1px solid var(--line); position: relative; }
.timeline li:last-child { border-right: 0; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); }
.timeline__year { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); margin-bottom: .5rem; }
.timeline li h3 { font-size: 1rem; font-weight: 500; margin: 0 0 .4rem; }
.timeline li p { font-size: .9rem; color: var(--text-muted); margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .timeline li:last-child { border-bottom: 0; }
}

/* Home business index (compact, non-duplicative) */
.bizlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bizlist li { display: grid; grid-template-columns: 3rem 1fr 1.1fr; gap: 1.5rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.bizlist li span { font-family: var(--font-display); color: var(--accent); font-size: .95rem; }
.bizlist li h3 { font-size: 1.15rem; font-weight: 400; margin: 0; font-family: var(--font-display); }
.bizlist li p { margin: 0; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 720px) {
  .bizlist li { grid-template-columns: 2.25rem 1fr; }
  .bizlist li p { grid-column: 2; }
}

/* Team: compact founders are set apart from the wider corporate roster. */
.team-section-intro { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.team-section-intro h2 { font-size: var(--text-2xl); margin-bottom: .9rem; }
.team-section-intro > p:last-child { color: var(--text-muted); margin-bottom: 0; }
.founders { max-width: 920px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.founders .person { min-width: 0; }
.founders .person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.founders .person--lead .person__body { padding: clamp(1.3rem, 2.2vw, 2rem); }
.founders .person--lead .person__body h3 { font-size: var(--text-xl); }
.founders .person__bio { font-size: .92rem; }
.corpteam { display: flex; flex-wrap: wrap; justify-content: center; }
.corpteam .person { width: calc(33.333% - 1.5rem); min-width: 0; }
.corpteam .person__body { padding: 1.35rem 1.5rem 1.6rem; }
.corpteam .person__body h3 { font-size: 1.15rem; }
@media (max-width: 950px) {
  .corpteam .person { width: calc(50% - 1rem); }
}
@media (max-width: 720px) {
  .founders { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 560px) {
  .corpteam .person { width: 100%; }
}

/* Hero legibility on bright daylight photography */
.hero__media::after {
  background:
    linear-gradient(180deg, rgba(13,20,32,.58) 0%, rgba(13,20,32,.42) 34%, rgba(13,20,32,.86) 100%),
    linear-gradient(100deg, rgba(13,20,32,.82) 0%, rgba(13,20,32,.48) 46%, rgba(13,20,32,.12) 78%);
}

/* Construction progress strip */
.buildsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3.25rem); }
.buildsteps figure { margin: 0; min-width: 0; }
.buildsteps img { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; display: block; }
.buildsteps figcaption { margin-top: .9rem; font-size: var(--text-sm); line-height: 1.6; color: rgba(244,241,236,.72); }
.buildsteps figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--accent-soft); margin-bottom: .45rem; }
@media (max-width: 900px) { .buildsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .buildsteps figure:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .buildsteps { grid-template-columns: 1fr; } .buildsteps figure:last-child { grid-column: auto; } }

/* Light variant of the three-up photo strip */
.buildsteps--light figcaption { color: var(--text-muted); }
.buildsteps--light figcaption strong { color: var(--accent); }
.services-operations h2 { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.services-operations .buildsteps { margin-top: 0; }
.services-operations .buildsteps figcaption { margin-top: 1.15rem; }

/* --- IA rework additions --- */

/* Feature lists placed on dark sections were inheriting the light-surface muted
   colour, which fell below contrast minimums. */
.section--dark .featurelist p { color: var(--muted-on-dark); }
.section--dark .featurelist li { border-left-color: var(--accent-soft); }

/* Five-up step sequence: tighten padding and type so the cards stay readable
   at the 1240px wrap width instead of squeezing to ~190px of body copy. */
.grid--5 .card { padding: 1.4rem 1.25rem 1.5rem; }
.grid--5 .card h3 { font-size: 1.02rem; line-height: 1.25; margin-bottom: 0.45rem; }
.grid--5 .card p { font-size: 0.875rem; line-height: 1.5; }
.grid--5 .card .card__num { margin-bottom: 0.8rem; }
@media (max-width: 1080px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Accent-coloured text uses the accessible tone, not the fill orange. */
.textlink, .person__role, .prose a, .form__note a, .subnav a[aria-current] { color: var(--accent-text); }
.section--dark .textlink, .ctaband__text .textlink { color: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent-text); }
/* Forward "next page" links sit on the orange CTA band, so they need solid white. */
.ctaband__text .textlink--sm { color: #fff !important; }
.ctaband__text .textlink--sm:hover, .ctaband__text .textlink--sm:focus-visible { color: rgba(255,255,255,.82) !important; }

/* Orange CTA band: translucent white body copy fell to ~3.5:1, so use solid
   white for the eyebrow and near-solid for the paragraph. */
.ctaband__text .eyebrow { color: #fff; }
.ctaband__text p { color: rgba(255, 255, 255, 0.95); }

/* Links inside the contact meta column and status chips also need the
   accessible accent tone rather than the fill orange. */
.contactmeta a { color: var(--accent-text); }
.chip { color: var(--accent-text); }
.chip--public { color: var(--ink-2, #1c2637); }

/* Deepen the CTA band a half-step so white body copy clears 4.5:1 with margin
   (white on #b94a27 is 5.16:1 vs 4.53:1 on the lighter fill orange). */
.ctaband__text { background: var(--accent-text); }
.ctaband__text p { color: rgba(255, 255, 255, 0.96); }

/* The five-step sequence has too much copy for two columns on a phone. */
@media (max-width: 620px) {
  .grid--5 { grid-template-columns: 1fr; }
  .grid--5 .card h3 { font-size: var(--text-lg); }
  .grid--5 .card p { font-size: 0.95rem; }
}

/* ==========================================================================
   v2: Sonoran palette + editorial components
   Warm desert system derived from the group's own Inkwell Hotel brand
   (Horizon Black #141416, Sunset Yellow #ed9c05, Desert Sand #ffe8d9).
   ========================================================================== */

:root {
  /* Warm near-black replaces the cold navy */
  --ink: #16150f;
  --ink-2: #1f1d16;
  --ink-3: #2d2519;
  /* Warm sands replace the grey-cream */
  --cream: #fbf4ec;
  --cream-2: #f5e7d9;
  --sand: #ffe8d9;
  /* Secondary accent: Sunset Yellow. Dark backgrounds only. */
  --gold: #ed9c05;
  --gold-deep: #b87503;
  --text: #221c14;
  --text-muted: #5d5346;
  --line: rgba(34, 28, 20, 0.15);
}

/* Gold works as text only on the dark surfaces, where it clears 4.5:1 easily. */
.section--dark .eyebrow,
.pagehero .eyebrow,
.ctaband .eyebrow--gold { color: var(--gold); }
.section--dark .rule { background: var(--gold); }

/* --- Stat strip: oversized numerals, the brand book's sense of scale ------ */
.services-intro { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.services-intro__inner { max-width: 1000px; }
.services-intro .eyebrow { color: var(--gold); margin-bottom: 0.8rem; }
.services-intro__inner > p:last-child { color: var(--text-on-dark); font-family: var(--font-display); font-size: clamp(1.25rem, 2.1vw, 1.9rem); line-height: 1.45; }
.services-chapter { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-chapter__inner { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 0.85fr); align-items: center; gap: clamp(1.25rem, 3vw, 3rem); padding-block: clamp(2rem, 4vw, 3.25rem); }
.services-chapter__number { color: var(--accent); font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; line-height: 1; }
.services-chapter .eyebrow { margin-bottom: 0.5rem; }
.services-chapter h2 { font-size: var(--text-2xl); }
.services-chapter__inner > p { color: var(--text-muted); max-width: 52ch; }
.services-detail { padding-block: clamp(3.5rem, 6vw, 6rem); }
.services-capital__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.services-capital__item { display: flex; flex-direction: column; align-items: flex-start; border-top: 2px solid var(--accent); padding-top: 1.5rem; }
.services-capital__item h3 { font-size: var(--text-2xl); margin-bottom: 1rem; max-width: 22ch; }
.services-capital__item > p:not(.eyebrow) { color: var(--text-muted); max-width: 58ch; }
.services-capital__item .textlink { margin-top: auto; padding-top: 1.5rem; }
@media (max-width: 860px) {
  .services-chapter__inner { grid-template-columns: 3rem minmax(0, 1fr); }
  .services-chapter__inner > p { grid-column: 2; }
}
@media (max-width: 700px) {
  .services-capital__grid { grid-template-columns: 1fr; }
  .services-chapter__inner { grid-template-columns: 1fr; gap: 0.7rem; }
  .services-chapter__inner > p { grid-column: 1; }
}
.statstrip {
  background: var(--ink);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(237, 156, 5, 0.25);
}
.statstrip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.statstrip__item {
  padding: clamp(1.75rem, 3.4vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.statstrip__item:first-child { border-left: 0; }
.statstrip__n {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--gold);
  display: block;
}
.statstrip__l {
  margin: 0.6rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
  max-width: 30ch;
}
@media (max-width: 700px) {
  .statstrip__grid { grid-template-columns: 1fr; }
  .statstrip__item { border-left: 0; }
  .statstrip__item + .statstrip__item { border-top: 1px solid rgba(255,255,255,0.11); }
}

/* --- Property feature: a full case-study band for a flagship asset -------- */
.casestudy { background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.casestudy__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.casestudy__mark { width: clamp(76px, 8vw, 104px); height: auto; margin-bottom: 1.25rem; }
.casestudy h2 { color: #fff; font-size: var(--text-3xl); }
.casestudy__lede { color: rgba(255, 255, 255, 0.82); font-size: var(--text-lg); margin: 0; }
.casestudy__hero { margin-bottom: 1rem; }
.casestudy__hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.casestudy__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.casestudy__strip img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.casestudy__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.casestudy__facts dt {
  font-size: var(--text-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.casestudy__facts dd { margin: 0; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.86); line-height: 1.5; }
@media (max-width: 900px) {
  .casestudy__head { grid-template-columns: 1fr; align-items: start; }
  .casestudy__strip { grid-template-columns: repeat(2, 1fr); }
  .casestudy__facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .casestudy__facts { grid-template-columns: 1fr; }
}

/* --- Realized / sold state on a property card ----------------------------- */
.property { position: relative; }
.property__flag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.34rem 0.6rem;
  border-radius: var(--radius);
}
.property--realized img { filter: saturate(0.55) brightness(0.92); }

/* --- Section eyebrow rule in gold on dark bands --------------------------- */
.statstrip + .section--dark { border-top: 0; }

.statstrip__n { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .statstrip__n { font-size: clamp(2rem, 4.2vw, 3rem); } }

/* Accent text is deepened for the warmer sand backgrounds: 4.81:1 on the
   darkest sand section, 5.34:1 on the default cream. */
:root { --accent-text: #ad4322; }

/* The case study band is dark but does not carry .section--dark */
.casestudy .eyebrow { color: var(--gold); }
.casestudy .rule { background: var(--gold); }

.bizlist li > span { color: var(--accent-text); }

.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8rem; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

/* ---------------------------------------------------------------------------
   Wordmark
   The STRATEN logotype is the real vector art from the brand files, so the
   crossbar-less A is the designed glyph rather than a drawn approximation.
   Two colour variants avoid any runtime recolouring: ink for the light header,
   cream for the dark footer.
   --------------------------------------------------------------------------- */
.brand__wordmark {
  display: block;
  height: 15px;
  width: auto;
  flex: 0 0 auto;
}

.site-footer__brand .brand__wordmark { height: 17px; }
.site-footer__brand .brand__lockup { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.site-footer__brand .brand__lockup > img:first-child { margin-bottom: 0; height: 34px; width: auto; }

/* Keep the footer identity compact and prevent its copy from crowding the
   navigation columns at intermediate desktop widths. */
.site-footer__top {
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(120px, 0.65fr));
  column-gap: clamp(2.5rem, 5vw, 5rem);
  row-gap: 2.5rem;
}
.site-footer__top > * { min-width: 0; }
.site-footer__brand { max-width: 34ch; }
.site-footer__brand .brand__lockup { line-height: 0; gap: 0.8rem; }
.site-footer__brand .brand__lockup > img:first-child { height: 38px; flex: 0 0 auto; }
.site-footer__brand .brand__wordmark {
  height: 18px;
  max-width: 150px;
  /* The vector's visible letterforms sit high within its viewBox. This optical
     correction aligns the wordmark, rather than only its image box, to the mark. */
  transform: translateY(0.45rem);
}
.site-footer__brand > p { line-height: 1.7; }

@media (max-width: 1000px) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__brand { max-width: 30ch; }
}

/* The header row is tight, so the lockup must never compress or wrap */
.brand { flex: 0 0 auto; }

/* The hero cue lists five verticals, so it needs tighter tracking and its own
   line box to avoid a dangling separator at the line end. */
.hero__cue {
  /* Flex items give a wrap opportunity between verticals that plain inline
     text cannot, since the separator is a pseudo-element with no whitespace. */
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: .35rem;
  letter-spacing: .16em;
  line-height: 1.7;
  /* The cue is a <p>, so it would otherwise inherit .hero p's 54ch cap. */
  max-width: none;
}
/* Each vertical is unbreakable and carries its own separator, so a line can
   never end on a stranded middot. */
.hero__cue__i { white-space: nowrap; flex: 0 0 auto; }
.hero__cue__i + .hero__cue__i::before {
  content: "\00B7";
  margin-inline: .5em .55em;
  color: rgba(255,255,255,.38);
}

/* "Who we are" sits directly above "What we do", so the two stacked paddings
   are collapsed into one comfortable gap. */
.section--tight.section--flush { padding-bottom: 0; }

/* The hero's single implicit grid track was sizing to its max-content
   contribution, so on narrow viewports it grew past the viewport and the
   hero's overflow:hidden clipped the headline. A shrinkable track fixes it. */
.hero { grid-template-columns: minmax(0, 1fr); }
/* `.hero p` (0,1,1) outranks `.hero__cue` (0,1,0), so the cap needs matching
   specificity to be lifted. */
.hero p.hero__cue { max-width: none; }
/* When the cue wraps, a leading separator would strand at the start of a row,
   so narrow viewports use spacing instead of middots. */
@media (max-width: 760px) {
  .hero__cue { column-gap: 1.15rem; }
  .hero__cue__i + .hero__cue__i::before { content: none; margin-inline: 0; }
}

@media (max-width: 560px) {
  .brand__wordmark { height: 13px; }
}
/* The cue now runs the full width of the hero, so it crosses bright areas of
   the photograph. It needs more weight and a soft shadow to stay legible. */
.hero__cue { color: rgba(255,255,255,.92); text-shadow: 0 1px 3px rgba(0,0,0,.55); }
.hero__cue__i + .hero__cue__i::before { color: rgba(255,255,255,.55); }
