/* ==========================================================================
   01-about.css  |  PAGE STYLES: about.html
   Only used by about.html. It loads after 00-global.css, so rules here can override global ones.
   ========================================================================== */

:root {
  --page-bg: #101213;
  --surface: #16191c;
  --surface-border: rgba(255,255,255,.08);
  --text: #ffffff;
  --text-soft: #c9ced6;
  --text-muted: #7f8792;
  --accent: #f45a0a;
  --accent-hover: #ff6d22;
  --on-accent: #ffffff;
  --toggle-bg: rgba(255,255,255,.08);
  --toggle-border: rgba(255,255,255,.16);
  --glass-bg: linear-gradient(145deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 100%);
  --glass-border: rgba(255,255,255,.22);
  --glass-highlight: rgba(255,255,255,.28);
  --glass-shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --gap: 20px;
  --page-pad: clamp(16px, 2.5vw, 48px);
  --content: 1120px;
}

:root[data-theme="light"] {
  --page-bg: #f4f2ee;
  --surface: #ffffff;
  --surface-border: rgba(0,0,0,.08);
  --text: #161616;
  --text-soft: #4a4f57;
  --text-muted: #6b6b6b;
  --accent: #d94e05;
  --accent-hover: #bf4404;
  --toggle-bg: #ffffff;
  --toggle-border: rgba(0,0,0,.12);
  --glass-bg: linear-gradient(145deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,.35) 100%);
  --glass-border: rgba(0,0,0,.10);
  --glass-highlight: rgba(255,255,255,.9);
  --glass-shadow: 0 10px 30px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }

html, body, .card {
  transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease;
}

html { background: var(--page-bg); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}

.page {
  width: 100%;
  max-width: calc(var(--content) + var(--page-pad) * 2);
  margin: 0 auto;
  padding: 32px var(--page-pad) 24px;
}

.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Heading */
.intro { text-align: center; margin-bottom: 40px; }
.intro h1 {
  margin: 0;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.1;
  font-weight: var(--fw-display);
  letter-spacing: -0.03em;
}

.intro p {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: clamp(16px, 1.25vw, 20px);
  color: var(--text-soft);
}

/* Main grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}

.profile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.profile-photo {
  display: block;
  width: 100%;
  height: auto;
  /* The photo fills whatever height is left in the card, so the card ends up exactly as tall
     as the four tiles on the right. The bottom of the photo is cropped. */
  flex: 100 1 0;
  min-height: 200px;
  max-height: 600px;
  object-fit: cover;
  object-position: center 20%;
}
.profile-body {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  padding: 32px;
}
.profile-body h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: var(--fw-heading);
}
.profile-body p { margin: 0; color: var(--text-soft); }
.signature {
  align-self: flex-end;
  display: block;
  width: auto;
  height: 35px;
  margin-top: 24px;
  color: var(--text);
  overflow: visible;
}


.values {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: var(--gap);
}
.value {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-content: center;
  align-items: start;
  padding: 32px;
}
.value svg { width: 32px; height: 32px; color: var(--accent); }
.value h3 {
  margin: 2px 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: var(--fw-heading);
}
.value p { margin: 0; color: var(--text-soft); }

