:root {
  color-scheme: light;
  --background: #f9f8f6;
  --foreground: #1a1a1a;
  --muted-background: #ebe5de;
  --muted-foreground: #6c6863;
  --accent: #d4af37;
  --accent-foreground: #ffffff;
  --line-subtle: rgba(26, 26, 26, 0.14);
  --line-strong: #1a1a1a;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --page-gutter: clamp(28px, 7vw, 132px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}

a {
  color: inherit;
}

em {
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineReveal {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes quietCue {
  0% {
    transform: translateX(-120%);
  }

  46%,
  100% {
    transform: translateX(120%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms var(--ease-luxury),
    transform 900ms var(--ease-luxury);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  --reveal-delay: 120ms;
}

.delay-2 {
  --reveal-delay: 240ms;
}

.delay-3 {
  --reveal-delay: 360ms;
}

.delay-4 {
  --reveal-delay: 480ms;
}

.section-heading.reveal {
  position: relative;
}

.section-heading.reveal::after {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 1px;
  background: var(--line-subtle);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

.section-heading.reveal.is-visible::after {
  animation: lineReveal 1100ms var(--ease-luxury) forwards;
  animation-delay: calc(var(--reveal-delay, 0ms) + 220ms);
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.11'/%3E%3C/svg%3E");
}

.editorial-grid {
  position: fixed;
  inset: 0 var(--page-gutter);
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}

.editorial-grid span {
  width: 1px;
  height: 100vh;
  background: rgba(26, 26, 26, 0.16);
}

.editorial-grid span:nth-child(1) {
  justify-self: start;
}

.editorial-grid span:nth-child(2),
.editorial-grid span:nth-child(3) {
  justify-self: end;
}

.editorial-grid span:nth-child(4) {
  position: absolute;
  right: 0;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px var(--page-gutter);
  background: rgba(249, 248, 246, 0.86);
  border-bottom: 1px solid var(--line-subtle);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: clamp(116px, 12vw, 174px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  transition: color 500ms var(--ease-luxury);
}

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

.hero {
  display: grid;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(48px, 5.8vw, 132px);
  align-items: end;
  width: 100%;
  padding: clamp(46px, 6vw, 92px) var(--page-gutter) clamp(64px, 8vw, 122px);
}

.hero-copy {
  padding-left: clamp(12px, 2vw, 34px);
  padding-bottom: clamp(0px, 4vw, 54px);
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.7;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.eyebrow span {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--foreground);
}

.hero h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1120px;
  font-size: clamp(4.6rem, 9.2vw, 10rem);
  line-height: 0.96;
}

.hero h1 em {
  display: block;
}

.hero-text {
  max-width: 760px;
  margin: 42px 0 0 clamp(8px, 1.4vw, 26px);
  color: var(--muted-foreground);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.82;
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 14px 30px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 500ms var(--ease-luxury),
    background 500ms var(--ease-luxury),
    border-color 500ms var(--ease-luxury),
    box-shadow 500ms var(--ease-luxury),
    transform 500ms var(--ease-luxury);
}

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

.button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.button.primary {
  background: var(--foreground);
  color: var(--accent-foreground);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.button.primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.button-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 500ms var(--ease-luxury);
}

.button.primary:hover .button-fill,
.button.primary:focus-visible .button-fill {
  transform: translateX(0);
}

.button-label {
  position: relative;
  z-index: 1;
}

.button.secondary {
  border-color: var(--foreground);
  background: transparent;
  color: var(--foreground);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--foreground);
  color: var(--background);
}

.button.inverse {
  border-color: var(--background);
}

.button.secondary.inverse {
  color: var(--background);
}

.button.secondary.inverse:hover,
.button.secondary.inverse:focus-visible {
  background: var(--background);
  color: var(--foreground);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  transition: transform 1800ms var(--ease-luxury);
}

.hero-visual.is-visible:not(:hover) {
  animation: softFloat 9000ms var(--ease-luxury) 1000ms infinite;
}

.hero-visual:hover {
  transform: scale(1.012);
}

.editorial-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-top: 1px solid var(--foreground);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  background: var(--muted-background);
}

.editorial-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) saturate(0.78);
  transition:
    filter 1800ms var(--ease-luxury),
    transform 1800ms var(--ease-luxury);
}

.editorial-photo:hover img,
.hero-visual:hover .editorial-photo img {
  filter: grayscale(0.25) saturate(0.86);
  transform: scale(1.04);
}

.hero-photo {
  position: absolute;
  inset: 46px 72px 88px 28px;
  opacity: 0.72;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(249, 248, 246, 0.08), rgba(249, 248, 246, 0.34)),
    linear-gradient(90deg, rgba(26, 26, 26, 0.18), transparent 62%);
  content: "";
}

.vertical-label {
  position: absolute;
  top: 42px;
  left: -38px;
  color: var(--muted-foreground);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.folio-card {
  position: absolute;
  border-top: 1px solid var(--foreground);
  background: rgba(249, 248, 246, 0.9);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(16px);
  transition:
    box-shadow 700ms var(--ease-luxury),
    transform 700ms var(--ease-luxury);
}

.folio-card:hover {
  box-shadow: var(--shadow-medium), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.feature-card {
  top: 0;
  right: 0;
  width: min(480px, 88%);
  min-height: 360px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.74)),
    repeating-linear-gradient(90deg, rgba(249, 248, 246, 0.18) 0 1px, transparent 1px 24px);
  color: var(--background);
  box-shadow: var(--shadow-medium), inset 0 0 0 1px rgba(249, 248, 246, 0.08);
}

.feature-card .panel-label {
  color: rgba(249, 248, 246, 0.66);
}

.feature-card strong {
  display: block;
  max-width: 300px;
  margin-top: 96px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.96;
}

.index-card {
  left: 0;
  bottom: 112px;
  width: min(470px, 88%);
  padding: 28px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line-subtle);
  border-left: 1px solid var(--line-subtle);
}

