:root {
  color-scheme: light;
  --ink: #152c3e;
  --paper: #f7f8fa;
  --white: #ffffff;
  --muted: #5a6878;
  --sage: #aacdbd;
  --sage-ink: #416754;
  --line: #dbe2e7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 280px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--ink);
  background: #cfe2d7;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #4e826b;
  outline-offset: 5px;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 3.7vw, 3.125rem);
  line-height: 1.13;
}

p {
  margin-bottom: 1rem;
}

section[id] {
  scroll-margin-top: 7rem;
}

.container {
  width: min(1180px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.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);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}

.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.monogram {
  display: grid;
  width: 34px;
  height: 36px;
  place-items: center;
  border: 1px solid #a9b8c1;
  border-radius: 4px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.wordmark-dot {
  color: #618674;
}

.wordmark > .wordmark-dot {
  margin-left: -0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.79rem;
  font-weight: 500;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 44px;
}

.nav-links a:hover {
  color: var(--sage-ink);
}

.nav-links .nav-contact {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid #c9d8cf;
  border-radius: 5px;
  background: #eaf0ec;
}

.nav-links .nav-contact:hover {
  border-color: #9fb7a8;
  background: #dfeae3;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.5rem 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.8rem;
}

.menu-icon {
  position: relative;
  width: 17px;
  height: 12px;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-icon::before {
  top: 2px;
}

.menu-icon::after {
  bottom: 2px;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

.eyebrow {
  margin-bottom: 1.1rem;
  font-size: 0.65rem;
  font-weight: 650;
  line-height: 1.75;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tiny-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #668c77;
  vertical-align: 0.08em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5.3vw, 4.5rem);
  padding-top: 76px;
  padding-bottom: 78px;
}

.hero-copy,
.hero-art {
  min-width: 0;
}

.hero h1 {
  margin: 1.45rem 0 1.6rem;
  font-size: clamp(2.75rem, 4.8vw, 4.125rem);
  line-height: 1.075;
}

.hero h1 em {
  color: #476d5e;
  font-weight: 400;
}

.hero-intro {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.79rem;
  font-weight: 550;
  line-height: 1.4;
}

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

.button-primary:hover {
  background: #254658;
}

.button-text {
  padding-right: 0;
  padding-left: 0;
  text-decoration: underline;
  text-decoration-color: #bdc7ce;
  text-underline-offset: 5px;
}

.button-text:hover {
  color: var(--sage-ink);
  text-decoration-color: currentColor;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.location-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-art {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1.1;
  min-height: 426px;
  padding: 1.7rem;
  overflow: hidden;
  border: 1px solid #213c4f;
  border-radius: 16px;
  color: #c0d1d9;
  background: var(--ink);
}

.art-top,
.art-bottom {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.art-top {
  font-size: 0.56rem;
  line-height: 1.6;
  letter-spacing: 0.15em;
}

.thinking-art {
  display: block;
  flex: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 1rem 0 0.6rem;
}

.art-bottom {
  padding-top: 0.75rem;
  border-top: 1px solid #385161;
}

.art-caption {
  color: #e0e9e7;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
}

.art-arrow {
  color: var(--sage);
  font-size: 1.5rem;
  line-height: 1;
}

.focus-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.focus-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.focus-label,
.skills-label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.focus-inner > span + span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.focus-inner > span + span::before {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #9fbeae;
  content: "";
}

.section {
  padding-top: 94px;
  padding-bottom: 94px;
}

#work + #experience {
  padding-top: 8px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3.5rem;
  margin-bottom: 2.65rem;
}

.section-heading > div {
  min-width: 0;
}

.section-heading .eyebrow {
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 22rem;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.project-visual {
  display: grid;
  aspect-ratio: 1.8;
  min-width: 0;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--line);
}

.project-visual > svg,
.project-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-research {
  background: #e7eef0;
}

.visual-leadership {
  background: #edf0e9;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 2rem 1.9rem;
}

.project-topline {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
}

.project-topline .eyebrow {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.project-status {
  padding: 0.25rem 0.55rem;
  border: 1px solid #d8e0e1;
  border-radius: 4px;
  color: #526570;
  background: #f3f6f5;
  font-size: 0.7rem;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.project-body h3 {
  margin-bottom: 0.85rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.project-summary {
  max-width: 46ch;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.6rem;
  border: 1px solid #dce4e5;
  border-radius: 4px;
  color: #4c6170;
  background: #f7f9f8;
  font-size: 0.7rem;
  line-height: 1.5;
}

.project-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: #aebdc6;
  text-underline-offset: 5px;
}

.project-link {
  margin-top: 1.5rem;
}

.project-link:hover,
.text-link:hover {
  color: var(--sage-ink);
  text-decoration-color: currentColor;
}

.experience-list {
  border-top: 1px solid #cad5dc;
}

.experience-item {
  border-bottom: 1px solid #cad5dc;
}

.experience-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0;
  list-style: none;
  cursor: pointer;
}

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

.experience-summary::marker {
  content: "";
}

.experience-identity {
  min-width: 0;
}

.experience-identity .eyebrow {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.11em;
}

.experience-identity h3 {
  margin-bottom: 0.3rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.experience-role {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.experience-meta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
}

.experience-dates {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.6;
  white-space: nowrap;
}

.expand-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid #d2dce2;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
}

.experience-summary:hover .expand-icon {
  border-color: #8ca999;
  background: #eaf1ec;
}

.experience-item[open] .experience-summary {
  padding-bottom: 1.15rem;
}

.experience-item[open] .expand-icon {
  border-color: #b7cdbf;
  background: #e6eee9;
  transform: rotate(45deg);
}

.experience-detail {
  max-width: 850px;
  padding: 0 3.5rem 1.75rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

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

.experience-detail ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
}

.experience-detail li {
  padding-left: 0.25rem;
}

.experience-detail li::marker {
  color: #6c917c;
}

.learning-section {
  border-top: 1px solid #dde5e4;
  border-bottom: 1px solid #dde5e4;
  background: #edf1f0;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.learning-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem;
  border: 1px solid #d7e0dd;
  border-radius: 11px;
  background: var(--white);
}

.learning-topline {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.learning-org {
  color: #415a63;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.learning-badge {
  padding: 0.24rem 0.5rem;
  border: 1px solid #d5e3da;
  border-radius: 4px;
  color: #416754;
  background: #edf4ee;
  font-size: 0.7rem;
  font-weight: 550;
  line-height: 1.5;
}

.learning-card h3 {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.learning-note {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.8;
}

.learning-card .text-link {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.71rem;
}

.learning-completion {
  margin: -0.2rem 0 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.learning-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.4rem;
  margin-top: auto;
}

.learning-card .learning-actions .text-link {
  min-height: 44px;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.75rem;
}

.learning-actions .certificate-link {
  color: var(--sage-ink);
  font-weight: 650;
}

.certificate-name {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.skills-line {
  display: flex;
  align-items: baseline;
  gap: 1.65rem;
  margin-top: 1.9rem;
  padding-top: 1.65rem;
  border-top: 1px solid #d5dedb;
}

.skills-label {
  flex-shrink: 0;
}

.skills-line .tag {
  border-color: #d2ddd7;
  background: #f5f8f5;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7.5rem);
}

.about-text {
  max-width: 36rem;
  margin: 1.65rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.interests > * {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #dce3e6;
  border-radius: 999px;
  color: #52646e;
  background: var(--white);
  font-size: 0.72rem;
  line-height: 1.6;
}

.education-card {
  padding: 2rem;
  border: 1px solid #d4e0d7;
  border-radius: 12px;
  background: #e9efea;
}

.education-mark {
  display: block;
  margin-bottom: 1.65rem;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.045em;
}

.education-card .eyebrow {
  margin-bottom: 0.75rem;
  color: #4d675b;
  font-size: 0.58rem;
  letter-spacing: 0.09em;
}

.education-card h3 {
  margin-bottom: 1.45rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.education-card dl {
  margin: 0;
  border-top: 1px solid #cddbd1;
}

.education-card dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #cddbd1;
}

.education-card dt {
  color: #5b6b64;
  font-size: 0.71rem;
}

.education-card dd {
  margin: 0;
  font-size: 0.75rem;
  text-align: right;
}

.education-card .text-link {
  margin-top: 1.25rem;
  font-size: 0.73rem;
}

.contact-section {
  color: #eef2f1;
  background: var(--ink);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 5rem;
  padding-top: 4.5rem;
  padding-bottom: 4.25rem;
}

.contact-section .eyebrow {
  margin-bottom: 1.2rem;
  color: #b8d4c5;
  font-size: 0.6rem;
}

.contact-section h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 3.7vw, 3rem);
}

.contact-section p:not(.eyebrow) {
  max-width: 33rem;
  margin: 1.1rem 0 0;
  color: #becbd3;
  font-size: 0.88rem;
  line-height: 1.85;
}

.contact-actions {
  min-width: 0;
}

.email-link {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #647d8a;
  color: var(--white);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.email-link span {
  display: inline-block;
  margin-left: 0.75rem;
  color: var(--sage);
}

.email-link:hover {
  border-color: var(--sage);
  color: #d3e8db;
}

.contact-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  margin-top: 1.15rem;
}

.contact-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.76rem;
  text-decoration: underline;
  text-decoration-color: #647d8a;
  text-underline-offset: 5px;
}

.contact-secondary a:hover {
  color: #c3dfce;
}

.copy-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  border: 1px solid #58717f;
  border-radius: 5px;
  color: #e1e9ed;
  background: transparent;
  font-size: 0.72rem;
  line-height: 1.5;
}

.js.nav-ready .copy-button {
  display: inline-flex;
}

.copy-button:hover {
  border-color: #9ebeb0;
  background: #254252;
}

.copy-status {
  display: block;
  min-height: 1.5em;
  margin-top: 0.75rem;
  color: #c7e4d2;
  font-size: 0.72rem;
}

.contact-section :focus-visible {
  outline-color: #b8dbca;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 94px;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
}

.site-footer a:hover {
  color: var(--sage-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Case studies share the portfolio's typography and spacing. */
.case-main {
  max-width: 900px;
  padding-top: 3.25rem;
  padding-bottom: 6rem;
}

.case-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.case-back:hover {
  color: var(--sage-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.case-main > .eyebrow {
  margin-bottom: 1.2rem;
}

.case-main h1 {
  max-width: 19ch;
  margin-bottom: 1.65rem;
  font-size: clamp(2.75rem, 5.4vw, 4.25rem);
  line-height: 1.08;
}

.case-summary {
  max-width: 68ch;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.case-role {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.case-role strong {
  margin-right: 0.9rem;
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-content {
  max-width: 760px;
  margin-top: 3rem;
}

.case-content > section + section {
  margin-top: 2.75rem;
}

.case-content h2 {
  margin-bottom: 1rem;
  font-size: 1.95rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.case-content h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.case-content p,
.case-content ul,
.case-content ol {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.case-content ul,
.case-content ol {
  padding-left: 1.3rem;
}

.case-content li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

.case-content li::marker {
  color: #587e69;
}

.case-content a,
.about-text a {
  color: var(--sage-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-content figure {
  margin: 1.75rem 0;
}

.case-content figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-content figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

.case-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid #d7e2d9;
  border-radius: 9px;
  background: #edf2ed;
}

.case-downloads h2,
.case-downloads p {
  width: 100%;
  margin-bottom: 0.5rem;
}

.case-downloads h2 {
  font-size: 1.65rem;
}

.case-downloads > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {
  .container {
    width: min(1180px, calc(100% - 64px));
  }

  .nav-links {
    gap: 1.35rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

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

  .hero h1 {
    font-size: clamp(3.25rem, 6.7vw, 4.125rem);
  }

  .hero-art {
    width: 100%;
    max-width: 680px;
    min-height: 360px;
    aspect-ratio: 1.55;
  }

  .focus-inner {
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    justify-content: flex-start;
  }

  .focus-label {
    width: 100%;
  }

  .section-heading {
    gap: 2.25rem;
  }

  .section-intro {
    max-width: 19rem;
  }

  .project-body {
    padding: 1.55rem;
  }

  .project-body h3 {
    font-size: 1.7rem;
  }

  .about-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 2.75rem;
  }

  .education-card {
    padding: 1.65rem;
  }

  .contact-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 6rem;
  }

  section[id] {
    scroll-margin-top: 6rem;
  }

  .container {
    width: calc(100% - 40px);
  }

  .nav-wrap {
    flex-wrap: wrap;
    gap: 0 1rem;
    min-height: 76px;
  }

  .wordmark {
    min-height: 76px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem 1.5rem;
    padding: 0.1rem 0 1rem;
    font-size: 0.8rem;
  }

  .nav-links .nav-contact {
    min-height: 40px;
  }

  .js.nav-ready .menu-button {
    display: inline-flex;
  }

  .js.nav-ready .nav-links {
    display: none;
  }

  .js.nav-ready .nav-links.is-open,
  .js.nav-ready .nav-wrap.is-open .nav-links {
    display: flex;
  }

  .hero {
    gap: 2.25rem;
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }

  .hero .eyebrow {
    font-size: 0.59rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    margin-top: 1.2rem;
    margin-bottom: 1.35rem;
    font-size: clamp(2.75rem, 8.5vw, 3.75rem);
  }

  .hero-intro {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 0.6rem 1.35rem;
    margin-top: 1.65rem;
  }

  .hero-location {
    margin-top: 1.35rem;
  }

  .hero-art {
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 1.15;
    padding: 1.35rem;
    border-radius: 12px;
  }

  .thinking-art {
    margin-top: 0.65rem;
    margin-bottom: 0.3rem;
  }

  .art-top {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .art-caption {
    font-size: 1rem;
  }

  .focus-inner {
    gap: 0.65rem 1.35rem;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
    font-size: 0.72rem;
  }

  .focus-label {
    margin-bottom: 0.15rem;
  }

  .focus-inner > span + span {
    gap: 0.5rem;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #work + #experience {
    padding-top: 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  h2 {
    font-size: clamp(2.05rem, 6.7vw, 2.8rem);
  }

  .section-heading .eyebrow {
    margin-bottom: 0.8rem;
  }

  .section-intro {
    max-width: 35rem;
    font-size: 0.86rem;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .project-body {
    padding: 1.5rem;
  }

  .project-body h3 {
    font-size: 1.8rem;
  }

  .project-summary {
    max-width: none;
  }

  .experience-summary {
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .experience-identity h3 {
    font-size: 1.35rem;
  }

  .experience-role {
    font-size: 0.78rem;
  }

  .experience-meta {
    max-width: 8rem;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    padding-top: 0.15rem;
  }

  .experience-dates {
    font-size: 0.62rem;
    text-align: right;
    white-space: normal;
  }

  .expand-icon {
    width: 29px;
    height: 29px;
    font-size: 1.2rem;
  }

  .experience-detail {
    padding-right: 0;
    font-size: 0.85rem;
  }

  .learning-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .learning-card {
    padding: 1.5rem;
  }

  .learning-topline {
    margin-bottom: 1.25rem;
  }

  .learning-card h3 {
    font-size: 1.55rem;
  }

  .skills-line {
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .about-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .about-text {
    margin-top: 1.35rem;
    font-size: 0.93rem;
  }

  .education-card {
    padding: 1.65rem;
  }

  .education-card h3 {
    font-size: 1.8rem;
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .contact-section h2 {
    font-size: clamp(2.05rem, 6.7vw, 2.8rem);
  }

  .contact-section .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .email-link {
    font-size: 1.2rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    text-align: center;
  }

  .case-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .case-back {
    margin-bottom: 1.75rem;
  }

  .case-main h1 {
    font-size: clamp(2.6rem, 9vw, 3.5rem);
  }

  .case-summary {
    font-size: 1rem;
  }

  .case-content {
    margin-top: 2.25rem;
  }

  .case-content > section + section {
    margin-top: 2.25rem;
  }

  .case-content h2 {
    font-size: 1.8rem;
  }

  .case-content p,
  .case-content ul,
  .case-content ol {
    font-size: 0.93rem;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .hero-art {
    aspect-ratio: 1.06;
    padding: 1.15rem;
  }

  .project-body,
  .learning-card {
    padding: 1.3rem;
  }

  .experience-summary {
    gap: 0.75rem;
  }

  .experience-meta {
    max-width: 6.2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  a,
  button,
  .expand-icon {
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
  }
}

@media (forced-colors: active) {
  .button,
  .tag,
  .project-status,
  .learning-badge,
  .interests > * {
    border: 1px solid ButtonText;
  }

  .tiny-dot,
  .focus-inner > span + span::before,
  .menu-icon::before,
  .menu-icon::after {
    background: CanvasText;
  }

  :focus-visible {
    outline-color: Highlight;
  }
}
