/* ─── ABOUT ─────────────────────────────────────────── */
.ap { padding: calc(90px + 9vh) var(--g) 12vh; max-width: 1320px; margin: 0 auto; }
.ap-tag {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 3vh;
  font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.ap-tag::before { content: ''; display: block; width: 26px; height: .5px; background: var(--accent); }

.ap-head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 6vw; align-items: end;
  margin-bottom: 8vh;
}
.ap-name {
  font-size: clamp(4rem, 11vw, 12rem);
  font-weight: var(--display-weight);
  line-height: .9; letter-spacing: -.038em;
  color: var(--white);
  text-wrap: balance;
  margin: 0;
}
.ap-photo {
  position: relative; aspect-ratio: 4/5;
  background: #131313;
  border: .5px solid rgba(186,186,186,.1);
  overflow: hidden; isolation: isolate;
}
.ap-photo-slot {
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%;
  --slot-bg: transparent;
  z-index: 1;
}
.ap-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 1px, transparent 1px 22px),
    linear-gradient(155deg, rgba(255,109,41,.08), transparent 60%),
    #0e0e0e;
}
.ap-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.048'/%3E%3C/svg%3E");
  background-size: 320px;
}
.ap-photo-cap {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  font-family: ui-monospace, 'JetBrains Mono', SF Mono, Consolas, monospace;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(186,186,186,.36);
}

.ap-bio {
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  color: rgba(186,186,186,.7);
  line-height: 1.66; max-width: 56ch; margin-bottom: 5vh;
  text-wrap: pretty;
}
.ap-bio em { color: var(--white); font-style: normal; }

.ap-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
  margin-bottom: 8vh;
  border-top: .5px solid rgba(186,186,186,.1);
  border-bottom: .5px solid rgba(186,186,186,.1);
  padding: 4vh 0;
}
.ap-stat-num {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 200;
  color: var(--white);
  letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.ap-stat-num em { color: var(--accent); font-style: normal; }
.ap-stat-num sup { font-size: .45em; font-weight: 300; vertical-align: super; margin-left: 2px; }
.ap-stat-lbl { font-size: 11px; color: rgba(186,186,186,.5); letter-spacing: .04em; max-width: 24ch; line-height: 1.5; }

.ap-dl {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border-bottom: .5px solid rgba(255,255,255,.18);
  padding-bottom: 5px;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.ap-dl:hover { color: var(--accent); border-color: var(--accent); }

.ap-rule { border: none; border-top: .5px solid rgba(186,186,186,.1); margin: 6vh 0; }

.ap-block-head {
  font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(186,186,186,.4);
  margin-bottom: 5vh;
  display: inline-flex; align-items: center; gap: 14px;
}
.ap-block-head::before { content: ''; display: block; width: 26px; height: .5px; background: rgba(186,186,186,.35); }

/* ─── EXPERIENCE: rows ────────────────────────── */
.exp-rows { min-width: 0; }

.cv-row {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 5vh 0;
  border-top: .5px solid rgba(186,186,186,.07);
  transition: background .25s ease;
}
.cv-row:hover { background: linear-gradient(to right, rgba(255,109,41,.025), transparent 35%); }

.cv-meta { display: flex; flex-direction: column; gap: 20px; }
.cv-period {
  font-family: ui-monospace, 'JetBrains Mono', SF Mono, Consolas, monospace;
  font-size: 10.5px; color: rgba(186,186,186,.5);
  letter-spacing: .04em;
}

.cv-co-block { display: flex; flex-direction: column; gap: 6px; }
.cv-co-lbl {
  font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(186,186,186,.32);
}
.cv-co {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -.012em; line-height: 1.15;
}

.cv-role-wrap {
  display: flex; flex-direction: column; gap: 5px;
  border-top: .5px solid rgba(186,186,186,.1);
  padding-top: 16px;
}
.cv-role-tag {
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.cv-loc { font-size: 11px; color: rgba(186,186,186,.4); }

.cv-clients {
  display: flex; flex-direction: column; gap: 8px;
  border-top: .5px solid rgba(186,186,186,.08);
  padding-top: 16px;
}
.cv-clients-lbl {
  font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(186,186,186,.32);
}
.cv-brands { display: flex; flex-direction: column; gap: 4px; }
.cv-brand {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,.78);
  letter-spacing: -.005em;
  line-height: 1.4;
}
.cv-brand--muted {
  color: rgba(186,186,186,.42);
  font-size: 12px;
  font-style: italic;
}

.cv-body { min-width: 0; }
.cv-b {
  font-size: 14.5px;
  color: rgba(186,186,186,.66);
  line-height: 1.78; margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
  max-width: 66ch;
}
.cv-b::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--accent);
}
.cv-b strong { color: var(--white); font-weight: 500; }

