:root {
  --ink: #101624;
  --muted: #5d6678;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --line: #dfe7ef;
  --teal: #0f6f72;
  --coral: #e66d4f;
  --lime: #b6e070;
  --gold: #f2b84b;
  --violet: #7067cf;
  --shadow: 0 24px 80px rgba(16, 22, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(182, 224, 112, 0.2), transparent 24rem),
    radial-gradient(circle at 82% 0%, rgba(112, 103, 207, 0.16), transparent 26rem),
    linear-gradient(180deg, #fbfcfd 0%, #ffffff 36%, #f7fafb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(15, 111, 114, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 111, 114, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  content: "";
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 231, 239, 0.78);
  background: rgba(251, 252, 253, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: conic-gradient(from 120deg, var(--teal), var(--violet), var(--coral), var(--teal));
  font-size: 13px;
}

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

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: #eef4f7;
}

.section-pad {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  min-height: calc(100vh - 69px);
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 20px;
  color: rgba(16, 22, 36, 0.08);
  content: "SCIENCE + AI";
  font-size: clamp(54px, 12vw, 180px);
  font-weight: 950;
  line-height: 0.8;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(58px, 8.2vw, 122px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.lede {
  max-width: 760px;
  color: #394456;
  font-size: clamp(19px, 2.2vw, 25px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 0;
  align-self: center;
}

.hero-visual::before {
  position: absolute;
  inset: 12% -8% 20% 12%;
  border-radius: 45% 55% 48% 52%;
  background: linear-gradient(135deg, rgba(15, 111, 114, 0.18), rgba(230, 109, 79, 0.18));
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(430px, 88%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border: 10px solid #fff;
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.signal-card {
  position: relative;
  z-index: 2;
  max-width: 260px;
  padding: 18px;
  border: 1px solid rgba(223, 231, 239, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 50px rgba(16, 22, 36, 0.12);
  backdrop-filter: blur(18px);
}

.signal-card span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.15;
}

.signal-card.top {
  justify-self: start;
  margin-top: -52px;
}

.signal-card.bottom {
  justify-self: end;
  max-width: 330px;
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  gap: 12px;
  align-items: center;
  padding: 24px clamp(18px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.logo-band a {
  display: grid;
  min-height: 118px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(16, 22, 36, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.logo-band a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(16, 22, 36, 0.1);
}

.logo-band img {
  width: 100%;
  max-height: 46px;
  object-fit: contain;
}

.logo-band span {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.intro-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 14px 60px rgba(16, 22, 36, 0.07);
}

.intro-panel p {
  color: #394456;
  font-size: 21px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metrics div {
  padding-top: 14px;
  border-top: 2px solid rgba(15, 111, 114, 0.25);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 26px;
}

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

.section-head {
  max-width: 960px;
  margin-bottom: 32px;
}

.section-sub {
  max-width: 640px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}

.skills-section {
  background: #101624;
  color: #fff;
}

.skills-section .eyebrow {
  color: var(--lime);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.skill-card {
  min-height: 320px;
  perspective: 1200px;
}

.flip-inner {
  position: relative;
  min-height: 340px;
  transition: transform 0.55s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #172033;
  backface-visibility: hidden;
}

.flip-card:nth-child(2) .flip-face {
  background: linear-gradient(180deg, rgba(230, 109, 79, 0.2), rgba(255, 255, 255, 0.02)), #172033;
}

.flip-card:nth-child(3) .flip-face {
  background: linear-gradient(180deg, rgba(15, 111, 114, 0.25), rgba(255, 255, 255, 0.02)), #172033;
}

.flip-card:nth-child(4) .flip-face {
  background: linear-gradient(180deg, rgba(112, 103, 207, 0.24), rgba(255, 255, 255, 0.02)), #172033;
}

.flip-card:nth-child(5) .flip-face {
  background: linear-gradient(180deg, rgba(242, 184, 75, 0.22), rgba(255, 255, 255, 0.02)), #172033;
}

.flip-face.back {
  transform: rotateY(180deg);
  background: #ffffff !important;
  color: var(--ink);
}

.flip-face.back h3 {
  color: var(--teal);
}

.flip-face.front::after {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.52);
  content: "Hover for detail";
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--lime);
  font-weight: 900;
}

.skill-card p {
  color: rgba(255, 255, 255, 0.72);
}

.flip-face.back p {
  color: #344055;
}

.skill-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 8px;
}

.skill-detail-list span {
  display: block;
  padding: 9px 11px;
  border: 1px solid rgba(15, 111, 114, 0.18);
  border-radius: 12px;
  color: #263244;
  background: #f3f8f8;
  font-size: 13px;
  font-weight: 850;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.filter.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

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

.project-card {
  display: grid;
  overflow: hidden;
  min-height: 420px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  text-decoration: none;
  box-shadow: 0 12px 44px rgba(16, 22, 36, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card:hover {
  border-color: rgba(15, 111, 114, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef3f6;
}

.project-card div {
  padding: 20px;
}

.project-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card p {
  color: var(--muted);
}

.project-card.large {
  grid-column: span 2;
  grid-row: span 1;
}

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

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

.publications-section {
  background: #f7fafb;
}

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

.publication-card {
  display: block;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 12px 42px rgba(16, 22, 36, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.publication-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.publication-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-card p {
  color: var(--muted);
}

.publication-card.scholar {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--violet));
}

.publication-card.scholar span,
.publication-card.scholar p {
  color: rgba(255, 255, 255, 0.78);
}

blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

blockquote p {
  font-size: 18px;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  color: #fff;
  background: #101624;
}

.contact-section .eyebrow {
  color: var(--lime);
}

.contact-section p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
}

.contact-section .button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.contact-section .button.primary {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}

.beyond-section {
  background:
    linear-gradient(135deg, rgba(182, 224, 112, 0.12), rgba(255, 255, 255, 0.8)),
    #fff;
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.beyond-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 50px rgba(16, 22, 36, 0.07);
}

.beyond-card.initiatives {
  background: #101624;
  color: #fff;
}

.beyond-card.interests {
  background: linear-gradient(135deg, rgba(15, 111, 114, 0.12), rgba(112, 103, 207, 0.14)), #fff;
}

.beyond-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.beyond-card.initiatives span {
  color: var(--lime);
}

.beyond-card p {
  color: var(--muted);
  font-size: 18px;
}

.beyond-card.initiatives p {
  color: rgba(255, 255, 255, 0.72);
}

.mini-tile-list {
  display: grid;
  gap: 10px;
}

.mini-tile-list a {
  display: block;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.mini-tile-list strong,
.mini-tile-list small {
  display: block;
}

.mini-tile-list small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 750;
}

.mini-chip-cloud,
.interest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.mini-chip-cloud b,
.interest-grid b {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 111, 114, 0.18);
  border-radius: 999px;
  color: #293547;
  background: #fff;
  font-size: 13px;
}

.interest-grid b {
  border-color: rgba(112, 103, 207, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

.chat-shell {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(390px, calc(100vw - 36px));
  pointer-events: none;
}

.chat-toggle,
.chat-panel {
  pointer-events: auto;
}

.chat-toggle {
  float: right;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  box-shadow: var(--shadow);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.chat-panel {
  display: none;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.chat-shell.is-open .chat-panel {
  display: block;
}

.chat-shell.is-open .chat-toggle {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head span {
  color: var(--muted);
  font-size: 13px;
}

.chat-close {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
}

.chat-log {
  display: grid;
  max-height: 320px;
  gap: 10px;
  overflow: auto;
  padding: 16px;
}

.msg {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 14px;
}

.msg.bot {
  justify-self: start;
  background: #eef4f7;
}

.msg.user {
  justify-self: end;
  color: #fff;
  background: var(--ink);
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.prompt-chips button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form input,
.chat-form button {
  min-height: 42px;
  border-radius: 999px;
  font: inherit;
}

.case-body {
  background:
    radial-gradient(circle at 20% 0%, rgba(15, 111, 114, 0.24), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(112, 103, 207, 0.18), transparent 28rem),
    #fbfcfd;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.case-hero {
  padding-bottom: 60px;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.case-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.case-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(15, 111, 114, 0.22);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.case-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.case-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-content {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: 36px;
}

.case-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
  align-self: start;
}

.case-sidebar div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(16, 22, 36, 0.06);
}

.case-sidebar span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-sidebar strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.case-main {
  display: grid;
  gap: 34px;
}

.case-main section {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 46px rgba(16, 22, 36, 0.06);
}

.case-main h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
}

.case-main p {
  color: #3d485c;
  font-size: 19px;
}

.case-bullets {
  display: grid;
  gap: 12px;
}

.case-bullets div {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  color: #303b4e;
  background: #f3f8f8;
  font-weight: 650;
}

.case-note {
  background: #101624 !important;
  color: #fff;
}

.case-note p {
  color: rgba(255, 255, 255, 0.72);
}

.case-note .button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.resume-body {
  background: #edf3f4;
}

.resume-document {
  width: min(930px, calc(100% - 32px));
  margin: 34px auto 84px;
  padding: 46px 56px 54px;
  border: 1px solid #d7dee4;
  background: #fff;
  box-shadow: 0 22px 70px rgba(16, 22, 36, 0.12);
  color: #151a21;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.35;
}

.resume-doc-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -18px -18px 22px 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.print-button {
  cursor: pointer;
  font: inherit;
}

.resume-doc-header {
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 2px solid #151a21;
  text-align: center;
}

.resume-doc-header h1 {
  margin: 0 0 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 0;
  color: #384251;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
}

.resume-contact a,
.resume-document a {
  color: #0f6f72;
  font-weight: 700;
  text-decoration: none;
}

.resume-contact a:hover,
.resume-document a:hover {
  text-decoration: underline;
}

.resume-document section {
  margin-top: 18px;
}

.resume-document h2 {
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #b8c2cb;
  color: #151a21;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.resume-document p {
  margin: 0 0 7px;
  color: #202733;
  font-size: 15px;
}

.resume-entry {
  margin-top: 12px;
  break-inside: avoid;
}

.resume-entry-head,
.resume-entry-role {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.resume-entry-head {
  color: #111720;
  font-size: 15.5px;
  font-weight: 700;
}

.resume-entry-role {
  margin-top: 1px;
  color: #3d4756;
  font-size: 14.5px;
  font-style: italic;
}

.resume-document ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

.resume-document li {
  margin: 3px 0;
  color: #202733;
  font-size: 14.5px;
}

.resume-skill-block p + p {
  margin-top: 7px;
}

@media (max-width: 720px) {
  .resume-document {
    width: min(100% - 20px, 930px);
    margin: 18px auto 54px;
    padding: 28px 22px 34px;
  }

  .resume-doc-tools {
    justify-content: flex-start;
    margin: 0 0 22px;
  }

  .resume-entry-head,
  .resume-entry-role {
    display: block;
  }
}

@media print {
  .site-header,
  .resume-doc-tools {
    display: none;
  }

  body,
  .resume-body {
    background: #fff;
  }

  body::before {
    display: none;
  }

  .resume-document {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .resume-document section,
  .resume-entry {
    break-inside: avoid;
  }
}

.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chat-form input {
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
}

.chat-form button {
  padding: 0 14px;
  border: 0;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .split-intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .skill-grid,
  .project-grid,
  .quote-grid,
  .quote-grid.expanded,
  .publication-grid,
  .beyond-grid,
  .case-hero-grid,
  .case-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-content {
    grid-template-columns: 1fr;
  }

  .case-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-card.large {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    width: 88%;
  }

  .signal-card {
    max-width: 220px;
  }

  .signal-card.top {
    margin-top: -28px;
  }

  .logo-band,
  .metrics,
  .skill-grid,
  .project-grid,
  .quote-grid,
  .quote-grid.expanded,
  .publication-grid,
  .beyond-grid,
  .case-hero-grid,
  .case-sidebar {
    grid-template-columns: 1fr;
  }

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