/* ══════════════════════════════════════
   LUMINO v2 — Editorial Designer Portfolio
   Palette : Electric Indigo #4340CA + Coral #F05A28
   Fonts   : Syne (display) + DM Sans (body)
   ══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

:root {
  --bg:       #F8F7F4;
  --bg-alt:   #EFEDE8;
  --card:     #FFFFFF;
  --ink:      #0A0A12;
  --ink-2:    #444455;
  --ink-3:    #9494A8;
  --indigo:   #4340CA;
  --indigo-l: #6C6AE8;
  --coral:    #F05A28;
  --border:   #E2E0D8;
  --font-d:   'Syne', sans-serif;
  --font-b:   'DM Sans', sans-serif;
  --nav-h:    64px;
  --wrap:     1200px;
  --r:        10px;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.ao { opacity: 1; }


/* ── Topbar ─────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: var(--background, rgba(248,247,244,0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.topbar-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-logo {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.logo-sq {
  width: 28px; height: 28px;
  background: var(--indigo);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-sq svg { width: 14px; height: 14px; fill: #fff; }
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.topbar-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 13px;
  border-radius: var(--radius, 50px);
  transition: color 0.2s, background 0.2s;
}
.topbar-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  margin-left: 8px;
  border-radius: 50px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--indigo) !important; transform: translateY(-1px) !important; }

.topbar-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.topbar-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

@media (max-width: 820px) {
  .topbar-toggle { display: flex; }
  .topbar-nav {
    position: fixed; inset: var(--nav-h) 0 0 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 1.5rem; gap: 4px;
    transform: translateX(100%); transition: transform 0.3s;
    border-top: 1px solid var(--border); overflow-y: auto;
  }
  .topbar-nav.open { transform: translateX(0); }
  .topbar-nav a { padding: 13px 16px; font-size: 16px; border-radius: var(--radius, 10px); }
  .nav-cta { text-align: center; margin: 6px 0 0 !important; border-radius: 10px !important; }
}


/* ── Buttons ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius, 50px);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-indigo {
  background: var(--indigo); color: #fff;
  box-shadow: 0 4px 20px rgba(67,64,202,0.28);
}
.btn-indigo:hover { background: #332FC0; box-shadow: 0 6px 28px rgba(67,64,202,0.42); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════
   HERO — Full-viewport editorial split
   ══════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 420px 1fr;
  position: relative;
  overflow:clip;
}

/* LEFT: photo column */
.hero-photo-col {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.hero-photo-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  display: block;
}
/* Indigo tint overlay */
.hero-photo-col::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(67,64,202,0.18) 0%,
    rgba(10,10,18,0.55) 100%
  );
}
/* Available badge */
.hero-avail {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  padding: 9px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}
/* Vertical text on photo left edge */
.hero-photo-tag {
  position: absolute;
  top: 50%; left: 18px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); z-index: 4;
  white-space: nowrap;
}

