/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  /* Brand palette */
  --color-bg: #f5f5f5;
  --color-bg-muted: rgba(245, 245, 245, 0.65);
  --color-bg-subtle: rgba(245, 245, 245, 0.15);
  --color-dusty-blue: #a5becc;
  --color-plum: #7c3e66;
  --color-navy: #243a73;
  --color-charcoal: #2c2c2c;

  /* Semantic aliases */
  --color-surface: var(--color-dusty-blue);
  --color-heading: var(--color-navy);
  --color-body: var(--color-charcoal);
  --color-link: var(--color-plum);
  --color-cta: var(--color-plum);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

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

  /* Layout */
  --max-width: 1200px;
  --container-pad: var(--sp-6);
  --section-gap: var(--sp-12);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Motion */
  --transition-fast: 150ms ease;
  --transition: 220ms ease;
  --transition-slow: 350ms ease;
}

/* =============================================
   Reset
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-anchor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-body);
  background-color: var(--color-bg);
}

img,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
a:hover {
  opacity: 0.75;
}
a:focus-visible {
  outline: 2px solid var(--color-plum);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================
   Base Typography
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-heading);
}

h1 {
  font-size: var(--text-5xl);
}
h2 {
  font-size: var(--text-3xl);
}
h3 {
  font-size: var(--text-xl);
}
h4 {
  font-size: var(--text-lg);
}

p {
  color: var(--color-body);
  margin-bottom: var(--sp-4);
  max-width: 68ch;
}
p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 500;
}

/* =============================================
   Layout Utilities
   ============================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-gap);
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============================================
   Nav
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 56px;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #f5f5f5;
  text-decoration: none;
}
.nav__logo:hover {
  opacity: 1;
}

.nav__subtitle {
  display: inline;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.6);
}

.nav__pills {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__pills-list {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  padding: var(--sp-2) 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
}

.nav__pills-list::-webkit-scrollbar {
  display: none;
}

.nav__pill {
  display: inline-block;
  white-space: nowrap;
  padding: var(--sp-1) var(--sp-4);
  border: 1px solid rgba(245, 245, 245, 0.35);
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.75);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.nav__pill:hover {
  opacity: 1;
  border-color: rgba(245, 245, 245, 0.8);
  color: #f5f5f5;
}

.nav__pill.is-active {
  background-color: var(--color-plum);
  border-color: var(--color-plum);
  color: #f5f5f5;
}

.nav__pill--cta {
  border-color: var(--color-dusty-blue);
  color: var(--color-dusty-blue);
}

/* Mobile nav overrides */
@media (max-width: 767px) {
  .nav__inner {
    height: auto;
    padding-top: var(--sp-4);
    padding-bottom: var(--sp-2);
    align-items: flex-start;
  }

  .nav__subtitle {
    font-size: var(--text-sm);
  }
}

/* =============================================
   Responsive breakpoints
   768px  -- tablet
   1200px -- desktop
   ============================================= */
@media (max-width: 767px) {
  :root {
    --text-4xl: 2rem;
    --text-5xl: 2rem;
    --section-gap: var(--sp-8);
    --container-pad: var(--sp-4);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --text-5xl: 3rem;
    --container-pad: var(--sp-8);
  }
}

@media (min-width: 1200px) {
  :root {
    --container-pad: var(--sp-8);
  }
}

/* =============================================
   Hero - optimized for mobile
   ============================================= */
.hero {
  padding-top: var(--sp-16);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  padding-bottom: var(--sp-16);
}

.hero__text {
  align-self: start;
}

.hero__name {
  font-size: var(--text-5xl);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.05;
  margin-bottom: var(--sp-3);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-plum);
  margin-bottom: var(--sp-6);
  line-height: 1.4;
  max-width: none;
}

.hero__tagline {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 0;
}

.hero__video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
}

.hero__video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero__video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: none;
}

.hero__video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__video-thumbnail__overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 58, 115, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
}

.hero__video-thumbnail__play {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video-thumbnail__play::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-navy);
  margin-left: 4px;
}

