:root {
  color-scheme: light dark;
  --bg: #f6f5f2;
  --ink: #142221;
  --muted: #3e5450;
  --accent: #0f6f60;
  --accent-soft: #d5f3eb;
  --dark: #0e1f1b;
  --line: rgba(20, 34, 33, 0.12);
  --card: #ffffff;
  --shadow: 0 30px 60px rgba(14, 31, 27, 0.12);
  --radius: 24px;
  --focus: #0f6f60;
  --space-1: 12px;
  --space-2: 16px;
  --space-3: 20px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --title: "Sora", "IBM Plex Sans", "Segoe UI", sans-serif;
  --body: "Sora", "IBM Plex Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: radial-gradient(circle at 20% 10%, #ffffff, transparent 50%),
    radial-gradient(circle at 85% 20%, #e3f5f0, transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/noise.svg");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: multiply;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(246, 245, 242, 0.85);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.nav {
  max-width: 1200px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  min-width: 0;
}

.logo span {
  white-space: nowrap;
  font-size: 0.95rem;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
}

.nav-shell {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 120px;
}

main,
.hero-copy,
.hero-visual,
.path-card,
.role,
.card,
.cert-card,
.edu-card,
.article-card,
.product-content,
.product-visual,
.product-cta,
.benefit-card,
.contact-card {
  min-width: 0;
}

[id] {
  scroll-margin-top: 96px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 80px 0 60px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--title);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  margin: 12px 0 20px;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.hero-copy h1 span {
  display: block;
  color: var(--muted);
  font-weight: 300;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.68rem;
  color: var(--accent);
  font-family: var(--mono);
}

.lead {
  font-size: 1.1rem;
  max-width: 520px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--dark);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent);
}

.button.ghost {
  background: transparent;
}

.hero-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 360px;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  background: var(--accent-soft);
}

.portrait-tag {
  position: absolute;
  bottom: -18px;
  left: 20px;
  right: 20px;
  background: var(--dark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-align: center;
}

.path {
  padding: 30px 0 70px;
}

.path-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.path-card h2 {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 60px 0 32px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.section-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
}

.edu-icon {
  margin-right: 8px;
}

.section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
}

.experience {
  padding: 40px 0;
}

.timeline {
  display: grid;
  gap: 24px;
}

.role {
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.company {
  margin-top: 0;
  color: var(--muted);
}

.role ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.systems {
  padding: 40px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card-subtitle {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #e5f6f1 100%);
}

.card.accent {
  background: var(--accent);
  color: #fff;
}

.card.accent span {
  color: #f0fffb;
}

.card.dark {
  background: var(--dark);
  color: #fff;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack strong {
  display: block;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.75rem;
}

.card.dark .tags span {
  background: rgba(255, 255, 255, 0.12);
  color: #f3f6f5;
}

.future {
  padding: 40px 0;
}

.future-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.future-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 18px;
}

.tabs-experience {
  display: flex;
}

.tab-button {
  border: none;
  background: transparent;
  color: var(--muted);
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
}

.tab-button.is-active {
  background: var(--dark);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
  height: 100%;
}

.badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.badge i {
  font-size: 1.2rem;
}

.badge-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--line);
}

.cert-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.edu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.edu-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-family: var(--mono);
}

.edu-card h3 {
  margin: 0 0 8px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
  height: 100%;
}

.article-card a {
  color: var(--accent);
  font-weight: 600;
}

.product-spotlight {
  padding: 40px 0;
}

.product-spotlight .section-head {
  align-items: flex-start;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.product-content {
  display: grid;
  gap: 20px;
}

.product-content > p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 111, 96, 0.32);
  box-shadow: 0 34px 68px rgba(14, 31, 27, 0.16);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.15rem;
}

.benefit-card h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-visual {
  margin: 0;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.product-visual img {
  width: 100%;
  border-radius: 18px;
}

.product-cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--dark);
  color: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.product-cta h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.product-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

.product-cta .button {
  flex: 0 0 auto;
}

@media (prefers-color-scheme: dark) {
  .article-card {
    background: #0f1a18;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .article-card a {
    color: #6be7cf;
  }

  .product-badge {
    background: rgba(78, 225, 194, 0.12);
    color: #6be7cf;
  }

  .benefit-card,
  .product-visual {
    background: var(--card);
  }

  .benefit-card:hover {
    border-color: rgba(78, 225, 194, 0.34);
    box-shadow: 0 34px 68px rgba(0, 0, 0, 0.46);
  }

  .benefit-icon {
    background: rgba(78, 225, 194, 0.14);
    color: #6be7cf;
  }
}

.contact {
  padding: 50px 0 90px;
}

.contact-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "RESILIENCIA";
  position: absolute;
  top: 12px;
  right: -10px;
  font-size: clamp(3rem, 12vw, 7rem);
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-details {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 28px;
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
}

.print-only {
  display: none;
}

