/* ===================================================================
   ABOUT PAGE — page-specific styles
   Extends style.css design tokens. Does not modify the base file.
   =================================================================== */

/* ---------- ABOUT HERO ---------- */
.about-hero{padding-top:160px;}
.about-hero__layout{
  display:grid;grid-template-columns:1.25fr .75fr;gap:56px;align-items:center;
}
.about-hero__eyebrow{margin-bottom:22px;}
.about-hero__title{
  font-family:var(--font-display);
  font-size:clamp(32px,4.4vw,54px);
  font-weight:600;letter-spacing:-.01em;line-height:1.12;
  margin-bottom:20px;
}
.about-hero__title em{font-style:normal;background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent;}
.about-hero__role{
  font-family:var(--font-mono);font-size:14px;color:var(--cyan);
  letter-spacing:.04em;margin-bottom:18px;display:block;
}
.about-hero__desc{color:var(--text-muted);font-size:17px;max-width:560px;margin-bottom:32px;}
.about-hero__actions{display:flex;gap:14px;flex-wrap:wrap;}

/* Slim inline stat row (replaces the old bulky metrics card) */
.about-hero__stats{display:flex;gap:36px;flex-wrap:wrap;margin-top:44px;padding-top:32px;border-top:1px solid var(--border);}
.about-hero__stat{padding-left:24px;border-left:1px solid var(--border);}
.about-hero__stat:first-child{padding-left:0;border-left:none;}
.about-hero__stat strong{display:block;font-family:var(--font-display);font-size:21px;font-weight:600;letter-spacing:-.01em;margin-bottom:4px;}
.about-hero__stat span{display:block;font-size:12px;color:var(--text-dim);}

/* Portrait — lighter, editorial treatment */
.hero-photo{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  aspect-ratio:3/4;max-width:500px;width:100%;margin-inline:auto;
  background:linear-gradient(160deg, rgba(255,214,10,.07), rgba(255,255,255,.015));
  border:1px solid var(--border-strong);
}
.hero-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.hero-photo__placeholder{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  color:var(--text-dim);text-align:center;padding:24px;
}
.hero-photo__avatar{
  width:80px;height:80px;border-radius:50%;
  background:var(--grad-primary);color:var(--on-yellow);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:26px;font-weight:700;
}
.hero-photo__placeholder small{font-family:var(--font-mono);font-size:10.5px;letter-spacing:.02em;max-width:180px;line-height:1.5;}
.hero-photo__badge{
  position:absolute;bottom:14px;left:14px;right:14px;
  background:rgba(7,7,7,.72);backdrop-filter:blur(6px);
  border:1px solid var(--border);border-radius:var(--radius-md);
  padding:10px 13px;display:flex;align-items:center;gap:9px;
}
.hero-photo__badge i{width:7px;height:7px;border-radius:50%;background:#4ADE80;box-shadow:0 0 10px #4ADE80;flex-shrink:0;}
.hero-photo__badge span{font-size:11.5px;color:var(--text-muted);font-family:var(--font-mono);}

/* ---------- SPLIT SECTION HEADER (label + heading | copy) ---------- */
.split-head{display:grid;grid-template-columns:.8fr 1.2fr;gap:72px;align-items:start;}
.split-head__left h2{
  font-family:var(--font-display);font-size:clamp(26px,3.2vw,38px);
  font-weight:600;letter-spacing:-.01em;line-height:1.2;
}
.split-head__copy p{color:var(--text-muted);font-size:16px;line-height:1.85;margin-bottom:20px;}
.split-head__copy p:last-child{margin-bottom:0;}
.split-head__copy strong{color:var(--text);font-weight:600;}

/* ---------- EXPERIENCE TIMELINE (job cards) ---------- */
.exp-list{display:grid;gap:20px;}
.exp-job{
  background:linear-gradient(150deg, var(--surface), var(--surface-2));
  border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:38px 36px;position:relative;overflow:hidden;
}
.exp-job::before{content:"";position:absolute;top:0;left:0;width:64px;height:2px;background:var(--grad-primary);}
.exp-job--featured{border-color:rgba(255,214,10,.35);}
.exp-job--featured::before{width:140px;}
.exp-job__meta{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;
  font-family:var(--font-mono);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text-dim);margin-bottom:20px;
}
.exp-job h3{font-family:var(--font-display);font-size:26px;font-weight:600;letter-spacing:-.01em;}
.exp-job h4{font-size:14.5px;font-weight:500;color:var(--text-muted);margin-top:4px;}
.exp-job__note{font-size:12.5px;color:var(--text-dim);margin-top:12px;font-style:italic;}
.exp-job ul{margin-top:22px;padding-left:20px;display:flex;flex-direction:column;gap:10px;}
.exp-job li{color:var(--text-muted);font-size:14px;line-height:1.6;}
.exp-job li::marker{color:var(--blue);}

