:root {
  --ink: #1b2d2e;
  --ink-soft: #59696a;
  --paper: #f4f2ec;
  --surface: #ffffff;
  --surface-soft: #e7ecea;
  --accent: #2d7471;
  --accent-dark: #215a58;
  --accent-pale: #dfeae8;
  --line: rgba(27, 45, 46, 0.15);
  --max: 1180px;
  --shadow: 0 24px 60px rgba(27, 45, 46, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  min-height: 78px;
  margin: 0 auto;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.9);
  backdrop-filter: blur(16px);
}
.wordmark { color: var(--ink); font-size: 1rem; font-weight: 850; letter-spacing: -0.025em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--ink-soft); font-size: 0.86rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--accent-dark); }
.nav-resume { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.55); }

.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--accent-dark); font-size: 0.74rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }

.hero {
  min-height: 720px;
  padding-block: 66px 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: 76px;
  align-items: center;
}
.hero h1 { max-width: 730px; margin-bottom: 27px; font-size: clamp(3.45rem, 6.5vw, 6.4rem); line-height: 0.94; letter-spacing: -0.07em; }
.hero-intro { max-width: 700px; margin-bottom: 32px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent-dark); }
.button-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.65); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.availability { margin-top: 32px; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; }
.availability span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(45, 116, 113, 0.12); }

.hero-portrait { margin: 0; position: relative; min-height: 590px; overflow: hidden; border-radius: 25px; background: var(--surface-soft); box-shadow: var(--shadow); }
.hero-portrait > img { width: 100%; height: 590px; object-fit: cover; object-position: 41% center; }
.portrait-details { position: absolute; top: 22px; right: 22px; margin: 0; width: min(245px, calc(100% - 44px)); padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); }
.portrait-details div + div { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.portrait-details dt { color: var(--ink-soft); font-size: 0.64rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.portrait-details dd { margin: 2px 0 0; font-size: 0.78rem; font-weight: 750; }

.profile-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding-inline: max(20px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.46); }
.profile-strip div { min-height: 118px; padding: 26px 25px 23px 0; border-right: 1px solid var(--line); }
.profile-strip div:not(:first-child) { padding-left: 25px; }
.profile-strip div:last-child { border-right: 0; }
.profile-strip strong { display: block; color: var(--ink); font-size: 1.2rem; line-height: 1.2; }
.profile-strip span { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 0.77rem; line-height: 1.35; }

.about, .other-work, .experience { padding-block: 108px; }
.section-heading { margin-bottom: 50px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 72px; align-items: end; }
.section-heading h2, .story-heading h2 { max-width: 790px; margin: 0; font-size: clamp(2.75rem, 5vw, 5rem); line-height: 1; letter-spacing: -0.06em; }
.section-heading > p { margin: 0 0 6px; color: var(--ink-soft); font-size: 1.04rem; }

.process-map { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.process-map article { min-height: 275px; padding: 29px 27px 27px; position: relative; }
.process-map article:first-child { padding-left: 0; }
.process-map article + article { border-left: 1px solid var(--line); }
.process-map article:not(:last-child)::after { position: absolute; z-index: 2; right: -10px; top: 49px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent-dark); font-size: 0.72rem; content: "→"; }
.process-map span { color: var(--accent-dark); font-size: 0.71rem; font-weight: 850; letter-spacing: 0.1em; }
.process-map h3 { margin: 64px 0 13px; font-size: 1.45rem; letter-spacing: -0.035em; }
.process-map p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.approach-note { margin-top: 36px; display: grid; grid-template-columns: 230px 1fr; gap: 35px; align-items: start; }
.approach-note strong { color: var(--accent-dark); font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; }
.approach-note p { max-width: 790px; margin: 0; color: var(--ink-soft); }

.selected-work { padding-block: 108px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.58); }
.work-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.work-heading { margin-bottom: 52px; align-items: center; }
.work-heading > p { margin: 0; align-self: center; }
.work-brand img { width: min(100%, 335px); height: auto; }
.case-study { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr); gap: 58px; align-items: center; }
.case-lead { margin-bottom: 36px; color: var(--ink-soft); font-size: clamp(1.17rem, 1.7vw, 1.4rem); line-height: 1.55; }
.case-role { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.case-role h3 { margin-bottom: 14px; font-size: 0.74rem; letter-spacing: 0.11em; text-transform: uppercase; }
.case-role ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
.case-role li { position: relative; margin-bottom: 8px; padding-left: 16px; }
.case-role li::before { position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); content: ""; }
.product-links { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 9px; }
.product-links a { min-height: 45px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 0.8rem; font-weight: 800; text-decoration: none; }
.product-links a:hover, .product-links a:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.product-links .product-link-primary { border-color: var(--ink); background: var(--ink); color: white; }
.product-links .product-link-primary:hover, .product-links .product-link-primary:focus-visible { background: var(--accent-dark); color: white; }
.product-links .store-badge { min-height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; }
.product-links .store-badge:hover, .product-links .store-badge:focus-visible { border: 0; background: transparent; }
.store-badge img { width: auto; height: 45px; }

