/* ============ Hadskay portfolio: professional bento layout ============ */
:root {
  --bg: #0b0c0e;
  --panel: #131518;
  --panel-2: #181b1f;
  --panel-3: #1d2025;
  --line: #22262c;
  --line-2: #2c3138;
  --text: #ecedef;
  --muted: #9ba1a9;
  --dim: #646b74;
  --accent: #f5b83d;
  --accent-hi: #fcd27a;
  --accent-ink: #1c1203;
  --accent-rgb: 245, 184, 61;
  --accent-soft: rgba(var(--accent-rgb), 0.10);
  --accent-line: rgba(var(--accent-rgb), 0.32);
  --radius: 14px;
  --shadow: 0 1px 0 rgba(255,255,255,0.035) inset, 0 18px 40px -24px rgba(0,0,0,0.9);
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --max: 1160px;
}

/* colour themes: set <html data-theme="pink"> or "gold" (or preview with ?theme=pink in the URL) */
html[data-theme="pink"] { --accent: #f472b6; --accent-hi: #f9a8d4; --accent-ink: #1f0612; --accent-rgb: 244, 114, 182; }
html[data-theme="green"] { --accent: #34d399; --accent-hi: #5ee6b0; --accent-ink: #03140d; --accent-rgb: 52, 211, 153; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* dotted backdrop */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.25) 100%);
}
body::after {
  content: ""; position: fixed; left: -10%; top: -30%; width: 70%; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.07), transparent);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s; }
.link:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- panels ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; position: relative;
}
.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 4px; display: flex; align-items: center; gap: 8px;
}
.panel-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.panel-sub { color: var(--dim); font-size: 13.5px; margin: 2px 0 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0; transition: background .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(11,12,14,0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; gap: 12px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.brand .tld { color: var(--dim); font-weight: 500; }
.nav-links {
  display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.nav-links a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--panel-3); }
.nav-links a.active { color: var(--text); background: var(--panel-3); box-shadow: inset 0 -2px 0 var(--accent); }
.header-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 10px; font-family: var(--sans); font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn-ghost { background: var(--panel-2); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.header-cta.btn { height: 48px; border-radius: 12px; padding: 0 20px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: 8px; }
.bento-main, .bento-side { display: grid; gap: 16px; align-content: start; }

/* profile */
.profile { display: flex; gap: 26px; align-items: center; padding: 30px; }
.avatar {
  width: 112px; height: 112px; flex: none; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 200deg, var(--accent), rgba(var(--accent-rgb),0.15), var(--accent));
  position: relative;
}
.avatar .media, .avatar .avatar-inner { width: 100%; height: 100%; border-radius: 50%; aspect-ratio: 1; border: 3px solid var(--panel); }
.avatar .crown { display: grid; place-items: center; color: var(--accent); background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.16), transparent 70%), #111316; }
.avatar .crown svg { width: 52%; height: 52%; filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb), 0.35)); }
.avatar .ph-inner { background: radial-gradient(circle at 30% 25%, rgba(var(--accent-rgb), 0.18), transparent 70%), #111316; }
.avatar .ph-label .ph-title { font-size: 40px; font-weight: 700; color: var(--accent); }
.avatar .online { position: absolute; right: 6px; bottom: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--panel); }
.profile h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 6px; }
.profile .tagline { color: var(--muted); margin: 0 0 14px; font-size: 16px; }
.profile .links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.5); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.5); } 70% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0); } }

/* intro */
.intro p { color: var(--muted); margin: 0 0 14px; }
.intro p:last-child { margin-bottom: 0; }
.intro strong { color: var(--text); font-weight: 600; }
.inline-stat { font-family: var(--mono); color: var(--text); background: var(--panel-3); border: 1px solid var(--line-2); padding: 1px 7px; border-radius: 6px; font-size: 13.5px; }

