/* =====================================================================
   SHARED SITE STYLES
   ===================================================================== */

/* ==============================================================
   Modern Professor Landing Page
   Designed to layer over the existing pgpages.css stylesheet.
   ============================================================== */

:root {
  --navy-950: #001f27;
  --navy-900: #002b36;
  --navy-800: #063d49;
  --navy-700: #154f5d;
  --slate-600: #496975;
  --slate-500: #66818b;
  --slate-300: #b8c7cc;
  --slate-200: #d8e1e4;
  --slate-100: #eef3f4;
  --paper: #ffffff;
  --off-white: #f7f9fa;
  --utah-red: #cc0000;
  --utah-red-dark: #a70000;
  --text: #17313a;
  --muted: #5f737b;
  --shadow-sm: 0 8px 24px rgba(0, 43, 54, 0.08);
  --shadow-md: 0 18px 45px rgba(0, 43, 54, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --page-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 43, 54, 0.08), transparent 34rem),
    #e8eef0;
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--utah-red);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy-900);
  transform: translateY(-160%);
  transition: transform 0.2s 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;
}

.page-shell {
  width: min(calc(100% - 28px), var(--page-width));
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid rgba(73, 105, 117, 0.22);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 43, 54, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 43, 54, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover {
  color: var(--paper);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--utah-red);
  color: var(--paper);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 7px 18px rgba(204, 0, 0, 0.3);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.brand-text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--utah-red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  gap: 54px;
  align-items: center;
  min-height: 590px;
  padding: 74px 66px 64px;
  background:
    linear-gradient(120deg, rgba(0, 43, 54, 0.98), rgba(6, 61, 73, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(204, 0, 0, 0.26), transparent 24rem);
  color: var(--paper);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--utah-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb4b4;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  /*font-size: clamp(2.1rem, 4vw, 3.8rem);*/
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  background: var(--utah-red);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(204, 0, 0, 0.3);
}

.button-primary:hover {
  background: var(--utah-red-dark);
  color: var(--paper);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  color: var(--paper);
}

.role-list {
  display: grid;
  gap: 9px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.role-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.role-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 5px rgba(204, 0, 0, 0.17);
}

.profile-card {
  position: relative;
  max-width: 390px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.profile-photo {
  height: 310px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 43, 54, 0.2)),
    var(--slate-200);
}

/*
  The original pgpages.css supplies the background image for .hero-photo.
  These rules reshape that same image for the redesigned profile card.
*/
.profile-photo .hero-photo {
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  background-position: center 24% !important;
  background-size: cover !important;
}

.profile-content {
  padding: 24px 24px 26px;
}

.profile-university {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.profile-university img {
  width: 22px;
}

.profile-content h2 {
  margin: 0;
  color: var(--paper);
  font-size: 27px;
  line-height: 1.2;
}

.profile-content > p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.profile-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--slate-200);
  background: var(--off-white);
}

.highlight {
  display: grid;
  gap: 3px;
  min-height: 88px;
  padding: 16px 34px;
  border-right: 1px solid var(--slate-200);
}

.highlight:last-child {
  border-right: 0;
}

