:root {
  --bg: #080b09;
  --bg-soft: #0c100d;
  --panel: #101611;
  --panel-light: #151b16;
  --ink: #f0f4ee;
  --muted: #aeb8aa;
  --dim: #748071;
  --line: rgba(205, 220, 199, 0.16);
  --line-strong: rgba(205, 220, 199, 0.28);
  --green: #a6d69d;
  --amber: #d8b778;
  --blue: #94b9cc;
  --sans: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Bricolage Grotesque", "JetBrains Mono", ui-monospace, monospace;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --content: min(1160px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(6, 9, 7, 0.78), rgba(6, 9, 7, 0.78)),
    url("assets/iridescent-damascus-steel.png") center top / cover fixed,
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(166, 214, 157, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 214, 157, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.5rem;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 9, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(166, 214, 157, 0.4);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.65rem);
  color: var(--muted);
  font-size: 0.82rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(92vh - 4.5rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #060907;
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #060907 0%, #060907 54%, rgba(6, 9, 7, 0.58) 68%, rgba(6, 9, 7, 0.14) 100%),
    linear-gradient(180deg, rgba(6, 9, 7, 0.08) 0%, transparent 58%, rgba(6, 9, 7, 0.5) 100%),
    url("assets/iridescent-damascus-steel.png") center / cover no-repeat;
  opacity: 1;
  filter: saturate(0.78) contrast(1.04);
}

.hero-inner,
.section,
.personal-inner,
.footer {
  width: var(--content);
  margin: 0 auto;
}

.hero-inner {
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(12rem, 18vw, 15rem);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  max-width: 1080px;
}

.hero-title {
  min-width: 0;
}

.hero-headshot {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
}

.hero-headshot::before {
  position: absolute;
  inset: -0.6rem 0.6rem 0.6rem -0.6rem;
  z-index: -1;
  content: "";
  border: 1px solid rgba(166, 214, 157, 0.34);
  border-radius: 6px;
}

.hero-headshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  object-fit: cover;
  object-position: 50% 36%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  filter: saturate(0.88) contrast(1.03);
}

.eyebrow,
.section-kicker,
.case-domain,
.capability-index,
.role-meta,
dt {
  font-family: var(--mono);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.1rem;
  font-size: clamp(4.5rem, 11vw, 8.8rem);
  font-weight: 700;
  line-height: 0.86;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.1rem, 4.5vw, 4.3rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
}

h4 {
  margin-bottom: 0.55rem;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 710px;
  margin-bottom: 0;
  color: #d9e1d5;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.62;
}

.hero-role {
  margin-bottom: 1.5rem;
  color: #9cac7d;
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 2.25rem 0 3.5rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(16, 22, 17, 0.72);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  border-color: rgba(166, 214, 157, 0.58);
  background: var(--panel-light);
}

.button-primary {
  border-color: rgba(166, 214, 157, 0.58);
  background: rgba(166, 214, 157, 0.12);
  color: var(--green);
}

.text-link {
  margin-left: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.text-link:hover {
  color: var(--ink);
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(6, 9, 7, 0.52), rgba(6, 9, 7, 0.16));
  backdrop-filter: blur(2px);
}

.hero-summary div {
  min-width: 0;
  padding: 1.15rem 1.5rem 0 0;
}