.hero__video-thumbnail__label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #fff;
  background: rgba(124, 62, 102, 0.88);
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
}

@media (max-width: 767px) {
  .hero__video-wrapper {
    display: none;
  }

  .hero__video-thumbnail {
    display: block;
  }
}

.hero__video-caption {
  margin-top: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  opacity: 0.7;
  text-align: center;
  max-width: none;
  margin-bottom: 0;
}

/* Credential bar */
.hero__credentials {
  background: var(--color-navy);
  padding-block: var(--sp-6);
}

.hero__credentials-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credential {
  text-align: center;
  padding-inline: var(--sp-4);
}

.credential + .credential {
  border-left: 1px solid var(--color-bg-subtle);
}

.credential__icon {
  font-size: 28px;
  color: var(--color-bg-muted);
  display: block;
  margin-bottom: var(--sp-2);
}

.credential__main {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-bg);
  line-height: 1.3;
  margin-bottom: var(--sp-1);
  max-width: none;
}

.credential__sub {
  font-size: var(--text-xs);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-bg-muted);
  margin-bottom: 0;
  max-width: none;
}

/* Hero responsive */
@media (max-width: 767px) {
  .hero {
    padding-top: 1.2rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    padding-bottom: var(--sp-8);
  }

  .hero__name br {
    display: none;
  }

  .hero__name {
    margin-bottom: var(--sp-2);
  }

  .hero__title {
    font-size: var(--text-base);
  }

  .hero__tagline {
    max-width: 100%;
    line-height: 1.4;
  }

  .hero__credentials-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .credential + .credential {
    border-left: none;
  }

  .credential:nth-child(2n) {
    border-left: 1px solid var(--color-bg-subtle);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

/* =============================================
   Section shared styles
   ============================================= */
.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-plum);
  margin-bottom: var(--sp-3);
  max-width: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--sp-10);
}

/* Light variants for section banners */
.section-label--light {
  color: var(--color-dusty-blue);
}

.section-title--light {
  color: #f5f5f5;
  margin-bottom: 0;
}

/* =============================================
   Section banner (parallax header)
   ============================================= */
.section-banner {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 320px;
}

.section-banner__overlay {
  min-height: 320px;
  background: linear-gradient(
    135deg,
    rgba(36, 58, 115, 0.82) 0%,
    rgba(124, 62, 102, 0.72) 100%
  );
  display: flex;
  align-items: center;
  padding-block: var(--sp-12);
}

.section-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-6);
}

.section-banner__btn {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  background: #f5f5f5;
  border: 2px solid #f5f5f5;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.section-banner__btn:hover {
  background: transparent;
  color: #f5f5f5;
  opacity: 1;
}

/* Disable parallax on mobile */
@media (max-width: 767px) {
  .section-banner {
    background-attachment: scroll;
  }

  .section-banner__inner {
    gap: var(--sp-4);
  }
}

/* =============================================
   About
   ============================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-16);
  align-items: start;
}

.about__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-plum);
  line-height: 1.5;
  padding-right: var(--sp-8);
  border-right: 2px solid var(--color-dusty-blue);
}

.about__quote p {
  color: var(--color-plum);
  max-width: none;
  margin-bottom: 0;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.about__body p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-charcoal);
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .about__quote {
    border-right: none;
    border-left: 2px solid var(--color-dusty-blue);
    padding-right: 0;
    padding-left: var(--sp-5);
  }

  .about__body p {
    line-height: 1.4;
  }
}

/* =============================================
   About this site
   ============================================= */
.about-site.section {
  padding-block: var(--sp-6);
}

.about-site__card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-dusty-blue);
  border-left: 5px solid var(--color-plum);
  border-right: 5px solid var(--color-plum);
  padding: var(--sp-10) var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.about-site__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 0;
  max-width: none;
}

.about-site__body {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: none;
}

.about-site__body--lead {
  border-top: 1px solid var(--color-dusty-blue);
  padding-top: var(--sp-5);
}

.about-site__footer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  border-top: 1px solid var(--color-dusty-blue);
  padding-top: var(--sp-5);
}

.about-site__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
}

