:root {
  --od-green: #3B3D2E;
  --od-dark: #2A2C20;
  --od-darker: #1F2117;
  --page-bg: #F7F5EE;
  --text-body: #5F5E50;
  --text-heading: #1F2117;
  --card-bg: #ffffff;
  --card-border: #D8D4C4;
  --footer-bg: #EFECE2;
  --tan: #3B3D2E;
  --tan-light: #3B3D2E;
  --cream: #F7F5EE;
  --muted: #5F5E50;
  --faint: #7A7868;
  --border: #D8D4C4;
  --divider-gradient: linear-gradient(90deg, transparent, rgba(59, 61, 46, 0.42), rgba(216, 212, 196, 0.95), transparent);

  --shadow: 0 12px 40px rgba(31, 33, 23, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-body);
  background: var(--page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  opacity: 1;
  transition: opacity 0.25s ease;
}

body.page-exit {
  opacity: 0;
}

@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: none;
  }
}

h1,
h2,
h3,
h4 {
  color: var(--text-heading);
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--cream);
  background: var(--od-green);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

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

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(247, 245, 238, 0.92);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(18px);
  transition: min-height 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  min-height: 54px;
  background: rgba(247, 245, 238, 0.98);
  box-shadow: 0 2px 16px rgba(31, 33, 23, 0.08);
}

.site-header.scrolled .nav {
  min-height: 54px;
}

#cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #3B3D2E;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, background-color 0.2s ease;
}

#cursor-dot.is-hovering {
  background: var(--od-green);
}

@media (pointer: coarse) {
  #cursor-dot {
    display: none !important;
  }
}

.button-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(247, 245, 238, 0.35);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 0.34rem;
  color: var(--text-heading);
  line-height: 1.08;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.brand:hover .brand-name {
  color: #3B3D2E;
}

.brand-subtitle {
  color: var(--od-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  color: var(--text-body);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #1F2117;
  background: rgba(59, 61, 46, 0.1);
  transform: scale(1.03);
}

.nav-links a.is-active {
  padding: 0.4rem 0.85rem;
  color: #F7F5EE;
  background: #3B3D2E;
  border-color: transparent;
  border-radius: 99px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--od-green);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.nav-toggle:hover {
  opacity: 0.7;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #3B3D2E;
  border-radius: 999px;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  scroll-margin-top: var(--header-height);
}

.alt-section {
  background: var(--footer-bg);
  border-block: 1px solid var(--card-border);
}

.hero {
  min-height: 0;
  display: block;
  border-bottom: 1px solid var(--card-border);
}

.hero.section {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

#home.hero.section {
  position: relative;
  z-index: 0;
  padding-top: clamp(2rem, 3.5vw, 3.5rem);
}

#home > .shell {
  position: relative;
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #3B3D2E;
  z-index: 200;
  transition: width 0.1s linear;
}

#home .hero-copy h1 {
  margin-bottom: 1rem;
  color: #1F2117;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

#home .hero-intro {
  margin-bottom: 0;
  color: #5F5E50;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

#home .hero-intro strong {
  color: var(--od-green);
}

#home .eyebrow {
  margin-bottom: 1rem;
  color: #4A4E38;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-grid,
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.hero-grid {
  align-items: start;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--od-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.2rem;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0.75rem;
  color: var(--text-heading);
  font-size: 1.2rem;
  line-height: 1.25;
}

.feature-card h2,
.resume-card h2,
.content-panel h2 {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-intro,
.section-heading p,
.content-panel p,
.feature-card p,
.resume-card p,
.video-card p,
.contact-panel p {
  color: var(--muted);
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 2rem;
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
}

.positioning-line {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--od-green);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
}

.hero-divider {
  width: min(88%, 620px);
  height: 1px;
  margin: 1.35rem 0;
  background: var(--divider-gradient);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: flex;
  width: 100%;
  max-width: 700px;
  margin: 1.5rem 0 1.75rem;
  background: #ffffff;
  border: 1px solid #D8D4C4;
  border-left: 4px solid #3B3D2E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

.hero-metric {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: baseline;
  align-content: flex-start;
  row-gap: 4px;
  padding: 1rem 1.25rem;
  border-right: 1px solid #D8D4C4;
  text-align: left;
}

.hero-metric-value {
  flex: 0 0 auto;
  color: #3B3D2E;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-metric-suffix {
  flex: 0 0 auto;
  color: #3B3D2E;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-metric-label {
  flex: 0 0 100%;
  display: block;
  margin: 0;
  color: #8E8C76;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-metric:last-child {
  border-right: none;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--cream);
  background: var(--od-green);
  box-shadow: 0 8px 24px rgba(59, 61, 46, 0.18);
  transition: all 0.2s ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2A2C1A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 33, 23, 0.2);
}

.button-secondary {
  color: var(--od-green);
  background: transparent;
  border-color: var(--od-green);
  transition: all 0.2s ease;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #F7F5EE;
  background: #3B3D2E;
  transform: translateY(-2px);
}

.button-ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--card-border);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-note span {
  padding: 0.42rem 0.72rem;
  color: var(--text-body);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 0.86rem;
}

