/* =========================================================
   Wisdom N. Kwashie Jnr — Portfolio
   Palette: emerald + warm ivory + deep ink (no purple).
   ========================================================= */

:root {
  --ink:        #0f1512;
  --ink-soft:   #1b2620;
  --slate:      #3d4a44;
  --muted:      #6a7671;
  --line:       #e7e3d9;
  --line-soft:  #eeebe2;
  --surface:    #ffffff;
  --surface-2:  #f7f5ef;   /* warm ivory */
  --surface-3:  #efece2;

  --accent:     #0b7a5e;   /* emerald */
  --accent-ink: #075c47;
  --accent-2:   #12a37c;
  --accent-3:   #2fd6a6;   /* bright, for dark band */
  --accent-wash:#e4f2ec;
  --amber:      #c07f39;

  --dark-bg:    #0f1512;
  --dark-bg-2:  #16211c;
  --dark-line:  #26322c;
  --dark-text:  #cad6cf;
  --dark-mut:   #7f8f87;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow-sm:  0 1px 2px rgba(15,21,18,.04), 0 4px 14px rgba(15,21,18,.05);
  --shadow-md:  0 10px 30px rgba(15,21,18,.08), 0 2px 8px rgba(15,21,18,.04);
  --shadow-lg:  0 30px 70px rgba(15,21,18,.16);

  --ease:       cubic-bezier(.22,.61,.36,1);
  --container:  1160px;

  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-disp:  "Inter Tight", "Inter", system-ui, sans-serif;

  /* Subtle mudcloth (bògòlanfini-inspired) motifs — used at very low opacity */
  --mud-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 14 15 4 30 14 45 4 60 14 75 4 90 14 105 4 120 14'/%3E%3Cpath d='M6 34h12M30 34h12M54 34h12M78 34h12M102 34h12'/%3E%3Cpath d='M20 60l10-10 10 10-10 10zM60 60l10-10 10 10-10 10zM100 60l10-10 10 10-10 10z'/%3E%3Cpath d='M6 86l10 10M16 86l-10 10M46 86l10 10M56 86l-10 10M86 86l10 10M96 86l-10 10'/%3E%3Cpath d='M6 112h12M30 112h12M54 112h12M78 112h12M102 112h12'/%3E%3C/g%3E%3C/svg%3E");
  --mud-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230f1512' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 14 15 4 30 14 45 4 60 14 75 4 90 14 105 4 120 14'/%3E%3Cpath d='M6 34h12M30 34h12M54 34h12M78 34h12M102 34h12'/%3E%3Cpath d='M20 60l10-10 10 10-10 10zM60 60l10-10 10 10-10 10zM100 60l10-10 10 10-10 10z'/%3E%3Cpath d='M6 86l10 10M16 86l-10 10M46 86l10 10M56 86l-10 10M86 86l10 10M96 86l-10 10'/%3E%3Cpath d='M6 112h12M30 112h12M54 112h12M78 112h12M102 112h12'/%3E%3C/g%3E%3C/svg%3E");
}

/* Faint mudcloth texture overlay (subtle Africanness) */
.mud { position: relative; }
.mud::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--mud-light); background-size: 150px; opacity: .05; z-index: 0; }
.mud--ink::after { background-image: var(--mud-ink); opacity: .035; }
.mud > * { position: relative; z-index: 1; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--surface);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 10px; --pad-x: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-disp); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--lg { --pad-y: 14px; --pad-x: 26px; font-size: 16px; }
.btn--solid { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.74);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-disp); font-weight: 700; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; transition: background .3s var(--ease); }
.brand:hover .brand__mark { background: var(--accent); }
.brand__name { font-size: 15.5px; letter-spacing: -.02em; white-space: nowrap; }
.brand__jnr { color: var(--muted); font-weight: 500; }

