:root {
  color-scheme: light;
  --ink: #07090c;
  --coal: #11161d;
  --charcoal: #1b222b;
  --graphite: #2d343d;
  --steel: #76828f;
  --line: #d9dee5;
  --paper: #f6f7f8;
  --white: #ffffff;
  --copper: #b8795c;
  --copper-dark: #7c4c3b;
  --blue: #0c2639;
  --green: #254139;
  --shadow: 0 20px 55px rgba(7, 9, 12, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 12, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 78px;
  padding: 0 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0;
  font-weight: 700;
}

.brand-type {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.primary-nav > li {
  position: relative;
}

.primary-nav a,
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.dropdown-trigger:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

body[data-page="home"] [data-nav="home"],
body[data-page="about"] [data-nav="about"],
body[data-page="structure"] [data-nav="structure"],
body[data-page="portfolio"] [data-nav="portfolio"],
body[data-page="investment"] [data-nav="investment"],
body[data-page="development"] [data-nav="development"],
body[data-page="partnerships"] [data-nav="partnerships"],
body[data-page="governance"] [data-nav="governance"],
body[data-page="insights"] [data-nav="insights"],
body[data-page="contact"] [data-nav="contact"] {
  color: var(--white);
  background: rgba(184, 121, 92, 0.17);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 250px;
  padding: 0.55rem;
  background: #0b0f14;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 160ms ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  width: 100%;
  justify-content: space-between;
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 78vh;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7, 9, 12, 0.92), rgba(7, 9, 12, 0.65) 44%, rgba(7, 9, 12, 0.18)),
    linear-gradient(180deg, rgba(7, 9, 12, 0.2), rgba(7, 9, 12, 0.52)),
    url("../img/corey-mack-boardroom-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 121, 92, 0.82), transparent);
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 9.2rem) 1.35rem 4.6rem;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.42fr);
  gap: clamp(2rem, 7vw, 5.5rem);
  align-items: end;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 7vw, 7.1rem);
  font-weight: 700;
}

.hero-subheadline {
  max-width: 790px;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  color: rgba(255, 255, 255, 0.86);
}

.hero-copy {
  max-width: 760px;
  margin-top: 1.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.2;
  transition: 160ms ease;
}

.button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e9edf1;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--charcoal);
}

.button-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--ink);
}

.hero-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 1.4rem;
}

.hero-panel .metric {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fact-strip {
  padding: 1.15rem 1.35rem;
  background: #0b0f14;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.fact-strip-grid div {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.fact-strip-grid span {
  display: block;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.fact-strip-grid strong {
  display: block;
  margin-top: 0.3rem;
  line-height: 1.2;
}

.metric-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.metric-value {
  display: block;
  margin-top: 0.38rem;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 1.35rem;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

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

.section-green {
  background: var(--green);
  color: var(--white);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2,
.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4.25rem);
}

.section-heading p,
.large-copy {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #4b5663;
}

.section-dark .section-heading p,
.section-blue .section-heading p,
.section-green .section-heading p,
.section-dark .large-copy,
.section-blue .large-copy,
.section-green .large-copy {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: 1rem;
}

.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));
}

.card {
  min-height: 100%;
  padding: clamp(1.2rem, 2vw, 1.55rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 10px 28px rgba(7, 9, 12, 0.05);
}

.section-dark .card,
.section-blue .card,
.section-green .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.card p {
  color: #4b5663;
}

.section-dark .card p,
.section-blue .card p,
.section-green .card p {
  color: rgba(255, 255, 255, 0.72);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  color: var(--ink);
  background: #edf0f3;
  border: 1px solid #dde3e9;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-dark .tag,
.section-blue .tag,
.section-green .tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(300px, 0.48fr);
  gap: clamp(1.6rem, 5vw, 4.5rem);
  align-items: start;
}

.list-check {
  display: grid;
  gap: 0.65rem;
}

.list-check li {
  position: relative;
  padding-left: 1.35rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--copper);
  border-radius: 50%;
}