.page-hero {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.homepage-previews.section {
  padding: 3rem 0 clamp(2rem, 3vw, 2.5rem);
}

.homepage-previews .hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.homepage-previews .story-preview-card {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.preview-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-list li {
  position: relative;
  padding-left: 1rem;
  color: #5F5E50;
  font-size: 0.95rem;
  line-height: 1.5;
}

.preview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3B3D2E;
}

.story-preview-separator,
.homepage-previews .story-preview-separator,
.homepage-previews .story-preview-separator--between {
  display: none;
}

.story-preview.section {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.story-preview .hero-grid {
  align-items: start;
}

.story-preview-separator,
.story-preview-card {
  grid-column: 1 / -1;
}

.story-preview-separator {
  display: none;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--divider-gradient);
}

.story-preview-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #D8D4C4;
  border-top: 3px solid #3B3D2E;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 24px rgba(31, 33, 23, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.story-preview-card:hover {
  box-shadow: 0 12px 32px rgba(31, 33, 23, 0.14);
}

@media (pointer: fine) {
  .story-preview-card:hover {
    transform: translateY(-4px);
  }
}

.story-preview-card h2 {
  margin-bottom: 0;
  max-width: none;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.story-preview-divider {
  width: min(88%, 620px);
  max-width: 100%;
}

.story-preview-text {
  max-width: none;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.6;
}

.story-preview-text strong {
  color: var(--od-green);
}

.story-preview-card .button {
  margin-top: auto;
  margin-bottom: 0;
}

/* Story page (story.html only) */
.story-page .story-page-hero.section,
.story-page .story-page-path.section,
.story-page .story-page-main.section {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.story-page-hero.section {
  padding: clamp(3.25rem, 5.5vw, 4.75rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: none;
}

.story-page-hero h1 {
  margin-bottom: 1.25rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.story-page-lead {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.68;
  text-align: left;
}

.story-page-punch {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.6rem;
  color: var(--od-green);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-wrap: pretty;
}

.story-page-hero-divider {
  width: 100%;
  margin-bottom: 0;
}

.story-page-body {
  width: min(100% - 2rem, var(--shell));
  max-width: 780px;
  margin-inline: auto;
}

.story-page-path.section {
  padding: 0 0 clamp(2rem, 3.5vw, 2.75rem);
}

.story-page-path-panel {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  z-index: 10;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-page-path-title {
  margin-bottom: 0.85rem;
  color: var(--text-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.story-page-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.story-page-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  color: var(--od-green);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.story-page-pill:hover,
.story-page-pill:focus-visible {
  color: var(--cream);
  background: var(--od-green);
  border-color: var(--od-green);
}

.story-page-pill.is-active {
  color: #F7F5EE;
  background: #3B3D2E;
  border-color: #3B3D2E;
}

#story-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #3B3D2E, #C7BE92);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

.chapter-number {
  display: block;
  margin-bottom: 0.5rem;
  color: #C7BE92;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-page-chapter--quiet {
  background: #FAFAF7;
  border-color: #E8E4D8;
  border-left-color: #C7BE92;
}

.story-page-chapter--quiet h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.story-page-main.section {
  padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.story-page-content {
  display: grid;
  gap: clamp(1.5rem, 2.8vw, 2rem);
}

.story-page-chapter {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.story-page-chapter--continued {
  padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--footer-bg);
  border-color: var(--card-border);
  box-shadow: none;
}

.story-page-chapter h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.story-page-chapter h2,
.story-page-rule,
.story-page-chapter p {
  width: 100%;
  max-width: 100%;
}

.story-page-rule {
  height: 1px;
  margin: 0 0 1.25rem;
  background: var(--divider-gradient);
}

.story-page-chapter p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.68;
  text-align: left;
}

.story-page-chapter p + p {
  margin-top: 1rem;
}

.story-page-chapter ul {
  width: 100%;
  max-width: 100%;
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.story-page-chapter li {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.68;
}

.story-page-chapter li + li {
  margin-top: 0.45rem;
}

.story-page-chapter p + ul {
  margin-top: 0.5rem;
}

.story-page-chapter ul + p {
  margin-top: 1rem;
}

.story-page-chapter p:last-child {
  margin-bottom: 0;
}

.story-page-chapter strong {
  color: var(--od-green);
}

.story-page-pullquote {
  margin: 0;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-page-pullquote .signal-divider {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.story-page-pullquote p {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--text-heading);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}

/* Story timeline (story.html) */
.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 2rem;
}

.st-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 1rem;
  position: relative;
}

.st-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2px;
}

.st-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3B3D2E;
  color: #D8CF9E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.st-item.is-open .st-icon {
  background: #D8CF9E;
  color: #1F2117;
  box-shadow: 0 0 0 4px rgba(59, 61, 46, 0.15);
}

.st-icon--quiet {
  background: #C7BE92;
  color: #3B3D2E;
}

.st-icon--final {
  background: #3B3D2E;
  color: #D8CF9E;
}

.st-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(180deg, #3B3D2E 0%, #D8D4C4 100%);
  margin-top: 4px;
}

.st-item--last .st-line {
  display: none;
}

.st-body {
  padding-bottom: 1.5rem;
}

.st-trigger {
  width: 100%;
  background: #ffffff;
  border: 1px solid #D8D4C4;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 2px;
  align-items: center;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-trigger:hover {
  border-color: #3B3D2E;
  box-shadow: 0 4px 16px rgba(31, 33, 23, 0.08);
}

.st-item.is-open .st-trigger {
  border-color: #3B3D2E;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.st-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: #C7BE92;
  letter-spacing: 0.12em;
  grid-row: 1;
  grid-column: 1;
}

.st-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1F2117;
  grid-row: 1;
  grid-column: 2;
  line-height: 1.3;
}

.st-teaser {
  font-size: 0.82rem;
  color: #8E8C76;
  grid-row: 2;
  grid-column: 2;
  line-height: 1.4;
}

.st-chevron {
  grid-row: 1 / 3;
  grid-column: 3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F7F5EE;
  border: 1px solid #D8D4C4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease;
}

.st-chevron::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #3B3D2E;
  border-bottom: 2px solid #3B3D2E;
  transform: rotate(45deg) translateY(-2px);
}

.st-item.is-open .st-chevron {
  transform: rotate(180deg);
  background: #3B3D2E;
  border-color: #3B3D2E;
}

.st-item.is-open .st-chevron::after {
  border-color: #F7F5EE;
}

.st-content {
  background: #ffffff;
  border: 1px solid #3B3D2E;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 1.25rem 1.5rem;
  animation: st-expand 0.3s ease;
}

.st-content p {
  color: #5F5E50;
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

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

.st-content ul {
  margin: 0.5rem 0 0.85rem 1.25rem;
  color: #5F5E50;
  font-size: 0.97rem;
  line-height: 1.7;
}

.st-content li + li {
  margin-top: 0.25rem;
}

.st-content strong {
  color: #1F2117;
}

.st-pullquote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  background: #EFECE2;
  border-left: 3px solid #3B3D2E;
  border-radius: 0 8px 8px 0;
  color: #3B3D2E;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.6;
}

.st-item--quiet .st-trigger {
  background: #FAFAF7;
}

.story-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}

@keyframes st-expand {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .st-item {
    grid-template-columns: 44px 1fr;
    gap: 0 0.75rem;
  }

  .st-icon {
    width: 34px;
    height: 34px;
  }

  .st-icon svg {
    width: 15px;
    height: 15px;
  }

  .st-trigger {
    padding: 0.875rem 1rem;
  }

  .st-title {
    font-size: 0.92rem;
  }

  .st-teaser {
    font-size: 0.78rem;
  }

  .st-content {
    padding: 1rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-content {
    animation: none;
  }
}

/* Highlights page (highlights.html only) */
.highlights-page .highlights-hero.section,
.highlights-page .highlights-main {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.hl-stats-bar {
  display: flex;
  gap: 0;
  background: #ffffff;
  border: 1px solid #D8D4C4;
  border-left: 4px solid #3B3D2E;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 2rem;
}

.hl-stat {
  flex: 1;
  padding: 1.25rem 1rem;
  border-right: 1px solid #D8D4C4;
  text-align: center;
}

.hl-stat:last-child {
  border-right: none;
}

.hl-stat-number {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: #3B3D2E;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.hl-stat-suffix {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 900;
  color: #3B3D2E;
}

.hl-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #8E8C76;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

.hl-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.hl-tab-btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  border: 1px solid #D8D4C4;
  background: #ffffff;
  color: #5F5E50;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hl-tab-btn:hover {
  border-color: #3B3D2E;
  color: #3B3D2E;
}

.hl-tab-btn.is-active {
  background: #3B3D2E;
  color: #F7F5EE;
  border-color: #3B3D2E;
}

.hl-tab-panel {
  display: none;
}

.hl-tab-panel.is-active {
  display: block;
  animation: hl-fade 0.3s ease;
}

@keyframes hl-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hl-panel-lead {
  margin-bottom: 1.5rem;
}

.hl-panel-title {
  margin-bottom: 0.5rem;
  color: #1F2117;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hl-panel-intro {
  max-width: 72ch;
  color: #5F5E50;
  font-size: 0.97rem;
  line-height: 1.65;
}

.hl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.hl-card {
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid #D8D4C4;
  border-top: 3px solid #3B3D2E;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31, 33, 23, 0.1);
}

.hl-card--dark {
  background: #3B3D2E;
  border-color: #3B3D2E;
  border-top-color: #D8CF9E;
}

.hl-card-value {
  margin-bottom: 4px;
  color: #3B3D2E;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hl-card--dark .hl-card-value {
  color: #D8CF9E;
}

.hl-card-title {
  margin-bottom: 4px;
  color: #1F2117;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.hl-card--dark .hl-card-title {
  color: #F7F5EE;
}

.hl-card-desc {
  color: #8E8C76;
  font-size: 0.83rem;
  line-height: 1.55;
}

.hl-card--dark .hl-card-desc {
  color: rgba(247, 245, 238, 0.6);
}

.hl-credential-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hl-stack-title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  color: #1F2117;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #D8D4C4;
}

.hl-credential {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid #D8D4C4;
  border-radius: 10px;
  transition: border-color 0.2s ease;
}

.hl-credential:hover {
  border-color: #3B3D2E;
}

.hl-credential-icon {
  flex-shrink: 0;
  width: 36px;
  margin-top: 1px;
  font-size: 1.4rem;
  text-align: center;
}

.hl-credential-name {
  margin-bottom: 3px;
  color: #1F2117;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.hl-credential-desc {
  color: #5F5E50;
  font-size: 0.85rem;
  line-height: 1.6;
}

.hl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2.5rem 0 1rem;
}

@media (max-width: 768px) {
  .hl-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hl-stat:nth-child(3) {
    border-right: none;
  }

  .hl-stat:nth-child(4),
  .hl-stat:nth-child(5) {
    border-top: 1px solid #D8D4C4;
  }

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

@media (max-width: 480px) {
  .hl-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .hl-stat:nth-child(2) {
    border-right: none;
  }

  .hl-stat:nth-child(3) {
    border-right: 1px solid #D8D4C4;
    border-top: 1px solid #D8D4C4;
  }

  .hl-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-tab-panel.is-active {
    animation: none;
  }
}

.highlights-hero.section {
  padding: clamp(3.25rem, 5.5vw, 4.75rem) 0 clamp(2rem, 4vw, 3rem);
}

.highlights-hero h1 {
  margin-bottom: 1.25rem;
}

.highlights-hero h1,
.highlights-hero .highlights-lead {
  text-align: center;
}

.highlights-lead {
  width: 100%;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.68;
}

.highlights-hero-divider {
  width: 100%;
  margin-bottom: 0;
}

.highlights-page-body {
  width: min(100% - 2rem, var(--shell));
  max-width: 780px;
  margin-inline: auto;
}

.highlights-page-body--wide {
  max-width: 920px;
}

.highlights-main {
  padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.highlights-section {
  padding-top: 0;
  border-top: none;
}

.highlights-page .highlights-section:not(:first-child) {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.highlights-page .highlights-section:not(:first-child)::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--divider-gradient);
}

.highlights-section--compact {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.highlights-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.highlights-section-intro {
  max-width: 68ch;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.62;
}

.highlights-page .highlights-section-title {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  text-align: center;
}

.highlights-page .highlights-section-intro {
  margin-inline: auto;
  text-align: center;
}

.highlights-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.highlights-proof-card {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.highlights-proof-accent {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  width: min(8rem, 70%);
  margin: 0 auto 0.75rem;
}

.highlights-proof-accent span {
  height: 1px;
  background: var(--divider-gradient);
}

.highlights-proof-card h3 {
  margin-bottom: 0.65rem;
  color: var(--text-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.25;
  text-align: center;
}

.highlights-proof-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
}

.highlights-proof-card--center p {
  margin-inline: auto;
  max-width: 34ch;
  text-align: center;
}

.highlights-proof-card--list .highlights-proof-list {
  max-width: 100%;
  margin-inline: 0;
  text-align: left;
}

.highlights-proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlights-proof-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
}

.highlights-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.3rem;
  height: 0.3rem;
  background: var(--tan);
  border-radius: 50%;
}

.highlights-proof-list li + li {
  margin-top: 0.55rem;
}

.highlights-achievement-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.highlights-achievement-item {
  padding: clamp(0.95rem, 1.8vw, 1.2rem) clamp(1rem, 2vw, 1.3rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: left;
}

.highlights-achievement-item--lead {
  background: var(--card-bg);
  border-color: var(--card-border);
  border-left-color: var(--od-green);
}

.highlights-achievement-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  font-size: clamp(1.05rem, 1.65vw, 1.2rem);
  line-height: 1.25;
  text-align: left;
}

.highlights-achievement-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.58;
  text-align: left;
  max-width: none;
}

.highlights-achievement-item + .highlights-metric-grid {
  margin-top: clamp(1.15rem, 2.2vw, 1.5rem);
}

.highlights-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

.highlights-metric-card {
  padding: clamp(1.15rem, 2.2vw, 1.45rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.highlights-metric-value {
  margin-bottom: 0.55rem;
  color: var(--text-heading);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.highlights-metric-detail {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  line-height: 1.55;
}

.highlights-list-panel {
  padding: clamp(1.1rem, 2vw, 1.45rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.highlights-list-panel--strong {
  border-color: var(--card-border);
}

.highlights-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlights-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.55;
}

.highlights-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--tan);
  border-radius: 50%;
}

.highlights-list li + li {
  margin-top: 0.65rem;
}

.highlights-list--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
}

.highlights-list--two-col li + li {
  margin-top: 0;
}

.highlights-sublist {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights-sublist li {
  padding-left: 1rem;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
}

.highlights-sublist li::before {
  width: 0.28rem;
  height: 0.28rem;
  background: var(--od-green);
}

.highlights-cta {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: none;
}

.highlights-page .highlights-cta::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
  background: var(--divider-gradient);
}

.highlights-cta-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.highlights-cta-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.highlights-cta-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Resume page (resume.html only) */
.resume-page .resume-page-main.section {
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(3.25rem, 6vw, 4.75rem);
}

.resume-page-body {
  width: min(100% - 2rem, var(--shell));
  max-width: 940px;
  margin-inline: auto;
}

.resume-header {
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.resume-header h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.resume-target-title {
  margin: 0 0 0.35rem;
  color: var(--tan-light);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

.resume-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.resume-header-actions {
  margin: 1rem 0 0;
}

.resume-section {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.resume-section::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: clamp(1.25rem, 2.3vw, 1.6rem);
  background: var(--divider-gradient);
}

.resume-page .resume-section h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 2.7vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.resume-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.68;
  max-width: 92ch;
}

.resume-section p + p {
  margin-top: 0.85rem;
}

.resume-entry {
  padding: clamp(0.9rem, 1.6vw, 1.1rem) clamp(0.95rem, 1.8vw, 1.2rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.resume-entry + .resume-entry {
  margin-top: 0.8rem;
}

.resume-entry h3 {
  margin: 0 0 0.25rem;
  color: var(--text-heading);
  font-size: clamp(1.06rem, 1.4vw, 1.16rem);
  line-height: 1.45;
}

.resume-entry-meta {
  margin: 0 0 0.55rem;
  color: var(--tan-light);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.resume-bullet-list,
.resume-skill-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume-bullet-list li,
.resume-skill-grid li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.12vw, 1.04rem);
  line-height: 1.62;
}

.resume-bullet-list li::before,
.resume-skill-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--tan);
}

.resume-bullet-list li + li {
  margin-top: 0.65rem;
}

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

.resume-skill-grid li + li {
  margin-top: 0;
}

/* Technology & Systems page */
.tech-systems-page .tech-systems-hero.section,
.tech-systems-page .tech-systems-main {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.tech-systems-hero.section {
  padding: clamp(3.25rem, 5.5vw, 4.75rem) 0 clamp(2rem, 4vw, 3rem);
}

.tech-systems-hero h1 {
  margin-bottom: 1.25rem;
  text-align: center;
}

.tech-systems-lead {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  line-height: 1.68;
}

.tech-systems-emphasis {
  width: 100%;
  max-width: 52ch;
  margin: 0 0 1.15rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--od-green);
  color: var(--od-green);
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.tech-systems-hero-divider {
  width: 100%;
  margin-bottom: 0;
}

.tech-systems-page-body {
  width: min(100% - 2rem, var(--shell));
  max-width: 780px;
  margin-inline: auto;
}

.tech-systems-page-body--wide {
  max-width: 920px;
}

.tech-systems-main {
  padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.tech-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.tech-tab-btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  border: 1px solid #D8D4C4;
  background: #ffffff;
  color: #5F5E50;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tech-tab-btn:hover {
  border-color: #3B3D2E;
  color: #3B3D2E;
}

.tech-tab-btn.is-active {
  background: #3B3D2E;
  color: #F7F5EE;
  border-color: #3B3D2E;
}

.tech-tab-panel {
  display: none;
}

.tech-tab-panel.is-active {
  display: block;
  animation: tech-fade 0.3s ease;
}

@keyframes tech-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-why-block {
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 768px) {
  .tech-tab-nav {
    flex-wrap: wrap;
  }

  .tech-tab-btn {
    flex: 1 1 calc(50% - 6px);
  }
}

.tech-systems-section {
  padding-top: 0;
  border-top: none;
}

.tech-systems-page .tech-systems-section:not(:first-child) {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.tech-systems-page .tech-systems-section:not(:first-child)::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--divider-gradient);
}

.tech-systems-section--compact {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.tech-systems-section-title {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
}

.tech-systems-section-intro {
  max-width: 100%;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

.tech-systems-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.tech-systems-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-systems-section--featured .tech-systems-card {
  border-color: var(--card-border);
  border-left: 4px solid var(--od-green);
}

.tech-systems-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
}

.tech-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #EFECE2;
  border-radius: 8px;
  font-size: 1.1rem;
}

.tech-card-content {
  flex: 1;
  min-width: 0;
}

.tech-systems-card-accent {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  width: min(8rem, 70%);
  margin: 0 0 0.75rem;
}

.tech-systems-card-accent span {
  height: 1px;
  background: var(--divider-gradient);
}

.tech-systems-card h3 {
  margin-bottom: 0.65rem;
  color: var(--text-heading);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.28;
  text-align: left;
}

.tech-systems-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  text-align: left;
}

.tech-systems-row-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.tech-systems-row-item {
  padding: clamp(0.95rem, 1.8vw, 1.2rem) clamp(1rem, 2vw, 1.3rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.tech-systems-row-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text-heading);
  font-size: clamp(1.05rem, 1.65vw, 1.2rem);
  line-height: 1.25;
}

.tech-systems-row-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.58;
}

.tech-systems-card--center h3,
.tech-systems-card--center p {
  text-align: center;
}

.tech-systems-card--center p {
  margin-inline: auto;
  max-width: 38ch;
}

.tech-systems-prose-panel {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tech-systems-prose-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.68;
}

.tech-systems-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  border-top: none;
}

