:root {
  --fairway: #a9c88e;
  --fairway-light: #d7e5c6;
  --green: #164b35;
  --green-2: #1f6045;
  --cream: #f6f2e8;
  --ink: #163027;
  --muted: #62736a;
  --line: rgba(22, 75, 53, .16);
  --lime: #cbe66b;
  --shadow: 0 22px 55px rgba(19, 60, 42, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(145deg, var(--fairway-light), var(--fairway));
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

.fairway-lines {
  position: fixed; inset: 0; pointer-events: none; opacity: .35;
  background:
    radial-gradient(ellipse at 8% 20%, transparent 0 18%, rgba(255,255,255,.35) 18.2% 18.8%, transparent 19%),
    radial-gradient(ellipse at 92% 78%, transparent 0 24%, rgba(255,255,255,.26) 24.2% 24.8%, transparent 25%);
}

.site-shell { width: min(1068px, calc(100% - 40px)); margin: 24px auto 50px; position: relative; }
.nav-card, .panel { border-radius: 24px; box-shadow: var(--shadow); }
.nav-card {
  min-height: 66px; padding: 11px 22px; position: sticky; top: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: flex-end;
  color: white; background: rgba(22, 75, 53, .96); backdrop-filter: blur(12px);
}
.nav-links { display: flex; gap: 8px; }
.nav-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 999px; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,.1); }
.menu-button { display: none; }