.focus-grid span {
  min-height: 86px;
  padding: 18px;
  border-right: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  color: var(--foreground);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chart-card {
  right: 42px;
  bottom: 0;
  width: min(320px, 68%);
  padding: 26px;
}

.bars {
  display: flex;
  height: 178px;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
}

.bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--foreground));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: height 700ms var(--ease-luxury);
}

.hero-visual.is-visible .bars span {
  animation: barRise 1200ms var(--ease-luxury) forwards;
}

.hero-visual.is-visible .bars span:nth-child(2) {
  animation-delay: 90ms;
}

.hero-visual.is-visible .bars span:nth-child(3) {
  animation-delay: 180ms;
}

.hero-visual.is-visible .bars span:nth-child(4) {
  animation-delay: 270ms;
}

.hero-visual.is-visible .bars span:nth-child(5) {
  animation-delay: 360ms;
}

.hero-visual.is-visible .bars span:nth-child(6) {
  animation-delay: 450ms;
}

.section {
  position: relative;
  width: 100%;
  padding: clamp(96px, 12vw, 164px) var(--page-gutter);
}

.section::before,
.section::after {
  position: absolute;
  right: var(--page-gutter);
  left: var(--page-gutter);
  height: 1px;
  background: var(--line-subtle);
  content: "";
  pointer-events: none;
}

.section::before {
  top: 0;
}

.section::after {
  bottom: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(360px, 5fr);
  gap: clamp(84px, 10vw, 210px);
  align-items: center;
}

.intro > div:first-child {
  margin-left: clamp(42px, 5vw, 116px);
}

.intro h2 {
  max-width: 820px;
}

h2 {
  max-width: 920px;
  font-size: clamp(3rem, 5.7vw, 6.6rem);
  line-height: 1.05;
}

.intro p:last-child {
  max-width: 620px;
  margin: 0 0 0 clamp(132px, 11vw, 244px);
  color: var(--muted-foreground);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.78;
}