.tech-systems-page .tech-systems-cta::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
  background: var(--divider-gradient);
}

.tech-systems-cta-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tech-systems-cta-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.tech-systems-cta-actions {
  justify-content: center;
  margin-bottom: 0;
}

.hero-card,
.content-panel,
.video-card,
.contact-panel,
.resume-card,
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--od-green);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
  padding: 0;
  background: #EFECE2;
  border: 1px solid #D8D4C4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(31, 33, 23, 0.08);
}

.hero-card::before {
  display: none;
}

.image-placeholder {
  display: grid;
  place-items: center;
  min-height: clamp(300px, 36vw, 460px);
  padding: 2rem;
  text-align: center;
  background: var(--footer-bg);
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius-lg) - 10px);
}

.image-placeholder.has-image {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.hero-card .image-placeholder.has-image {
  border: none;
  border-radius: 14px 14px 0 0;
}

.headshot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.placeholder-initials {
  display: grid;
  place-items: center;
  width: clamp(7rem, 18vw, 11rem);
  height: clamp(7rem, 18vw, 11rem);
  margin-bottom: 1rem;
  color: var(--cream);
  background: var(--od-green);
  border-radius: 50%;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.image-placeholder p {
  color: var(--muted);
}

.signal-card {
  margin-top: 0;
  padding: 1.25rem;
  text-align: center;
  background: #EFECE2;
  border: 1px solid #D8D4C4;
  border-radius: 0 0 14px 14px;
  box-shadow: none;
}

.signal-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin: 0.9rem 0 0.85rem;
}

.signal-divider span {
  height: 1px;
  background: var(--divider-gradient);
}

.signal-star {
  width: 1rem;
  height: 1rem;
  color: var(--tan);
  filter: drop-shadow(0 0 10px rgba(199, 190, 146, 0.12));
}

.signal-star path {
  fill: currentColor;
}

.signal-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.signal-primary {
  color: #1F2117;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.signal-secondary {
  color: #5F5E50;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
}

.signal-label {
  color: #4A4E38 !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-heading {
  max-width: 560px;
}

.section-heading.wide {
  max-width: 820px;
  margin-bottom: 2rem;
}

.content-panel,
.video-card,
.contact-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
}