.highlight strong {
  color: var(--navy-900);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.highlight span {
  color: var(--muted);
  font-size: 12px;
}

.content-section {
  padding: 88px 66px;
  scroll-margin-top: 98px;
}

.section-tinted {
  background: var(--off-white);
}

.section-heading,
.section-heading-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading-row {
  justify-content: space-between;
}

.section-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.section-heading h2,
.cta-section h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-heading .section-kicker {
  margin-bottom: 6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.feature-card,
.visual-card,
.research-copy,
.research-side,
.publication-card,
.medium-panel {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  padding: 34px;
}

.feature-card p,
.research-copy p {
  margin: 0 0 18px;
}

.feature-card p:last-child,
.research-copy p:last-child {
  margin-bottom: 0;
}

.visual-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  min-height: 230px;
  padding: 30px;
  object-fit: contain;
  background: linear-gradient(145deg, var(--slate-100), #ffffff);
}

.visual-card > div {
  padding: 24px;
  border-top: 1px solid var(--slate-200);
}

.visual-card strong {
  color: var(--navy-900);
  font-size: 18px;
}

.visual-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.research-copy {
  padding: 34px;
}

.research-side {
  overflow: hidden;
}

.research-side img {
  width: 100%;
  height: 250px;
  padding: 30px;
  object-fit: contain;
  background: var(--paper);
}

.topic-list {
  display: grid;
  border-top: 1px solid var(--slate-200);
}

.topic-list span {
  padding: 13px 20px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
}

.topic-list span:last-child {
  border-bottom: 0;
}

.section-icon {
  /*width: 118px;*/
  height: 90px;
  object-fit: contain;
  /*opacity: 0.82;*/
}

.publication-list {
  display: grid;
  gap: 14px;
}

.publication-card {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.publication-card:hover {
  transform: translateY(-3px);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.publication-type {
  align-self: start;
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.publication-status {
  margin: 0 0 3px;
  color: var(--utah-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publication-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 19px;
  line-height: 1.35;
}

.publication-card h3 a {
  color: inherit;
  text-decoration: none;
}

.publication-card h3 a:hover {
  color: var(--utah-red);
}

.publication-card p:last-child {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.medium-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-top: 30px;
  padding: 30px;
  background: var(--slate-100);
}

.medium-panel h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 24px;
  line-height: 1.3;
}

.medium-links {
  display: grid;
  gap: 10px;
}

.medium-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.medium-links a:hover {
  transform: translateX(4px);
  border-color: var(--slate-300);
  color: var(--utah-red);
}

.medium-links span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 60px 66px;
  background:
    linear-gradient(125deg, var(--navy-950), var(--navy-800));
  color: var(--paper);
}

.cta-section .section-kicker {
  color: #ffb4b4;
}

.cta-section h2 {
  max-width: 720px;
  color: var(--paper);
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}

.cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.button-light {
  background: var(--paper);
  color: var(--navy-900);
}

.button-light:hover {
  background: var(--slate-100);
  color: var(--navy-900);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--paper);
}

.button-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.site-footer > div {
  display: grid;
  line-height: 1.35;
}

.site-footer strong {
  color: var(--paper);
  font-size: 14px;
}

.site-footer span {
  margin-top: 2px;
}

.site-footer p {
  margin: 0;
}

/* Remove old layout rules from the original stylesheet where needed. */
.page-shell .site-container,
.page-shell .hero-container,
.page-shell .section,
.page-shell .footer {
  max-width: none;
  margin: 0;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--page-width));
    margin: 9px auto;
    border-radius: 22px;
  }

  .nav-wrap {
    padding: 0 22px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: var(--navy-950);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav a.active::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 42px;
  }

  .profile-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .profile-photo {
    height: 430px;
  }

  .content-section {
    padding: 72px 42px;
  }

  .feature-grid,
  .research-layout,
  .medium-panel,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  body {
    background: var(--paper);
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-wrap {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 52px 24px 40px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .profile-photo {
    height: 340px;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .highlight {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .highlight:last-child {
    border-bottom: 0;
  }

  .content-section {
    padding: 62px 24px;
  }

  .section-heading,
  .section-heading-main {
    gap: 14px;
  }

  .section-heading-row {
    align-items: flex-start;
  }

  .section-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .section-icon {
    display: none;
  }

  .feature-card,
  .research-copy {
    padding: 24px;
  }

  .publication-card {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 22px;
  }

  .medium-panel {
    padding: 24px;
  }

  .cta-section {
    padding: 48px 24px;
  }

  .cta-actions {
    align-items: stretch;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 24px;
  }
}

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

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


/* Shared image used inside the site header brand mark. */
.brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}


/* =====================================================================
   TECH GUIDES CATALOG
   ===================================================================== */

/* ==============================================================
   Tech Guides 2026
   Page-specific additions layered over pgpages2026.css
   ============================================================== */

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.72fr);
  gap: 54px;
  align-items: center;
  min-height: 480px;
  padding: 68px 66px 62px;
  background:
    linear-gradient(120deg, rgba(0, 43, 54, 0.99), rgba(6, 61, 73, 0.95)),
    radial-gradient(circle at 82% 18%, rgba(204, 0, 0, 0.24), transparent 23rem);
  color: var(--paper);
}

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

.tech-hero .eyebrow {
  color: #ffb4b4;
}

.tech-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.45rem, 4.7vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.tech-hero-lead {
  max-width: 690px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.03rem, 1.65vw, 1.24rem);
  line-height: 1.65;
}

