/* =====================================================================
   GJ GRAPHIX — Joseph K. Ahadzi Portfolio
   Brand: #148ece (electric blue)  |  #161515 (ink black)
   ===================================================================== */

/* ---------- Fonts ---------- */
/* Loaded via <link> in HTML (Fontshare: Clash Display + General Sans) */

/* ---------- Theme tokens ---------- */
:root {
  --accent:        #148ece;
  --accent-2:      #0e6fa3;
  --accent-glow:   rgba(20, 142, 206, 0.35);
  --accent-soft:   rgba(20, 142, 206, 0.12);

  /* Dark mode (default) */
  --bg:            #161515;
  --bg-2:          #1c1b1b;
  --surface:       #201f1f;
  --surface-2:     #262424;
  --text:          #f4f3f2;
  --text-muted:    #a39f9c;
  --text-faint:    #6f6b69;
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow:        0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --grid-line:     rgba(255, 255, 255, 0.035);

  --font-display: "Clash Display", "Trebuchet MS", sans-serif;
  --font-body:    "General Sans", system-ui, sans-serif;

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1240px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

:root[data-theme="light"] {
  --bg:            #f6f5f3;
  --bg-2:          #efeeec;
  --surface:       #ffffff;
  --surface-2:     #f7f6f4;
  --text:          #161515;
  --text-muted:    #56524f;
  --text-faint:    #8d8884;
  --border:        rgba(22, 21, 21, 0.10);
  --border-strong: rgba(22, 21, 21, 0.18);
  --shadow:        0 24px 50px -24px rgba(22, 21, 21, 0.22);
  --grid-line:     rgba(22, 21, 21, 0.04);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.4s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* clean ambient wash (no grid) */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, var(--accent-soft), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: 110px 0; position: relative; z-index: 1; }
.section-sm { padding: 70px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; margin: 18px 0 16px; }
.lead { color: var(--text-muted); font-size: 1.08rem; max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  position: relative; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px var(--accent-glow); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease), border-color 0.4s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}
.brand .mark span { transform: translateY(1px); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 500; font-size: 0.95rem; padding: 9px 16px; border-radius: 100px;
  color: var(--text-muted); transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* theme toggle */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--text);
  transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(-20deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun  { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* mobile menu — hidden on desktop, shown only inside the mobile breakpoint */
.nav-menu-mobile { display: none; }

/* hamburger */
.burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border-strong); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 180px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -10%; right: -5%; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(40px); pointer-events: none; z-index: 0; opacity: 0.9;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 6.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--accent); }
.hero .role {
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.hero .role .dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(46,204,113,0.55)} 70%{box-shadow:0 0 0 9px rgba(46,204,113,0)} 100%{box-shadow:0 0 0 0 rgba(46,204,113,0)} }
.hero .lead { margin: 30px 0 38px; font-size: 1.18rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 76px; padding-top: 42px; border-top: 1px solid var(--border); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--text); line-height: 1; }
.stat .num .plus { color: var(--accent); }
.stat .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; white-space: nowrap; animation: scroll 28s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--text-faint); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Work / Portfolio ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--border-strong);
  color: var(--text-muted); font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--text-muted); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.work-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); position: relative; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 13px; border-radius: 100px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(8px); color: var(--text); border: 1px solid var(--border);
}
.work-body { padding: 22px 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-body h3 { font-size: 1.22rem; font-weight: 600; }
.work-body .meta { color: var(--text-faint); font-size: 0.86rem; margin-top: 4px; }
.work-go { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text); transition: all 0.3s var(--ease); }
.work-card:hover .work-go { background: var(--accent); color: #fff; border-color: var(--accent); }
.work-go svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.work-card:hover .work-go svg { transform: translate(2px, -2px); }

/* featured preview (home) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.about-photo .ph {
  aspect-ratio: 3/4; display: grid; place-items: center; text-align: center; padding: 30px;
  background:
    radial-gradient(circle at 50% 30%, var(--accent-soft), transparent 60%),
    var(--surface-2);
}
.about-photo .ph .big { font-family: var(--font-display); font-weight: 700; font-size: 5rem; color: var(--accent); line-height: 1; }
.about-photo .ph small { color: var(--text-faint); display: block; margin-top: 16px; font-size: 0.85rem; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }
.about-text p strong { color: var(--text); font-weight: 600; }

.info-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }
.chip { padding: 9px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text-muted); }
.chip b { color: var(--accent); }

/* timeline */
.timeline { position: relative; margin-top: 20px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-item .yr { font-family: var(--font-body); font-weight: 600; color: var(--accent); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.tl-item h4 { font-size: 1.18rem; margin: 5px 0 3px; font-weight: 600; }
.tl-item .org { color: var(--text-muted); font-size: 0.95rem; }
.tl-item .loc { color: var(--text-faint); font-size: 0.85rem; margin-top: 2px; }

/* skill / tool grid */
.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.kit h4 { font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.kit h4::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.pill-set { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); transition: all 0.25s; }
.pill:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s;
  position: relative; overflow: hidden;
}
.svc-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 55%); opacity: 0; transition: opacity 0.45s; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.svc-card:hover::after { opacity: 1; }
.svc-card .ic { width: 56px; height: 56px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; position: relative; z-index: 1; }
.svc-card .ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.4rem; margin-bottom: 10px; position: relative; z-index: 1; }
.svc-card p { color: var(--text-muted); position: relative; z-index: 1; }
.svc-card .no { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-faint); z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { margin-top: 34px; display: grid; gap: 4px; }
.c-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); transition: padding 0.3s; }
.c-row:hover { padding-left: 8px; }
.c-row .c-ic { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); }
.c-row .c-ic svg { width: 20px; height: 20px; }
.c-row .c-lbl { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.c-row .c-val { font-weight: 600; color: var(--text); }
.socials { display: flex; gap: 12px; margin-top: 30px; }
.socials a { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); transition: all 0.3s var(--ease); }
.socials a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn-primary { width: 100%; justify-content: center; }
.form-note { margin-top: 16px; font-size: 0.88rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: #2ecc71; }
.form-note.err { color: #e74c3c; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 70px 50px; text-align: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 120%, rgba(255,255,255,0.25), transparent 50%); }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); position: relative; }
.cta-band p { margin: 14px auto 30px; max-width: 50ch; opacity: 0.92; position: relative; }
.cta-band .btn { background: #fff; color: var(--accent-2); position: relative; }
.cta-band .btn:hover { transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 34px; background: var(--bg-2); position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer .brand { margin-bottom: 16px; }
.footer-col h5 { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-muted); padding: 6px 0; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--accent); padding-left: 5px; }
.footer p.blurb { color: var(--text-muted); max-width: 38ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; color: var(--text-faint); font-size: 0.88rem; }

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: 165px 0 50px; position: relative; overflow: hidden; }
.page-head .hero-glow { width: 480px; height: 480px; opacity: 0.7; }
.page-head h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 500; margin: 16px 0 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s } .reveal[data-d="2"]{ transition-delay: .16s }
.reveal[data-d="3"]{ transition-delay: .24s } .reveal[data-d="4"]{ transition-delay: .32s }
.reveal[data-d="5"]{ transition-delay: .40s } .reveal[data-d="6"]{ transition-delay: .48s }

