/* About is a human introduction first, with real-time work as the supporting material. */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr);
  gap: clamp(36px, 5vw, 105px);
  align-items: center;
  min-height: min(840px, 90svh);
  padding-block: clamp(80px, 8vw, 120px);
  background: radial-gradient(ellipse at 82% 30%, #cbdccf 0%, transparent 52%), #f1f3eb;
}
.about-hero-copy { min-width: 0; }
.about-intro-index {
  font: 550 .72rem/1.5 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .07em;
  color: #647d70;
  margin: clamp(34px, 5vw, 68px) 0 0;
}
.about-intro-index span { color: #739c62; padding-inline: .5em; }
.about-hero h1 {
  font-size: clamp(3.55rem, 6.05vw, 7.4rem);
  line-height: 1.015;
  max-width: 11ch;
  margin: clamp(20px, 2.4vw, 38px) 0 clamp(24px, 2.5vw, 38px);
  letter-spacing: -.075em;
}
.about-hero h1 em { font-weight: 450; color: #52775d; }
.about-hero .lede {
  max-width: 47ch;
  font-size: clamp(1.11rem, 1.48vw, 1.54rem);
  line-height: 1.48;
  color: #50675b;
  letter-spacing: -.018em;
}
.about-hero-actions { display: flex; gap: clamp(24px, 3vw, 54px); flex-wrap: wrap; margin-top: clamp(32px, 4vw, 62px); }
.about-hero-actions a {
  display: inline-flex; gap: 20px; align-items: center;
  padding: 11px 0 12px; border-bottom: 1px solid #6f9076;
  color: #254c39; font-weight: 620; font-size: .99rem;
  transition: color .22s ease, border-color .22s ease;
}
.about-hero-actions a span { transition: transform .33s cubic-bezier(.15,.83,.2,1); }
.about-hero-actions a:hover { color: #4a8f53; border-color: currentColor; }
.about-hero-actions a:hover span { transform: translate(3px,-3px); }
.about-portrait { width: 100%; max-width: 475px; justify-self: end; margin: 0; position: relative; }
.about-portrait-surface {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 4.7; background: #d3d8d1;
  box-shadow: 0 32px 85px #2445361a, 0 1px 0 #f6f7f1 inset;
}
.about-portrait-surface::after {
  content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none;
  border: 1px solid #edf2e744;
  background: linear-gradient(160deg, #f8fff51f, transparent 35%, #08271912 100%);
}
.about-portrait img, .about-portrait-canvas {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
}
.about-portrait img { object-fit: cover; object-position: 51% 31%; filter: contrast(1.08) brightness(1.02); }
.about-portrait-canvas { opacity: 0; pointer-events: none; transition: opacity .32s ease; z-index: 2; }
.about-portrait.is-active .about-portrait-canvas { opacity: 1; }
.about-portrait figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 15px; color: #688176;
  font: 550 .67rem/1.45 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .04em;
}
.about-portrait-hint { color: #3d7054; }
.about-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; background: #12392e; color: #ecf4e9;
  padding: clamp(32px, 3.2vw, 54px) var(--edge);
}
.about-proof > div { padding: 12px clamp(15px, 3.1vw, 55px); border-left: 1px solid #5b7c6b; min-width: 0; }
.about-proof > div:first-child { padding-left: 0; border-left: 0; }
.about-proof small { font: 550 .7rem/1.5 "IBM Plex Mono", ui-monospace, monospace; color: #a4cba7; letter-spacing: .05em; }
.about-proof strong { display: block; font-size: clamp(1.55rem, 2.1vw, 2.85rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.13; margin: 17px 0 14px; }
.about-proof span { display: block; color: #b8cdbf; font-size: clamp(.85rem, .95vw, 1rem); line-height: 1.5; }
.about-proof strong { transition:color .25s ease, transform .33s cubic-bezier(.16,.88,.2,1); }
.about-proof > div:hover strong { color:#d5f1c0; transform:translateX(3px); }
.about-hero + .practice-jump { position: relative; }
.practice-thesis { padding-block: clamp(72px, 7.6vw, 130px); }
.practice-thesis h2 { font-size: clamp(3.15rem, 5.3vw, 6.3rem); }
.practice-thesis p { font-size: clamp(1.12rem, 1.35vw, 1.37rem); }
.client-section { padding-block: clamp(74px, 7.2vw, 120px); }
.client-section .client-wall h2 { margin-bottom: clamp(34px, 3.4vw, 65px); }
.client-group { padding-block: clamp(21px, 2.3vw, 40px); }
.client-featured { border-top: 1px solid #728c7b; }
.client-featured-label,.client-other-label {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
  gap: 7px 20px; padding: 18px 0;
  color: #b7c8b9; font: 520 .76rem/1.5 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .045em; text-transform: uppercase;
}
.client-featured-label span:last-child,.client-other-label span:last-child { color: #829e8c; text-transform: none; letter-spacing: .015em; }
.client-identity-row {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr));
  border-top: 1px solid #557565; border-bottom: 1px solid #557565;
}
.client-identity {
  position: relative; overflow: hidden; min-width: 0; min-height: 186px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(17px,2.1vw,36px);
  border-left: 1px solid #557565;
  background: radial-gradient(ellipse at var(--card-x,50%) var(--card-y,50%),#a4d6ab00 0%,transparent 65%);
  transition: background .25s ease;
}
.client-identity:first-child { border-left: 0; }
.client-identity::after {
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:linear-gradient(90deg,#9ace94,#d4f4ba); transform:scaleX(0);
  transform-origin:left; transition:transform .4s cubic-bezier(.16,.88,.2,1);
}
.client-identity img {
  display:block; width:clamp(42px,4.7vw,72px); height:clamp(42px,4.7vw,72px);
  object-fit:contain; object-position:left center;
  filter:brightness(0) invert(1); opacity:.83;
  transform:translate3d(0,0,0);
  transition:transform .42s cubic-bezier(.16,.88,.2,1), opacity .3s ease;
}
.client-identity strong {
  margin:12px 0 7px; color:#e7f2e7; font-size:clamp(1rem,1.3vw,1.4rem);
  font-weight:550; letter-spacing:-.03em; line-height:1.2;
  transition:transform .42s cubic-bezier(.16,.88,.2,1),color .25s ease;
}
.client-identity small { font:520 .65rem/1.3 "IBM Plex Mono",ui-monospace,monospace; color:#9bb8a4; letter-spacing:.06em; }
.client-identity:is(:hover,:focus-within) { background:radial-gradient(ellipse at var(--card-x,50%) var(--card-y,50%),#a4d6ab1e 0%,transparent 68%); }
.client-identity:is(:hover,:focus-within)::after { transform:scaleX(1); }
.client-identity:is(:hover,:focus-within) img { opacity:1; transform:translate3d(0,-5px,0) scale(1.055); }
.client-identity:is(:hover,:focus-within) strong { color:#d5f2c4; transform:translateY(-2px); }
.client-other-label { margin-top:clamp(35px,4vw,60px); }
.client-group li { transition:color .25s ease, transform .33s cubic-bezier(.16,.88,.2,1), text-shadow .3s ease; }
.client-group li:hover { color:#d6f1c2; transform:translateY(-2px); text-shadow:0 0 24px #a0dfa133; }
.client-group:has(li:hover) li:not(:hover) { color:#b6c8b9; }
.skill-rails > div { position:relative; }
.skill-rails > div::before { content:""; position:absolute; top:-1px; left:0; width:clamp(30px,7vw,100px); height:2px; background:#44805b; transform:scaleX(0); transform-origin:left; transition:transform .4s cubic-bezier(.16,.88,.2,1); }
.skill-rails > div:hover::before { transform:scaleX(1); }
.skill-rails h3 { transition:color .24s ease, transform .35s cubic-bezier(.16,.88,.2,1); }
.skill-rails > div:hover h3 { color:#2d714e; transform:translateX(3px); }
.kinetic-type em {
  --type-lo:#557962; --type-hi:#9dcda0;
  background:linear-gradient(106deg,var(--type-lo) 0%,var(--type-lo) 31%,var(--type-hi) 48%,var(--type-lo) 65%,var(--type-lo) 100%);
  background-size:200% 100%; background-position:var(--type-position,0%) 50%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  transition:background-position .22s ease-out;
}
.client-wall .kinetic-type em,.about-shader-index .kinetic-type em { --type-lo:#b6d7b0; --type-hi:#eefcda; }
.gravity-presence .kinetic-type em { --type-lo:#567d70; --type-hi:#9ecaba; }
.kinetic-type:hover em { background-position:var(--type-position,52%) 50%; }
.story-ledger { padding-block: clamp(75px, 8vw, 132px); }
.story-ledger h2 { margin-bottom: clamp(34px, 4vw, 65px); }
.story-ledger article { padding-block: clamp(24px, 2.65vw, 45px); }
.story-ledger article { position:relative; }
.story-ledger article::before { content:""; position:absolute; top:-1px; left:0; width:clamp(35px,8vw,130px); height:2px; background:#6b9c75; transform:scaleX(0); transform-origin:left; transition:transform .4s cubic-bezier(.16,.88,.2,1); }
.story-ledger article:hover::before { transform:scaleX(1); }
.story-ledger article h3 { transition:color .25s ease, transform .35s cubic-bezier(.16,.88,.2,1); }
.story-ledger article:hover h3 { color:#427c54; transform:translateX(4px); }
.about-gravity {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 100px);
  align-items: center; min-height: 0;
  padding: clamp(80px, 7.6vw, 130px) var(--edge);
  background: #e5eee7; overflow: hidden;
}
.about-gravity .gravity-presence-story { width: 100%; max-width: 560px; }
.about-gravity .gravity-presence h2 { max-width: none; }
.about-gravity h2 { font-size: clamp(2.8rem, 4.25vw, 5.35rem); max-width: 12ch; margin: clamp(24px, 2.4vw, 40px) 0; }
.about-gravity p { font-size: clamp(1.06rem, 1.23vw, 1.3rem); max-width: 44ch; }
.about-gravity-viewport {
  position: relative; isolation: isolate; height: clamp(340px, 32vw, 510px);
  min-width: 0; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at center, #d5e7db 4%, transparent 64%);
}
.about-gravity .gravity-presence-field {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .94; background: transparent; filter: hue-rotate(2deg) saturate(.72) brightness(.92);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 66% 65% at center, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 66% 65% at center, #000 50%, transparent 100%);
}
.about-gravity-edge { position: absolute; inset: 9%; border: 1px solid #7d9e8d34; border-radius: 50%; pointer-events: none; }
.about-shader-index { background: #102b24; color: #eef4ed; padding: clamp(78px, 8vw, 130px) var(--edge); }
.about-shader-index-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 50px; margin-bottom: clamp(35px, 4vw, 67px); }
.about-shader-index .eyebrow { color: #9cbea7; }
.about-shader-index h2 { font-size: clamp(3rem, 5.35vw, 7rem); line-height: 1.02; letter-spacing: -.068em; font-weight: 450; margin-top: 22px; }
.about-shader-index h2 em { color: #c2dfa8; }
.about-shader-index-head p { color: #b2c8bc; line-height: 1.58; max-width: 37ch; font-size: clamp(1rem, 1.12vw, 1.25rem); }
.about-shader-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(12px, 1.5vw, 28px); }
.about-shader-links a { min-width: 0; display: flex; flex-direction: column; border-top: 1px solid #6c8578; padding-top: 15px; color: inherit; }
.about-shader-links img { display: block; width: 100%; aspect-ratio: 1.63; object-fit: cover; background: #04110d; filter: saturate(.82); transition: transform .7s cubic-bezier(.16,.88,.2,1), filter .5s ease; }
.about-shader-links a:hover img { filter: saturate(1.13); transform: scale(1.018); }
.about-shader-links a > span { display: flex; flex-direction: column; padding: 20px 0 14px; gap: 8px; }
.about-shader-links b,.about-shader-links small { font: 550 .7rem/1.5 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .045em; }
.about-shader-links b { color: #9fbd9f; }
.about-shader-links strong { font-size: clamp(1.4rem, 2vw, 2.4rem); font-weight: 470; letter-spacing: -.05em; }
.about-shader-links small { color: #c0e1b5; margin-top: 9px; }
.about-shader-links a:focus-visible { outline: 2px solid #c0e1b5; outline-offset: 7px; }
.about-next { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); background: #d0e1d3; }
.about-next .featurelink { min-width: 0; min-height: 290px; justify-content: center; padding: clamp(36px, 4vw, 68px) var(--edge); border-top: 1px solid #aebfb1; }
.about-next .featurelink + .featurelink { border-left: 1px solid #aebfb1; }
.about-next .featurelink small { color: #638171; }
.about-next .featurelink strong { font-size: clamp(2.15rem, 3.1vw, 4.2rem); line-height: 1.12; }
.about-next .featurelink strong span { display: inline-block; font-size: .45em; vertical-align: .4em; transition: transform .24s; }
.about-next .featurelink:hover strong span { transform: translate(4px,-4px); }
.about-next .featurelink > span { color: #627568; }
@media (max-width: 1050px) {
  .about-hero { grid-template-columns: minmax(0,1.15fr) minmax(255px,.85fr); gap: 32px; }
  .about-hero h1 { font-size: clamp(3.15rem, 6.2vw, 6.2rem); }
  .about-portrait { max-width: 410px; }
  .client-identity-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .client-identity:nth-child(4) { border-left:0; }
  .client-identity:nth-child(n+4) { border-top:1px solid #557565; }
}
@media (max-width: 760px) {
  .about-hero { min-height: 0; grid-template-columns: 1fr; gap: 45px; padding-block: 70px 60px; }
  .about-intro-index { margin-top: 38px; }
  .about-hero h1 { font-size: clamp(3.15rem, 10.1vw, 5.6rem); max-width: 13ch; }
  .about-hero .lede { max-width: 54ch; font-size: clamp(1.12rem, 3.2vw, 1.5rem); }
  .about-portrait { width: min(76%, 430px); justify-self: end; }
  .about-proof { grid-template-columns: 1fr; padding-block: 19px; }
  .about-proof > div, .about-proof > div:first-child { padding: 25px 0; border: 0; border-top: 1px solid #5b7c6b; }
  .about-proof > div:first-child { border-top: 0; }
  .about-proof strong { margin-block: 10px 8px; }
  .about-gravity { grid-template-columns: 1fr; gap: 10px; }
  .about-gravity-viewport { height: min(78vw, 460px); width: min(100%, 590px); justify-self: center; }
  .about-shader-index-head { grid-template-columns: 1fr; gap: 15px; }
  .about-shader-links { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
  .about-next { grid-template-columns: 1fr; }
  .about-next .featurelink { min-height: 220px; }
  .about-next .featurelink + .featurelink { border-left: 0; }
  .client-identity-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .client-identity { min-height:152px; padding:24px; }
  .client-identity:nth-child(odd) { border-left:0; }
  .client-identity:nth-child(even) { border-left:1px solid #557565; }
  .client-identity:nth-child(n+3) { border-top:1px solid #557565; }
  .client-identity:last-child { grid-column:span 2; }
}
@media (max-width: 490px) {
  .about-hero h1 { font-size: clamp(2.8rem, 10.7vw, 4.45rem); }
  .about-portrait { width: 89%; }
  .about-portrait figcaption { font-size: .6rem; }
  .about-hero-actions { gap: 22px; }
  .about-gravity { padding-block: 65px 55px; }
  .about-gravity h2 { font-size: clamp(2.8rem, 10vw, 4.7rem); }
  .about-shader-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .about-portrait-canvas,.about-hero-actions a,.about-hero-actions a span,.about-shader-links img,.client-identity,.client-identity::after,.client-identity img,.client-identity strong,.client-group li,.kinetic-type em,.about-proof strong,.story-ledger article::before,.story-ledger article h3,.skill-rails > div::before,.skill-rails h3 { transition:none; }
  .about-portrait-canvas { display: none; }
}