.tech-hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tech-hero-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.16);
}

.tech-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  font-family: Consolas, Monaco, monospace;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.tech-hero-card-copy {
  position: relative;
  display: grid;
  gap: 6px;
}

.tech-card-label {
  margin: 0;
  color: #ffb4b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tech-hero-card-copy strong {
  color: var(--paper);
  font-size: 25px;
  line-height: 1.2;
}

.tech-hero-card-copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.tech-card-topics {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tech-card-topics span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.tech-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--slate-200);
  background: var(--off-white);
}

.tech-stat {
  display: grid;
  gap: 2px;
  min-height: 84px;
  padding: 16px 34px;
  border-right: 1px solid var(--slate-200);
}

.tech-stat:last-child {
  border-right: 0;
}

.tech-stat strong {
  color: var(--navy-900);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.tech-stat span {
  color: var(--muted);
  font-size: 12px;
}

.tech-catalog-section {
  background: var(--paper);
}

.tech-section-heading {
  align-items: flex-start;
}

.tech-section-heading > div {
  max-width: 820px;
}

.tech-section-intro {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.catalog-panel {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--off-white);
  box-shadow: var(--shadow-sm);
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.75fr) auto;
  gap: 14px;
  align-items: end;
}

.catalog-search,
.catalog-filter {
  display: grid;
  gap: 7px;
}

.control-label {
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.search-input-wrap {
  position: relative;
  display: block;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  color: var(--slate-500);
  font-size: 15px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.catalog-controls input,
.catalog-controls select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--slate-300);
  border-radius: 11px;
  background: var(--paper);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.catalog-controls input {
  padding: 11px 15px 11px 43px;
}

.catalog-controls select {
  padding: 11px 40px 11px 14px;
}

.catalog-controls input:focus,
.catalog-controls select:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(21, 79, 93, 0.12);
}

.clear-filters {
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid var(--slate-300);
  border-radius: 11px;
  background: var(--paper);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.clear-filters:hover {
  border-color: var(--navy-700);
  background: var(--slate-100);
  color: var(--navy-950);
}

.catalog-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--slate-200);
}

.catalog-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-summary strong {
  color: var(--navy-900);
}

.catalog-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-available {
  background: var(--navy-700);
}

.legend-coming {
  background: var(--slate-300);
}

.empty-message {
  display: none;
  margin: 0 0 28px;
  padding: 26px;
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--off-white);
  text-align: center;
}

.empty-message.is-visible {
  display: grid;
  gap: 4px;
}

.empty-message strong {
  color: var(--navy-900);
}

