/* ── Skip link (a11y) ── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 8px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--violet);
  color: #fff;
  font-size: .85rem;
  border-radius: var(--r);
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:          #030305;
  --surface:     #0c0c10;
  --surface-2:   #14141c;
  --ink:         #f2f2f8;
  --muted:       rgba(242,242,248,.52);
  --border:      rgba(255,255,255,.07);
  --border-h:    rgba(139,92,246,.35);
  --violet:      #8B5CF6;
  --cyan:        #22D3EE;
  --violet-soft: rgba(139,92,246,.1);
  --cyan-soft:   rgba(34,211,238,.08);
  --grad:        linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
  --shadow-v:    0 8px 32px rgba(139,92,246,.22);
  --font:        'Space Grotesk', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 18px;
}
html { scroll-behavior: smooth; }
body  { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; }
ul    { list-style: none; }

/* ── Gradient text ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Typography ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--grad);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ink);
}
.section-lead {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 520px;
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-tag { display: flex; justify-content: center; }
.section-head .section-tag::before { display: none; }
.section-head .section-lead { margin: 16px auto 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .02em;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(139,92,246,.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-v);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: rgba(139,92,246,.45);
  background: var(--violet-soft);
}
.btn-full { width: 100%; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(3,3,5,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { display: flex; align-items: center; flex-shrink: 0; }
.brand-name {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a {
  font-family: var(--font);
  font-size: .86rem;
  font-weight: 400;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--grad) !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--r) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 14px rgba(139,92,246,.3);
}
.nav-cta:hover {
  box-shadow: 0 4px 24px rgba(139,92,246,.5) !important;
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: all .3s; }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(3,3,5,.98);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-family: var(--font);
  font-size: .95rem;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-cta { color: var(--violet) !important; border-bottom: none; margin-top: 8px; font-weight: 600; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 24px 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 55% at 12% 58%, rgba(139,92,246,.18) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 82% 22%, rgba(34,211,238,.10) 0%, transparent 65%),
    radial-gradient(ellipse 70% 35% at 55% 85%, rgba(139,92,246,.07) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--muted);
  line-height: 1.72;
  max-width: 580px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badge {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  letter-spacing: .05em;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent 0%, var(--violet) 50%, transparent 100%);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .25; }
  50%       { opacity: .85; }
}

/* ── Services / Bento ── */
.section-services { background: var(--surface); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bento-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.bento-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
}
.bento-tall  { grid-row: span 2; }
.bento-wide  { grid-column: span 2; }
.bento-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--a, var(--violet));
}
.bento-num {
  font-family: var(--font);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: 22px;
  opacity: .7;
}
.bento-card h3 {
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.bento-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.72;
  margin-bottom: 22px;
}
.bento-list { display: flex; flex-direction: column; gap: 9px; }
.bento-list li {
  font-size: .84rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.bento-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet);
}
.bento-list-row { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; }

/* ── Process ── */
.section-process { background: var(--bg); }
.process-track {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.process-line {
  position: absolute;
  top: 22px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 1px;
  background: linear-gradient(to right, var(--violet), var(--cyan));
  opacity: .25;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-circle span {
  font-family: var(--font);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.process-step h3 {
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.process-step p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Work ── */
.section-work { background: var(--surface); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s;
}
.work-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}
.work-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(139,92,246,.08) 0%, rgba(34,211,238,.04) 100%);
  border-color: rgba(139,92,246,.22);
}
.work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.work-label {
  font-family: var(--font);
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-status {
  font-family: var(--font);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,.3);
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
}
.work-card h3 {
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.work-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 18px;
}
.work-card .work-label { margin-bottom: 10px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags span {
  font-family: var(--font);
  font-size: .67rem;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--violet-soft);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 100px;
  color: var(--violet);
  letter-spacing: .04em;
}
/* ── Clickable work card ── */
.work-linked { position: relative; cursor: pointer; }
.work-card-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--r-xl);
}
.work-linked .work-header,
.work-linked h3,
.work-linked p,
.work-linked .work-tags,
.work-linked .work-screenshots { position: relative; z-index: 1; }