/* hero load-in */
.hero-inner > * { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease) forwards; }
.hero-inner > *:nth-child(1){ animation-delay:.05s } .hero-inner > *:nth-child(2){ animation-delay:.15s }
.hero-inner > *:nth-child(3){ animation-delay:.25s } .hero-inner > *:nth-child(4){ animation-delay:.35s }
.hero-inner > *:nth-child(5){ animation-delay:.45s } .hero-inner > *:nth-child(6){ animation-delay:.55s }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *{ animation: none !important; transition: none !important; } .reveal{ opacity:1; transform:none } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 9px 11px; font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  /* nav collapses to hamburger on tablets */
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-menu-mobile {
    position: fixed; inset: 0; z-index: 99; background: var(--bg);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    transform: translateX(100%); transition: transform 0.45s var(--ease); padding: 40px;
  }
  body.menu-open .nav-menu-mobile { transform: none; }
  .nav-menu-mobile a { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--text); padding: 10px; }
  .nav-menu-mobile a.active { color: var(--accent); }
  /* tablet layouts: two columns */
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .feature-grid, .svc-grid, .work-grid, .exp-grid, .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 78px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .svc-grid, .kit-grid, .work-grid, .feature-grid, .exp-grid, .ig-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 50px 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 64px; }
  .form { padding: 24px 20px; }
  .cta-band { padding: 40px 20px; }
  .filters { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 0.84rem; }
  .nav-actions .btn-primary { display: none; } /* declutter on small phones; nav is in the menu */
  .brand { font-size: 1.04rem; }
}