/* RIGHT: content column */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem,6vw,6rem) clamp(2.5rem,5vw,5rem);
  background: var(--bg);
  position: relative;
}
/* Decorative big number behind name */
.hero-content::before {
  content: '01';
  position: absolute;
  top: clamp(2rem,4vw,4rem);
  right: clamp(2rem,4vw,4rem);
  font-family: var(--font-d);
  font-size: 140px;
  font-weight: 800;
  color: rgba(67,64,202,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.hero-tag-line {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo);
}
.hero-tag-line::before {
  content: '';
  display: inline-block; width: 28px; height: 2px;
  background: var(--indigo); margin-right: 8px;
  vertical-align: middle;
}

.hero-name {
  font-family: var(--font-d);
  font-size: clamp(50px,7vw,84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero-name .name-line2 {
  color: var(--indigo);
  display: block;
}

/* Role with coral underline */
.hero-role {
  font-size: clamp(15px,1.8vw,18px);
  font-weight: 400;
  color: var(--ink-2);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.hero-chips {
  font-size: 13px; color: var(--ink-3);
  font-weight: 500; letter-spacing: 0.01em;
  margin-bottom: 24px;
}

/* Divider line */
.hero-divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--coral));
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-bio {
  font-size: 15px; color: var(--ink-2); line-height: 1.78;
  max-width: 460px; margin-bottom: 30px;
}

/* Contact pills row */
.hero-contact {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 34px;
}
.hc-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
}
.hc-pill:hover { border-color: var(--indigo); color: var(--indigo); }
.hc-pill svg { color: var(--indigo); flex-shrink: 0; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats bar */
.hero-stats {
  position: absolute; bottom: 0; right: 0;
  display: flex;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.hs-item {
  padding: 18px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.hs-num {
  font-family: var(--font-d); font-size: 28px; font-weight: 800;
  color: var(--ink); line-height: 1; display: block;
}
.hs-num span { color: var(--coral); }
.hs-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 3px; display: block;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo-col { height: 420px; }
  .hero-content { padding: 2.5rem 1.5rem 7rem; }
  .hero-stats { position: static; border: none; border-top: 1px solid var(--border); width: 100%; }
  .hs-item:last-child { border-right: none; }
  .hero-content::before { display: none; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; }
  .hs-item { flex: 1 1 calc(50% - 1px); }
}


/* ══════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════ */
.marquee-strip {
  overflow: hidden;
  background: var(--indigo);
  padding: 13px 0;
  white-space: nowrap;
  user-select: none;
}
.marquee-track {
  display: inline-flex;
  animation: mq 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-b);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0 18px;
}
.marquee-track .mq-sep { color: var(--coral); padding: 0 4px; opacity: 1; }
@keyframes mq {
  from { transform: translateX(0); }
  to{transform: translateX(-50%)}
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }


/* ══════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════ */
.seg { padding: 88px 0; }
.seg-alt { background: var(--bg-alt); }

.seg-head { margin-bottom: 52px; }
.seg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 10px;
}
.seg-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--indigo);
  flex-shrink: 0;
}
.seg-title {
  font-family: var(--font-d);
  font-size: clamp(28px,4vw,44px);
  font-weight: 800; line-height: 1.1;
  color: var(--ink); letter-spacing: -0.025em;
}
.seg-title span { color: var(--indigo); }


/* ══════════════════════════════════════
   SKILLS — Horizontal list rows
   ══════════════════════════════════════ */
.skill-rows { display: flex; flex-direction: column; gap: 0; }
.skill-row {
  display: grid;
  grid-template-columns: 120px 1fr 52px;
  align-items: center;
  gap: 1.5rem;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.skill-row:first-child { border-top: 1px solid var(--border); }
.sk-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo);
}
.sk-name-bar { display: flex; flex-direction: column; gap: 6px; }
.sk-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.sk-bar  { height: 3px; background: var(--border); border-radius: 3px; overflow:clip; }
.sk-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-l));
  border-radius: 3px;
  transform-origin: left;
  font-size: 0; color: transparent;
}
.sk-pct {
  font-family: var(--font-d);
  font-size: 15px; font-weight: 800;
  color: var(--ink-3); text-align: right;
}


/* ══════════════════════════════════════
   EXPERIENCE — Timeline
   ══════════════════════════════════════ */
