/* Mainul Ahammad — portfolio. Tokens carried over from the earlier About page. */
:root {
  --bg: #FAFAF7;
  --bg-2: #F1F0EB;
  --card: #FFFFFF;
  --text: #14151A;
  --text-2: #6C6E77;
  --text-3: #3B3C42;
  --border: #E3E2DC;
  --accent: #3D5AFE;
  --accent-wash: #E9ECFF;
  --divider: rgba(61, 90, 254, 0.22);

  /* VoiceOrb brand band */
  --orb-bg: #081317;
  --orb-bg-2: #0F2026;
  --orb-text: #E8F1EF;
  --orb-text-2: #8FA7A3;
  --orb-accent: #5EE6C8;
  --orb-border: rgba(232, 241, 239, 0.12);

  --font-display: 'Futura', 'Jost', 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --s-3xs: 0.375rem;
  --s-2xs: 0.625rem;
  --s-xs: 1rem;
  --s-sm: 1.5rem;
  --s-md: 2.5rem;
  --s-lg: 4rem;
  --s-xl: 6rem;

  --max: 1120px;
  --text-max: 42rem;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 20px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (max-width: 640px) {
  :root { --s-lg: 2.75rem; --s-xl: 3.75rem; }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
p { max-width: var(--text-max); }
p + p { margin-top: var(--s-xs); }
strong { font-weight: 600; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-xl); }
.section-tight { padding-block: var(--s-lg); }
.divider-top { border-top: 1px solid var(--divider); }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); font-weight: 600;
}
.lede {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.45; max-width: 38rem;
}
.meta { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }
.muted { color: var(--text-2); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: var(--s-sm); }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 2rem); font-size: 0.9rem; font-weight: 500; }
.nav a { color: var(--text-2); transition: color 200ms var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .nav-cta { color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 0.45em 1em; }
.nav .nav-cta:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 520px) {
  .nav .hide-sm { display: none; }
}

/* ---- Buttons ---- */
.btn, .btn-outline {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.85em 1.5em; border-radius: 999px;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.btn { background: var(--text); color: var(--bg); }
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn svg, .btn-outline svg { width: 15px; height: 15px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- Home hero ---- */
.hero { padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: var(--s-lg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-lg); align-items: end; }
.hero h1 { max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .hello { margin-bottom: var(--s-xs); }
.hero .sub { margin-top: var(--s-sm); font-size: 1.08rem; color: var(--text-3); max-width: 36rem; }
.hero .btn-row { margin-top: var(--s-md); }
.hero-photo {
  width: clamp(140px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-md); }
  .hero-photo { order: -1; width: 120px; }
}
.companies { margin-top: var(--s-lg); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-sm) var(--s-md); }
.companies .eyebrow { flex-basis: 100%; max-width: none; }
.companies img { height: 28px; width: auto; filter: grayscale(1) opacity(0.55); transition: filter 220ms var(--ease); }
.companies img:hover { filter: none; }
.companies .now { display: inline-flex; align-items: center; gap: 0.5rem; }
.companies .tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-wash); padding: 0.25em 0.6em; border-radius: 999px; }

/* ---- Featured VoiceOrb ---- */
.featured {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #12343A 0%, var(--orb-bg) 55%);
  color: var(--orb-text); border-radius: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-md);
  padding: clamp(1.75rem, 5vw, 4rem);
  transition: transform 400ms var(--ease);
}
.featured:hover { transform: translateY(-3px); }
.featured .eyebrow { color: var(--orb-accent); }
.featured h2 { margin-top: var(--s-xs); font-size: clamp(2rem, 4.2vw, 3.2rem); }
.featured .desc { margin-top: var(--s-xs); color: var(--orb-text-2); font-size: 1.02rem; }
.featured .facts { margin-top: var(--s-md); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-sm); max-width: 28rem; }
.featured .facts dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orb-text-2); font-weight: 600; }
.featured .facts dd { margin-top: 0.25em; font-size: 0.95rem; }
.featured .cta { margin-top: var(--s-md); display: inline-flex; align-items: center; gap: 0.55em; font-weight: 600; font-size: 0.92rem; background: var(--orb-text); color: var(--orb-bg); padding: 0.85em 1.5em; border-radius: 999px; transition: background 220ms var(--ease); }
.featured:hover .cta { background: var(--orb-accent); }
.featured .cta svg { width: 15px; height: 15px; }
.featured .app-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--orb-border); }
.featured .head { display: flex; align-items: center; gap: 0.9rem; }
.badge-live { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.75rem; font-weight: 600; color: var(--orb-accent); border: 1px solid rgba(94, 230, 200, 0.35); border-radius: 999px; padding: 0.3em 0.75em; }
.badge-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orb-accent); box-shadow: 0 0 0 3px rgba(94, 230, 200, 0.2); }
.phones { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(0.5rem, 1.5vw, 1rem); min-height: 100%; }
.phones img { width: 31%; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.phones img:nth-child(1) { transform: translateY(8%) rotate(-4deg); }
.phones img:nth-child(2) { width: 36%; z-index: 1; }
.phones img:nth-child(3) { transform: translateY(8%) rotate(4deg); }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .phones { margin-top: var(--s-xs); }
}

