:root {
  --forest: #1f3a2e;
  --deep-green: #14281f;
  --ink-green: #0d1f18;
  --cream: #e9e4d0;
  --soft-cream: #f6f1df;
  --porcelain: #fffdf6;
  --gold: #b89b63;
  --bright-gold: #d2b77c;
  --clay: #9f6755;
  --steel: #365f73;
  --white: #ffffff;
  --charcoal: #1f1f1f;
  --muted: #5d625f;
  --line: rgba(31, 58, 46, 0.14);
  --line-strong: rgba(31, 58, 46, 0.24);
  --shadow: 0 18px 44px rgba(20, 40, 31, 0.12);
  --shadow-soft: 0 10px 28px rgba(20, 40, 31, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(233, 228, 208, 0.94), rgba(246, 241, 223, 0.98) 30%, #fffaf0),
    linear-gradient(90deg, rgba(54, 95, 115, 0.08), transparent 32%, rgba(184, 155, 99, 0.1));
  color: var(--charcoal);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

section {
  padding: 88px 0;
  scroll-margin-top: 92px;
}

header {
  background: rgba(13, 31, 24, 0.96);
  color: var(--cream);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(233, 228, 208, 0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(13, 31, 24, 0.18);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  font-size: 0.86rem;
  align-items: center;
}

.nav-links a,
footer a,
.cta-panel a:not(.btn) {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active,
footer a:hover,
.cta-panel a:not(.btn):hover {
  color: var(--bright-gold);
}

.nav-links a::after {
  content: none;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(210, 183, 124, 0.42);
  background: rgba(233, 228, 208, 0.07);
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--cream);
  background: linear-gradient(135deg, #0d1f18 0%, #14281f 45%, #1b3a2c 100%);
  border-bottom: 1px solid rgba(184, 155, 99, 0.24);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 436px);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  color: var(--bright-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 14px;
  font-weight: 900;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: 5.35rem;
  line-height: 0.92;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0;
  max-width: 760px;
}

h1 span {
  display: block;
}

h2 {
  font-size: 3.35rem;
  color: var(--deep-green);
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: 0;
}

h3 {
  font-size: 1.55rem;
  color: var(--deep-green);
  line-height: 1.17;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: rgba(233, 228, 208, 0.94);
  font-weight: 800;
  margin-bottom: 16px;
  border-left: 3px solid var(--bright-gold);
  padding-left: 14px;
}

.hero p:not(.eyebrow) {
  font-size: 1.08rem;
  max-width: 660px;
  margin-bottom: 28px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: var(--gold);
  color: var(--deep-green);
}

.btn.dark {
  background: var(--deep-green);
  border-color: var(--deep-green);
  color: var(--cream);
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(184, 155, 99, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  border-color: var(--bright-gold);
}

.btn.primary:hover {
  background: #c6aa70;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(210, 183, 124, 0.36);
  border-radius: 6px;
  background: rgba(233, 228, 208, 0.08);
  color: rgba(233, 228, 208, 0.96);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-card,
.program-card,
.project-card,
.video-section,
.dashboard-section,
.about-card,
.cta-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  background: rgba(255, 253, 246, 0.95);
  color: var(--deep-green);
  display: grid;
  gap: 20px;
  border-color: rgba(210, 183, 124, 0.32);
  position: relative;
  z-index: 1;
}

.hero-card h2 {
  font-size: 2.25rem;
  text-transform: none;
}

.hero-card p {
  color: var(--deep-green);
}

.executive-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.executive-focus span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(31, 58, 46, 0.12);
  border-radius: 6px;
  color: var(--deep-green);
  background: rgba(31, 58, 46, 0.04);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.image-card {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(31, 58, 46, 0.08);
}

.image-card img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card .image-card {
  aspect-ratio: 3 / 4;
}

.hero-card .image-card img {
  object-position: center top;
}

.metrics-strip {
  background: linear-gradient(135deg, var(--ink-green), var(--deep-green));
  color: var(--cream);
  padding: 30px 0;
  border-bottom: 1px solid rgba(184, 155, 99, 0.2);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  border: 1px solid rgba(233, 228, 208, 0.12);
  border-left: 3px solid var(--bright-gold);
  padding: 18px;
  background: rgba(233, 228, 208, 0.05);
  border-radius: 6px;
}

/* ── Technical Projects Section ──────────────────── */
.technical-projects-section {
  background: var(--ink-green);
  padding: 80px 0;
}

.technical-projects-section .section-header div p.eyebrow {
  color: var(--bright-gold);
}

.technical-projects-section .section-header h2 {
  color: var(--cream);
}

.technical-projects-section .section-header > p {
  color: rgba(233, 228, 208, 0.75);
}

.tech-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.tech-project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(233,228,208,0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tech-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}

.tech-mockup-wrap {
  width: 100%;
  overflow: hidden;
  background: #0f2a1e;
  border-bottom: 2px solid var(--bright-gold);
}

.tech-mockup-img {
  width: 100%;
  display: block;
  transition: transform 0.3s;
}

.tech-project-card:hover .tech-mockup-img {
  transform: scale(1.02);
}

.tech-project-body {
  padding: 24px 22px 22px;
}

.tech-project-body h3 {
  color: var(--cream);
  font-size: 1.15rem;
  margin: 10px 0 8px;
}

.tech-project-body p {
  color: rgba(233,228,208,0.78);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.tech-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tech-metrics span {
  font-size: 0.85rem;
  color: rgba(233,228,208,0.6);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(233,228,208,0.1);
}

.tech-metrics strong {
  color: var(--bright-gold);
}

.tech-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-tech {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s;
  background: var(--bright-gold);
  color: var(--deep-green);
}

.btn-tech:hover {
  background: #c9a84c;
  transform: translateY(-1px);
}

.btn-tech.outline {
  background: transparent;
  border: 1px solid rgba(233,228,208,0.35);
  color: rgba(233,228,208,0.85);
}

.btn-tech.outline:hover {
  border-color: var(--bright-gold);
  color: var(--bright-gold);
  background: transparent;
  transform: translateY(-1px);
}
/* ─────────────────────────────────────────────────── */

/* ── Data Section ─────────────────────────────────── */
.data-section {
  background: var(--porcelain);
  padding: 72px 0;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.data-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--bright-gold);
  border-radius: 8px;
  padding: 28px 22px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.data-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
}

/* ── Tools Used + Transferable + Nav CTA + Availability ──── */
.tools-used {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(27, 67, 50, 0.06);
  border-left: 3px solid var(--bright-gold);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tools-used strong {
  color: var(--ink-green);
}

.transferable-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(184, 155, 99, 0.08);
  border: 1px solid rgba(184, 155, 99, 0.3);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.transferable-box strong {
  display: block;
  color: var(--ink-green);
  margin-bottom: 4px;
}

.nav-resume-btn {
  display: inline-block;
  padding: 7px 16px;
  background: var(--bright-gold);
  color: var(--deep-green) !important;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}

.nav-resume-btn:hover {
  background: #c9a84c;
  transform: translateY(-1px);
}

.availability-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-style: italic;
}
/* ─────────────────────────────────────────────────── */

.data-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1;
}

.data-card h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-green);
  margin-bottom: 10px;
}

.data-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}
/* ─────────────────────────────────────────────────── */

.metric strong {
  display: block;
  font-size: 2.05rem;
  color: var(--bright-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  display: block;
  font-size: 0.91rem;
}

.executive-snapshot {
  background: var(--porcelain);
  padding: 66px 0;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.75fr));
  gap: 18px;
  align-items: stretch;
}

