/* ============ THEME ============ */
:root {
  --bg: #f6f4f1;
  --text: #0e0e12;
  --text-2: #4a4a55;
  --muted: #7d7d8a;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.85);
  --chip: rgba(255, 255, 255, 0.82);
  --hair: rgba(14, 14, 18, 0.08);
  --shadow: 0 1px 1px rgba(0,0,0,.03), 0 10px 30px -10px rgba(40, 30, 80, 0.18), 0 30px 60px -30px rgba(40, 30, 80, 0.2);
  --b1: #ffb38a; --b2: #b9a6ff; --b3: #9fd3ff; --b4: #ffb3cf;
  --blob-op: .75;
  --accent: #7c6cff;
  --grad: linear-gradient(100deg, #ff7a59 0%, #c45cff 50%, #4a8dff 100%);
  --primary-bg: #0e0e12; --primary-text: #fff;
  --radius: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #07070b;
  --text: #f4f4f7;
  --text-2: #b8b8c6;
  --muted: #80808f;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --chip: rgba(22, 20, 34, 0.72);
  --hair: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --b1: #ff6a3d; --b2: #6b4dff; --b3: #1e7bff; --b4: #ff3d8b;
  --blob-op: .38;
  --accent: #a597ff;
  --primary-bg: #f4f4f7; --primary-text: #0e0e12;
  color-scheme: dark;
}

/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .6s var(--ease), color .6s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* Glass material */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.35);
}