/* Resume buttons */
.resume {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin: 32px 0;
}
.btn {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font: inherit;
  font-size: 16px;
  font-weight: var(--fw-strong);
  cursor: pointer;
  transition: background-color 250ms ease, transform 250ms ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

/* Closing card */
.cta {
  padding: 40px 32px;
  text-align: center;
}
.cta h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.cta p { max-width: 640px; margin: 0 auto; color: var(--text-soft); }

.page-footer {
  padding: 32px 16px 0;
  color: var(--text-muted);
  font-size: 16px;
  text-align: center;
}

/* Back to top (glass) */
.back-to-top {
  position: fixed;
  right: clamp(16px, 2vw, 40px);
  bottom: clamp(16px, 2vw, 40px);
  z-index: 20;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms ease, visibility 300ms, color 400ms ease, border-color 400ms ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (min-width: 2560px) {
  .back-to-top { width: 68px; height: 68px; }
  .back-to-top svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 200ms ease, visibility 200ms; transform: none; }
  .back-to-top:hover { transform: none; }
}

/* Entrance animation */
.reveal { animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal-2 { animation-delay: 100ms; }
.reveal-3 { animation-delay: 200ms; }
.reveal-4 { animation-delay: 300ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Breakpoints */
@media (max-width: 767.98px) {
  .about-grid, .resume { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { flex: none; min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
  .values { grid-template-rows: none; }
  .btn { justify-self: stretch; }
}
@media (max-width: 575.98px) {
  :root { --gap: 14px; --radius: 15px; --page-pad: 12px; }
  .profile-body, .value { padding: 24px; }
  .intro { margin-bottom: 32px; }
}
@media (min-width: 1920px) {
  :root { --content: 1280px; }
}
@media (min-width: 2560px) {
  :root { --content: 1680px; --gap: 28px; --radius: 24px; }
  body { font-size: 20px; }
  .intro h1 { font-size: 88px; }
  .intro p { font-size: 26px; max-width: 1000px; }
  .profile-body h2 { font-size: 30px; }
  .signature { height: 46px; }
  .value { grid-template-columns: 44px 1fr; padding: 40px; }
  .value svg { width: 44px; height: 44px; }
  .value h3 { font-size: 24px; }
  .btn { font-size: 20px; min-height: 56px; }
  .page-footer { font-size: 18px; }
}
@media (min-width: 3840px) {
  :root { --content: 2400px; --gap: 36px; --radius: 30px; }
  body { font-size: 26px; }
  .intro h1 { font-size: 120px; }
  .intro p { font-size: 34px; max-width: 1400px; }
  .profile-body h2 { font-size: 40px; }
  .value h3 { font-size: 32px; }
  .signature { height: 64px; }
  .page-footer { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .btn, .back-to-top { transition: none; }
  .btn:hover { transform: none; }
}

/* ===== Font pairing: Fraunces titles + Outfit body ===== */
h1, h2, h3, h4 { font-family: var(--font-head); }
.intro h1 { font-weight: var(--fw-display); letter-spacing: -0.015em; }
.profile-body h2, .cta h2 { font-weight: var(--fw-heading); letter-spacing: -0.005em; }
.value h3 { font-weight: var(--fw-heading); font-size: 17px; letter-spacing: 0; }
.intro p, .profile-body p, .value p, .cta p { font-weight: var(--fw-body); }
.btn { font-family: var(--font-body); font-weight: var(--fw-strong); }
/* Fraunces reads heavier on dark backgrounds; ease body contrast slightly */
:root:not([data-theme="light"]) .profile-body p,
:root:not([data-theme="light"]) .value p { line-height: 1.7; }


/* ===== About hero: layered outlined words behind and in front of the portrait =====
   Four looks: dark and dark glow (dark mode), light and light glow (light mode). assets/js/about-hero.js picks one at random on each load and sets data-v. */
.ah{--u:1;--bg:#050506;--fg:#f5f5f7;--mut:#a9aeb7;--acc:var(--accent);--ahline:rgba(255,255,255,.06);--w1:rgba(255,255,255,.30);--chip:rgba(18,18,22,.82);--chipb:rgba(255,255,255,.14);--glow:transparent;--btnb:rgba(255,255,255,.28);--bd:rgba(255,255,255,.08);
  --mx:0;--my:0;position:relative;width:100%;margin:0 0 8px;overflow:hidden;border-bottom:1px solid var(--bd);color:var(--fg);text-align:left;
  background:repeating-linear-gradient(115deg,transparent 0 46px,var(--ahline) 46px 47px),var(--bg);transition:background .4s,color .4s}
/* the background runs the full width of the window; the text and portrait stay lined up with the page content below */
.ah-in{position:relative;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;min-height:calc(690px*var(--u));width:100%;max-width:calc(var(--content) + var(--page-pad)*2);margin:0 auto;padding:0 var(--page-pad)}
.ah[data-v="dark-glow"]{--bg:#0b0c0d;--glow:rgba(244,90,10,.18)}
.ah[data-v="light"],.ah[data-v="light-glow"]{--bg:#ffffff;--fg:#161616;--mut:#4a4f57;--ahline:rgba(0,0,0,.05);--w1:rgba(0,0,0,.26);--chip:rgba(255,255,255,.9);--chipb:rgba(0,0,0,.1);--btnb:rgba(0,0,0,.25);--bd:rgba(0,0,0,.1)}
.ah[data-v="light-glow"]{--glow:rgba(217,78,5,.10)}
.ah-copy{position:relative;z-index:5;padding:calc(clamp(28px,5vw,64px)*var(--u)) calc(clamp(28px,5vw,64px)*var(--u)) calc(clamp(28px,5vw,64px)*var(--u)) 0;min-width:0}
.ah-hello{margin:0 0 14px;font:var(--fw-strong) calc(15px*var(--u)) var(--font-body);letter-spacing:.2em;text-transform:uppercase}
.ah h1{margin:0 0 calc(22px*var(--u));font:var(--fw-display) calc(clamp(30px,4vw,50px)*var(--u))/1.12 var(--font-head);letter-spacing:-.015em;text-wrap:balance}
.ah-role{color:var(--acc)}
.ah-role,.ah-ghost{font-style:italic}
/* rotating role: the box is always as wide as the longest role, so the heading never re-wraps while it types */
.ah-rw{display:inline-grid;vertical-align:top;white-space:nowrap}
.ah-rt,.ah-ghost{grid-area:1/1}
.ah-ghost{visibility:hidden;padding-right:9px}
.ah-caret{display:inline-block;width:3px;height:.85em;margin-left:6px;background:var(--fg);vertical-align:-.05em;animation:ah-bl 1s steps(1) infinite}
.ah-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@keyframes ah-bl{50%{opacity:0}}
.ah-lead{max-width:46ch;margin:0 0 calc(28px*var(--u));color:var(--mut);font-size:calc(16px*var(--u))}
.ah-btns{display:flex;gap:12px;flex-wrap:wrap}
.ah .btn{text-decoration:none}
.ah-btn-o{background:transparent;color:var(--fg);border:1px solid var(--btnb)}
.ah-btn-o:hover{background:var(--acc);border-color:var(--acc);color:#fff}
.ah-stage{position:relative;align-self:stretch;min-height:calc(650px*var(--u));min-width:0}
.ah-stage::before{content:"";position:absolute;inset:-25% -60% -25% -35%;background:radial-gradient(closest-side,var(--glow),transparent);pointer-events:none}
.ah-layer{position:absolute;inset:0;pointer-events:none;will-change:transform;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.ah-l-back{z-index:1;transform:translate(calc(var(--mx)*-22px),calc(var(--my)*-12px))}
.ah-l-me{z-index:2;transform:translate(calc(var(--mx)*9px),calc(var(--my)*5px))}
.ah-l-front{z-index:3;transform:translate(calc(var(--mx)*28px),calc(var(--my)*14px))}
.ah-l-chip{z-index:4;transform:translate(calc(var(--mx)*-14px),calc(var(--my)*-8px))}
.ah-word{position:absolute;left:50%;margin:0;transform:translateX(-50%);font:var(--fw-display) calc(clamp(44px,6.4vw,92px)*var(--u))/.95 var(--font-head);text-transform:uppercase;text-align:center;color:transparent;white-space:nowrap;letter-spacing:-.02em}
.ah-word span{display:block;animation:ah-float 6s ease-in-out infinite}
.ah-w-back{top:14%;-webkit-text-stroke:1.5px var(--w1)}
.ah-w-back span{animation-delay:-2s}
.ah-w-front{bottom:8%;-webkit-text-stroke:1.7px var(--acc)}
.ah-w-front span{animation-duration:5s}
@keyframes ah-float{50%{transform:translateY(calc(-12px*var(--u)))}}
.ah-me{position:absolute;left:50%;bottom:-1%;height:96%;width:auto;max-width:none;transform:translateX(-50%)}
.ah[data-v^="dark"] .ah-me{filter:drop-shadow(0 0 1px rgba(255,255,255,.45))}
.ah-chip{position:absolute;pointer-events:auto;display:flex;gap:12px;align-items:center;padding:calc(12px*var(--u)) calc(18px*var(--u));border-radius:calc(18px*var(--u));background:var(--chip);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--chipb);font:var(--fw-label) calc(14px*var(--u)) var(--font-body);cursor:default;transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s}
.ah-chip small{display:block;color:var(--mut);font-weight:var(--fw-label);font-size:.86em}
.ah-chip em{font:var(--fw-heading) calc(28px*var(--u)) var(--font-head);font-style:normal;color:var(--acc);transition:transform .3s}
.ah-more{display:block;max-height:0;opacity:0;overflow:hidden;color:var(--acc);font-weight:var(--fw-label);font-size:.86em;transition:max-height .35s,opacity .3s}
.ah-chip:hover,.ah-chip:focus-visible{transform:translateY(-6px) scale(1.06);border-color:var(--acc);box-shadow:0 18px 40px -16px var(--acc);outline:0}
.ah-chip:hover em{transform:scale(1.12)}
.ah-chip:hover .ah-more,.ah-chip:focus-visible .ah-more{max-height:3em;opacity:1}
.ah-c1{right:2%;top:46%}.ah-c2{left:1%;top:30%}
@media (max-width:860px){.ah-in{grid-template-columns:1fr}.ah-copy{padding-left:0;padding-right:0}.ah-stage{min-height:480px}.ah-copy{padding-bottom:0}.ah-c2{display:none}.ah-c1{top:auto;bottom:22%;right:3%}}
@media (min-width:2560px){.ah{--u:1.33}}
@media (min-width:3840px){.ah{--u:2}}
@media (prefers-reduced-motion:reduce){.ah-word span,.ah-caret{animation:none}.ah-layer{transition:none}}

/* ===== About page sections below the hero (stats, 01-04 values, profile, skill bars, process, services, industries, roles) ===== */
:root { --s: 1; --track: rgba(255,255,255,.1); }
:root[data-theme="light"] { --track: rgba(0,0,0,.09); }
.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.ab-stats > div { padding: calc(30px * var(--s)) 16px; border-right: 1px solid var(--surface-border); }
.ab-stats > div:last-child { border-right: 0; }
.ab-stats b { display: block; font: var(--fw-display) calc(clamp(30px, 3.6vw, 46px) * var(--s))/1 var(--font-head); color: var(--accent); }
.ab-stats span { display: block; margin-top: 8px; color: var(--text-soft); font-weight: var(--fw-strong); font-size: calc(13px * var(--s)); letter-spacing: .08em; text-transform: uppercase; }

.ab-sec { padding-top: calc(clamp(48px, 6vw, 80px) * var(--s)); }
.ab-sec-first { padding-top: calc(clamp(56px, 7vw, 96px) * var(--s)); }
.ab-sec > h2 { margin: 0 0 calc(28px * var(--s)); font-size: calc(clamp(26px, 3vw, 36px) * var(--s)); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.ab-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: var(--accent); font-weight: var(--fw-strong); font-size: calc(13px * var(--s)); letter-spacing: .18em; text-transform: uppercase; }
.ab-eyebrow::before { content: ""; width: calc(34px * var(--s)); height: 2px; background: currentColor; }
.ab-n { flex: none; min-width: 1.5em; font: var(--fw-display) calc(clamp(40px, 4.4vw, 58px) * var(--s))/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.ab-more { margin: calc(20px * var(--s)) 0 0; }
.ab-more a:not(.btn) { color: var(--accent); font-weight: var(--fw-strong); text-decoration: none; }
.ab-more a:not(.btn):hover { text-decoration: underline; }
.ab-more .btn { justify-self: start; }

.ab-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.ab-num { display: flex; gap: calc(20px * var(--s)); padding: calc(28px * var(--s)); }
.ab-num h3, .ab-step h3, .ab-svc h3, .ab-job h3, .ab-sk h3 { margin: 2px 0 8px; font-size: calc(18px * var(--s)); line-height: 1.3; }
.ab-num p, .ab-step p, .ab-svc p, .ab-job p { margin: 0; color: var(--text-soft); font-size: calc(17px * var(--s)); }
.ab-num, .ab-svc, .ab-job { transition: transform 300ms ease, border-color 300ms ease, background-color 400ms ease; }
.ab-num:hover, .ab-svc:hover, .ab-job:hover { transform: translateY(-4px); border-color: var(--accent); }

.ab-prof { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: calc(400px * var(--s)); overflow: hidden; }
/* height 0 + min-height 100%: the photo fills the card but does not make it taller than the text needs */
.ab-prof-photo { display: block; width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: center 20%; }
.ab-prof-body { display: flex; flex-direction: column; min-width: 0; padding: calc(clamp(24px, 4vw, 48px) * var(--s)); }
.ab-prof-body p { margin: 0; color: var(--text-soft); }
.ab-prof-body .signature { margin-top: auto; padding-top: calc(40px * var(--s)); height: calc(33px * var(--s)); box-sizing: content-box; }  /* sits at the bottom of the card on wide screens */

/* two equal buttons, centred under the signature */
.ab-resume { display: grid; grid-template-columns: repeat(2, minmax(0, calc(300px * var(--s)))); justify-content: center; gap: calc(20px * var(--s)); margin-top: calc(36px * var(--s)); }
.ab-resume .btn { justify-self: stretch; padding: 0 calc(18px * var(--s)); white-space: nowrap; }
.ab-btn-o { background: transparent; color: var(--text); border: 1px solid var(--surface-border); }
.ab-btn-o:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.ab-skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1100px) { .ab-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ab-skills > :last-child { grid-column: 1 / -1; } }
.ab-sk { padding: calc(clamp(22px, 3vw, 36px) * var(--s)); }
.ab-sk h3 { font-size: calc(20px * var(--s)); margin-bottom: calc(22px * var(--s)); }
.ab-bar + .ab-bar { margin-top: calc(18px * var(--s)); }
.ab-bar-t { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: var(--fw-label); font-size: calc(14px * var(--s)); }
.ab-bar-t b { color: var(--accent); }
.ab-track { height: calc(8px * var(--s)); border-radius: 99px; background: var(--track); overflow: hidden; }
.ab-track i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--accent), #ff9a55); }
/* bars run to their full length on their own once the card comes into view (about-page.js adds .bars-on); they reset when it leaves the screen */
.js-ab .ab-sk .ab-track i { width: 0; }
.js-ab .ab-sk.bars-on .ab-track i { width: var(--w); transition: width 1400ms cubic-bezier(.2,.8,.2,1); }
.js-ab .ab-sk.bars-on .ab-bar:nth-child(3) .ab-track i { transition-delay: 80ms; }
.js-ab .ab-sk.bars-on .ab-bar:nth-child(4) .ab-track i { transition-delay: 160ms; }
.js-ab .ab-sk.bars-on .ab-bar:nth-child(5) .ab-track i { transition-delay: 240ms; }
.js-ab .ab-sk.bars-on .ab-bar:nth-child(6) .ab-track i { transition-delay: 320ms; }
.js-ab .ab-sk.bars-on .ab-bar:nth-child(7) .ab-track i { transition-delay: 400ms; }

.ab-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(14px * var(--s)); margin: 0; padding: 0; list-style: none; }
.ab-step { padding: calc(22px * var(--s)); }
.ab-step .ab-n { display: block; margin-bottom: 12px; font-size: calc(40px * var(--s)); }
.ab-step h3 { font-size: calc(17px * var(--s)); }
.ab-step p { font-size: calc(16px * var(--s)); }

.ab-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(14px * var(--s)); }
.ab-svc { padding: calc(24px * var(--s)); }
.ab-svc h3 { font-size: calc(17px * var(--s)); }

.ab-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ab-chips li { padding: calc(10px * var(--s)) calc(18px * var(--s)); border: 1px solid var(--surface-border); border-radius: 99px; background: var(--surface); font-weight: var(--fw-label); font-size: calc(14px * var(--s)); }

.ab-jobs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ab-job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: calc(22px * var(--s)); padding: calc(22px * var(--s)) calc(28px * var(--s)); color: inherit; text-decoration: none; }
.ab-job small { color: var(--accent); font-weight: var(--fw-label); letter-spacing: .04em; font-size: calc(13px * var(--s)); }
.ab-arr { color: var(--accent); font-size: calc(22px * var(--s)); }

.ab-cta { margin-top: calc(clamp(48px, 6vw, 80px) * var(--s)); }
.ab-cta .btn { margin-top: 22px; }

/* scroll reveal (only when JS is running) */
.js-ab .ab-rv { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,1,.36,1), border-color 300ms ease, background-color 400ms ease; }
.js-ab .ab-rv.is-in { opacity: 1; transform: none; }
.js-ab .ab-rv.is-in:hover { transform: translateY(-4px); }
.js-ab .ab-prof.is-in:hover, .js-ab .ab-sk.is-in:hover, .js-ab .ab-step.is-in:hover, .js-ab .ab-cta.is-in:hover { transform: none; }

@media (max-width: 1100px) { .ab-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stats > div:nth-child(2) { border-right: 0; }
  .ab-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--surface-border); }
  .ab-nums, .ab-skills, .ab-prof { grid-template-columns: minmax(0, 1fr); }
  .ab-prof-photo { min-height: 0; height: auto; aspect-ratio: 16 / 11; }
  .ab-prof-body .signature { margin-top: 24px; padding-top: 0; height: 35px; }   /* right under the text on phones */
  .ab-steps, .ab-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-job { grid-template-columns: auto minmax(0, 1fr); }
  .ab-arr { display: none; }
}
@media (max-width: 520px) {
  .ab-steps, .ab-svcs { grid-template-columns: minmax(0, 1fr); }
  .ab-num { padding: 22px; gap: 16px; }
  .ab-job { padding: 18px 20px; gap: 16px; }
  .ab-more .btn { justify-self: stretch; width: 100%; }
  .ab-resume { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
}
@media (min-width: 2560px) { :root { --s: 1.35; } }
@media (min-width: 3840px) { :root { --s: 1.8; } }
@media (prefers-reduced-motion: reduce) {
  .js-ab .ab-rv { opacity: 1; transform: none; transition: none; }
  .js-ab .ab-sk .ab-track i, .js-ab .ab-sk.bars-on .ab-track i { width: var(--w); transition: none; }
  .ab-num:hover, .ab-svc:hover, .ab-job:hover, .js-ab .ab-rv.is-in:hover { transform: none; }
}