.feature-line {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.section-dark .feature-line,
.section-blue .feature-line,
.section-green .feature-line {
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-line strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.feature-line span {
  color: #4b5663;
}

.section-dark .feature-line span,
.section-blue .feature-line span,
.section-green .feature-line span {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-home-card {
  display: flex;
  flex-direction: column;
}

.portfolio-home-card h3 {
  margin-top: 1rem;
}

.portfolio-home-card .feature-line {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.75rem;
}

.portfolio-home-card p {
  margin-top: auto;
  padding-top: 1rem;
}

.structure-visual {
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.structure-root {
  padding: 1.2rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  text-align: center;
}

.structure-root strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.structure-root span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.structure-branches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.branch {
  position: relative;
  padding: 1rem;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.branch h3 {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.branch li {
  padding: 0.46rem 0;
  color: #44505c;
  border-top: 1px solid #e3e8ed;
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.97), rgba(12, 38, 57, 0.87)),
    url("../img/corey-mack-boardroom-hero.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(4.8rem, 8vw, 7rem) 1.35rem clamp(3.5rem, 6vw, 5rem);
}

.page-hero .container {
  max-width: 980px;
}

.page-hero p {
  max-width: 820px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.content-flow {
  max-width: 900px;
}

.content-flow h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.content-flow h2:first-child {
  margin-top: 0;
}

.content-flow p,
.content-flow li {
  color: #44505c;
}

.notice {
  padding: 1.1rem;
  border: 1px solid #d7dde4;
  border-left: 4px solid var(--copper);
  background: var(--white);
  border-radius: 6px;
}

.notice strong {
  display: block;
  margin-bottom: 0.4rem;
}

.portfolio-item {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 1.3rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.portfolio-item + .portfolio-item {
  margin-top: 1rem;
}

.portfolio-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.portfolio-meta {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #4b5663;
  font-size: 0.92rem;
}

.portfolio-meta strong {
  color: var(--ink);
}

.portfolio-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-stat {
  min-height: 170px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(12, 38, 57, 0.96), rgba(7, 9, 12, 0.96)),
    var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.portfolio-stat span,
.portfolio-meta-card span {
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.portfolio-stat strong {
  display: block;
  margin-top: 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.16;
}

.classification-card.featured {
  border-color: rgba(184, 121, 92, 0.5);
  background: linear-gradient(145deg, rgba(184, 121, 92, 0.14), rgba(255, 255, 255, 0.06));
}

.portfolio-support-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.portfolio-structure-visual {
  box-shadow: none;
}

.portfolio-structure-visual .branch h3 {
  min-height: 2.6rem;
}

.structure-publication-note {
  margin-top: 1.2rem;
}

.portfolio-company-stack {
  display: grid;
  gap: 1.25rem;
}

.portfolio-company-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(7, 9, 12, 0.06);
}

.portfolio-company-panel-muted {
  background: #f6f8fa;
}

.portfolio-company-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.portfolio-meta-card {
  min-height: 124px;
  padding: 1rem;
  background: #f7f8fa;
  border: 1px solid #dfe5eb;
  border-radius: 6px;
}

.portfolio-meta-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink);
  line-height: 1.28;
}

.portfolio-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
  gap: 1.4rem;
  padding-top: 0.2rem;
}

.portfolio-body-grid h3 {
  margin-bottom: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
}

.portfolio-body-grid p,
.portfolio-company-panel > p {
  color: #44505c;
}

.corporate-contact-card {
  margin-top: 2rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(280px, 0.58fr);
  gap: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.corporate-contact-card h3 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.corporate-contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.corporate-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  position: relative;
  min-height: 250px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--white);
  background: rgba(184, 121, 92, 0.22);
  border: 1px solid rgba(184, 121, 92, 0.42);
  border-radius: 50%;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 0.6rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.opportunity-split {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.opportunity-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  margin-top: 1.4rem;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.category-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-weight: 800;
}

.quote-band {
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.quote-band p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.18;
  color: var(--white);
}

.quote-band span {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.philosophy-grid {
  margin-top: 1rem;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(320px, 0.56fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: 0.84rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.8rem;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cfd7df;
  border-radius: 4px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
  outline: 3px solid rgba(184, 121, 92, 0.18);
}

.fine-print {
  color: #606b77;
  font-size: 0.86rem;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: #44505c;
  font-size: 0.9rem;
}

.checkbox-line input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 0.18rem;
}

.checkbox-line.full {
  grid-column: 1 / -1;
}

.hidden {
  display: none;
}

.site-footer {
  background: #080b0f;
  color: rgba(255, 255, 255, 0.76);
  padding: 3rem 1.35rem 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) repeat(3, minmax(160px, 1fr));
  gap: 2rem;
}

.footer-grid h2,
.footer-grid h3 {
  color: var(--white);
}

.footer-grid h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.footer-grid h3 {
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-grid li + li {
  margin-top: 0.45rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.footer-disclaimer {
  max-width: var(--max);
  margin: 2.2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    max-height: calc(100vh - 78px);
    overflow: auto;
    padding: 1rem 1.35rem 1.4rem;
    background: #080b0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.nav-open .primary-nav {
    display: block;
  }

  .primary-nav a,
  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0.25rem 0 0.8rem 0.65rem;
    min-width: 0;
    box-shadow: none;
  }

  .hero-inner,
  .section-heading,
  .split,
  .form-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    padding-left: 0;
    border-left: 0;
  }

  .hero-panel .metric {
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.9rem;
  }

  .structure-branches,
  .portfolio-intro-grid,
  .portfolio-detail-grid,
  .process-timeline,
  .fact-strip-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-company-head,
  .corporate-contact-card,
  .opportunity-split {
    grid-template-columns: 1fr;
  }

  .portfolio-company-head {
    display: grid;
  }

  .corporate-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-type {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(7, 9, 12, 0.9), rgba(7, 9, 12, 0.74)),
      url("../img/corey-mack-boardroom-hero-mobile.jpg");
  }

  .page-hero {
    background:
      linear-gradient(180deg, rgba(7, 9, 12, 0.92), rgba(12, 38, 57, 0.78)),
      url("../img/corey-mack-boardroom-hero-mobile.jpg");
    background-size: cover;
    background-position: center;
  }

  .hero-inner {
    padding-top: 5.1rem;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .hero-panel,
  .grid-2,
  .grid-3,
  .grid-4,
  .fact-strip-grid,
  .portfolio-intro-grid,
  .portfolio-detail-grid,
  .portfolio-body-grid,
  .portfolio-support-list,
  .process-timeline,
  .opportunity-list,
  .structure-branches,
  .portfolio-item,
  .corporate-contact-card,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-company-head {
    align-items: stretch;
  }

  .portfolio-company-head .button,
  .corporate-contact-actions .button {
    width: 100%;
  }

  .feature-line {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .portfolio-item {
    gap: 0.8rem;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
