/* ==========================================================
   Omotola Oyelami: personal site
   Colours live in :root. Change them there to restyle the site.
   ========================================================== */

:root {
  --bg: #F5F1E8;
  --surface: #FCFAF5;
  --tint: #EDE7DA;
  --ink: #13201A;
  --muted: #56615B;
  --line: #DAD2C2;
  --green: #0E4D3A;
  --green-ink: #0B3D2E;
  --amber: #D9921A;
  --teal: #2C7A7B;
  --slate: #6B7A86;
  --coral: #E8553A;
  --sky: #2389C9;
  --sun: #E9A400;
  --plum: #7A5AD8;
  --sky-tint: #E3F1FA;
  --on-dark: #F3EEE3;
  --on-dark-muted: #B9C7BF;
  --shadow: 0 1px 2px rgba(19, 32, 26, .05), 0 12px 32px -12px rgba(19, 32, 26, .18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1411;
    --surface: #121D19;
    --tint: #101915;
    --ink: #ECE7DC;
    --muted: #9DA9A2;
    --line: #23322C;
    --green: #0F3F31;
    --green-ink: #5CC79A;
    --amber: #F0B23E;
    --teal: #4FB3B3;
    --slate: #93A3AF;
    --coral: #FF7A5C;
    --sky: #5DB8F0;
    --sun: #FFC23D;
    --plum: #A98BFF;
    --sky-tint: #0D1C24;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1411;
  --surface: #121D19;
  --tint: #101915;
  --ink: #ECE7DC;
  --muted: #9DA9A2;
  --line: #23322C;
  --green: #0F3F31;
  --green-ink: #5CC79A;
  --amber: #F0B23E;
  --teal: #4FB3B3;
  --slate: #93A3AF;
  --coral: #FF7A5C;
  --sky: #5DB8F0;
  --sun: #FFC23D;
  --plum: #A98BFF;
  --sky-tint: #0D1C24;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--amber); color: #13201A; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--green); color: var(--amber); font-family: var(--serif); font-size: .95rem; letter-spacing: .02em;
}
.brand__name { font-size: .98rem; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--tint); }
.nav__links a.nav__cta { color: var(--bg); background: var(--ink); margin-left: 6px; }
.nav__links a.nav__cta:hover { background: var(--green); color: #fff; }
.nav__tools { display: flex; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--tint); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}
.menu-btn { display: none; }

@media (max-width: 900px) {
  .brand__name { display: none; }
  .menu-btn { display: grid; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { display: block; padding: 12px 14px; font-size: 1rem; }
  .nav__links a.nav__cta { margin: 8px 0 0; text-align: center; }
  .nav__inner { justify-content: space-between; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--amber { background: var(--amber); color: #13201A; }
.btn--amber:hover { background: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: var(--on-dark); }
.btn--outline-light:hover { border-color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  /* road-line motif */
  content: ""; position: absolute; right: -22%; top: 6%; width: 58%; height: 120%;
  border: 2px dashed var(--line); border-radius: 50%; transform: rotate(-12deg); pointer-events: none; opacity: .8;
}
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.35fr 1fr; gap: 64px; } .hero { padding: 88px 0 104px; } }
.eyebrow { font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--green-ink); margin-bottom: 20px; }
.hero__title { font-size: clamp(3.2rem, 11vw, 6.6rem); line-height: .95; letter-spacing: -0.035em; font-weight: 400; margin-bottom: 28px; }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 34em; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hero__facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }

.hero__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px;
  box-shadow: var(--shadow); max-width: 440px; width: 100%; justify-self: center;
}
.portrait {
  position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(217,146,26,.35), transparent 55%),
    linear-gradient(150deg, #0E4D3A, #082A20);
  display: grid; place-items: center;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait__fallback { font-family: var(--serif); font-size: clamp(5rem, 18vw, 8.5rem); color: #F0B23E; letter-spacing: -.04em; opacity: .95; }
.now { display: flex; gap: 14px; align-items: flex-start; padding: 20px 8px 14px; }
.now__dot { width: 10px; height: 10px; border-radius: 50%; background: #22A06B; margin-top: 7px; flex: none; box-shadow: 0 0 0 0 rgba(34,160,107,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,160,107,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,160,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,160,107,0); } }
.now__label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 600; }
.now__role { font-family: var(--serif); font-size: 1.3rem; margin: 2px 0 0; }
.now__org { color: var(--muted); margin: 0; font-size: .95rem; }
.route-mini { display: flex; align-items: center; padding: 6px 8px 8px; position: relative; justify-content: space-between; }
.route-mini::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 14px); }
.route-mini li { position: relative; padding-top: 22px; font-size: .74rem; font-weight: 600; color: var(--muted); text-align: center; flex: 1; }
.route-mini li::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--green-ink); }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 22px; }
.strip__group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.strip__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.strip__list { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--serif); font-size: 1.15rem; }
.strip__list li { white-space: nowrap; }
@media (max-width: 900px) { .strip__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 48px; max-width: 760px; }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.025em; }
.section__intro { color: var(--muted); font-size: 1.12rem; margin-top: 20px; max-width: 40em; }
.kicker { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--amber); margin-bottom: 14px; }
.kicker--light { color: #F0B23E; }

/* about */
.about { display: grid; gap: 24px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1.25fr; gap: 72px; } .about .section__head { margin-bottom: 0; } }
.about__body > p { font-size: 1.14rem; }
.seeking { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.seeking__title { font-weight: 600; margin-bottom: 14px; }
.seeking__note { margin: 16px 0 0; color: var(--muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; background: var(--bg); }
.tags--small li { font-size: .84rem; padding: 5px 12px; }

/* impact */
.impact { background: var(--green); color: var(--on-dark); padding: 96px 0; position: relative; overflow: hidden; }
.impact::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(240,178,62,.22); pointer-events: none; }
.section__head--light h2 { color: #fff; }
.stats { display: grid; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--green); padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 10px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; color: #F0B23E; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--on-dark-muted); font-size: 1rem; max-width: 24em; }

/* journey: route map */
.route { position: relative; }
.route::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.stop { position: relative; padding-left: 44px; padding-bottom: 56px; display: grid; gap: 20px; }
.stop:last-child { padding-bottom: 0; }
.stop::before { /* station */
  content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 5px solid var(--c);
}
.stop::after { /* coloured line segment */
  content: ""; position: absolute; left: 10px; top: 30px; bottom: 0; width: 4px; border-radius: 4px; background: var(--c); opacity: .9;
}
.stop:last-child::after { display: none; }
@media (min-width: 960px) {
  .stop { grid-template-columns: 260px 1fr; gap: 48px; padding-left: 56px; }
  .stop__company { position: sticky; top: 100px; align-self: start; }
}
.stop__years { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.stop__company h3 { font-size: 1.75rem; margin: 6px 0 4px; }
.stop__desc { color: var(--muted); margin: 0; font-size: .96rem; }
.stop__roles { display: grid; gap: 16px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; border-left: 4px solid var(--c); }
.role h4 { font-size: 1.3rem; }
.role__meta { color: var(--muted); font-size: .92rem; margin: 6px 0 14px; }
.role ul { display: grid; gap: 8px; }
.role li { position: relative; padding-left: 20px; font-size: 1rem; }
.role li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* solutions / cases */
.cases { display: grid; gap: 18px; }
@media (min-width: 720px) { .cases { grid-template-columns: repeat(2, 1fr); } .case--feature { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .cases { grid-template-columns: repeat(3, 1fr); } .case--feature { grid-column: 1 / -1; }
  .case--feature dl { grid-template-columns: 1fr 1fr; gap: 32px; } }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__tag { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--green-ink); margin-bottom: 12px; }
.case h3 { font-size: 1.45rem; margin-bottom: 18px; }
.case dl { margin: 0 0 22px; display: grid; gap: 14px; }
.case dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.case dd { margin: 4px 0 0; font-size: .98rem; }
.case__results { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; border-top: 1px dashed var(--line); }
.case__results li { font-size: .9rem; background: var(--tint); padding: 6px 12px; border-radius: 10px; }
.case__results strong { color: var(--green-ink); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.case--feature { background: var(--green); color: var(--on-dark); border-color: transparent; }
.case--feature .case__tag { color: #F0B23E; }
.case--feature h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; }
.case--feature dd { font-size: 1.05rem; }
.case--feature dt { color: var(--on-dark-muted); }
.case--feature .case__results { border-top-color: rgba(255,255,255,.22); }
.case--feature .case__results li { background: rgba(255,255,255,.08); }
.case--feature .case__results strong { color: #F0B23E; }
@media (min-width: 1060px) { .case--feature { padding: 40px; } .case--feature .case__results { margin-top: 12px; } }

/* expertise */
.expertise__grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .expertise__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .expertise__grid { grid-template-columns: repeat(4, 1fr); } }
.skillset { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.skillset h3 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.skillset > ul:not(.tags) li { padding: 6px 0; font-size: .98rem; display: flex; gap: 10px; align-items: baseline; }
.skillset > ul:not(.tags) li::before { content: "→"; color: var(--amber); font-weight: 700; }

/* background */
.background__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .background__grid { grid-template-columns: 1.4fr 1fr; gap: 72px; } }
.background__story p { font-size: 1.12rem; }
.background__story .tags { margin-top: 8px; }
.credentials { display: grid; gap: 14px; align-content: start; }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.cred__type { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.cred h3 { font-size: 1.2rem; margin-bottom: 6px; }
.cred p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }

/* principles */
.principles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; counter-reset: p; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles li { background: var(--bg); padding: 30px 26px; counter-increment: p; }
.principles li::before { content: "0" counter(p); display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--amber); line-height: 1; margin-bottom: 18px; }
.principles h3 { font-size: 1.3rem; margin-bottom: 10px; }
.principles p { color: var(--muted); margin: 0; font-size: .98rem; }

/* contact */
.contact { background: var(--green); color: var(--on-dark); padding: 104px 0; text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed rgba(240,178,62,.18); pointer-events: none; }
.contact__inner { position: relative; max-width: 820px; }
.contact h2 { font-size: clamp(2rem, 5.5vw, 3.5rem); color: #fff; letter-spacing: -0.025em; }
.contact__lead { color: var(--on-dark-muted); font-size: 1.15rem; margin: 22px auto 36px; max-width: 34em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact__actions .btn { max-width: 100%; }
@media (max-width: 420px) { .contact__actions .btn { width: 100%; font-size: .92rem; padding: 14px 16px; } }

/* footer */
.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- reveal animation (only when JS is on and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .now__dot { animation: none; }
  .btn:hover, .case:hover { transform: none; }
}

/* ---------- print: a clean one-pager if someone prints the site ---------- */
@media print {
  .nav, .hero__actions, .hero::before, .contact::before, .impact::after, .icon-btn, .footer a { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .impact, .contact, .hero { padding: 24px 0; background: #fff !important; color: #000 !important; }
  .stat, .case, .case--feature { background: #fff !important; color: #000 !important; break-inside: avoid; }
  .stat__num, .stat__label, .contact h2, .section__head--light h2 { color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* markets route inside the featured case */
.case__route { margin: 8px 0 28px; padding: 22px 8px 4px; border-radius: 16px; background: rgba(0,0,0,.14); }
.case__route li { color: var(--on-dark-muted); }
.case__route li::before { background: var(--green); border-color: #F0B23E; }

@media (max-width: 959px) { .hero::before { display: none; } }

/* ==========================================================
   Colour, characters & the "Now" section
   ========================================================== */

/* hero colour blobs */
.hero { padding-bottom: 0 !important; }
.hero__grid { margin-bottom: 24px; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .32; pointer-events: none; }
.blob--coral { width: 380px; height: 380px; background: var(--coral); top: -120px; left: -140px; }
.blob--sky { width: 420px; height: 420px; background: var(--sky); top: 10%; right: -180px; opacity: .22; }
.blob--sun { width: 340px; height: 340px; background: var(--sun); bottom: -60px; left: 35%; opacity: .25; }
:root[data-theme="dark"] .blob { opacity: .14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .blob { opacity: .14; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px; letter-spacing: .05em; font-size: .78rem; }
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: #22A06B; flex: none; animation: pulse 2.4s infinite; }
.hero__title-accent { background: linear-gradient(90deg, var(--coral), var(--plum)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead strong { color: var(--ink); }

/* characters: shared */
.char { display: block; width: 100%; height: auto; fill: none; stroke: none; overflow: visible; }
.bubble {
  position: absolute; z-index: 3; background: #fff; color: #13201A; font-weight: 800; font-size: .86rem;
  padding: 7px 13px; border-radius: 14px; border: 2.5px solid #13201A; box-shadow: 3px 3px 0 #13201A;
  white-space: nowrap; animation: float 3s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; left: 22px; bottom: -9px; width: 14px; height: 14px; background: #fff;
  border-right: 2.5px solid #13201A; border-bottom: 2.5px solid #13201A; transform: rotate(45deg);
}

/* hero road + driving car */
.road { position: relative; height: 92px; }
.road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; border-bottom: 3px dashed var(--line); }
.road__car { position: absolute; left: 0; bottom: 6px; width: 118px; animation: drive 17s linear infinite; }

/* strip bottom border sits right under the road */
.strip { border-top: 0; }

/* colourful tags */
.tags--colour li { border-color: color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 12%, var(--bg)); }
.tags--colour li:nth-child(5n+1) { --c: var(--coral); }
.tags--colour li:nth-child(5n+2) { --c: var(--sky); }
.tags--colour li:nth-child(5n+3) { --c: var(--sun); }
.tags--colour li:nth-child(5n+4) { --c: var(--plum); }
.tags--colour li:nth-child(5n+5) { --c: var(--green-ink); }

/* ---------- NOW section ---------- */
.now-section { background: linear-gradient(180deg, var(--sky-tint), var(--bg)); position: relative; overflow: hidden; }
.now-head { display: grid; gap: 24px; align-items: end; margin-bottom: 40px; }
.now-head .section__head { margin-bottom: 0; }
@media (min-width: 960px) { .now-head { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.harbour { position: relative; height: 250px; max-width: 460px; width: 100%; justify-self: center; }
.harbour .ship { position: absolute; left: 0; bottom: 22px; width: 64%; animation: bob 3.4s ease-in-out infinite; transform-origin: 50% 90%; }
.harbour .waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 48px; }
.harbour .boxy { position: absolute; right: 0; bottom: 2px; width: 32%; animation: hop 2.6s ease-in-out infinite; }
.bubble--harbour { right: 6%; top: 6px; }
.bubble--harbour::after { left: auto; right: 30px; }

.pipeline { display: grid; gap: 12px; margin-bottom: 28px; counter-reset: none; position: relative; }
@media (min-width: 640px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pipeline { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) {
  .pipeline { grid-template-columns: repeat(7, 1fr); }
  .pipeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; border-top: 3px dashed var(--line); z-index: 0; }
}
.pipe { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: 16px; padding: 16px 16px 18px; }
.pipe__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 10px; border: 2.5px solid #13201A; }
.pipe h3 { font-size: 1.12rem; margin-bottom: 4px; }
.pipe p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }

.now-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .now-grid { grid-template-columns: 1.1fr 1fr; } }
.now-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.now-card h3 { font-size: 1.4rem; margin-bottom: 18px; }
.now-card__sub { margin-top: 28px; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #22A06B; color: #fff; font-weight: 800; font-size: .8rem; }
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stamps li {
  border: 2.5px dashed var(--c); border-radius: 12px; padding: 10px 8px; text-align: center; font-size: .85rem; font-weight: 600;
  background: color-mix(in srgb, var(--c) 10%, var(--surface)); transform: rotate(-2deg); transition: transform .25s;
}
.stamps li:nth-child(even) { transform: rotate(2deg); }
.stamps li:hover { transform: rotate(0) scale(1.06); }
.stamps b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--c); line-height: 1.1; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.partners li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; padding: 8px 10px; border-radius: 12px; background: var(--tint); }
.partners span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); font-size: 1.05rem; flex: none; }

/* ---------- impact: colourful numbers + chart character ---------- */
.impact__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.impact__head .section__head { margin-bottom: 0; }
.chartguy { position: relative; width: 120px; flex: none; margin-top: 44px; }
.chartguy .bubble { right: 70%; top: -44px; }
.chartguy .bubble::after { left: auto; right: 14px; }
@media (max-width: 640px) { .chartguy { width: 90px; } .chartguy .bubble { font-size: .76rem; right: 40%; } }
.stat:nth-child(6n+1) .stat__num { color: #F0B23E; }
.stat:nth-child(6n+2) .stat__num { color: #FF9A80; }
.stat:nth-child(6n+3) .stat__num { color: #7CCBF5; }
.stat:nth-child(6n+4) .stat__num { color: #C4B0FF; }
.stat:nth-child(6n+5) .stat__num { color: #8FE0B8; }
.stat:nth-child(6n+6) .stat__num { color: #FFD36B; }
.bar--1, .bar--2 { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 2.4s ease-in-out infinite alternate; }
.bar--2 { animation-delay: .4s; }
.bar--3 { animation: hop 2.4s ease-in-out infinite; }

/* ---------- journey: current-role badge ---------- */
.role--now { background: color-mix(in srgb, var(--coral) 6%, var(--surface)); }
.role__badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--coral); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- colour accents on cards ---------- */
.case[style*="--c"] { border-top: 5px solid var(--c); }
.skillset h3 { border-bottom: 3px solid var(--c, var(--line)); }
.skillset > ul:not(.tags) li::before { color: var(--c, var(--amber)); }
.principles li::before { color: var(--c, var(--amber)); }

/* ---------- contact car ---------- */
.contact__car { position: relative; width: 150px; margin: 36px auto 28px; animation: hop 2.8s ease-in-out infinite; }
.contact__car .bubble { left: 50%; top: -48px; transform: translateX(-50%); animation: none; }
.contact__car .bubble::after { left: calc(50% - 7px); }
.contact__car:hover .wiggle { animation: wiggle .5s ease-in-out 2; }

/* ---------- animations ---------- */
.wheel { transform-box: fill-box; transform-origin: center; animation: spin .7s linear infinite; }
.puff { transform-box: fill-box; transform-origin: center; animation: puff 1s ease-out infinite; }
.smoke { transform-box: fill-box; transform-origin: center; animation: smoke 2.6s ease-out infinite; }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.wave-arm { transform-box: view-box; transform-origin: 128px 52px; animation: wave .9s ease-in-out infinite alternate; }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(100vw); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes puff { 0% { opacity: .9; transform: translateX(0) scale(.8); } 100% { opacity: 0; transform: translateX(-14px) scale(1.5); } }
@keyframes smoke { 0% { opacity: .9; transform: translateY(0) scale(.8); } 100% { opacity: 0; transform: translateY(-16px) scale(1.6); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-1.5deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes grow { from { transform: scaleY(.72); } to { transform: scaleY(1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }

@media (prefers-reduced-motion: reduce) {
  .road__car, .wheel, .puff, .smoke, .eyes, .wave-arm, .harbour .ship, .harbour .boxy, .bubble,
  .bar--1, .bar--2, .bar--3, .contact__car, .contact__car:hover .wiggle, .eyebrow__dot { animation: none !important; }
  .road__car { left: 6%; }
}
@media print { .road, .harbour, .chartguy, .contact__car, .blob { display: none !important; } }
.now-grid { align-items: start; }
.contact__car { width: 180px; }

/* ---------- Now: mini stats ---------- */
.now-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
@media (min-width: 900px) { .now-stats { grid-template-columns: repeat(4, 1fr); } }
.now-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.now-stats b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; font-weight: 500; }
.now-stats li:nth-child(1) b { color: var(--coral); }
.now-stats li:nth-child(2) b { color: var(--sky); }
.now-stats li:nth-child(3) b { color: var(--green-ink); }
.now-stats li:nth-child(4) b { color: var(--plum); }
.now-stats span { font-size: .9rem; color: var(--muted); line-height: 1.35; }

/* ---------- Built by me ---------- */
.built { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--plum) 7%, var(--bg))); }
.built-head { display: grid; gap: 24px; align-items: end; margin-bottom: 40px; }
.built-head .section__head { margin-bottom: 0; }
@media (min-width: 960px) { .built-head { grid-template-columns: 1fr 220px; gap: 48px; } }
.laptop { position: relative; width: 190px; justify-self: center; margin-top: 40px; animation: hop 3s ease-in-out infinite; }
.laptop .bubble { left: 50%; top: -42px; transform: translateX(-50%); animation: none; }
.laptop .bubble::after { left: calc(50% - 7px); }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 1.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

.tools { display: grid; gap: 18px; }
@media (min-width: 720px) { .tools { grid-template-columns: repeat(2, 1fr); } .tool--feature { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .tools { grid-template-columns: repeat(3, 1fr); } .tool--feature { grid-column: span 2; grid-row: span 2; } }
.tool { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: 20px; padding: 24px; transition: transform .25s, box-shadow .25s; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool h3 { font-size: 1.35rem; margin-bottom: 10px; }
.tool p { font-size: .97rem; margin: 0; }
.tool__tag { font-size: .76rem !important; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 10px !important; }
.tool--feature { display: grid; gap: 22px; align-content: start; }
.tool--feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tool--feature .tool__body > p:not(.tool__tag) { font-size: 1.05rem; }
.tool__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tool__chips li { font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }

/* mock app screenshot drawn in CSS */
.mock { border: 2.5px solid #13201A; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 5px 5px 0 #13201A; }
.mock__bar { height: 26px; background: #13201A; display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #F2603F; }
.mock__bar i:nth-child(2) { background: #FFC23D; } .mock__bar i:nth-child(3) { background: #5CC79A; }
.mock__body--hub { display: grid; grid-template-columns: 70px 1fr; min-height: 190px; }
.mock__side { background: #0E4D3A; background-image: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.16) 22px 30px); background-position: 0 18px; }
.mock__main { padding: 16px; display: grid; gap: 16px; align-content: start; background: #F7F9FB; }
.mock__steps { display: flex; gap: 6px; align-items: center; }
.mock__steps b { flex: 1; height: 10px; border-radius: 5px; background: #5CC79A; }
.mock__steps b.on { background: #FFC23D; animation: float 1.6s ease-in-out infinite; }
.mock__steps b.todo { background: #DDE3E8; }
.mock__rows { display: grid; gap: 8px; }
.mock__rows span { height: 22px; border-radius: 6px; background: #fff; border: 1.5px solid #DDE3E8; position: relative; }
.mock__rows span::before { content: ""; position: absolute; left: 8px; top: 7px; width: 38%; height: 6px; border-radius: 3px; background: #C9D3DB; }
.mock__rows span::after { content: ""; position: absolute; right: 8px; top: 5px; width: 54px; height: 10px; border-radius: 5px; background: color-mix(in srgb, #2F9BDB 35%, #fff); }
.mock__rows span:nth-child(2)::after { background: color-mix(in srgb, #F2603F 35%, #fff); }
.mock__rows span:nth-child(3)::after { background: color-mix(in srgb, #5CC79A 45%, #fff); }

@media (prefers-reduced-motion: reduce) { .laptop, .spark, .mock__steps b.on { animation: none !important; } .tool:hover { transform: none; } }
@media print { .laptop { display: none !important; } }
@media (min-width: 1060px) {
  .tool--feature { grid-row: auto; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 28px; }
  .tool--feature h3 { font-size: 1.9rem; }
  .tool--feature .tool__body > p:not(.tool__tag) { font-size: 1rem; }
}
/* portfolio with three platforms: Hub full width, Portwise Pro wide + Help Centre */
@media (min-width: 720px) { .tool--wide { grid-column: 1 / -1; } }
@media (min-width: 1060px) {
  .tool--feature { grid-column: 1 / -1; grid-template-columns: 1fr 1.1fr; padding: 32px; }
  .tool--wide { grid-column: span 2; }
}

/* newsletter card */
@media (min-width: 720px) { .tool--news { grid-column: 1 / -1; } }
.tool--news { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .tool--news { grid-template-columns: 1.15fr 1fr; padding: 32px; } }
.tool--news h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.news-mock { background: #FFFDF6; color: #13201A; border: 2.5px solid #13201A; border-radius: 14px; box-shadow: 5px 5px 0 #13201A; padding: 16px 18px; transform: rotate(1deg); }
.news-mock__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #13201A; padding-bottom: 8px; margin-bottom: 10px; }
.news-mock__head b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.news-mock__head span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A3D0B; }
.news-mock__kicker { font-size: .72rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #56615B; margin: 0 0 6px !important; }
.news-mock ul { display: grid; gap: 6px; }
.news-mock li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; padding: 6px 0; border-bottom: 1px dashed #DAD2C2; }
.news-mock li:last-child { border-bottom: 0; }
.st { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st--ok { background: #D6F2E4; color: #0B5D3B; }
.st--watch { background: #FFF0C7; color: #7A5200; }
.st--check { background: #E3EEFB; color: #164E86; }
.st--opp { background: #ECE5FF; color: #4B2FA8; }
.st--bad { background: #FFE0D9; color: #A3301A; }

/* ==========================================================
   Flow & motion
   ========================================================== */
/* scroll progress */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--coral), var(--sun), var(--sky), var(--plum)); }

/* drifting colour blobs and shimmering surname */
.blob--coral { animation: drift1 18s ease-in-out infinite alternate; }
.blob--sky { animation: drift2 22s ease-in-out infinite alternate; }
.blob--sun { animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-90px, 80px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-140px, -40px) scale(1.2); } }
.hero__title-accent { background-image: linear-gradient(90deg, var(--coral), var(--plum), var(--sky), var(--coral)); background-size: 300% 100%; animation: shimmer 9s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }

/* flowing dashed routes */
.route-mini::before { background-size: 14px 2px; animation: dashflow .9s linear infinite; }
@keyframes dashflow { to { background-position: 14px 0; } }
.road::before { border: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 26px); background-size: 26px 3px; animation: roadflow 1.2s linear infinite reverse; }
@keyframes roadflow { to { background-position: 26px 0; } }

/* ocean waves rolling */
.wave { animation: roll 4s linear infinite; }
.wave--front { animation-duration: 2.8s; animation-direction: reverse; }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-110px); } }

/* little car on the import pipeline */
.pipe-road { position: relative; height: 40px; margin-bottom: 6px; }
.pipe-road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sky) 45%, transparent) 0 12px, transparent 12px 22px); background-size: 22px 3px; animation: roadflow 1s linear infinite reverse; }
.pipe-road__car { position: absolute; bottom: 2px; left: 0; width: 56px; animation: pipecar 14s ease-in-out infinite; }
@keyframes pipecar {
  0% { left: 0; transform: scaleX(1); }
  46% { left: calc(100% - 56px); transform: scaleX(1); }
  50% { left: calc(100% - 56px); transform: scaleX(-1); }
  96% { left: 0; transform: scaleX(-1); }
  100% { left: 0; transform: scaleX(1); }
}
.pipe { transition: transform .25s; }
.pipe:hover { transform: translateY(-4px) rotate(-1deg); }
.pipe__n { animation: pop 2.8s ease-in-out infinite; }
.pipe:nth-child(2) .pipe__n { animation-delay: .4s; } .pipe:nth-child(3) .pipe__n { animation-delay: .8s; }
.pipe:nth-child(4) .pipe__n { animation-delay: 1.2s; } .pipe:nth-child(5) .pipe__n { animation-delay: 1.6s; }
.pipe:nth-child(6) .pipe__n { animation-delay: 2s; } .pipe:nth-child(7) .pipe__n { animation-delay: 2.4s; }
@keyframes pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.25); } }

/* a glowing dot travels down the career route */
.route::after { content: ""; position: absolute; left: 5px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 3px solid #13201A; animation: travel 10s ease-in-out infinite; z-index: 2; }
@keyframes travel { 0% { top: 0; } 100% { top: calc(100% - 14px); } }
@media (min-width: 960px) { .route::after { left: 5px; } }

/* Import Hub mock: progress moves along the steps */
.mock__steps b { animation: stepfill 7s linear infinite; }
.mock__steps b:nth-child(1) { animation-delay: 0s; } .mock__steps b:nth-child(2) { animation-delay: .5s; }
.mock__steps b:nth-child(3) { animation-delay: 1s; } .mock__steps b:nth-child(4) { animation-delay: 1.5s; }
.mock__steps b:nth-child(5) { animation-delay: 2s; } .mock__steps b:nth-child(6) { animation-delay: 2.5s; }
.mock__steps b:nth-child(7) { animation-delay: 3s; }
@keyframes stepfill { 0% { background: #DDE3E8; } 6%, 80% { background: #5CC79A; } 90%, 100% { background: #DDE3E8; } }
.mock__steps b.on, .mock__steps b.todo { animation: stepfill 7s linear infinite; }
.mock__steps b.on { animation-delay: 2s; } .mock__steps b.todo:nth-child(6) { animation-delay: 2.5s; } .mock__steps b.todo:nth-child(7) { animation-delay: 3s; }
.mock__rows span { overflow: hidden; }
.mock__rows span:nth-child(odd)::before { animation: shimmerbar 2.4s ease-in-out infinite; }
@keyframes shimmerbar { 50% { width: 52%; } }

/* newsletter mock: statuses pulse one after another */
.news-mock { animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(1deg); } 50% { transform: rotate(-1deg) translateY(-3px); } }
.st { animation: pop 3.6s ease-in-out infinite; }
.news-mock li:nth-child(2) .st { animation-delay: .6s; } .news-mock li:nth-child(3) .st { animation-delay: 1.2s; }
.news-mock li:nth-child(4) .st { animation-delay: 1.8s; } .news-mock li:nth-child(5) .st { animation-delay: 2.4s; }
.news-mock li:nth-child(6) .st { animation-delay: 3s; }

/* stamps wobble on their own now and then */
.stamps li { animation: wobble 5s ease-in-out infinite; }
.stamps li:nth-child(2n) { animation-delay: 1.2s; } .stamps li:nth-child(3n) { animation-delay: 2.4s; }
@keyframes wobble { 0%, 85%, 100% { rotate: 0deg; } 90% { rotate: 4deg; } 95% { rotate: -3deg; } }

/* cards lift and tilt a touch on hover */
.now-stats li, .skillset, .cred { transition: transform .25s, box-shadow .25s; }
.now-stats li:hover, .skillset:hover, .cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* staggered reveal (delay set in script.js) */
.js .reveal { transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .blob, .hero__title-accent, .route-mini::before, .road::before, .wave, .pipe-road::before, .pipe-road__car, .pipe__n,
  .route::after, .mock__steps b, .mock__rows span::before, .news-mock, .st, .stamps li { animation: none !important; }
  .route::after { display: none; }
  .pipe:hover, .now-stats li:hover, .skillset:hover, .cred:hover { transform: none; }
}
@media print { .progress, .pipe-road, .route::after { display: none !important; } }

/* ---------- portrait + polaroid snaps ---------- */
.portrait img { transition: transform .6s ease; }
.hero__card:hover .portrait img { transform: scale(1.04); }

.snaps-wrap { margin-top: 64px; }
.snaps-title { font-family: "Caveat", var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--coral); margin-bottom: 18px; transform: rotate(-2deg); display: inline-block; }
.snaps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
@media (min-width: 900px) { .snaps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.snap {
  position: relative; background: #fff; padding: 10px 10px 14px; border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 30px -14px rgba(0,0,0,.35);
  transform: rotate(var(--r, 0deg)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  animation: snapfloat 6s ease-in-out infinite;
}
.snap:nth-child(2) { animation-delay: -1.5s; } .snap:nth-child(3) { animation-delay: -3s; } .snap:nth-child(4) { animation-delay: -4.5s; }
@keyframes snapfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.snap::before { /* tape */
  content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; transform: translateX(-50%) rotate(-3deg);
  background: color-mix(in srgb, var(--t) 55%, transparent); border-radius: 3px; z-index: 1;
}
.snap img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; display: block; }
.snap span { display: block; font-family: "Caveat", cursive; font-size: 1.35rem; font-weight: 600; line-height: 1.15; color: #2B313B; text-align: center; margin-top: 10px; }
.snap:hover { transform: rotate(0deg) scale(1.05); z-index: 2; box-shadow: 0 4px 8px rgba(0,0,0,.1), 0 24px 44px -16px rgba(0,0,0,.45); }
.js .snap.reveal { transform: rotate(var(--r, 0deg)) translateY(18px); }
.js .snap.reveal.is-in { transform: rotate(var(--r, 0deg)); }
.js .snap.reveal.is-in:hover { transform: rotate(0deg) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .snap { animation: none !important; } .snap:hover, .js .snap.reveal.is-in:hover { transform: rotate(var(--r, 0deg)); } .hero__card:hover .portrait img { transform: none; } }
@media print { .snaps-wrap { display: none; } }

/* ---------- Wins since taking over import operations ---------- */
.wins { margin: 8px 0 28px; }
.wins__title { font-size: 1.5rem; margin-bottom: 16px; }
.wins__grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .wins__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; position: relative; overflow: hidden; }
.win::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--sun) 16%, transparent); }
.win--big { background: var(--green); color: var(--on-dark); border-color: transparent; }
.win--big::after { background: rgba(240,178,62,.14); }
.win__label { font-weight: 700; margin: 0 0 6px; font-size: 1rem; }
.win--big .win__label { color: #F0B23E; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.win__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin: 0 0 8px; color: var(--coral); }
.win:nth-child(3) .win__num { color: var(--plum); }
.win__num span { font-size: 1.2rem; color: var(--muted); }
.win__note { margin: 0; font-size: .95rem; color: var(--muted); }
.win--big .win__note { color: var(--on-dark-muted); margin-top: 14px; }
.win--big .win__note strong { color: #fff; }
.win__compare { display: grid; gap: 10px; margin-top: 10px; }
.win__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; position: relative; }
.win__bar b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: #fff; grid-column: 2; grid-row: 1; }
.win__bar small { grid-column: 2; grid-row: 2; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); text-align: right; }
.win__bar-fill { grid-column: 1; grid-row: 1 / span 2; height: 18px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.win__bar-fill::before { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 999px; transform-origin: 0 50%; }
.win__bar-fill--before::before { background: #FF9A80; }
.win__bar-fill--after::before { background: #8FE0B8; }
.js .win--big .win__bar-fill::before { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .3s; }
.js .win--big.is-in .win__bar-fill::before { transform: scaleX(1); }

/* ---------- dashboard card ---------- */
@media (min-width: 720px) { .tool--dash { grid-column: 1 / -1; } }
.tool--dash { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .tool--dash { grid-template-columns: 1.15fr 1fr; padding: 32px; } }
.tool--dash h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.dash-mock { background: #13201A; color: #F3EEE3; border: 2.5px solid #13201A; border-radius: 14px; box-shadow: 5px 5px 0 #0E4D3A; padding: 16px 18px; }
.dash-mock__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 8px; margin-bottom: 8px; }
.dash-mock__head b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.dash-mock__head span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #B9C7BF; }
.dash-mock ul { display: grid; gap: 4px; }
.dash-mock li { display: grid; grid-template-columns: 9.5em 1fr auto; gap: 10px; align-items: center; font-size: .85rem; padding: 7px 0; }
.dash-mock li i { height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.dash-mock li i::before { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--c2); border-radius: 999px; animation: barpulse 3.2s ease-in-out infinite; transform-origin: 0 50%; }
.dash-mock li:nth-child(2) i::before { animation-delay: .5s; } .dash-mock li:nth-child(3) i::before { animation-delay: 1s; } .dash-mock li:nth-child(4) i::before { animation-delay: 1.5s; }
@keyframes barpulse { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.86); } }
@media (max-width: 480px) { .dash-mock li { grid-template-columns: 1fr auto; } .dash-mock li i { grid-column: 1 / -1; grid-row: 2; } }
@media (prefers-reduced-motion: reduce) { .dash-mock li i::before { animation: none !important; } .js .win--big .win__bar-fill::before { transform: none; transition: none; } }

/* nickname note under the name */
.hero__title { margin-bottom: 10px; }
.nickname { font-family: "Caveat", cursive; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 600; color: var(--muted); margin: 0 0 24px 4px; transform: rotate(-2deg); transform-origin: left center; display: inline-block; }
.nickname b { color: var(--coral); font-weight: 700; position: relative; }
.nickname b::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 2px; height: 8px; background: color-mix(in srgb, var(--sun) 45%, transparent); z-index: -1; border-radius: 4px; }
.wave-hand { display: inline-block; transform-origin: 70% 70%; animation: wavehand 2.6s ease-in-out infinite; }
@keyframes wavehand { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.js .nickname.reveal { transform: rotate(-2deg) translateY(18px); }
.js .nickname.reveal.is-in { transform: rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .wave-hand { animation: none; } }

/* founder role */
.strip__list small { font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.role--founder { background: color-mix(in srgb, var(--sun) 8%, var(--surface)); }
.role__badge--founder { background: var(--sun); color: #13201A; }