.nav__links { display: flex; gap: 22px; }
.nav__links a { font-size: 14.5px; color: var(--slate); font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; transition: right .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { right: 0; }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 74px 0 44px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(15,21,18,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,21,18,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 68% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 68% 0%, #000 30%, transparent 78%);
}
.hero__aurora {
  position: absolute; top: -220px; right: -160px; width: 720px; height: 620px;
  background:
    radial-gradient(closest-side, rgba(18,163,124,.24), transparent 70%),
    radial-gradient(closest-side, rgba(47,214,166,.16), transparent 70%);
  filter: blur(22px); animation: floaty 15s ease-in-out infinite alternate;
}
@keyframes floaty { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,30px) scale(1.08); } }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .92fr; gap: 54px; align-items: center; min-height: 64vh; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-disp); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; margin: 0 0 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(11,122,94,.14); }

.hero__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.035em; font-size: clamp(44px, 7.4vw, 86px); line-height: .98; margin: 0 0 14px; color: var(--ink); }
.hero__jnr { color: var(--muted); font-weight: 700; }
.hero__role { font-family: var(--font-disp); font-weight: 600; font-size: clamp(17px, 2.3vw, 22px); color: var(--accent-ink); margin: 0 0 22px; letter-spacing: -.01em; }
.hero__role .sep { color: var(--line); margin: 0 6px; }
.hero__lede { font-size: 18.5px; color: var(--slate); max-width: 46ch; margin: 0 0 30px; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__contacts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; }
.hero__contacts a { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-size: 15px; font-weight: 500; transition: color .2s; }
.hero__contacts a:hover { color: var(--accent); }
.ic { width: 18px; height: 18px; flex: none; }

/* Portrait */
.hero__portrait { display: flex; justify-content: center; }
.portrait { position: relative; margin: 0; width: min(360px, 80vw); aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; position: relative; z-index: 1; }
.portrait__fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 10%, #16211c, #0f1512 70%); }
.portrait__fallback span { font-family: var(--font-disp); font-weight: 800; font-size: 88px; letter-spacing: -.04em; background: linear-gradient(120deg, #fff, #7fe9cd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.portrait.no-photo img { display: none; }

/* ---------- Shared image banner (per-page title, same photo) ---------- */
.banner { position: relative; overflow: hidden; padding: 58px 0 52px; }
.banner__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .88fr; gap: 50px; align-items: center; min-height: 44vh; }
.banner__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-disp); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin: 0 0 18px; }
.banner__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(11,122,94,.14); }
.banner__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.035em; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.0; margin: 0 0 16px; color: var(--ink); }
.banner__title .jnr { color: var(--muted); font-weight: 700; }
.banner__sub { font-size: 19px; color: var(--slate); max-width: 48ch; margin: 0 0 28px; }
.banner__sub strong { color: var(--ink); font-weight: 600; }
.banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.banner__img { display: flex; justify-content: center; }
.banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--mud-ink); background-size: 180px; opacity: .03; z-index: 0; }