.empty-message span {
  color: var(--muted);
  font-size: 14px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

a.guide-card:hover {
  transform: translateY(-5px);
  border-color: var(--slate-300);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

a.guide-card:focus-visible {
  outline: 3px solid rgba(21, 79, 93, 0.3);
  outline-offset: 3px;
}

.guide-card[hidden] {
  display: none;
}

.guide-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.guide-logo-box {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  background:
    linear-gradient(145deg, var(--slate-100), var(--paper));
}

.guide-logo-fallback {
  color: var(--navy-700);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.guide-logo {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

.guide-category {
  max-width: 145px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--navy-700);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.guide-card-body {
  margin-top: 22px;
}

.guide-short {
  margin: 0 0 4px;
  color: var(--utah-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.guide-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.guide-tags span {
  padding: 5px 8px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--off-white);
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 700;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.guide-level {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.guide-open {
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
}

a.guide-card:hover .guide-open {
  color: var(--utah-red);
}

.guide-card-disabled {
  background:
    linear-gradient(145deg, rgba(238, 243, 244, 0.82), rgba(255, 255, 255, 0.9));
  box-shadow: none;
}

.guide-card-disabled::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.guide-card-disabled .guide-logo-box,
.guide-card-disabled .guide-card-body,
.guide-card-disabled .guide-tags {
  opacity: 0.68;
}

.coming-soon-label {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--slate-200);
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.tech-cta h2 {
  max-width: 690px;
}

@media (max-width: 1020px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
  }

  .clear-filters {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .tech-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 42px;
  }

  .tech-hero-card {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .tech-hero {
    min-height: 0;
    padding: 50px 24px 40px;
  }

  .tech-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

  .tech-hero .hero-actions {
    align-items: stretch;
  }

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

  .tech-stats {
    grid-template-columns: 1fr;
  }

  .tech-stat {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .tech-stat:last-child {
    border-bottom: 0;
  }

  .catalog-panel {
    padding: 18px;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .clear-filters {
    width: 100%;
  }

  .catalog-status-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .guide-card {
    min-height: 0;
  }
}


/* =====================================================================
   TECH GUIDE CONTENT PAGES
   ===================================================================== */

/* ==============================================================
   Tech Guide Content Pages 2026
   Page-specific styles layered over pgpages2026.css
   ============================================================== */

/* --------------------------------------------------------------
   Guide hero
   -------------------------------------------------------------- */

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 66px 56px;
  background:
    linear-gradient(120deg, rgba(0, 43, 54, 0.99), rgba(6, 61, 73, 0.95)),
    radial-gradient(circle at 86% 12%, rgba(204, 0, 0, 0.24), transparent 22rem);
  color: var(--paper);
}

.guide-hero::after {
  content: "</>";
  position: absolute;
  right: 54px;
  bottom: -35px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Consolas, Monaco, monospace;
  font-size: clamp(9rem, 20vw, 17rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.guide-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.guide-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.guide-breadcrumb:hover {
  color: var(--paper);
}

.guide-breadcrumb span {
  color: #ff9f9f;
  font-size: 17px;
}

.guide-hero .eyebrow {
  color: #ffb4b4;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.guide-hero-lead {
  max-width: 800px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.65;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.guide-meta .badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.035em;
}

/* --------------------------------------------------------------
   Main guide layout
   -------------------------------------------------------------- */

.guide-content-section {
  padding: 58px 66px 76px;
  background: var(--off-white);
}

.guide-layout {
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 1010px;
  margin: 0 auto;
}

.guide-main {
  min-width: 0;
  padding: 38px 42px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.guide-main > *:first-child {
  margin-top: 0;
}

.guide-main section {
  scroll-margin-top: 100px;
}

.guide-main section + section {
  margin-top: 36px;
  padding-top: 8px;
}

.guide-main h2,
.guide-main h3,
.guide-main h4,
.guide-main h5,
.legacy-guide-content h2,
.legacy-guide-content h3,
.legacy-guide-content h4,
.legacy-guide-content h5,
.github-guide-content h2,
.github-guide-content h3,
.github-guide-content h4,
.github-guide-content h5,
.python-guide-content h2,
.python-guide-content h3,
.python-guide-content h4,
.python-guide-content h5 {
  color: var(--navy-900) !important;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

.guide-main h2,
.legacy-guide-content h2,
.github-guide-content h2,
.python-guide-content h2 {
  margin: 38px 0 16px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid var(--slate-200) !important;
  font-size: 27px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.guide-main h3 {
  margin: 30px 0 13px;
  font-size: 23px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.guide-main h4 {
  margin: 24px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.guide-main h5 {
  margin: 20px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.guide-main p,
.guide-main li,
.legacy-guide-content p,
.legacy-guide-content li,
.github-guide-content p,
.github-guide-content li,
.python-guide-content p,
.python-guide-content li {
  color: var(--text) !important;
  line-height: 1.68 !important;
}

.guide-main p {
  margin: 0 0 16px;
}

.guide-main ul,
.guide-main ol {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 25px;
}

.guide-main li + li {
  margin-top: 7px;
}

.guide-main a {
  font-weight: 650;
}

.guide-main hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--slate-200);
}

/* --------------------------------------------------------------
   Disclaimer, callouts, steps, notes
   -------------------------------------------------------------- */

.caution-block {
  padding: 25px 28px;
  border: 1px solid #e2c3c3;
  border-left: 5px solid var(--utah-red);
  border-radius: var(--radius-md);
  background: #fff8f8;
  box-shadow: var(--shadow-sm);
}

.guide-main .caution-block {
  margin: 24px 0;
  box-shadow: none;
}

.caution-block h3 {
  margin: 0 0 10px !important;
  color: #8e1717 !important;
  font-size: 19px !important;
}

.caution-block p,
.caution-block li {
  color: #4f3535 !important;
  font-size: 14px;
}

.caution-block p:last-child,
.caution-block ul:last-child {
  margin-bottom: 0;
}

.callout,
.phase-note,
.important-paths {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #bed3da;
  border-left: 5px solid var(--navy-700);
  border-radius: 12px;
  background: #f1f7f8;
  color: var(--text);
}

.callout strong,
.phase-note strong {
  color: var(--navy-900);
}

.step-box {
  margin: 24px 0;
  padding: 24px 26px;
  border: 1px solid var(--slate-200);
  border-radius: 15px;
  background: var(--off-white);
}

.step-box h4 {
  margin-top: 0 !important;
}

/* --------------------------------------------------------------
   Images, figures, media, tables
   -------------------------------------------------------------- */

.guide-main img,
.legacy-guide-content img,
.github-guide-content img,
.python-guide-content img {
  max-width: 100%;
  height: auto;
}

.guide-main figure,
.figure-box {
  max-width: 100%;
  margin: 22px auto 28px;
  text-align: center;
}

.guide-main figure img,
.figure-box img,
.guide-main center img,
.legacy-guide-content center img,
.github-guide-content center img,
.python-guide-content center img,
.python-guide-content .w3-container > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--slate-200) !important;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 43, 54, 0.12) !important;
}

.guide-main figcaption,
.figure-box figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.inline-logo {
  float: left;
  width: 78px;
  margin: 3px 16px 8px 0;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin: 22px 0;
}

.iframe-container {
  overflow: hidden;
  width: 100% !important;
  margin: 22px auto 28px !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: 12px;
  background: var(--slate-100) !important;
  box-shadow: var(--shadow-sm);
}

.guide-main table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  border: 1px solid var(--slate-200);
  background: var(--paper);
}

.guide-main th,
.guide-main td {
  padding: 11px 13px;
  border: 1px solid var(--slate-200);
  vertical-align: top;
  text-align: left;
}

.guide-main th {
  background: var(--slate-100);
  color: var(--navy-900);
}

/* --------------------------------------------------------------
   Code
   -------------------------------------------------------------- */

.guide-main code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--slate-100);
  color: #8e1717;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.92em;
}

.guide-main pre,
.legacy-guide-content pre,
.python-guide-content pre {
  overflow-x: auto;
  margin: 18px 0 !important;
  padding: 18px 20px !important;
  border: 1px solid #183d46;
  border-radius: 11px !important;
  background: #102c33 !important;
  color: #eef7f8 !important;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.91em;
  line-height: 1.55;
  box-shadow: 0 8px 20px rgba(0, 43, 54, 0.14);
}

.guide-main pre code,
.legacy-guide-content pre code,
.python-guide-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

/* --------------------------------------------------------------
   Legacy W3 tabs retained by several guides
   -------------------------------------------------------------- */

.guide-main .w3-row::before,
.guide-main .w3-row::after {
  content: "";
  display: table;
  clear: both;
}

.guide-main .w3-bar,
.mysql-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 18px 0 0 !important;
  padding: 6px;
  border-radius: 11px 11px 0 0;
  background: var(--navy-900) !important;
}

.guide-main .w3-bar .w3-button,
.mysql-tab-bar .w3-button {
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 13px;
  font-weight: 700;
}

.guide-main .w3-bar .w3-button:hover,
.mysql-tab-bar .w3-button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--paper) !important;
}

.guide-main .w3-red,
.guide-main .tablink.w3-red,
.guide-main .tablink_p.w3-red,
.guide-main .tablink2.w3-red {
  background: var(--utah-red) !important;
  color: var(--paper) !important;
}

.guide-main .os,
.guide-main .py,
.guide-main .wt,
.mysql-tab-panel,
.tabexample {
  padding: 22px !important;
  border: 1px solid var(--slate-200) !important;
  border-top: 0 !important;
  border-radius: 0 0 11px 11px;
  background: var(--off-white) !important;
}

.mysql-tabs {
  overflow: hidden;
  margin: 20px 0 !important;
  border: 1px solid var(--slate-200) !important;
  border-radius: 12px !important;
}

/* --------------------------------------------------------------
   Guide actions and footer
   -------------------------------------------------------------- */

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--slate-200);
}

.guide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 16px;
  border: 1px solid var(--navy-700);
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--paper) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.guide-button:hover {
  transform: translateY(-2px);
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--paper) !important;
}

.guide-button + .guide-button {
  border-color: var(--slate-300);
  background: var(--paper);
  color: var(--navy-900) !important;
}

.guide-button + .guide-button:hover {
  border-color: var(--navy-700);
  background: var(--slate-100);
  color: var(--navy-900) !important;
}

.guide-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 66px;
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
  color: var(--paper);
}

