/* ============================================================
   DALFORT CAPITAL — E3 Brand Stylesheet (Navy / Gold)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --bg:           #FAFAF8;
  --text:         #1B2A4A;
  --text-muted:   #7A8BA5;
  --green:        #1B2A4A;
  --green-hover:  #243660;
  --border:       #E0DDD8;
  --white:        #ffffff;
  --gold:         #C8945A;
  --slate:        #7A8BA5;
  --deep-slate:   #3D4F68;
  --cream:        #E8E4DD;
  --dark:         #0E1620;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-w:        1060px;
  --nav-h:        72px;
  --px:           clamp(24px, 5vw, 64px);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo (horizontal lockup for nav) ───────────────────────── */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__wordmark {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: color 0.35s ease;
  line-height: 1;
}

.logo__divider {
  display: block;
  flex-shrink: 0;
}

.logo__sub {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo__cap,
.logo__part {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.35s ease;
  line-height: 1;
}

/* ── Logo (primary stacked lockup — footer only) ────────────── */
.logo__rule {
  display: block;
  width: 100px;
  height: 12px;
}

.logo__tagline {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.35s ease;
  line-height: 1;
  margin-top: 2px;
}

/* ── Footer logo override (primary stacked) ─────────────────── */
.footer__logo {
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer__logo .logo__wordmark {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

/* ── Nav Links ──────────────────────────────────────────────── */
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  border-bottom-color: var(--gold);
}

/* ── Mobile nav toggle ──────────────────────────────────────── */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

nav.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
nav.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page Wrapper ───────────────────────────────────────────── */
.page {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  text-align: center;
  padding: 80px var(--px);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: contrast(1.2) saturate(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 32, 0.62);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 56px;
  color: var(--white);
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--primary:hover {
  background-color: #b8833f;
  border-color: #b8833f;
}

.btn--outline {
  background-color: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn--outline:hover {
  background-color: var(--text);
  color: var(--white);
}

.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.hero .btn--outline:hover {
  background-color: var(--white);
  color: var(--text);
  border-color: var(--white);
}

/* ── Section Base ───────────────────────────────────────────── */
.section {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--px);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.18;
  max-width: 800px;
  margin-bottom: 64px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.card {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: justify;
}

.card:nth-child(even) { border-right: none; }
.card:nth-child(3),
.card:nth-child(4) { border-bottom: none; }

.card__title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.card__body {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── Process Cards ──────────────────────────────────────────── */
.process-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.process-card {
  position: relative;
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.process-card:nth-child(even) { border-right: none; }
.process-card:nth-child(3),
.process-card:nth-child(4) { border-bottom: none; }

.process-card__num {
  position: absolute;
  right: 20px;
  top: 16px;
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 300;
  color: rgba(27, 42, 74, 0.18);
  line-height: 1;
  user-select: none;
}

.process-card__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.process-card__body {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ── Stats Row ──────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 72px;
}

.stat {
  padding: 40px 28px;
}

.stat + .stat { border-left: 1px solid var(--border); }

.stat__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}

/* ── About Layout ───────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  text-align: justify;
}

.about-text p + p { margin-top: 22px; }

.focus-card {
  background-color: var(--green);
  color: var(--white);
  padding: 40px 36px;
}

.focus-card__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.focus-card__sub {
  font-size: 13px;
  font-style: italic;
  color: var(--white);
  margin: 0 0 24px;
  line-height: 1.6;
}

.focus-list { list-style: none; }

.focus-list li {
  font-size: 13.5px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.focus-list li svg { flex-shrink: 0; opacity: 0.85; }

.focus-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── Team Grid ──────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px 24px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
  border-color: #c8c4bc;
  box-shadow: 0 4px 16px rgba(14, 22, 32, 0.08);
  transform: translateY(-2px);
}

.team-card:focus {
  outline: none;
}

.team-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--text);
}

.team-card__role {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.team-card__bio { display: none; }

/* ── Team Modal ─────────────────────────────────────────────── */
.team-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.team-modal.is-open {
  display: flex;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 32, 0.55);
  animation: modalFadeIn 0.2s ease;
}

.team-modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  max-width: 540px;
  width: 100%;
  padding: 48px 44px 44px;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(14, 22, 32, 0.18);
  animation: modalSlideUp 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.team-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 6px;
  transition: color 0.15s;
}

.team-modal__close:hover { color: var(--text); }

.team-modal__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.team-modal__name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.15;
}

.team-modal__role {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.team-modal__bio {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  text-align: justify;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.team-subsection {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

/* ── Portfolio ──────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
}

.portfolio-item {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portfolio-item:nth-child(even) { border-right: none; }
.portfolio-item:last-child { border-bottom: none; }

.portfolio-item__industry {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.portfolio-item__name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.15;
}

.portfolio-item__desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 380px;
  text-align: justify;
}

.contact-detail { margin-top: 40px; }

.contact-detail + .contact-detail { margin-top: 28px; }

.contact-detail__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1B2A4A;
  margin-bottom: 6px;
}

.contact-detail__value {
  font-size: 15px;
  color: var(--text);
  text-align: justify;
}

.contact-detail__value a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.contact-detail__value a:hover { border-color: var(--text); }

.form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--white);
  padding: 44px 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(14, 22, 32, 0.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 110px;
  resize: none;
}

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--px) 0;
}

/* ── Intro text ─────────────────────────────────────────────── */
.intro-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 64px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background-color: var(--dark);
  color: var(--white);
  margin-top: 60px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--px) 48px;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer__logo .logo__wordmark { color: var(--cream); }
.footer__logo .logo__tagline { color: var(--slate); }
.footer__logo .logo__rule { width: 110px; height: 12px; }

.footer__col h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 20px;
}

.footer__col ul { list-style: none; }

.footer__col ul li + li { margin-top: 10px; }

.footer__col ul li a {
  font-size: 13.5px;
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer__col ul li a:hover { opacity: 1; }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--px) 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Stats four-column ──────────────────────────────────────── */
.stats--four {
  grid-template-columns: repeat(4, 1fr);
}

/* ── By the Numbers ─────────────────────────────────────────── */
.by-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: 72px;
}

.by-numbers .stat {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Industries grid ────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-top: 0;
}

.industry-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.industry-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.industries-grid .industry-item:nth-child(3n) { border-right: none; }
.industries-grid .industry-item:nth-last-child(-n+3) { border-bottom: none; }

/* ── Portfolio platform groups ──────────────────────────────── */
.platform-group {
  border: 1px solid var(--border);
  margin-bottom: -1px;
}

.platform-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 28px;
  background-color: var(--green);
  color: var(--white);
}

.platform-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}