.xp-timeline { position: relative; }
.xp-timeline::before {
  content: '';
  position: absolute; left: 88px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.xp-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0 2.5rem;
  padding: 0 0 40px;
  position: relative;
}
.xp-item:last-child { padding-bottom: 0; }
/* Timeline dot */
.xp-item::after {
  content: '';
  position: absolute; left: 88px;
  top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--indigo);
  transform: translateX(-5px);
  z-index: 1;
  transition: background 0.2s;
}
.xp-item:hover::after { background: var(--indigo); }
.xp-period {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--ink-3);
  line-height: 1.4; padding-top: 3px; text-align: right;
}
.xp-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.xp-item:hover .xp-body {
  border-color: var(--indigo);
  box-shadow: 0 4px 20px rgba(67,64,202,0.07);
}
.xp-role {
  font-family: var(--font-d);
  font-size: 17px; font-weight: 700;
  color: var(--ink); margin-bottom: 3px;
}
.xp-co {
  font-size: 13px; font-weight: 600;
  color: var(--coral); margin-bottom: 10px;
}
.xp-desc { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

@media (max-width: 600px) {
  .xp-timeline::before { display: none; }
  .xp-item { grid-template-columns: 1fr; gap: 8px; }
  .xp-item::after { display: none; }
  .xp-period { text-align: left; }
}


/* ══════════════════════════════════════
   EDUCATION
   ══════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.edu-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.edu-card:hover { border-color: var(--indigo); transform: translateY(-3px); }
.edu-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-l));
  border-radius: 2px 0 0 2px;
}
.edu-yr {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 10px;
}
.edu-deg {
  font-family: var(--font-d); font-size: 16px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}
.edu-inst {
  font-size: 13px; font-weight: 600;
  color: var(--indigo); margin-bottom: 10px;
}
.edu-note { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }


/* ══════════════════════════════════════
   DESIGN TOOLS — Icon cards
   ══════════════════════════════════════ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.tool-card:hover {
  border-color: var(--indigo); transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(67,64,202,0.09);
}
.tc-header { display: flex; align-items: center; gap: 12px; }
.tc-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(67,64,202,0.08);
  border: 1px solid rgba(67,64,202,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 13px; font-weight: 800;
  color: var(--indigo); flex-shrink: 0;
}
.tc-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.tc-cat  { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.tc-bar  { height: 3px; background: var(--border); border-radius: 3px; overflow:clip; }
.tc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-l));
  border-radius: 3px;
  transform-origin: left;
  font-size: 0; color: transparent;
}


/* ══════════════════════════════════════
   PORTFOLIO — Horizontal snap scroll
   ══════════════════════════════════════ */
.folio-outer {
  margin-inline: calc(-1 * (100vw - min(var(--wrap), 100% - 2.5rem)) / 2 - 1.25rem);
  padding-inline: calc((100vw - min(var(--wrap), 100% - 2.5rem)) / 2 + 1.25rem);
}
.folio-scroll {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.folio-scroll::-webkit-scrollbar { display: none; }

.folio-tile {
  flex: 0 0 clamp(260px, 33vw, 340px);
  scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.folio-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(67,64,202,0.12);
  border-color: var(--indigo);
}
.ft-img {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; background: var(--bg-alt);
}
.ft-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.folio-tile:hover .ft-img img { transform: scale(1.06); }
.ft-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,18,0.72) 0%, transparent 55%);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 16px; opacity: 0; transition: opacity 0.3s;
}
.folio-tile:hover .ft-overlay { opacity: 1; }
.ft-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--indigo);
  padding: 4px 10px; border-radius: 50px;
}
.ft-link {
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(4px);
  padding: 5px 13px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.2s;
}
.ft-link:hover { background: rgba(255,255,255,0.3); }
.ft-body { padding: 18px 20px 22px; flex: 1; }
.ft-name { font-family: var(--font-d); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ft-desc { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.folio-hint {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3); font-weight: 500;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .folio-outer { margin-inline: 0; padding-inline: 0; }
  .folio-scroll { flex-direction: column; overflow-x: visible; }
  .folio-tile { flex: none; width: 100%; }
  .folio-hint { display: none; }
}


/* ══════════════════════════════════════
   CASE STUDIES
   ══════════════════════════════════════ */
.case-list { display: flex; flex-direction: column; gap: 1.25rem; }
.case-card {
  display: grid; grid-template-columns: 0.4fr 0.6fr;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 8px 32px rgba(67,64,202,0.08);
}
.cc-img { background: var(--bg-alt); overflow: hidden; min-height: 230px; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .cc-img img { transform: scale(1.04); }
.cc-body {
  padding: clamp(1.5rem,3vw,2.5rem);
  display: flex; flex-direction: column; gap: 12px;
}
.cc-num {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.cc-name {
  font-family: var(--font-d);
  font-size: clamp(16px,2vw,22px); font-weight: 800;
  color: var(--ink); line-height: 1.2;
}
.cc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.cc-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--indigo); background: rgba(67,64,202,0.08);
  padding: 4px 11px; border-radius: 50px;
}
.cc-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.cc-impact {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--ink-2);
}
.cc-impact strong { color: var(--coral); font-weight: 700; margin-right: 5px; }
.cc-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600;
  color: var(--indigo); margin-top: 4px;
  transition: gap 0.2s;
}
.cc-more:hover { gap: 10px; }

