/* ==============================================
   XenoLabs — Page-specific styles
   Extracted from inline style blocks
   ============================================== */

/* === PAGE: home === */

.hero-home { max-width: var(--container); margin: 0 auto; padding: 88px 28px 100px; position: relative; }
.hero-home-inner { position: relative; }
.hero-home-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.035em;
  color: var(--fg-1); margin: 24px 0 0; max-width: 14ch;
}
.hero-home-sub { font-size: 18px; line-height: 1.6; color: var(--fg-2); margin: 28px 0 40px; max-width: 54ch; }
.hero-home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-home-meta { display: flex; gap: 40px; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--xl-line); flex-wrap: wrap; }
.hero-home-meta .num {
  font-family: var(--font-mono); font-size: 32px; font-weight: 600;
  color: var(--fg-1); display: block; letter-spacing: -0.02em;
}
.hero-home-meta .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 4px; }
.hero-home-meta em { font-style: normal; color: var(--xl-cyan); }

.hero-home-mark {
  position: absolute; right: -20px; top: 40px; width: 380px; height: 380px;
  display: grid; place-items: center;
  animation: float 8s ease-in-out infinite;
}
.hero-home-mark img { width: 56%; filter: drop-shadow(0 20px 60px rgba(93,235,254,0.45)); position: relative; z-index: 2; }
.hero-home-mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(93,235,254,0.25) 0%, transparent 60%);
  filter: blur(24px); animation: pulse 4s ease-in-out infinite;
}
.orbit {
  position: absolute; border-radius: 50%; border: 1px solid rgba(93,235,254,0.18);
  animation: orbit-spin 20s linear infinite;
}
.orbit-1 { inset: 0; }
.orbit-2 { inset: 40px; animation-duration: 14s; animation-direction: reverse; border-style: dashed; opacity: 0.6; }
.orbit-3 { inset: 80px; animation-duration: 8s; border-color: rgba(27,125,230,0.3); }
.orbit::before {
  content: ""; position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--xl-cyan);
  box-shadow: 0 0 10px var(--xl-cyan);
}
.orbit-2::before { background: var(--xl-blue); box-shadow: 0 0 8px var(--xl-blue); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) { .hero-home-mark { display: none; } }

.marquee {
  background: var(--bg-0); border-top: 1px solid var(--xl-line);
  border-bottom: 1px solid var(--xl-line); overflow: hidden; padding: 18px 0;
  position: relative; z-index: 1;
}
.marquee-inner { max-width: 100%; overflow: hidden; }
.marquee-track {
  display: flex; gap: 32px; animation: marquee-scroll 40s linear infinite;
  white-space: nowrap; align-items: center;
}
.marquee-track span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--fg-3); text-transform: uppercase;
}
.marquee-track .dot { width: 4px; height: 4px; background: var(--xl-cyan); border-radius: 50%; opacity: 0.4; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  padding: 28px; background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); position: relative; counter-increment: step;
  transition: all var(--dur-base) var(--ease-out-expo);
}
.step:hover { border-color: var(--xl-line-brand); transform: translateY(-2px); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono); font-size: 13px; color: var(--xl-cyan);
  letter-spacing: 0.1em; font-weight: 600;
}
.step h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--fg-1); margin: 16px 0 8px; }
.step p { font-size: 14px; color: var(--fg-3); margin: 0; line-height: 1.55; }
.step .line { position: absolute; top: 40px; right: -14px; width: 20px; height: 1px; background: var(--xl-line-strong); }
.step:last-child .line { display: none; }
@media (max-width: 880px) { .process-list { grid-template-columns: 1fr 1fr; } .step .line { display: none; } }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why {
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
              linear-gradient(135deg, rgba(93,235,254,0.2), rgba(27,125,230,0.05)) border-box;
  border: 1px solid transparent; border-radius: var(--r-lg); padding: 32px;
  transition: all var(--dur-base) var(--ease-out-expo);
}
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-ic {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--xl-gradient-soft); color: var(--xl-cyan);
  display: grid; place-items: center; margin-bottom: 20px;
}
.why h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--fg-1); margin: 0 0 10px; letter-spacing: -0.015em; }
.why p { font-size: 14px; color: var(--fg-3); line-height: 1.6; margin: 0; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }

.testimonial-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  padding: 32px; background: var(--bg-3); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); position: relative; transition: all var(--dur-base) var(--ease-out-expo);
}
.quote:hover { border-color: var(--xl-line-brand); transform: translateY(-2px); }
.quote::before {
  content: "\201C"; position: absolute; top: 12px; left: 24px;
  font-family: var(--font-display); font-size: 72px; color: var(--xl-cyan);
  opacity: 0.22; line-height: 1;
}
.quote p { font-size: 15px; color: var(--fg-1); line-height: 1.55; margin: 24px 0 24px; position: relative; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--xl-gradient); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--fg-on-brand); font-size: 14px;
}
.quote cite { font-style: normal; display: block; }
.quote cite .name { font-size: 13px; color: var(--fg-1); font-weight: 500; display: block; }
.quote cite .co { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 880px) { .testimonial-strip { grid-template-columns: 1fr; } }


/* === PAGE: about === */

.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.story-p { font-size: 16px; line-height: 1.7; color: var(--fg-2); margin: 0 0 16px; max-width: 48ch; }
.story-img {
  position: relative;
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--xl-line-brand);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
.story-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,125,230,0.25) 0%, rgba(93,235,254,0.05) 50%, rgba(5,7,13,0.5) 100%);
}
.story-badge {
  position: absolute; bottom: 24px; left: 24px; z-index: 1;
  background: rgba(5,7,13,0.85); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--xl-line-brand);
  border-radius: var(--r-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.badge-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  background: var(--xl-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1; letter-spacing: -0.02em;
}
.badge-num em { font-style: normal; }
.badge-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); letter-spacing: 0.14em; line-height: 1.4; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value {
  padding: 28px; background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); transition: all var(--dur-base);
}
.value:hover { transform: translateY(-4px); border-color: var(--xl-line-brand); box-shadow: var(--glow-cyan); }
.value-ic {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: rgba(93,235,254,0.08); border: 1px solid var(--xl-line-brand);
  color: var(--xl-cyan); display: grid; place-items: center; margin-bottom: 16px;
}
.value h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--fg-1); margin: 0 0 8px; letter-spacing: -0.01em; }
.value p { font-size: 14px; line-height: 1.55; color: var(--fg-3); margin: 0; }
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
  background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); padding: 28px; text-align: center;
  transition: all var(--dur-base); position: relative; overflow: hidden;
}
.member:hover { transform: translateY(-4px); border-color: var(--xl-line-brand); }
.member-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--xl-gradient); margin: 0 auto 20px;
  display: grid; place-items: center; position: relative;
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--fg-on-brand);
  box-shadow: 0 10px 30px -8px rgba(93,235,254,0.4);
}
.member-glow {
  position: absolute; inset: -4px; border-radius: 50%;
  background: var(--xl-gradient); filter: blur(16px); opacity: 0.35; z-index: -1;
}
.member h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--fg-1); margin: 0 0 4px; letter-spacing: -0.01em; }
.member-role { font-family: var(--font-mono); font-size: 11px; color: var(--xl-cyan); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px; }
.member p { font-size: 13px; color: var(--fg-3); line-height: 1.55; margin: 0; }
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr 1fr; } }

.timeline { position: relative; padding-left: 0; max-width: 780px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 90px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(var(--xl-line-brand), var(--xl-line), transparent);
}
.tl-item { display: grid; grid-template-columns: 90px 32px 1fr; gap: 0; padding: 20px 0; align-items: flex-start; }
.tl-year { font-family: var(--font-mono); font-size: 14px; color: var(--xl-cyan); font-weight: 600; letter-spacing: 0.06em; padding-top: 2px; }
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--xl-gradient); margin: 6px auto 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-1), 0 0 12px -2px var(--xl-cyan);
}
.tl-body h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--fg-1); margin: 0 0 6px; letter-spacing: -0.015em; }
.tl-body p { font-size: 14px; line-height: 1.6; color: var(--fg-3); margin: 0; }


/* === PAGE: blog === */

