html.portfolio-home { scrollbar-width: none; scroll-padding-top: 78px; --intro-arrow-bottom: 38px; --intro-arrow-size: 52px; }
html.portfolio-home::-webkit-scrollbar { display: none; }
.full-page .site-header { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 22px; }
.full-page .wordmark { justify-self: start; }
.full-page .section-links { margin: 0; justify-self: center; }
.full-page .socials { margin: 0; justify-self: end; }
.full-page .compact-projects { display: none; }
.enter-work { bottom: var(--intro-arrow-bottom); width: var(--intro-arrow-size); height: var(--intro-arrow-size); left: calc(50% - var(--intro-arrow-size) / 2); }
.about-section { min-height: calc(100svh - 78px); padding: 38px 0 var(--intro-arrow-bottom); gap: 28px; grid-template-rows: 1fr auto; align-content: stretch; }
.about-section .about-layout { align-self: center; }
.continue-work { min-height: var(--intro-arrow-size); }
.step-arrow { width: var(--intro-arrow-size); height: var(--intro-arrow-size); }
.about-section .about-right { gap: 24px; }
.about-section .portrait { width: 325px; }
.about-section .portrait-window { height: 335px; }
.about-section .portrait img { width: 380px; }
.about-section .about-paragraphs { gap: 16px; }
@media (max-width: 1120px) and (min-width: 901px) {
  .full-page .site-header { gap: 12px; padding-inline: 20px; }
  .full-page .section-links { gap: 12px; }
  .full-page .wordmark { font-size: 12px; }
  .full-page .social { width: 30px; }
}
@media (max-width: 900px) {
  html.portfolio-home { scroll-padding-top: 68px; }
  .full-page .site-header { height: calc(68px + env(safe-area-inset-top)); min-height: 68px; display: flex; justify-content: center; flex-wrap: nowrap; padding: env(safe-area-inset-top) 18px 0; }
  .full-page .site-header > .wordmark,.full-page .compact-projects,.full-page .section-links { display: none; }
  .full-page .socials { width: auto; margin: 0; justify-content: center; gap: 10px; }
  .full-page .social { width: 44px; height: 44px; }
  .full-page .social svg { width: 21px; height: 21px; }
  .full-page .cv-link { width: 44px; height: 44px; padding: 0; margin: 0; justify-content: center; font: 13px var(--display); }
  .full-page .cv-arrow { display: none; }
  .hero { padding-top: 92px; }
  .about-section { min-height: calc(100svh - 68px); }
}
@media (max-width: 600px) {
  html.portfolio-home { --intro-arrow-bottom: 28px; --intro-arrow-size: 46px; }
  .hero { min-height: 0; }
  .about-section { padding: 20px 0 var(--intro-arrow-bottom); gap: 18px; }
  .about-section .about-layout { gap: 20px; }
  .about-section .about-title { font-size: clamp(25px,7vw,32px); }
  .about-section .about-right { gap: 18px; }
  .about-section .portrait { width: 285px; }
  .about-section .portrait-window { height: 295px; }
  .about-section .portrait img { width: 350px; }
  .about-section .about-paragraphs { gap: 12px; }
  .about-section .reactive-copy { font-size: 13px; line-height: 1.65; }
}
@media (max-width: 600px) and (max-height: 740px) {
  .about-section { padding: 16px 0 var(--intro-arrow-bottom); gap: 12px; }
  .about-section .about-layout { gap: 12px; }
  .about-section .about-title { font-size: 26px; }
  .about-section .portrait-window { height: 205px; }
  .about-section .portrait { width: 245px; }
  .about-section .portrait img { width: 270px; }
  .about-section .about-right { gap: 12px; }
  .about-section .reactive-copy { font-size: 12.5px; line-height: 1.6; }
  .about-section .about-paragraphs { gap: 10px; }
}
@media (max-width: 360px) {
  .about-section .portrait { width: 240px; }
  .about-section .portrait-code { width: calc(100% + 30px); left: -15px; }
}

/* Native touch snapping is enabled only above Projects, never across the work area. */
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html.portfolio-home.mobile-guided:not(.mobile-navigating) { scroll-snap-type: y mandatory; }
  .hero, .about-section, .intro-project-stop { scroll-snap-align: start; scroll-snap-stop: always; scroll-margin: 0; }
  .intro-project-stop { position: absolute; top: 0; width: 1px; height: 1px; pointer-events: none; }
}
.past-title .enter-work { visibility: hidden; }
html.intro-managed:not(.at-introduction) .continue-work { visibility: hidden; }