.drop-cap::first-letter {
  float: left;
  margin: 0.08em 0.14em 0 0;
  color: var(--foreground);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 5.8rem;
  line-height: 0.76;
}

.section-heading {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(36px, 7vw, 116px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 86px);
  padding-left: clamp(8px, 1.8vw, 30px);
}

.timeline {
  display: grid;
}

#experience {
  background: var(--background);
}

.role-card {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--foreground);
  padding: clamp(36px, 5vw, 62px) clamp(12px, 2.5vw, 42px);
  transition:
    padding-left 700ms var(--ease-luxury),
    border-color 700ms var(--ease-luxury),
    background 700ms var(--ease-luxury);
}

.role-card:hover {
  padding-left: clamp(22px, 3vw, 56px);
  border-color: var(--accent);
  background: rgba(235, 229, 222, 0.28);
}

.role-card h3,
.project-card h3,
.skill-grid h3,
.credential-list h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.04;
}

.credential-list h3 {
  max-width: 780px;
  font-size: clamp(1.6rem, 2.6vw, 3.2rem);
  line-height: 1.08;
}

.role-date,
.company,
.role-card p,
.skill-grid p,
.credential-list p {
  margin: 10px 0 0;
  color: var(--muted-foreground);
}

.role-date,
.project-meta span,
.credential-list span,
.skill-grid span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.projects-section {
  border-bottom: 0;
}

.projects-section .section-heading h2 {
  max-width: 1040px;
  font-size: clamp(2.8rem, 4.9vw, 5.8rem);
  transform: translateX(clamp(-260px, -14vw, -150px));
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--foreground);
  border-top: 1px solid var(--foreground);
  border-bottom: 1px solid var(--foreground);
}

.project-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 5vw, 70px);
  background: var(--background);
  transition:
    background 700ms var(--ease-luxury),
    box-shadow 700ms var(--ease-luxury),
    transform 700ms var(--ease-luxury);
}