.hero-summary div + div {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

dt {
  margin-bottom: 0.45rem;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.62fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.section-intro h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-intro > p,
.about-copy > p,
.personal-copy > p,
.contact-section > p {
  color: var(--muted);
  line-height: 1.75;
}

.section-intro > p {
  margin-bottom: 0.35rem;
}

.case-study-list {
  display: grid;
  gap: 1rem;
}

.case-study {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(10, 14, 11, 0.66);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.case-study:hover,
.case-study[open] {
  border-color: rgba(166, 214, 157, 0.38);
  background: rgba(12, 17, 13, 0.84);
}

.case-study-summary {
  display: block;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  cursor: pointer;
  list-style: none;
}

.case-study-summary:hover::after {
  border-color: var(--blue);
  background: rgba(148, 185, 204, 0.13);
  color: #d4e8f1;
  transform: translateX(0.2rem);
}

.case-study-summary::-webkit-details-marker {
  display: none;
}

.case-study-summary:focus-visible {
  outline: 2px solid rgba(166, 214, 157, 0.8);
  outline-offset: -0.35rem;
  border-radius: 8px;
}

.case-study-heading {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 0;
}

.case-study-summary::after {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  width: fit-content;
  margin: 1.25rem 0 0 4.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(148, 185, 204, 0.58);
  border-radius: 4px;
  background: rgba(148, 185, 204, 0.07);
  color: var(--blue);
  content: "Read full case study  \2192";
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.case-study[open] .case-study-summary::after {
  content: "Close case study  \2191";
}

.case-study[open] .case-study-summary {
  border-bottom: 1px solid var(--line);
}

.case-study-details {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.6rem, 4vw, 2.5rem) clamp(1.6rem, 4vw, 2.5rem);
}

.case-number {
  padding-top: 0.25rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.case-domain {
  margin-bottom: 0.55rem;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.case-study-heading h3 {
  max-width: 25ch;
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.case-outcome {
  max-width: 760px;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-metrics li {
  min-width: 0;
  padding: 0.75rem 1rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
}

.case-metrics li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.case-metrics span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.case-study-body {
  display: grid;
  max-width: 900px;
  margin-left: 4.25rem;
}

.case-study-body > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.case-study-body h4 {
  margin: 0;
}

.case-study-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.5rem 0 0 4.25rem;
  list-style: none;
}

.tag-list li {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(148, 185, 204, 0.3);
  border-radius: 4px;
  color: var(--blue);
  font-size: 0.72rem;
}

.experience-section {
  padding-bottom: 0;
}

.experience-list {
  border-top: 1px solid var(--line-strong);
}

.experience-more {
  border-bottom: 1px solid var(--line-strong);
}

.experience-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  list-style: none;
}

.experience-more summary::-webkit-details-marker {
  display: none;
}

.experience-more summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.experience-more summary::after {
  content: "+";
  color: var(--green);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 400;
}

.experience-more[open] summary::after {
  content: "-";
}

.show-less-label {
  display: none;
}

.experience-more[open] .show-more-label {
  display: none;
}

.experience-more[open] .show-less-label {
  display: inline;
}

.experience-more .role:last-child {
  border-bottom: 0;
}

.role {
  display: grid;
  grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.role-meta {
  color: var(--dim);
  font-size: 0.75rem;
}

.role-meta p {
  margin-bottom: 0.3rem;
}

.role-meta p:last-child {
  color: var(--amber);
}

.role-detail {
  max-width: 720px;
}

.role-detail h3 {
  margin-bottom: 0.8rem;
}

.role-detail > p,
.role-detail li {
  color: var(--muted);
}

.role-detail > p:last-child {
  margin-bottom: 0;
}

.role-detail ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.1rem;
  margin: 1.4rem 0 0;
}

.role-detail li::marker {
  color: var(--green);
}

.inline-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.education {
  border-bottom: 0;
}

.capabilities-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding-right: max(1.5rem, calc((100% - 1160px) / 2));
  padding-left: max(1.5rem, calc((100% - 1160px) / 2));
  background: var(--bg-soft);
}

.capabilities-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg-soft) 0%, rgba(12, 16, 13, 0.94) 38%, rgba(12, 16, 13, 0.62) 100%),
    url("assets/iridescent-damascus-steel.png") 78% center / cover no-repeat;
  opacity: 0.32;
  filter: brightness(0.92) saturate(0.78);
}

.section-intro.compact {
  width: 100%;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.capability {
  min-width: 0;
  padding: 1.25rem;
}

.capability + .capability {
  border-left: 1px solid var(--line);
}

.capability-index {
  margin-bottom: 1.25rem;
  color: var(--dim);
  font-size: 0.72rem;
}

.capability h3 {
  min-height: 3.1rem;
  font-size: 1.15rem;
}

.capability ul {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.about-section h2 {
  max-width: 10ch;
}

.about-copy {
  max-width: 660px;
}

.about-copy .about-lede {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.personal-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0f0c;
}

.personal-map {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background:
    linear-gradient(90deg, rgba(11, 15, 12, 0.92) 4%, rgba(11, 15, 12, 0.48) 54%, rgba(11, 15, 12, 0.5) 100%),
    linear-gradient(180deg, rgba(11, 15, 12, 0.52) 0%, transparent 42%, rgba(11, 15, 12, 0.72) 100%),
    url("assets/iridescent-damascus-steel.png") 64% center / cover no-repeat;
  filter: brightness(0.9) saturate(0.78) contrast(1.04);
}

.personal-inner {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.personal-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.personal-showcase {
  display: grid;
  grid-template-columns: minmax(13rem, 18rem) minmax(20rem, 1fr);
  gap: clamp(2.5rem, 7vw, 5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.personal-visual {
  position: relative;
  width: 100%;
  max-width: 18rem;
  margin: 0;
}

.personal-visual::before {
  position: absolute;
  inset: -0.75rem 0.75rem 0.75rem -0.75rem;
  z-index: -1;
  content: "";
  border: 1px solid rgba(216, 183, 120, 0.28);
  border-radius: 6px;
}

.personal-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  filter: saturate(0.92) contrast(1.02);
}

.personal-copy {
  max-width: 580px;
  padding-top: 0.5rem;
}

.personal-project {
  position: relative;
  padding: 1.4rem 1.4rem 1.5rem;
  margin-top: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(12, 16, 13, 0.78);
}

.personal-project h3 {
  margin-bottom: 1rem;
}

.personal-project > p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.personal-project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.4rem;
  list-style: none;
}

.personal-project-features li {
  padding: 0.34rem 0.55rem;
  border: 1px solid rgba(148, 185, 204, 0.3);
  border-radius: 4px;
  color: var(--blue);
  font-size: 0.72rem;
}

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

.personal-project-footer .inline-link {
  margin-top: 0;
}

.project-status {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

@media (max-width: 430px) {
  .personal-project-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.contact-section {
  max-width: 900px;
  text-align: center;
}

.contact-section h2 {
  margin-right: auto;
  margin-left: auto;
}

.contact-section > p {
  max-width: 650px;
  margin: 0 auto 2rem;
}

.contact-section > .contact-email {
  margin-top: -1.15rem;
  font-size: 0.95rem;
}

.contact-email a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.contact-email a:hover {
  color: var(--ink);
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 0;
  color: var(--dim);
  font-size: 0.75rem;
}

.footer span:nth-child(2) {
  text-align: center;
}

.footer a {
  justify-self: end;
  color: var(--muted);
  text-underline-offset: 0.2rem;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-map {
    background:
      linear-gradient(90deg, rgba(6, 9, 7, 0.9) 0%, rgba(6, 9, 7, 0.54) 62%, rgba(6, 9, 7, 0.22) 100%),
      linear-gradient(180deg, rgba(6, 9, 7, 0.18) 0%, rgba(6, 9, 7, 0.12) 54%, rgba(6, 9, 7, 0.72) 100%),
      url("assets/iridescent-damascus-steel.png") 68% center / cover no-repeat;
    filter: brightness(0.9) saturate(0.78) contrast(1.06);
  }

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

  .hero-identity {
    grid-template-columns: minmax(0, 1fr) clamp(9rem, 22vw, 12rem);
    gap: 2rem;
  }

  .hero-summary div + div {
    padding-left: 0;
    border-left: 0;
  }

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

  .section-intro {
    gap: 1.5rem;
  }

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

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

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

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

  .personal-copy {
    max-width: 650px;
  }

  .personal-showcase {
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 620px) {
  :root {
    --content: min(100% - 2rem, 1160px);
  }

  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .nav {
    gap: 1rem;
    font-size: 0.76rem;
  }

  .hero-inner {
    padding: 3rem 0 2.5rem;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 4.7rem);
  }

  .hero-role {
    font-size: 1.15rem;
  }

  .hero-identity {
    grid-template-columns: minmax(0, 1fr) 5.75rem;
    gap: 1rem;
    align-items: start;
  }

  .hero-headshot {
    margin-top: 0.5rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.75rem 0 2.25rem;
  }

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

  .text-link {
    grid-column: 1 / -1;
    justify-self: start;
    margin: 0.35rem 0 0;
  }

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

  .hero-summary div {
    padding: 0.85rem 0.75rem 0.85rem 0;
  }

  .hero-summary div + div {
    padding-left: 0.75rem;
    border-left: 1px solid var(--line);
  }

  .hero-summary div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .section {
    padding: 4rem 0;
  }

  .section-intro {
    margin-bottom: 2.25rem;
  }

  .section-intro h2 {
    max-width: none;
  }

  .case-study-summary {
    padding: 1.25rem;
  }

  .case-study-heading {
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .case-study-heading h3 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .case-outcome {
    font-size: 0.9rem;
  }

  .case-metrics li {
    padding-right: 0.5rem;
    font-size: 0.72rem;
  }

  .case-metrics li + li {
    padding-left: 0.5rem;
  }

  .case-study-details {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .case-study-body,
  .tag-list,
  .case-study-summary::after {
    margin-left: 2.35rem;
  }

  .case-study-body > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2rem 0;
  }

  .role-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .role-detail {
    grid-column: auto;
  }

  .role-detail ul {
    gap: 0.7rem;
  }

  .capabilities-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .capability h3 {
    min-height: auto;
    font-size: 1rem;
  }

  .capability {
    padding: 1rem;
  }

  .capability ul {
    font-size: 0.8rem;
  }

  .personal-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .personal-visual {
    width: min(100% - 0.75rem, 13rem);
    max-width: none;
  }

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

  .footer span:nth-child(2) {
    text-align: left;
  }

  .footer a {
    justify-self: start;
  }
}

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

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