.about-site__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-site__link:hover {
  opacity: 0.75;
}

.about-site__counter {
  font-size: var(--text-xs);
  color: var(--color-charcoal);
  opacity: 0.65;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .about-site__card {
    padding: var(--sp-6) var(--sp-5);
    border-left-width: 4px;
    border-right-width: 4px;
  }

  .about-site__heading {
    font-size: var(--text-lg);
  }

  .about-site__body {
    line-height: 1.4;
  }
}

/* =============================================
   Experience
   ============================================= */
.timeline {
  display: flex;
  flex-direction: column;
  padding-top: var(--sp-8);
}

.role-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-8);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--color-dusty-blue);
}

.role-card:last-child {
  border-bottom: 1px solid var(--color-dusty-blue);
}

.role-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-1);
}

.role-card__company {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
}

.role-card__dates {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  opacity: 0.6;
}

.role-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 2px var(--sp-2);
  border-radius: 20px;
  background: var(--color-dusty-blue);
  color: var(--color-navy);
  width: fit-content;
}

.role-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.role-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.3;
}

.role-card__label {
  font-weight: 500;
  color: var(--color-plum);
}

.role-card__summary {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 0;
  max-width: none;
}

.role-card__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: var(--sp-2) 0 0;
}

.js-enabled .role-card__bullets {
  display: none;
}

.js-enabled .role-card__bullets.is-open {
  display: flex;
}

.role-card__toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--sp-1);
  margin-top: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: transparent;
  border: 1px solid var(--color-dusty-blue);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.role-card__toggle:hover {
  background-color: var(--color-dusty-blue);
  color: var(--color-navy);
}

@media (max-width: 767px) {
  .role-card__toggle {
    font-size: var(--text-xs);
    padding: var(--sp-1) var(--sp-3);
  }
}

.role-card__bullets li {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.65;
  padding-left: var(--sp-5);
  position: relative;
}

.role-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-plum);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .role-card {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .role-card__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
  }

  .role-card__dates::before {
    content: '·';
    margin-right: var(--sp-2);
  }
}

.experience__resume {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-4);
}

.experience.section {
  padding-bottom: calc(var(--section-gap) / 2);
}

.skills.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.projects.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.achievements.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.speaking.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.writing.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.bookshelf.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.connect.section {
  padding-top: calc(var(--section-gap) / 2);
  padding-bottom: calc(var(--section-gap) / 2);
}

.experience__resume-link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.experience__resume-link:hover {
  opacity: 0.75;
}

/* =============================================
   Skills & Tools
   ============================================= */
.skills__grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-8);
}

.skills__group-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--color-dusty-blue);
}

.skills__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.skill-pill {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-navy);
  background: var(--color-dusty-blue);
  padding: 2px var(--sp-2);
  border-radius: 20px;
}

/* =============================================
   Projects
   ============================================= */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-8);
}

.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-dusty-blue);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(36, 58, 115, 0.12);
}

.project-card__header {
  background: var(--color-navy);
  padding: var(--sp-5) var(--sp-6);
}

.project-card__tag {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dusty-blue);
  margin-bottom: var(--sp-2);
  max-width: none;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #f5f5f5;
  line-height: 1.3;
}

.project-card__body {
  padding: var(--sp-5) var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.project-card__desc {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: none;
}

.project-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.project-pill {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-navy);
  background: var(--color-dusty-blue);
  padding: 2px var(--sp-2);
  border-radius: 20px;
}

.project-card__footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--color-dusty-blue);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.project-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-link:hover {
  opacity: 0.75;
}

/* Projects responsive */
@media (max-width: 767px) {
  .projects__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.projects__philosophy {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.8;
  max-width: none;
  padding-top: var(--sp-12);
  margin-bottom: 0;
}

/* =============================================
   Speaking
   ============================================= */
.experience__intro,
.speaking__intro,
.projects__intro,
.skills__intro,
.achievements__intro {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.speaking__intro {
  padding-bottom: calc(var(--sp-6) * 1.25);
}

.experience__intro-text,
.speaking__intro-text,
.projects__intro-text,
.skills__intro-text,
.achievements__intro-text {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.7;
  max-width: none;
}

@media (max-width: 767px) {
  .experience__intro-text,
  .skills__intro-text,
  .projects__intro-text,
  .achievements__intro-text,
  .speaking__intro-text,
  .role-card__summary,
  .role-card__bullets,
  .project-card__desc {
    line-height: 1.4;
  }
}

.speaking__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(0);
}

.talk-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-dusty-blue);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}