.content-panel p:last-child,
.video-card p:last-child,
.feature-card p:last-child,
.resume-card p:last-child {
  margin-bottom: 0;
}

.stacked {
  display: grid;
  gap: 1.5rem;
}

.stacked article:not(:last-child) {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}

.card-grid,
.resume-layout,
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.resume-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.feature-card,
.resume-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.snapshot-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.snapshot-card .button {
  width: fit-content;
  margin-top: auto;
}

.card-number {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--tan-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--muted);
  list-style: none;
}

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--tan-light);
  border-radius: 50%;
}

.built-card {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--footer-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.built-card p {
  margin-bottom: 0;
}

.built-card .signal-label {
  margin-bottom: 0.35rem;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag-list span {
  padding: 0.48rem 0.75rem;
  color: var(--text-body);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 0.9rem;
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  margin-bottom: 1rem;
  text-align: center;
  background: var(--footer-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.play-symbol {
  width: 74px;
  height: 74px;
  margin-bottom: 1rem;
  background: var(--od-green);
  clip-path: polygon(30% 20%, 30% 80%, 82% 50%);
}

.contact-form ::placeholder {
  color: var(--faint);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.privacy-hero {
  padding-bottom: 3rem;
}

.back-link {
  margin-top: 1.5rem;
}

.site-footer {
  padding: 2rem 0;
  color: var(--text-body);
  background: var(--footer-bg);
  border-top: 1px solid var(--card-border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-content p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--od-green);
}

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

  .nav-links {
    position: fixed;
    inset: var(--header-height) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(247, 245, 238, 0.98);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: stretch;
    max-width: none;
  }

  .section-heading {
    max-width: 760px;
  }

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

  .resume-skill-grid {
    grid-template-columns: 1fr;
  }

  .highlights-proof-grid {
    grid-template-columns: 1fr;
  }

  .tech-systems-card-grid,
  .tech-systems-card-grid--three {
    grid-template-columns: 1fr;
  }

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

  .highlights-list--two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .homepage-previews .hero-grid {
    grid-template-columns: 1fr;
  }

  .story-page-path-panel {
    position: static;
  }

  .story-page-chapter {
    padding: 1.25rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .hero-metric {
    border-right: none;
    border-bottom: none;
  }

  .hero-metric:nth-child(-n+2) {
    border-bottom: 1px solid #D8D4C4;
  }

  .hero-metric:nth-child(odd) {
    border-right: 1px solid #D8D4C4;
  }

  .hero-metric:last-child {
    border-right: none;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 76px;
  }

  .shell,
  .narrow-shell {
    width: min(100% - 1.2rem, var(--shell));
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-text {
    gap: 0.24rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .story-page-body,
  .highlights-page-body,
  .tech-systems-page-body {
    width: min(100% - 1.2rem, var(--shell));
  }

  .highlights-hero.section {
    padding: 2.5rem 0 1.75rem;
  }

  .highlights-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .highlights-cta-actions .button {
    width: 100%;
  }

  .tech-systems-hero.section {
    padding: 2.5rem 0 1.75rem;
  }

  .tech-systems-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tech-systems-cta-actions .button {
    width: 100%;
  }

  .story-page-hero.section {
    padding: 2.5rem 0 1.75rem;
  }

  .story-page-path.section {
    padding: 0 0 1.75rem;
  }

  .story-page-path-panel {
    padding: 1.15rem;
  }

  .story-page-main.section {
    padding: 0 0 3rem;
  }

  .story-page-chapter h2,
  .story-page-rule,
  .story-page-chapter p {
    width: 100%;
  }

  .homepage-previews.section {
    padding: 0 0 1.75rem;
  }

  .homepage-previews .hero-grid {
    gap: 0.75rem;
  }

  .story-preview.section {
    padding: 2rem 0 2.75rem;
  }

  .story-preview-divider {
    width: 100%;
  }

  .hero.section {
    padding: 2rem 0 1.25rem;
  }

  #home.hero.section {
    padding-top: 1.5rem;
  }

  #home .hero-copy h1 {
    font-size: clamp(1.58rem, 6.2vw, 1.95rem);
    line-height: 1.12;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.68rem, 7vw, 2.08rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
  }

  .eyebrow {
    margin-bottom: 0.75rem;
  }

  .positioning-line {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-intro {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-divider {
    width: 100%;
    margin: 1.15rem 0;
  }

  .hero-actions,
  .footer-content {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .resume-layout,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card .button {
    width: 100%;
  }

  .image-placeholder {
    min-height: 280px;
  }

  .image-placeholder.has-image {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .headshot-image {
    object-position: center top;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

/* ============================================================
   RESUME PAGE — FINAL
   ============================================================ */

:root {
  --border-light: #D8D4C4;
  --text-primary: #1F2117;
  --text-secondary: #5F5E50;
  --text-muted: #8E8C76;
  --cream-dark: #EFECE2;
}

.rp-header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.rp-header-inner h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.rp-header-stats {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  background: #EFECE2;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.rp-stat {
  flex: 1;
  padding: 0.75rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border-light);
  border-bottom: none;
}
.rp-stat:last-child { border-right: none; }
.rp-stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  line-height: 1;
  margin-bottom: 3px;
}
.rp-stat-value {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
  color: var(--od-green);
  letter-spacing: -0.03em;
  line-height: 1;
}
.rp-stat-suffix {
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
  font-weight: 900;
  color: var(--od-green);
}
.rp-stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}
.rp-header-summary {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}
.rp-body-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 175px 1fr;
  margin-top: 1.25rem;
}
.rp-sidenav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #FAFAF7;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border-light);
}
.rp-nav-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}
.rp-nav-btn:hover {
  background: rgba(59,61,46,0.07);
  color: var(--text-primary);
}
.rp-nav-btn.is-active {
  background: var(--od-green);
  color: var(--cream);
  border-color: var(--od-green);
}
.rp-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
}
.rp-nav-btn.is-active .rp-nav-dot {
  background: var(--tan);
  opacity: 1;
}
.rp-content {
  padding: 1.25rem 1.5rem;
  padding-left: 1.75rem;
  min-height: 280px;
}
.rp-panel { display: none; }
.rp-panel.is-active {
  display: block;
  animation: rpFade 0.25s ease;
}
@keyframes rpFade {
  from { opacity: 0; transform: translateX(6px); }
  to { opacity: 1; transform: translateX(0); }
}
.rp-panel-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--od-green);
  margin-bottom: 1rem;
}
.rp-comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.rp-comp-heading {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.rp-comp-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rp-comp-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-left: 12px;
  position: relative;
  line-height: 1.3;
}
.rp-comp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--od-green);
}
.rp-exp-entry {
  background: #FAFAF7;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--od-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
}
.rp-exp-entry h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.4;
}
.rp-exp-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.rp-exp-entry p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.rp-bullet-list {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0.5rem;
}
.rp-bullet-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.rp-bullet-list li::marker { color: var(--od-green); }
.rp-exp-entry--early {
  border-left-color: var(--tan);
  background: #FAFAF7;
}
.rp-early-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.rp-early-toggle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--od-green);
  border: 1.5px solid var(--od-green);
  border-radius: 99px;
  padding: 4px 10px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.rp-early-toggle:hover {
  background: var(--od-green);
  color: var(--cream);
}
.rp-early-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.6rem;
  font-style: italic;
}
#rp-early-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}
.rp-edu-entry {
  background: #FAFAF7;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--od-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
}
.rp-edu-entry h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.rp-edu-entry p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.4rem;
}
.rp-creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.rp-cert-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rp-cert-list li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}
.rp-cert-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--od-green);
}
.rp-honors-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rp-honors-list li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.rp-honors-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 0.65rem;
  color: var(--tan);
}
.rp-cta {
  background: var(--cream-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.rp-cta h2 {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--text-primary);
  font-weight: 700;
}
.rp-cta .hero-actions { justify-content: center; }

@media (max-width: 768px) {
  .rp-stat { flex: 1; border-bottom: none; border-right: 1px solid var(--border-light); padding: 0.65rem 0.5rem; }
  .rp-stat:last-child { border-right: none; }
  .rp-body-card { grid-template-columns: 1fr; }
  .rp-sidenav { flex-direction: row; flex-wrap: wrap; gap: 5px; border-right: none; border-bottom: 1px solid var(--border-light); }
  .rp-nav-btn { width: auto; flex: 1; justify-content: center; font-size: 0.78rem; padding: 7px 10px; }
  .rp-comp-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rp-creds-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rp-early-header { flex-direction: column; gap: 0.6rem; }
}

.rp-acc-strip {
  margin-bottom: 1.25rem;
}
.rp-acc-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--od-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  overflow: hidden;
}
.rp-acc-strip-item {
  padding: 0.875rem 1rem;
  border-right: 1px solid var(--border-light);
}
.rp-acc-strip-item:last-child {
  border-right: none;
}
.rp-acc-strip-value {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
  color: var(--od-green);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 3px;
}
.rp-acc-strip-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}
.rp-acc-strip-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.rp-acc-strip-statement {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: none;
  border-left: 4px solid var(--od-green);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .rp-acc-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .rp-acc-strip-item:nth-child(2) {
    border-right: none;
  }
  .rp-acc-strip-item:nth-child(1),
  .rp-acc-strip-item:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }
}

