/* =====================================================================
   Justin Newcom — Executive Technology Leader
   Design: Executive/authoritative, minimal. Deep navy/charcoal neutrals
   with a single confident amber accent used sparingly for CTAs.
   Fonts: Cabinet Grotesk (display) + General Sans (body) — Fontshare.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root,
[data-theme='light'] {
  /* Surfaces — cool neutral, charcoal/slate */
  --color-bg: #f5f6f8;
  --color-surface: #ffffff;
  --color-surface-2: #fbfbfc;
  --color-surface-offset: #edeff2;
  --color-surface-offset-2: #e4e7ec;
  --color-surface-dynamic: #dde1e7;
  --color-divider: #dfe2e7;
  --color-border: #d3d7de;

  /* Text — deep navy/charcoal ink */
  --color-text: #131a2b;
  --color-text-muted: #5b6472;
  --color-text-faint: #98a0ac;
  --color-text-inverse: #f7f8fa;

  /* Primary accent — refined amber (sparing use: CTAs, metrics) */
  --color-primary: #b6752b;
  --color-primary-hover: #98611f;
  --color-primary-active: #7a4e18;
  --color-primary-highlight: #f1e3cd;

  /* Deep navy — structural dark surfaces (hero, contact, footer) */
  --color-navy: #0b1220;
  --color-navy-2: #101a2e;
  --color-navy-border: #22304a;

  /* Semantic (minimal use) */
  --color-success: #3d7a4f;
  --color-error: #a13a3a;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.15 0.02 250 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.15 0.02 250 / 0.09);
  --shadow-lg: 0 16px 40px oklch(0.15 0.02 250 / 0.14);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1200px;
  --content-full: 100%;

  --font-display: 'Cabinet Grotesk', 'General Sans', 'Segoe UI', sans-serif;
  --font-body: 'General Sans', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0b0f18;
  --color-surface: #10151f;
  --color-surface-2: #131926;
  --color-surface-offset: #161d2b;
  --color-surface-offset-2: #1b2333;
  --color-surface-dynamic: #212a3c;
  --color-divider: #1e2636;
  --color-border: #2a3348;

  --color-text: #e7e9ee;
  --color-text-muted: #9aa3b2;
  --color-text-faint: #616b7d;
  --color-text-inverse: #10151f;

  --color-primary: #d99a4e;
  --color-primary-hover: #e8b06c;
  --color-primary-active: #f3c589;
  --color-primary-highlight: #3a2c17;

  --color-navy: #05070c;
  --color-navy-2: #090d16;
  --color-navy-border: #1c2436;

  --color-success: #6aa87c;
  --color-error: #c2696d;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0b0f18;
    --color-surface: #10151f;
    --color-surface-2: #131926;
    --color-surface-offset: #161d2b;
    --color-surface-offset-2: #1b2333;
    --color-surface-dynamic: #212a3c;
    --color-divider: #1e2636;
    --color-border: #2a3348;

    --color-text: #e7e9ee;
    --color-text-muted: #9aa3b2;
    --color-text-faint: #616b7d;
    --color-text-inverse: #10151f;

    --color-primary: #d99a4e;
    --color-primary-hover: #e8b06c;
    --color-primary-active: #f3c589;
    --color-primary-highlight: #3a2c17;

    --color-navy: #05070c;
    --color-navy-2: #090d16;
    --color-navy-border: #1c2436;

    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.45);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.55);
  }
}

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  --text-hero: clamp(2.75rem, 1rem + 6vw, 6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ---------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1.12;
  font-family: var(--font-display);
}
p,
li,
figcaption {
  text-wrap: pretty;
}

::selection {
  background: oklch(from var(--color-primary) l c h / 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a,
button,
[role='button'],
input,
textarea,
select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------------------------------------------------------------------
   3. Layout primitives
   --------------------------------------------------------------------- */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section-heading {
  margin-bottom: var(--space-10);
  max-width: 46rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.eyebrow--inverse {
  color: #e8b06c;
}

.section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  max-width: 32ch;
}

/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 44px;
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 38px;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
}

.btn--xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn--primary {
  background: var(--color-primary);
  color: #16110a;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}
.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--accent {
  background: var(--color-primary);
  color: #16110a;
  box-shadow: var(--shadow-md);
}
.btn--accent:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: var(--color-navy-2);
  color: var(--color-text-inverse);
  border-color: oklch(from var(--color-text-inverse) l c h / 0.35);
  position: relative;
  z-index: 1;
}
.btn--ghost:hover {
  border-color: oklch(from var(--color-text-inverse) l c h / 0.6);
  background: oklch(from var(--color-text-inverse) l c h / 0.06);
}

/* ---------------------------------------------------------------------
   5. Header / Nav
   --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.brand__mark {
  color: var(--color-primary);
  flex-shrink: 0;
}

.brand__name {
  white-space: nowrap;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav__list a:hover {
  color: var(--color-text);
}

.nav__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-interactive);
  margin-inline: auto;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.mobile-nav__cta {
  width: 100%;
}

@media (max-width: 860px) {
  .nav,
  .nav__cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-nav[data-open='true'] {
    display: flex;
  }
}

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  color: var(--color-text-inverse);
  overflow: hidden;
  padding-block: clamp(var(--space-20), 14vw, var(--space-32));
}

.hero__grid {
  position: absolute;
  inset: 0;
  color: #d99a4e;
  pointer-events: none;
}

.hero__network {
  width: 100%;
  height: 100%;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.hero__inner {
  max-width: 44rem;
}

.hero__portrait-wrap {
  flex-shrink: 0;
}

.hero__portrait {
  width: clamp(200px, 26vw, 300px);
  height: clamp(200px, 26vw, 300px);
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-navy-border);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .hero__layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--space-8);
  }
  .hero__portrait {
    width: 180px;
    height: 180px;
  }
  .hero__location {
    justify-content: center;
  }
  .hero__actions {
    justify-content: center;
  }
}

.hero__name {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.hero__headline {
  font-size: var(--text-lg);
  font-weight: 500;
  color: #cdd4e0;
  margin-bottom: var(--space-6);
  line-height: 1.4;
}

.hero__headline-sub {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d99a4e;
}

.hero__value {
  font-size: var(--text-base);
  color: #a9b2c3;
  max-width: 38ch;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: #8b93a4;
}

/* ---------------------------------------------------------------------
   7. About
   --------------------------------------------------------------------- */
.about {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--color-bg);
}

