/* AC Property — website stylesheet
   Colors: navy #091e2d | off-white #fafafa | warm-grey #bbb6ad | slate #475158 | mid-grey #7b7e7f
   Fonts: Playfair Display italic (headlines) | Poppins 400/600/700 (body/statements)
*/

/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: "Playfair";
  font-weight: 400;
  font-style: italic;
  src: url("../assets/fonts/playfair-400-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Playfair";
  font-weight: 700;
  font-style: italic;
  src: url("../assets/fonts/playfair-700-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Playfair";
  font-weight: 400;
  font-style: normal;
  src: url("../assets/fonts/playfair-400.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  src: url("../assets/fonts/poppins-400.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  src: url("../assets/fonts/poppins-600.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: normal;
  src: url("../assets/fonts/poppins-700.woff2") format("woff2");
  font-display: swap;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Color tokens ───────────────────────────────────────────── */
:root {
  --navy:      #091e2d;
  --offwhite:  #fafafa;
  --warm-grey: #bbb6ad;
  --slate:     #475158;
  --mid-grey:  #7b7e7f;
}

/* ── Dark theme (index.html) ────────────────────────────────── */
body.dark {
  background: var(--navy);
  color: var(--offwhite);
}
/* nav is always navy — theme-specific overrides removed; see .nav base rule below */
body.dark .hero { background: var(--navy); }
body.dark .hero-eyebrow { color: var(--mid-grey); }
body.dark .hero-headline { color: var(--offwhite); }
body.dark .hero-sub { color: var(--warm-grey); }
body.dark .cta-primary {
  background: var(--warm-grey);
  color: var(--navy);
}
body.dark .cta-primary:hover { background: var(--offwhite); }
body.dark .divider { background: var(--slate); }
body.dark .stats-bar { background: #071521; border-top: 1px solid var(--slate); border-bottom: 1px solid var(--slate); }
body.dark .stat-number { color: var(--offwhite); }
body.dark .stat-label { color: var(--mid-grey); }
body.dark .video-section { background: #071521; }
body.dark .video-section-headline { color: var(--offwhite); }
body.dark .video-section-sub { color: var(--warm-grey); }
body.dark .what-section { background: var(--navy); }
body.dark .section-eyebrow { color: var(--mid-grey); }
body.dark .section-headline { color: var(--offwhite); }
body.dark .card { background: #0e2a3d; border: 1px solid var(--slate); }
body.dark .card-title { color: var(--offwhite); }
body.dark .card-body { color: var(--warm-grey); }
body.dark .two-customer { background: #071521; }
body.dark .two-customer-headline { color: var(--offwhite); }
body.dark .two-customer-sub { color: var(--warm-grey); }
body.dark .customer-block { border-left: 3px solid var(--warm-grey); }
body.dark .customer-label { color: var(--mid-grey); }
body.dark .customer-title { color: var(--offwhite); }
body.dark .customer-desc { color: var(--warm-grey); }
body.dark .cta-band { background: var(--warm-grey); }
body.dark .cta-band-headline { color: var(--navy); }
body.dark .cta-band-sub { color: var(--slate); }
body.dark .cta-band-btn {
  background: var(--navy);
  color: var(--offwhite);
  border: 1px solid var(--navy);
}
body.dark .cta-band-btn:hover { background: var(--slate); }
body.dark .footer { background: var(--navy); border-top: 1px solid var(--slate); }
body.dark .footer-text { color: var(--mid-grey); }
body.dark .footer-disclaimer { color: var(--slate); }

/* ── Light theme (index-light.html, investors, projects, contact) */
body.light {
  background: var(--offwhite);
  color: var(--navy);
}
/* nav-cta light override removed — nav is always navy now */
body.light .hero { background: var(--offwhite); }
body.light .hero-eyebrow { color: var(--mid-grey); }
body.light .hero-headline { color: var(--navy); }
body.light .hero-sub { color: var(--slate); }
body.light .cta-primary {
  background: var(--navy);
  color: var(--offwhite);
}
body.light .cta-primary:hover { background: var(--slate); }
body.light .divider { background: #e0ddd9; }
body.light .stats-bar { background: #f0eeeb; border-top: 1px solid #e0ddd9; border-bottom: 1px solid #e0ddd9; }
body.light .stat-number { color: var(--navy); }
body.light .stat-label { color: var(--mid-grey); }
body.light .video-section { background: var(--navy); }
body.light .video-section-headline { color: var(--offwhite); }
body.light .video-section-sub { color: var(--warm-grey); }
body.light .what-section { background: var(--offwhite); }
body.light .section-eyebrow { color: var(--mid-grey); }
body.light .section-headline { color: var(--navy); }
body.light .card { background: #fff; border: 1px solid #e0ddd9; }
body.light .card-title { color: var(--navy); }
body.light .card-body { color: var(--slate); }
body.light .two-customer { background: #f0eeeb; }
body.light .two-customer-headline { color: var(--navy); }
body.light .two-customer-sub { color: var(--slate); }
body.light .customer-block { border-left: 3px solid var(--navy); }
body.light .customer-label { color: var(--mid-grey); }
body.light .customer-title { color: var(--navy); }
body.light .customer-desc { color: var(--slate); }
body.light .cta-band { background: var(--navy); }
body.light .cta-band-headline { color: var(--offwhite); }
body.light .cta-band-sub { color: var(--warm-grey); }
body.light .cta-band-btn {
  background: var(--warm-grey);
  color: var(--navy);
  border: 1px solid var(--warm-grey);
}
body.light .cta-band-btn:hover { background: var(--offwhite); }
body.light .footer { background: var(--offwhite); border-top: 1px solid #e0ddd9; }
body.light .footer-text { color: var(--mid-grey); }
body.light .footer-disclaimer { color: #c8c4bf; }

/* ── Nav — always navy regardless of page theme ─────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw 0 max(5vw, 2rem);
  height: 96px;
  background: var(--navy);
  border-bottom: 1px solid var(--slate);
}
.nav-logo { color: var(--offwhite); }
.nav-links a { color: var(--warm-grey); }
.nav-links a:hover { color: var(--offwhite); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--warm-grey);
  color: var(--offwhite);
}
.nav-cta:hover { background: var(--warm-grey); color: var(--navy); }
.nav-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-cta {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.nav-mobile-toggle { display: none; }

/* ── Hero (edge-bleed Rethink-style layout) ─────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 55%;
  align-items: stretch;
  min-height: calc(100vh - 80px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 3rem 5rem clamp(1.5rem, 5vw, 5rem);
}
.hero-video-col {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  /* No right padding — bleeds to viewport edge */
}
/* One CSS var controls the panel crop shape — change this value to switch */
.hero-media-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.hero-media-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  gap: 0.5rem;
}
.hero-media-fallback-text {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--offwhite);
}
.hero-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-headline {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  max-width: 14ch;
}
.hero-statement {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  max-width: 32ch;
  margin-bottom: 2.5rem;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 3rem;
}
.cta-primary {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

/* ── Divider rule ───────────────────────────────────────────── */
.divider {
  height: 1px;
  margin: 0 5vw;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 3.5rem 5vw;
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Video section ──────────────────────────────────────────── */
.video-section {
  padding: 0 8vw;
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6rem;
}
.video-section-text { text-align: left; max-width: 480px; flex-shrink: 0; }
.video-section-text .section-eyebrow { text-align: left; }
.video-section-headline {
  font-family: "Playfair", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.video-section-sub {
  font-size: 1.125rem;
  line-height: 1.7;
}
.phone-frame {
  height: min(78vh, 760px);
  width: auto;
  aspect-ratio: 9 / 16;
  flex-shrink: 0;
  position: relative;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-frame-poster {
  width: 100%;
  height: 100%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(250,250,250,0.15);
  border: 2px solid rgba(250,250,250,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.play-btn svg { fill: #fafafa; margin-left: 4px; }
.phone-frame-poster:hover .play-btn { background: rgba(250,250,250,0.25); }
.phone-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
}
.phone-fallback-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--offwhite);
}
.phone-fallback-sub {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  color: var(--warm-grey);
}

/* ── What we do ─────────────────────────────────────────────── */
.what-section {
  padding: 6rem 5vw;
}
.section-header {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}
.section-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-headline {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  max-width: 20ch;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  padding: 2.25rem 2rem;
}
.card-num {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--warm-grey);
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.card-body {
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Two customers ──────────────────────────────────────────── */
.two-customer {
  padding: 6rem 5vw;
}
.two-customer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.two-customer-text {}
.two-customer-headline {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.two-customer-sub {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.two-customer-blocks {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.customer-block {
  padding-left: 1.5rem;
}
.customer-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.customer-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.customer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  padding: 5rem 5vw;
  text-align: center;
}
.cta-band-inner { max-width: 600px; margin: 0 auto; }
.cta-band-headline {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-band-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cta-band-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

/* ── Opt-in band ────────────────────────────────────────────── */
.optin-band {
  background: var(--navy);
  padding: 5rem 5vw;
  text-align: center;
  border-top: 1px solid var(--slate);
}
.optin-band-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 1.25rem;
}
.optin-band-headline {
  font-family: "Playfair", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--offwhite);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.optin-band-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--warm-grey);
  max-width: 52ch;
  margin: 0 auto 2.25rem;
}
.optin-band-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.optin-band-input {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--offwhite);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--slate);
  padding: 0.625rem 0;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}
.optin-band-input::placeholder { color: var(--slate); }
.optin-band-input:focus { border-bottom-color: var(--warm-grey); }
.optin-band-btn {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--offwhite);
  background: transparent;
  border: 1px solid var(--warm-grey);
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.optin-band-btn:hover { background: var(--warm-grey); color: var(--navy); }
.optin-band-trust {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  line-height: 1.5;
}
.optin-band-success {
  font-size: 1rem;
  color: var(--warm-grey);
  display: none;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .optin-band-form { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .optin-band-input { width: 100%; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 5vw;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: center;
  text-align: center;
}
.footer-text {
  font-family: "Poppins", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 70ch;
}

/* ── Interior page hero ─────────────────────────────────────── */
.page-hero {
  padding: 5rem 5vw 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
body.dark .page-hero-eyebrow { color: var(--mid-grey); }
body.light .page-hero-eyebrow { color: var(--mid-grey); }
.page-hero-headline {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.page-hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 52ch;
}
body.dark .page-hero-headline { color: var(--offwhite); }
body.dark .page-hero-sub { color: var(--warm-grey); }
body.light .page-hero-headline { color: var(--navy); }
body.light .page-hero-sub { color: var(--slate); }

/* ── Content section ────────────────────────────────────────── */
.content-section {
  padding: 4rem 5vw 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.content-section + .content-section { padding-top: 0; }

/* ── How we work (investors page) ──────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.how-card {
  padding: 2.25rem 2rem;
}
body.dark .how-card { background: #0e2a3d; border: 1px solid var(--slate); }
body.light .how-card { background: #fff; border: 1px solid #e0ddd9; }
.how-card-num {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--warm-grey);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.how-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.875rem;
}
body.dark .how-card-title { color: var(--offwhite); }
body.light .how-card-title { color: var(--navy); }
.how-card-body {
  font-size: 1rem;
  line-height: 1.75;
}
body.dark .how-card-body { color: var(--warm-grey); }
body.light .how-card-body { color: var(--slate); }

/* ── Project card ───────────────────────────────────────────── */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3rem;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 2.5rem;
  align-items: start;
}
body.dark .project-card { background: #0e2a3d; border: 1px solid var(--slate); }
body.light .project-card { background: #fff; border: 1px solid #e0ddd9; }
.project-meta {}
.project-status {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.25rem;
}
.project-status.active { background: var(--warm-grey); color: var(--navy); }
.project-status.complete { background: var(--slate); color: var(--offwhite); }
.project-status.upcoming { background: transparent; border: 1px solid var(--warm-grey); color: var(--warm-grey); }
body.light .project-status.upcoming { color: var(--slate); border-color: var(--slate); }
.project-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}
body.dark .project-name { color: var(--offwhite); }
body.light .project-name { color: var(--navy); }
.project-location {
  font-size: 0.875rem;
}
body.dark .project-location { color: var(--mid-grey); }
body.light .project-location { color: var(--mid-grey); }
.project-detail-headline {
  font-family: "Playfair", serif;
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
body.dark .project-detail-headline { color: var(--offwhite); }
body.light .project-detail-headline { color: var(--navy); }
.project-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
body.dark .project-desc { color: var(--warm-grey); }
body.light .project-desc { color: var(--slate); }
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
body.dark .tag { background: #071521; color: var(--warm-grey); border: 1px solid var(--slate); }
body.light .tag { background: #f0eeeb; color: var(--slate); border: 1px solid #e0ddd9; }

/* ── Project reel link ──────────────────────────────────────── */
.project-reel-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
body.dark .project-reel-link { color: var(--warm-grey); }
body.light .project-reel-link { color: var(--navy); }
.project-reel-link:hover { opacity: 0.6; }

/* ── Contact form ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.dark .form-label { color: var(--mid-grey); }
body.light .form-label { color: var(--slate); }
.form-input, .form-select, .form-textarea {
  font-family: "Poppins", sans-serif;
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}
body.dark .form-input, body.dark .form-select, body.dark .form-textarea {
  background: #0e2a3d;
  border: 1px solid var(--slate);
  color: var(--offwhite);
}
body.dark .form-input:focus, body.dark .form-select:focus, body.dark .form-textarea:focus {
  border-color: var(--warm-grey);
}
body.light .form-input, body.light .form-select, body.light .form-textarea {
  background: #fff;
  border: 1px solid #d4d0cb;
  color: var(--navy);
}
body.light .form-input:focus, body.light .form-select:focus, body.light .form-textarea:focus {
  border-color: var(--navy);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  border: none;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
body.dark .form-submit { background: var(--warm-grey); color: var(--navy); }
body.dark .form-submit:hover { background: var(--offwhite); }
body.light .form-submit { background: var(--navy); color: var(--offwhite); }
body.light .form-submit:hover { background: var(--slate); }
.contact-info { padding-top: 0.5rem; }
.contact-info-headline {
  font-family: "Playfair", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
body.dark .contact-info-headline { color: var(--offwhite); }
body.light .contact-info-headline { color: var(--navy); }
.contact-info-item {
  margin-bottom: 1.5rem;
}
.contact-info-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
body.dark .contact-info-label { color: var(--mid-grey); }
body.light .contact-info-label { color: var(--mid-grey); }
.contact-info-value {
  font-size: 0.9375rem;
}
body.dark .contact-info-value { color: var(--warm-grey); }
body.light .contact-info-value { color: var(--slate); }

/* ── Nav logo lockup (mark | divider | descriptor) ──────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.nav-logo-img {
  width: auto;
  display: block;
}
/* nav is always navy — all logo lockup rules use dark/white values */
.nav-logo-divider { width: 1px; height: 34px; flex-shrink: 0; background: var(--slate); }
.nav-logo-sub {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--offwhite);
}
.nav-logo-img { height: 56px; }

/* ── Nav dropdown (Tools & Calculators) ─────────────────────── */
.nav-dd { position: relative; display: flex; align-items: center; height: 96px; }
.nav-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  list-style: none;
  padding: 0.5rem 0;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  z-index: 110;
  background: #0e2a3d;
  border: 1px solid var(--slate);
}
.nav-dd:hover .nav-dd-menu { display: flex; }
.nav-dd-menu li { width: 100%; }
.nav-dd-menu a { display: block; padding: 0.625rem 1.25rem; white-space: nowrap; }

/* ── Footer social icons ────────────────────────────────────── */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: color 0.2s, opacity 0.2s;
}
.footer-social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
body.dark .footer-social a { color: var(--warm-grey); }
body.dark .footer-social a:hover { color: var(--offwhite); }
body.light .footer-social a { color: var(--warm-grey); }
body.light .footer-social a:hover { color: var(--navy); }

/* ── Ways in (replaces two-customer) ───────────────────────── */
.ways-in { padding: 6rem 5vw; }
body.dark .ways-in { background: #071521; }
body.light .ways-in { background: #f0eeeb; }
.ways-in-inner { max-width: 1100px; margin: 0 auto; }
.ways-in-header { text-align: center; margin-bottom: 4rem; }
.ways-in-sub {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 1rem auto 0;
}
body.dark .ways-in-sub { color: var(--warm-grey); }
body.light .ways-in-sub { color: var(--slate); }
.ways-in-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.way-block { padding: 2.25rem 2rem; }
body.dark .way-block { background: #0e2a3d; border: 1px solid var(--slate); }
body.light .way-block { background: #fff; border: 1px solid #e0ddd9; }
.way-block-num {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--warm-grey);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.way-block-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
body.dark .way-block-title { color: var(--offwhite); }
body.light .way-block-title { color: var(--navy); }
.way-block-hook {
  font-size: 0.875rem;
  font-style: italic;
  margin-bottom: 0.875rem;
  line-height: 1.5;
}
body.dark .way-block-hook { color: var(--warm-grey); }
body.light .way-block-hook { color: var(--slate); }
.way-block-body {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
body.dark .way-block-body { color: var(--warm-grey); }
body.light .way-block-body { color: var(--slate); }
.way-block-cta {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
body.dark .way-block-cta { color: var(--warm-grey); }
body.light .way-block-cta { color: var(--navy); }
.way-block-cta:hover { opacity: 0.7; }
.ways-in-closing {
  border-top: 1px solid rgba(187,182,173,0.3);
  padding-top: 3rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.ways-in-closing-headline {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
body.dark .ways-in-closing-headline { color: var(--offwhite); }
body.light .ways-in-closing-headline { color: var(--navy); }
.ways-in-closing-body { font-size: 1.125rem; line-height: 1.75; }
body.dark .ways-in-closing-body { color: var(--warm-grey); }
body.light .ways-in-closing-body { color: var(--slate); }

/* ── Blog index ─────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s;
}
body.light .blog-card { background: #fff; border: 1px solid #e0ddd9; }
body.light .blog-card:hover { border-color: var(--navy); }
.blog-card-date {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.75rem;
}
.blog-card-title {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
body.light .blog-card-title { color: var(--navy); }
.blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
body.light .blog-card-excerpt { color: var(--slate); }
.blog-card-meta {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  color: var(--mid-grey);
}

/* ── Article page ───────────────────────────────────────────── */
.article-date {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-top: 1rem;
}
.article-body { max-width: 68ch; }
.article-compliance-note {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.article-body h2 {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.625rem;
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
  color: var(--navy);
}
.article-body h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 2rem 0 0.75rem;
  color: var(--navy);
}
.article-body p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.article-back {
  font-family: "Poppins", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.article-back:hover { color: var(--navy); }

/* ── Gallery page ───────────────────────────────────────────── */
.gallery-reel-block { margin: 3rem 0 2rem; }
.gallery-reel-header {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0ddd9;
}
.gallery-reel-inner {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}
.gallery-reel-caption { flex: 1; }
.gallery-reel-title {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.gallery-reel-sub {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate);
}
.gallery-photos-note {
  padding: 3rem 2rem;
  border: 2px dashed #e0ddd9;
  text-align: center;
  margin-top: 3rem;
}
.gallery-photos-note p {
  font-size: 0.875rem;
  color: var(--mid-grey);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.gallery-photos-note code {
  font-size: 0.8125rem;
  background: #f0eeeb;
  padding: 0.1em 0.4em;
  border-radius: 3px;
  color: var(--slate);
}

/* ── Tools & calculators page ───────────────────────────────── */
.calc-card {
  padding: 2.5rem;
  margin-top: 3rem;
  scroll-margin-top: 100px;
}
body.light .calc-card { background: #fff; border: 1px solid #e0ddd9; }
.calc-card-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 0.75rem;
}
.calc-card-title {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.625rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.calc-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 62ch;
  margin-bottom: 2rem;
}
.calc-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: end;
}
.calc-results {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e0ddd9;
}
.calc-result-num {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.1;
  color: var(--navy);
}
.calc-result-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-top: 0.375rem;
}
.calc-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--mid-grey);
  margin-top: 1.5rem;
}

/* ── Asset grid (investors.html) ────────────────────────────── */
.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
}
@media (max-width: 640px) {
  .asset-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .calc-form { grid-template-columns: 1fr; }
  .nav-logo-sub, .nav-logo-divider { display: none; }
  .video-section { flex-direction: column; padding: 4rem 5vw; min-height: unset; gap: 3rem; text-align: center; }
  .video-section-text { text-align: center; }
  .video-section-text .section-eyebrow { text-align: center; }
  .phone-frame { height: auto; width: min(80vw, 280px); }
  .cards-grid { grid-template-columns: 1fr; }
  .two-customer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .how-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 4rem clamp(1rem, 5vw, 3rem) 2rem; }
  .hero-video-col { min-height: 50vh; margin: 0; }
  .hero-media-panel { position: relative; inset: auto; width: 100%; height: 50vh; }
  .ways-in-blocks { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-reel-inner { flex-direction: column; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .nav-logo-img { height: 36px; }
  .hero-video-col { min-height: 45vh; }
  .hero-media-panel { height: 45vh; }
}