@media (max-width: 680px) {
  .case-card { grid-template-columns: 1fr; }
  .cc-img { min-height: 220px; }
}


/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}
.svc-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
  border-color: var(--indigo);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(67,64,202,0.1);
}
.svc-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--coral));
  opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover::after { opacity: 1; }
.svc-num {
  font-family: var(--font-d);
  font-size: 44px; font-weight: 800;
  color: var(--border); line-height: 1;
  transition: color 0.3s;
}
.svc-card:hover .svc-num { color: rgba(67,64,202,0.12); }
.svc-ic { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.svc-ic img { width: 100%; height: 100%; object-fit: cover; }
.svc-name { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--ink); }
.svc-sub  { font-size: 12.5px; font-weight: 600; color: var(--indigo); }
.svc-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.svc-price {
  display: inline-flex; align-items: center;
  font-size: 13.5px; font-weight: 700; color: var(--coral);
  background: rgba(240,90,40,0.08); padding: 5px 14px;
  border-radius: 50px; align-self: flex-start;
}


/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.rev-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.rev-card:hover { border-color: var(--indigo); transform: translateY(-3px); }
.rv-bg-quote {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-d); font-size: 80px; font-weight: 800;
  color: var(--indigo); opacity: 0.07; line-height: 1; pointer-events: none;
}
.rv-stars { font-size: 13px; color: #F59E0B; letter-spacing: 3px; }
.rv-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; font-style: italic; flex: 1; }
.rv-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.rv-avi {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border); flex-shrink: 0;
}
.rv-name { font-size: 14px; font-weight: 700; color: var(--ink); display: block; font-style: normal; }
.rv-role { font-size: 11.5px; color: var(--ink-3); }


/* ══════════════════════════════════════
   SOCIAL
   ══════════════════════════════════════ */
.social-seg {
  padding: 40px 0;
  background: var(--ink);
}
.social-row {
  display: flex; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.social-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.social-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.social-pill:hover {
  border-color: var(--indigo-l);
  background: var(--indigo);
  color: #fff;
}


/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem,4vw,4rem); align-items: start;
}
.cg-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.cg-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--indigo);
}
.cg-heading {
  font-family: var(--font-d);
  font-size: clamp(28px,3.5vw,44px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 12px;
}
.cg-heading span { color: var(--indigo); }
.cg-sub {
  font-size: 14.5px; color: var(--ink-2);
  line-height: 1.72; margin-bottom: 36px; max-width: 360px;
}
.cg-items { display: flex; flex-direction: column; gap: 18px; }
.cg-item { display: flex; align-items: center; gap: 14px; }
.cg-icon {
  width: 40px; height: 40px;
  background: rgba(67,64,202,0.08);
  border: 1px solid rgba(67,64,202,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo); flex-shrink: 0;
}
.cg-k {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-3); display: block; margin-bottom: 2px;
}
.cg-v { font-size: 14px; color: var(--ink); font-weight: 500; }