.feature-post {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--bg-2); border: 1px solid var(--xl-line-brand);
  border-radius: var(--r-xl); overflow: hidden;
  transition: all var(--dur-base);
}
.feature-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--glow-cyan); }
.feat-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.feat-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,125,230,0.28) 0%, transparent 50%);
}
.feat-cat {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--fg-on-brand); background: var(--xl-gradient);
  padding: 6px 14px; border-radius: var(--r-pill); font-weight: 600;
}
.feat-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.feat-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: var(--fg-1); margin: 18px 0 16px; line-height: 1.2; letter-spacing: -0.02em; }
.feat-body > p { font-size: 16px; line-height: 1.65; color: var(--fg-3); margin: 0 0 24px; }
@media (max-width: 880px) { .feature-post { grid-template-columns: 1fr; } .feat-body { padding: 28px; } }

.post-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.1em; text-transform: uppercase; }
.post-meta .post-dot { width: 3px; height: 3px; background: var(--xl-cyan); border-radius: 50%; }
.post-date { color: var(--xl-cyan); }
.post-author { display: flex; gap: 12px; align-items: center; }
.post-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; gap: 24px; flex-wrap: wrap; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  transition: all var(--dur-base) var(--ease-out-expo);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--xl-line-brand); box-shadow: var(--shadow-lg); }
.post-card.hide { display: none; }
.post-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out-expo); filter: saturate(0.85); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,125,230,0.22), transparent 60%); }
.post-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  padding: 5px 10px; background: rgba(5,7,13,0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--xl-line-brand); color: var(--xl-cyan);
  border-radius: var(--r-pill); text-transform: uppercase;
}
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--fg-1); margin: 12px 0 8px; letter-spacing: -0.015em; line-height: 1.25; }
.post-card p { font-size: 14px; color: var(--fg-3); line-height: 1.55; margin: 0 0 20px; flex: 1; }
.post-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--xl-line); }
.read-more { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--xl-cyan); text-transform: uppercase; }
@media (max-width: 880px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }


/* === PAGE: contact === */

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-form {
  background: var(--bg-2); border: 1px solid var(--xl-line-strong);
  border-radius: var(--r-xl); padding: 40px;
}
.form-head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--xl-line); }
.consent-row { margin: 16px 0 24px; }
.contact-side { display: grid; gap: 12px; position: sticky; top: 96px; }
.contact-card {
  padding: 24px; background: var(--bg-2);
  border: 1px solid var(--xl-line); border-radius: var(--r-lg);
  transition: all var(--dur-base);
}
.contact-card:hover { border-color: var(--xl-line-brand); transform: translateY(-2px); }
.cc-ic {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: rgba(93,235,254,0.08); color: var(--xl-cyan);
  border: 1px solid var(--xl-line-brand);
  display: grid; place-items: center; margin-bottom: 12px;
}
.cc-lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--fg-3); letter-spacing: 0.2em; margin-bottom: 6px; }
.cc-v { font-size: 15px; color: var(--fg-1); line-height: 1.5; font-weight: 500; }
.cc-v a { color: var(--fg-1); }
.cc-v a:hover { color: var(--xl-cyan); }
.cc-hours { display: grid; gap: 10px; margin-top: 4px; }
.cc-hours > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--fg-2); }
.cc-hours strong { color: var(--fg-1); font-weight: 500; font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .contact-form { padding: 28px; }
}

.map-ph {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 21/8; background: linear-gradient(135deg, #081226, #020510);
  border: 1px solid var(--xl-line-brand); display: grid; place-items: center;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,235,254,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,235,254,0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(27,125,230,0.2), transparent 60%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}
.map-pin { position: relative; display: grid; place-items: center; }
.pin-dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--xl-gradient);
  box-shadow: 0 0 0 4px rgba(93,235,254,0.25), 0 0 30px -4px var(--xl-cyan); z-index: 2;
}
.pin-pulse {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--xl-cyan); animation: pulse-ring 2s ease-out infinite;
}
.pin-label {
  position: absolute; top: 30px; left: 24px;
  background: rgba(5,7,13,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--xl-line-brand); border-radius: var(--r-md);
  padding: 10px 14px; white-space: nowrap;
}
@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.map-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  padding: 6px 12px; background: rgba(5,7,13,0.7);
  border: 1px solid var(--xl-line-strong); border-radius: var(--r-pill);
  letter-spacing: 0.06em;
}