.platform-header span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.company-row {
  display: grid;
  grid-template-columns: 120px 180px 100px 1fr;
  gap: 24px;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  align-items: center;
}

.company-row__logo {
  width: 100px;
  height: 78px;
  object-fit: contain;
  display: block;
}

.company-row__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.company-row__date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 1px;
}

.company-row__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Portfolio tombstones (active investments) ─────────────── */
.tombstone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border: 1px solid var(--border);
}

.tombstone {
  padding: 44px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border);
}

.tombstone:last-child {
  border-right: none;
}

.tombstone__logo-wrap {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.tombstone__logo {
  max-height: 96px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.tombstone__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.tombstone__category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.tombstone__date {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.tombstone__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Realized investments table ─────────────────────────────── */
.realized-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.realized-table th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.realized-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.6;
  vertical-align: middle;
}

.realized-table td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.realized-table td:nth-child(2) {
  white-space: nowrap;
  font-size: 12px;
}

.realized-table .platform-row td {
  background-color: rgba(27, 42, 74, 0.06);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

/* ── Hero page ──────────────────────────────────────────────── */
.page--hero {
  padding-top: 0;
}

.page--hero .hero {
  min-height: 100vh;
}

/* ── Hero nav (transparent, solid on scroll) ────────────────── */
.nav--hero {
  background: transparent;
  border-bottom-color: transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.nav--hero .logo__wordmark {
  color: var(--white);
}

.nav--hero .logo__cap,
.nav--hero .logo__part {
  color: rgba(255, 255, 255, 0.7);
}

.nav--hero .nav__links a {
  color: var(--white);
  transition: border-color 0.2s, color 0.35s ease;
}

.nav--hero .nav__links a:hover,
.nav--hero .nav__links a.is-active {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.nav--hero .nav__toggle span {
  background: var(--white);
  transition: background-color 0.35s ease, transform 0.25s ease, opacity 0.2s ease;
}

.nav--hero.nav--scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
}

.nav--hero.nav--scrolled .logo__wordmark { color: var(--text); }
.nav--hero.nav--scrolled .logo__cap,
.nav--hero.nav--scrolled .logo__part { color: var(--deep-slate); }
.nav--hero.nav--scrolled .nav__links a { color: var(--text); }

.nav--hero.nav--scrolled .nav__links a:hover,
.nav--hero.nav--scrolled .nav__links a.is-active {
  border-bottom-color: var(--gold);
}

.nav--hero.nav--scrolled .nav__toggle span { background: var(--text); }

/* ── Mobile-only line break ─────────────────────────────────── */
.mobile-br { display: none; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { gap: 20px; }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {

  /* Nav */
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .nav__links li { border-bottom: 1px solid var(--border); }
  .nav__links li:last-child { border-bottom: none; }

  .nav__links a {
    display: block;
    padding: 15px 24px;
    font-size: 11px;
    border-bottom: none;
    color: var(--text) !important;
  }

  .nav__links a.is-active {
    border-bottom: none;
    color: var(--gold) !important;
  }

  nav.nav--open .nav__links { display: flex; }

  .nav--hero {
    background: transparent;
    border-bottom-color: transparent;
  }

  .nav--hero.nav--scrolled {
    background: var(--bg);
    border-bottom-color: var(--border);
  }

  nav.nav--hero.nav--open {
    background: var(--bg);
    border-bottom-color: var(--border);
  }
  nav.nav--hero.nav--open .logo__wordmark { color: var(--text); }
  nav.nav--hero.nav--open .logo__cap,
  nav.nav--hero.nav--open .logo__part { color: var(--deep-slate); }
  nav.nav--hero.nav--open .nav__toggle span { background: var(--text); }
  nav.nav--hero.nav--open .nav__links a { color: var(--text); }
  nav.nav--hero.nav--open .nav__links a.is-active { color: var(--gold); }

  /* Section spacing */
  .section { padding: 60px 20px; }

  /* Hero */
  .hero__title { font-size: clamp(38px, 10vw, 56px); }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Cards */
  .cards,
  .process-cards,
  .portfolio-grid {
    grid-template-columns: 1fr;
    border: 1px solid var(--border);
  }

  .card,
  .process-card,
  .portfolio-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 28px 20px;
  }

  .card:last-child,
  .process-card:last-child,
  .portfolio-item:last-child {
    border-bottom: none !important;
  }

  /* Stats */
  .stats { grid-template-columns: 1fr; }
  .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  /* About */
  .by-numbers { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* Portfolio */
  .company-row {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 14px;
    padding: 14px 16px;
  }

  .company-row__logo {
    grid-row: 1 / 3;
    width: 60px;
    height: 48px;
    align-self: center;
  }

  .company-row__name { grid-column: 2; grid-row: 1; align-self: end; }
  .company-row__date { grid-column: 2; grid-row: 2; align-self: start; }
  .company-row__desc { display: none; }

  .realized-table th:nth-child(3),
  .realized-table td:nth-child(3) { display: none; }

  .realized-table-wrap {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }

  .realized-table td:first-child { white-space: normal; }

  .platform-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .mobile-br { display: inline; }

  .industries-grid .industry-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .industries-grid .industry-item:nth-child(2n) { border-right: none; }
  .industries-grid .industry-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .industries-grid .industry-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Portfolio tombstones */
  .tombstone-grid { grid-template-columns: 1fr; }
  .tombstone { border-right: none; border-bottom: 1px solid var(--border); }
  .tombstone:last-child { border-bottom: none; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