/* ---------- Qualification badges ---------- */
.creds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-block: 26px; margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred-badge { display: flex; align-items: center; gap: 14px; }
.cred-badge__mark { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; padding: 3px; }
.cred-badge__mark img { width: 100%; height: 100%; object-fit: contain; }
.cred-badge__meta { display: flex; flex-direction: column; }
.cred-badge__meta strong { font-family: var(--font-disp); font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.cred-badge__meta span { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(70px, 9vw, 120px); }
.kicker { font-family: var(--font-disp); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.kicker--light { color: var(--accent-3); }
.section__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.03em; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.07; margin: 0; }
.section__title em { font-style: normal; color: var(--accent); }
.section__head { max-width: 760px; margin-bottom: 52px; }
.section__sub { font-size: 18px; color: var(--slate); margin-top: 18px; }
.section__sub .hint { color: var(--muted); font-size: 15px; }

/* ---------- Projects (shared) ---------- */
.work { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.work--lead { background: var(--surface); }
.project { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding-block: clamp(34px, 5vw, 60px); }
.project + .project { border-top: 1px solid var(--line); }
.project--reverse .project__media { order: 2; }
.project__tag { font-family: var(--font-disp); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.project__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.025em; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.08; margin: 0 0 16px; }
.project__body p { color: var(--slate); font-size: 17px; margin: 0 0 16px; }
.project__body p strong { color: var(--ink); }
.project__what { font-size: 14px !important; color: var(--muted) !important; margin-bottom: 8px !important; }

.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--slate); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px;
  background: var(--accent-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 7' fill='none' stroke='%230b7a5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.stack { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.stack li { font-family: var(--font-disp); font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; background: var(--surface); }

/* Browser mockups + zoom + hover choreography */
.project__media { position: relative; }
.browser { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6d9d3; }
.browser__bar span:nth-child(1){ background:#e5675f; } .browser__bar span:nth-child(2){ background:#e0a83a; } .browser__bar span:nth-child(3){ background:#2fae7a; }
.browser__bar em { margin-left: 10px; font-style: normal; font-family: var(--font-disp); font-size: 12px; color: var(--muted); }
.browser img { width: 100%; }
.browser--float { position: absolute; right: -18px; bottom: -34px; width: 62%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.browser--float .browser__bar { display: none; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: 1 / span 2; }

/* zoomable images */
[data-zoom] { cursor: zoom-in; transition: transform .45s var(--ease), opacity .4s var(--ease), box-shadow .45s var(--ease); }

/* Hover choreography: emphasise hovered, fade siblings within a media group */
@media (hover: hover) {
  .project__media:hover .browser { opacity: .55; transform: scale(.99); }
  .project__media:hover .browser:hover { opacity: 1; transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
  .gallery:hover img { opacity: .45; }
  .gallery:hover img:hover { opacity: 1; transform: scale(1.04); z-index: 2; box-shadow: var(--shadow-md); }
  .ai-grid:hover .ai-card { opacity: .5; }
  .ai-grid:hover .ai-card:hover { opacity: 1; }
  .ai-card:hover img { transform: scale(1.05); }
}

/* ---------- AI Governance visual ---------- */
.gov-visual { background: linear-gradient(160deg, #16211c, #0f1512); border: 1px solid var(--dark-line); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-md); }
.gov-visual__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.gov-visual__tag { font-family: var(--font-disp); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-mut); }
.gov-visual__badge { font-family: var(--font-disp); font-size: 12px; font-weight: 700; color: var(--accent-3); border: 1px solid rgba(47,214,166,.3); background: rgba(47,214,166,.08); border-radius: 999px; padding: 4px 12px; }
.gov-visual__flow { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.gov-node { flex: 1 1 0; min-width: 84px; text-align: center; background: rgba(47,214,166,.07); border: 1px solid rgba(47,214,166,.22); border-radius: 12px; padding: 14px 8px; font-family: var(--font-disp); font-weight: 700; color: #fff; font-size: 15px; }
.gov-node span { display: block; font-size: 11px; color: var(--accent-3); margin-bottom: 4px; }
.gov-arrow { color: var(--dark-mut); font-size: 14px; }
.gov-visual__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gov-visual__grid span { font-family: var(--font-disp); font-size: 13px; font-weight: 500; color: var(--dark-text); background: rgba(255,255,255,.03); border: 1px solid var(--dark-line); border-radius: 9px; padding: 9px 12px; }

/* ---------- AI Content ---------- */
.ai-content { background: var(--surface); }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.ai-card { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--surface-3); transition: opacity .4s var(--ease), box-shadow .4s var(--ease); }
.ai-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .5s var(--ease); }
.ai-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-cap { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.ai-cap h4 { font-family: var(--font-disp); font-size: 16px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.ai-cap p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Digital Marketing ---------- */
.marketing { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.mk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mk-card { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .35s; }
.mk-card:hover { transform: translateY(-5px); border-color: rgba(11,122,94,.4); }
.mk-card__n { font-family: var(--font-disp); font-weight: 800; font-size: 14px; color: var(--accent); }
.mk-card h4 { font-family: var(--font-disp); font-size: 18px; font-weight: 700; margin: 6px 0 8px; letter-spacing: -.01em; }
.mk-card p { font-size: 15px; color: var(--slate); margin: 0; }
.mk-more { margin-top: 26px; }
.mk-more a { font-family: var(--font-disp); font-weight: 600; color: var(--accent-ink); }
.mk-more a:hover { color: var(--accent); }

/* ---------- NOW (gradient band) ---------- */
.now { background: var(--dark-bg); color: var(--dark-text); position: relative; }
.now::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(18,163,124,.18), transparent 60%), radial-gradient(50% 40% at 5% 100%, rgba(47,214,166,.1), transparent 60%); }
.now > .container { position: relative; }
.now .section__title { color: #fff; }
.now .section__sub { color: var(--dark-mut); }
.now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.now-col { background: var(--dark-bg-2); border: 1px solid var(--dark-line); border-radius: 16px; padding: 28px 26px; }
.now-col__h { display: flex; align-items: center; gap: 10px; font-family: var(--font-disp); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.now-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 0 4px rgba(47,214,166,.14); }
.now-dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(192,127,57,.16); }
.now-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.now-list li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--dark-text); }
.now-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--dark-mut); }
.now-list strong { color: #fff; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); }
.contact__inner { max-width: 780px; }
.contact__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 5vw, 52px); line-height: 1.05; margin: 0 0 18px; }
.contact__sub { font-size: 19px; color: var(--slate); margin: 0 0 32px; max-width: 52ch; }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.contact__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; color: var(--muted); font-size: 15px; }
.contact__meta li { position: relative; }
.contact__meta li + li::before { content: "·"; position: absolute; left: -14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface-2); padding-block: 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer__made a:hover { color: var(--accent); }

/* ---------- Experience page ---------- */
.xp-hero { padding-top: 60px; padding-bottom: 20px; }
.back-link { display: inline-block; font-family: var(--font-disp); font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 22px; transition: color .2s; }
.back-link:hover { color: var(--accent); }
.xp-hero .section__title { max-width: 16ch; }
.xp-hero .section__sub { max-width: 62ch; }
.xp__grid { display: grid; grid-template-columns: 1.5fr .85fr; gap: 48px; align-items: start; }
.xp__timeline { display: grid; gap: 22px; }
.xp-item { border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; background: var(--surface); box-shadow: var(--shadow-sm); }
.xp-item__head { margin-bottom: 12px; }
.xp-item__head h2 { font-family: var(--font-disp); font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin: 0; }
.xp-item__co { display: inline-block; font-weight: 600; color: var(--accent-ink); font-size: 15px; margin-top: 4px; }
.xp-item__date { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.xp-item__ctx { font-size: 15.5px; color: var(--slate); margin: 0 0 16px; }
.xp__side { display: grid; gap: 16px; position: sticky; top: 88px; }
.xp-panel { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--surface-2); }
.xp-panel h3 { font-family: var(--font-disp); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.xp-panel p { margin: 0; font-size: 15px; color: var(--slate); }
.xp-certs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--slate); }
.xp-certs strong { color: var(--ink); }
.xp-certs em { font-style: normal; color: var(--muted); }
.xp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.xp-tags li { font-family: var(--font-disp); font-size: 12.5px; font-weight: 500; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; }
.xp-cta { width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 4vmin; background: rgba(10,14,12,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 120px rgba(0,0,0,.6); transform: scale(.96); transition: transform .35s var(--ease); cursor: zoom-out; }
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.18); transform: scale(1.05); }

