:root {
  color-scheme: dark;
  --ink: #fff5e6;
  --ink-muted: #d7cbbc;
  --paper: #f4ecdc;
  --paper-strong: #fff8eb;
  --paper-ink: #181819;
  --paper-muted: #655d52;
  --night: #071423;
  --night-2: #0c1b2e;
  --night-3: #10263d;
  --line: rgba(255, 245, 230, 0.18);
  --line-dark: rgba(37, 31, 28, 0.2);
  --red: #c9282d;
  --red-deep: #7f1118;
  --red-soft: rgba(201, 40, 45, 0.18);
  --blue: #2f5f9f;
  --blue-soft: rgba(47, 95, 159, 0.18);
  --gold: #c8953c;
  --gold-soft: rgba(200, 149, 60, 0.2);
  --teal: var(--red);
  --teal-soft: var(--red-soft);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 245, 230, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(255, 245, 230, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 75% 12%, rgba(201, 40, 45, 0.16), transparent 30rem),
    radial-gradient(circle at 10% 65%, rgba(200, 149, 60, 0.1), transparent 26rem),
    var(--night);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

img,
svg,
canvas {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.icon-defs {
  display: none;
}

.icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--paper-strong);
  color: var(--paper-ink);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 3rem, 1280px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  padding: 0 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 20, 35, 0.72);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, min-height 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 3.9rem;
  background: rgba(7, 20, 35, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  color: rgba(247, 242, 233, 0.86);
}

.site-nav a:not(.nav-resume)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 5px;
  color: var(--ink) !important;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 245, 230, 0.16);
}

.nav-resume:hover,
.nav-resume:focus-visible {
  background: linear-gradient(180deg, #db3338, #931720);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  width: 1.05rem;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 8.2rem 0 3rem;
  background:
    linear-gradient(90deg, rgba(7, 20, 35, 0.98) 0%, rgba(7, 20, 35, 0.78) 43%, rgba(7, 20, 35, 0.92) 100%),
    var(--night);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4.8rem;
  content: "";
  background: linear-gradient(176deg, transparent 0 45%, var(--paper) 46% 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 705px;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(28rem, 1.22fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 6.2rem;
  line-height: 0.96;
  font-weight: 700;
}

.star-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.02rem;
}

.star-line::after {
  width: 9rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

.role {
  margin: 1rem 0 0;
  color: #ff4a48;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
}

.role::after,
.section-heading h2::after {
  display: block;
  width: 4.1rem;
  height: 2px;
  margin-top: 1.05rem;
  content: "";
  background: var(--gold);
}

.hero-summary {
  max-width: 31rem;
  margin: 1.6rem 0 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(247, 242, 233, 0.9);
  font-size: 0.96rem;
}

.contact-list li,
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-list .icon,
.footer-contact .icon {
  color: #ff4a48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.72rem 1.05rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid #ff4a48;
  color: var(--ink);
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 245, 230, 0.14);
}

.button-secondary {
  border: 1px solid rgba(200, 149, 60, 0.82);
  color: var(--ink);
  background: rgba(7, 20, 35, 0.45);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  border-radius: var(--radius);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: -1px;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 20, 35, 0.64), transparent 30%),
    linear-gradient(180deg, transparent 56%, rgba(7, 20, 35, 0.76));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/patriotic-hero.jpg");
  background-position: center;
  background-size: cover;
}

#signal-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.proof-strip {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7, 20, 35, 0.76);
  backdrop-filter: blur(14px);
}

.proof-strip div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.1;
}

.proof-strip span {
  display: block;
  margin-top: 0.34rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 2.1rem;
  left: 50%;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  color: var(--gold);
  transform: translateX(-50%) rotate(90deg);
}

.scroll-cue .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.section {
  padding: 5.4rem 0;
}

.section-light {
  position: relative;
  background:
    linear-gradient(90deg, rgba(122, 70, 22, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(122, 70, 22, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 15% 12%, rgba(255, 248, 235, 0.8), transparent 20rem),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--paper-ink);
}

.leadership-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background:
    linear-gradient(135deg, transparent 0 68%, rgba(201, 40, 45, 0.22) 68% 70%, transparent 70% 100%),
    radial-gradient(circle at 12% 20%, rgba(7, 20, 35, 0.16), transparent 12rem);
  pointer-events: none;
}