/* ─── TWO HORIZONTAL BRAND BANDS ─────────────── */
.brand-bands {
  margin: 10vh 0 0;
  border-top: .5px solid rgba(186,186,186,.1);
  border-bottom: .5px solid rgba(186,186,186,.1);
  padding: 26px 0 28px;
  position: relative;
}
.brand-bands__head {
  padding: 0 0 22px;
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px;
}
.brand-bands__eye {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.brand-bands__eye::before { content: ''; display: block; width: 26px; height: .5px; background: var(--accent); }
.brand-bands__count {
  font-family: ui-monospace, 'JetBrains Mono', SF Mono, Consolas, monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(186,186,186,.4);
}
.brand-bands__stack {
  position: relative;
  display: flex; flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.brand-bands__row { overflow: hidden; position: relative; }
.brand-bands__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.brand-bands__track--left  { animation: bb-scroll-left  68s linear infinite; }
.brand-bands__track--right { animation: bb-scroll-right 78s linear infinite; }
.brand-bands:hover .brand-bands__track,
.brand-bands__row:hover .brand-bands__track {
  animation-play-state: paused;
}
@keyframes bb-scroll-left  { from { transform: translateX(0);   } to { transform: translateX(-50%); } }
@keyframes bb-scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0);   } }
.brand-bands__fade {
  position: absolute; top: 0; bottom: 0; width: 90px; pointer-events: none; z-index: 2;
}
.brand-bands__fade--l { left: 0;  background: linear-gradient(to right, var(--black), transparent); }
.brand-bands__fade--r { right: 0; background: linear-gradient(to left,  var(--black), transparent); }

/* Items — names mode (default) */
.bd-item {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  padding: 10px 28px 10px 0;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 300;
  color: rgba(255,255,255,.68);
  letter-spacing: -.015em;
  line-height: 1.18;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
  cursor: default;
}
.bd-item:hover { color: var(--accent); }
.bd-item__logo { display: none; }
/* Mid-dots between items via ::after for visual rhythm */
.bd-item::after {
  content: '·';
  margin-left: 28px;
  color: rgba(186,186,186,.18);
  font-size: 1em;
  pointer-events: none;
}

/* Logos mode (tweak) — bordered mono cells */
html[data-brands="logos"] .bd-item {
  padding: 0;
  margin: 0 8px 0 0;
}
html[data-brands="logos"] .bd-item::after { display: none; }
html[data-brands="logos"] .bd-item__name { display: none; }
html[data-brands="logos"] .bd-item__logo {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: ui-monospace, 'JetBrains Mono', SF Mono, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
  border: .5px solid rgba(186,186,186,.18);
  padding: 14px 18px;
  min-width: 100px;
  text-align: center;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
html[data-brands="logos"] .bd-item:hover .bd-item__logo {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255,109,41,.04);
}

/* ─── AWARDS ────────────────────────────────────── */
.aw-row {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 48px; align-items: baseline;
  padding: 5vh 0;
  border-top: .5px solid rgba(186,186,186,.07);
}
.aw-meta { display: flex; flex-direction: column; gap: 10px; }
.aw-yr {
  font-family: ui-monospace, 'JetBrains Mono', SF Mono, Consolas, monospace;
  font-size: 10.5px; color: rgba(186,186,186,.5);
  letter-spacing: .04em;
}
.aw-cat {
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.aw-body { min-width: 0; }
.aw-title {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -.014em;
  line-height: 1.18;
  margin-bottom: 10px;
}
.aw-title sup { font-size: .5em; font-weight: 300; vertical-align: super; margin-left: 1px; }
.aw-sub {
  font-size: 14px;
  color: rgba(186,186,186,.55);
  line-height: 1.65;
  max-width: 56ch;
}

/* ─── SKILLS — chip clusters (old system) ─────── */
.sk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sk-cluster {
  border: .5px solid rgba(186,186,186,.09);
  background: rgba(255,255,255,.012);
  padding: 28px 26px 26px;
  position: relative;
  transition: background .3s ease, border-color .3s ease;
}
.sk-cluster:hover {
  background: rgba(255,255,255,.024);
  border-color: rgba(186,186,186,.18);
}
.sk-cat {
  font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 14px;
}
.sk-cat::before { content: ''; display: block; width: 22px; height: .5px; background: var(--accent); }
.sk-cluster-sub {
  font-size: 11px;
  color: rgba(186,186,186,.42);
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.sk-items {
  display: flex; flex-wrap: wrap; gap: 7px 6px;
}
.sk-item {
  display: inline-flex; align-items: center;
  font-size: 12.5px;
  color: rgba(186,186,186,.7);
  line-height: 1.35;
  padding: 5px 10px;
  white-space: nowrap;
  border: .5px solid rgba(186,186,186,.13);
  background: rgba(255,255,255,.015);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}
.sk-item:hover {
  color: var(--white);
  border-color: rgba(255,109,41,.5);
  background: rgba(255,109,41,.04);
}

/* ─── LANGUAGES — big name + small level (old) ── */
.lang-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4vw; padding: 4vh 0;
}
.lang-name {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: var(--display-weight);
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -.018em;
}
.lang-lev {
  font-size: 11px; color: rgba(186,186,186,.4);
  letter-spacing: .08em; text-transform: uppercase;
}

/* ─── MOBILE ──────────────────────────────────── */
@media (max-width: 720px) {
  .ap { padding-top: calc(80px + 6vh); }
  .ap-head {
    grid-template-columns: minmax(0, 1fr) clamp(120px, 30vw, 220px);
    gap: clamp(16px, 5vw, 36px);
    align-items: end;
    margin-bottom: 5vh;
  }
  .ap-name { font-size: clamp(3.5rem, 16vw, 5.8rem); }
  .ap-photo {
    width: 100%;
    justify-self: end;
  }
  .ap-stats { grid-template-columns: 1fr; gap: 28px; }
  .cv-row { grid-template-columns: 1fr; gap: 24px; }
  .aw-row { grid-template-columns: 1fr; gap: 16px; }
  .sk-grid { grid-template-columns: 1fr; gap: 14px; }
  .sk-cluster { padding: 24px 22px; }
  .lang-row { grid-template-columns: 1fr 1fr; gap: 28px; }
}