.project-card:hover {
  background: rgba(235, 229, 222, 0.42);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

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

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

.project-card.ongoing {
  background:
    linear-gradient(90deg, var(--accent) 0 4px, transparent 4px),
    var(--background);
  color: var(--foreground);
}

.project-card.ongoing p,
.project-card.ongoing li {
  color: var(--muted-foreground);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: clamp(42px, 6vw, 74px);
}

.project-card h3 {
  max-width: 720px;
  font-size: clamp(2.35rem, 3.9vw, 4.8rem);
  text-wrap: balance;
}

.project-card p {
  max-width: 780px;
  margin: 28px 0 0 clamp(6px, 1vw, 18px);
  color: var(--muted-foreground);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.78;
}

.project-points {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 40px 0 0 clamp(6px, 1vw, 18px);
  padding: 0;
  color: var(--muted-foreground);
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 22px;
}

.project-points li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.project-card a {
  width: fit-content;
  margin-top: 42px;
  border-bottom: 1px solid currentColor;
  color: var(--foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 500ms var(--ease-luxury);
}

.project-card.ongoing a {
  color: var(--foreground);
}

.project-card a:hover,
.project-card a:focus-visible {
  color: var(--accent);
}

.skill-section {
  max-width: none;
  background: var(--foreground);
  color: var(--background);
}

.skill-section > * {
  width: 100%;
}

.skill-section .section-kicker,
.skill-section p {
  color: rgba(249, 248, 246, 0.68);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(249, 248, 246, 0.22);
  border-left: 1px solid rgba(249, 248, 246, 0.22);
}

.skill-grid article {
  min-height: 330px;
  padding: clamp(36px, 4.8vw, 62px);
  border-right: 1px solid rgba(249, 248, 246, 0.22);
  border-bottom: 1px solid rgba(249, 248, 246, 0.22);
  transition:
    background 700ms var(--ease-luxury),
    transform 700ms var(--ease-luxury);
}

.skill-grid article:hover {
  background: rgba(249, 248, 246, 0.06);
  transform: translateY(-4px);
}

.skill-grid h3 {
  margin-top: 84px;
}

.education-section {
  border-top: 0;
}

.education-section::before {
  display: none;
}

.education-section .section-heading.reveal::after {
  display: none;
}

.education-section .section-heading h2 {
  transform: translateX(clamp(24px, 2.3vw, 50px));
}

.education-section .section-heading,
.education-section .credential-list {
  margin-right: clamp(0px, 3vw, 56px);
  margin-left: clamp(0px, 3vw, 56px);
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--foreground);
}

.credential-list article {
  min-height: 210px;
  padding: clamp(34px, 4.5vw, 58px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.credential-list article:nth-child(odd) {
  border-right: 1px solid var(--line-subtle);
}

.credential-list article:nth-child(even) {
  padding-left: clamp(34px, 4.5vw, 58px);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
  width: calc(100% - (var(--page-gutter) * 2));
  margin: clamp(44px, 7vw, 88px) var(--page-gutter);
  padding: clamp(62px, 8vw, 108px) clamp(38px, 7vw, 118px);
  background: var(--foreground);
  color: var(--background);
}

.resume-section {
  width: calc(100% - (var(--page-gutter) * 2));
  margin: clamp(44px, 7vw, 88px) var(--page-gutter) 0;
  padding: clamp(52px, 6vw, 88px) clamp(28px, 5vw, 88px);
  border-top: 1px solid var(--foreground);
  border-bottom: 1px solid var(--line-subtle);
}

.resume-section h2 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5vw, 5.8rem);
}

.resume-section p:not(.section-kicker) {
  max-width: 700px;
  margin: 28px 0 0 clamp(6px, 1vw, 18px);
  color: var(--muted-foreground);
  line-height: 1.78;
}

.resume-section .button {
  width: fit-content;
  min-width: min(340px, 100%);
  margin-top: 34px;
}

.resume-download {
  isolation: isolate;
}

.resume-download::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.16), transparent);
  content: "";
  transform: translateX(-120%);
  pointer-events: none;
}

.resume-section.is-visible .resume-download::after {
  animation: quietCue 1400ms var(--ease-luxury) 620ms 1;
}

.contact-band .section-kicker,
.contact-band p {
  color: rgba(249, 248, 246, 0.7);
}

.contact-band h2 {
  max-width: 1180px;
}

.contact-band p {
  max-width: 680px;
  margin: 30px 0 0 clamp(6px, 1vw, 18px);
  line-height: 1.78;
}

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

footer {
  width: 100%;
  padding: 28px var(--page-gutter) 48px;
  border-top: 1px solid var(--line-subtle);
  color: var(--muted-foreground);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero,
  .intro,
  .section-heading,
  .role-card,
  .resume-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .intro p:last-child {
    margin-left: 0;
  }

  .intro > div:first-child {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 540px;
  }

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

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

  .resume-section .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .editorial-grid,
  .vertical-label {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-visual {
    min-height: 500px;
  }

  .feature-card {
    width: 92%;
    min-height: 300px;
    padding: 28px;
  }

  .feature-card strong {
    margin-top: 72px;
  }

  .index-card {
    bottom: 112px;
    width: 92%;
  }

  .chart-card {
    right: 0;
    width: 78%;
  }

  .skill-grid,
  .project-grid,
  .credential-list {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-large,
  .project-card-wide {
    grid-column: span 1;
    min-height: auto;
  }

  .credential-list article,
  .credential-list article:nth-child(even),
  .credential-list article:nth-child(odd) {
    padding-right: clamp(6px, 3vw, 18px);
    padding-left: clamp(6px, 3vw, 18px);
    border-right: 0;
  }

  .education-section .section-heading,
  .education-section .credential-list {
    margin-right: 0;
    margin-left: 0;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }

  .hero-visual:hover,
  .skill-grid article:hover {
    transform: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