/* ---------- EXPERTISE GRID (numbered cards) ---------- */
.expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:36px;}
.expertise-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:30px 26px;min-height:200px;position:relative;transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.expertise-card::before{content:"";position:absolute;left:26px;top:0;width:40px;height:2px;background:var(--grad-primary);}
.expertise-card:hover{transform:translateY(-5px);border-color:var(--border-strong);box-shadow:0 16px 40px -16px rgba(255,214,10,.22);}
.expertise-card__num{display:block;font-family:var(--font-mono);font-size:11px;font-weight:700;color:var(--blue);letter-spacing:.08em;margin-bottom:26px;}
.expertise-card h3{font-family:var(--font-display);font-size:18px;font-weight:600;margin-bottom:10px;}
.expertise-card p{font-size:13.5px;color:var(--text-muted);line-height:1.6;}

/* Tag cloud */
.tag-cloud{display:flex;flex-wrap:wrap;gap:10px;}
.tag-pill{
  padding:9px 15px;border-radius:8px;background:rgba(255,255,255,.03);
  border:1px solid var(--border);font-family:var(--font-mono);font-size:12px;font-weight:500;
  color:var(--text-muted);transition:all .22s var(--ease);
}
.tag-pill:hover{background:rgba(255,214,10,.08);border-color:rgba(255,214,10,.35);color:var(--text);transform:translateY(-2px);}

/* ---------- EDUCATION ---------- */
.edu-card{
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:38px 36px;position:relative;overflow:hidden;
}
.edu-card::before{content:"";position:absolute;top:0;left:0;width:80px;height:2px;background:var(--grad-primary);}
.edu-card__date{font-family:var(--font-mono);font-size:11.5px;font-weight:600;letter-spacing:.06em;color:var(--blue);}
.edu-card h3{font-family:var(--font-display);font-size:24px;font-weight:600;letter-spacing:-.01em;margin-top:18px;}
.edu-card h4{font-size:14.5px;color:var(--text-muted);margin-top:6px;margin-bottom:20px;}
.edu-card p{color:var(--text-muted);font-size:15px;line-height:1.75;max-width:760px;}

/* ---------- STATEMENT / VALUE BAND ---------- */
.statement-band{
  background:var(--grad-primary);color:var(--on-yellow);
  padding:90px 0;position:relative;overflow:hidden;
}
.statement-band::after{
  content:"";position:absolute;width:460px;height:460px;border:1px solid rgba(10,10,10,.15);
  border-radius:50%;right:-160px;top:-190px;
}
.statement-band .kicker span:last-child{color:rgba(10,10,10,.65);}
.statement-band .kicker__index{color:rgba(10,10,10,.85);}
.statement-band .kicker__line{background:rgba(10,10,10,.3);}
.statement-band h2{
  font-family:var(--font-display);font-size:clamp(30px,4.4vw,48px);
  font-weight:600;letter-spacing:-.01em;line-height:1.15;max-width:820px;margin-top:18px;
}
.statement-band p.statement-sub{max-width:640px;margin-top:22px;color:rgba(10,10,10,.75);font-size:16.5px;line-height:1.7;}

