:root {
  --ink: #211f29;
  --paper: #f5efe3;
  --mint: #c9f2d3;
  --blue: #a9d1f5;
  --coral: #ef8972;
  --yellow: #f3d469;
  --lilac: #d6c2ef;
  --white: #fffdf9;
  --line: 2px solid var(--ink);
  --radius: 2rem;
  --shadow: 10px 12px 0 var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.shell { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-200%); background: var(--ink); color: white; padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }

.eyebrow, .section-kicker { margin: 0; font-size: .78rem; line-height: 1; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero { padding: 2rem 0 clamp(5rem, 9vw, 8rem); }
.social-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; margin-bottom: clamp(4rem, 8vw, 7rem); }
.social-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .8rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.social-chips a:hover, .social-chips a:focus-visible { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); outline: none; }
.social-chips svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.hero-intro { margin: 0 0 1rem .25rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1; font-weight: 400; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 { margin: 0 0 2rem; max-width: 820px; font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-size: clamp(3.25rem, 5.25vw, 4.5rem); line-height: .97; font-weight: 700; letter-spacing: -.04em; }
.marker { display: inline-block; padding: .02em .14em .06em; border: var(--line); border-radius: .33em; box-shadow: 0 .13em 0 var(--ink); white-space: nowrap; }
.marker-mint { background: var(--mint); transform: rotate(-.7deg); }
.marker-blue { background: var(--blue); transform: rotate(.5deg); }
.hero-copy { max-width: 870px; margin: 0; font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: clamp(1.08rem, 2vw, 1.4rem); line-height: 1.52; font-weight: 500; letter-spacing: -.012em; }

.snapshot { margin-top: 0; padding-left: 2rem; border-left: var(--line); }
.snapshot h2, .section-heading h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
.snapshot h2 { margin: 0 0 1.7rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.snapshot dl { margin: 0; border-top: 1px solid var(--ink); }
.snapshot dl div { padding: 1.2rem 0; border-bottom: 1px solid var(--ink); }
.snapshot dt { margin-bottom: .45rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.snapshot dd { margin: 0; font-size: 1.15rem; font-weight: 700; }

.toolkit { margin-bottom: clamp(5.5rem, 8vw, 8rem); padding: clamp(2rem, 3vw, 3rem); border: var(--line); border-radius: var(--radius); background: var(--mint); box-shadow: var(--shadow); }
.toolkit h2 { margin: .65rem 0 1.8rem; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 800; line-height: 1.02; }
.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.skill-card { display: block; min-width: 0; padding: 1.25rem; border: 1.5px solid var(--ink); border-radius: 1rem; background: var(--white); }
.skill-card h3 { margin: 0 0 .85rem; font-size: 1.15rem; }
.skill-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.skill-card li { min-width: 0; padding: .25rem .45rem .48rem 0; border-top: 1px solid #d7d3cc; font-size: 1.025rem; }
.skill-card:last-child { grid-column: span 2; }
.skill-card:last-child ul { grid-template-columns: repeat(4, 1fr); }

.section-heading { margin-bottom: 2.25rem; }
.section-heading .section-kicker { margin-bottom: 1.2rem; }
.section-heading h2 { max-width: 780px; margin: 0; font-size: clamp(2.6rem, 4.5vw, 4.6rem); line-height: .98; }
.section-heading > p:last-child { margin: 0 0 .4rem; max-width: 520px; font-size: 1.05rem; line-height: 1.5; }

.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: stretch; }
.project-card { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.project-card:hover, .project-card:focus-visible { transform: translate(-4px, -5px); box-shadow: 14px 17px 0 var(--ink); outline: none; }
.project-mint { background: var(--mint); }
.project-blue { background: var(--blue); }
.project-coral { background: var(--coral); }
.project-yellow { background: var(--yellow); }
.project-lilac { background: var(--lilac); }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; font-size: 1rem; font-weight: 800; }
.project-meta span:first-child { padding: .45rem .8rem; border: 1.5px solid var(--ink); border-radius: 999px; }
.project-media { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; min-height: 220px; overflow: hidden; border: 1.5px solid rgba(33,31,41,.45); border-radius: 1.4rem; background: rgba(255,255,255,.3); }
.project-media img { display: block; width: auto; max-width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; border-radius: .8rem; box-shadow: 0 .5rem 1.4rem rgba(33,31,41,.24); }
.project-copy { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: end; margin-top: auto; padding-top: 1.6rem; }
.project-copy-panel { margin-top: 1.6rem; padding: 1.4rem; border: 1.5px solid var(--ink); border-radius: 1.25rem; background: var(--paper); }
.project-copy h3 { margin: 0 0 1rem; font-size: clamp(1.85rem, 2.85vw, 2.85rem); line-height: 1; letter-spacing: -.05em; }
.project-copy p { margin: 0; max-width: 650px; font-size: 1.25rem; line-height: 1.5; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.metrics li { padding-top: 1rem; border-top: 1px solid var(--ink); }
.metrics strong, .metrics span { display: block; }
.metrics strong { font-size: clamp(1.45rem, 3vw, 2.5rem); line-height: 1; }
.metrics span { margin-top: .45rem; font-size: 1rem; line-height: 1.25; font-weight: 700; }

.experience { padding-block: clamp(6rem, 9vw, 8rem); }
.experience-heading h2 { max-width: 820px; }
.role-list { display: grid; gap: 2rem; }
.role { display: grid; grid-template-columns: 130px minmax(420px, 1.75fr) minmax(260px, .8fr); gap: 1.75rem; padding: 2.2rem; border: var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 8px 10px 0 var(--ink); }
.role-date { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.role-body h3 { margin: 0; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -.035em; white-space: nowrap; }
.role-title { margin: .4rem 0 1.3rem; font-weight: 700; font-size: 1.1rem;  }
.role-body ul { margin: 0; padding-left: 1.2rem; }
.role-body li { margin: .55rem 0; line-height: 1.45; font-size: 1.1rem; }
.role-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0; align-content: start; }
.role-results div { padding-top: 1rem; border-top: 1px solid var(--ink); }
.role-results dt { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 800; letter-spacing: -.05em; }
.role-results dd { margin: .3rem 0 0; font-size: 0.95rem; line-height: 1.25; font-weight: 700; }

.has-motion .project-card, .has-motion .role, .has-motion .skill-card { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease, box-shadow .18s ease; }
.has-motion .project-card.is-visible, .has-motion .role.is-visible, .has-motion .skill-card.is-visible { opacity: 1; transform: translateY(0); }
.has-motion .project-card.is-visible:hover, .has-motion .project-card.is-visible:focus-visible { transform: translate(-4px, -5px); }

@media (min-width: 1500px) {
  .project-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-card:last-child { grid-column: 1 / -1; }
  .role { grid-template-columns: 1fr; gap: .7rem; }
  .role-body h3 { white-space: normal; }
  .role-results { margin-top: 1rem; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 30px, 700px); }
  .hero { padding-top: 1rem; }
  .social-chips { justify-content: flex-start; margin-bottom: 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 5rem); }
  .snapshot { padding-left: 1.2rem; }
  .toolkit { padding: 2rem 1.4rem; }
  .skill-grid, .project-list, .project-copy, .role { grid-template-columns: 1fr; }
  .skill-card { grid-template-columns: 1fr; }
  .skill-card:last-child { grid-column: auto; }
  .skill-card:last-child ul { grid-template-columns: 1fr 1fr; }
  .project-card { padding: 1.25rem; border-radius: 1.5rem; box-shadow: 7px 8px 0 var(--ink); }
  .project-media { min-height: 270px; }
  .project-copy { gap: 1.4rem; }
  .role { gap: .6rem; }
  .role-date { margin-bottom: .7rem; }
  .role-results { margin-top: 1rem; }
}

@media (max-width: 520px) {
  .hero h1 br { display: none; }
  .marker { white-space: normal; }
  .skill-card ul { grid-template-columns: 1fr; }
  .metrics, .role-results { grid-template-columns: 1fr 1fr; }
}

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