/* discord widget */
.discord-card { display: flex; align-items: center; gap: 14px; }
.discord-card .dc-avatar { width: 52px; height: 52px; border-radius: 12px; background: #5865f2; display: grid; place-items: center; color: #fff; flex: none; position: relative; }
.discord-card .dc-avatar svg { width: 28px; height: 28px; }
.discord-card .dc-avatar::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--panel); }
.discord-card b { display: block; font-size: 16px; }
.discord-card span { color: var(--dim); font-size: 13px; }
.copy-btn { margin-top: 18px; width: 100%; }

/* stat list */
.stat-list { display: grid; gap: 10px; }
.stat-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; }
.stat-row .num { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stat-row .num .accent { color: var(--accent); }
.stat-row .what { text-align: right; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.stat-row .what small { display: block; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--muted);
}
.chip.lg { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13.5px; padding: 8px 12px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.chip.lg::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }

/* ---------- sections ---------- */
.section { margin-top: 16px; }
.section > .panel { padding: 30px; }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section-intro h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; font-weight: 700; margin: 0; }
.section-intro p { color: var(--muted); margin: 4px 0 0; max-width: 520px; }

/* project cards */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.project-card:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(var(--accent-rgb),0.35); }
.project-card .media { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
.project-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.pc-when { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pc-role { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: right; }
.project-card h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 8px; }
.project-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.project-card .chips { margin-bottom: 16px; }
.project-card .chip { font-size: 10.5px; padding: 4px 8px; }
.pc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; font-size: 13.5px; }
.pc-more svg { width: 15px; height: 15px; color: var(--accent); transition: transform .2s; }
.project-card:hover .pc-more svg { transform: translateX(4px); }
.subhead { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 30px 0 14px; display: flex; align-items: center; gap: 12px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service { padding: 20px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; transition: border-color .25s; }
.service:hover { border-color: var(--line-2); }
.service .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.service .ic svg { width: 19px; height: 19px; }
.service h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; }
.service p { color: var(--muted); font-size: 14px; margin: 0; }

/* experience */
.xp { display: grid; }
.xp-row { display: grid; grid-template-columns: 170px 1fr auto; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.xp-row:first-child { border-top: 0; padding-top: 4px; }
.xp-role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.xp-row h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 4px; }
.xp-row p { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 620px; }
.xp-row .xp-stat { text-align: right; font-weight: 700; font-size: 15px; white-space: nowrap; }
.xp-row .xp-stat small { display: block; color: var(--dim); font-weight: 400; font-size: 12px; }
.xp-row a.link { font-size: 13.5px; display: inline-block; margin-top: 6px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.step { padding: 20px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* contact */
.contact-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px !important;
  background: radial-gradient(500px circle at 0% 0%, rgba(var(--accent-rgb),0.10), transparent 60%), var(--panel) !important; }
.contact-panel h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1.1; margin: 8px 0 12px; font-weight: 700; }
.contact-panel p { color: var(--muted); margin: 0; }
.contact-box { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 22px; }
.contact-box .note { color: var(--dim); font-size: 13px; margin-top: 14px; }

/* footer */
.site-footer { margin: 16px 0 28px; }
.site-footer .panel { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px 24px; }
.site-footer span { color: var(--dim); font-size: 13.5px; }
.foot-links { display: flex; gap: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.foot-links a { color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--accent); }