/* ---------- About Me ---------- */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.about__body p { font-size: 18px; color: var(--slate); margin: 0 0 18px; }
.about__body strong { color: var(--ink); font-weight: 600; }
.about__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 26px; }
.about__tags li { font-family: var(--font-disp); font-size: 14px; font-weight: 500; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.about__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Subpage header ---------- */
.subhead { position: relative; padding: 54px 0 20px; overflow: hidden; }
.subhead__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.subhead > .container { position: relative; z-index: 1; }
.subhead__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 5vw, 54px); line-height: 1.05; margin: 0; max-width: 20ch; }
.subhead__lede { font-size: 18.5px; color: var(--slate); margin: 18px 0 0; max-width: 62ch; }
.subhead__lede .hint { color: var(--muted); font-size: 15px; }
.section__hint { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.back-link { display: inline-block; font-family: var(--font-disp); font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 18px; transition: color .2s; }
.back-link:hover { color: var(--accent); }
.note { font-size: 14px; color: var(--muted); margin-top: 30px; font-style: italic; }

/* ---------- Work directory (landing) ---------- */
.work-dir { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dir-card { position: relative; display: block; padding: 30px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden; }
.dir-card:hover { transform: translateY(-5px); border-color: rgba(11,122,94,.5); box-shadow: var(--shadow-md); }
.dir-card--feature { border-color: rgba(11,122,94,.35); background: linear-gradient(160deg, #ffffff, var(--accent-wash)); }
.dir-card__n { font-family: var(--font-disp); font-weight: 800; font-size: 13px; color: var(--accent); }
.dir-card h3 { font-family: var(--font-disp); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 8px 0 8px; }
.dir-card p { font-size: 15px; color: var(--slate); margin: 0 0 18px; }
.dir-card p strong { color: var(--ink); }
.dir-card__go { font-family: var(--font-disp); font-weight: 600; font-size: 14.5px; color: var(--accent-ink); }

/* ---------- Governance doc visuals ---------- */
.chip { display: inline-block; font-family: var(--font-disp); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.chip--live { color: #fff; background: var(--accent); }
.doc-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; box-shadow: var(--shadow-md); }
.doc-visual__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.doc-visual__kind { font-family: var(--font-disp); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-wash); border-radius: 999px; padding: 4px 11px; }
.doc-visual__ver { font-size: 12px; color: var(--muted); font-family: var(--font-disp); }
.doc-visual__title { font-family: var(--font-disp); font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin: 0 0 16px; }
.doc-visual__lines { display: grid; gap: 8px; margin-bottom: 16px; }
.doc-visual__lines span { font-size: 14px; color: var(--slate); background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 9px 13px; }
.doc-visual__foot { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.tick-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.matrix { display: grid; gap: 8px; margin-bottom: 16px; }
.matrix__row { display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; }
.matrix__lbl { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.tier { font-family: var(--font-disp); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tier--prohibited { color: #b42318; background: #fee4e2; }
.tier--high { color: #b54708; background: #fef0c7; }
.tier--limited { color: #a15c07; background: #fef7e6; }
.tier--minimal { color: #067647; background: #dcfae6; }

/* ---------- Samples ---------- */
.samples { background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sample-card { position: relative; padding: 26px 24px; border: 1px dashed var(--line); border-radius: 16px; background: var(--surface); transition: transform .35s var(--ease), border-color .35s; }
.sample-card:hover { transform: translateY(-5px); border-color: rgba(11,122,94,.45); }
.sample-card__badge { position: absolute; top: 16px; right: 16px; font-family: var(--font-disp); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.sample-card__ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-ink); font-size: 20px; margin-bottom: 16px; }
.sample-card h3 { font-family: var(--font-disp); font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.sample-card p { font-size: 14.5px; color: var(--slate); margin: 0; }

/* ---------- Marketing stats ---------- */
.mk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.mk-stat__n { display: block; font-family: var(--font-disp); font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.mk-stat__l { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.contact--compact { padding-block: clamp(50px, 7vw, 84px); }
.contact--compact .contact__title { font-size: clamp(24px, 3.4vw, 36px); }

/* ---------- Dark contact / CTA band ---------- */
.cta-dark { background: var(--dark-bg); color: var(--dark-text); position: relative; overflow: hidden; }
.cta-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 82% 0%, rgba(18,163,124,.20), transparent 60%), radial-gradient(45% 50% at 8% 100%, rgba(47,214,166,.12), transparent 60%); }
.cta-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--mud-light); background-size: 150px; opacity: .05; }
.cta-dark__inner { position: relative; z-index: 1; max-width: 780px; }
.cta-dark__inner .kicker { color: var(--accent-3); }
.cta-dark__title { font-family: var(--font-disp); font-weight: 800; letter-spacing: -.03em; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.06; color: #fff; margin: 0 0 16px; }
.cta-dark__sub { font-size: 18px; color: var(--dark-mut); margin: 0 0 30px; max-width: 52ch; }
.cta-dark .contact__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-dark .btn--solid { background: var(--accent-3); color: #04140e; }
.cta-dark .btn--solid:hover { background: #fff; color: var(--ink); }
.cta-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.cta-dark .btn--ghost:hover { border-color: #fff; color: #fff; }
.cta-dark__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; }
.cta-dark__meta a, .cta-dark__meta li { color: var(--dark-text); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.cta-dark__meta a:hover { color: var(--accent-3); }

/* Mudcloth application (subtle, woven across pages) */
.now::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--mud-light); background-size: 150px; opacity: .05; }
.now > .container { z-index: 1; }
.subhead::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--mud-ink); background-size: 170px; opacity: .03; z-index: 0; }
.subhead > .container { position: relative; z-index: 1; }

/* ---------- Consulting page metric callouts (reuses .mk-*) ---------- */
.cons-lead { font-size: 19px; color: var(--slate); max-width: 62ch; }
.metric-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.metric-row li { font-family: var(--font-disp); font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent-wash); border: 1px solid rgba(11,122,94,.18); border-radius: 999px; padding: 6px 12px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__aurora, .eyebrow .dot, .now-dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 13.5px; }
}
@media (max-width: 940px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav.is-open .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2){ opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .nav__mobile { display: grid; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; border-top: 1px solid transparent; }
  .nav.is-open .nav__mobile { max-height: 380px; padding: 14px 24px 22px; border-top-color: var(--line); }
  .nav__mobile a { padding: 12px 4px; font-family: var(--font-disp); font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav__mobile a.btn { border: 1px solid transparent; margin-top: 10px; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-top: 8px; }
  .hero__portrait { order: -1; justify-content: flex-start; }
  .portrait { width: min(280px, 66vw); }
  .banner__inner { grid-template-columns: 1fr; gap: 30px; min-height: 0; }
  .banner__img { order: -1; justify-content: flex-start; }
  .creds-row { grid-template-columns: 1fr; gap: 20px; }
  .project, .project--reverse .project__media { grid-template-columns: 1fr; }
  .project__media { order: -1 !important; }
  .browser--float { position: relative; right: 0; bottom: 0; width: 78%; margin: 14px 0 0 auto; }
  .ai-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-caps { grid-template-columns: 1fr 1fr; }
  .mk-grid { grid-template-columns: 1fr; }
  .now-grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 22px; }
  .dir-grid { grid-template-columns: 1fr; }
  .sample-grid { grid-template-columns: 1fr; }
  .mk-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .section { padding-block: 60px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-caps { grid-template-columns: 1fr; }
  .gov-visual__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
  .mk-stats { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   SMM one-pager additions — filters, media, process accordion
   ========================================================= */

/* ---------- Filter bar ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.filter {
  font-family: var(--font-disp); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--slate); border: 1px solid var(--line);
  transition: background .25s var(--ease), color .2s, border-color .25s, transform .25s var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-empty { text-align: center; color: var(--muted); font-size: 16px; padding: 50px 0; }

/* Filtered state */
.project.is-hidden { display: none; }
.project.is-showing { animation: cardIn .45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .project.is-showing { animation: none; } }

/* ---------- Final-piece media frames ---------- */
.media-video { position: relative; border-radius: 14px; overflow: hidden; background: var(--dark-bg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.media-video video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.media-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none;
  font-family: var(--font-disp); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: rgba(15,21,18,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 11px;
}
.audio-card { position: relative; display: flex; align-items: center; gap: 20px; background: linear-gradient(160deg, #16211c, #0f1512); border: 1px solid var(--dark-line); border-radius: 16px; padding: 28px 24px; box-shadow: var(--shadow-md); }
.audio-card__art { flex: none; width: 110px; height: 110px; border-radius: 14px; background: radial-gradient(80% 80% at 30% 20%, rgba(47,214,166,.35), rgba(47,214,166,.06)); display: grid; place-items: center; }
.audio-card__disc { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(from 0deg, #0f1512, #26322c, #0f1512 60%); border: 2px solid rgba(47,214,166,.5); position: relative; }
.audio-card__disc::after { content: ""; position: absolute; inset: 40%; border-radius: 50%; background: var(--accent-3); }
.audio-card__meta { flex: 1; min-width: 0; }
.audio-card__kind { font-family: var(--font-disp); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-3); }
.audio-card__meta h4 { font-family: var(--font-disp); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 14px; }
.audio-card__meta audio { width: 100%; }
.audio-card .media-badge { top: auto; bottom: 12px; left: auto; right: 12px; }

/* ---------- Process accordion + step carousel ---------- */
.project { position: relative; }
.process { grid-column: 1 / -1; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .4s var(--ease); margin-top: 0; }
.project.is-open .process { opacity: 1; margin-top: 6px; }
.process__toggle {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--font-disp); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em;
  color: var(--accent-ink); background: var(--accent-wash); border: 1px solid rgba(11,122,94,.22);
  border-radius: 999px; padding: 10px 20px; cursor: pointer;
  transition: background .25s, transform .25s var(--ease), color .2s;
}
.process__toggle:hover { transform: translateY(-2px); background: #d8ece3; }
.process__icon { font-weight: 700; font-size: 16px; line-height: 1; transition: transform .3s var(--ease); }
.project.is-open .process__icon { transform: rotate(45deg); }
.process__head { font-family: var(--font-disp); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 18px 0 14px; }
.process__wrap { position: relative; display: flex; align-items: center; gap: 10px; }
.process__track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; flex: 1; min-width: 0;
}
.step {
  flex: 0 0 240px; scroll-snap-align: start;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px;
}
.step__n { font-family: var(--font-disp); font-weight: 800; font-size: 13px; color: var(--accent); }
.step h4 { font-family: var(--font-disp); font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 6px; color: var(--ink); }
.step p { font-size: 13.5px; color: var(--slate); margin: 0; line-height: 1.5; }
.proc-arrow {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); font-size: 16px;
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.proc-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.06); }

@media (max-width: 940px) {
  .process__wrap { gap: 6px; }
  .proc-arrow { display: none; }
  .step { flex-basis: 210px; }
  .audio-card { flex-direction: column; align-items: flex-start; }
  .audio-card__meta { width: 100%; }
}

/* Fix: keep media beside body on reverse cards — process always sorts last */
.process { order: 3; }

/* =========================================================
   v2 — alternating project bands, step images, lightbox nav
   ========================================================= */

/* Full-width alternating sections per project */
#work.work { background: var(--surface); }
.proj-band { padding-block: clamp(36px, 5vw, 64px); transition: background .3s; }
.proj-band--alt { background: var(--surface-2); border-block: 1px solid var(--line-soft); }
.proj-band .project { padding-block: 0; }
.proj-band.is-hidden { display: none; }
.proj-band.is-showing { animation: cardIn .45s var(--ease) both; }
/* alt-band surfaces need contrast flips so panels stay visible */
.proj-band--alt .step { background: var(--surface); }
.proj-band--alt .stack li { background: var(--surface); }
.proj-band--alt .filter, .proj-band--alt .proc-arrow { background: var(--surface); }

/* Step images */
.step { display: flex; flex-direction: column; }
.step__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 9px; margin-bottom: 12px; cursor: zoom-in; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step__img:hover { transform: scale(1.03); box-shadow: var(--shadow-sm); }

/* Lightbox prev/next navigation */
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-disp); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75);
  background: rgba(15,21,18,.6); border-radius: 999px; padding: 6px 14px;
}
@media (max-width: 560px) {
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}