.guide-bottom-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.guide-bottom-cta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--paper);
  font-size: 18px;
}

/* --------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------- */

@media (max-width: 980px) {
  .guide-hero {
    padding: 56px 42px 50px;
  }

  .guide-content-section {
    padding: 48px 42px 64px;
  }

  .guide-main {
    padding: 34px;
  }
}

@media (max-width: 700px) {
  .guide-hero {
    padding: 46px 24px 40px;
  }

  .guide-hero::after {
    right: -20px;
    font-size: 10rem;
  }

  .guide-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.45rem);
  }

  .guide-content-section {
    padding: 34px 18px 48px;
  }

  .guide-main {
    padding: 25px 21px;
    border-radius: 14px;
  }

  .caution-block {
    padding: 21px;
  }

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

  .inline-logo {
    float: none;
    display: block;
    margin: 0 0 14px;
  }

  .guide-main img[style] {
    max-width: 100% !important;
  }

  .guide-main center {
    display: block;
    width: 100%;
  }

  .guide-main .w3-half,
  .guide-main .w3-third,
  .guide-main .w3-twothird,
  .guide-main .w3-quarter,
  .guide-main .w3-threequarter {
    width: 100% !important;
  }

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

  .guide-button {
    width: 100%;
  }

  .guide-bottom-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }
}