/* ---------- UPWORK TRANSPARENCY ---------- */
.upwork-section{background:linear-gradient(180deg, transparent, rgba(255,214,10,.04), transparent);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.upwork-grid{display:grid;grid-template-columns:1fr .85fr;gap:56px;align-items:center;}
.upwork-grid__text .section-title{margin-bottom:14px;}
.upwork-list{margin:26px 0 32px;display:flex;flex-direction:column;gap:14px;}
.upwork-list li{display:flex;align-items:flex-start;gap:12px;font-size:15px;color:var(--text-muted);}
.upwork-list svg{width:18px;height:18px;flex-shrink:0;margin-top:2px;color:var(--blue);}
.upwork-list strong{color:var(--text);font-weight:600;}
.upwork-panel .hero__panel-row:last-of-type{margin-bottom:0;}
.upwork-panel-footer{padding:0 22px 22px;}

/* ---------- CLOSING CTA (premium centered card) ---------- */
.about-cta{
  background:linear-gradient(160deg, var(--surface), var(--surface-2));
  border:1px solid var(--border);border-radius:var(--radius-xl);
  padding:80px 40px;text-align:center;position:relative;overflow:hidden;
}
.about-cta::before{
  content:"";position:absolute;width:520px;height:520px;border-radius:50%;
  background:var(--grad-soft);opacity:.5;filter:blur(10px);
  right:-200px;top:-220px;pointer-events:none;
}
.about-cta::after{
  content:"";position:absolute;width:420px;height:420px;border-radius:50%;
  border:1px solid var(--border);left:-180px;bottom:-200px;pointer-events:none;
}
.about-cta__inner{position:relative;z-index:1;max-width:620px;margin:0 auto;}
.about-cta__inner .kicker{margin-bottom:22px;}
.about-cta__inner h2{
  font-family:var(--font-display);font-size:clamp(28px,4vw,42px);
  font-weight:600;letter-spacing:-.01em;line-height:1.15;margin-bottom:16px;
}
.about-cta__inner > p{color:var(--text-muted);font-size:16px;line-height:1.7;margin-bottom:32px;}
.about-cta__links{display:flex;justify-content:center;gap:34px;flex-wrap:wrap;margin-top:36px;}
.about-cta__links a{
  display:inline-flex;align-items:center;gap:7px;
  font-size:13.5px;font-weight:600;color:var(--text-muted);
  transition:color .2s var(--ease);
}
.about-cta__links a svg{width:15px;height:15px;transition:transform .2s var(--ease);}
.about-cta__links a:hover{color:var(--hover-blue);}
.about-cta__links a:hover svg{transform:translateY(-2px);}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){ /* was 1100px: two-column layouts collapsed too early, leaving 1024px tablets with a single narrow column */
  .about-hero__layout{grid-template-columns:1fr;gap:40px;}
  .hero-photo{max-width:280px;}
  .split-head{grid-template-columns:1fr;gap:24px;}
  .expertise-grid{grid-template-columns:repeat(2,1fr);}
  .upwork-grid{grid-template-columns:1fr;gap:40px;}
  .about-contact__grid{grid-template-columns:1fr;gap:32px;align-items:start;}
}
@media (max-width:900px){
  .about-hero{padding-top:130px;}
}
@media (max-width:680px){
  .expertise-grid{grid-template-columns:1fr;}
  .about-hero__actions{flex-direction:column;width:100%;}
  .about-hero__actions .btn{width:100%;}
  .about-hero__stats{gap:24px;}
  .about-hero__stat{padding-left:16px;}
  .hero-photo{max-width:240px;}
  .exp-job{padding:28px 24px;}
  .exp-job__meta{flex-direction:column;gap:4px;}
  .edu-card{padding:28px 24px;}
  .about-cta{padding:56px 24px;}
  .about-cta__links{gap:22px;}
}

/* ---------- Responsive pass ---------- */
/* Upwork section: let grid columns shrink instead of forcing the page wider */
.upwork-grid > *{min-width:0;}
.upwork-grid .btn{white-space:normal;text-align:center;}
@media (min-width:901px) and (max-width:1100px){
  .about-hero__layout{gap:40px;}
  .split-head{gap:48px;}
  .upwork-grid{gap:40px;}
}
/* Hero stats: keep the three stats on one even row on phones
   (the third one used to wrap onto its own, oddly indented line). */
@media (max-width:680px){
  .about-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
  .about-hero__stat{padding-left:12px;}
  .about-hero__stat strong{font-size:17px;}
  .about-hero__stat span{font-size:11.5px;}
}
@media (max-width:420px){
  .upwork-grid .btn{width:100%;justify-content:center;}
}

/* ---------- Client-facing About page (2026-10) ---------- */
.about-hero .crumbs{margin-bottom:18px;}
.about-more{margin-top:28px;text-align:center;}
.about-more a{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--blue);}
.about-more a svg{width:15px;height:15px;transition:transform .2s var(--ease);}
.about-more a:hover svg{transform:translate(2px,-2px);}
.about-trust__box{
  display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;
  padding:clamp(24px,4vw,40px);border:1px solid var(--border);border-radius:20px;
  background:linear-gradient(135deg,rgba(255,214,10,.06),rgba(255,255,255,.02));
}
.about-trust__box > div{flex:1 1 420px;min-width:0;}
.about-trust__box h2{font-family:var(--font-display);font-size:clamp(22px,2.6vw,30px);margin:0 0 10px;}
.about-trust__box p{margin:0;color:var(--text-muted);max-width:60ch;}

