:root {
  --ivory: #faf8f5;
  --paper: #fffefd;
  --sand: #e8dfd3;
  --sand-dark: #d9c7b0;
  --sage: #8fa689;
  --sage-deep: #526b4e;
  --ink: #2e2a26;
  --muted: #68605a;
  --line: rgba(46, 42, 38, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(64, 53, 44, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; transform: translateY(-150%); background: var(--ink); color: white; padding: 10px 16px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.eyebrow { margin: 0 0 18px; color: var(--sage-deep); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(3.4rem, 7.4vw, 6.8rem); }
h1 em { color: var(--sage-deep); font-style: italic; font-weight: 500; }
h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 4.5vw, 4.3rem); }
h3 { line-height: 1.25; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgba(250,248,245,.88); backdrop-filter: blur(18px); transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(46,42,38,.04); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.brand-mark { width: 39px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--sage-deep); color: white; font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; }
.credential { color: var(--sage-deep); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu > a:not(.button) { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav-menu > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--sage-deep); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.nav-menu > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .2s; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; border: 1px solid transparent; border-radius: 999px; padding: 0 25px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sage-deep); color: white; box-shadow: 0 12px 30px rgba(82,107,78,.22); }
.button-primary:hover { background: #40593d; box-shadow: 0 16px 34px rgba(82,107,78,.28); }
.button-outline { border-color: var(--line); background: rgba(255,255,255,.5); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .82rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sage-deep); font-weight: 700; text-underline-offset: 5px; }
.hero { min-height: calc(100vh - 78px); display: grid; align-items: center; overflow: hidden; padding-top: 76px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { display: flex; flex-wrap: wrap; gap: 8px; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; }
.hero-title span { color: var(--sage); }
.hero-lede { max-width: 640px; margin-bottom: 26px; color: var(--muted); font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.62rem); line-height: 1.5; }
.availability { width: fit-content; display: flex; align-items: center; gap: 10px; margin-bottom: 30px; border: 1px solid rgba(82,107,78,.2); border-radius: 999px; padding: 8px 14px; background: rgba(143,166,137,.12); color: var(--sage-deep); font-size: .8rem; font-weight: 700; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 5px rgba(82,107,78,.1); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.hero-facts { display: flex; gap: 48px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts dt { color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-facts dd { margin: 0; font-size: .92rem; font-weight: 600; }
.portrait-wrap { position: relative; min-height: 620px; display: grid; place-items: center; }
.portrait-halo { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--sand); }
.portrait-halo::before, .portrait-halo::after { content: ""; position: absolute; border: 1px solid rgba(82,107,78,.22); border-radius: 50%; }
.portrait-halo::before { inset: -26px; }
.portrait-halo::after { inset: 28px; border-style: dashed; }
.portrait-card { position: relative; width: min(390px, 78vw); overflow: hidden; border: 10px solid var(--paper); border-radius: 47% 47% 30px 30px; box-shadow: var(--shadow); transform: rotate(2deg); }
.portrait-note { position: absolute; right: -10px; bottom: 62px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; background: rgba(255,254,253,.94); box-shadow: var(--shadow); font-size: .75rem; line-height: 1.3; }
.portrait-note strong { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-deep); color: white; font-size: .75rem; letter-spacing: .05em; }
.trust-strip { border-block: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span { position: relative; padding: 24px; text-align: center; font-family: var(--serif); font-size: 1.05rem; }
.trust-grid span:not(:last-child)::after { content: ""; position: absolute; top: 26%; right: 0; height: 48%; border-right: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.section-heading h2 { max-width: 780px; }
.about-copy { padding-top: 38px; }
.about-copy > p { color: var(--muted); }
.large-copy { color: var(--ink) !important; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.55; }
blockquote { position: relative; margin: 42px 0 0; border-left: 3px solid var(--sage); padding: 5px 0 5px 28px; color: var(--sage-deep); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.skills { background: var(--sand); }
.centered { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.centered p:last-child { max-width: 620px; margin-inline: auto; color: var(--muted); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(46,42,38,.16); border-left: 1px solid rgba(46,42,38,.16); }
.skill-card { min-height: 278px; border-right: 1px solid rgba(46,42,38,.16); border-bottom: 1px solid rgba(46,42,38,.16); padding: 34px; transition: background .25s, transform .25s; }
.skill-card:hover { z-index: 1; background: rgba(255,255,255,.34); transform: translateY(-5px); }
.skill-icon { display: block; margin-bottom: 48px; color: var(--sage-deep); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.skill-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.45rem; }
.skill-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.toolkit { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 42px; }
.toolkit span { border: 1px solid rgba(46,42,38,.18); border-radius: 999px; padding: 7px 14px; background: rgba(250,248,245,.45); font-size: .78rem; font-weight: 600; }
.experience-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.experience-intro { position: sticky; top: 130px; align-self: start; }
.experience-intro p:not(.eyebrow) { max-width: 430px; color: var(--muted); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 10px; border-left: 1px solid var(--sage); }
.role { position: relative; margin-left: 48px; padding: 0 0 58px; }
.role:last-child { padding-bottom: 0; }
.role::before { content: ""; position: absolute; top: 5px; left: -44px; width: 13px; height: 13px; border: 4px solid var(--ivory); border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 1px var(--sage-deep); }
.role-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.role-meta span { color: var(--sage-deep); }
.role h3 { margin-bottom: 3px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; }
.role-company { color: var(--sage-deep); font-weight: 600; }
.role ul { margin: 22px 0 0; padding: 25px 30px 25px 48px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 40px rgba(46,42,38,.04); }
.role li { margin: 7px 0; padding-left: 5px; color: var(--muted); }
.credentials { background: var(--paper); }
.credential-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 18px; margin-top: 48px; }
.credential-card { position: relative; min-height: 290px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; padding: 34px; background: var(--ivory); }
.credential-card > span { color: var(--sage-deep); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.credential-card h3 { max-width: 350px; margin: 54px 0 15px; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.credential-card p { color: var(--muted); font-size: .88rem; }
.credential-card.featured { background: var(--sage-deep); color: white; }
.credential-card.featured > span, .credential-card.featured p { color: rgba(255,255,255,.72); }
.seal { position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: rgba(255,255,255,.3); font-family: var(--serif); font-size: 2rem; }
.contact { background: var(--sand); }
.contact-shell { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; }
.contact-copy > p:not(.eyebrow):not(.contact-note) { max-width: 520px; color: var(--muted); font-size: 1.05rem; }
.contact-links { display: grid; gap: 0; margin-top: 42px; border-top: 1px solid rgba(46,42,38,.16); }
.contact-links a { display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-bottom: 1px solid rgba(46,42,38,.16); padding: 17px 0; font-weight: 600; text-decoration: none; }
.contact-links span { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-note { margin-top: 18px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.contact-form { display: grid; gap: 18px; border-radius: 24px; padding: 40px; background: var(--paper); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; background: var(--ivory); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(82,107,78,.1); }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: 100%; margin-top: 5px; border: 0; }
.honeypot { position: absolute; left: -9999px; }
.privacy-note { margin: -6px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
footer { padding: 48px 0; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.footer-grid > p { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .75rem; }
.footer-brand + p { margin: 12px 0 0; color: rgba(255,255,255,.6); font-family: var(--serif); }
.linkedin-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.linkedin-icon:hover { background: white; color: var(--ink); }
.reveal { opacity: 0; transform: translateY(22px); 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; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .section-pad { padding: 84px 0; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 68px; right: 20px; left: 20px; display: none; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-menu.open { display: grid; }
  .nav-menu > a { padding: 9px; }
  .nav-menu .button { margin-top: 5px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding-top: 50px; }
  .hero-grid, .about-grid, .experience-layout, .contact-shell { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 700px; }
  .portrait-wrap { min-height: 550px; }
  .portrait-card { width: min(390px, 70vw); }
  .portrait-note { right: 10%; }
  .about-copy { padding-top: 0; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-intro { position: static; }
  .credential-grid { grid-template-columns: 1fr 1fr; }
  .credential-card.featured { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 68px 0; }
  .brand { font-size: .98rem; }
  .brand-mark { width: 35px; }
  h1 { font-size: clamp(3.1rem, 17vw, 4.7rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .hero { min-height: auto; padding-bottom: 70px; }
  .hero-grid { gap: 35px; }
  .hero-title { display: block; }
  .hero-title span { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-facts { flex-direction: column; gap: 18px; margin-top: 36px; }
  .portrait-wrap { min-height: 430px; }
  .portrait-card { width: min(320px, 76vw); border-width: 7px; }
  .portrait-note { right: 0; bottom: 28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid span { padding: 17px 8px; font-size: .9rem; }
  .trust-grid span:nth-child(2)::after { display: none; }
  .trust-grid span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .skills-grid, .credential-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 245px; padding: 28px; }
  .credential-card.featured { grid-column: auto; }
  .role { margin-left: 36px; }
  .role::before { left: -32px; }
  .role-meta { display: grid; gap: 3px; }
  .role ul { padding: 20px 22px 20px 38px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 25px 20px; }
  .contact-links a { grid-template-columns: 1fr; gap: 2px; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; }
  .linkedin-icon { margin-top: 10px; }
}
