:root {
  --ink: #0b1820;
  --ink-soft: #18303b;
  --paper: #f4f1e9;
  --paper-deep: #e8e3d7;
  --white: #fffdf8;
  --coral: #ef6a4c;
  --mint: #a8d7c7;
  --muted: #637078;
  --line: rgba(11, 24, 32, .16);
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shadow: 0 24px 70px rgba(11, 24, 32, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--coral); color: var(--white); border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 18px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(244, 241, 233, .9); backdrop-filter: blur(18px); box-shadow: 0 1px var(--line); }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .78rem; letter-spacing: -.05em; }
.brand-name { font-size: .92rem; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 600; }
.nav-links > a:not(.nav-cta) { position: relative; }
.nav-links > a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -6px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.nav-links > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 17px; border: 1px solid var(--ink); border-radius: 999px; transition: .2s; }
.nav-cta:hover { background: var(--ink); color: var(--white); }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: .2s; }

.hero { min-height: 760px; padding: 154px 0 88px; display: grid; grid-template-columns: 1.35fr .75fr; align-items: center; gap: 90px; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: var(--coral); }
.hero h1 { max-width: 770px; margin: 0; font: 800 clamp(3.5rem, 7vw, 6.6rem)/.98 var(--font-display); letter-spacing: -.065em; }
.hero-lead { max-width: 710px; margin: 30px 0 0; color: var(--muted); font-size: 1.17rem; line-height: 1.7; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { padding: 0 24px; background: var(--coral); color: var(--white); box-shadow: 0 12px 28px rgba(239, 106, 76, .24); }
.button-primary:hover { background: #dc593c; }
.button-quiet { border-bottom: 1px solid var(--ink); border-radius: 0; min-height: auto; padding: 4px 0; }

.hero-card { min-height: 508px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 38px; background: var(--ink); color: var(--white); border-radius: 3px 3px 86px 3px; box-shadow: var(--shadow); overflow: hidden; }
.hero-card::after { content: ""; position: absolute; width: 240px; height: 240px; border: 55px solid rgba(168, 215, 199, .12); border-radius: 50%; top: -90px; right: -100px; }
.profile-monogram { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--mint); font: 800 2rem var(--font-display); }
.card-kicker { margin: 0 0 10px; color: var(--mint); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.hero-card h2 { margin: 0; font: 700 1.65rem/1.3 var(--font-display); letter-spacing: -.035em; }
.availability { display: flex; gap: 9px; align-items: center; padding: 12px 0; border-block: 1px solid rgba(255,255,255,.14); color: #dce5e7; font-size: .78rem; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(168,215,199,.1); }
.quick-facts { margin: 0; display: grid; gap: 10px; }
.quick-facts div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.quick-facts dt { color: var(--mint); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.quick-facts dd { margin: 0; color: #b7c3c7; font-size: .77rem; line-height: 1.45; }

.proof-strip { border-block: 1px solid var(--line); background: var(--paper-deep); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 155px; padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-grid div:first-child { border-left: 1px solid var(--line); }
.proof-grid strong { font: 800 2rem var(--font-display); letter-spacing: -.05em; }
.proof-grid span { max-width: 190px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.section { padding: 124px 0; }
.section-intro { margin-bottom: 58px; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 60px; }
.section-intro h2 { max-width: 760px; margin: 0; font: 800 clamp(2.4rem, 5vw, 4.4rem)/1.04 var(--font-display); letter-spacing: -.055em; }
.section-intro > p { margin: 0; color: var(--muted); font-size: .98rem; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: var(--white); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-featured { background: var(--mint); }
.project-accent { background: var(--coral); color: var(--white); }
.project-topline { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.project-type { margin: 0 0 13px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.project-accent .project-type { color: rgba(255,255,255,.72); }
.project h3 { max-width: 520px; margin: 0 0 18px; font: 750 clamp(1.6rem, 3vw, 2.2rem)/1.12 var(--font-display); letter-spacing: -.04em; }
.project-content > p:not(.project-type) { max-width: 580px; color: var(--muted); font-size: .93rem; }
.project-accent .project-content > p { color: rgba(255,255,255,.8); }
.project-meta { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.project-meta li { padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; color: var(--muted); font-size: .68rem; }
.project-featured .project-meta li { color: var(--ink); }
.text-link { display: inline-block; margin-top: 18px; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: .83rem; font-weight: 700; }

.section-dark { background: var(--ink); color: var(--white); }
.section-intro-light > p { color: #9fb0b7; }
.section-dark .eyebrow { color: var(--mint); }
.experience-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; }
.timeline article { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 27px 0; border-top: 1px solid rgba(255,255,255,.17); }
.timeline article:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.timeline time { color: var(--mint); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.timeline h3 { margin: 0; font: 700 1.2rem var(--font-display); }
.timeline p { margin: 4px 0 8px; color: #d6dee0; font-size: .88rem; }
.timeline div > span { display: block; color: #91a1a8; font-size: .82rem; }
.education-card { align-self: start; padding: 34px; background: var(--paper); color: var(--ink); }
.degree { padding: 23px 0; border-top: 1px solid var(--line); }
.degree > span { display: inline-block; margin-bottom: 8px; color: var(--coral); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.degree h3 { margin: 0; font: 700 1.05rem var(--font-display); }
.degree p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
.degree ul { margin: 14px 0 0; padding-left: 17px; color: var(--muted); font-size: .76rem; }

.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.expertise-card { min-height: 310px; padding: 28px; border-right: 1px solid var(--line); }
.expertise-card:last-child { border: 0; }
.expertise-card > span { display: block; margin-bottom: 78px; color: var(--coral); font-size: .72rem; font-weight: 700; }
.expertise-card h3 { margin: 0 0 16px; font: 700 1.15rem/1.25 var(--font-display); letter-spacing: -.025em; }
.expertise-card p { margin: 0; color: var(--muted); font-size: .82rem; }

.contact { background: var(--mint); }
.contact-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: center; }
.contact h2 { max-width: 620px; margin: 0; font: 800 clamp(2.7rem, 5vw, 4.8rem)/1.02 var(--font-display); letter-spacing: -.06em; }
.contact h2 + p { max-width: 580px; margin-top: 24px; color: var(--ink-soft); }
.contact-actions { display: grid; }
.contact-actions a { display: grid; grid-template-columns: 145px 1fr auto; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(11,24,32,.3); font-size: .92rem; }
.contact-actions a:first-child { border-top: 1px solid rgba(11,24,32,.3); }
.contact-actions span { color: var(--ink-soft); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-actions a:hover { padding-left: 8px; }
.contact-actions a { transition: padding .2s; }

.footer { padding: 28px 0; background: var(--ink); color: #9aabb1; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; font-size: .74rem; }
.footer p { margin: 0; }
.footer a { color: var(--mint); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 138px; }
  .hero-card { min-height: 430px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .proof-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .section-intro { grid-template-columns: 1fr; gap: 25px; }
  .section-intro > p { max-width: 620px; }
  .experience-layout { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card:nth-child(2) { border-right: 0; }
  .expertise-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav { height: 72px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 30px; background: var(--paper); font-size: 1.25rem; transform: translateY(-105%); transition: transform .28s; }
  .nav-links.open { transform: translateY(0); }
  .brand-name { display: none; }
  .hero { min-height: auto; padding: 126px 0 70px; }
  .hero h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .hero-lead { font-size: 1.03rem; }
  .hero-card { min-height: 470px; padding: 28px; border-radius: 2px 2px 58px 2px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { min-height: 120px; border: 1px solid var(--line); border-bottom: 0; }
  .proof-grid div:last-child { border-bottom: 1px solid var(--line); }
  .section { padding: 86px 0; }
  .work-grid { grid-template-columns: 1fr; }
  .project { min-height: 400px; padding: 24px; }
  .timeline article { grid-template-columns: 1fr; gap: 8px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card, .expertise-card:nth-child(2), .expertise-card:last-child { min-height: auto; border: 0; border-bottom: 1px solid var(--line); }
  .expertise-card:last-child { border-bottom: 0; }
  .expertise-card > span { margin-bottom: 42px; }
  .contact-actions a { grid-template-columns: 1fr; gap: 5px; }
  .contact-actions b { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