.talk-card:hover {
  box-shadow: 0 8px 32px rgba(36, 58, 115, 0.12);
}

.talk-card__body {
  padding: var(--sp-5) var(--sp-6);
  flex: 1;
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.talk-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.talk-card__meta {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: 0;
  max-width: none;
}

.talk-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 0;
  max-width: none;
}

.talk-card__desc {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: none;
}

@media (max-width: 767px) {
  .talk-card__desc {
    line-height: 1.4;
  }
}

.talk-card__logo {
  width: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: var(--sp-1);
}

.talk-card__logo img {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.talk-card__footer {
  padding: var(--sp-3) var(--sp-6);
  border-top: 1px solid var(--color-dusty-blue);
}

.talk-card__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.talk-card__link:hover {
  opacity: 0.75;
}

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

/* =============================================
   Press callout
   ============================================= */
.press-callout {
  padding-top: var(0);
  padding-bottom: var(--sp-16);
}

.press-callout__intro {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.press-callout__intro-text {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.7;
  max-width: none;
}

@media (max-width: 767px) {
  .press-callout__intro-text {
    line-height: 1.4;
  }
}

.press-callout__card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-dusty-blue);
  border-left: 5px solid var(--color-plum);
  border-right: 5px solid var(--color-plum);
  padding: var(--sp-10) var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.press-callout__article-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 0;
  max-width: none;
}

.press-callout__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: none;
  border-top: 1px solid var(--color-dusty-blue);
  padding-top: var(--sp-5);
}

.press-callout__quote::before {
  content: '\201C';
  color: var(--color-plum);
}

.press-callout__quote::after {
  content: '\201D';
  color: var(--color-plum);
}

.press-callout__attribution {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.press-callout__name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
}

.press-callout__role {
  font-size: var(--text-xs);
  color: var(--color-charcoal);
  opacity: 0.65;
}

.press-callout__link {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: var(--sp-1);
  display: inline-block;
}

.press-callout__link:hover {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .press-callout__card {
    padding: var(--sp-6) var(--sp-5);
    border-left-width: 4px;
    border-right-width: 4px;
  }

  .press-callout__quote,
  .press-callout__article-title {
    font-size: var(--text-lg);
  }
}

.press-callout__summary {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin: var(--sp-4) 0 0;
  max-width: none;
}

@media (max-width: 767px) {
  .press-callout__summary {
    line-height: 1.4;
  }
}

.press-callout__summary-title {
  color: var(--color-plum);
  font-style: italic;
}

/* =============================================
   Achievements
   ============================================= */
.achievements__blocks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

.achievements__group-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--color-dusty-blue);
  max-width: none;
}

.achievements__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.achievements__list li {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.5;
  padding-left: var(--sp-4);
  position: relative;
  max-width: none;
}

.achievements__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-plum);
}

.achievements__list li span {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-navy);
  background: var(--color-dusty-blue);
  margin-left: var(--sp-2);
  padding: 1px 8px;
  border-radius: 20px;
  opacity: 1;
}

/* =============================================
   Section banner caption
   ============================================= */
.section-banner__caption {
  position: absolute;
  bottom: var(--sp-4);
  right: var(--sp-6);
  font-size: var(--text-xs);
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* =============================================
   Writing
   ============================================= */
.writing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-16);
}

.article-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-dusty-blue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(36, 58, 115, 0.12);
}

.article-card__header {
  background: var(--color-navy);
  padding: var(--sp-5) var(--sp-6);
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0;
  max-width: none;
}

.article-card__body {
  padding: var(--sp-5) var(--sp-6);
  flex: 1;
}

.article-card__desc {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: none;
}