/* =====================================================================
   CURRICULUM VITAE
   ===================================================================== */

/* ==============================================================
   Curriculum Vitae 2026
   Page-specific styles layered over pgpages2026.css
   ============================================================== */

/* --------------------------------------------------------------
   CV hero
   -------------------------------------------------------------- */

.cv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
  gap: 52px;
  align-items: center;
  min-height: 490px;
  padding: 68px 66px 60px;
  background:
    linear-gradient(120deg, rgba(0, 43, 54, 0.99), rgba(6, 61, 73, 0.95)),
    radial-gradient(circle at 83% 14%, rgba(204, 0, 0, 0.24), transparent 23rem);
  color: var(--paper);
}

.cv-hero-copy {
  max-width: 790px;
}

.cv-hero .eyebrow {
  color: #ffb4b4;
}

.cv-hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.cv-hero-lead {
  max-width: 730px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.03rem, 1.65vw, 1.25rem);
  line-height: 1.66;
}

.cv-role-list {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.cv-role {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cv-profile-card {
  position: relative;
  overflow: hidden;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cv-profile-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.16);
}

.cv-profile-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.cv-profile-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.cv-profile-kicker {
  position: relative;
  margin: 0 0 7px;
  color: #ffb4b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cv-profile-card h2 {
  position: relative;
  margin: 0;
  color: var(--paper);
  font-size: 24px;
  line-height: 1.3;
}

.cv-profile-meta {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.cv-profile-meta span {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

/* --------------------------------------------------------------
   Summary strip
   -------------------------------------------------------------- */

.cv-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--slate-200);
  background: var(--off-white);
}

.cv-summary-strip > div {
  display: grid;
  gap: 2px;
  min-height: 88px;
  padding: 17px 34px;
  border-right: 1px solid var(--slate-200);
}

.cv-summary-strip > div:last-child {
  border-right: 0;
}

.cv-summary-strip strong {
  color: var(--navy-900);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.cv-summary-strip span {
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------
   CV body
   -------------------------------------------------------------- */

.cv-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 62px 66px 80px;
  background: var(--off-white);
}

.cv-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 18px;
}

.cv-sidebar-card {
  padding: 22px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.cv-sidebar-card .section-kicker {
  margin-bottom: 13px;
}

.cv-toc {
  display: grid;
}

.cv-toc a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--slate-100);
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.cv-toc a:last-child {
  border-bottom: 0;
}

.cv-toc a:hover {
  color: var(--utah-red);
}

.cv-toc a span {
  color: var(--slate-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cv-sidebar-contact p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cv-sidebar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 17px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--paper);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.cv-sidebar-button:hover {
  background: var(--navy-800);
  color: var(--paper);
}

.cv-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.cv-section {
  scroll-margin-top: 104px;
  padding: 31px 34px 33px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.cv-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.cv-section-number {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
}

.cv-section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.cv-section-content {
  color: var(--text);
}

.cv-section-content p {
  margin: 0 0 15px;
}

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

.cv-section-content ul {
  margin: 0;
  padding-left: 23px;
}

.cv-section-content ul ul {
  margin-top: 8px;
  margin-bottom: 10px;
  padding-left: 23px;
}

.cv-section-content li {
  margin: 0 0 9px;
  color: var(--text);
  line-height: 1.62;
}

.cv-section-content li:last-child {
  margin-bottom: 0;
}

.cv-section-content > ul > li::marker {
  color: var(--utah-red);
}

.cv-section-content ul ul > li::marker {
  color: var(--navy-700);
}

/* Research interests receive a lighter feature treatment. */
#research-interests .cv-section-content p {
  padding: 20px 22px;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  background: var(--off-white);
  color: var(--navy-800);
  font-weight: 650;
  line-height: 1.9;
}

/* Competencies contains dense material, so improve scanability. */
#competencies .cv-section-content > ul {
  display: grid;
  gap: 17px;
  padding-left: 0;
  list-style: none;
}

#competencies .cv-section-content > ul > li {
  padding: 20px 22px;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  background: var(--off-white);
}