/* ---- Work grid ---- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-sm); margin-bottom: var(--s-md); flex-wrap: wrap; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.work-card:hover { transform: translateY(-4px); border-color: rgba(61, 90, 254, 0.35); box-shadow: 0 18px 40px -24px rgba(20, 21, 26, 0.35); }
.work-card .thumb { aspect-ratio: 4 / 3; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; padding: 1.25rem; }
.work-card .thumb img { max-height: 100%; width: auto; object-fit: contain; transition: transform 500ms var(--ease); }
.work-card:hover .thumb img { transform: scale(1.03); }
.work-card .thumb.tall { padding-bottom: 0; align-items: end; }
.work-card .thumb.tall img { max-height: 112%; }
.work-card .body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.work-card .org { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.work-card h3 { font-size: 1.3rem; }
.work-card p { font-size: 0.93rem; color: var(--text-3); }
.work-card .more { margin-top: auto; padding-top: 0.6rem; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.4em; }
.work-card .more svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.work-card:hover .more svg { transform: translateX(3px); }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-sm); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; line-height: 1; }
.stat .num span { color: var(--accent); }
.stat .label { margin-top: 0.5rem; font-size: 0.88rem; color: var(--text-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-lg); align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: var(--s-sm); } }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding-block: var(--s-xl) var(--s-md); }
.site-footer h2 { max-width: 14em; }
.site-footer .mail { display: inline-block; margin-top: var(--s-sm); font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.9rem); border-bottom: 2px solid var(--accent); padding-bottom: 0.1em; word-break: break-all; transition: color 220ms var(--ease); }
.site-footer .mail:hover { color: var(--accent); }
.socials { margin-top: var(--s-md); display: flex; flex-wrap: wrap; gap: 0.6rem; }
.footer-base { margin-top: var(--s-lg); display: flex; justify-content: space-between; gap: var(--s-xs); flex-wrap: wrap; font-size: 0.82rem; color: var(--text-2); }

/* ---- Case study ---- */
.cs-hero { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: var(--s-md); }
.back { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.85rem; font-weight: 600; color: var(--text-2); margin-bottom: var(--s-md); }
.back:hover { color: var(--accent); }
.back svg { width: 14px; height: 14px; }
.cs-hero h1 { max-width: 16em; }
.cs-hero .lede { margin-top: var(--s-sm); }
.cs-facts { margin-top: var(--s-md); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-sm); border-top: 1px solid var(--border); padding-top: var(--s-sm); }
@media (max-width: 760px) { .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-facts dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.cs-facts dd { margin-top: 0.3em; font-size: 0.95rem; }
.cs-cover { border-radius: 28px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 4rem); }
.cs-cover img { max-height: 620px; width: auto; }
.cs-cover.dark { background: radial-gradient(120% 90% at 85% 0%, #12343A 0%, var(--orb-bg) 55%); }

.cs-section { padding-block: var(--s-lg); border-top: 1px solid var(--divider); }
.cs-section .split > .eyebrow { position: sticky; top: 96px; }
.cs-section h2 { margin-bottom: var(--s-sm); }
.cs-section h3 { margin-top: var(--s-md); margin-bottom: 0.5rem; }
.cs-section p, .cs-section li { color: var(--text-3); }
.bullets li { position: relative; padding-left: 1.2em; margin-top: 0.55em; }
.bullets li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: var(--s-sm); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards, .cards.three { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.35rem; }
.card h4 { font-family: var(--font-sans); font-size: 0.98rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text); }
.card p { font-size: 0.92rem; }
.card .n { font-family: var(--font-display); font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 0.4rem; }

.impact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: var(--s-sm); }
@media (max-width: 760px) { .impact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.impact .card .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1; color: var(--accent); }
.impact .card h4 { margin-top: 0.7rem; }

blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--text); border-left: 3px solid var(--accent); padding: 0.2rem 0 0.2rem 1.1rem; margin-top: 1rem; max-width: 40rem; }

.decision { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--s-md); align-items: center; padding-block: var(--s-md); border-top: 1px solid var(--border); }
.decision:first-of-type { border-top: none; padding-top: 0; }
.decision.flip > .shot { order: -1; }
@media (max-width: 760px) { .decision, .decision.flip { grid-template-columns: 1fr; } .decision.flip > .shot { order: 0; } }
.decision h3 { margin-top: 0.4rem; }
.decision .shot { background: radial-gradient(120% 90% at 85% 0%, #12343A 0%, var(--orb-bg) 60%); border-radius: 22px; padding: clamp(1rem, 3vw, 2rem); display: grid; place-items: center; }
.decision .shot img { max-height: 520px; width: auto; border-radius: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.chip { background: var(--bg-2); border: 1px solid var(--border); color: #34353C; font-size: 0.8rem; font-weight: 500; padding: 0.35rem 0.8rem; border-radius: 999px; }

.gallery { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; margin-top: var(--s-sm); scrollbar-width: thin; }
.gallery img { flex: none; width: min(240px, 62vw); border-radius: 14px; scroll-snap-align: start; border: 1px solid var(--border); }

.journey { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
.journey-wrap { overflow-x: auto; margin-top: var(--s-sm); border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.journey th, .journey td { text-align: left; vertical-align: top; padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-3); }
.journey th { font-family: var(--font-sans); font-weight: 600; color: var(--text); background: var(--bg-2); }
.journey tr:last-child td { border-bottom: none; }
.journey td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }

.next { display: flex; justify-content: space-between; align-items: center; gap: var(--s-sm); flex-wrap: wrap; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 220ms var(--ease); }
.next:hover { border-color: var(--accent); }
.next h3 { margin-top: 0.3rem; }

.note { background: var(--accent-wash); border-radius: 16px; padding: 1.25rem 1.4rem; color: var(--text-3); font-size: 0.95rem; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- About: experience, skills, achievements ---- */
.cv-entry { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-sm); padding-block: var(--s-md); border-top: 1px solid var(--border); }
.cv-entry:first-child { border-top: none; padding-top: 0; }
@media (max-width: 640px) { .cv-entry { grid-template-columns: 1fr; gap: var(--s-3xs); } }
.cv-year, .ach-year { font-size: 0.85rem; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 0.15em; }
.entry-head { display: flex; align-items: center; gap: 0.65rem; }
.entry-logo { height: 22px; width: auto; max-width: 90px; object-fit: contain; }
.entry-company { font-size: 0.92rem; color: var(--accent); font-weight: 600; margin-top: 0.25em; }
.cv-entry ul { margin-top: var(--s-2xs); }
.cv-entry li { position: relative; padding-left: 1.1em; font-size: 0.95rem; color: var(--text-3); line-height: 1.65; margin-top: 0.4em; }
.cv-entry li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.skill-group + .skill-group { margin-top: var(--s-md); }
.skill-group h4 { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; margin-bottom: var(--s-2xs); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ach { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-sm); padding-block: var(--s-sm); border-top: 1px solid var(--border); }
.ach:first-child { border-top: none; padding-top: 0; }
@media (max-width: 640px) { .ach { grid-template-columns: 1fr; gap: var(--s-3xs); } }
.ach-title { font-weight: 600; font-size: 0.98rem; }
.ach-meta { font-size: 0.85rem; color: var(--text-2); margin-top: 0.2em; }
.edu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-md); }
@media (max-width: 640px) { .edu-grid { grid-template-columns: 1fr; gap: var(--s-sm); } }
.edu-grid h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.3em; }
.edu-grid p { font-size: 0.88rem; color: var(--text-2); }
.cs-cover .phones img { width: 31%; max-height: none; }
.cs-cover .phones img:nth-child(2) { width: 36%; }

/* ---- Home hero: large B&W portrait ---- */
.hero-home { padding-top: clamp(2rem, 6vw, 4.5rem); }
.hero-home .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero-home h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.18; max-width: 18em; }
.hero-home .sub { font-size: 1.02rem; }
.hero-home .companies { margin-top: var(--s-md); }
.hero-portrait { justify-self: end; width: 100%; max-width: 460px; }
/* multiply blends the photo's white backdrop into the page background */
.hero-portrait img { width: 100%; height: auto; mix-blend-mode: multiply; }
@media (max-width: 760px) {
  .hero-home .hero-grid { grid-template-columns: 1fr; gap: var(--s-xs); }
  .hero-portrait { order: -1; justify-self: center; max-width: 260px; margin-bottom: -1rem; }
}
.companies img { mix-blend-mode: multiply; }
.hero-home .companies { gap: var(--s-sm) 1.75rem; }
.hero-home .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hero-portrait { max-width: 540px; margin-right: -2rem; }
@media (max-width: 760px) { .hero-portrait { margin-right: 0; } }
.hero-home .companies { column-gap: 1.4rem; }
.hero-home .companies img { height: 24px; }
/* Subtler, faster reveal so content never looks missing while scrolling */
.reveal { transform: translateY(10px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); }