/* ============================================================
   CONTACT PAGE STYLES
   Append to bottom of assets/css/styles.css
   ============================================================ */

.contact-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--shell-padding, 1.5rem);
}

.contact-hero {
  padding-bottom: 0;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-secondary, #5F5E50);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 0.5rem;
}

.contact-body {
  padding-top: 1.5rem;
}

/* Grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Left side */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Video card */
.contact-video-card {
  background: #3B3D2E;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
}

.contact-video-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2.5rem 1.5rem;
  min-height: 160px;
}

.contact-video-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #C7BE92;
  background: rgba(199,190,146,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C7BE92;
  font-size: 16px;
  padding-left: 3px;
}

.contact-video-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #F7F5EE;
  letter-spacing: 0.01em;
}

.contact-video-sub {
  font-size: 0.78rem;
  color: rgba(199,190,146,0.6);
}

.contact-video-coming {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C7BE92;
  background: rgba(199,190,146,0.15);
  border: 1px solid rgba(199,190,146,0.3);
  border-radius: 99px;
  padding: 3px 10px;
}

.contact-video-footer {
  background: rgba(0,0,0,0.25);
  padding: 8px 16px;
  font-size: 0.72rem;
  color: rgba(247,245,238,0.5);
  text-align: center;
  letter-spacing: 0.03em;
}