/* =====================================================================
   ADD-ONS: name badge image, photo, hero word-swipe, preloader
   ===================================================================== */

/* ---- Nav/footer brand badge now holds the photo ---- */
.brand .mark { overflow: hidden; padding: 0; background: var(--accent); }
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Real portrait in about blocks ---- */
.about-photo img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 25%; display: block; filter: grayscale(8%) contrast(1.02); }
.about-photo { position: relative; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--accent) 22%, transparent)); mix-blend-mode: multiply; pointer-events: none; }

/* ---- Hero looping word swipe ---- */
.swap {
  display: inline-flex; flex-direction: column; height: 1.12em; overflow: hidden;
  vertical-align: bottom; line-height: 1.12; color: var(--accent);
}
.swap-list {
  display: flex; flex-direction: column;
  animation: wordSwipe 12s infinite cubic-bezier(0.65, 0, 0.18, 1);
}
.swap-list span { height: 1.12em; line-height: 1.12; }
@keyframes wordSwipe {
  0%, 16%   { transform: translateY(0);    }
  20%, 36%  { transform: translateY(-20%); }
  40%, 56%  { transform: translateY(-40%); }
  60%, 76%  { transform: translateY(-60%); }
  80%, 100% { transform: translateY(-80%); }
}

/* ---- Preloader: circular name + counter ---- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-core { position: relative; width: 280px; height: 280px; display: grid; place-items: center; }
.loader-ring { position: absolute; inset: 0; }
.loader-ring span {
  position: absolute; top: 50%; left: 50%;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; color: var(--text);
  transform-origin: 0 0; opacity: 0.14;
  animation: letterReveal 2.6s linear infinite;
}
@keyframes letterReveal {
  0%   { opacity: 0.12; }
  18%  { opacity: 1; color: var(--accent); }
  40%  { opacity: 0.12; }
  100% { opacity: 0.12; }
}
.loader-spin { animation: ringTurn 18s linear infinite; }
@keyframes ringTurn { to { transform: rotate(360deg); } }
.loader-count {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; color: var(--text); letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 2px;
}
.loader-count .pct { font-size: 1.1rem; color: var(--accent); }
.loader-tag {
  position: absolute; bottom: -54px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap;
}
body.loading { overflow: hidden; }
@media (max-width: 480px) {
  .loader-core { width: 230px; height: 230px; }
  .loader-ring span { font-size: 0.98rem; }
  .loader-count { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .swap-list { animation: none; }
  .swap { height: auto; }
}

/* Failsafe: hide preloader after a few seconds even if JS is disabled */
.loader { animation: loaderFailsafe 0s linear 6s forwards; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* =====================================================================
   ANIMATED ICONS + synced-card entrance
   ===================================================================== */

/* Fade/rise for cards rendered from the Behance feed */
.wc-load { animation: wcIn 0.6s var(--ease) both; }
@keyframes wcIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---- Service icons: gentle idle float + lively hover ---- */
.svc-card .ic { transition: transform 0.45s var(--ease), background 0.4s, color 0.4s; }
.svc-card .ic svg { animation: iconFloat 3.6s ease-in-out infinite; }
.svc-grid .svc-card:nth-child(2) .ic svg { animation-delay: 0.4s; }
.svc-grid .svc-card:nth-child(3) .ic svg { animation-delay: 0.8s; }
.svc-grid .svc-card:nth-child(4) .ic svg { animation-delay: 1.2s; }
.svc-grid .svc-card:nth-child(5) .ic svg { animation-delay: 1.6s; }
.svc-grid .svc-card:nth-child(6) .ic svg { animation-delay: 2.0s; }
.svc-card:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* play triangle gets a soft pulse so motion reads as "motion" */
.svc-grid .svc-card:nth-child(2) .ic svg { animation: iconPulse 2.4s ease-in-out infinite; }
@keyframes iconPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ---- Social icons: pop + wiggle on hover ---- */
.socials a svg { transition: transform 0.3s var(--ease); }
.socials a:hover svg { animation: iconWiggle 0.55s ease; }
@keyframes iconWiggle {
  0% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-12deg) scale(1.18); }
  55% { transform: rotate(9deg) scale(1.12); }
  80% { transform: rotate(-4deg) scale(1.05); }
  100% { transform: rotate(0) scale(1); }
}