/* === PAGE: portfolio === */

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--xl-line); }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 18px; background: transparent; color: var(--fg-2);
  border: 1px solid var(--xl-line-strong); border-radius: var(--r-pill);
  cursor: pointer; transition: all var(--dur-fast);
}
.chip:hover { color: var(--xl-cyan); border-color: var(--xl-cyan); }
.chip.active { background: var(--xl-gradient); color: var(--fg-on-brand); border-color: transparent; font-weight: 600; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 16px;
}
.work {
  background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none;
  transition: all var(--dur-base) var(--ease-out-expo);
  display: flex; flex-direction: column; position: relative;
}
.work:hover { transform: translateY(-4px); border-color: var(--xl-line-brand); box-shadow: var(--shadow-lg); }
.work.work-big { grid-column: span 2; grid-row: span 2; }
.work-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.work.work-big .work-img { aspect-ratio: 16/9; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out-expo); filter: saturate(0.85); }
.work:hover .work-img img { transform: scale(1.06); }
.work-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,125,230,0.28) 0%, transparent 50%, rgba(5,7,13,0.7) 100%);
}
.work-body { padding: 24px; display: flex; flex-direction: column; flex: 1; position: relative; }
.work-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--xl-cyan); margin-bottom: 10px; text-transform: uppercase; }
.work h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg-1); margin: 0 0 8px; letter-spacing: -0.015em; }
.work p { font-size: 14px; color: var(--fg-3); line-height: 1.55; margin: 0 0 16px; flex: 1; }
.work-stack { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.04em; padding-top: 14px; border-top: 1px solid var(--xl-line); }
.work-arrow {
  position: absolute; top: 20px; right: 24px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(5,7,13,0.75); backdrop-filter: blur(8px);
  border: 1px solid var(--xl-line-brand); color: var(--xl-cyan);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 18px;
  transition: all var(--dur-base);
}
.work:hover .work-arrow { background: var(--xl-gradient); color: var(--fg-on-brand); border-color: transparent; transform: translate(2px, -2px); }
.work.work-big .work-arrow { top: auto; bottom: 20px; right: 24px; width: 48px; height: 48px; font-size: 22px; }
@media (max-width: 880px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work.work-big { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work.work-big { grid-column: span 1; }
}
.work.hide { display: none; }

.spotlight {
  max-width: 880px; margin: 0 auto; padding: 48px;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--xl-gradient) border-box;
  border: 1px solid transparent; border-radius: var(--r-2xl);
  position: relative; overflow: hidden;
}
.spotlight::before { content: ""; position: absolute; inset: 0; background: var(--xl-gradient-radial); opacity: 0.6; }
.spotlight > * { position: relative; z-index: 1; }
.spotlight-mark {
  font-family: var(--font-display); font-size: 120px; line-height: 1; color: var(--xl-cyan);
  opacity: 0.25; margin: -20px 0 -40px;
}
.spotlight-q { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--fg-1); font-weight: 500; letter-spacing: -0.015em; max-width: 22ch; margin: 0 0 28px; }
.spotlight-author { display: flex; align-items: center; gap: 14px; margin: 0; }


/* === PAGE: services === */

.why-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
  background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); padding: 36px 32px;
  transition: all var(--dur-base) var(--ease-out-expo);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--xl-gradient); opacity: 0; transition: opacity var(--dur-base);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--xl-line-brand); }
.why-card:hover::before { opacity: 1; }
.why-ic-big {
  width: 64px; height: 64px; border-radius: var(--r-lg);
  background: var(--xl-gradient-soft); border: 1px solid var(--xl-line-brand);
  color: var(--xl-cyan); display: grid; place-items: center; margin-bottom: 24px;
  transition: all var(--dur-base);
}
.why-card:hover .why-ic-big { background: var(--xl-gradient); color: var(--fg-on-brand); border-color: transparent; }
.why-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--xl-cyan); text-transform: uppercase; margin-bottom: 12px; }
.why-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg-1); margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.15; }
.why-card p { font-size: 14px; color: var(--fg-3); line-height: 1.6; margin: 0; }
@media (max-width: 880px) { .why-3 { grid-template-columns: 1fr; } }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.skill { margin-bottom: 22px; }
.skill-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 14px; color: var(--fg-1); font-weight: 500; }
.skill-head .pct { font-family: var(--font-mono); color: var(--xl-cyan); font-size: 13px; }
.skill-bar { height: 6px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.skill-fill {
  height: 100%; background: var(--xl-gradient); border-radius: 999px;
  box-shadow: 0 0 20px -4px rgba(93,235,254,0.6);
  animation: skill-grow 1.4s var(--ease-out-expo) 0.2s both;
  transform-origin: left;
}
@keyframes skill-grow { from { transform: scaleX(0); } }
@media (max-width: 720px) { .skills-grid { grid-template-columns: 1fr; gap: 0; } }

.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq {
  background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); overflow: hidden; transition: all var(--dur-base);
}
.faq[open] { border-color: var(--xl-line-brand); background: var(--bg-3); }
.faq summary {
  padding: 22px 26px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--fg-1);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ic {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(93,235,254,0.1); color: var(--xl-cyan);
  display: grid; place-items: center; font-size: 20px;
  transition: transform var(--dur-base); flex-shrink: 0;
}
.faq[open] .faq-ic { transform: rotate(45deg); background: var(--xl-gradient); color: var(--fg-on-brand); }
.faq-body { padding: 0 26px 22px; color: var(--fg-3); line-height: 1.7; font-size: 15px; }
.faq-body p { margin: 0; }