/* ============ BACKGROUND ============ */
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob-op); will-change: transform; transition: background .8s, opacity .8s; }
.b1 { width: 48vw; height: 48vw; background: var(--b1); top: -12vw; left: -8vw; animation: drift1 26s var(--ease) infinite alternate; }
.b2 { width: 42vw; height: 42vw; background: var(--b2); top: 10vh; right: -10vw; animation: drift2 30s var(--ease) infinite alternate; }
.b3 { width: 40vw; height: 40vw; background: var(--b3); bottom: -14vw; left: 22vw; animation: drift3 34s var(--ease) infinite alternate; }
.b4 { width: 28vw; height: 28vw; background: var(--b4); bottom: 10vh; right: 12vw; animation: drift1 22s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, 20vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(14vw, -24vh) scale(1.2); } }
.spotlight {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 30%), rgba(255,255,255,.35), transparent 60%);
}
:root[data-theme="dark"] .spotlight { background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 30%), rgba(140,120,255,.08), transparent 60%); }
.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 10px; border-radius: 999px; transition: transform .5s var(--ease);
}
.nav.hidden { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 1.02rem; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand span { color: var(--muted); }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 14px; border-radius: 999px; font-size: .9rem; color: var(--text-2); transition: background .3s, color .3s; }
.links a:hover, .links a.active { background: var(--glass-strong); color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; position: relative; }
.theme-toggle:hover { background: var(--glass-strong); }
.theme-toggle svg { width: 19px; height: 19px; position: absolute; transition: transform .6s var(--ease), opacity .4s; }
.moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .moon { opacity: 1; transform: none; }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--text); border-radius: 2px; transition: .4s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.menu-btn.open span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-btn.open span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mobile-menu {
  max-width: 1100px; margin: 10px auto 0; border-radius: 24px; padding: 10px;
  display: grid; opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: .4s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: 14px 18px; border-radius: 16px; font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.mobile-menu a:hover { background: var(--glass-strong); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--primary-bg); color: var(--primary-text); box-shadow: 0 10px 30px -10px rgba(14,14,18,.5); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transform: translateX(-100%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(124,108,255,.6); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-glass:hover { transform: translateY(-2px); background: var(--glass-strong); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero {
  max-width: 1200px; margin: 0 auto; min-height: 100svh; padding: 140px 24px 80px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center;
}
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .85rem; color: var(--text-2); margin-bottom: 28px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; position: relative; display: inline-block; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 600; letter-spacing: -0.045em; }
.sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 520px; margin-top: 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.hero-stage { position: relative; height: 560px; perspective: 1400px; }
.profile-card {
  position: absolute; left: 50%; top: 50%; width: 330px; border-radius: 34px; padding: 12px;
  transform: translate(-50%, -50%); transform-style: preserve-3d; transition: transform .2s ease-out;
}
.pc-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 1; position: relative; transform: translateZ(30px); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.pc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(255,255,255,.25), transparent 40%); pointer-events: none; }
.pc-body { padding: 18px 10px 8px; transform: translateZ(20px); }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-top h3 { font-size: 1.35rem; }
.pc-top p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.verified svg { width: 26px; height: 26px; fill: #4a8dff; stroke: #4a8dff; stroke-width: 1; }
.verified .tick { fill: none; stroke: #fff; stroke-width: 2.2; }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); text-align: center; }
.pc-stats b { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; }
.pc-stats span { font-size: .75rem; color: var(--muted); }

.chip { background: var(--chip); position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; transition: transform .25s ease-out; }
.chip b { display: block; font-family: var(--display); font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.chip small { color: var(--muted); font-size: .78rem; }
.chip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.chip-ic svg { width: 20px; height: 20px; }
.c1 { left: -10px; top: 70px; animation: float 6s ease-in-out infinite; }
.c2 { right: -20px; top: 150px; padding: 14px 16px; animation: float 7s ease-in-out -2s infinite; }
.c3 { left: -20px; top: 290px; animation: float 6.5s ease-in-out -4s infinite; }
.chip > * { animation: none; }
@keyframes float { 50% { translate: 0 -12px; } }
.mini-chart { width: 150px; }
.mini-chart b { font-size: 1.4rem; color: #22c55e; }
.mini-chart svg { width: 100%; height: 40px; margin-top: 4px; }
.mini-chart .line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Accent swatches */
.ic-orange { background: linear-gradient(135deg, #ffa25c, #ff5f6d); }
.ic-violet { background: linear-gradient(135deg, #a28bff, #6a4dff); }
.ic-blue { background: linear-gradient(135deg, #5ec8ff, #3b6dff); }
.ic-pink { background: linear-gradient(135deg, #ff8ac2, #d34dff); }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; padding: 10px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
.track span { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--hair); font-size: .9rem; color: var(--text-2); white-space: nowrap; background: var(--glass); }
@keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }

/* ============ SECTIONS ============ */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(80px, 12vw, 140px) 24px 0; }
.head { margin-bottom: 48px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.head h2 { font-size: clamp(2.2rem, 5vw, 4rem); }

/* Card + cursor-following glow border */
.card { border-radius: var(--radius); padding: 32px; position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(124,108,255,.9), rgba(255,122,89,.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(124,108,255,.08), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.glow:hover::before, .glow:hover::after { opacity: 1; }

/* ============ ABOUT BENTO ============ */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  grid-template-areas: "about about about s1" "path path s2 s3";
}
.bento > :nth-child(1) { grid-area: about; }
.bento > :nth-child(2) { grid-area: s1; }
.bento > :nth-child(3) { grid-area: s2; }
.bento > :nth-child(4) { grid-area: path; }
.bento > :nth-child(5) { grid-area: s3; }
.b-about .lead { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -.02em; margin-bottom: 18px; }
.b-about .lead b { font-weight: 600; }
.b-about p:not(.lead) { color: var(--text-2); }
.b-stat { display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; }
.big { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.big b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-stat small { color: var(--muted); margin-top: 8px; }
.path { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.path > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.path b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.path small { color: var(--muted); font-size: .82rem; }
.pdot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 5px var(--glass-strong); }
.path i { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--hair), var(--accent), var(--hair)); margin-bottom: 36px; }

/* ============ SERVICES ============ */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-6px); }
.svc-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 60px; box-shadow: 0 12px 24px -10px rgba(124,108,255,.6); }
.svc-ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc p { color: var(--text-2); font-size: .95rem; }

/* ============ WORK ============ */
.segmented { position: relative; display: flex; padding: 5px; border-radius: 999px; }
.segmented button { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-size: .88rem; color: var(--text-2); transition: color .3s; }
.segmented button.active { color: var(--primary-text); }
.seg-indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--primary-bg); transition: transform .5s var(--ease), width .5s var(--ease); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1500px; }
.project { padding: 10px; transform-style: preserve-3d; transition: transform .25s ease-out, opacity .5s, box-shadow .4s; }
.project.hide { display: none; }
.art { aspect-ratio: 4/3.2; border-radius: 20px; display: grid; place-items: center; overflow: hidden; position: relative; transform-style: preserve-3d; }
.art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.35), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.project:hover .art::after { opacity: 1; }
.art > * { transform: translateZ(50px); transition: transform .7s var(--ease); }
.project:hover .art > * { transform: translateZ(70px) scale(1.07); }
.art-1 { background: radial-gradient(circle at 30% 20%, #ffd6b8, #ff8a65 60%, #e2557a); }
.art-2 { background: radial-gradient(circle at 70% 20%, #c9c0ff, #7c6cff 60%, #3b3fbf); }
.art-3 { background: radial-gradient(circle at 20% 80%, #ffe0c2, #ffb37e 50%, #c96cff); }
.art-4 { background: radial-gradient(circle at 60% 30%, #bff0ff, #4aa8ff 60%, #3b52d6); }
.art-5 { background: radial-gradient(circle at 30% 70%, #ffd0e6, #ff7eb6 55%, #a24dff); }
.art-6 { background: radial-gradient(circle at 70% 70%, #c9ffe8, #36c9a0 55%, #1f7ab8); }
.p-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 12px 10px; }
.p-info h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.p-info p { color: var(--muted); font-size: .86rem; margin-top: 3px; }
.tag { font-size: .74rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair); color: var(--text-2); white-space: nowrap; }

/* Project art objects */
.orb-3d { width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #ffe5d4 18%, #ff9a6b 50%, #c43d6a 100%); box-shadow: 0 30px 50px -10px rgba(120,20,60,.5), inset -10px -14px 30px rgba(120,20,60,.35); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars i { width: 20px; border-radius: 8px; background: linear-gradient(to top, rgba(255,255,255,.35), #fff); box-shadow: 0 10px 20px -6px rgba(30,20,120,.5); }
.bars i:nth-child(1){height:30%} .bars i:nth-child(2){height:50%} .bars i:nth-child(3){height:40%} .bars i:nth-child(4){height:70%} .bars i:nth-child(5){height:60%} .bars i:nth-child(6){height:100%}
.sheets { position: relative; width: 110px; height: 145px; }
.sheets i { position: absolute; inset: 0; border-radius: 10px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 30px -10px rgba(90,30,120,.4); }
.sheets i:nth-child(1) { transform: rotate(-14deg) translateX(-34px); }
.sheets i:nth-child(2) { transform: rotate(-2deg); }
.sheets i:nth-child(3) { transform: rotate(10deg) translateX(34px); background: rgba(255,255,255,.85); }
.sheets i:nth-child(3)::before { content: ""; position: absolute; left: 14px; right: 14px; top: 18px; height: 50px; border-radius: 6px; background: linear-gradient(135deg, #ffb37e, #c96cff); }
.cube { width: 96px; height: 96px; position: relative; transform-style: preserve-3d; animation: rot 14s linear infinite; }
.cube i { position: absolute; inset: 0; border-radius: 14px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.8); }
.cube i:nth-child(1){transform:translateZ(48px)} .cube i:nth-child(2){transform:rotateY(180deg) translateZ(48px)}
.cube i:nth-child(3){transform:rotateY(90deg) translateZ(48px)} .cube i:nth-child(4){transform:rotateY(-90deg) translateZ(48px)}
.cube i:nth-child(5){transform:rotateX(90deg) translateZ(48px)} .cube i:nth-child(6){transform:rotateX(-90deg) translateZ(48px)}
@keyframes rot { from { transform: translateZ(50px) rotateX(-22deg) rotateY(0); } to { transform: translateZ(50px) rotateX(-22deg) rotateY(360deg); } }
.project:hover .cube { transform: none; }
.tiles { display: grid; grid-template-columns: repeat(3, 46px); gap: 10px; }
.tiles i { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.7); }
.tiles i:nth-child(2), .tiles i:nth-child(4), .tiles i:nth-child(6) { background: #fff; box-shadow: 0 10px 20px -6px rgba(120,30,120,.5); }
.ring-chart { width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(#fff 0 62%, rgba(255,255,255,.3) 62% 85%, rgba(255,255,255,.6) 85% 100%); -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%); mask: radial-gradient(circle, transparent 42%, #000 43%); filter: drop-shadow(0 20px 20px rgba(10,60,80,.4)); }

/* ============ TIMELINE ============ */
.timeline { position: relative; display: grid; gap: 18px; padding-left: 48px; max-width: 860px; }
.tl-line { position: absolute; left: 16px; top: 10px; bottom: 10px; width: 2px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.tl-line span { display: block; width: 100%; height: 0; background: var(--grad); }
.tl { padding: 28px 32px; }
.tl-dot { position: absolute; left: -40px; top: 34px; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 5px var(--bg), 0 0 20px rgba(124,108,255,.6); }
.tl-date { font-size: .82rem; font-weight: 500; color: var(--accent); letter-spacing: .04em; }
.tl h3 { font-size: 1.35rem; margin: 6px 0 4px; }
.org { color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.tl p:last-child { color: var(--text-2); }

/* ============ REVIEWS ============ */
.reviews { overflow: hidden; margin: 0 -24px; padding: 10px 0 30px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews-track { display: flex; gap: 18px; width: max-content; animation: scroll 50s linear infinite; padding-left: 24px; }
.reviews:hover .reviews-track { animation-play-state: paused; }
.review { width: 360px; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.stars { color: #ffb020; letter-spacing: 3px; font-size: .9rem; }
.review blockquote { font-size: 1.05rem; line-height: 1.5; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review b { display: block; font-size: .95rem; font-weight: 500; }
.review small { color: var(--muted); font-size: .82rem; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .82rem; font-weight: 600; }

/* ============ CONTACT ============ */
#contact { padding-bottom: 100px; }
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: clamp(28px, 5vw, 60px); border-radius: 36px; overflow: hidden; }
.contact-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--grad); filter: blur(100px); opacity: .25; top: -200px; left: -150px; z-index: -1; animation: drift2 20s ease-in-out infinite alternate; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.email-copy { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 8px 8px 8px 22px; border-radius: 999px; font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 500; transition: transform .4s var(--ease); max-width: 100%; }
.email-copy:hover { transform: translateY(-2px); }
.em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-label { font-family: var(--body); font-size: .82rem; padding: 8px 14px; border-radius: 999px; background: var(--primary-bg); color: var(--primary-text); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease), color .3s; }
.socials a:hover { transform: translateY(-3px); color: var(--accent); }
.socials svg { width: 20px; height: 20px; }
.form { display: grid; gap: 14px; align-content: center; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); padding: 24px 18px 10px; border-radius: 16px;
  background: var(--glass-strong); border: 1px solid var(--glass-border); resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,108,255,.18); }
.field label { position: absolute; left: 19px; top: 17px; color: var(--muted); pointer-events: none; transition: .3s var(--ease); font-size: .98rem; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .74rem; color: var(--accent); }

/* ============ FOOTER / TOAST ============ */
.footer { max-width: 1200px; margin: 0 auto; padding: 28px 24px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--hair); }
.clock { display: inline-flex; align-items: center; gap: 10px; }
.footer a:hover { color: var(--text); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 150%); padding: 12px 22px; border-radius: 999px; font-size: .92rem; z-index: 80; transition: transform .5s var(--ease); background: var(--glass-strong); }
.toast.show { transform: translate(-50%, 0); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .links, .nav-actions .btn-sm { display: none; }
  .menu-btn { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: auto; gap: 20px; }
  .hero-stage { height: 520px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "about about" "s1 s2" "path path" "s3 s3"; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .card { padding: 24px; }
  .hero-stage { height: 460px; }
  .profile-card { width: 290px; }
  .c1 { left: -6px; top: 40px; } .c2 { right: -8px; top: 120px; } .c3 { display: none; }
  .pc-top p { font-size: .76rem; white-space: nowrap; }
  .chip { padding: 9px 14px 9px 9px; } .chip-ic { width: 34px; height: 34px; }
  .mini-chart { width: 110px; }
  .services, .projects { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-stat { min-height: 150px; }
  .svc-ic { margin-bottom: 36px; }
  .timeline { padding-left: 34px; }
  .tl-line { left: 9px; } .tl-dot { left: -31px; }
  .tl { padding: 22px; }
  .review { width: 290px; }
  .segmented { width: 100%; justify-content: space-between; }
  .segmented button { padding: 9px 12px; }
}