/* Reason cards */
.contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-reason {
  background: #ffffff;
  border: 1px solid var(--border-light, #D8D4C4);
  border-left: 3px solid var(--od-green, #3B3D2E);
  border-radius: 0 var(--radius-md, 10px) var(--radius-md, 10px) 0;
  padding: 0.875rem 1rem;
}

.contact-reason-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1F2117;
  margin-bottom: 3px;
  line-height: 1.3;
}

.contact-reason-desc {
  font-size: 0.8rem;
  color: #8E8C76;
  line-height: 1.55;
}

/* LinkedIn button */
.contact-li-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A66C2;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.contact-li-btn:hover {
  background: #084e96;
  transform: translateY(-1px);
  color: #ffffff;
}

.contact-li-icon {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #0A66C2;
  flex-shrink: 0;
}

/* Form card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #D8D4C4);
  border-radius: var(--radius-lg, 16px);
  padding: 1.5rem;
}

.contact-form-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1F2117;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  border-bottom: 2px solid #3B3D2E;
  margin-bottom: 1.25rem;
}

/* Success / error messages */
.contact-success {
  background: #EAF3DE;
  border: 1px solid #639922;
  border-radius: var(--radius-md, 10px);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.contact-success-icon {
  color: #639922;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-success-text {
  font-size: 0.9rem;
  color: #3B6D11;
  line-height: 1.5;
}

.contact-error {
  background: #FCEBEB;
  border: 1px solid #E24B4A;
  border-radius: var(--radius-md, 10px);
  padding: 0.875rem 1rem;
  font-size: 0.88rem;
  color: #A32D2D;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Honeypot — visually hidden */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form fields */
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0.875rem;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #8E8C76;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-required {
  color: #E24B4A;
  margin-left: 2px;
}

.contact-optional {
  font-size: 0.68rem;
  color: #C7BE92;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.contact-input,
.contact-select,
.contact-textarea {
  background: #F7F5EE;
  border: 1px solid var(--border-light, #D8D4C4);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #1F2117;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #3B3D2E;
  box-shadow: 0 0 0 3px rgba(59,61,46,0.08);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #C7BE92;
}

.contact-textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-field-error {
  font-size: 0.72rem;
  color: #E24B4A;
  display: none;
  margin-top: 2px;
}

/* reCAPTCHA notice */
.contact-captcha-notice {
  font-size: 0.7rem;
  color: #C7BE92;
  margin: 0.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.contact-captcha-notice a {
  color: #8E8C76;
  text-decoration: underline;
}

.contact-captcha-notice a:hover {
  color: #3B3D2E;
}

.contact-lock {
  font-size: 0.75rem;
}

/* Submit row */
.contact-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-submit-btn {
  background: #3B3D2E;
  color: #F7F5EE;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  padding: 10px 24px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-submit-btn:hover {
  background: #2A2C1A;
  transform: translateY(-1px);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-response-note {
  font-size: 0.75rem;
  color: #C7BE92;
  line-height: 1.4;
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-left {
    gap: 0.875rem;
  }

  .contact-video-inner {
    padding: 1.75rem 1.25rem;
    min-height: 130px;
  }

  .contact-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-response-note {
    text-align: center;
  }
}

#contactSuccess[hidden],
#contactError[hidden] {
  display: none !important;
}

/* ============================================================
   CONTACT PAGE — SUCCESS STATE
   ============================================================ */
.contact-success-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 2rem;
  animation: contactSuccessFade 0.4s ease;
}
@keyframes contactSuccessFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-success-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 6px;
}
.contact-success-hero {
  text-align: center;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 1.5rem;
}
.contact-success-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #EAF3DE;
  border: 2px solid #639922;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: #639922;
}
.contact-success-h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.contact-success-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto;
}
.contact-success-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}
.contact-success-cta-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--od-green);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 1rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-success-cta-icon {
  font-size: 1.25rem;
}
.contact-success-cta-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.contact-success-cta-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.contact-success-cta-btn {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--od-green);
  border: 1.5px solid var(--od-green);
  border-radius: 99px;
  padding: 5px 12px;
  text-align: center;
  width: fit-content;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: 4px;
}
.contact-success-cta-btn:hover {
  background: var(--od-green);
  color: var(--cream);
}
.contact-success-cta-btn--li {
  background: #0A66C2;
  color: #ffffff;
  border-color: #0A66C2;
}
.contact-success-cta-btn--li:hover {
  background: #084e96;
  color: #ffffff;
  border-color: #084e96;
}
.contact-success-bottom {
  background: var(--od-green);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.contact-success-bottom-text {
  font-size: 0.88rem;
  color: rgba(247,245,238,0.75);
  line-height: 1.5;
}
.contact-success-bottom-text strong {
  color: #F7F5EE;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-success-bottom-btn {
  background: var(--tan);
  color: #1F2117;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s ease;
}
.contact-success-bottom-btn:hover {
  background: #D8CF9E;
}
@media (max-width: 768px) {
  .contact-success-cta-grid {
    grid-template-columns: 1fr;
  }
  .contact-success-bottom {
    flex-direction: column;
    text-align: center;
  }
  .contact-success-bottom-btn {
    width: 100%;
    text-align: center;
  }
}

.footer-built {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  opacity: 0.7;
}
