#about {
  --about-green: #006a66;
  --about-ink: #030b0a;
  --about-paper: #f5efd9;
  --about-grain: url('../assets/phase01/grunge_texture.png');
  min-height: 100svh;
  display: block;
  color: var(--about-paper);
  background: var(--about-green);
  isolation: isolate;
  overflow: clip;
}
main:not([data-screen=about]) > #about,
main[data-screen=about] > :is(#home,#projects) { display: none; }
main[data-screen=about] { height: auto; }
html:has(main[data-screen=about]) { scroll-snap-type: none; }
.about-poster {
  position: relative;
  max-width: 1720px;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(24px,4vw,70px) clamp(24px,6.3vw,110px);
  display: flex;
  flex-direction: column;
  gap: clamp(30px,5vh,72px);
}
.about-poster::before,
.about-profile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--about-grain) center / cover;
  mix-blend-mode: screen;
  pointer-events: none;
}
.about-poster::before { opacity: .15; z-index: -1; }
.about-profile::after { opacity: .14; clip-path: var(--about-panel); z-index: -1; }
.about-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.about-home {
  color: inherit;
  text-decoration: none;
  font: italic 900 clamp(17px,1.7vw,28px)/1 Arial,sans-serif;
  padding: .45em .62em;
  margin-inline-start: -.62em;
  transition: transform 140ms ease-out, background 140ms ease-out;
}
.about-home:hover { transform: translateX(-4px) skewX(-5deg); background: var(--about-ink); }
.about-home:active { color: var(--about-ink); background: #f4cc55; }
.about-home:focus-visible { outline: 2px solid var(--about-paper); outline-offset: 3px; }
.about-section-name { font: 800 clamp(10px,1vw,14px)/1.3 Arial,sans-serif; letter-spacing: .1em; text-align: right; }
.about-grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: clamp(22px,4vw,64px); flex: 1; align-items: center; }
.about-intro { min-width: 0; padding-bottom: clamp(8px,3vh,38px); z-index: 1; }
#about-name {
  margin: 0;
  display: grid;
  gap: .04em;
  justify-items: start;
  font: italic 900 clamp(66px,9.3vw,167px)/.88 Arial,sans-serif;
  letter-spacing: -.075em;
}
#about-name span {
  display: block;
  background: var(--about-ink);
  padding: .14em .26em .18em .12em;
  clip-path: polygon(1% 8%,100% 0,95% 94%,0 100%);
}
#about-name span:last-child {
  margin-inline-start: .18em;
  clip-path: polygon(3% 0,100% 6%,94% 100%,0 92%);
}
.about-cv {
  display: inline-flex;
  align-items: center;
  gap: 1.25em;
  margin-top: clamp(19px,2.4vh,30px);
  min-height: 44px;
  padding: .6em 1.3em;
  color: var(--about-ink);
  background: var(--about-paper);
  clip-path: polygon(3% 5%, 100% 0, 96% 94%, 0 100%);
  font: italic 900 clamp(16px,1.25vw,22px)/1.1 Arial,sans-serif;
  text-decoration: none;
  transition: transform 140ms ease-out, background 140ms ease-out;
}
.about-cv:hover { transform: translateX(4px); background: #c8e0d4; }
.about-cv:active { background: #f4cc55; }
.about-cv:focus-visible { box-shadow: inset 0 0 0 3px #278c80; }
.about-profile {
  --about-panel: polygon(5% 3%,100% 0,97% 96%,0 100%);
  position: relative;
  isolation: isolate;
  padding: clamp(37px,4.2vw,73px) clamp(26px,4.5vw,76px);
  display: grid;
  gap: clamp(24px,3.3vh,43px);
  min-width: 0;
}
.about-profile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--about-ink);
  clip-path: var(--about-panel);
}
.about-group h2 { margin: 0 0 .55em; font: italic 900 clamp(21px,2.1vw,35px)/1 Arial,sans-serif; letter-spacing: -.045em; }
.about-group svg { width: 25px; height: 25px; flex: 0 0 25px; stroke: currentColor; fill: none; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.about-education { display: flex; gap: 14px; align-items: start; }
.about-education strong { font-size: clamp(16px,1.28vw,22px); }
.about-education p { margin: 5px 0 0; font-size: clamp(14px,1.05vw,18px); line-height: 1.35; }
.about-education .about-dates { color: #a5dfd1; font-weight: 700; }
.about-group ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; }
.about-group li { display: flex; gap: 9px; align-items: center; min-width: 0; font-size: clamp(13px,1vw,17px); font-weight: 700; }
.about-interests li { padding: 10px 12px; min-height: 48px; background: var(--about-green); clip-path: polygon(2% 3%,100% 0,96% 95%,0 100%); }
.about-toolkit li { padding: 5px 0; }
@media (prefers-reduced-motion: no-preference) {
  main[data-screen=about] .about-grid { animation: about-enter 250ms cubic-bezier(.18,.7,.32,1) both; }
  @keyframes about-enter { from { opacity: .45; translate: 0 10px; clip-path: polygon(0 0,100% 0,100% 65%,0 100%); } }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; align-content: center; }
  .about-profile { max-width: 700px; width: 100%; }
  #about-name { font-size: clamp(62px,14vw,118px); }
}
@media (max-width: 430px) {
  .about-poster { padding-inline: 19px; }
  .about-profile { padding-inline: 25px; }
  .about-group li { gap: 6px; }
  .about-group li svg { width: 20px; height: 20px; flex-basis: 20px; }
  .about-interests li { padding-inline: 8px; }
}

/* About entrance: separate ink, title and information passes. */
.about-cv { isolation: isolate; position: relative; }
.about-cv::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--about-ink);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 150ms cubic-bezier(.18,.78,.27,1);
}
.about-cv:hover, .about-cv:focus-visible { color: var(--about-paper); transform: translateX(4px) skewX(-3deg) scale(1.025); }
.about-cv:is(:hover,:focus-visible)::before { transform: scaleX(1); }
.about-cv:active { color: var(--about-ink); background: #f4cc55; }
.about-cv:active::before { transform: scaleX(0); }
.about-cv span { transition: translate 150ms ease-out; }
.about-cv:hover span { translate: 3px -2px; }
#home .phase-menu button:active { color: #030b0a; }
#home .phase-menu button:active::before { background: #f4cc55; transform: scaleX(1); }

@media (prefers-reduced-motion: no-preference) {
  main[data-screen=about] .about-grid { animation: none; }
  main[data-screen=about] .about-poster::before { animation: about-ink 245ms both ease-out; }
  main[data-screen=about] #about-name span:first-child { animation: about-name-in 385ms 50ms both cubic-bezier(.15,.75,.34,1); }
  main[data-screen=about] #about-name span:last-child {
    --about-entry: -36px, 34px;
    --about-tilt: -7deg;
    animation: about-name-in 370ms 145ms both cubic-bezier(.15,.75,.34,1);
  }
  main[data-screen=about] .about-profile::before,
  main[data-screen=about] .about-profile::after { animation: about-panel-in 350ms 120ms both cubic-bezier(.15,.75,.34,1); }
  main[data-screen=about] :is(.about-education,.about-group h2,.about-group li,.about-cv) {
    animation: about-item-in 230ms var(--about-delay,360ms) both cubic-bezier(.18,.78,.27,1);
  }
  main[data-screen=about] .about-group:nth-child(2) { --about-delay: 465ms; }
  main[data-screen=about] .about-interests li:nth-child(2) { --about-delay: 530ms; }
  main[data-screen=about] .about-interests li:nth-child(3) { --about-delay: 595ms; }
  main[data-screen=about] .about-interests li:nth-child(4) { --about-delay: 660ms; }
  main[data-screen=about] .about-group:nth-child(3) { --about-delay: 610ms; }
  main[data-screen=about] .about-toolkit li:nth-child(2) { --about-delay: 665ms; }
  main[data-screen=about] .about-toolkit li:nth-child(3) { --about-delay: 720ms; }
  main[data-screen=about] .about-toolkit li:nth-child(4) { --about-delay: 770ms; }
  main[data-screen=about] .about-cv { --about-delay: 690ms; }
  main[data-screen=about] .about-cv:focus-visible { animation: none; }
}
@media (prefers-reduced-motion: no-preference) and (hover:hover) and (pointer:fine) {
  #about-name span { translate: var(--motion-x,0px) var(--motion-y,0px); transition: translate 175ms ease-out; }
  .about-profile::after { translate: calc(var(--motion-x,0px) * -.5) calc(var(--motion-y,0px) * -.5); transition: translate 175ms ease-out; }
}
@keyframes about-ink {
  from { clip-path: polygon(0 0,15% 0,0 100%,0 100%); opacity: .06; }
}
@keyframes about-name-in {
  0% { opacity: .3; transform: translate(var(--about-entry,-64px, -12px)) rotate(var(--about-tilt,5deg)); }
  76% { opacity: 1; transform: translateX(5px) rotate(-1deg); }
}
@keyframes about-panel-in {
  from { opacity: .15; transform: translateX(46px) skewX(-7deg); }
}
@keyframes about-item-in {
  from { opacity: .15; translate: -12px 5px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.about-home,.about-cv,.about-cv::before,.about-cv span) { transition: none; }
}