/* ---------- media / placeholders ---------- */
.media { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); aspect-ratio: 16 / 9; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media .ph-inner {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 25% 15%, rgba(var(--accent-rgb),0.13), transparent 55%),
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1.2px) 0 0 / 16px 16px,
    linear-gradient(160deg, #15191b, #0f1113);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.ph-label { text-align: center; padding: 12px; }
.ph-label .ph-title { font-weight: 700; font-size: clamp(16px, 2vw, 22px); letter-spacing: -0.01em; color: var(--text); opacity: .85; }
.ph-label .ph-sub { font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 6px; letter-spacing: .12em; text-transform: uppercase; }
.media.loaded .ph-inner { display: none; }
.project-card:hover .media .ph-inner { transform: scale(1.04); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(11,12,14,.7); border: 1px solid var(--accent); color: var(--accent);
  display: none; place-items: center; cursor: pointer; z-index: 2; backdrop-filter: blur(6px); transition: transform .2s, background .2s, color .2s;
}
.play-btn:hover { transform: scale(1.08); background: var(--accent); color: var(--accent-ink); }
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.media.has-video .play-btn { display: grid; }
.media.playing .play-btn { display: none; }

/* featured reel */
.reel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.reel .media { aspect-ratio: 16 / 9; }
.reel h3 { font-size: 24px; letter-spacing: -0.02em; margin: 6px 0 10px; font-weight: 700; }
.reel p { color: var(--muted); margin: 0 0 18px; }

/* galleries stay hidden until at least one real screenshot exists */
.gallery-section { display: none; }
.gallery-section:has(.media.loaded) { display: block; }
.gallery-section .media:not(.loaded) { display: none; }
.gallery .media > img { object-fit: contain; background: #0f1113; }
.gallery:has(> .media.loaded:only-child) { grid-template-columns: minmax(0, 520px); }
.gallery:has(> .media.loaded:only-child) .media { aspect-ratio: 1; }
.brand .mark svg { width: 14px; height: 14px; }

/* logo placeholders: blurred logo backdrop + crisp logo */
.ph-inner.has-logo { background: #0f1113; }
.ph-inner .ph-bg { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(28px) saturate(1.1) brightness(.45); }
.ph-inner .ph-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 74%; width: auto; max-width: 80%; object-fit: contain; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.9); }
.p-hero-panel .ph-inner .ph-logo { height: 66%; }
.project-grid.four .pc-top { flex-direction: column; align-items: flex-start; gap: 2px; }
.project-grid.four .pc-role { text-align: left; }

.project-grid.four { grid-template-columns: repeat(4, 1fr); }
.project-grid.four .project-card h3 { font-size: 16.5px; }
.project-grid.four .project-card p { font-size: 14px; }
.project-card.static:hover { transform: none; border-color: var(--line-2); box-shadow: none; }

/* about me */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 18px; }
.fact { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.fact span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.fact b { font-size: 15px; font-weight: 600; }
.about-text { color: var(--muted); margin: 0 0 12px; }
.about-text:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; } }