.cv-cta h2 {
  max-width: 690px;
}

/* --------------------------------------------------------------
   Responsive
   -------------------------------------------------------------- */

@media (max-width: 980px) {
  .cv-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 42px;
  }

  .cv-profile-card {
    width: 100%;
  }

  .cv-body {
    grid-template-columns: 1fr;
    padding: 52px 42px 68px;
  }

  .cv-sidebar {
    position: static;
  }

  .cv-sidebar-card:first-child {
    display: none;
  }
}

@media (max-width: 700px) {
  .cv-hero {
    min-height: 0;
    padding: 50px 24px 42px;
  }

  .cv-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .cv-hero .hero-actions {
    align-items: stretch;
  }

  .cv-hero .hero-actions .button {
    width: 100%;
  }

  .cv-summary-strip {
    grid-template-columns: 1fr;
  }

  .cv-summary-strip > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .cv-summary-strip > div:last-child {
    border-bottom: 0;
  }

  .cv-body {
    padding: 34px 18px 48px;
  }

  .cv-section {
    padding: 25px 21px 27px;
    border-radius: 14px;
  }

  .cv-section-heading {
    align-items: flex-start;
  }

  .cv-section-number {
    width: 36px;
    height: 36px;
  }

  .cv-section-content ul,
  .cv-section-content ul ul {
    padding-left: 20px;
  }
}

/* --------------------------------------------------------------
   Print
   -------------------------------------------------------------- */