.leadership-section > .page-shell {
  position: relative;
  z-index: 1;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 27, 46, 0.9), rgba(7, 20, 35, 0.98)),
    var(--night);
  color: var(--ink);
}

.section-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(255, 245, 230, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 245, 230, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 6% 24%, rgba(200, 149, 60, 0.13), transparent 14rem);
  background-size: 72px 72px;
  pointer-events: none;
}

.section-dark > .page-shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 2.9rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: inherit;
  font-family: var(--mono);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.section-heading h2::after {
  margin-right: auto;
  margin-left: auto;
}

.section-heading p {
  max-width: 44rem;
  margin: 1rem auto 0;
  color: var(--paper-muted);
  font-size: 1rem;
}

.section-heading-dark p {
  color: var(--ink-muted);
}

.strength-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.strength-item {
  min-height: 16rem;
  padding: 2rem;
  text-align: center;
}

.strength-item + .strength-item {
  border-left: 1px solid var(--line-dark);
}

.feature-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1.15rem;
  fill: none;
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-icon-blue {
  stroke: var(--blue);
}

.feature-icon-red {
  stroke: var(--red);
}

.feature-icon-navy {
  stroke: var(--night-3);
}

.feature-icon-gold {
  stroke: var(--gold);
}

.strength-item h3,
.timeline-card h3,
.education-list h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.2;
}

.strength-item h3 {
  font-size: 1.05rem;
}

.strength-item p {
  margin: 0.7rem 0 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}

.timeline::before {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 16.4rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--gold), rgba(255, 245, 230, 0.28), var(--gold));
}