.contact-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: clamp(1.5rem,3vw,2.5rem);
  display: flex; flex-direction: column; gap: 16px;
}
.cf { display: flex; flex-direction: column; gap: 6px; }
.cf label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-3);
}
.cf input, .cf textarea {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 9px; padding: 12px 14px;
  font-family: var(--font-b); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.cf input::placeholder, .cf textarea::placeholder { color: var(--ink-3); }
.cf input:focus, .cf textarea:focus { border-color: var(--indigo); background: #fff; }
.cf textarea { resize: vertical; }

@media (max-width: 720px) {
  .contact-wrap { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--wb-dark-surface, var(--ink));
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 13px; color: var(--wb-on-dark, rgba(255,255,255,0.4)); transition: color 0.2s; }
.footer-links a:hover { color: var(--wb-on-dark, #fff); }

/* Hide wire:loading elements before Livewire mounts (mirrors Livewire's runtime CSS) */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }


/* ══════════════════════════════════════
   ANIMATIONS — scroll-driven reveal, progressive enhancement only
   The resting state is FULLY VISIBLE and lives outside every guard, so a browser
   with no scroll timeline — or a blocked script, or a stylesheet that arrives
   late — can never strand the name, bio, CTAs or any section behind them. The
   hidden from-state lives ONLY inside the @keyframes, never in the rule:
   `@supports` proves the FEATURE exists, it does not prove the ViewTimeline is
   ACTIVE. Inside a same-origin iframe (every owner-facing preview surface) the
   timeline resolves to null, the animation effect is not applied, and a
   rule-level `opacity: 0` / `visibility: hidden` would stay in force with
   nothing left to reveal it. Keyframed, the base visible declaration simply
   wins — `visibility` animates discretely, which is exactly what this needs.
   Only opacity, visibility and transform animate: nothing reflows.
   ══════════════════════════════════════ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ao { animation: ao-in linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }

    /* Group stagger is an animation-RANGE shift, never a delay: a wall-clock
       delay on a scroll timeline finishes long before the visitor arrives.
       Both ends stay inside `entry`, so every reveal completes once the element
       has entered — an end anchored to `cover` would leave the LAST section of
       the page permanently part-transparent, because the visitor runs out of
       page to scroll before the range finishes. */
    :is(.skill-rows, .xp-timeline, .edu-grid, .tool-grid, .folio-scroll, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(2) { animation-range: entry 8% entry 46%; }
    :is(.skill-rows, .xp-timeline, .edu-grid, .tool-grid, .folio-scroll, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(3) { animation-range: entry 16% entry 54%; }
    :is(.skill-rows, .xp-timeline, .edu-grid, .tool-grid, .folio-scroll, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(4) { animation-range: entry 24% entry 62%; }
    :is(.skill-rows, .xp-timeline, .edu-grid, .tool-grid, .folio-scroll, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(5) { animation-range: entry 32% entry 70%; }
    :is(.skill-rows, .xp-timeline, .edu-grid, .tool-grid, .folio-scroll, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(n+6) { animation-range: entry 40% entry 78%; }

    /* The bar grows along its own axis. The author's inline width stays the
       resting width, so the track never reflows while it fills. */
    .sk-fill, .tc-fill { animation: bar-fill-in linear both; animation-timeline: view(); animation-range: entry 20% entry 90%; }

    /* The `to` keyframe deliberately omits `transform`, so the end state is the
       element's OWN underlying transform rather than a hard `none`. A filling
       scroll-driven animation outranks both author rules and inline styles, so a
       `to{}` permanently overrides every `:hover` lift and every
       JS-written transform on the same element for the rest of the page's life.
       Measured in Chrome 152: with `transform:none` a hovered card reports the
       identity matrix; with the implicit `to` it reports its real hover translate
       and its JS tilt matrix, while the reveal still runs on a ViewTimeline. */
    @keyframes ao-in { from { opacity: 0; visibility: hidden; transform: translateY(22px); } to{opacity: 1; visibility: visible} }
    @keyframes bar-fill-in { from { transform: scaleX(0); } to{transform: scaleX(1)} }
  }
}

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --ink-3: #5d5c6f; /* was #9494A8 */
  --border: #93918a; /* was #E2E0D8 */
}
.footer-links a { color: oklch(from var(--wb-on-dark, rgba(255,255,255,0.4)) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.footer-copy { color: oklch(from rgba(255, 255, 255, 0.4) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.social-label { color: oklch(from rgba(255, 255, 255, 0.4) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
.cc-impact strong { color: oklch(from var(--coral) min(l, 0.559) c h / alpha); }
.svc-price { color: oklch(from var(--coral) min(l, 0.559) c h / alpha); }
.xp-co { color: oklch(from var(--coral) min(l, 0.559) c h / alpha); }