/* strengths */
.strengths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.strength { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.strength b { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.strength b::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.strength span { color: var(--muted); font-size: 12.5px; line-height: 1.45; display: block; }

/* client logos */
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.logo-chip { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel-2); transition: transform .2s, border-color .2s; }
.logo-chip:hover { transform: translateY(-2px); border-color: var(--accent-line); }
.logo-chip img { width: 100%; height: 100%; object-fit: cover; }

/* testimonial */
.quote { margin: 0; position: relative; }
.quote blockquote { margin: 0; padding: 22px 24px 22px 56px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; position: relative; }
.quote blockquote::before { content: "“"; position: absolute; left: 18px; top: 4px; font-size: 64px; line-height: 1; color: var(--accent); font-family: Georgia, serif; opacity: .8; }
.quote blockquote p { margin: 0 0 12px; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.quote blockquote p:last-child { margin-bottom: 0; font-weight: 600; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote figcaption img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-2); }
.quote figcaption b { display: block; font-size: 14.5px; }
.quote figcaption span { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* experience logos + dates */
.xp-role small { display: block; color: var(--dim); font-size: 12px; letter-spacing: .04em; text-transform: none; margin-top: 4px; }
.xp-main { display: flex; gap: 16px; align-items: flex-start; }
.xp-logo { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-2); flex: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 10px; z-index: 100; pointer-events: none;
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- project page ---------- */
.p-hero-panel { padding: 34px !important; }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 20px; transition: color .2s; }
.crumb:hover { color: var(--accent); }
.crumb svg { width: 16px; height: 16px; }
.p-hero-panel h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; margin: 10px 0 14px; }
.p-hero-panel .lead { font-size: 17px; color: var(--muted); max-width: 760px; margin: 0; }
.p-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.p-facts > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.p-facts > div:last-child { border-right: 0; }
.p-facts dt { font-family: var(--mono); font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.p-facts dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.p-hero-panel .media { aspect-ratio: 16 / 8; }
.p-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 16px; }
.p-main { display: grid; gap: 16px; align-content: start; }
.p-main h2 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; margin: 4px 0 14px; }
.p-main p { color: var(--muted); margin: 0 0 12px; }
.p-main p:last-child { margin-bottom: 0; }
.p-main p b { color: var(--text); }
.p-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.p-list li { padding: 14px 16px 14px 40px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; position: relative; color: var(--muted); font-size: 14.5px; }
.p-list li b { color: var(--text); font-weight: 600; }
.p-list li::before { content: ""; position: absolute; left: 17px; top: 22px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.p-aside { position: sticky; top: 96px; align-self: start; display: grid; gap: 16px; }
.p-aside p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .media { aspect-ratio: 4 / 3; }
.gallery .ph-label .ph-title { font-size: 14px; }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; transition: border-color .25s; }
.next-project:hover { border-color: var(--accent-line); }
.next-project h3 { font-size: 20px; font-weight: 650; margin: 4px 0 0; letter-spacing: -0.01em; }
.next-project svg { width: 24px; height: 24px; color: var(--accent); transition: transform .25s; flex: none; }
.next-project:hover svg { transform: translateX(6px); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .bento, .p-body { grid-template-columns: 1fr; }
  .bento-side { grid-template-columns: 1fr 1fr; }
  .p-aside { position: static; grid-template-columns: 1fr 1fr; }
  .project-grid, .project-grid.four, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-panel, .reel { grid-template-columns: 1fr; gap: 24px; }
  .p-facts { grid-template-columns: repeat(2, 1fr); }
  .p-facts > div:nth-child(2) { border-right: 0; }
  .p-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 72px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; height: auto; padding: 8px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; background: var(--panel);
  }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .site-header.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav-links .mobile-cta { display: flex; margin-top: 6px; background: var(--accent); color: var(--accent-ink); justify-content: center; font-weight: 600; }
  .profile { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .avatar { width: 88px; height: 88px; }
  .avatar .ph-label .ph-title { font-size: 30px; }
  .panel, .section > .panel { padding: 22px; }
  .bento-side, .p-aside { grid-template-columns: 1fr; }
  .project-grid, .project-grid.four, .service-grid, .steps, .gallery { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr 1fr; }
  .quote blockquote { padding: 18px 18px 18px 44px; }
  .quote blockquote::before { left: 12px; font-size: 52px; }
  .xp-row { grid-template-columns: 1fr; gap: 6px; }
  .xp-row .xp-stat { text-align: left; }
  .contact-panel { padding: 26px !important; }
  .p-hero-panel { padding: 22px !important; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 761px) { .nav-links .mobile-cta { display: none; } }
@media (max-width: 440px) {
  .p-facts { grid-template-columns: 1fr; }
  .p-facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .p-facts > div:last-child { border-bottom: 0; }
}
/* =================== final polish pass =================== */

/* accessibility + chrome */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-hi)); z-index: 120; pointer-events: none; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn-primary { box-shadow: 0 10px 30px -12px rgba(var(--accent-rgb), .55); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; padding: 48px !important; margin-top: 8px; overflow: hidden;
  background: radial-gradient(700px circle at 0% 0%, rgba(var(--accent-rgb), .11), transparent 55%), radial-gradient(500px circle at 100% 100%, rgba(var(--accent-rgb), .06), transparent 60%), var(--panel) !important; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; margin: 6px 0 20px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--accent), var(--accent-hi) 60%, var(--accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-sub { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 28px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hs { padding-right: 14px; }
.hs + .hs { padding-left: 18px; border-left: 1px solid var(--line); }
.hs b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.hs span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.hs small { display: block; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

/* network diagram */
.hero-visual { background: rgba(8,9,11,.6); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; }
.net-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: .06em; }
.net-dots { display: inline-flex; gap: 6px; } .net-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.net-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--accent); text-transform: uppercase; }
.net { display: block; width: 100%; height: auto; padding: 14px; }
.n-node rect { fill: var(--panel-2); stroke: var(--line-2); stroke-width: 1.2; }
.n-node.gold rect { fill: rgba(var(--accent-rgb), .08); stroke: rgba(var(--accent-rgb), .55); }
.n-title { fill: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 600; }
.n-sub { fill: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }
.n-dot { fill: #3fd68a; animation: blink 2.6s ease-in-out infinite; }
.n-node.gold .n-dot { fill: var(--accent); }
.n-base .n-title { font-size: 16px; }
.n-crown { fill: var(--accent); }
.n-wire { fill: none; stroke: var(--line-2); stroke-width: 1.6; }
.n-wire.dashed { stroke-dasharray: 4 5; stroke: rgba(var(--accent-rgb), .35); animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.n-packet { fill: var(--accent); filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), .9)); }