.product-carousel { width: min(100%, 520px); justify-self: end; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-soft); }
.carousel-stage { height: 500px; overflow: hidden; border-bottom: 1px solid var(--line); }
.carousel-track { width: 100%; height: 100%; display: flex; transform: translate3d(0, 0, 0); transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.carousel-slide { width: 100%; height: 100%; margin: 0; padding: 20px 55px 0; flex: 0 0 100%; display: grid; place-items: end center; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 22px 22px rgba(27, 45, 46, 0.2)); }
.carousel-meta { min-height: 132px; padding: 17px 18px; display: grid; grid-template-columns: 41px 1fr 41px; gap: 15px; align-items: center; background: var(--surface); }
.carousel-arrow { width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 1.05rem; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.carousel-arrow:disabled { cursor: default; opacity: 0.35; }
.carousel-copy { text-align: center; }
.carousel-copy > span { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.1em; }
.carousel-copy h3 { margin-bottom: 5px; font-size: 1.08rem; }
.carousel-copy p { max-width: 410px; margin: 0 auto; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.5; }
.carousel-dots { padding: 0 0 17px; display: flex; justify-content: center; gap: 8px; background: var(--surface); }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #bcc8c6; cursor: pointer; }
.carousel-dots button.is-active { width: 27px; background: var(--accent); }

.case-facts { margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-facts div { padding: 24px; border-right: 1px solid var(--line); }
.case-facts div:first-child { padding-left: 0; }
.case-facts div:last-child { border-right: 0; }
.case-facts dt { color: var(--accent-dark); font-size: 0.71rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.case-facts dd { margin: 7px 0 0; color: var(--ink-soft); font-size: 0.84rem; line-height: 1.45; }
.decision-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.decision-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.decision-grid span { color: var(--accent-dark); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.decision-grid h3 { margin: 22px 0 13px; font-size: 1.24rem; line-height: 1.25; }
.decision-grid p { margin: 0; color: var(--ink-soft); font-size: 0.91rem; }
.stack-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-soft); font-size: 0.73rem; font-weight: 750; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-card { min-height: 380px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.64); }
.project-identity { display: flex; align-items: center; gap: 17px; }
.project-logo { width: 68px; height: 68px; flex: 0 0 auto; border-radius: 17px; object-fit: cover; }
.project-logo-round { border-radius: 50%; }
.project-identity h3 { margin: 0 0 2px; font-size: 1.35rem; }
.project-identity p { margin: 0; color: var(--ink-soft); font-size: 0.82rem; }
.project-card > p { max-width: 600px; margin: 42px 0 32px; color: var(--ink-soft); }
.project-footer { margin-top: auto; padding-top: 19px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.7rem; }
.project-footer strong { color: var(--accent-dark); text-align: right; }

.personal-story { padding-block: 108px; background: var(--ink); color: white; }
.story-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.story-heading { margin-bottom: 57px; }
.story-heading .eyebrow { color: #a9cfca; }
.story-heading h2 { color: white; }
.story-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.85fr); gap: 80px; align-items: start; }
.story-copy { max-width: 700px; }
.story-copy p { color: #c4d0cf; font-size: 1.02rem; }
.story-copy .story-lead { color: white; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.52; }
.personal-notes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.26); }
.personal-notes div { min-height: 205px; padding: 24px 22px 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.17); }
.personal-notes div:nth-child(even) { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.17); }
.personal-notes span { color: #a9cfca; font-size: 0.67rem; font-weight: 850; letter-spacing: 0.1em; }
.personal-notes h3 { margin: 29px 0 8px; font-size: 1.05rem; }
.personal-notes p { margin: 0; color: #b9c7c6; font-size: 0.82rem; }

.experience { border-top: 1px solid var(--line); }
.experience-list { border-top: 1px solid var(--ink); }
.experience-list article { padding-block: 29px; display: grid; grid-template-columns: 112px minmax(220px, 0.72fr) 118px minmax(0, 1.28fr); gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.experience-logo { width: 104px; height: 72px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); font-size: 0.74rem; font-weight: 900; }
.experience-logo-personal { background: var(--ink); color: #b8d8d4; }
.experience-logo-amazon { position: relative; font-size: 0.69rem; font-weight: 800; letter-spacing: -0.04em; }
.experience-logo-amazon::after { position: absolute; left: 34px; bottom: 16px; width: 36px; height: 7px; border-bottom: 2px solid var(--accent); border-radius: 50%; content: ""; transform: rotate(4deg); }
.experience-logo-image { padding: 7px; overflow: hidden; }
.experience-logo-image img { width: 100%; height: 100%; object-fit: contain; }
.experience-logo-uw { background: #39275b; }
.experience-logo-uw img { width: 58px; height: 58px; }
.experience-logo-centro { padding-inline: 6px; }
.experience-role h3 { margin: 1px 0 4px; font-size: 1.01rem; }
.experience-role p, .experience-list article > p { margin: 0; color: var(--ink-soft); }
.experience-role p { font-size: 0.8rem; }
.experience-list time { color: var(--accent-dark); font-size: 0.77rem; font-weight: 850; white-space: nowrap; }

.education { margin-bottom: 108px; padding: 34px; display: grid; grid-template-columns: 62px 1fr auto; gap: 23px; align-items: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.6); }
.education-mark { width: 56px; height: 56px; overflow: hidden; border-radius: 15px; background: #39275b; }
.education-mark img { width: 100%; height: 100%; object-fit: cover; }
.education .eyebrow { margin-bottom: 5px; }
.education h2 { margin-bottom: 4px; font-size: 1.6rem; letter-spacing: -0.035em; }
.education p { margin: 0; color: var(--ink-soft); }
.education > span { color: var(--accent-dark); font-weight: 850; white-space: nowrap; }

.contact { margin-bottom: 38px; padding: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 64px; align-items: end; border-radius: 24px; background: var(--ink); color: white; }
.contact .eyebrow { color: #b8d8d4; }
.contact h2 { max-width: 700px; margin-bottom: 18px; font-size: clamp(3rem, 5.5vw, 5.35rem); line-height: 0.96; letter-spacing: -0.065em; }
.contact p { max-width: 640px; margin: 0; color: #c5d1d0; font-size: 1.03rem; }
.contact-actions { display: grid; }
.contact-actions a { padding-block: 17px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.19); color: white; font-weight: 750; text-decoration: none; }
.contact-actions a:hover, .contact-actions a:focus-visible { color: #b8d8d4; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 22px 0 40px; display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: 0.75rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
}

@media (max-width: 1040px) {
  nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 56px; }
  .hero-portrait { width: min(100%, 760px); }
  .case-study { grid-template-columns: 1fr; }
  .case-copy { max-width: 780px; }
  .product-carousel { width: min(100%, 520px); margin-inline: auto; justify-self: center; }
  .story-body { grid-template-columns: 1fr; gap: 52px; }
  .story-copy { max-width: 800px; }
  .experience-list article { grid-template-columns: 112px minmax(210px, 0.72fr) 110px minmax(0, 1.28fr); gap: 17px; }
}

@media (max-width: 760px) {
  .site-header { width: 100%; min-height: 72px; padding-inline: 14px; }
  nav a { display: none; }
  nav .nav-resume { display: inline-flex; }
  .section-shell, .work-shell, .story-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 0; padding-block: 48px 64px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.9rem); }
  .hero-portrait { min-height: 510px; }
  .hero-portrait > img { height: 510px; }
  .profile-strip { grid-template-columns: repeat(2, 1fr); padding-inline: 20px; }
  .profile-strip div:nth-child(2) { border-right: 0; }
  .profile-strip div:nth-child(3), .profile-strip div:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading h2, .story-heading h2 { font-size: clamp(2.7rem, 11vw, 4.2rem); }
  .process-map { grid-template-columns: 1fr 1fr; }
  .process-map article, .process-map article:first-child { min-height: 230px; padding: 26px; }
  .process-map article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .process-map article:nth-child(4) { border-top: 1px solid var(--line); }
  .process-map article::after { display: none !important; }
  .process-map h3 { margin-top: 38px; }
  .approach-note { grid-template-columns: 1fr; gap: 10px; }
  .decision-grid { grid-template-columns: 1fr; }
  .selected-work, .about, .other-work, .experience, .personal-story { padding-block: 78px; }
  .case-role, .project-grid { grid-template-columns: 1fr; }
  .carousel-stage { height: 470px; }
  .carousel-slide { padding-inline: 48px; }
  .case-facts { grid-template-columns: repeat(3, 1fr); }
  .personal-notes { max-width: 650px; }
  .experience-list article { grid-template-columns: 112px 1fr; gap: 15px; }
  .experience-list time { grid-column: 2; }
  .experience-list article > p { grid-column: 1 / -1; }
  .education { margin-bottom: 78px; grid-template-columns: 58px 1fr; padding: 27px; }
  .education > span { grid-column: 2; }
  .contact { grid-template-columns: 1fr; gap: 34px; }
  footer { width: calc(100% - 28px); display: block; }
  footer span { display: block; }
}

@media (max-width: 500px) {
  .hero-actions, .button { width: 100%; }
  .hero-portrait { min-height: 460px; }
  .hero-portrait > img { height: 460px; object-position: 43% center; }
  .portrait-details { left: 15px; right: 15px; top: 15px; width: auto; }
  .profile-strip { grid-template-columns: 1fr; }
  .profile-strip div, .profile-strip div:not(:first-child) { min-height: 0; padding: 19px 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .profile-strip div:last-child { border-bottom: 0; }
  .process-map { grid-template-columns: 1fr; }
  .process-map article, .process-map article:first-child { min-height: 0; padding: 25px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .process-map h3 { margin: 24px 0 9px; }
  .product-links a { width: 100%; justify-content: space-between; }
  .product-links .store-badge { width: auto; }
  .carousel-stage { height: 400px; }
  .carousel-slide { padding: 17px 34px 0; }
  .carousel-meta { grid-template-columns: 38px 1fr 38px; gap: 10px; padding-inline: 13px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .case-facts { grid-template-columns: 1fr; }
  .case-facts div, .case-facts div:first-child, .case-facts div:nth-child(3) { padding: 18px 0; border-right: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .case-facts div:last-child { border-bottom: 0; }
  .project-card { min-height: 0; padding: 25px; }
  .project-logo { width: 60px; height: 60px; }
  .project-footer { display: grid; }
  .project-footer strong { text-align: left; }
  .personal-notes { grid-template-columns: 1fr; }
  .personal-notes div, .personal-notes div:nth-child(even) { min-height: 0; padding: 23px 0; border-left: 0; }
  .personal-notes h3 { margin-top: 17px; }
  .education { grid-template-columns: 1fr; }
  .education > span { grid-column: auto; }
}
