:root {
  --teal: #087e8b;
  --teal-dark: #07545d;
  --deep: #082f33;
  --bronze: #a46b1b;
  --bronze-light: #dfbd76;
  --paper: #f0f4ef;
  --surface: #f8faf6;
  --soft-teal: #d6e8e4;
  --ink: #102f33;
  --muted: #617475;
  --line: rgba(16, 47, 51, 0.28);
  --line-light: rgba(255, 255, 255, 0.2);
  --white: #fff;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: Consolas, "Courier New", monospace;
  --gutter: clamp(24px, 4vw, 72px);
  --content: 1520px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(240, 244, 239, 0.96);
}

.identity {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
}

.identity b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
}

.identity > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 750;
}

.identity small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  gap: 34px;
}

.topnav a {
  position: relative;
  padding: 10px 0;
  font-size: 11px;
  font-weight: 700;
}

.topnav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.topnav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.topbar-meta {
  justify-self: end;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-layout {
  width: min(100%, var(--content));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.route-rail {
  position: sticky;
  top: 76px;
  z-index: 40;
  height: calc(100vh - 76px);
  align-self: start;
  padding: 28px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
}

.route-rail > div {
  position: relative;
  flex: 1;
  width: 1px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--line);
}

.route-rail > div::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  animation: route-progress linear both;
  animation-timeline: scroll(root block);
}

.route-rail i {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: var(--paper);
}

.route-rail i {
  animation: route-checkpoint linear both;
  animation-timeline: scroll(root block);
}

.route-rail i:nth-child(1) {
  animation-range: 0% 1%;
}

.route-rail i:nth-child(2) {
  animation-range: 23% 24%;
}

.route-rail i:nth-child(3) {
  animation-range: 48% 49%;
}

.route-rail i:nth-child(4) {
  animation-range: 73% 74%;
}

.route-rail i:nth-child(5) {
  animation-range: 98% 100%;
}

.route-rail i:first-child {
  background: var(--bronze);
  border-color: var(--bronze);
}

.route-rail em {
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@keyframes route-progress {
  to {
    transform: scaleY(1);
  }
}

@keyframes route-checkpoint {
  to {
    border-color: var(--bronze);
    background: var(--bronze);
    transform: scale(1.35);
  }
}

.site-content {
  min-width: 0;
}

.hero,
.work,
.capabilities,
.contact {
  scroll-margin-top: 76px;
}

.section-coordinate {
  min-height: 48px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  padding: clamp(64px, 8vw, 124px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.hero-copy,
.portrait,
.record-copy,
.evidence,
.profile-lead,
.career-log,
.formation {
  min-width: 0;
}

.availability {
  margin-bottom: clamp(50px, 7vw, 92px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e9f60;
  box-shadow: 0 0 0 5px rgba(46, 159, 96, 0.12);
}

.hero-name {
  margin: 0 0 22px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 7.2vw, 118px);
  font-weight: 680;
  letter-spacing: -0.078em;
  line-height: 0.86;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: 0.08em;
  color: var(--bronze);
  font-family: var(--serif);
  font-weight: 600;
}

.hero-intro {
  max-width: 660px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
}

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

.hero-actions a {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 750;
}

.hero-actions a:first-child {
  color: var(--teal);
}

.portrait {
  width: min(100%, 430px);
  margin: 0;
  justify-self: end;
}

.portrait-placeholder,
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  clip-path: polygon(
    0 0,
    calc(100% - 25px) 0,
    100% 25px,
    100% 100%,
    25px 100%,
    0 calc(100% - 25px)
  );
}

.portrait-placeholder {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--teal-dark);
  color: var(--white);
}

.portrait-placeholder::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  clip-path: inherit;
}

.portrait-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: circle(44% at 94% 88%);
  background: var(--teal);
  opacity: 0.58;
}

.portrait-placeholder > span {
  position: relative;
  z-index: 1;
  color: var(--bronze-light);
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 126px);
  font-style: italic;
  line-height: 0.8;
}

.portrait-placeholder > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.portrait-placeholder strong {
  font-size: 14px;
}