.panel { margin-top: 38px; background: var(--cream); overflow: hidden; }
.hero { min-height: 500px; padding: 58px; display: grid; grid-template-columns: 310px 1fr; gap: 58px; align-items: center; }
.portrait { height: 360px; border-radius: 120px 120px 24px 24px; background: var(--green); position: relative; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .7s ease, transform 3.6s ease; }
.hero-photo.active { opacity: 1; transform: scale(1); }
.hero-photo.headshot-photo { object-position: 50% 34%; }
.hero-photo.fishing-photo { object-position: 54% center; }
.hero-photo.city-photo { object-position: 58% center; }
.hero-photo.boat-photo { object-position: 54% center; }
.hero-photo.event-photo { object-position: 50% 38%; }
.hero-photo.street-photo { object-position: 55% 42%; }
.carousel-dots { position: absolute; z-index: 2; left: 50%; bottom: 15px; display: flex; gap: 6px; transform: translateX(-50%); }
.carousel-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.48); box-shadow: 0 1px 5px rgba(0,0,0,.3); transition: width .25s ease, background .25s ease; }
.carousel-dots i.active { width: 18px; border-radius: 999px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-photo { transition: none; transform: none; } }
.eyebrow { margin: 0 0 8px; color: var(--green-2); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Manrope", system-ui, sans-serif; font-weight: 700; letter-spacing: -.055em; }
h1 { margin-bottom: 12px; font-size: clamp(48px, 6vw, 74px); line-height: .98; }
h2 { margin-bottom: 0; font-size: clamp(36px, 5vw, 52px); line-height: 1; }
.flag { color: var(--green-2); font: 24px/1 "Manrope"; margin-left: 12px; vertical-align: top; }
.lead { font-size: 20px; font-weight: 600; line-height: 1.45; }
.hero-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 610px; }
.personality-link { width: fit-content; margin: 4px 0 18px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; color: var(--green); text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.personality-link:hover { transform: translateY(-2px); background: #e5eadb; }
.personality-link span { transition: transform .2s; }
.personality-link:hover span { transform: translateX(3px); }
.locations { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: var(--green-2); font-size: 13px; font-weight: 600; }
.locations i { width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.hero-links { display: flex; gap: 10px; margin-top: 26px; }
.social-links { display: flex; align-items: center; gap: 9px; }
.social-icon { width: 42px; height: 42px; flex: 0 0 42px; box-sizing: border-box; padding: 0; display: inline-flex; align-items: center; justify-content: center; line-height: 0; border-radius: 50%; color: var(--green); background: transparent; transition: transform .2s ease, background .2s ease, color .2s ease; }
.social-icon svg { width: 22px; height: 22px; display: block; flex: none; fill: currentColor; transform-origin: 50% 50%; }
.social-icon:hover { color: var(--cream); background: var(--green); transform: translateY(-2px); }
.social-icon:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 11px 18px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--green); color: white; box-shadow: 0 8px 20px rgba(22,75,53,.2); }
.secondary { border: 1px solid var(--line); color: var(--green); }

.section { padding: 50px 58px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 8px; }
.hole-marker { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--green-2); font-size: 12px; font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.34); color: inherit; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(22,75,53,.35); box-shadow: 0 14px 28px rgba(22,75,53,.12); }
.card-status { min-height: 42px; padding: 10px 14px; display: flex; justify-content: flex-end; align-items: center; border-bottom: 1px solid var(--line); }
.project-preview { height: 156px; position: relative; display: grid; place-items: center; align-content: center; overflow: hidden; color: white; }
.project-logo { z-index: 1; width: 78px; height: 78px; margin-bottom: 10px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.16)); }
.cornellpulse-project-logo { width: 88px; height: 88px; border-radius: 20px; }
.ecnived-preview { color: #194d31; background: radial-gradient(circle at 78% 18%, rgba(134,239,172,.5), transparent 34%), linear-gradient(145deg, #e9f4e8, #b9d8bd); }
.stockwise-preview { background: linear-gradient(145deg, #3b1768, #6f35a6); }
.project-preview::before, .project-preview::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.project-preview::before { width: 190px; height: 190px; right: -52px; top: -76px; }
.project-preview::after { width: 120px; height: 120px; left: -48px; bottom: -55px; }
.project-preview > span { position: relative; z-index: 1; font: 700 44px/1 "Manrope", sans-serif; letter-spacing: -.055em; }
.project-preview > small { position: relative; z-index: 1; margin-top: 10px; font-size: 8px; font-weight: 700; letter-spacing: .18em; opacity: .72; }
.mycaseprep-preview { background: radial-gradient(circle at 18% 82%, rgba(244,59,142,.34), transparent 38%), linear-gradient(145deg, #241044, #6722a2); }
.pulse-preview { color: #9f2e36; background: radial-gradient(circle at 80% 20%, rgba(255,76,85,.2), transparent 34%), linear-gradient(145deg, #fff9f7, #f6d9d5); }
.pulse-preview::before, .pulse-preview::after, .ecnived-preview::before, .ecnived-preview::after { border-color: rgba(83,54,50,.12); }
.hoops-preview { background: linear-gradient(145deg, #a86328, #e0a95a); }
.squishy-preview { background: linear-gradient(145deg, #57447d, #aa77a7); }
.project-content { padding: 18px; }
.project-content h3 { margin-bottom: 5px; font-size: 22px; }
.project-content p { min-height: 78px; margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 5px 9px; border-radius: 999px; background: #e5eadb; color: var(--green); font-size: 10px; font-weight: 700; }
.status { display: inline-block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.status.live { color: var(--green-2); }
.experience-list { display: grid; gap: 14px; margin-top: 26px; }
.experience-card { position: relative; min-height: 108px; padding: 23px 24px 23px 30px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.34); display: flex; align-items: center; justify-content: space-between; gap: 28px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.experience-card::before { content: ""; position: absolute; left: 14px; top: 22px; bottom: 22px; width: 3px; border-radius: 999px; background: var(--green-2); }
.experience-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.65); box-shadow: 0 10px 24px rgba(22,75,53,.1); }
.experience-main { min-width: 0; display: flex; align-items: center; gap: 18px; }
.company-logo { display: none; width: 66px; height: 54px; flex: 0 0 66px; place-items: center; }
.company-logo img { display: block; max-width: 62px; max-height: 44px; object-fit: contain; }
.company-logo.cornell-athletics-logo img { width: 50px; height: 50px; }
.company-logo.roku-logo { overflow: visible; }
.company-logo.roku-logo img { width: 54px; height: 54px; max-width: 54px; max-height: 54px; border-radius: 10px; transform: none; }
.company-logo.pwc-logo img { width: 54px; }
.company-logo.mteg-logo img { width: 50px; height: 50px; border-radius: 8px; }
.company-logo.hammerspace-logo { width: 54px; height: 54px; flex-basis: 54px; border-radius: 10px; background: #000; overflow: hidden; }
.company-logo.hammerspace-logo img { width: 46px; height: 46px; filter: none; }
.company-logo.uci-logo img { width: 50px; height: 50px; border-radius: 9px; }
.experience-card h3 { margin-bottom: 4px; font-size: 19px; }
.experience-card p { margin: 0; color: var(--muted); font-size: 14px; }
.experience-card time { flex: 0 0 auto; color: var(--green-2); font-size: 13px; font-weight: 700; text-align: right; }
.education-list article { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 25px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.school-mark { width: 62px; height: 62px; background: transparent; display: grid; place-items: center; color: white; font-family: "Manrope"; font-size: 24px; font-weight: 700; }
.school-mark img { display: block; transition: transform .28s cubic-bezier(.2,.8,.2,1), filter .28s ease; transform-origin: 50% 60%; }
.education-list article:hover .school-mark img { transform: translateY(-5px) scale(1.07); }
.school-mark.cornell-mark { border: 0; border-radius: 50%; overflow: visible; background: #fff; }
.school-mark.cornell-mark img { width: 58px; height: 58px; border-radius: 50%; object-fit: contain; }
.education-list article:hover .school-mark.cornell-mark img { transform: none; filter: none; }
.school-mark.high-school-mark { border: 0; border-radius: 0; overflow: visible; }
.school-mark.high-school-mark img { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
.education-list article:hover .school-mark.high-school-mark img { transform: none; filter: none; }
.school-mark.muted { background: #719478; font-family: "Manrope"; font-size: 14px; font-weight: 700; }
.education-list h3 { margin-bottom: 2px; font-size: 20px; }
.education-list p, .education-list small { margin: 0; color: var(--muted); }
.skill-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.skill-item { min-width: 0; min-height: 132px; padding: 18px 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.34); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: default; user-select: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.skill-item:hover { transform: translateY(-9px); border-color: rgba(22,75,53,.34); background: rgba(255,255,255,.68); box-shadow: 0 12px 24px rgba(22,75,53,.12); }
.skill-item img, .skill-item svg, .custom-skill-icon { width: 42px; height: 42px; margin-bottom: 10px; object-fit: contain; transition: transform .2s ease; }
.skill-item:hover img, .skill-item:hover svg, .skill-item:hover .custom-skill-icon { transform: scale(1.08) rotate(-3deg); }
.skill-item strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 13px; line-height: 1.25; white-space: nowrap; }
.skill-item code { margin-top: 4px; color: var(--muted); font: 500 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.custom-skill-icon { border-radius: 10px; background: #111; color: white; display: grid; place-items: center; font: 800 22px/1 "Manrope", sans-serif; transform: rotate(-7deg); }
.custom-skill-icon.lua { border-radius: 50%; background: #3155a4; transform: none; }
.brand-logo, .brand-svg { padding: 2px; }
.amplitude-logo { padding: 0; }
.office-logo { padding: 0; }
.resume-strip { padding: 38px 58px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.resume-strip h2 { font-size: clamp(32px, 4vw, 44px); }
.resume-strip p { margin-bottom: 0; color: var(--muted); }
.button.disabled { color: var(--muted); background: #e5eadb; cursor: not-allowed; white-space: nowrap; }
.resume-unlock { border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.pin-dialog { width: min(430px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--cream); box-shadow: 0 24px 80px rgba(10,32,23,.3); }
.pin-dialog::backdrop { background: rgba(8,28,20,.58); backdrop-filter: blur(5px); }
.pin-card { position: relative; padding: 34px; display: grid; gap: 13px; }
.pin-card h2 { font-size: 34px; }
.pin-card p { margin: 0; color: var(--muted); }
.pin-card label { margin-top: 5px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pin-card input { width: 100%; box-sizing: border-box; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: white; color: var(--green); font: 700 19px/1 "Manrope", sans-serif; letter-spacing: .35em; }
.pin-card input:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(22,75,53,.1); }
.pin-card .button { margin-top: 3px; border: 0; cursor: pointer; font-family: inherit; }
.pin-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font: 400 25px/1 sans-serif; }
.pin-close:hover { background: rgba(22,75,53,.08); color: var(--green); }
.pin-lock { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); background: var(--green); font-size: 25px; transform: rotate(-25deg); }
.pin-error { min-height: 18px; color: #a9342d !important; font-size: 12px; font-weight: 700; }
.contact { padding: 50px 58px; background: var(--green); color: white; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact .eyebrow { color: var(--lime); }
.contact p { margin-bottom: 0; color: rgba(255,255,255,.72); max-width: 660px; }
.contact-socials { margin-left: auto; flex: 0 0 auto; }
.contact-socials .social-icon { color: var(--cream); }
.contact-socials .social-icon:hover { color: var(--green); background: var(--cream); }
.light { background: var(--cream); color: var(--green); white-space: nowrap; }
footer { color: rgba(22,48,39,.72); display: flex; justify-content: space-between; padding: 24px 5px 0; font-size: 12px; }
footer a { color: inherit; }
.privacy-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.analytics-consent { position: fixed; z-index: 60; right: 20px; bottom: 20px; width: min(430px, calc(100% - 40px)); box-sizing: border-box; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; color: white; background: rgba(22,75,53,.98); box-shadow: 0 18px 55px rgba(8,28,20,.28); }
.analytics-consent p { margin: 0; display: grid; gap: 5px; }
.analytics-consent strong { font-size: 14px; }
.analytics-consent span { color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.5; }
.analytics-consent > div { margin-top: 14px; display: flex; justify-content: flex-end; gap: 8px; }
.analytics-consent button { padding: 8px 12px; border: 0; border-radius: 999px; font: 700 12px/1 "Manrope", sans-serif; cursor: pointer; }
.consent-decline { color: white; background: rgba(255,255,255,.1); }
.consent-accept { color: var(--green); background: var(--cream); }
.back-link { padding: 9px 14px; border-radius: 999px; color: rgba(255,255,255,.82); text-decoration: none; font-size: 13px; font-weight: 700; transition: background .2s; }
.back-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.personality-hero { padding: 76px 58px; background: linear-gradient(135deg, var(--cream) 0 66%, #dfe9cf 66%); }
.personality-hero h1 { max-width: 750px; margin-bottom: 20px; }
.personality-intro { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 19px; }
.personality-widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.stat-widget { min-width: 0; min-height: 76px; padding: 12px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(22,75,53,.14); border-radius: 16px; background: rgba(255,255,255,.58); box-shadow: 0 8px 22px rgba(22,75,53,.07); }
.duolingo-mark { width: 46px; height: 46px; padding: 3px; display: block; border-radius: 12px; object-fit: contain; background: #fff; }
.stat-widget > div:not(.artist-portraits) { min-width: 0; display: grid; gap: 2px; }
.streak-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.stat-widget strong { color: var(--green); font-size: 16px; line-height: 1.15; white-space: nowrap; }
.streak-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #438f1c; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.streak-live i { width: 7px; height: 7px; border-radius: 50%; background: #58cc02; box-shadow: 0 0 0 4px rgba(88,204,2,.12); }
.golf-ball-icon { width: 54px; height: 54px; flex: 0 0 54px; display: block; object-fit: contain; background: transparent; filter: drop-shadow(0 3px 5px rgba(22,48,39,.14)); }
.artist-portraits { width: 46px; height: 46px; flex: 0 0 46px; position: relative; overflow: hidden; border-radius: 50%; background: #d9dfd5; }
.artist-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .45s ease, transform .45s ease; }
.artist-photo.active { opacity: 1; transform: scale(1); }
.artist-name { display: none; }
.artist-name.active { display: block; }
.music-bars { height: 22px; margin-left: auto; display: flex; align-items: flex-end; gap: 2px; }
.music-bars i { width: 3px; border-radius: 3px; background: var(--green-2); animation: music-bar .8s ease-in-out infinite alternate; }
.music-bars i:nth-child(1) { height: 9px; }
.music-bars i:nth-child(2) { height: 18px; animation-delay: -.35s; }
.music-bars i:nth-child(3) { height: 13px; animation-delay: -.6s; }
@keyframes music-bar { to { height: 5px; } }
.interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.interest-card { min-height: 150px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: flex-start; gap: 22px; background: rgba(255,255,255,.35); }
.interest-card.featured-interest { color: #fff; background: linear-gradient(145deg, var(--green), var(--green-2)); }
.interest-card h3 { margin-bottom: 5px; font-size: 22px; }
.interest-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.featured-interest p { color: rgba(255,255,255,.7); }
.interest-number { color: var(--green-2); font-size: 11px; font-weight: 800; }
.featured-interest .interest-number { color: var(--lime); }
.interest-stories { display: grid; gap: 18px; margin-top: 26px; }
.interest-story { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.4fr); min-height: 330px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.38); }
.interest-story.reverse { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .8fr); }
.interest-story.reverse .interest-copy { order: 2; }
.interest-story.reverse .interest-photos { order: 1; }
.interest-copy { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.interest-copy h3 { margin: 10px 0 12px; font-size: clamp(25px, 3vw, 34px); line-height: 1.12; }
.interest-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.interest-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; min-width: 0; background: var(--green); }
.interest-photos img { width: 100%; height: 100%; min-height: 330px; display: block; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.interest-story:hover .interest-photos img { transform: scale(1.025); filter: saturate(1.06); }
.section-copy { margin: 24px 0; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; gap: 12px; }
.gallery-placeholder { border-radius: 17px; display: grid; place-items: center; overflow: hidden; color: rgba(255,255,255,.74); background: linear-gradient(145deg, #2b7352, #9ac27e); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gallery-placeholder:nth-child(2) { background: linear-gradient(145deg, #b6c9a4, #496f55); }
.gallery-placeholder:nth-child(3) { background: linear-gradient(145deg, #bf7748, #e1b06d); }
.gallery-placeholder:nth-child(4) { background: linear-gradient(145deg, #264d76, #91aeca); }
.gallery-placeholder.wide { grid-column: span 2; }
.empty-writing { margin-top: 26px; padding: 42px; border: 1px dashed rgba(22,75,53,.25); border-radius: 18px; text-align: center; }
.empty-writing span { font-size: 18px; font-weight: 700; }
.empty-writing p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.personality-footer { padding: 42px 58px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.personality-footer h2 { font-size: clamp(30px, 4vw, 44px); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .site-shell { width: min(100% - 24px, 620px); margin-top: 12px; }
  .nav-card { top: 8px; border-radius: 18px; }
  .menu-button { display: block; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 12px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 10px; background: var(--green); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; }
  .nav-links.open { display: flex; }
  .hero { padding: 28px; grid-template-columns: 1fr; gap: 28px; }
  .portrait { height: 280px; border-radius: 90px 90px 20px 20px; }
  .section, .contact, .resume-strip { padding: 34px 28px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-content p { min-height: auto; }
  .experience-card { align-items: flex-start; flex-direction: column; gap: 12px; }
  .experience-main { align-items: flex-start; }
  .company-logo { width: 52px; height: 46px; flex-basis: 52px; }
  .company-logo img { max-width: 48px; max-height: 38px; }
  .experience-card time { text-align: left; }
  .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .skill-item { min-height: 112px; padding: 14px 6px 11px; }
  .skill-item img, .skill-item svg, .custom-skill-icon { width: 34px; height: 34px; }
  .skill-item strong { font-size: 11px; }
  .resume-strip { align-items: flex-start; flex-direction: column; }
  .analytics-consent { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .personality-hero { padding: 54px 28px; }
  .personality-widgets { grid-template-columns: 1fr; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-story, .interest-story.reverse { grid-template-columns: 1fr; }
  .interest-story.reverse .interest-copy, .interest-story.reverse .interest-photos { order: initial; }
  .interest-copy { padding: 28px; }
  .interest-photos img { min-height: 260px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-placeholder.wide { grid-column: auto; }
  .personality-footer { padding: 34px 28px; align-items: flex-start; flex-direction: column; }
  .contact { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; gap: 4px; }
}

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