/* ---------- About: story section ---------- */
.story__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(36px,6vw,88px);align-items:start;}
.story .story__eyebrow{font-family:var(--font-mono);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);margin:0 0 14px;}
.story__title{font-family:var(--font-display);font-size:clamp(30px,3.6vw,46px);line-height:1.1;letter-spacing:-.02em;margin:0 0 22px;text-wrap:balance;}
.story__title em{font-style:normal;color:var(--blue);}
.story__intro > p{color:var(--text-muted);font-size:16.5px;line-height:1.75;margin:0 0 16px;max-width:52ch;}
.story__quote{
  position:relative;margin:30px 0 0;padding:26px 26px 22px;border-radius:18px;
  border:1px solid rgba(255,214,10,.25);
  background:linear-gradient(140deg,rgba(255,214,10,.09),rgba(255,214,10,.01) 60%);
}
.story__quote::before{
  content:"\201C";position:absolute;top:-6px;right:18px;font-family:Georgia,serif;font-size:96px;line-height:1;color:rgba(255,214,10,.22);
}
.story__quote p{margin:0 0 18px;font-family:var(--font-display);font-size:clamp(18px,1.8vw,21px);line-height:1.45;color:var(--text);font-weight:500;}
.story__quote footer{display:flex;align-items:center;gap:12px;}
.story__quote footer img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:top;border:1px solid rgba(255,214,10,.4);}
.story__quote footer span{display:flex;flex-direction:column;font-size:13px;color:var(--text-dim);}
.story__quote footer strong{font-size:14.5px;color:var(--text);font-weight:600;}

.story__road{list-style:none;margin:0;padding:0 0 0 34px;position:relative;display:grid;gap:16px;}
.story__road::before{
  content:"";position:absolute;left:7px;top:30px;bottom:30px;width:2px;border-radius:2px;
  background:linear-gradient(to bottom,rgba(255,255,255,.08),rgba(255,214,10,.75));
}
.story__road li{
  position:relative;padding:22px 24px;border-radius:16px;
  border:1px solid var(--border);background:rgba(255,255,255,.02);
  transition:border-color .25s,background .25s,transform .25s var(--ease);
}
.story__road li:hover{border-color:rgba(255,214,10,.3);background:rgba(255,255,255,.035);transform:translateX(3px);}
/* dot sits in the gutter, on the line, outside the card */
.story__road li::before{
  content:"";position:absolute;left:-33px;top:28px;width:14px;height:14px;border-radius:50%;
  background:var(--bg,#0a0a0a);border:2px solid rgba(255,214,10,.6);box-sizing:border-box;
}
.story__road li.is-now{border-color:rgba(255,214,10,.45);background:linear-gradient(140deg,rgba(255,214,10,.10),rgba(255,255,255,.02) 70%);}
.story__road li.is-now::before{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 6px rgba(255,214,10,.15);}
.story__road .story__year{
  display:block;font-family:var(--font-display);font-size:28px;font-weight:700;line-height:1;letter-spacing:-.02em;
  color:transparent;-webkit-text-stroke:1px rgba(255,214,10,.7);margin-bottom:12px;
}
.story__road li.is-now .story__year{color:var(--blue);-webkit-text-stroke:0;}
.story__road h3{font-size:18px;margin:0 0 6px;font-weight:600;}
.story__road p{margin:0;font-size:14.5px;line-height:1.65;color:var(--text-muted);}

.story__compare{margin-top:clamp(44px,6vw,76px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;}
.story__opt{position:relative;padding:24px 24px 24px 60px;border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.015);}
.story__opt::before{
  content:"\2715";position:absolute;left:22px;top:22px;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;font-size:11px;color:var(--text-dim);background:rgba(255,255,255,.06);
}
.story__opt-label{display:block;font-family:var(--font-display);font-size:17px;font-weight:600;color:var(--text);margin-bottom:6px;}
.story__opt p{margin:0;font-size:14.5px;line-height:1.6;color:var(--text-muted);}
.story__opt--us{border-color:rgba(255,214,10,.5);background:linear-gradient(140deg,rgba(255,214,10,.12),rgba(255,214,10,.03));box-shadow:0 10px 40px -18px rgba(255,214,10,.35);}
.story__opt--us::before{content:"\2713";color:#111;background:var(--blue);font-size:13px;font-weight:700;}
.story__opt--us .story__opt-label{color:var(--blue);}
.story__opt--us p{color:var(--text);}

@media (max-width:900px){
  .story__grid{grid-template-columns:1fr;}
  .story__compare{grid-template-columns:1fr;}
}