/* ---- Rights Management case study ---- */
.workflow { margin-top: var(--s-sm); background: var(--text); color: #E8E8E8; border-radius: 18px; padding: clamp(1.25rem, 3vw, 1.75rem); }
.workflow .eyebrow { color: #E0A84A; }
.workflow ol { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.5rem; margin-top: 1rem; counter-reset: wf; }
.workflow li { counter-increment: wf; background: rgba(255, 255, 255, 0.07); border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.88rem; font-weight: 500; display: flex; gap: 0.6rem; color: #E8E8E8; }
.workflow li::before { content: counter(wf); color: #E0A84A; font-weight: 700; }
.workflow .total { max-width: none; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; color: #A9AAB0; }
.workflow .total strong { color: #E0A84A; font-size: 1rem; }
.why { margin-top: 0.9rem; background: var(--accent-wash); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 0.8rem 1rem; }
.why .eyebrow { color: var(--accent); font-size: 0.66rem; }
.why p { font-size: 0.88rem; margin-top: 0.25rem; }
.flow { margin-top: var(--s-md); }
.flow + .flow { margin-top: var(--s-lg); }
.flow > p { margin-top: 0.4rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--s-sm); }
.tabs button { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.55em 1.1em; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text-2); cursor: pointer; transition: all 200ms var(--ease); }
.tabs button span { font-weight: 500; opacity: 0.6; margin-right: 0.35em; }
.tabs button:hover { color: var(--text); border-color: var(--accent); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.flow-panel { margin-top: 1rem; }
.flow-panel[hidden] { display: none; }
.flow-panel .shot-frame { background: var(--bg-2); border-radius: 22px; padding: clamp(0.6rem, 2vw, 1.25rem); }
.flow-panel img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.flow-panel .why { max-width: 52rem; }
.status { display: inline-block; padding: 0.2em 0.7em; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.status.curated { background: #FFF3CD; color: #7A5B00; }
.status.requested { background: var(--accent-wash); color: #2238B8; }
.status.approved { background: #E3F4EA; color: #1F6B45; }
.status.queued { background: #FDE8E8; color: #9B2C2C; }
.journey.lifecycle td:first-child { white-space: nowrap; }
/* Experience: logo on its own row, then title, then company */
.cv-entry .entry-head { margin-bottom: 0.7rem; }
.cv-entry .entry-logo { height: 24px; max-width: 120px; }
.cv-entry .entry-logo { mix-blend-mode: multiply; }