/* ---- Contact rows: icon tile lights up + wiggles ---- */
.c-row .c-ic { transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease); }
.c-row:hover .c-ic { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.06); }
.c-row:hover .c-ic svg { animation: iconWiggle 0.55s ease; }

/* ---- Work card arrow: spin slightly on hover (adds to existing translate) ---- */
.work-card:hover .work-go svg { animation: arrowNudge 0.5s var(--ease); }
@keyframes arrowNudge { 0% { transform: rotate(0) translate(0,0); } 50% { transform: rotate(12deg) translate(3px,-3px); } 100% { transform: translate(2px,-2px); } }

/* ---- Marquee sparkles spin ---- */
.marquee-track span::after { display: inline-block; animation: starSpin 7s linear infinite; }
@keyframes starSpin { to { transform: rotate(360deg); } }

/* ---- Footer link arrows / CTA arrow already animate via .btn .arr ---- */
.btn .arr { display: inline-block; }

/* =====================================================================
   ADD-ONS v2: experience grid, Instagram embeds, courses, resources
   ===================================================================== */

/* ---- Experience grid (About) ---- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exp-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 24px 22px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.exp-card::before { content:""; position:absolute; left:0; top:22px; bottom:22px; width:3px; background:var(--accent); border-radius:0 3px 3px 0; opacity:0; transition:opacity .35s; }
.exp-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.exp-card:hover::before { opacity: 1; }
.exp-card .yr { font-weight: 600; color: var(--accent); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.exp-card h4 { font-size: 1.12rem; font-weight: 600; margin: 8px 0 4px; }
.exp-card .org { color: var(--text-muted); font-size: .94rem; }
.exp-card .loc { color: var(--text-faint); font-size: .84rem; margin-top: 3px; }

/* ---- Instagram embeds ---- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ig-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.ig-card iframe { width: 100%; height: 600px; border: 0; display: block; background: #fff; }

/* ---- Missing-cover placeholder for synced cards ---- */
.work-thumb.no-img { display: grid; place-items: center; }
.thumb-ph { font-family: var(--font-display); font-weight: 600; font-size: 3rem; color: var(--accent); }

/* ---- Courses ---- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .4s, box-shadow .45s;
}
.course-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.course-cover { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.course-cover .lvl { position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 100px; font-size: .72rem;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: rgba(0,0,0,.28); backdrop-filter: blur(6px); }
.course-cover svg { width: 52px; height: 52px; opacity: .92; }
.course-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-body h3 { font-size: 1.3rem; font-weight: 600; }
.course-body p { color: var(--text-muted); flex: 1; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-faint); font-size: .85rem; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.course-price { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }

/* ---- Resources ---- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.res-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.res-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; }
.res-ic svg { width: 24px; height: 24px; }
.res-card h3 { font-size: 1.18rem; font-weight: 600; }
.res-card p { color: var(--text-muted); flex: 1; font-size: .96rem; }
.res-card .res-link { color: var(--accent); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.res-tag { align-self: flex-start; padding: 5px 12px; border-radius: 100px; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }

@media (max-width: 1024px) { .course-grid { grid-template-columns: repeat(2,1fr); } .res-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 860px)  { .course-grid, .res-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   ADD-ONS v3: client reviews / testimonials
   ===================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.quote-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 32px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 26px;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--accent); opacity: .14;
}
.quote-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.quote-stars { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.quote-stars .s { color: #f6b01e; letter-spacing: 2px; font-size: 1.05rem; }
.quote-stars .score { color: var(--text-muted); font-weight: 600; font-size: .9rem; }
.quote-text { color: var(--text); line-height: 1.7; font-size: 1.02rem; }
.quote-text strong { display: block; font-weight: 600; margin-bottom: 8px; }
.quote-text p { margin-top: 12px; color: var(--text-muted); }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.quote-by .avatar {
  width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.quote-by strong { display: block; font-weight: 600; }
.quote-by span { color: var(--text-faint); font-size: .86rem; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
