@media(max-width: 760px) {
  :root { --site-anchor-offset: 98px; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-wrap: break-word; }
  main { min-width: 0; }

  .site-header.hero-header { padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
  .site-header .gooey-nav { --gn-font: 12px; --gn-x: 10px; --gn-gap: 6px; --gn-pad: 6px; }

  .hero.hero--hello { display: flex; height: auto; min-height: 100svh; padding: calc(var(--site-anchor-offset) + 12px) 20px 40px; }
  .hello-composition { display: flex; flex-direction: column; justify-content: center; width: 100%; height: auto; }
  .hello-portrait { position: relative; top: auto; right: auto; align-self: flex-end; width: min(100%, 340px); border-radius: 20px; }
  .hello-introduction { position: relative; top: auto; right: auto; bottom: auto; left: auto; margin-top: -20px; }
  .hello-title { margin-bottom: 18px; font-size: clamp(80px, 26vw, 144px); line-height: .9; }
  .hello-name { max-width: 100%; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.35; }

  .about { padding: 36px 20px 48px; }
  .about-label { margin-bottom: 22px; }
  .about-statement { font-size: clamp(27px, 7.8vw, 42px); line-height: 1.15; letter-spacing: -.045em; }
  .strengths { padding: 12px 20px 48px; }
  .strengths-heading { font-size: clamp(26px, 8.6vw, 56px); }

  .expertise {
    --expertise-card-height: clamp(var(--expertise-min-card, 240px), calc(100svh - var(--expertise-pin) - var(--expertise-intro-height) - var(--expertise-depth) - 16px), 390px);
    --expertise-hold: clamp(180px, 40svh, 360px);
    padding: 48px 16px;
  }
  .expertise-intro { position: sticky; gap: 14px; padding: 0 4px 24px; }
  .expertise-intro h2 { max-width: 100%; font-size: clamp(36px, 10.5vw, 54px); }
  .expertise-intro p { font-size: 17px; line-height: 1.35; }
  .expertise-stack { gap: 40px; }
  .expertise-card-surface { padding: 24px 22px; border-radius: 16px; }
  .expertise-index { margin-bottom: 16px; font-size: 25px; }
  .expertise-card h3 { font-size: clamp(28px, 7.4vw, 38px); line-height: 1.08; }
  .expertise-card p { padding-top: 20px; font-size: 17px; line-height: 1.4; }

  .experience { padding: 48px 20px; }
  .experience-heading, .education-heading { margin-left: 0; font-size: clamp(44px, 11vw, 64px); }
  .experience-role-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .experience-role h3 { max-width: 100%; font-size: 32px; line-height: 1.1; }
  .experience-company { font-size: 16px; line-height: 1.4; }
  .experience-date { display: flex; gap: 8px; font-size: 18px; }
  .experience-list { gap: 18px; }
  .experience-item p { font-size: 16px; line-height: 1.55; letter-spacing: -.015em; }
  .education { padding: 12px 20px 48px; }
  .education-card { min-height: 260px; }
  .education-certifications { min-width: 0; }
  .education-certifications li { max-width: 100%; padding: 12px 14px; font-size: 14px; overflow-wrap: anywhere; }

  .toolkit { padding: 0; }
  .toolkit-pane { padding: 48px 0; }
  .toolkit-heading { padding: 0 20px; text-align: left; }
  .toolkit-heading h2, .work-heading h2 { font-size: clamp(40px, 11vw, 60px); }
  .toolkit-heading p { margin-top: 14px; font-size: 17px; line-height: 1.3; }
  .toolkit--orbit .toolkit-pane { gap: 16px; padding: 12px 0; }
  .toolkit--orbit .toolkit-orbit-stage { min-height: calc(var(--tool-card-size) + 16px); }
  .toolkit--orbit .toolkit-tool { padding: 22px; }
  .toolkit--orbit .toolkit-tool h3 { font-size: clamp(22px, calc(var(--tool-card-size) * .09), 29px); }
  .toolkit--orbit .toolkit-tool p { font-size: clamp(13px, calc(var(--tool-card-size) * .05), 16px); line-height: 1.3; }
  .toolkit--orbit .toolkit-tool img { width: 28%; height: 28%; }
  .toolkit--orbit .toolkit-tool--odoo img { width: 72%; height: 28%; }

  .project-work { padding: 0; }
  .work-pane { padding: 48px 0; }
  .work-heading { padding-inline: 20px; }
  .work-copy h3 { font-size: clamp(28px, 8vw, 40px); line-height: 1.05; }
  .work-description { font-size: 16px; line-height: 1.3; }
  .work-action { min-height: 44px; margin-top: 12px; }
  .project-work--scroll .work-pane { padding: 12px 0; }
  .project-work--scroll .work-heading { padding-bottom: 16px; }
  .project-work--scroll .work-window { min-height: 180px; }
  .project-work--scroll .work-project { padding: 24px 20px; }
  .work-art { top: 6%; right: -8%; width: 100%; height: 46%; min-height: 0; }
  .work-preview-label { top: 16px; left: 20px; font-size: 9px; }

  .connect { padding: 48px 20px 24px; }
  .connect-heading { margin-bottom: 28px; font-size: clamp(52px, 13vw, 80px); }
  .connect-card { min-height: 320px; gap: 32px; padding: 24px; }
  .connect-channel { margin-bottom: 24px; font-size: 17px; }
  .connect-card h3 { font-size: clamp(32px, 8.2vw, 46px); line-height: 1.04; }
  .connect-invitation { margin-bottom: 20px; font-size: 16px; line-height: 1.45; }
  .connect-action { font-size: 14px; }
  .connect-arrow { width: 44px; height: 44px; }
  .connect-footer { gap: 20px; padding-top: 32px; }
  .connect-footer-links { flex-wrap: wrap; gap: 12px; }
}

@media(max-width: 760px) and (max-height: 640px) {
  .expertise-intro { position: relative; top: auto; }
}

@media(max-width: 760px) and (max-height: 500px) {
  .expertise-card-surface { padding: 18px; }
  .expertise-index { margin-bottom: 12px; font-size: 20px; }
  .expertise-card h3 { font-size: 26px; }
  .expertise-card p { padding-top: 16px; font-size: 15px; line-height: 1.35; }
  .toolkit-heading h2, .work-heading h2 { font-size: 32px; }
  .toolkit-heading p { margin-top: 10px; font-size: 15px; line-height: 1.25; }
  .toolkit--orbit .toolkit-pane { gap: 12px; }
  .toolkit--orbit .toolkit-tool { padding: 12px; }
  .toolkit--orbit .toolkit-tool h3 { font-size: 18px; }
  .toolkit--orbit .toolkit-tool p { margin-top: 6px; font-size: 12px; line-height: 1.2; }
  .project-work--scroll .work-heading { padding-bottom: 12px; }
  .project-work--scroll .work-project { padding: 16px; }
  .work-copy h3 { font-size: 26px; }
  .work-description { font-size: 15px; }
  .project-work--scroll .work-category { margin-bottom: 6px; font-size: 8px; }
  .project-work--scroll .work-copy h3 { font-size: 24px; }
  .project-work--scroll .work-description { margin-top: 8px; font-size: 14px; line-height: 1.25; }
  .project-work--scroll .work-action { margin-top: 8px; font-size: 12px; }
}

@media(max-width: 760px) and (prefers-reduced-motion: reduce) {
  .expertise-intro, .expertise-card { position: relative; top: auto; }
}