@media print {
  body {
    background: #ffffff !important;
    color: #000000;
    font-size: 10.5pt;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header,
  .cv-summary-strip,
  .cv-sidebar,
  .hero-actions,
  .cta-section,
  .site-footer {
    display: none !important;
  }

  .cv-hero {
    display: block;
    min-height: 0;
    padding: 0 0 22px;
    background: #ffffff !important;
    color: #000000;
  }

  .cv-hero .eyebrow {
    color: #555555;
  }

  .cv-hero h1,
  .cv-profile-card h2 {
    color: #000000;
  }

  .cv-hero-lead,
  .cv-role-list {
    color: #222222;
  }

  .cv-profile-card {
    display: none;
  }

  .cv-body {
    display: block;
    padding: 0;
    background: #ffffff;
  }

  .cv-content {
    display: block;
  }

  .cv-section {
    margin: 0 0 18px;
    padding: 0;
    break-inside: avoid;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .cv-section-heading {
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #777777;
  }

  .cv-section-number {
    display: none;
  }

  .cv-section-heading h2 {
    color: #000000;
    font-size: 16pt;
  }

  #research-interests .cv-section-content p,
  #competencies .cv-section-content > ul > li {
    padding: 0;
    border: 0;
    background: transparent;
  }

  a {
    color: #000000 !important;
    text-decoration: none;
  }
}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
  gap: 52px;
  align-items: center;
  min-height: 470px;
  padding: 68px 66px 60px;
  background:
    linear-gradient(120deg, rgba(0, 43, 54, 0.99), rgba(6, 61, 73, 0.95)),
    radial-gradient(circle at 83% 14%, rgba(204, 0, 0, 0.24), transparent 23rem);
  color: var(--paper);
}

.contact-hero-copy {
  max-width: 790px;
}

.contact-hero .eyebrow {
  color: #ffb4b4;
}

.contact-hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.contact-hero-lead {
  max-width: 730px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.03rem, 1.65vw, 1.25rem);
  line-height: 1.66;
}

.contact-role-list {
  display: grid;
  gap: 9px;
  margin-top: 29px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.contact-role {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-hero-card {
  position: relative;
  overflow: hidden;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-hero-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.16);
}

.contact-hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-hero-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.contact-card-kicker {
  position: relative;
  margin: 0 0 7px;
  color: #ffb4b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hero-card h2 {
  position: relative;
  margin: 0;
  color: var(--paper);
  font-size: 24px;
  line-height: 1.3;
}

.contact-card-meta {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.contact-card-meta span {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-body {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: 28px;
  align-items: start;
  padding: 66px;
  background: var(--off-white);
}

.contact-info-column {
  display: grid;
  gap: 18px;
}

.contact-info-card,
.contact-form-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-info-card {
  padding: 27px;
}

.contact-info-card h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 25px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.contact-info-card > p:not(.section-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-info-list {
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info-list li {
  display: grid;
  gap: 3px;
  padding-top: 15px;
  border-top: 1px solid var(--slate-200);
}

.contact-info-list strong {
  color: var(--navy-900);
  font-size: 14px;
}

.contact-info-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.contact-privacy-card {
  border-left: 5px solid var(--utah-red);
  background: #fffafa;
}

.contact-form-card {
  padding: 34px;
}

.contact-form-heading {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--slate-200);
}

.contact-form-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-form-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  display: grid;
  gap: 3px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 13px;
}

.form-status strong {
  font-size: 14px;
}

.form-status-success {
  border-color: #a8c8b6;
  background: #f1f8f4;
  color: #1d5a39;
}

.form-status-error {
  border-color: #e2b7b7;
  background: #fff5f5;
  color: #8e1717;
}

.contact-form {
  position: relative;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 750;
}

.form-field label span {
  color: var(--utah-red);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 11px;
  background: var(--paper);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-field input {
  min-height: 49px;
  padding: 11px 13px;
}

.form-field textarea {
  min-height: 185px;
  padding: 13px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(21, 79, 93, 0.12);
}

.field-help {
  color: var(--muted);
  font-size: 11px;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid var(--slate-200);
}

.contact-submit-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--navy-900);
  border-radius: 11px;
  background: var(--navy-900);
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.contact-submit-button:hover {
  transform: translateY(-2px);
  border-color: var(--navy-800);
  background: var(--navy-800);
}

.contact-form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-cta h2 {
  max-width: 720px;
}

@media (max-width: 980px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 58px 42px;
  }

  .contact-body {
    grid-template-columns: 1fr;
    padding: 52px 42px 68px;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    min-height: 0;
    padding: 50px 24px 42px;
  }

  .contact-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .contact-body {
    padding: 34px 18px 48px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 24px 21px;
    border-radius: 14px;
  }

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

  .form-field-full {
    grid-column: auto;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit-button {
    width: 100%;
  }
}