.snapshot-intro,
.snapshot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.snapshot-intro {
  padding: 28px;
}

.snapshot-intro h2 {
  font-size: 2.7rem;
}

.snapshot-intro p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.snapshot-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 245px;
}

.snapshot-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--deep-green);
  color: var(--bright-gold);
  font-weight: 900;
  margin-bottom: 18px;
}

.snapshot-card h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.12rem;
}

.snapshot-card p {
  color: var(--muted);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 500px);
  gap: 28px;
  align-items: end;
  margin-bottom: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-header p:not(.eyebrow) {
  color: var(--muted);
}

.program {
  background: linear-gradient(180deg, var(--soft-cream), #fffaf0);
}

.program-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.feature-image {
  min-height: 390px;
}

.tag {
  display: inline-block;
  background: rgba(184, 155, 99, 0.14);
  color: var(--deep-green);
  border: 1px solid rgba(184, 155, 99, 0.42);
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}

.bullets {
  padding-left: 20px;
  margin-top: 12px;
}

.bullets li {
  margin-bottom: 7px;
}

.phase-grid,
.project-grid,
.skills-grid,
.training-grid,
.video-grid,
.ops-gallery,
.event-gallery,
.sde-gallery,
.profile-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.phase-grid,
.video-grid,
.profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid,
.skills-grid,
.training-grid,
.ops-gallery,
.event-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sde-gallery {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.phase,
.skill-box,
.training-card {
  background: rgba(246, 241, 223, 0.95);
  border-radius: 8px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.phase h3,
.skill-box h3,
.training-card h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.training-section {
  margin-top: 34px;
}

.training-section > p {
  max-width: 820px;
  margin-bottom: 20px;
}

.training-card ul {
  padding-left: 18px;
}

.training-card li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

figure {
  background: var(--soft-cream);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.sde-gallery .sde-feature img {
  height: 320px;
}

figcaption {
  padding: 14px;
  font-size: 0.9rem;
  color: #444;
}

figure:hover img,
.image-card:hover img,
.dashboard-card:hover img {
  transform: scale(1.025);
}

.dashboard-section {
  margin-top: 34px;
}

.dashboard-section > p {
  max-width: 820px;
  margin-bottom: 20px;
}

.dashboard-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(31, 58, 46, 0.14);
  border: 1px solid var(--line);
  background: var(--deep-green);
}

.dashboard-card img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.dashboard-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  color: var(--cream);
  background: linear-gradient(to top, rgba(20, 40, 31, 0.9), rgba(20, 40, 31, 0));
}

.dashboard-overlay h4 {
  color: var(--gold);
  font-size: 1.08rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-overlay p {
  max-width: 720px;
  margin: 0;
  font-size: 0.95rem;
}

.video-section {
  margin-top: 34px;
}

.video-section > p {
  max-width: 820px;
  margin-bottom: 20px;
}

.video-card {
  display: grid;
  gap: 14px;
  text-align: left;
  background: var(--soft-cream);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--charcoal);
  box-shadow: 0 10px 28px rgba(31, 58, 46, 0.08);
  cursor: pointer;
}

.video-card.wide {
  grid-column: 1 / -1;
}

.video-thumbnail {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(233, 228, 208, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.play-button::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 19px;
  border-left: 18px solid var(--deep-green);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-card:hover .play-button,
.video-card:focus-visible .play-button {
  transform: scale(1.08);
  background: var(--gold);
}

.video-meta {
  display: grid;
  gap: 5px;
}

.video-meta strong {
  color: var(--deep-green);
}

.video-meta span {
  color: var(--muted);
  font-size: 0.93rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid rgba(184, 155, 99, 0.58);
}

.mini-visual {
  background:
    linear-gradient(135deg, rgba(31, 58, 46, 0.93), rgba(20, 40, 31, 0.98)),
    linear-gradient(90deg, rgba(159, 103, 85, 0.35), rgba(54, 95, 115, 0.28));
  color: var(--cream);
  border-radius: 6px;
  min-height: 138px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-size: 0.92rem;
  border: 1px solid rgba(184, 155, 99, 0.24);
}

.case-study-block {
  margin-top: 6px;
}

.case-study-block h4 {
  color: var(--deep-green);
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.result-block {
  background: rgba(184, 155, 99, 0.14);
  border-radius: 6px;
  padding: 14px;
  border-left: 4px solid var(--gold);
}

.about {
  background:
    linear-gradient(135deg, rgba(13, 31, 24, 0.98), rgba(20, 40, 31, 0.96)),
    linear-gradient(90deg, rgba(54, 95, 115, 0.2), transparent);
  color: var(--cream);
}

.about .section-header h2,
.about .section-header p:not(.eyebrow) {
  color: var(--cream);
}

.about .section-header p:not(.eyebrow) {
  opacity: 0.86;
}

.skill-box {
  background: rgba(233, 228, 208, 0.08);
  border-left-color: var(--gold);
}

.skill-box h3 {
  color: var(--gold);
}

.skill-box p {
  color: rgba(233, 228, 208, 0.9);
}

.technical-skills {
  margin-top: 28px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid rgba(233, 228, 208, 0.16);
  background: rgba(233, 228, 208, 0.06);
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.technical-grid article {
  padding-top: 14px;
  border-top: 2px solid rgba(184, 155, 99, 0.55);
}

.technical-grid h3 {
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.98rem;
  margin-bottom: 7px;
}

.technical-grid p {
  color: rgba(233, 228, 208, 0.9);
  font-size: 0.93rem;
}

.playbook-section {
  background: var(--porcelain);
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.playbook-step {
  position: relative;
  min-height: 265px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(31, 58, 46, 0.08);
}

.playbook-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--clay), var(--steel));
  border-radius: 0 0 6px 6px;
}

.playbook-step span {
  display: inline-flex;
  margin-top: 10px;
  margin-bottom: 18px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playbook-step h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.05rem;
}

.playbook-step p {
  color: var(--muted);
}

.tool-stack-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink-green), var(--deep-green));
  color: var(--cream);
}

.tool-stack-panel h3 {
  color: var(--cream);
}

.tool-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(233, 228, 208, 0.1);
  border: 1px solid rgba(233, 228, 208, 0.18);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 800;
}