/* === PAGE: service-details === */

.sd-intro { display: grid; grid-template-columns: 1.8fr 1fr; gap: 48px; align-items: start; }
.sd-ic {
  width: 72px; height: 72px; border-radius: var(--r-lg);
  background: var(--xl-gradient-soft); border: 1px solid var(--xl-line-brand);
  color: var(--xl-cyan); display: grid; place-items: center; margin-bottom: 28px;
}
.sd-lead { font-size: 22px; line-height: 1.5; color: var(--fg-1); font-weight: 450; margin: 0 0 24px; letter-spacing: -0.01em; }
.sd-body { font-size: 16px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.sd-side {
  background: var(--bg-2); border: 1px solid var(--xl-line-strong);
  border-radius: var(--r-lg); padding: 28px; position: sticky; top: 96px;
}
.sd-side h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 16px; font-weight: 500; }
.stack-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stack-list li {
  font-family: var(--font-mono); font-size: 12px;
  padding: 6px 12px; background: var(--bg-3); border: 1px solid var(--xl-line-strong);
  border-radius: var(--r-pill); color: var(--fg-1); letter-spacing: 0.02em;
}
@media (max-width: 880px) { .sd-intro { grid-template-columns: 1fr; } .sd-side { position: static; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-col-card {
  background: var(--bg-2); border: 1px solid var(--xl-line);
  border-radius: var(--r-lg); padding: 36px;
  transition: all var(--dur-base);
}
.two-col-card:hover { border-color: var(--xl-line-brand); }
.tc-kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--xl-cyan); text-transform: uppercase; margin-bottom: 12px; }
.two-col-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--fg-1); margin: 0 0 20px; letter-spacing: -0.02em; }
.tc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tc-list li { font-size: 15px; color: var(--fg-2); line-height: 1.5; display: flex; gap: 12px; align-items: baseline; }
.tc-check {
  font-family: var(--font-mono); font-weight: 700;
  background: var(--xl-gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; flex-shrink: 0;
}
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }


/* === PAGE: post (single article) === */

.post-article { max-width: 720px; margin: 0 auto; }
.post-article-header { margin-bottom: 48px; }
.post-article-image {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/9;
  margin-bottom: 40px; border: 1px solid var(--xl-line);
}
.post-article-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.post-article-body { font-size: 17px; line-height: 1.75; color: var(--fg-2); }
.post-article-body h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--fg-1); margin: 40px 0 16px; letter-spacing: -0.02em; }
.post-article-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg-1); margin: 32px 0 12px; }
.post-article-body p { margin: 0 0 24px; }
.post-article-body a { color: var(--xl-cyan); }
.post-article-body ul, .post-article-body ol { padding-left: 24px; margin: 0 0 24px; }
.post-article-body li { margin-bottom: 8px; }
.post-article-body pre { background: var(--bg-3); border: 1px solid var(--xl-line); border-radius: var(--r-md); padding: 20px; overflow-x: auto; margin: 0 0 24px; }
.post-article-body code { font-family: var(--font-mono); font-size: 14px; }
.post-article-body blockquote { border-left: 3px solid var(--xl-cyan); padding-left: 20px; margin: 0 0 24px; color: var(--fg-3); font-style: italic; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-3); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px; }
.post-back:hover { color: var(--xl-cyan); }