/* logo strip */
.logo-strip { margin-top: 16px; padding: 18px 22px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.logo-strip .label { margin: 0 0 12px 4px; color: var(--dim); }
.logo-strip-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.logo-item span { min-width: 0; }
.logo-item b, .logo-item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-item { display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 12px; transition: background .2s; }
.logo-item:hover { background: var(--panel-2); }
.logo-item img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-2); filter: saturate(.85); transition: filter .2s, transform .2s; }
.logo-item:hover img { filter: none; transform: scale(1.05); }
.logo-item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.logo-item small { display: block; color: var(--dim); font-size: 12px; }

/* about head */
.about-head { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
.about-head .avatar { width: 76px; height: 76px; }
.about-head .avatar .online { width: 15px; height: 15px; right: 3px; bottom: 3px; }
.about-title { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; margin: 2px 0 0; font-weight: 700; }
.about-text b { color: var(--text); font-weight: 600; }

/* currently building */
.now-list { display: grid; gap: 10px; margin-top: 14px; }
.now-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s; }
.now-item:hover { border-color: var(--accent-line); transform: translateX(3px); }
.now-item img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; flex: none; }
.now-item span { flex: 1; min-width: 0; }
.now-item b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-item small { display: block; color: var(--dim); font-size: 12px; }
.now-item svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* featured builds */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s, box-shadow .25s; }
.feature:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(var(--accent-rgb), .4); }
.feature .media { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
.feature .media img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.feature:hover .media img { transform: scale(1.04); }
.feature-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { font-size: 22px; letter-spacing: -0.02em; margin: 2px 0 8px; font-weight: 700; }
.feature-body p:not(.label) { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.feature-body .chips { margin-bottom: 16px; }
.feature-body .chip { font-size: 10.5px; padding: 4px 8px; }
.feature:hover .pc-more svg { transform: translateX(4px); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq-item { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); position: relative; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* hero offers */
.hero-sub { margin-bottom: 16px; }
.offers { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.offer { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: border-color .2s, transform .2s; }
.offer:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.offer-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.offer-ic svg { width: 15px; height: 15px; }

/* three service pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar { padding: 26px; display: flex; flex-direction: column; }
.pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pillar .ic { margin: 0; width: 44px; height: 44px; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar-num { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .1em; }
.pillar h3 { font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; }
.pillar-pitch { color: var(--muted); font-size: 14.5px; margin: 0 0 18px !important; }
.pillar-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; flex: 1; }
.pillar-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text); line-height: 1.5; }
.pillar-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pillar-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.pillar-proof span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 4px; }
.pillar-proof a { font-size: 12.5px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; position: relative; z-index: 1; }
.pillar-proof a:hover { color: var(--accent); border-color: var(--accent-line); }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.extra { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--panel-2); border: 1px dashed var(--line-2); border-radius: 12px; transition: border-color .2s; }
.extra:hover { border-color: var(--accent-line); }
.extra .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; margin: 0; }
.extra .ic svg { width: 19px; height: 19px; }
.extra h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.extra p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1020px) { .extras { grid-template-columns: 1fr; } }
.bundle { margin-top: 14px; display: flex; align-items: center; gap: 22px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--accent-line);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), .02)); }
.bundle-icons { display: flex; flex: none; }
.bundle-icons span { width: 40px; height: 40px; border-radius: 50%; background: var(--panel); border: 2px solid rgba(var(--accent-rgb), .5); color: var(--accent); display: grid; place-items: center; margin-left: -10px; }
.bundle-icons span:first-child { margin-left: 0; }
.bundle-icons svg { width: 18px; height: 18px; }
.bundle-text { flex: 1; }
.bundle-text b { display: block; font-size: 16px; margin-bottom: 2px; }
.bundle-text span { color: var(--muted); font-size: 14px; }
@media (max-width: 1020px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .bundle { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bundle .btn { width: 100%; }
  .offer { flex: 1 1 100%; }
}

/* interactive network diagram */
.n-node[data-info] { cursor: pointer; outline: none; }
.n-node rect { transition: stroke .2s, fill .2s, opacity .2s; }
.net.has-active .n-node:not(.active) { opacity: .45; transition: opacity .2s; }
.n-node.active rect, .n-node[data-info]:focus-visible rect { stroke: var(--accent); stroke-width: 2; fill: rgba(var(--accent-rgb), .12); }
.n-node:hover rect { stroke: rgba(var(--accent-rgb), .8); }
.net-info { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px 14px; border-top: 1px solid var(--line); min-height: 64px; }
.net-info-name { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); transition: color .2s; }
.net-info-text { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.net-info.on .net-info-name { color: var(--accent); }
.net-info.on .net-info-text { color: var(--text); }

/* why + toolkit row */
.why-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.why-grid .strengths { grid-template-columns: repeat(3, 1fr); }

/* project planner */
.planner { padding: 34px !important; background: radial-gradient(600px circle at 0% 100%, rgba(var(--accent-rgb), .08), transparent 60%), var(--panel) !important; }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pl-group { border: 0; margin: 0 0 16px; padding: 0; }
.pl-group legend { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 9px; padding: 0; }
.pl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-opt { position: relative; cursor: pointer; }
.pl-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pl-opt span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--muted); transition: all .18s; user-select: none; }
.pl-opt span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); flex: none; transition: all .18s; }
.pl-radio span::before { border-radius: 50%; }
.pl-opt:hover span { border-color: var(--accent-line); color: var(--text); }
.pl-opt input:checked + span { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .6); color: var(--text); }
.pl-opt input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2.5px var(--panel-2); }
.pl-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pl-note { display: block; }
.pl-note span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.pl-note small { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.pl-note textarea { width: 100%; resize: vertical; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); font-family: var(--sans); font-size: 14px; padding: 12px 14px; transition: border-color .2s; }
.pl-note textarea:focus { outline: none; border-color: var(--accent); }
.planner-out { position: sticky; top: 96px; }
.pl-card { background: #0d0e11; border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.pl-card-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.pl-card-head b { color: var(--text); }
.dc-mini { width: 28px; height: 28px; border-radius: 8px; background: #5865f2; color: #fff; display: grid; place-items: center; flex: none; }
.dc-mini svg { width: 16px; height: 16px; }
.pl-count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--accent); }
.pl-preview { margin: 0 0 14px; min-height: 190px; max-height: 340px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.pl-preview.empty { color: var(--dim); display: grid; place-items: center; text-align: center; }
.pl-copy { width: 100%; }
.pl-copy:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.pl-hint { margin: 10px 0 0; text-align: center; color: var(--dim); font-size: 13px; }
.pl-hint b { color: var(--muted); }
@media (max-width: 1020px) {
  .why-grid, .planner-grid { grid-template-columns: 1fr; }
  .planner-out { position: static; }
}
@media (max-width: 760px) {
  .planner { padding: 22px !important; }
  .why-grid .strengths { grid-template-columns: 1fr 1fr; }
  .net-info { flex-direction: column; gap: 4px; min-height: 84px; }
}

/* email row under the Discord button */
.email-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); transition: border-color .2s; }
.email-row:hover { border-color: var(--accent-line); }
.email-row > svg:first-child { width: 18px; height: 18px; color: var(--accent); flex: none; }
.email-row > svg:last-child { width: 15px; height: 15px; color: var(--dim); flex: none; margin-left: auto; transition: transform .2s, color .2s; }
.email-row:hover > svg:last-child { transform: translateX(3px); color: var(--accent); }
.email-row span { min-width: 0; }
.email-row small { display: block; color: var(--dim); font-size: 11.5px; }
.email-row b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* work section (jos.gg-inspired) */
#work > .panel + .panel { margin-top: 16px; }
.work-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.work-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; margin: 2px 0 4px; }
.work-head .panel-sub { margin: 0; max-width: 520px; }
.client-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.client-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.client-logos { display: flex; }
.client-logos img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--line-2); margin-left: -12px; transition: transform .25s, margin .25s; background: var(--panel-2); }
.client-logos img:first-child { margin-left: 0; }
.client-logos:hover img { margin-left: 4px; }
.client-logos:hover img:first-child { margin-left: 0; }
.client-logos img:hover { transform: translateY(-4px) scale(1.06); position: relative; z-index: 2; }