/* ── Work screenshots strip ── */
.work-screenshots {
  margin-top: 20px;
  overflow: hidden;
}
.ws-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,92,246,.4) transparent;
}
.ws-strip::-webkit-scrollbar { height: 4px; }
.ws-strip::-webkit-scrollbar-track { background: transparent; }
.ws-strip::-webkit-scrollbar-thumb { background: rgba(139,92,246,.4); border-radius: 4px; }
.ws-thumb {
  flex: 0 0 auto;
  width: 200px;
  height: 130px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r);
  border: 1px solid var(--border);
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: border-color .2s, transform .2s, opacity .2s;
  opacity: .85;
}
.ws-thumb:hover {
  border-color: rgba(139,92,246,.5);
  transform: scale(1.02);
  opacity: 1;
}

/* ── Portrait screenshot strip (mobile app screenshots) ── */
.ws-strip--portrait .ws-thumb {
  width: 78px;
  height: 168px;
  object-position: top center;
}
.ws-strip--portrait .ws-thumb:first-child {
  width: 220px;
  height: 168px;
  object-position: top center;
}

/* ── Gallery edit mode ── */
.work-screenshots { position: relative; }
.ws-edit-toggle {
  position: absolute;
  top: -24px;
  right: 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: .8rem;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0;
  transition: opacity .2s, color .2s;
  z-index: 2;
}
.work-card:hover .ws-edit-toggle { opacity: 1; }
.ws-edit-toggle:hover { color: var(--ink); }
.ws-edit-toggle.active { color: #8B5CF6; opacity: 1; }

.ws-thumb-wrap {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.ws-delete-btn {
  display: none;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239,68,68,.85);
  border: none;
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .15s, transform .15s;
}
.ws-delete-btn:hover { background: rgb(239,68,68); transform: scale(1.1); }
.ws-strip.editing .ws-delete-btn { display: flex; }
.ws-strip.editing .ws-thumb { cursor: default; opacity: .7; }
.ws-strip.editing .ws-thumb:hover { transform: none; }

/* ── Lightbox ── */
.ws-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(3,3,5,.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.ws-lightbox.open { display: flex; }
.ws-lb-img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: var(--r-lg);
  border: 1px solid rgba(139,92,246,.3);
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  object-fit: contain;
}
.ws-lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.ws-lb-close:hover { background: rgba(255,255,255,.15); }
.ws-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.ws-lb-nav:hover { background: rgba(139,92,246,.3); }
.ws-lb-prev { left: 20px; }
.ws-lb-next { right: 20px; }
.ws-lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font);
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .08em;
}

