:root {
  --forest: #315b49;
  --forest-deep: #1d4034;
  --forest-dark: #123128;
  --sage: #8baa78;
  --sage-soft: #b9cbae;
  --mint: #dce7d7;
  --cream: #f7f2e8;
  --sand: #e9ddc8;
  --terracotta: #c77f62;
  --peach: #e6b69e;
  --brown: #574b42;
  --ink: #27312d;
  --muted: #6d746f;
  --white: #fffdf8;
  --line: rgba(49, 91, 73, .18);
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --container: min(1180px, calc(100% - 44px));
  --shadow: 0 30px 90px rgba(28, 64, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  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='.75'/%3E%3C/svg%3E");
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
::selection { color: var(--forest-dark); background: var(--sage-soft); }

.container { width: var(--container); 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; top: 12px; left: 12px; z-index: 10000; padding: 10px 14px; color: var(--white); background: var(--forest-deep); border-radius: 99px; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.scroll-progress { position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 3px; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--terracotta); }

.site-header { position: fixed; top: 0; left: 0; z-index: 100; width: 100%; transition: .35s ease; }
.site-header.scrolled { background: rgba(247, 242, 232, .82); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(49,91,73,.09); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.brand-leaf { width: 31px; height: 31px; }
.brand-leaf path { fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 9px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 1px; background: var(--forest); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 19px; color: var(--white); background: var(--forest); border-radius: 999px; transition: transform .25s ease, background .25s ease; }
.nav-cta:hover { transform: translateY(-2px); background: var(--forest-deep); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 23px; height: 1.5px; margin: 6px auto; background: var(--forest-deep); transition: .3s ease; }

.hero { position: relative; min-height: 920px; padding: 150px 0 135px; overflow: hidden; background: linear-gradient(145deg, #faf6ee 0%, #f3efe2 55%, #edf3e8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: radial-gradient(rgba(49,91,73,.18) .8px, transparent .8px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000 28%, #000 70%, transparent); }
.hero-blob { position: absolute; border-radius: 44% 56% 62% 38% / 56% 42% 58% 44%; filter: blur(.2px); animation: morph 12s ease-in-out infinite alternate; will-change: transform; }
.hero-blob-a { width: 530px; height: 490px; right: -120px; top: 20px; background: rgba(185,203,174,.55); }
.hero-blob-b { width: 360px; height: 330px; left: -160px; bottom: 70px; background: rgba(230,182,158,.34); animation-delay: -5s; }
@keyframes morph { 0% { border-radius: 44% 56% 62% 38% / 56% 42% 58% 44%; } 50% { border-radius: 63% 37% 45% 55% / 43% 61% 39% 57%; } 100% { border-radius: 35% 65% 56% 44% / 62% 36% 64% 38%; } }
.pollen { position: absolute; width: 8px; height: 8px; border: 1px solid var(--forest); border-radius: 50%; animation: pollen 8s ease-in-out infinite; }
.pollen-a { top: 26%; left: 47%; }
.pollen-b { top: 63%; right: 7%; width: 5px; height: 5px; animation-delay: -3s; }
.pollen-c { bottom: 18%; left: 8%; width: 11px; height: 11px; animation-delay: -6s; }
@keyframes pollen { 0%,100% { transform: translate3d(0,0,0); opacity: .25; } 50% { transform: translate3d(12px,-25px,0); opacity: .7; } }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 5vw; align-items: center; }
.hero-copy { padding-top: 28px; }
.eyebrow, .section-kicker { margin: 0 0 25px; color: var(--forest); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(62px, 7.2vw, 102px); }
.hero h1 em, .contact h2 em { color: var(--terracotta); font-weight: 400; }
.hero-intro { max-width: 640px; margin: 31px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 37px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 52px; padding: 0 23px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--forest); box-shadow: 0 14px 30px rgba(49,91,73,.17); }
.button-primary:hover { background: var(--forest-deep); box-shadow: 0 18px 35px rgba(49,91,73,.24); }
.button-soft { background: rgba(255,253,248,.66); border: 1px solid var(--line); }
.button-soft:hover { background: var(--white); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 0; margin: 37px 0 0; list-style: none; color: var(--brown); font-size: 12px; }
.hero-tags li { display: flex; align-items: center; gap: 8px; }
.hero-tags i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px rgba(139,170,120,.12); }
.hero-organism { position: relative; min-height: 630px; }
.organism-core { position: absolute; inset: 20px 0 0 0; margin: auto; width: min(100%, 515px); height: 590px; display: grid; place-items: center; border: 1px solid rgba(49,91,73,.18); border-radius: 48% 52% 42% 58% / 56% 41% 59% 44%; background: rgba(255,253,248,.58); backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: morph 15s ease-in-out infinite alternate-reverse; }
.organism-core::before { content: ""; position: absolute; inset: 29px; border: 1px solid rgba(49,91,73,.12); border-radius: inherit; }
.organism-core svg { width: 82%; height: 86%; overflow: visible; }
.plant-stem { fill: none; stroke: url(#stem); stroke-width: 5; stroke-linecap: round; }
.leaf { fill: rgba(139,170,120,.38); stroke: var(--forest); stroke-width: 2; transform-box: fill-box; transform-origin: bottom center; animation: sway 5s ease-in-out infinite; }
.leaf-two { fill: rgba(199,127,98,.20); animation-delay: -1s; }
.leaf-three { fill: rgba(185,203,174,.55); animation-delay: -2.6s; }
.leaf-four { fill: rgba(230,182,158,.26); animation-delay: -3.7s; }
.leaf-vein { fill: none; stroke: rgba(49,91,73,.55); stroke-width: 1.4; stroke-linecap: round; }
.plant-node { fill: var(--cream); stroke: var(--forest); stroke-width: 2; }
@keyframes sway { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(2deg); } }
.organism-orbit { position: absolute; border: 1px solid rgba(49,91,73,.17); border-radius: 50%; animation: rotate 24s linear infinite; }
.orbit-a { width: 585px; height: 585px; top: 15px; right: -35px; }
.orbit-a::after { content: ""; position: absolute; top: 21%; left: 1%; width: 12px; height: 12px; border-radius: 50%; background: var(--terracotta); }
.orbit-b { width: 460px; height: 460px; top: 85px; right: 25px; animation-direction: reverse; animation-duration: 19s; }
.orbit-b::after { content: ""; position: absolute; right: 8%; bottom: 18%; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
@keyframes rotate { to { transform: rotate(360deg); } }
.field-note { position: absolute; z-index: 3; min-width: 165px; padding: 14px 17px; background: rgba(255,253,248,.86); border: 1px solid rgba(49,91,73,.15); backdrop-filter: blur(12px); box-shadow: 0 14px 34px rgba(28,64,51,.09); }
.field-note span, .field-note strong { display: block; }
.field-note span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.field-note strong { margin-top: 4px; color: var(--forest-deep); font-family: var(--display); font-size: 17px; font-weight: 500; }
.note-top { top: 105px; left: -35px; border-radius: 18px 18px 4px 18px; }
.note-bottom { right: -10px; bottom: 70px; border-radius: 18px 18px 18px 4px; }
.organism-label { position: absolute; color: var(--forest); font-family: var(--display); font-size: 14px; font-style: italic; }
.label-a { top: 60px; right: 40px; }
.label-b { left: 18px; bottom: 175px; }
.label-c { right: 20px; top: 310px; }
.hero-bottom { position: absolute; z-index: 3; left: 50%; bottom: 65px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.scroll-hint { display: flex; align-items: center; gap: 9px; }
.scroll-hint i { position: relative; width: 18px; height: 30px; border: 1px solid var(--forest); border-radius: 99px; }
.scroll-hint i::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 3px; background: var(--forest); animation: scroll 2s ease-in-out infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.section-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 105px; fill: var(--white); }

.section { position: relative; padding: 130px 0; }
.section-heading h2 { max-width: 790px; margin: 0; font-size: clamp(48px, 6vw, 78px); }
.heading-row { display: grid; grid-template-columns: 1.15fr .55fr; gap: 8vw; align-items: end; margin-bottom: 70px; }
.heading-row > p { margin: 0 0 6px; color: var(--muted); }

.about { background: var(--white); }
.about-layout { display: grid; grid-template-columns: .78fr 1fr .48fr; gap: 6vw; align-items: start; }
.about .section-heading { position: sticky; top: 130px; }
.about .section-heading h2 { font-size: clamp(44px, 4.7vw, 66px); }
.about-story { padding-top: 43px; }
.about-story .lead { margin: 0; color: var(--forest-deep); font-family: var(--display); font-size: clamp(25px, 3vw, 36px); line-height: 1.32; letter-spacing: -.02em; }
.story-columns { margin-top: 45px; }
.story-columns p { margin: 0; color: var(--muted); }
.story-columns p + p { margin-top: 23px; }
.about blockquote { position: relative; margin: 50px 0 0; padding: 24px 0 0 34px; color: var(--forest); border-top: 1px solid var(--line); font-family: var(--display); font-size: 21px; font-style: italic; line-height: 1.45; }
.about blockquote span { position: absolute; left: 0; top: 17px; color: var(--terracotta); font-size: 43px; }
.bio-card { position: relative; overflow: hidden; margin-top: 45px; padding: 150px 24px 25px; border: 1px solid var(--line); border-radius: 90px 20px 20px 20px; background: var(--cream); }
.bio-card-plant { position: absolute; top: 5px; right: -6px; width: 170px; opacity: .85; }
.bio-card-plant path { fill: rgba(139,170,120,.17); stroke: var(--forest); stroke-width: 1.4; }
.bio-card dl, .bio-card dd { margin: 0; }
.bio-card dl div { padding: 13px 0; border-top: 1px solid var(--line); }
.bio-card dt { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.bio-card dd { margin-top: 3px; color: var(--forest-deep); font-size: 12px; font-weight: 600; }

.areas { overflow: hidden; background: #eef2e8; }
.areas-blob { position: absolute; width: 600px; height: 520px; left: -280px; top: 80px; border-radius: 46% 54% 65% 35% / 58% 44% 56% 42%; background: rgba(185,203,174,.31); animation: morph 14s ease-in-out infinite alternate; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card { position: relative; min-height: 470px; padding: 31px; overflow: hidden; border: 1px solid rgba(49,91,73,.14); background: rgba(255,253,248,.72); backdrop-filter: blur(8px); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.area-card:hover { transform: translateY(-9px) rotate(-.35deg); box-shadow: var(--shadow); }
.area-card-a { border-radius: 84px 22px 40px 22px; }
.area-card-b { border-radius: 22px 84px 22px 45px; }
.area-card-c { border-radius: 42px 22px 84px 22px; }
.area-top { display: flex; align-items: start; justify-content: space-between; }
.area-top > span { color: var(--terracotta); font-family: var(--display); font-size: 20px; }
.area-top svg { width: 70px; height: 70px; }
.area-top svg * { fill: none; stroke: var(--forest); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { max-width: 240px; margin: 110px 0 18px; color: var(--forest-deep); font-family: var(--display); font-size: 38px; font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.area-card p { color: var(--muted); }
.area-card ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 29px 0 0; list-style: none; }
.area-card li { padding: 7px 10px; color: var(--forest); background: var(--mint); border-radius: 99px; font-size: 10px; font-weight: 700; }

.experience { color: var(--cream); background: var(--forest-deep); }
.experience-layout { display: grid; grid-template-columns: .62fr 1fr; gap: 8vw; }
.experience .section-kicker { color: var(--sage-soft); }
.experience h2 { margin: 0; font-size: clamp(50px, 6vw, 78px); }
.experience-intro { position: sticky; top: 130px; align-self: start; }
.experience-intro > p:last-of-type { max-width: 430px; color: rgba(247,242,232,.67); }
.vine-illustration { width: 270px; margin: 60px auto 0; opacity: .55; }
.vine-illustration path { fill: rgba(139,170,120,.15); stroke: var(--sage-soft); stroke-width: 1.4; }
.timeline { position: relative; }
.timeline-grow { position: absolute; left: 8px; top: 13px; bottom: 10px; width: 1px; background: rgba(185,203,174,.18); }
.timeline-grow span { display: block; width: 100%; height: 0; background: var(--terracotta); }
.timeline-item { position: relative; padding: 0 0 75px 52px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: 9px; width: 17px; height: 17px; border: 2px solid var(--sage-soft); border-radius: 50%; background: var(--forest-deep); box-shadow: 0 0 0 9px rgba(185,203,174,.06); transition: .4s ease; }
.timeline-item.is-visible .timeline-dot { background: var(--terracotta); border-color: var(--terracotta); }
.timeline-meta { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(247,242,232,.13); color: var(--sage-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.timeline-content { padding-top: 26px; }
.timeline-content > p:first-child { margin: 0; color: var(--sage-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.timeline-content h3 { margin: 8px 0 20px; font-family: var(--display); font-size: clamp(35px, 4vw, 53px); font-weight: 500; line-height: 1; }
.timeline-content > p:not(:first-child) { max-width: 690px; margin: 0; color: rgba(247,242,232,.70); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 25px 0 0; list-style: none; }
.tag-list li { padding: 7px 11px; color: var(--mint); border: 1px solid rgba(220,231,215,.22); border-radius: 99px; font-size: 10px; }

.projects { padding-top: 175px; background: var(--white); }
.projects-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 100px; fill: var(--forest-deep); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.project-card { overflow: hidden; border: 1px solid var(--line); background: var(--cream); border-radius: 22px 22px 80px 22px; transition: transform .4s ease, box-shadow .4s ease; }
.project-card:nth-child(2) { border-radius: 22px 80px 22px 22px; }
.project-card:nth-child(3) { border-radius: 80px 22px 22px 22px; }
.project-card-offset { margin-top: 55px; }
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.project-visual { position: relative; height: 280px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-number { position: absolute; z-index: 2; top: 21px; left: 23px; color: var(--forest); font-family: var(--display); font-size: 18px; }
.project-visual svg { width: 88%; height: 85%; }
.project-visual svg * { fill: none; stroke: var(--forest); stroke-width: 1.2; }
.visual-education { background: #e5eddf; }
.visual-environment { background: #f0dfd2; }
.visual-process { background: #eee7d8; }
.cell { position: absolute; border-radius: 50%; background: rgba(255,253,248,.48); border: 1px solid rgba(49,91,73,.12); animation: floatCell 6s ease-in-out infinite; }
.cell-a { width: 70px; height: 70px; top: 33px; right: 35px; }
.cell-b { width: 42px; height: 42px; bottom: 28px; left: 40px; animation-delay: -2s; }
.cell-c { width: 21px; height: 21px; top: 66px; left: 90px; animation-delay: -4s; }
@keyframes floatCell { 50% { transform: translateY(-10px) scale(1.04); } }
.sun { position: absolute; width: 60px; height: 60px; top: 40px; right: 60px; border-radius: 50%; background: rgba(199,127,98,.32); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.1); opacity: .72; } }
.project-body { padding: 27px; }
.project-category { margin: 0 0 11px; color: var(--terracotta); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.project-body h3 { margin: 0; color: var(--forest-deep); font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.project-body > p { color: var(--muted); }
details { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
summary { cursor: pointer; color: var(--forest); font-size: 12px; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--terracotta); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details dl { margin: 19px 0 0; }
details dl div + div { margin-top: 13px; }
details dt { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
details dd { margin: 3px 0 0; font-size: 12px; }

.skills { overflow: hidden; background: var(--sand); }
.skills::before { content: ""; position: absolute; width: 590px; height: 590px; right: -240px; bottom: -300px; border: 1px solid rgba(49,91,73,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(49,91,73,.025), 0 0 0 140px rgba(49,91,73,.02); }
.skills-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 8vw; align-items: center; }
.skills .section-heading h2 { font-size: clamp(48px, 5vw, 70px); }
.skill-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 11px; }
.skill-cloud span { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 10px 19px; color: var(--forest-deep); background: rgba(255,253,248,.66); border: 1px solid rgba(49,91,73,.14); border-radius: 45% 55% 51% 49% / 48% 42% 58% 52%; transition: transform .3s ease, background .3s ease; }
.skill-cloud span:nth-child(3n+2) { border-radius: 56% 44% 37% 63% / 44% 61% 39% 56%; }
.skill-cloud span:nth-child(4n) { background: rgba(185,203,174,.42); }
.skill-cloud span:hover { transform: translateY(-5px) rotate(-1deg); background: var(--white); }
.skill-xl { font-family: var(--display); font-size: 25px; }
.skill-lg { font-family: var(--display); font-size: 20px; }
.skill-md { font-size: 14px; }
.skill-sm { font-size: 11px; }

.education { background: var(--cream); }
.education-card { position: relative; display: grid; grid-template-columns: 1fr .62fr; gap: 8vw; min-height: 520px; padding: 78px; overflow: hidden; color: var(--cream); background: var(--forest); border-radius: 110px 25px 110px 25px; box-shadow: var(--shadow); }
.education-copy, .education-details { position: relative; z-index: 2; }
.education .section-kicker { color: var(--sage-soft); }
.education h2 { margin: 0; font-size: clamp(50px, 6vw, 78px); }
.education-details { align-self: end; }
.education-details > p { color: var(--sage-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.education-details h3 { margin: 12px 0 30px; font-family: var(--display); font-size: 36px; font-weight: 500; line-height: 1.05; }
.education-period { display: flex; align-items: center; gap: 13px; color: var(--cream); font-size: 12px; }
.education-period i { flex: 1; height: 3px; overflow: hidden; background: rgba(220,231,215,.18); border-radius: 99px; }
.education-period i::after { content: ""; display: block; width: 64%; height: 100%; background: var(--terracotta); }
.education-details small { display: block; margin-top: 15px; color: rgba(247,242,232,.55); }
.education-plant { position: absolute; right: 22%; bottom: -45px; width: 320px; opacity: .2; }
.education-plant path { fill: rgba(185,203,174,.15); stroke: var(--sage-soft); stroke-width: 1.5; }

.contact { position: relative; padding: 145px 0 125px; overflow: hidden; color: var(--cream); background: var(--forest-dark); }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(var(--sage-soft) 1px, transparent 1px); background-size: 27px 27px; }
.contact-orbit { position: absolute; border: 1px solid rgba(220,231,215,.13); border-radius: 50%; animation: rotate 28s linear infinite; }
.contact-orbit::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--terracotta); }
.orbit-one { width: 670px; height: 670px; right: -230px; bottom: -360px; }
.orbit-one::after { left: 4%; top: 22%; }
.orbit-two { width: 460px; height: 460px; right: -120px; bottom: -250px; animation-direction: reverse; }
.orbit-two::after { right: 10%; top: 14%; background: var(--sage); }
.contact-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .55fr; gap: 9vw; align-items: end; }
.eyebrow.light { color: var(--sage-soft); }
.contact h2 { max-width: 770px; margin: 0; font-size: clamp(58px, 7.5vw, 105px); }
.contact-copy > p:last-child { max-width: 630px; margin-top: 27px; color: rgba(247,242,232,.67); font-size: 18px; }
.contact-actions { display: flex; flex-direction: column; }
.button-light { margin-bottom: 20px; color: var(--forest-dark); background: var(--cream); }
.contact-actions > a:not(.button) { display: flex; justify-content: space-between; padding: 17px 0; color: var(--sage-soft); border-bottom: 1px solid rgba(220,231,215,.16); font-size: 13px; transition: color .25s ease, padding .25s ease; }
.contact-actions > a:not(.button):hover { padding-left: 8px; color: var(--cream); }
.site-footer { padding: 34px 0; color: var(--cream); background: #0c2820; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.footer-inner strong { font-family: var(--display); font-size: 20px; font-weight: 500; }
.footer-inner p { margin: 4px 0 0; color: var(--sage-soft); font-size: 11px; }
.footer-meta { display: flex; gap: 28px; color: var(--sage-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.areas-grid .reveal:nth-child(2), .project-grid .reveal:nth-child(2) { transition-delay: .12s; }
.areas-grid .reveal:nth-child(3), .project-grid .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1060px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 790px; }
  .hero-organism { width: min(100%, 650px); margin: 30px auto 0; }
  .about-layout { grid-template-columns: .75fr 1.25fr; }
  .bio-card { grid-column: 1 / -1; display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 32px; border-radius: 65px 20px 20px; }
  .bio-card-plant { position: static; width: 180px; }
  .bio-card dl { display: grid; grid-template-columns: 1fr 1fr; }
  .bio-card dl div { padding: 13px 17px; }
  .areas-grid, .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .experience-layout { grid-template-columns: .52fr 1fr; gap: 6vw; }
  .skills-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 1180px); }
  .site-header.scrolled { background: rgba(247,242,232,.93); }
  .menu-button { position: relative; z-index: 102; display: block; }
  .main-nav { position: fixed; inset: 0; z-index: 101; padding: 112px 28px 40px; flex-direction: column; align-items: flex-start; gap: 7px; color: var(--forest-deep); background: var(--cream); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); font-family: var(--display); font-size: 34px; }
  .main-nav::after { content: ""; position: absolute; width: 300px; height: 300px; right: -110px; bottom: -80px; border-radius: 44% 56% 62% 38% / 56% 42% 58% 44%; background: var(--mint); }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { position: relative; z-index: 1; width: 100%; padding: 7px 0; }
  .nav-cta { width: auto !important; margin-top: 20px; padding: 12px 20px !important; color: var(--white); font-family: var(--sans); font-size: 13px; }
  .menu-button[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(3.8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(-3.8px) rotate(-45deg); }
  .hero { padding-top: 125px; }
  .hero h1 { font-size: clamp(56px, 13vw, 86px); }
  .hero-organism { min-height: 570px; }
  .organism-core { height: 535px; }
  .orbit-a { width: 530px; height: 530px; right: auto; left: 50%; margin-left: -265px; }
  .orbit-b { width: 410px; height: 410px; right: auto; left: 50%; margin-left: -205px; }
  .hero-bottom { display: none; }
  .section { padding: 95px 0; }
  .about-layout { grid-template-columns: 1fr; }
  .about .section-heading, .experience-intro { position: static; }
  .about-story { padding-top: 0; }
  .bio-card { grid-column: auto; }
  .heading-row { grid-template-columns: 1fr; gap: 25px; margin-bottom: 50px; }
  .areas-grid, .project-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 390px; }
  .area-card h3 { margin-top: 75px; }
  .experience-layout { grid-template-columns: 1fr; }
  .vine-illustration { display: none; }
  .project-card-offset { margin-top: 0; }
  .project-card:nth-child(3) { grid-column: auto; max-width: none; }
  .education-card { grid-template-columns: 1fr; padding: 58px 38px; border-radius: 75px 22px 75px 22px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-actions { margin-top: 20px; }
}

@media (max-width: 580px) {
  .brand span { font-size: 19px; }
  .hero { padding-bottom: 100px; }
  .hero h1 { font-size: clamp(50px, 14vw, 68px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-tags { display: grid; gap: 12px; }
  .hero-organism { min-height: 480px; }
  .organism-core { width: 405px; max-width: 100%; height: 440px; }
  .orbit-a { width: 430px; height: 430px; margin-left: -215px; }
  .orbit-b { width: 330px; height: 330px; top: 70px; margin-left: -165px; }
  .field-note { min-width: 135px; padding: 10px 12px; }
  .note-top { left: 0; top: 70px; }
  .note-bottom { right: 0; bottom: 48px; }
  .organism-label { display: none; }
  .section-heading h2, .about .section-heading h2 { font-size: clamp(42px, 12vw, 60px); }
  .bio-card { display: block; padding: 30px 22px; border-radius: 55px 18px 18px; }
  .bio-card-plant { width: 145px; margin-left: auto; }
  .bio-card dl { grid-template-columns: 1fr; }
  .bio-card dl div { padding-inline: 0; }
  .area-card { padding: 25px; }
  .timeline-item { padding-left: 39px; }
  .timeline-content h3 { font-size: 38px; }
  .timeline-meta { display: block; }
  .timeline-meta small { display: block; margin-top: 4px; }
  .project-visual { height: 230px; }
  .skill-cloud { justify-content: flex-start; }
  .skill-cloud span { font-size: 13px; min-height: 42px; padding: 8px 14px; }
  .skill-cloud .skill-xl, .skill-cloud .skill-lg { font-size: 17px; }
  .education-card { min-height: 610px; padding: 45px 25px; }
  .education-plant { right: -50px; }
  .contact { padding: 100px 0; }
  .contact h2 { font-size: clamp(51px, 14vw, 72px); }
  .footer-inner { display: block; }
  .footer-meta { margin-top: 22px; justify-content: space-between; }
}