.light-card {
  background: var(--white);
  color: var(--charcoal);
}

.light-card h3 {
  color: var(--deep-green);
  margin-top: 16px;
}

.light-card h3:first-child {
  margin-top: 0;
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 241, 223, 0.98)),
    linear-gradient(90deg, rgba(54, 95, 115, 0.1), rgba(159, 103, 85, 0.12));
  border-top: 4px solid rgba(184, 155, 99, 0.55);
}

.cta-panel h2 {
  font-size: 2.55rem;
}

.cta-panel p:not(.eyebrow) {
  margin-top: 10px;
}

.cta-panel a:not(.btn) {
  color: var(--steel);
  font-weight: 800;
}

footer {
  background: linear-gradient(135deg, var(--ink-green), var(--deep-green));
  color: var(--cream);
  padding: 54px 0;
  text-align: center;
  border-top: 1px solid rgba(233, 228, 208, 0.15);
}

footer h2 {
  color: var(--cream);
  font-size: 1.8rem;
  text-transform: none;
}

.contact-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--gold);
  font-weight: 800;
}

.portfolio-credit {
  margin-top: 18px;
  font-size: 0.83rem;
  color: rgba(184, 155, 99, 0.7);
  letter-spacing: 0.02em;
}

.copyright {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(233, 228, 208, 0.75);
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 40px;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.img-modal.is-open {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  background: transparent;
  border: 0;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.video-modal-content {
  width: min(1000px, 92vw);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--deep-green);
  color: var(--gold);
  border: 1px solid rgba(184, 155, 99, 0.5);
  box-shadow: 0 14px 32px rgba(20, 40, 31, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hidden {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.project-card,
.phase,
.skill-box,
.training-card,
.snapshot-card,
.playbook-step,
.video-card,
figure {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover,
.phase:hover,
.skill-box:hover,
.training-card:hover,
.snapshot-card:hover,
.playbook-step:hover,
.video-card:hover,
figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 58, 46, 0.14);
  border-color: rgba(184, 155, 99, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .data-grid,
  .tech-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .snapshot-grid,
  .playbook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .snapshot-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.15rem;
  }

  h2,
  .snapshot-intro h2,
  .cta-panel h2 {
    font-size: 2.45rem;
  }

  .hero-card h2 {
    font-size: 2rem;
  }

  section {
    padding: 58px 0;
    scroll-margin-top: 128px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

  .hero-grid,
  .snapshot-grid,
  .program-card,
  .section-header,
  .playbook-grid,
  .project-grid,
  .skills-grid,
  .technical-grid,
  .data-grid,
  .tech-project-grid,
  .training-grid,
  .phase-grid,
  .video-grid,
  .ops-gallery,
  .event-gallery,
  .sde-gallery,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(233, 228, 208, 0.16);
    border-radius: 6px;
    background: rgba(233, 228, 208, 0.06);
    font-size: 0.82rem;
  }

  .hero-card,
  .program-card,
  .project-card,
  .video-section,
  .dashboard-section,
  .about-card,
  .cta-panel {
    border-radius: 14px;
    padding: 22px;
  }

  .feature-image {
    min-height: 260px;
  }

  .video-card.wide {
    grid-column: auto;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-stack-panel {
    grid-template-columns: 1fr;
  }

  .dashboard-overlay {
    position: static;
    background: rgba(20, 40, 31, 0.96);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  header {
    padding: 14px 0;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  h2,
  .snapshot-intro h2,
  .cta-panel h2 {
    font-size: 2.05rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .snapshot-card,
  .playbook-step {
    min-height: auto;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .img-modal {
    padding: 20px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}