.portrait-placeholder small,
.portrait figcaption {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portrait-placeholder small {
  color: rgba(255, 255, 255, 0.58);
}

.portrait img {
  display: block;
  object-fit: cover;
}

.portrait figcaption {
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.hero-ledger > div {
  min-width: 0;
  min-height: 108px;
  padding: 24px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hero-ledger > div + div {
  border-left: 1px solid var(--line);
}

.hero-ledger span,
.record-header,
.record-period,
.evidence-label,
.log-title,
.profile-lead > span,
.capabilities header > span,
.contact-index,
.site-footer {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-ledger span {
  color: var(--muted);
}

.hero-ledger strong {
  font-size: 13px;
  font-weight: 680;
}

.work {
  padding-top: clamp(100px, 11vw, 170px);
}

.editorial-heading {
  padding: 0 var(--gutter) clamp(76px, 9vw, 132px);
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  align-items: start;
  gap: clamp(48px, 8vw, 130px);
}

.editorial-heading > div {
  padding-top: 12px;
}

.editorial-heading span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
}

.editorial-heading p {
  max-width: 220px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.editorial-heading h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 96px);
  font-weight: 570;
  letter-spacing: -0.068em;
  line-height: 0.98;
}

.project-record {
  border-top: 1px solid var(--line);
}

.record-header {
  min-height: 48px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.record-header span:first-child {
  color: var(--bronze);
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
}

.record-copy {
  padding: clamp(56px, 6vw, 92px) var(--gutter);
  align-self: center;
}

.project-record-reverse .record-copy {
  order: 2;
  border-left: 1px solid var(--line);
}

.project-record:not(.project-record-reverse) .record-copy {
  border-right: 1px solid var(--line);
}

.record-period {
  margin: 0 0 24px;
  color: var(--bronze);
}

.record-copy h3 {
  margin: 0;
  font-size: clamp(40px, 3.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.record-copy > p:not(.record-period) {
  max-width: 560px;
  margin: 26px 0 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.record-copy dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.record-copy dl > div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.record-copy dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.record-copy dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.tech-line {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
}

.tech-line li {
  position: relative;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.tech-line li + li::before {
  content: "/";
  position: absolute;
  left: -12px;
  color: var(--bronze);
}

.evidence {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--soft-teal);
}

.evidence-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  min-height: 46px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 47, 51, 0.18);
}

.grade-table {
  position: absolute;
  top: 17%;
  right: 9%;
  left: 9%;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 14px 14px 0 var(--teal);
  transform: rotate(-1.2deg);
}

.grade-head,
.grade-table > div:not(.grade-head) {
  min-height: 54px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 60px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.grade-head {
  background: var(--deep);
  color: var(--white);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.grade-table i,
.grade-table b {
  height: 7px;
  border-radius: 5px;
  background: #cbd6d3;
}

.grade-table b {
  width: 72%;
}

.grade-table strong {
  color: var(--teal);
  font-size: 17px;
}

.grade-summary {
  position: absolute;
  right: 9%;
  bottom: 9%;
  width: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--bronze);
  color: var(--white);
}

.grade-summary span {
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.grade-summary strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.grade-summary i {
  width: 60%;
  height: 5px;
  margin-top: 14px;
  display: block;
  background: rgba(255, 255, 255, 0.55);
}

.evidence-pharmacy {
  background: var(--deep);
  color: var(--white);
}

.evidence-pharmacy .evidence-label {
  border-color: var(--line-light);
  color: rgba(255, 255, 255, 0.64);
}

.pharmacy-cross {
  position: absolute;
  top: 17%;
  right: 9%;
  width: 150px;
  height: 150px;
  transform: rotate(7deg);
}

.pharmacy-cross i {
  position: absolute;
  background: var(--teal);
}

.pharmacy-cross i:first-child {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 52px;
  transform: translateX(-50%);
}

.pharmacy-cross i:last-child {
  top: 50%;
  right: 0;
  left: 0;
  height: 52px;
  transform: translateY(-50%);
}

.pharmacy-copy {
  position: absolute;
  bottom: 22%;
  left: 9%;
}

.pharmacy-copy small {
  color: var(--bronze-light);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.pharmacy-copy strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 540;
  letter-spacing: -0.068em;
  line-height: 0.92;
}

.pharmacy-copy > span {
  width: 84px;
  height: 12px;
  margin-top: 28px;
  display: block;
  background: var(--bronze);
}

.pharmacy-index {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 62px;
  padding: 0 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 8px;
}

.evidence-automation {
  background: #d9e5d7;
}

.process-line {
  position: absolute;
  top: 30%;
  right: 7%;
  left: 7%;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.process-line > div {
  min-height: 180px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
}

.process-line > div:nth-of-type(2) {
  background: var(--teal-dark);
  color: var(--white);
}

.process-line span,
.process-line > b {
  color: var(--bronze);
  font-family: var(--mono);
  font-size: 9px;
}

.process-line strong {
  margin-top: 22px;
  font-size: 15px;
}

.process-line i {
  width: 68%;
  height: 8px;
  margin-top: auto;
  background: #b5dadd;
}

.process-line > div:nth-of-type(2) i {
  background: var(--teal);
}

.process-line > b {
  font-size: 18px;
}

.server-line {
  position: absolute;
  right: 7%;
  bottom: 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.server-line span + span::before {
  content: "●";
  margin-right: 16px;
  color: var(--teal);
}

.profile {
  padding: clamp(90px, 10vw, 160px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px clamp(60px, 8vw, 130px);
  scroll-margin-top: 76px;
  background: var(--deep);
  color: var(--white);
}

.profile-lead {
  grid-row: 1 / span 2;
  align-self: start;
}

.profile-lead > span,
.log-title {
  color: var(--bronze-light);
}

.profile-lead h2 {
  margin: 28px 0 32px;
  max-width: 100%;
  font-size: clamp(46px, 4vw, 64px);
  font-weight: 560;
  letter-spacing: -0.066em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.profile-lead p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.8;
}

.career-log,
.formation {
  border-top: 1px solid var(--line-light);
}

.log-title {
  margin: 0;
  padding: 20px 0;
}

.career-log article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 135px minmax(170px, 0.7fr) minmax(220px, 1.3fr);
  gap: 24px;
  border-top: 1px solid var(--line-light);
}

.career-log time,
.formation article > span {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 8px;
}

.career-log h3,
.formation h3 {
  margin: 0;
  font-size: 15px;
}

.career-log article div p {
  margin: 7px 0 0;
  color: var(--bronze-light);
  font-size: 10px;
}

.career-log ul {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.7;
  list-style: none;
}

.career-log li::before {
  content: "—";
  margin-right: 8px;
  color: var(--teal);
}

.formation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
}

.formation .log-title {
  grid-column: 1 / -1;
}

.formation article {
  padding: 26px 0;
  border-top: 1px solid var(--line-light);
}

.formation h3 {
  margin-top: 14px;
}

.formation strong {
  display: block;
  margin-top: 8px;
  color: var(--bronze-light);
  font-family: var(--mono);
  font-size: 9px;
}

.formation article p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.7;
}

.capabilities {
  padding: clamp(100px, 11vw, 170px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.capabilities header {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
  gap: 50px;
}

.capabilities header > span {
  padding-top: 12px;
  color: var(--teal);
}

.capabilities h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 560;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.capability-bands {
  border-top: 1px solid var(--line);
}

.capability-bands article {
  min-height: 120px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 90px minmax(180px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.capability-bands article:hover {
  padding-right: 24px;
  padding-left: 24px;
  background: var(--teal-dark);
  color: var(--white);
}

.capability-bands article > span {
  color: var(--bronze);
  font-family: var(--mono);
  font-size: 9px;
}

.capability-bands h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
}

.capability-bands p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.capability-bands article:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.competencies {
  padding-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.competencies span + span::before {
  content: "×";
  margin: 0 18px;
  color: var(--bronze);
}

.contact {
  padding: clamp(90px, 11vw, 170px) var(--gutter) 70px;
  background: var(--teal);
  color: var(--white);
}

.contact-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bronze-light);
}

.contact-index > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.contact-index i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64d58b;
  box-shadow: 0 0 0 5px rgba(100, 213, 139, 0.14);
}

.contact h2 {
  max-width: 1180px;
  margin: clamp(80px, 10vw, 145px) 0 42px;
  font-size: clamp(66px, 9.2vw, 144px);
  font-weight: 560;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.contact h2 em {
  color: var(--bronze-light);
  font-family: var(--serif);
  font-weight: 600;
}

.contact > p {
  max-width: 540px;
  margin: 0 0 70px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.contact-email {
  max-width: 100%;
  padding-bottom: 10px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: clamp(20px, 3.5vw, 52px);
  font-weight: 520;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.contact-data {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.site-footer {
  min-height: 92px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .site-layout {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  }

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

  .hero-ledger > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-ledger > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .record-layout {
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  }

  .evidence {
    min-height: 530px;
  }

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

  .profile-lead {
    grid-row: auto;
    max-width: 760px;
    margin-bottom: 30px;
  }

  .career-log article {
    grid-template-columns: 125px minmax(180px, 0.7fr) minmax(220px, 1.3fr);
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar-meta {
    display: none;
  }

  .site-layout {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .route-rail {
    position: sticky;
    top: 76px;
    z-index: 40;
    height: 44px;
    padding: 0 var(--gutter);
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-rail > div {
    flex: 1;
    width: auto;
    height: 1px;
    margin: 0 16px;
    flex-direction: row;
  }

  .route-rail > div::before {
    top: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    animation-name: route-progress-mobile;
  }

  .route-rail em {
    display: none;
  }

  @keyframes route-progress-mobile {
    to {
      transform: scaleX(1);
    }
  }

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

  .portrait {
    width: min(100%, 390px);
    justify-self: start;
  }

  .editorial-heading {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .editorial-heading p {
    max-width: 480px;
  }

  .record-layout {
    grid-template-columns: 1fr;
  }

  .project-record-reverse .record-copy {
    order: initial;
    border-left: 0;
  }

  .project-record:not(.project-record-reverse) .record-copy {
    border-right: 0;
  }

  .record-copy {
    border-bottom: 1px solid var(--line);
  }

  .evidence {
    min-height: 520px;
  }

  .career-log article {
    grid-template-columns: 120px minmax(180px, 0.7fr) minmax(0, 1.3fr);
  }

  .capabilities header {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .topbar {
    min-height: 64px;
  }

  .identity b {
    width: 36px;
    height: 36px;
  }

  .identity > span {
    display: none;
  }

  .topnav {
    gap: 20px;
  }

  .topnav a {
    font-size: 10px;
  }

  .route-rail {
    top: 64px;
    height: 38px;
  }

  .section-coordinate {
    min-height: 42px;
    gap: 12px;
  }

  .section-coordinate span:last-child {
    text-align: right;
  }

  .hero-grid {
    padding-top: 62px;
    padding-bottom: 62px;
    gap: 58px;
  }

  .availability {
    margin-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(52px, 16.2vw, 84px);
  }

  .hero-intro {
    margin-top: 32px;
    font-size: 16px;
  }

  .portrait {
    width: min(100%, 360px);
  }

  .portrait-placeholder::before {
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

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

  .hero-ledger > div {
    min-height: 82px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-ledger > div + div,
  .hero-ledger > div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .editorial-heading {
    padding-bottom: 74px;
  }

  .editorial-heading h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .record-header {
    min-height: 42px;
    grid-template-columns: 54px 1fr auto;
    gap: 8px;
    font-size: 7px;
  }

  .record-copy {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .record-copy h3 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .record-copy dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .evidence {
    min-height: 400px;
  }

  .grade-table {
    top: 18%;
    right: 5%;
    left: 5%;
    box-shadow: 8px 8px 0 var(--teal);
  }

  .grade-head,
  .grade-table > div:not(.grade-head) {
    min-height: 45px;
    padding: 0 12px;
    grid-template-columns: 1.2fr 0.9fr 40px;
    gap: 9px;
  }

  .grade-summary {
    right: 5%;
    bottom: 7%;
    width: 145px;
    padding: 13px;
  }

  .grade-summary strong {
    font-size: 27px;
  }

  .pharmacy-cross {
    top: 18%;
    right: 7%;
    width: 92px;
    height: 92px;
  }

  .pharmacy-cross i:first-child {
    width: 34px;
  }

  .pharmacy-cross i:last-child {
    height: 34px;
  }

  .pharmacy-copy {
    bottom: 24%;
    left: 7%;
  }

  .pharmacy-copy strong {
    font-size: 46px;
  }

  .pharmacy-index {
    padding: 0 7%;
    font-size: 7px;
  }

  .process-line {
    top: 28%;
    right: 5%;
    left: 5%;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .process-line > b {
    display: none;
  }

  .process-line > div {
    min-height: 150px;
    padding: 14px 10px;
  }

  .process-line strong {
    font-size: 11px;
  }

  .server-line {
    right: 5%;
    bottom: 8%;
    left: 5%;
    justify-content: flex-end;
    gap: 9px;
    font-size: 7px;
  }

  .server-line span + span::before {
    margin-right: 9px;
  }

  .profile {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .profile-lead h2 {
    font-size: clamp(40px, 10.8vw, 58px);
  }

  .career-log article {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .formation .log-title {
    grid-column: 1;
  }

  .capabilities {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .capabilities header {
    margin-bottom: 54px;
  }

  .capabilities h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .capability-bands article {
    min-height: 0;
    grid-template-columns: 44px 1fr;
    gap: 11px 16px;
  }

  .capability-bands p {
    grid-column: 2;
  }

  .capability-bands article:hover {
    padding-right: 12px;
    padding-left: 12px;
  }

  .competencies span + span::before {
    margin: 0 10px;
  }

  .contact {
    padding-top: 78px;
    padding-bottom: 54px;
  }

  .contact-index {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .contact h2 {
    margin-top: 84px;
    font-size: clamp(44px, 13vw, 62px);
    line-height: 0.9;
    overflow-wrap: anywhere;
  }

  .contact > p {
    margin-bottom: 52px;
  }

  .contact-email {
    font-size: clamp(16px, 5vw, 22px);
    line-height: 1.35;
  }

  .contact-data {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    min-height: 120px;
    padding-top: 28px;
    padding-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 380px) {
  .topnav {
    gap: 13px;
  }

  .section-coordinate span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 15.5vw;
  }

  .record-header {
    grid-template-columns: 44px 1fr;
  }

  .record-header span:last-child {
    display: none;
  }

  .pharmacy-copy strong {
    font-size: 40px;
  }

  .pharmacy-index span:nth-child(2) {
    display: none;
  }

  .contact h2 {
    font-size: 12.4vw;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