.timeline-item {
  display: grid;
  grid-template-columns: 12rem 5rem minmax(0, 1fr);
  gap: 0;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(247, 242, 233, 0.16);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-date {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0.1rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.timeline-marker {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.45rem var(--red-soft);
}

.timeline-marker::after {
  position: absolute;
  inset: 0.52rem;
  border-radius: 50%;
  content: "";
  background: var(--ink);
}

.timeline-marker-blue {
  background: var(--blue);
  box-shadow: 0 0 0 0.45rem var(--blue-soft);
}

.timeline-marker-gold {
  background: var(--gold);
  box-shadow: 0 0 0 0.45rem var(--gold-soft);
}

.timeline-card {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2rem;
  padding-left: 0.8rem;
}

.timeline-card h3 {
  color: var(--ink);
  font-size: 1.55rem;
}

.company {
  margin: 0.35rem 0 0;
  color: #ff4a48;
  font-family: var(--serif);
  font-size: 1.18rem;
}

.company-gold {
  color: var(--gold);
}

.timeline-card ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(247, 242, 233, 0.86);
  font-size: 0.95rem;
}

.timeline-card li + li {
  margin-top: 0.38rem;
}

.split-section {
  padding: 4.7rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.4rem;
}

.compact-heading {
  margin-bottom: 1.7rem;
  text-align: left;
}

.compact-heading h2::after {
  margin-left: 0;
}

.education-list {
  display: grid;
  gap: 1.3rem;
}

.education-list article {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 1.05rem;
  align-items: start;
}

.round-icon {
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.72rem;
  border-radius: 50%;
  color: var(--paper-strong);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  background: linear-gradient(140deg, #7f1118, #c9282d);
}

.round-icon-blue {
  background: linear-gradient(140deg, #184fa6, #2674e8);
}

.round-icon-gold {
  background: linear-gradient(140deg, #8d641e, #c58a2a);
}

.education-list h3 {
  color: var(--paper-ink);
  font-size: 1rem;
}

.education-list p {
  margin: 0.2rem 0 0;
  color: var(--paper-ink);
}

.education-list span {
  display: inline-block;
  margin-top: 0.15rem;
  color: var(--red);
  font-weight: 800;
}

.competencies-panel {
  position: relative;
  padding-left: 4.2rem;
}

.competencies-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: var(--line-dark);
}

.competency-list {
  columns: 2;
  column-gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.competency-list li {
  position: relative;
  break-inside: avoid;
  margin: 0 0 0.68rem;
  padding-left: 1.55rem;
  color: var(--paper-ink);
}

.competency-list li::before {
  position: absolute;
  left: 0;
  top: 0.08rem;
  content: "✓";
  color: var(--red);
  font-weight: 900;
}

.site-footer {
  padding: 3.3rem 0 1.4rem;
  border-top: 1px solid rgba(247, 242, 233, 0.12);
  background:
    linear-gradient(90deg, rgba(127, 17, 24, 0.82), rgba(7, 20, 35, 0.96) 42%, rgba(7, 20, 35, 1)),
    var(--night);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 3rem;
  align-items: center;
}

.footer-intro {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.footer-icon {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border: 1px solid rgba(32, 211, 206, 0.6);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(201, 40, 45, 0.2);
  box-shadow: 0 0 32px rgba(201, 40, 45, 0.16);
}

.footer-icon .icon {
  width: 2rem;
  height: 2rem;
}

.footer-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
}

.footer-intro p {
  margin: 0.25rem 0 0;
  max-width: 28rem;
  color: var(--ink-muted);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  font-style: normal;
}

.footer-contact a,
.footer-contact span {
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border-left: 1px solid rgba(247, 242, 233, 0.18);
  color: rgba(247, 242, 233, 0.88);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(247, 242, 233, 0.1);
  color: rgba(247, 242, 233, 0.5);
  font-size: 0.85rem;
}

:focus-visible {
  outline: 2px solid #ff4a48;
  outline-offset: 4px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-visual {
    min-height: 26rem;
  }

.hero-media {
  min-height: 26rem;
}

  .strength-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .strength-item:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .timeline::before {
    left: 12.4rem;
  }

  .timeline-item {
    grid-template-columns: 9rem 5rem minmax(0, 1fr);
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .competencies-panel {
    padding-left: 0;
    padding-top: 2.2rem;
    border-top: 1px solid var(--line-dark);
  }

  .competencies-panel::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 4.55rem;
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #071423;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-0.8rem);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .nav-resume {
    margin-top: 0.35rem;
  }

  .page-shell {
    width: min(100% - 2rem, 1280px);
  }

  .hero {
    padding-top: 5.85rem;
    padding-bottom: 1.6rem;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .role {
    font-size: 1.25rem;
  }

  .hero-summary {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .contact-list {
    margin-top: 1.2rem;
  }

  .hero-actions {
    margin-top: 1.15rem;
  }

  .proof-strip {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 18rem;
  }

  .hero-visual::before,
  #signal-canvas {
    bottom: 0;
  }

.hero-media {
  height: 18rem;
  min-height: 18rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2::after {
    margin-left: 0;
  }

  .section-heading p {
    margin-left: 0;
  }

  .timeline::before {
    left: 0.8rem;
  }

  .timeline-item {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
  }

  .timeline-date {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    font-size: 1rem;
  }

  .timeline-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 0.1rem;
  }

  .timeline-card {
    grid-column: 2;
    grid-row: 2;
    padding-left: 0;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact a,
  .footer-contact span {
    border-left: 0;
    border-top: 1px solid rgba(247, 242, 233, 0.14);
    padding: 1rem 0;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero {
    padding-top: 5.8rem;
    padding-bottom: 1.35rem;
  }

  .hero-grid {
    gap: 1.35rem;
  }

  .role {
    margin-top: 0.85rem;
    font-size: 1.05rem;
  }

  .role::after {
    margin-top: 0.75rem;
  }

  .hero-summary {
    margin-top: 1rem;
    font-size: 0.95rem;
  }

  .contact-list {
    gap: 0.32rem;
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.62rem 0.72rem;
    font-size: 0.78rem;
  }

  .hero-visual,
  .hero-media {
    min-height: 13.5rem;
    height: 13.5rem;
  }

  .proof-strip {
    display: none;
  }

  .strength-row {
    grid-template-columns: 1fr;
  }

  .strength-item {
    min-height: auto;
    padding: 1.7rem 1rem;
    border-left: 0 !important;
  }

  .strength-item + .strength-item,
  .strength-item:nth-child(3),
  .strength-item:nth-child(4) {
    border-top: 1px solid var(--line-dark);
  }

  .competency-list {
    columns: 1;
  }

  .education-list article,
  .footer-intro {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