.about__content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about__bio p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-5);
}

.about__bio p:last-child {
  margin-bottom: 0;
}

.about__education {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.about__education-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.education-degree {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.education-school {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.current-role {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
}

.current-role__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.current-role__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

@media (max-width: 860px) {
  .about__content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ---------------------------------------------------------------------
   8. Career Highlights
   --------------------------------------------------------------------- */
.highlights {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--color-surface-offset);
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.highlight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.highlight-card--feature {
  grid-column: span 2;
}

.highlight-card__metric {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.highlight-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.highlight-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 52ch;
}

@media (max-width: 860px) {
  .highlights__grid {
    grid-template-columns: 1fr;
  }
  .highlight-card--feature {
    grid-column: span 1;
  }
}

/* ---------------------------------------------------------------------
   9. Experience Timeline
   --------------------------------------------------------------------- */
.experience {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--color-bg);
}

.timeline {
  position: relative;
  max-width: 46rem;
  padding-left: var(--space-8);
  border-left: 2px solid var(--color-divider);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-8) - 6px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
}

.timeline__years {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.timeline__role {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.timeline__org {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------
   10. Expertise
   --------------------------------------------------------------------- */
.expertise {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--color-surface-offset);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.chip {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
}

/* ---------------------------------------------------------------------
   11. Links (link-in-bio)
   --------------------------------------------------------------------- */
.links {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--color-bg);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.link-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.link-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.link-card--primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.link-card--primary:hover {
  border-color: var(--color-primary);
}

.link-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.link-card--primary .link-card__icon {
  color: #e8b06c;
}

.link-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.link-card__label {
  font-size: var(--text-sm);
  font-weight: 700;
}

.link-card__desc {
  font-size: var(--text-xs);
  opacity: 0.7;
}

.link-card__arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

@media (max-width: 860px) {
  .link-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
   11b. Latest from LinkedIn
   --------------------------------------------------------------------- */
.latest {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--color-surface-offset);
  overflow: hidden;
}

.latest__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.latest__heading .section-heading {
  margin-bottom: 0;
}

.latest__nav {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  padding-bottom: var(--space-10);
}

.latest__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}

.latest__arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.latest__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.latest__arrow:disabled:hover {
  border-color: var(--color-border);
  color: var(--color-text);
}

.latest-scroll {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--space-6);
  padding: var(--space-1) var(--space-1) var(--space-4);
  margin: 0 calc(-1 * var(--space-1));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.latest-scroll:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.latest-post {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  flex: 0 0 clamp(280px, 85vw, 380px);
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.latest-post__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-bg);
}

.latest-post__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.latest-post__quote {
  font-size: var(--text-sm);
  color: var(--color-text);
}

.latest-post__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.latest-post__date {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.latest-post__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

.latest-post__link:hover {
  color: var(--color-primary-hover);
}

.latest-empty {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 700px) {
  .latest__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .latest__nav {
    padding-bottom: 0;
  }
}

/* ---------------------------------------------------------------------
   12. Contact
   --------------------------------------------------------------------- */
.contact {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-20), 14vw, var(--space-32));
  text-align: center;
}

.contact__inner {
  max-width: 40rem;
}

.contact__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.contact__body {
  font-size: var(--text-base);
  color: #a9b2c3;
  margin-bottom: var(--space-10);
}

.contact__cta {
  display: inline-flex;
}

/* ---------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------- */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__linkedin {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.footer__linkedin:hover {
  color: var(--color-primary);
}

/* ---------------------------------------------------------------------
   14. Responsive — small screens
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
  .container {
    padding-inline: var(--space-5);
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .contact__cta {
    width: 100%;
  }
  .section-title {
    max-width: 100%;
  }
}
