:root {
  --bg: #0f1115;
  --surface: #171a20;
  --surface-soft: #20242d;
  --text: #edf0f4;
  --muted: #a6afbb;
  --line: #2f3540;
  --brand: #e8edf4;
  --brand-ink: #dce3ed;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--text);
  background: radial-gradient(1100px 680px at 88% -6%, rgba(255, 255, 255, 0.08), transparent 58%),
    radial-gradient(760px 480px at 8% -8%, rgba(255, 255, 255, 0.06), transparent 56%),
    linear-gradient(180deg, #12151a 0%, var(--bg) 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 120;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f5f7fa;
  color: #0d1014;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 0.8rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  position: relative;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
}

.nav {
  display: flex;
  gap: 0.34rem;
  margin-left: auto;
  white-space: nowrap;
}

.nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: #bcc4cf;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
  transition: all 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-soft);
}

.header-cta,
.header-cta-whatsapp {
  margin-left: 0.2rem;
  white-space: nowrap;
}

.header-cta-whatsapp {
  margin-left: 0;
}

.nav .nav-business-cta,
.nav .nav-whatsapp-cta {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.44rem 0.74rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--surface-soft);
}

.nav-backdrop {
  display: none;
}

.hero {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 1.1rem;
}

.split-hero,
.hero-grid,
.cv-top {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
}

h1 {
  font-size: clamp(1.34rem, 2.8vw, 2.18rem);
  max-width: 17ch;
}

h2 {
  font-size: clamp(1.05rem, 2vw, 1.54rem);
}

h3 {
  font-size: clamp(0.92rem, 1.25vw, 1.04rem);
}

.hero-title {
  margin-top: 0.48rem;
  color: var(--text);
}

.lead {
  margin-top: 0.8rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(0.88rem, 1vw, 0.97rem);
}

.actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.62rem 0.98rem;
  transition: all 160ms ease;
}

.btn-primary {
  color: #101318;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(241, 244, 248, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--surface-soft);
}

.card-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: #d7dde5;
  font-weight: 700;
  text-decoration: none;
}

.card-link::after {
  content: "  ›";
}

.panel,
.card,
.article,
.hero-portrait,
.metric,
.lane,
.signal-tile,
.verify-card,
.cv-card,
.post-side,
.case-card,
.skill-row,
.radial-card,
.tape-item,
.ribbon-node,
.orbit-card,
.identity-node {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.case-card:hover,
.metric:hover,
.identity-node:hover {
  transform: translateY(-3px);
  border-color: #4a5362;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.42);
}

.panel,
.article {
  padding: clamp(0.95rem, 2.1vw, 1.5rem);
}

.card,
.metric,
.lane,
.signal-tile,
.verify-card,
.cv-card,
.post-side,
.case-card,
.skill-row,
.radial-card,
.tape-item,
.ribbon-node,
.orbit-card,
.identity-node {
  padding: 0.85rem;
}

.section {
  padding-top: clamp(0.8rem, 2vw, 1.2rem);
}

.grid,
.grid-2,
.grid-3,
.grid-4,
.metrics,
.lane-grid,
.signal-grid,
.verify-grid,
.cv-grid,
.mosaic-grid,
.post-stream,
.tape,
.timeline,
.identity-map,
.case-grid,
.skill-lab-grid,
.radial-skills,
.hero-stack,
.about-bands {
  display: grid;
  gap: 0.85rem;
}

.grid-2,
.post-stream,
.skill-lab-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3,
.lane-grid,
.signal-grid,
.verify-grid,
.cv-grid,
.radial-skills,
.case-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-4,
.metrics,
.identity-map {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.mosaic-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.mosaic-wide,
.mosaic-mid,
.mosaic-full,
.case-card.wide,
.case-card.narrow {
  grid-column: auto;
}

.kicker {
  margin: 0 0 0.24rem;
  color: #d3dae4;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card h3 {
  margin: 0;
}

.card p + h3,
.card h3 + p,
.card p + p {
  margin-top: 0.35rem;
}

.tag,
.live-badge,
.category-chip,
.skill-ping {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: #c7ced8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
}

.small {
  font-size: 0.82rem;
}

.muted {
  color: var(--muted);
}

.hero-portrait {
  padding: 0.9rem;
  max-width: 300px;
  margin-left: auto;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.portrait-frame,
.avatar-frame {
  width: min(236px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #262c36;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  clip-path: polygon(25% 7%, 75% 7%, 98% 50%, 75% 93%, 25% 93%, 2% 50%);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}

.portrait-frame img,
.avatar-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.14) brightness(0.94);
  transform: scale(0.96);
  transition: transform 260ms ease;
}

.hero-portrait:hover .portrait-frame img {
  transform: scale(1);
}

.typing-word {
  color: var(--text);
}

.hero-stack,
.about-bands,
.story-rail,
.timeline,
.tape {
  margin-top: 0.8rem;
}

.about-band {
  display: grid;
  gap: 0.3rem;
}

.about-band strong,
.stack-card b,
.skill-row-head b,
.identity-node b,
.meta-list b,
.clean-list b {
  color: var(--text);
}

.stack-card,
.story-node,
.cv-sheet,
.skill-row,
.radial-card,
.identity-node {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.story-rail {
  padding-left: 0;
}

.story-rail::before,
.ribbon::before,
.eyebrow::before {
  content: none;
}

.skill-track,
.signal-meter,
.progress,
.radial-meter {
  background: #2d3340;
  border-radius: 999px;
}

.skill-track,
.signal-meter {
  height: 8px;
  overflow: hidden;
}

.skill-fill,
.signal-meter span,
.progress-done {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--brand);
  transition: width 800ms ease;
}

.radial-meter {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#e8ecf3 calc(var(--pct, 0) * 1%), #2d3340 0);
}

.radial-meter::after {
  content: attr(data-label);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #151920;
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumb {
  font-size: 0.82rem;
  color: #9ea7b4;
}

.breadcrumb a {
  text-decoration: none;
}

.callout {
  margin-top: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid #3a4352;
  background: #1d232d;
  color: #cbd4df;
  padding: 0.7rem;
}

.metric strong {
  display: block;
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.36rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 1rem;
}

.clean-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.clean-list li {
  color: var(--muted);
}

.clean-list li b {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.post-visual {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.post-image {
  width: 100%;
  height: auto;
  display: block;
}

.post-visual figcaption {
  padding: 0.52rem 0.74rem 0.64rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer {
  margin: 2rem 0 2.2rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  color: #9da8b6;
  font-size: 0.84rem;
}

.footer-links {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-links a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 980px) {
  .split-hero,
  .hero-grid,
  .cv-top {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .article-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(1120px, 94vw);
  }

  .header-inner {
    min-height: 60px;
  }

  .hero {
    padding-top: 2rem;
  }

  .btn {
    width: auto;
  }

  body.js-ready .header-cta,
  body.js-ready .header-cta-whatsapp {
    display: none;
  }

  body.js-ready .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  body.js-ready .nav {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: auto;
    right: 3vw;
    width: min(360px, 94vw);
    margin-left: auto;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #151920;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 0.3rem;
    z-index: 60;
  }

  body.js-ready.nav-open .nav {
    display: flex;
  }

  body.js-ready .nav a {
    width: 100%;
    font-size: 0.86rem;
    padding: 0.58rem 0.75rem;
    border-radius: 10px;
  }

  body.js-ready .nav-backdrop {
    display: none;
  }

  body.js-ready.nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: var(--header-height) 0 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 45;
  }

  body.js-ready.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .actions {
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
  }
}