.freelance-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 28px !important; border-color: var(--accent-line) !important;
  background: linear-gradient(100deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .02) 60%), var(--panel) !important; position: relative; overflow: hidden; }
.freelance-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.05) 45%, transparent 60%); transform: translateX(-100%); animation: sheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.fl-badge { width: 64px; height: 64px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(var(--accent-rgb), .7); }
.fl-badge svg { width: 32px; height: 32px; }
.fl-main h3 { font-size: 21px; letter-spacing: -0.02em; margin: 4px 0 6px; }
.fl-main p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; max-width: 720px; }
.fl-main .pcard-top { justify-content: flex-start; gap: 14px; }

.pcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 22px 20px 18px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, transform .25s, box-shadow .25s; margin-top: 14px; }
a.pcard:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(var(--accent-rgb), .35); }
.pcard-badge { position: absolute; top: -14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--line-2), 0 8px 18px -8px rgba(0,0,0,.8); background: var(--panel-2); transition: transform .3s; }
.pcard:hover .pcard-badge { transform: rotate(-8deg) scale(1.08); }
.pcard-top { display: flex; flex-direction: column; gap: 3px; padding-right: 50px; margin-bottom: 10px; }
.pcard-top .pc-when { font-size: 10.5px; white-space: nowrap; }
.pcard-top .pc-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: left; }
.fl-main .pcard-top { padding-right: 0; flex-direction: row; gap: 14px; }
.pcard h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 8px; }
.pcard p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.pcard .chips { margin-bottom: 14px; }
.pcard .chip { font-size: 10px; padding: 4px 8px; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); min-height: 30px; }
.pcard-stat { font-family: var(--mono); font-size: 10.5px; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pcard .pc-more { font-size: 13px; white-space: nowrap; flex: none; }
a.pcard:hover .pc-more svg { transform: translateX(4px); }
@media (max-width: 1020px) {
  .pcard-grid { grid-template-columns: repeat(2, 1fr); }
  .freelance-card { grid-template-columns: auto 1fr; }
  .freelance-card .btn { grid-column: 1 / -1; justify-self: start; }
  .client-stack { align-items: flex-start; }
}
@media (max-width: 760px) {
  .pcard-grid { grid-template-columns: 1fr; }
  .freelance-card { grid-template-columns: 1fr; padding: 22px !important; }
  .freelance-card .btn { width: 100%; }
  .fl-badge { width: 52px; height: 52px; }
}

/* project filter tabs */
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; }
.filter { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--muted); background: transparent; border: 0; padding: 9px 14px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.filter span { font-family: var(--mono); font-size: 11px; color: var(--dim); background: var(--panel-3); padding: 1px 7px; border-radius: 999px; transition: background .2s, color .2s; }
.filter:hover { color: var(--text); }
.filter.active { background: var(--accent); color: var(--accent-ink); }
.filter.active span { background: rgba(0,0,0,.18); color: var(--accent-ink); }
.work-group.is-hidden { display: none; }
.work-group.pop { animation: pop .45s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* compact track-record timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; display: grid; gap: 6px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--accent-line), var(--line)); }
.tl-item { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px 8px 0; border-radius: 12px; transition: background .2s; }
.tl-item:hover { background: var(--panel-2); }
.tl-logo { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; border: 2px solid var(--panel); box-shadow: 0 0 0 1px var(--line-2); position: relative; z-index: 1; }
.tl-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tl-top b { font-size: 15px; font-weight: 600; }
.tl-top b a:hover { color: var(--accent); }
.tl-when { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.tl-role { display: block; color: var(--accent); font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.tl-stat { text-align: right; }
.tl-stat b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.tl-stat small { display: block; color: var(--dim); font-size: 11.5px; max-width: 150px; }

/* pull-quote testimonial */
.pullquote { padding: 44px 48px !important; position: relative; overflow: hidden;
  background: radial-gradient(600px circle at 100% 0%, rgba(var(--accent-rgb), .10), transparent 60%), var(--panel) !important; }
.pullquote::before { content: "“"; position: absolute; right: 36px; top: -30px; font-family: Georgia, serif; font-size: 260px; line-height: 1; color: rgba(var(--accent-rgb), .12); pointer-events: none; }
.pq-text { margin: 10px 0 26px; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; max-width: 900px; }
.pq-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.pq-who { display: flex; align-items: center; gap: 12px; }
.pq-who img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; border: 1px solid var(--line-2); }
.pq-who b { display: block; font-size: 15px; }
.pq-who span { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pq-more { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.pq-more summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.pq-more summary::-webkit-details-marker { display: none; }
.pq-more summary::after { content: "+"; font-size: 18px; line-height: 1; transition: transform .2s; }
.pq-more[open] summary::after { transform: rotate(45deg); }
.pq-more .quote { margin-top: 16px; }
.pq-more .quote figcaption { display: none; }

/* mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; height: 52px; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; border-radius: 14px; box-shadow: 0 14px 34px -10px rgba(var(--accent-rgb), .6), 0 0 0 1px rgba(0,0,0,.2);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .sticky-cta svg { width: 18px; height: 18px; }
  .sticky-cta.show { transform: none; }
  .pullquote { padding: 26px 22px !important; }
  .pullquote::before { font-size: 160px; right: 12px; top: -16px; }
  .tl-item { grid-template-columns: 40px 1fr; }
  .tl-logo { width: 40px; height: 40px; }
  .timeline::before { left: 19px; }
  .tl-stat { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .tl-stat small { max-width: none; }
  .filters { display: flex; width: 100%; }
  .filter { flex: 1 1 auto; justify-content: center; padding: 9px 10px; }
}

/* cursor spotlight on interactive cards */
.project-card, .service, .feature, .step { position: relative; }
.project-card::after, .service::after, .feature::after, .step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .08), transparent 45%); }
.project-card:hover::after, .service:hover::after, .feature:hover::after, .step:hover::after { opacity: 1; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding: 36px !important; }
  .hero-visual { max-width: 560px; }
  .logo-strip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid, .faq { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding: 24px !important; gap: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hs:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-cta .btn { flex: 1; }
  .net { padding: 8px; }
  .logo-strip { padding: 16px; }
  .logo-strip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  .logo-item { padding: 6px; align-items: flex-start; }
  .logo-item img { width: 36px; height: 36px; }
  .logo-item b { white-space: normal; font-size: 13px; }
  .logo-item small { white-space: normal; font-size: 11px; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .n-packet { display: none; }
}