.print-header {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.print-header h1 {
  margin: 0;
}

.print-contact {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.print-section {
  margin-top: 18px;
}

.print-role {
  margin-top: 10px;
}

.print-role-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.print-section ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

button,
.button,
.cta,
.tab-button,
.nav-toggle,
.nav-links a {
  touch-action: manipulation;
}

h1,
h2,
h3,
p,
li,
a,
button {
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible,
[role="tab"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1110;
    --ink: #f3f6f5;
    --muted: #c8d5d1;
    --accent: #4ee1c2;
    --accent-soft: rgba(78, 225, 194, 0.12);
    --dark: #0a1512;
    --line: rgba(255, 255, 255, 0.16);
    --card: #101615;
    --shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    --focus: #6be7cf;
  }

  body {
    background: radial-gradient(circle at 20% 10%, #131b19, transparent 55%),
      radial-gradient(circle at 85% 20%, #0f1f1b, transparent 60%),
      var(--bg);
  }

  .site-header {
    background: rgba(12, 17, 16, 0.92);
  }

  .nav-toggle {
    background: rgba(255, 255, 255, 0.06);
    color: #f3f6f5;
  }

  .hero-stats div,
  .role,
  .card,
  .cert-card,
  .edu-card,
  .future-card,
  .path-card {
    background: var(--card);
  }

  .role-tags span,
  .tags span {
    background: rgba(255, 255, 255, 0.1);
    color: #f3f6f5;
  }

  .role-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
  }

  .card.highlight {
    background: #0f1a18;
  }

  .card.highlight p {
    color: #d7e4e0;
  }

  .card-subtitle {
    color: #c9d7d3;
  }

  .tabs {
    background: rgba(255, 255, 255, 0.06);
  }

  .tab-button.is-active {
    background: #1d2a27;
  }

  .pill-row span {
    background: rgba(78, 225, 194, 0.18);
    color: #f3f6f5;
  }

  .skill-cloud span {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f6f5;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .hero,
  .path,
  .experience,
  .systems,
  .future,
  .product-spotlight,
  .contact,
  .site-footer {
    display: none;
  }

  .contact-card::after {
    display: none;
  }

  .print-only {
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero {
    gap: 56px;
  }
}

@media (min-width: 1536px) {
  .nav,
  main,
  .site-footer {
    max-width: 1320px;
  }
}

@media (min-width: 1920px) {
  .nav,
  main,
  .site-footer {
    max-width: 1440px;
  }
}

@media (max-width: 1024px) {
  .nav {
    padding: 20px 24px;
  }

  main {
    padding: 0 24px 110px;
  }

  .hero {
    gap: 32px;
    padding: 72px 0 52px;
  }

  .section-head {
    margin: 52px 0 28px;
  }

  .tabs {
    width: 100%;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .nav {
    padding: 16px 20px;
  }

  .logo span {
    font-size: 0.9rem;
  }

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

  .nav-shell {
    position: fixed;
    top: calc(var(--mobile-header-height, 72px) + 8px);
    left: max(16px, env(safe-area-inset-left));
    right: max(16px, env(safe-area-inset-right));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--mobile-header-height, 72px) - 20px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 990;
  }

  .menu-open .nav-shell {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links a {
    padding: 8px 10px;
    border-bottom: none;
    border-radius: 10px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--accent-soft);
    border-color: transparent;
  }

  .nav-shell .cta {
    width: 100%;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .portrait-tag {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 0 20px 96px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .skills-bento {
    grid-template-columns: 1fr;
  }

  .role,
  .card,
  .cert-card,
  .edu-card,
  .article-card,
  .benefit-card,
  .path-card,
  .future-card {
    padding: 20px;
  }

  .product-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .contact-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .tabs {
    border-radius: 16px;
  }

  .tab-button {
    flex: 1 1 auto;
    text-align: center;
  }

  .cert-grid,
  .articles-grid,
  .edu-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .product-cta .button,
  .contact-actions .button {
    width: 100%;
    text-align: center;
  }

  .contact-card::after {
    right: -20px;
    font-size: clamp(2.5rem, 18vw, 4.8rem);
  }

  .site-footer {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
  }

  main {
    padding: 0 16px 84px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 2.6rem);
  }

  .eyebrow {
    letter-spacing: 0.22em;
  }

  .tabs {
    padding: 4px;
    gap: 4px;
  }

  .tab-button {
    font-size: 0.84rem;
    padding: 10px 12px;
  }

  .cert-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .badge,
  .badge-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .role-meta {
    font-size: 0.68rem;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .product-badge {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .product-visual {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.role-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  background: #fff;
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .role-tags span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
  }
}
.skills-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.skills-hero h3 {
  margin-top: 8px;
}

.skills-hero {
  grid-column: 1 / -1;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-row span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.78rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-cloud span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .skills-bento {
    grid-template-columns: 1fr;
  }
}