@media (max-width: 767px) {
  .article-card__desc {
    line-height: 1.4;
  }
}

.article-card__footer {
  padding: var(--sp-3) var(--sp-6);
  border-top: 1px solid var(--color-dusty-blue);
}

.article-card__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-card__link:hover {
  opacity: 0.75;
}

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

.writing__intro {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-6);
}

.writing__intro-text {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.7;
  max-width: none;
}

@media (max-width: 767px) {
  .writing__intro-text {
    line-height: 1.4;
  }
}

/* =============================================
   Bookshelf
   ============================================= */
.bookshelf__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-16);
}

.bookshelf__jar {
  padding-right: var(--sp-10);
  border-right: 1px solid var(--color-dusty-blue);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.bookshelf__reading {
  padding-left: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.bookshelf__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.bookshelf__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-dusty-blue);
  display: block;
}

.bookshelf__caption {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  text-align: center;
}

.bookshelf__text {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 0;
  max-width: none;
}

@media (max-width: 767px) {
  .bookshelf__text {
    line-height: 1.4;
  }
}

.bookshelf__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bookshelf__link:hover {
  opacity: 0.75;
}

.bookshelf__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.bookshelf__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--color-dusty-blue);
}

.bookshelf__upnext .bookshelf__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bookshelf__book-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-navy);
}

.bookshelf__book-author {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  opacity: 0.75;
}

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

  .bookshelf__jar {
    order: 1;
    padding-right: 0;
    border-right: none;
    border-top: 1px solid var(--color-dusty-blue);
    border-bottom: none;
    padding-top: var(--sp-10);
    padding-bottom: 0;
  }

  .bookshelf__jar .bookshelf__photo {
    width: 80%;
    margin: 0 auto;
  }

  .bookshelf__reading {
    order: -1;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: var(--sp-4);
  }
}

.bookshelf__book-note {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.6;
  opacity: 0.85;
  margin-top: var(--sp-1);
}

@media (max-width: 767px) {
  .bookshelf__book-note {
    line-height: 1.4;
  }
}

.bookshelf__figure--2026 {
  margin: 0;
  max-width: 240px;
}

.bookshelf__upnext {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* =============================================
   Connect + Social
   ============================================= */
.connect__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-16);
}

.connect__linkedin {
  padding-right: var(--sp-10);
  border-right: 1px solid var(--color-dusty-blue);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.connect__instagram {
  padding-left: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.connect__col-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.connect__linkedin-logo {
  width: 36px;
  height: 36px;
  background: #0077b5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connect__linkedin-logo svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.connect__instagram-logo {
  width: 36px;
  height: 36px;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connect__instagram-logo svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.connect__col-handle {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy);
}

.connect__col-text {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 0;
  max-width: none;
}

@media (max-width: 767px) {
  .connect__col-text {
    line-height: 1.4;
  }
}

.connect__col-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-plum);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.connect__col-link:hover {
  opacity: 0.75;
}

.connect__posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.connect__posts .instagram-media {
  width: 100% !important;
  min-width: unset !important;
  margin: 0 !important;
}

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

  .connect__linkedin {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--color-dusty-blue);
    padding-bottom: var(--sp-8);
  }

  .connect__instagram {
    padding-left: 0;
    padding-top: var(--sp-8);
  }

  .connect__posts {
    grid-template-columns: 1fr;
    max-width: 80%;
    margin-inline: auto;
  }
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--color-navy);
  color: #fff;
  padding-top: var(--sp-8);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-2);
  max-width: none;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  max-width: none;
}

.footer__built {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: none;
}

.footer__built a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__built a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-4);
  max-width: none;
}

.footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__social a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__social a:hover {
  color: #fff;
}

.footer__resume {
  display: inline-block;
  margin-top: var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dusty-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__resume:hover {
  opacity: 0.75;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-5);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  max-width: none;
}

.footer__top-btn {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: var(--sp-2) var(--sp-4);
  text-decoration: none;
  transition: background var(--transition);
}

.footer__top-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

@media (max-width: 767px) {
  .footer__main {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}