.work-cta-card {
  background: linear-gradient(135deg, var(--violet-soft), var(--cyan-soft));
  border-color: rgba(139,92,246,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-cta-inner { text-align: center; padding: 12px; }
.work-cta-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.work-cta-inner h3 {
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.work-cta-inner p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ── Why ── */
.section-why {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-top { margin-bottom: 56px; }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
}
.why-stat b {
  display: block;
  font-family: var(--font);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.why-stat span { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.why-points { display: flex; flex-direction: column; gap: 30px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  margin-top: 7px;
}
.why-point strong {
  display: block;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}
.why-point p { color: var(--muted); font-size: .88rem; line-height: 1.68; }

/* ── About ── */
.section-about { background: var(--surface); }
.about-layout { display: grid; grid-template-columns: 270px 1fr; gap: 68px; align-items: start; }
.about-portrait-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.about-portrait {
  width: 210px; height: 210px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(34,211,238,.1));
  border: 1px solid rgba(139,92,246,.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-portrait.about-portrait-photo {
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(139,92,246,.4);
  box-shadow:
    0 0 0 4px rgba(139,92,246,.1),
    0 20px 50px rgba(0,0,0,.45);
}
.about-portrait.about-portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.about-portrait span {
  font-family: var(--font);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-portrait-label {
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.about-lead { font-size: 1.08rem; color: var(--ink); line-height: 1.65; margin: 16px 0 18px; }
.about-content p { color: var(--muted); font-size: .94rem; line-height: 1.78; margin-bottom: 14px; }
.about-creds {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.cred { display: flex; gap: 12px; align-items: center; font-size: .88rem; color: var(--muted); }

/* ── Contact ── */
.section-contact { background: var(--bg); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-lead { color: var(--muted); font-size: .96rem; line-height: 1.72; margin: 14px 0 28px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .92rem;
  color: var(--muted);
  transition: color .2s;
}
.contact-item:hover { color: var(--ink); }
.contact-icon-wrap {
  width: 34px; height: 34px;
  background: var(--violet-soft);
  border: 1px solid rgba(139,92,246,.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-group { display: flex; flex-direction: column; gap: 7px; }
.cf-group label {
  font-family: var(--font);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--violet);
}
.cf-group input,
.cf-group select,
.cf-group textarea {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  font: inherit;
  font-size: .94rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}
.cf-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: rgba(242,242,248,.22); }
.cf-fine { font-size: .78rem; color: var(--muted); text-align: center; }
.contact-success { text-align: center; padding: 52px 24px; }
.cs-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-success h3 {
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.contact-success p { color: var(--muted); font-size: .94rem; }

/* ── Footer ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a {
  font-family: var(--font);
  font-size: .82rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: .76rem; color: rgba(242,242,248,.55); width: 100%; margin-top: 6px; }

/* ── Responsive ── */

/* Tablet — 1000px */
@media (max-width: 1000px) {
  .bento-grid  { grid-template-columns: 1fr 1fr; }
  .bento-tall  { grid-row: span 1; }
  .bento-wide  { grid-column: span 2; }
  .work-grid   { grid-template-columns: 1fr 1fr; }
  .work-featured { grid-column: span 2; }
  .why-layout  { grid-template-columns: 1fr; gap: 40px; }
  .why-stats   { grid-template-columns: repeat(4,1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait-wrap { flex-direction: row; align-items: center; gap: 24px; }
  .about-portrait { width: 140px; height: 140px; flex-shrink: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .process-track { flex-direction: column; align-items: stretch; gap: 20px; }
  .process-line  { display: none; }
  .process-step  {
    text-align: left;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 18px;
    align-items: start;
  }
  .step-circle { margin: 0; }
  .process-step h3 { margin-top: 10px; }
  .process-step p  { grid-column: 2; margin-top: 6px; }
}

/* Large mobile — 700px */
@media (max-width: 700px) {
  .container  { padding: 0 18px; }
  .section    { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }

  /* Hero */
  .hero { padding: 100px 18px 80px; min-height: auto; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 2.8rem); letter-spacing: -.02em; }
  .hero-lead  { font-size: .98rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 15px 24px; }
  .hero-badges { gap: 8px; }
  .hero-badge  { font-size: .68rem; padding: 5px 12px; }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-card { padding: 26px 20px; }

  /* Work */
  .work-grid     { grid-template-columns: 1fr; }
  .work-featured { grid-column: span 1; }
  .work-card     { padding: 22px 18px; }

  /* Why */
  .why-stats  { grid-template-columns: 1fr 1fr; }
  .why-stat   { padding: 18px 16px; }
  .why-stat b { font-size: 1.7rem; }

  /* About */
  .about-portrait-wrap { flex-direction: column; align-items: flex-start; }
  .about-portrait { width: 180px; height: 180px; }
  .about-lead { font-size: 1rem; }

  /* Contact */
  .cf-row { grid-template-columns: 1fr; }
  .cf-group input,
  .cf-group select,
  .cf-group textarea { font-size: 16px; padding: 14px; } /* prevent iOS zoom */

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-left: 0; gap: 16px; flex-wrap: wrap; }
}

/* DermAesthetics showcase — stack below 700px */
@media (max-width: 700px) {
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .container  { padding: 0 14px; }
  .section    { padding: 48px 0; }
  .nav-inner  { padding: 12px 14px; }
  .brand-name { font-size: .75rem; }

  .hero { padding: 88px 14px 64px; }
  .hero-eyebrow { font-size: .64rem; letter-spacing: .18em; margin-bottom: 18px; }
  .hero-title { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .hero-badges { display: none; } /* clean up tight screens */

  .section-title { font-size: clamp(1.65rem, 8vw, 2.2rem); }

  .why-stats  { grid-template-columns: 1fr 1fr; }
  .why-layout { gap: 32px; }

  .about-portrait { width: 150px; height: 150px; }

  .bento-card { padding: 22px 16px; }
  .work-card  { padding: 18px 14px; }

  .footer { padding: 24px 0; }
  .footer-copy { font-size: .7rem; }
}

/* ── Lightbox — iPad / tablet (601–1000px) ── */
@media (max-width: 1000px) and (min-width: 601px) {
  .ws-lb-nav {
    width: 52px;
    height: 52px;
    font-size: 2rem;
  }
  .ws-lb-close {
    width: 44px;
    height: 44px;
    top: 16px;
    right: 20px;
  }
  .ws-lb-img {
    max-width: min(86vw, 900px);
    max-height: 82vh;
  }
}

/* ── Lightbox — mobile (≤600px): controls move below image ── */
@media (max-width: 600px) {
  /* Switch to grid so prev/counter/next sit in a row below the image */
  .ws-lightbox {
    display: none;
    grid-template-rows: 1fr auto;
    grid-template-columns: 60px 1fr 60px;
    grid-template-areas:
      "img     img     img"
      "prev    counter next";
    align-content: center;
    row-gap: 20px;
    padding-top: 60px;  /* space for close btn */
    padding-bottom: 28px;
  }
  .ws-lightbox.open { display: grid; }

  .ws-lb-img {
    grid-area: img;
    max-width: 95vw;
    max-height: 66vh;
    justify-self: center;
    align-self: center;
  }

  /* Pull nav out of absolute positioning into the grid */
  .ws-lb-nav {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
  .ws-lb-prev {
    grid-area: prev;
    justify-self: center;
    align-self: center;
    left: auto;
  }
  .ws-lb-next {
    grid-area: next;
    justify-self: center;
    align-self: center;
    right: auto;
  }

  .ws-lb-counter {
    grid-area: counter;
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
  }

  .ws-lb-close {
    /* stays absolute over the top-right of the fixed lightbox */
    top: 12px;
    right: 14px;
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   DermAesthetics featured card — browser mockup showcase
   ═══════════════════════════════════════════════════════════════════ */

/* Two-column layout inside the featured card */
.work-derm-layout {
  display: flex;
  gap: 44px;
  align-items: center;
}
.work-derm-text {
  flex: 0 0 38%;
  min-width: 0;
}

/* Showcase column */
.work-derm-showcase {
  flex: 1;
  position: relative;
  min-width: 0;
  padding-bottom: 40px; /* room for floating card */
}

/* ── Browser mockup ── */
.derm-browser {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,.3);
  box-shadow:
    0 24px 64px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  transition:
    transform .45s cubic-bezier(.34,1.56,.64,1),
    box-shadow .35s ease;
  will-change: transform;
}
.work-derm-showcase:hover .derm-browser {
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg);
  box-shadow:
    0 32px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(139,92,246,.22),
    0 0 50px rgba(139,92,246,.1),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.derm-browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #181828;
  border-bottom: 1px solid rgba(255,255,255,.07);
  user-select: none;
}
.derm-browser-dots { display: flex; gap: 5px; flex-shrink: 0; }
.derm-browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.derm-browser-dots span:nth-child(1) { background: #FF5F56; }
.derm-browser-dots span:nth-child(2) { background: #FEBC2E; }
.derm-browser-dots span:nth-child(3) { background: #28C840; }
.derm-browser-url {
  flex: 1;
  text-align: center;
  font-size: .71rem;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.06);
  border-radius: 5px;
  padding: 4px 10px;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.derm-browser-viewport {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #0a0907;
  cursor: zoom-in;
}

/* Gradient fade at bottom of viewport */
.derm-browser-viewport::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(10,9,7,.6));
  pointer-events: none;
  z-index: 1;
}

.derm-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .7s ease;
}
.derm-slide.active { opacity: 1; }

/* ── Floating admin preview card ── */
.derm-float-card {
  position: absolute;
  bottom: 0;
  left: -24px;
  width: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,.45);
  box-shadow: 0 14px 44px rgba(0,0,0,.55), 0 0 20px rgba(139,92,246,.12);
  transform: rotate(-2.5deg) perspective(600px) rotateY(4deg);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  z-index: 2;
  background: #181828;
}
.work-derm-showcase:hover .derm-float-card {
  transform: rotate(-1deg) perspective(600px) rotateY(2deg) scale(1.03);
  box-shadow: 0 18px 52px rgba(0,0,0,.6), 0 0 28px rgba(139,92,246,.18);
}
.derm-float-chrome {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #141422;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.derm-float-chrome span {
  width: 7px; height: 7px; border-radius: 50%;
}
.derm-float-chrome span:nth-child(1) { background: rgba(255,95,86,.55); }
.derm-float-chrome span:nth-child(2) { background: rgba(254,188,46,.55); }
.derm-float-chrome span:nth-child(3) { background: rgba(40,200,64,.55); }
.derm-float-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top;
}

/* ── Slide dot navigation ── */
.derm-dots {
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  margin-top: 12px;
  padding-right: 4px;
  position: relative;
  z-index: 3;
}
.derm-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.derm-dot.active {
  background: #8B5CF6;
  transform: scale(1.35);
}
.derm-dot:hover { background: rgba(139,92,246,.6); }

/* Responsive — tablet range (700–860px): tilt off, shrink float card */
@media (max-width: 860px) {
  .derm-browser { transform: none !important; }
  .derm-float-card { left: -10px; width: 160px; }
  .derm-float-card img { height: 95px; }
}

/* Mobile — derm card reverts to standard work-card layout */
@media (max-width: 700px) {
  .work-derm-layout   { display: block; }
  .work-derm-text     { width: 100%; max-width: none; flex: none; }
  .work-derm-showcase { display: none; }
  .work-derm .work-screenshots { display: block !important; }
}

/* ── Work card button reset ── */
a.work-status {
  text-decoration: none;
}
.work-status-pilot {
  color: var(--violet);
  border-color: rgba(139,92,246,.3);
}
.work-vote {
  grid-column: span 2;
}

/* ── Project Detail Panel ── */
.pdetail-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.32,0,.12,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  pointer-events: none;
}
.pdetail-overlay.open { transform: translateY(0); pointer-events: auto; }

.pdetail-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(3,3,5,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.pdetail-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  transition: color .2s;
}
.pdetail-back::before { content: '←  '; }
.pdetail-back:hover { color: var(--ink); }
.pdetail-ext {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 100px;
  padding: 5px 14px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.pdetail-ext:hover { background: rgba(34,211,238,.08); border-color: var(--cyan); }

.pdetail-body {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 40px 100px;
}

/* Hero image — full width at top */
.pdetail-hero-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px var(--border);
  margin-bottom: 40px;
}
.pdetail-hero-img img { width: 100%; display: block; max-height: 480px; object-fit: cover; object-position: top; }

/* Text block below hero image */
.pdetail-text-block {
  margin-bottom: 48px;
}
.pdetail-category {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
.pdetail-title {
  font-family: var(--font);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 18px;
}
.pdetail-lead {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 24px;
}
.pdetail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdetail-tag {
  font-family: var(--font);
  font-size: .67rem;
  font-weight: 500;
  padding: 4px 12px;
  background: var(--violet-soft);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 100px;
  color: var(--violet);
  letter-spacing: .04em;
}

/* Overview */
.pdetail-overview {
  border-left: 3px solid var(--violet);
  padding-left: 28px;
  margin: 0 0 64px;
}
.pdetail-overview p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: rgba(242,242,248,.82);
}

/* Feature sections */
.pdetail-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 64px;
}
.pdetail-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  transition: border-color .2s;
}
.pdetail-section:hover { border-color: var(--border-h); }
.pdetail-section-title {
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.pdetail-section p {
  font-size: .84rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 14px;
}
.pdetail-section ul { padding: 0; }
.pdetail-section li {
  font-size: .81rem;
  color: var(--muted);
  padding: 5px 0 5px 18px;
  position: relative;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
.pdetail-section li::before {
  content: '→';
  position: absolute;
  left: 2px;
  top: 6px;
  color: var(--violet);
  font-size: .72rem;
}

/* Tech stack */
.pdetail-stack-wrap { margin-bottom: 56px; }
.pdetail-stack-label, .pdetail-gallery-label {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdetail-stack-label::before, .pdetail-gallery-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--grad);
  flex-shrink: 0;
}
.pdetail-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.pdetail-stack-pill {
  font-family: var(--font);
  font-size: .76rem;
  font-weight: 500;
  padding: 6px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: rgba(242,242,248,.7);
}

/* Screenshots gallery — horizontal scroll strip */
.pdetail-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pdetail-gallery img {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r);
  border: 1px solid var(--border);
  cursor: zoom-in;
  scroll-snap-align: start;
  transition: border-color .2s, transform .2s;
  display: block;
}
.pdetail-gallery img:hover {
  border-color: var(--border-h);
  transform: scale(1.02);
}

/* Panel — tablet */
@media (max-width: 860px) {
  .pdetail-hero-img img { max-height: 320px; }
  .pdetail-gallery img  { width: 220px; height: 145px; }
}

/* Panel — mobile */
@media (max-width: 700px) {
  .pdetail-topbar { padding: 12px 18px; }
  .pdetail-body   { padding: 28px 18px 80px; }
  .pdetail-overview { padding-left: 16px; }
  .pdetail-sections { grid-template-columns: 1fr; gap: 12px; }
  .pdetail-gallery img { width: 180px; height: 120px; }
  .pdetail-title { font-size: clamp(2rem, 9vw, 2.8rem); }
}
@media (max-width: 480px) {
  .pdetail-back  { font-size: .78rem; }
  .pdetail-ext   { font-size: .7rem; padding: 5px 11px; }
  .pdetail-body  { padding: 22px 14px 64px; }
  .pdetail-overview p { font-size: .94rem; }
}

/* ── Section background overrides for new flow (skills/experience/about/contact) ── */
.section-skills     { background: var(--bg); }
.section-experience { background: var(--surface); }
.section-about      { background: var(--bg); }
.section-contact    { background: var(--surface); }

/* ── Skills ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.skill-group {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.skill-group:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}
.skill-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.skill-group-head h3 {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.skill-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--c, var(--violet));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #8B5CF6) 18%, transparent);
  flex-shrink: 0;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.chip-list li {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 500;
  padding: 5px 11px;
  background: var(--violet-soft);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 100px;
  color: var(--violet);
  letter-spacing: .03em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .skills-grid { grid-template-columns: 1fr; gap: 14px; }
  .skill-group { padding: 22px; }
}

/* ── Experience timeline ── */
.timeline {
  list-style: none;
  position: relative;
  margin: 0 auto;
  padding: 0 0 0 28px;
  max-width: 820px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  opacity: .35;
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 38px 24px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 18%, transparent);
}
.timeline-meta {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.timeline-body h3 {
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 4px;
}
.timeline-org {
  font-family: var(--font);
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.timeline-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-body ul li {
  position: relative;
  padding-left: 16px;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--muted);
}
.timeline-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--violet);
  opacity: .6;
}
.timeline-body strong { color: var(--ink); font-weight: 600; }

@media (max-width: 600px) {
  .timeline { padding-left: 22px; }
  .timeline-item { padding-left: 16px; }
  .timeline-marker { left: -22px; width: 11px; height: 11px; }
  .timeline-body h3 { font-size: 1.02rem; }
  .timeline-body ul li { font-size: .9rem; }
}

/* ── Education block ── */
.education-block {
  max-width: 820px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.education-head {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 22px;
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.edu-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 20px;
}
.edu-school {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.edu-degree {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.5;
}
.edu-meta {
  font-family: var(--font);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}

@media (max-width: 720px) {
  .education-grid { grid-template-columns: 1fr; }
  .education-block { margin-top: 44px; padding-top: 28px; }
}

