/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }
html, body { overflow-x: hidden; }

/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --bg:        #FFFFFA;
  --fg:        #0D0D0D;
  --fg-muted:  #555550;
  --fg-subtle: #BBBBB0;
  --border:    rgba(13,13,13,0.12);

  /* NB vivid palette — reference edition */
  --c-yellow:  #F7CB46;
  --c-lime:    #99E885;
  --c-pink:    #FE90E8;
  --c-purple:  #9B72F8;
  --c-blue:    #C0F7FE;
  --c-peach:   #FFDC8B;
  --c-lavender:#C4B5FD;

  --accent:    var(--c-lime);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h:    68px;
  --pad-x:    52px;
  --pad-page: 120px;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.76, 0, 0.24, 1);

  /* NB shadows (same as before, now always dark) */
  --nb-shadow:    5px 5px 0px var(--fg);
  --nb-shadow-sm: 3px 3px 0px var(--fg);
  --nb-shadow-lg: 7px 7px 0px var(--fg);
  --nb-border:    2.5px solid var(--fg);
}

/* ══════════════════════════════════════
   TEXT SELECTION — lavender
══════════════════════════════════════ */
::selection        { background: #C4B5FD; color: #0D0D0D; }
::-moz-selection   { background: #C4B5FD; color: #0D0D0D; }

/* ══════════════════════════════════════
   DRAG SELECT BOX — Figma-style
══════════════════════════════════════ */
.nb-drag-box {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  background: rgba(155, 114, 248, 0.12);
  border: 1.5px solid #9B72F8;
  display: none;
  box-sizing: border-box;
}
.nb-drag-handle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border: 2px solid #9B72F8;
  display: block;
  box-sizing: border-box;
}
.nb-drag-handle--tl { top: -4px;    left: -4px;  }
.nb-drag-handle--tr { top: -4px;    right: -4px; }
.nb-drag-handle--bl { bottom: -4px; left: -4px;  }
.nb-drag-handle--br { bottom: -4px; right: -4px; }

/* ══════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .page-transition { display: none !important; }
  .char { opacity: 1 !important; transform: none !important; }
}


/* ══════════════════════════════════════
   NOISE + SCROLL PROGRESS
══════════════════════════════════════ */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 1.5px; width: 0%;
  background: var(--accent);
  z-index: 10000;
  transition: width 0.08s linear;
}

/* ══════════════════════════════════════
   CURSOR — NB chunky arrow
══════════════════════════════════════ */
@media (pointer: fine) {
  /* Kill every cursor — UA stylesheet rules (a{cursor:pointer}, input{cursor:text}, etc.)
     are overridden by !important in author styles */
  html, * { cursor: none !important; }
  /* Slider thumbs need explicit override because pseudo-elements aren't covered by * */
  .lb-slider::-webkit-slider-thumb { cursor: none !important; }
  .lb-slider::-moz-range-thumb    { cursor: none !important; }
}

.nb-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: opacity 0.2s;
  /* drop-shadow for NB depth */
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.85));
}

/* cursor child SVGs: hide non-active ones */
.nb-cursor .cur-pointer,
.nb-cursor .cur-text,
.nb-cursor .cur-zoom,
.nb-cursor .cur-grab,
.nb-cursor .cur-grabbing { display: none; }
.nb-cursor .cur-arrow    { display: block; }

/* pointer state */
.nb-cursor.is-pointer .cur-arrow   { display: none; }
.nb-cursor.is-pointer .cur-pointer { display: block; }

/* text state */
.nb-cursor.is-text .cur-arrow { display: none; }
.nb-cursor.is-text .cur-text  { display: block; }

/* zoom state — magnifying glass */
.nb-cursor.is-zoom .cur-arrow { display: none; }
.nb-cursor.is-zoom .cur-zoom  { display: block; }

/* grab state — open hand */
.nb-cursor.is-grab .cur-arrow { display: none; }
.nb-cursor.is-grab .cur-grab  { display: block; }

/* grabbing state — closed fist */
.nb-cursor.is-grabbing .cur-arrow    { display: none; }
.nb-cursor.is-grabbing .cur-grabbing { display: block; }

.nb-cursor.is-hidden {
  opacity: 0;
}

/* ══════════════════════════════════════
   BASE
══════════════════════════════════════ */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* dot grid — classic NB background, bold and visible */
  background-image: radial-gradient(circle, rgba(0,0,0,0.20) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

main { flex: 1; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  z-index: 500;
  overflow: hidden;
}

.nav::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.5s;
  z-index: -1;
}

.nav.scrolled::before { opacity: 0.92; }

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.5; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--fg);
  transition: width 0.35s var(--ease);
}

.nav-link:hover { color: var(--fg); }
.nav-link:hover::after,
.nav-link[aria-current="page"] { color: var(--fg); }
.nav-link[aria-current="page"]::after { width: 100%; }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav-btn {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.nav-btn:hover {
  box-shadow: 4px 4px 0 var(--fg);
  transform: translate(-1px, -1px);
}
.theme-icon { font-size: 15px; }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  display: inline-block;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Hamburger button — hidden on desktop */
.nav-hamburger { display: none; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg);
  text-decoration: none;
}

.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--fg); }

/* ══════════════════════════════════════
   PAGE HEADER (shared across inner pages)
══════════════════════════════════════ */
.page-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 56px;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.page-header-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.line-wrap { display: block; overflow: hidden; }
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(105%);
  animation: charReveal 0.9s var(--ease) both;
}

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  user-select: none;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.ticker-sep { color: var(--fg-subtle); font-size: 9px; }

/* ══════════════════════════════════════
   PROJECT CARD (home + projects page)
══════════════════════════════════════ */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--fg-subtle);
}

.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.75s var(--ease), filter 0.4s;
}

.project-card:hover .card-img-wrap img {
  transform: scale(1.05);
  filter: saturate(1);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 300;
  color: var(--fg-subtle);
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.project-card:hover .card-num { color: var(--accent); }

.card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.25s, color 0.25s;
}
.project-card:hover .card-tag { border-color: var(--fg-subtle); color: var(--fg); }

.card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.project-card:hover .card-title { letter-spacing: -0.01em; }

.card-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-year {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-muted); /* was fg-subtle — ratios were 1.4:1, now 5.4–6.7:1 ✅ */
}

.card-arrow {
  font-size: 18px;
  color: var(--fg-subtle);
  display: inline-block;
  transition: transform 0.45s var(--ease), color 0.25s;
}
.project-card:hover .card-arrow { color: var(--fg); }

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* card grid stagger */
.project-card:nth-child(2n) { transition-delay: 0.1s; }
.project-card:nth-child(3), .project-card:nth-child(4) { transition-delay: 0.05s, 0.15s; }

/* ══════════════════════════════════════
   ── HOME PAGE ──
══════════════════════════════════════ */

/* Hero */
.hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 56px var(--pad-x) 32px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 0;
}

/* Soft white veil — fades the dot grid behind the text column */
.hero-text::before {
  content: '';
  position: absolute;
  inset: -56px -32px;
  background: radial-gradient(ellipse 110% 85% at 38% 52%,
    rgba(255,255,250,0.93) 18%,
    rgba(255,255,250,0.72) 52%,
    transparent 82%
  );
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}

.hero-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.hero-sep { color: var(--fg-subtle); }

.hero-greeting {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-tagline {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.1s forwards;
}

/* ── HERO BIO + BUTTONS (new) ── */
.hero-bio {
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg-muted);
  font-weight: 300;
  max-width: 460px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.1s forwards;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.25s forwards;
}
.hero-btn-primary {
  background: var(--c-lime);
  color: var(--fg);
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 6px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: inline-block;
}
.hero-btn-primary:hover {
  box-shadow: 6px 6px 0 var(--fg);
  transform: translate(-1px, -1px);
}
.hero-btn-secondary {
  background: #fff;
  color: var(--fg);
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  border-radius: 6px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: inline-block;
}
.hero-btn-secondary:hover {
  box-shadow: 5px 5px 0 var(--fg);
  transform: translate(-1px, -1px);
}

.hero-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.25s forwards;
}

.hero-skill-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

/* Hero image */
.hero-img-wrap {
  border-radius: 28px;
  overflow: hidden;
  transform: rotate(1.5deg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.13);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.55s forwards;
  align-self: start;
  aspect-ratio: 3 / 4;
  max-height: 460px;
}

.hero-img-wrap:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 0 40px 96px rgba(0,0,0,0.17);
}

.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Hero bottom bar */
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 1.4s forwards;
}

.hero-scroll-cue {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-muted);
}

.location-dot {
  width: 6px; height: 6px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.6s ease-in-out infinite;
}

.hero-availability {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--fg-muted);
}

/* Home work section */
.home-work {
  padding: 100px var(--pad-x);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.section-count {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--fg-subtle);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.see-all-wrap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.see-all-link {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 4px;
  display: inline-block;
  transition: color 0.25s, border-color 0.25s;
}

.see-all-link:hover { color: var(--fg-muted); border-color: var(--fg-muted); }

/* ══════════════════════════════════════
   ── ABOUT PAGE ──
══════════════════════════════════════ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding: calc(var(--nav-h) + 72px) var(--pad-x) 80px;
}

.about-photo-wrap {
  border-radius: 24px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.about-photo-wrap img {
  width: 100%; height: auto;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.88);
  transition: filter 0.6s;
}

.about-photo-wrap:hover img { filter: saturate(1); }

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-intro-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.about-intro-heading {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 32px;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-bio p {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg);
}

.about-bio em {
  font-family: var(--font-display);
  font-style: italic;
}

/* About links */
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.about-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.about-link:hover { color: var(--fg); border-color: var(--fg); }

/* Experience section */
.about-section {
  padding: 72px var(--pad-x);
  border-top: 1px solid var(--border);
}

.about-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.exp-item {
  background: var(--bg);
  padding: 28px 24px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--fg-muted);
  transition: color 0.25s, background 0.25s;
}

.exp-item:hover { color: var(--fg); background: color-mix(in srgb, var(--bg) 96%, var(--fg)); }

/* Education / certs list */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.edu-title {
  font-size: 17px;
  font-weight: 300;
  color: var(--fg);
}

.edu-subtitle {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.edu-year {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-subtle);
  white-space: nowrap;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.skill-chip {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-muted);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.skill-chip:hover { color: var(--fg); border-color: var(--fg); }

/* ══════════════════════════════════════
   ── PROJECTS PAGE ──
══════════════════════════════════════ */
.projects-body {
  padding: 64px var(--pad-x) 100px;
}

/* ══════════════════════════════════════
   ── CONTACT PAGE ──
══════════════════════════════════════ */
.contact-hero {
  padding: calc(var(--nav-h) + 80px) var(--pad-x) 72px;
  border-bottom: 1px solid var(--border);
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 0;
}

.contact-heading .ch-italic { font-style: italic; color: var(--fg-muted); }

.contact-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.85s forwards;
}

.contact-body {
  padding: 72px var(--pad-x) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Direct contact links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-direct-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--fg);
  transition: background 0.3s var(--ease), border-color 0.3s, transform 0.4s var(--ease);
}

.contact-card:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-3px);
}

.contact-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}

.contact-card-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.contact-card-arrow {
  font-size: 22px;
  transition: transform 0.4s var(--ease);
}

.contact-card:hover .contact-card-arrow { transform: none; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg);
  transition: border-color 0.25s;
  outline: none;
  resize: none;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--fg-muted); }

.form-textarea { min-height: 140px; }

.form-submit {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}

.form-submit:hover { opacity: 0.8; }

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes charReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   HOME PAGE — missing helpers
══════════════════════════════════════ */
.tl-italic { font-family: var(--font-display); font-style: italic; }

.hero-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.04em; color: var(--fg-muted);
}

.hero-tags-inline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.06em; color: var(--fg-muted);
}

.hero-scroll-cue {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 20px var(--pad-x);
  border-top: 1px solid var(--border);
}

/* Work / project sections */
.work { padding: 100px var(--pad-x); }

.work-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 56px;
}

.work-count {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 300;
  color: var(--fg-subtle); line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Card internals */
.card-body {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 4px;
}

.card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.card-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}

.card-tags li {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.25s, color 0.25s;
}

.project-card:hover .card-tags li { border-color: var(--fg-subtle); color: var(--fg); }

.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fff;
  color: var(--fg);
  padding: 5px 13px;
  border-radius: 6px;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.card-read-more:hover {
  box-shadow: 4px 4px 0px var(--fg);
  transform: translate(-1px, -1px);
}
.project-card:nth-child(1) .card-read-more:hover { background: #F0B8E7; }
.project-card:nth-child(2) .card-read-more:hover { background: #EDD681; }
.project-card:nth-child(3) .card-read-more:hover { background: #AEDEA0; }
.project-card:nth-child(4) .card-read-more:hover { background: #AAEAF4; }
.project-card:nth-child(5) .card-read-more:hover { background: #CCBAF0; }
.project-card:nth-child(6) .card-read-more:hover { background: #F0D8A4; }
.project-card:nth-child(7) .card-read-more:hover { background: #FDBA74; }
.project-card:nth-child(8) .card-read-more:hover { background: #C4B5FD; }

/* "See all" link */
.work-all {
  margin-top: 64px; display: flex; justify-content: center;
}

.work-all-link {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300; letter-spacing: -0.02em;
  color: var(--fg); text-decoration: none;
  border-bottom: 1px solid var(--fg); padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.25s, border-color 0.25s;
}
.work-all-link:hover { color: var(--fg-muted); border-color: var(--fg-muted); }

/* ══════════════════════════════════════
   ABOUT PAGE — rework & additions
══════════════════════════════════════ */
/* Override existing .about-hero to be just a wrapper */
.about-hero {
  display: block;
  padding: calc(var(--nav-h) + 72px) var(--pad-x) 80px;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: start;
}

.about-photo-col {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
}

.about-photo-frame {
  border-radius: 24px;
  overflow: hidden;
}

.about-photo {
  width: 100%; height: auto;
  object-fit: cover; object-position: top center;
  filter: saturate(0.88);
  transition: filter 0.6s;
  display: block;
}
.about-photo-frame:hover .about-photo { filter: saturate(1); }

.about-photo-caption {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.04em; color: var(--fg-muted);
}

.about-bio-col {
  display: flex; flex-direction: column; gap: 32px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300; letter-spacing: -0.04em; line-height: 1.1;
}

.about-body { display: flex; flex-direction: column; gap: 18px; }

.about-body p {
  font-size: 13px;
  font-weight: 300; line-height: 1.75; color: var(--fg);
}
.about-body em { font-family: var(--font-display); font-style: italic; }

.about-social-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Skills */
.skills-section {
  padding: 72px var(--pad-x);
  border-top: 1px solid var(--border);
}

/* Override shared .skills-grid to add margin-top and fix columns */
.skills-section .skills-grid {
  margin-top: 32px;
  grid-template-columns: repeat(4, 1fr);
}

.skill-item {
  font-size: 13px; font-weight: 400; color: var(--fg-muted);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s;
}
.skill-item:hover { color: var(--fg); border-color: var(--fg); }

/* Experience */
.experience-section {
  padding: 72px var(--pad-x);
  border-top: 1px solid var(--border);
}

.exp-list { display: flex; flex-direction: column; margin-top: 32px; }

/* Override .exp-item for list context */
.exp-list .exp-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  background: none;
  font-size: inherit;
  letter-spacing: normal;
  color: var(--fg);
}
.exp-list .exp-item:hover { background: none; color: var(--fg); }

.exp-left { display: flex; flex-direction: column; gap: 5px; }

.exp-company {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300; letter-spacing: -0.02em; color: var(--fg);
}

.exp-period { font-size: 12px; letter-spacing: 0.04em; color: var(--fg-muted); }

.exp-right { display: flex; flex-direction: column; gap: 8px; }

.exp-role { font-size: 14px; font-weight: 500; color: var(--fg); letter-spacing: 0.01em; }

.exp-desc {
  font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--fg-muted);
}

/* Education */
.education-section {
  padding: 72px var(--pad-x) 100px;
  border-top: 1px solid var(--border);
}

.edu-inner {}

/* Override .edu-list and .edu-item */
.education-section .edu-list { margin-top: 32px; }

.education-section .edu-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.edu-left { display: flex; flex-direction: column; gap: 4px; }

.edu-school {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300; letter-spacing: -0.02em; color: var(--fg);
}

.edu-period { font-size: 12px; letter-spacing: 0.04em; color: var(--fg-muted); }

.edu-degree { font-size: 17px; font-weight: 600; color: var(--fg); }

/* ══════════════════════════════════════
   PROJECTS PAGE — hero
══════════════════════════════════════ */
.projects-hero {
  padding: calc(var(--nav-h) + 72px) var(--pad-x) 48px;
}

.projects-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 300; letter-spacing: -0.045em; line-height: 0.9;
  margin-top: 20px;
}

.projects-sub {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted); margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.85s forwards;
}

/* ══════════════════════════════════════
   CONTACT PAGE — overrides & additions
══════════════════════════════════════ */
/* Override .contact-body to remove grid (inner div handles it) */
.contact-body {
  display: block;
  padding: 72px var(--pad-x) 100px;
}

.contact-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-hero-inner {}

.contact-intro {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300; line-height: 1.65;
  color: var(--fg-muted); max-width: 640px;
  margin-top: 36px;
}

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.cc-label {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.6; margin-bottom: 4px;
}

.cc-value {
  display: block;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300; letter-spacing: -0.02em;
}

.cc-arrow {
  font-size: 20px; flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.contact-card:hover .cc-arrow { transform: none; }

/* form label and input (from HTML) */
.form-group label {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--fg-muted);
}

.form-group input,
.form-group textarea {
  width: 100%; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body); font-size: 15px; font-weight: 300;
  color: var(--fg); transition: border-color 0.25s;
  outline: none; resize: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--fg-muted); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-subtle); }

.form-group textarea { min-height: 140px; }

.form-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg); background: var(--fg);
  border: none; border-radius: 100px; padding: 14px 32px;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
.form-btn:hover { opacity: 0.8; }
.form-btn-arrow { font-size: 15px; }

/* Active nav CTA state */
.nav-cta--active {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════ */
@media (max-width: 960px) {
  :root { --pad-x: 32px; --pad-page: 80px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-links { gap: 20px; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px var(--pad-x) 24px;
    gap: 36px;
  }

  .hero-img-wrap {
    transform: none;
    aspect-ratio: 16 / 9;
    min-height: unset;
    align-self: auto;
  }

  /* About page */
  .about-hero { padding-top: calc(var(--nav-h) + 48px); }
  .about-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-col { position: static; }

  /* Skills & experience responsive */
  .skills-section .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-list .exp-item { grid-template-columns: 160px 1fr; gap: 20px; }
  .education-section .edu-item { grid-template-columns: 160px 1fr; gap: 20px; }

  /* Projects page */
  .projects-heading { font-size: clamp(56px, 10vw, 120px); }

  /* Contact page */
  .contact-body-inner { grid-template-columns: 1fr; gap: 48px; }

  .project-grid { gap: 28px 24px; }

  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   NEOBRUTALISM — full multi-color system
══════════════════════════════════════ */

/* ── LAYOUT CONSTRAINT — centered, alinhado ao nav-inner ── */
.hero-inner,
.work-header, .project-grid, .work-all,
.skills-inner, .exp-inner, .edu-inner,
.projects-hero-inner,
.contact-hero-inner, .contact-body-inner,
.services-inner,
.about-hero-inner {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Seções externas: apenas padding vertical — inner cuida do horizontal */
.work,
.services,
.projects-hero,
.about-hero,
.skills-section,
.experience-section,
.education-section,
.contact-hero,
.contact-body {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── SERVICES SECTION ── */
.services {
  padding: 80px var(--pad-x);
  border-bottom: var(--nb-border);
}

.services-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card:nth-child(1) { background: #FDE9A0; }
.service-card:nth-child(2) { background: #C8F5BA; }
.service-card:nth-child(3) { background: #FFCDF6; }
.service-card:hover {
  box-shadow: 10px 10px 0px var(--fg);
  transform: translate(-2px, -2px);
}
.service-card:nth-child(1):hover { background: #EDD681; }
.service-card:nth-child(2):hover { background: #AEDEA0; }
.service-card:nth-child(3):hover { background: #F0B8E7; }

.service-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.service-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}
.service-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ── BASE BORDERS ── */
.ticker  { border-top: var(--nb-border); border-bottom: var(--nb-border); overflow: hidden; }
.footer  { border-top: none; }
.nav     { border-bottom: var(--nb-border); background: var(--bg); padding: 0; gap: 0; }
.nav.scrolled::before { display: none; } /* kill blur — NB is sharp */

/* Nav inner — logo left, everything else right */
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
/* links: override flex:1 from base, push to right edge */
.nav-links { flex: 0; margin-left: auto; gap: 24px; }
.nav-link { white-space: nowrap; }
/* controls: a bit of breathing room after the last nav-link */
.nav-controls { margin-left: 36px; gap: 8px; }

/* scroll cue + its top-border line — hidden */
.hero-scroll-cue { display: none; }

/* ── NAV LOGO — favicon image ── */
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}
.logo-img { display: block; }

/* ── NAV ── */
.nav-cta {
  background: var(--c-lime);
  color: var(--fg);
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  border-radius: 6px;
  font-weight: 700;
  transition: box-shadow 0.15s ease;
}
.nav-cta:hover {
  background: var(--c-lime);
  color: var(--fg);
  border-color: var(--fg);
  box-shadow: 5px 5px 0 var(--fg);
}
.nav-cta--active { background: var(--c-lime); color: var(--fg); }

.nav-link { font-weight: 600; font-family: var(--font-display); font-size: 12px; color: var(--fg-muted); }
.nav-link:hover { color: var(--fg); }
.nav-link[aria-current="page"] { color: var(--fg); }
.nav-link[aria-current="page"]::after { height: 2.5px; background: var(--fg); }

/* ── TICKER — lime strip, angled ── */
.ticker {
  background: var(--c-lime);
  padding: 12px 0;
  transform: rotate(2deg);
  width: 115%;
  margin-left: -7.5%;
  margin-top: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 0;
}
.ticker-track { color: var(--fg); }
.ticker-sep   { color: var(--fg); opacity: 0.4; }

/* ── HERO ── */
.hero-inner { padding-top: 32px; padding-bottom: 16px; }
.hero-photo  { padding-bottom: 16px; }
.hero-eyebrow { animation: none; opacity: 1; }
.hero-tag {
  background: var(--c-yellow);
  border: var(--nb-border);
  border-radius: 100px;
  padding: 3px 12px;
  font-weight: 700;
  color: var(--fg);
}

.hero-img-wrap {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 12px;
  background: var(--c-lavender);
  width: 100%;
  transition: filter 0.15s ease;
}
.hero-img-wrap:hover {
  filter: brightness(0.93);
}

/* ── SECTION LABELS ── */
.section-label {
  display: inline-block;
  width: fit-content;
  background: var(--c-yellow);
  border: var(--nb-border);
  border-radius: 100px;
  padding: 2px 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg);
}

/* ── WORK COUNT ── */
.work-count {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  padding: 4px 14px;
  border-radius: 6px;
  background: var(--c-pink);
  color: var(--fg);
  font-weight: 800;
}

/* ── CARD BODY — breathing room ── */
.card-body {
  padding: 20px 20px 16px;
  gap: 8px;
}
.card-footer {
  margin-top: 12px;
}

/* ── PROJECT CARDS — each gets its own vivid color ── */
.project-card {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 10px;
  overflow: hidden;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.project-card:hover {
  box-shadow: 10px 10px 0px var(--fg);
  transform: translate(-2px, -2px);
}
.project-card:nth-child(1) { background: #FFCDF6; }
.project-card:nth-child(2) { background: #FDE9A0; }
.project-card:nth-child(3) { background: #C8F5BA; }
.project-card:nth-child(4) { background: #CFFAFE; }
.project-card:nth-child(5) { background: #E5D4FF; }
.project-card:nth-child(6) { background: #FFECC4; }
.project-card:nth-child(1):hover { background: #F0B8E7; }
.project-card:nth-child(2):hover { background: #EDD681; }
.project-card:nth-child(3):hover { background: #AEDEA0; }
.project-card:nth-child(4):hover { background: #AAEAF4; }
.project-card:nth-child(5):hover { background: #CCBAF0; }
.project-card:nth-child(6):hover { background: #F0D8A4; }
.project-card:nth-child(7) { background: #FED7AA; }
.project-card:nth-child(8) { background: #DDD6FE; }
.project-card:nth-child(7):hover { background: #FDBA74; }
.project-card:nth-child(8):hover { background: #C4B5FD; }

/* card tag borders match card hover bg (slightly darker) */
.project-card:nth-child(1):hover .card-tags li { border-color: color-mix(in srgb, #F0B8E7 65%, #0D0D0D 35%); }
.project-card:nth-child(2):hover .card-tags li { border-color: color-mix(in srgb, #EDD681 65%, #0D0D0D 35%); }
.project-card:nth-child(3):hover .card-tags li { border-color: color-mix(in srgb, #AEDEA0 65%, #0D0D0D 35%); }
.project-card:nth-child(4):hover .card-tags li { border-color: color-mix(in srgb, #AAEAF4 65%, #0D0D0D 35%); }
.project-card:nth-child(5):hover .card-tags li { border-color: color-mix(in srgb, #CCBAF0 65%, #0D0D0D 35%); }
.project-card:nth-child(6):hover .card-tags li { border-color: color-mix(in srgb, #F0D8A4 65%, #0D0D0D 35%); }
.project-card:nth-child(7):hover .card-tags li { border-color: color-mix(in srgb, #FDBA74 65%, #0D0D0D 35%); }
.project-card:nth-child(8):hover .card-tags li { border-color: color-mix(in srgb, #C4B5FD 65%, #0D0D0D 35%); }

.card-img-wrap {
  border-radius: 0;
  border-bottom: var(--nb-border);
  background: transparent;
}
.card-img-wrap img { filter: none; }
.project-card:hover .card-img-wrap img { filter: none; transform: none; }

.card-num { font-weight: 800; color: var(--fg); font-size: 12px; letter-spacing: 0.04em; }
.card-desc { color: var(--fg-muted); font-size: 13px; }

.card-tags li {
  border: var(--nb-border);
  border-radius: 100px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  background: #fff;
  color: var(--fg);
  padding: 3px 10px;
}

/* ── WORK-ALL LINK ── */
.work-all-link {
  background: var(--c-lime);
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  transition: background 0.15s ease;
}
.work-all-link:hover {
  background: #7ACC66;
  color: var(--fg);
}

/* ── HERO PHOTO — B&W → cor no hover + elementos NB ── */
.hero-photo {
  position: relative;
  /* espaço para os elementos que transbordam */
  padding: 22px 28px 32px 20px;
  align-self: center;
}

/* Foto em escala de cinza por padrão */
.hero-img-wrap img {
  filter: grayscale(1) contrast(1.08) brightness(0.95);
  transition: filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Hover na área da foto → colorida */
.hero-photo:hover .hero-img-wrap img {
  filter: grayscale(0) contrast(1) brightness(1);
}

/* Base dos elementos decorativos */
.hp-deco {
  position: absolute;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.4s ease;
  z-index: 10;
}

/* ✦ Estrela amarela — canto superior direito */
.hp-star1 {
  top: 2px; right: 2px;
  font-size: 50px;
  color: #F7CB46;
  text-shadow: 3px 3px 0 #000;
  line-height: 1;
  display: block;
  transform: rotate(0deg);
}
.hero-photo:hover .hp-star1 {
  transform: rotate(30deg) scale(1.3);
}

/* Círculo rosa — canto inferior esquerdo */
.hp-dot1 {
  bottom: 8px; left: 2px;
  width: 54px; height: 54px;
  background: #FE90E8;
  border: 2.5px solid #000;
  border-radius: 50%;
  box-shadow: 3px 3px 0 #000;
  transform: translate(0, 0) scale(1);
}
.hero-photo:hover .hp-dot1 {
  transform: translate(-8px, 8px) scale(1.2);
}

/* Quadrado ciano — esquerda, meio-alto */
.hp-square1 {
  top: 30px; left: 4px;
  width: 26px; height: 26px;
  background: #C0F7FE;
  border: 2.5px solid #000;
  box-shadow: 2px 2px 0 #000;
  transform: rotate(-18deg);
}
.hero-photo:hover .hp-square1 {
  transform: rotate(18deg) translate(-7px, -6px);
}

/* ✸ Sparkle verde — lado direito baixo */
.hp-spark {
  bottom: 40px; right: 4px;
  font-size: 36px;
  color: #99E885;
  text-shadow: 2px 2px 0 #000;
  line-height: 1;
  display: block;
  transform: rotate(0deg) scale(1);
}
.hero-photo:hover .hp-spark {
  transform: rotate(-50deg) scale(1.4);
}

/* Badge "disponível" — surge na parte de baixo no hover */
.hp-badge {
  bottom: 4px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  background: #F7CB46;
  border: 2.5px solid #000;
  box-shadow: 3px 3px 0 #000;
  border-radius: 100px;
  padding: 5px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
}
.hero-photo:hover .hp-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── ABOUT PHOTO ── */
.about-photo-wrap {
  position: relative;
  top: 0; /* cancel base-css sticky top: 92px offset */
  padding: 0 12px 40px 12px;
  overflow: visible; /* allow decorations outside image bounds */
}

.about-img-wrap {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 12px;
  background: var(--c-blue);
  overflow: hidden;
  width: 100%;
}

/* Grayscale por padrão, cor no hover */
.about-img-wrap img {
  display: block;
  width: 100%;
  filter: grayscale(1) contrast(1.08) brightness(0.95);
  transition: filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-photo-wrap:hover .about-img-wrap img {
  filter: grayscale(0) contrast(1) brightness(1);
}

/* Base dos elementos decorativos */
.ap-deco {
  position: absolute;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.4s ease;
  z-index: 10;
}

/* ✸ Sparkle ciano — canto superior esquerdo */
.ap-spark {
  top: 4px; left: 2px;
  font-size: 38px;
  color: #C0F7FE;
  text-shadow: 2px 2px 0 #000;
  line-height: 1;
  display: block;
  transform: rotate(0deg) scale(1);
}
.about-photo-wrap:hover .ap-spark {
  transform: rotate(60deg) scale(1.4);
}

/* Círculo lima — canto superior direito */
.ap-circle {
  top: 4px; right: 4px;
  width: 48px; height: 48px;
  background: var(--c-lime);
  border: 2.5px solid #000;
  border-radius: 50%;
  box-shadow: 3px 3px 0 #000;
  transform: translate(0, 0) scale(1);
}
.about-photo-wrap:hover .ap-circle {
  transform: translate(7px, -7px) scale(1.2);
}

/* Quadrado rosa — inferior esquerdo */
.ap-square {
  bottom: 12px; left: 4px;
  width: 28px; height: 28px;
  background: #FE90E8;
  border: 2.5px solid #000;
  box-shadow: 2px 2px 0 #000;
  transform: rotate(12deg);
}
.about-photo-wrap:hover .ap-square {
  transform: rotate(-20deg) translate(-8px, 6px);
}

/* ✦ Estrela amarela — inferior direito */
.ap-star {
  bottom: 6px; right: 2px;
  font-size: 46px;
  color: #F7CB46;
  text-shadow: 3px 3px 0 #000;
  line-height: 1;
  display: block;
  transform: rotate(0deg);
}
.about-photo-wrap:hover .ap-star {
  transform: rotate(-30deg) scale(1.3);
}

.about-photo-frame {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  background: var(--c-lavender);
}

/* ── ABOUT HEADING ── */
.about-heading {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

/* remove thin divider line between about-hero and skills */
.skills-section { border-top: none; }

/* ── ABOUT LINKS ── */
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: var(--nb-border);
  padding: 7px 16px;
  border-radius: 6px;
  box-shadow: var(--nb-shadow-sm);
  font-weight: 600;
  color: var(--fg);
  background: #fff;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.about-link:hover {
  background: var(--c-lime);
  color: var(--fg);
  border-color: var(--fg);
  box-shadow: var(--nb-shadow);
}

/* ── SKILLS — each chip a different color ── */
.skill-item {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--fg); /* força preto — evita herdar fg-muted */
  transition: background 0.15s ease;
}
.skill-item:nth-child(1)  { background: #F7CB46; }
.skill-item:nth-child(2)  { background: #FE90E8; }
.skill-item:nth-child(3)  { background: #99E885; }
.skill-item:nth-child(4)  { background: #C4B5FD; }
.skill-item:nth-child(5)  { background: #C0F7FE; }
.skill-item:nth-child(6)  { background: #FFDC8B; }
.skill-item:nth-child(7)  { background: #F7CB46; }
.skill-item:nth-child(8)  { background: #FE90E8; }
.skill-item:nth-child(1):hover,
.skill-item:nth-child(7):hover  { background: #D4A829; }
.skill-item:nth-child(2):hover,
.skill-item:nth-child(8):hover  { background: #E070C8; }
.skill-item:nth-child(3):hover  { background: #7ACC66; }
.skill-item:nth-child(4):hover  { background: #A890E0; }
.skill-item:nth-child(5):hover  { background: #90DDE8; }
.skill-item:nth-child(6):hover  { background: #E0B860; }
.skill-item:hover {
  color: var(--fg);
  border-color: var(--fg);
  box-shadow: var(--nb-shadow-sm);
}

/* ── EXPERIENCE & EDUCATION ── */
/* ── EXP + EDU — cards brancos neobrutalism ── */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.exp-list .exp-item {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 10px;
  padding: 24px 28px;
  border-bottom: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.exp-list .exp-item:hover {
  background: #fff;
  box-shadow: 10px 10px 0px var(--fg);
  transform: translate(-2px, -2px);
}

.education-section .edu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.education-section .edu-item {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 10px;
  padding: 20px 28px;
  border-bottom: none;
  align-items: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.education-section .edu-item:hover {
  box-shadow: 10px 10px 0px var(--fg);
  transform: translate(-2px, -2px);
}

/* Pesos: instituição bold, curso medium */
.exp-company, .edu-school { font-weight: 800; }
.exp-role    { font-weight: 700; }
.edu-degree  { font-size: 16px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.edu-school  { font-size: 18px; }

/* ── CONTACT HERO ── */
.contact-hero { border-bottom: var(--nb-border); }
.contact-heading {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.contact-heading .ch-italic { font-style: normal; color: var(--c-purple); }

/* ── CONTACT CARDS — each a different color ── */
.contact-card {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 8px;
  color: var(--fg);
  transition: background 0.15s ease;
}
.contact-card:nth-child(1) { background: var(--c-lime); }
.contact-card:nth-child(2) { background: var(--c-yellow); }
.contact-card:hover { color: var(--fg); transform: none; }
.contact-card:nth-child(1):hover { background: #72C465; }
.contact-card:nth-child(2):hover { background: #D4A829; }
.cc-label { font-weight: 700; opacity: 1; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.08em; }
.cc-value { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; overflow-wrap: break-word; word-break: break-all; }
/* Allow grid items and flex items to shrink below content min-width */
.contact-body-inner > * { min-width: 0; }
.cc-text { min-width: 0; }

/* ── PROJECTS PAGE ── */
.projects-hero { border-bottom: none; }
.projects-heading { font-weight: 800; letter-spacing: -0.03em; }

/* ── SEARCH + FILTER BAR ── */
.projects-filter-bar {
}
.pfb-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px var(--pad-x);
  box-sizing: border-box;
}
.pfb-search-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.pfb-search-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: var(--fg-muted);
  pointer-events: none;
}
.pfb-search {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 40px;
  border: var(--nb-border);
  border-radius: 8px;
  box-shadow: var(--nb-shadow-sm);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  transition: box-shadow 0.1s, transform 0.1s;
  outline: none;
}
.pfb-search::placeholder { color: var(--fg-muted); }
.pfb-search:focus {
  box-shadow: var(--nb-shadow);
  transform: translate(-1px, -1px);
}

/* filter button + dropdown wrapper */
.pfb-filter-wrap { position: relative; }
.pfb-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: var(--nb-border);
  border-radius: 8px;
  box-shadow: var(--nb-shadow-sm);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.1s, transform 0.1s, background 0.1s;
}
.pfb-filter-btn:hover {
  box-shadow: var(--nb-shadow);
  transform: translate(-1px, -1px);
}
.pfb-filter-btn.is-active {
  background: var(--c-yellow);
}
.pfb-caret { font-size: 12px; transition: transform 0.15s; }
.pfb-filter-btn[aria-expanded="true"] .pfb-caret { transform: rotate(180deg); }

/* dropdown panel */
.pfb-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg);
  border: var(--nb-border);
  border-radius: 10px;
  box-shadow: var(--nb-shadow-lg);
  padding: 8px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pfb-dropdown[hidden] { display: none; }
.pfb-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  transition: background 0.1s;
  user-select: none;
}
.pfb-option:hover { background: var(--c-blue); }
.pfb-option input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--fg);
  cursor: pointer;
  flex-shrink: 0;
}
.pfb-option input[type="checkbox"]:checked + span {
  font-weight: 700;
}

/* empty state */
.pfb-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 0;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
}
.pfb-empty i { font-size: 40px; }

/* ── FORM ── */
.form-group input,
.form-group textarea {
  background: #fff;
  border: var(--nb-border);
  border-radius: 6px;
  box-shadow: var(--nb-shadow-sm);
  font-family: var(--font-body);
  transition: box-shadow 0.1s, transform 0.1s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 4px 4px 0px var(--fg);
  transform: translate(-1px, -1px);
}
.form-group label { font-weight: 600; font-family: var(--font-display); color: var(--fg); }

.form-btn {
  background: var(--c-lime);
  color: var(--fg);
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease;
}
.form-btn:hover {
  opacity: 1;
  background: #7ACC66;
  color: var(--fg);
  transform: none;
}

/* ── SCROLL REVEAL — snappier ── */
.reveal { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }

/* ── FOOTER — 3 colunas NB ── */
.footer {
  display: block; /* override base flex */
  padding: 0;
  background: var(--c-purple);
  border-top: var(--nb-border);
}

.footer-inner {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
  border-bottom: var(--nb-border);
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Col 1 — brand */
.footer-logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 0.5; }

.footer-tagline {
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: 20px;
  max-width: 220px;
}

.footer-name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 16px;
}

.footer-name strong {
  font-weight: 700;
  display: block;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.footer-location:hover { opacity: 0.6; }

/* Col 2 & 3 — links */
.footer-col-title {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.18s;
}
.footer-links a:hover { opacity: 1; color: #fff; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-made { font-weight: 600; color: var(--fg); }

/* ── ICONS — Phosphor Bold (CSS font) ── */

/* Base reset */
i.ph-bold {
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}

/* Service card: big icon above the number */
.service-icon {
  display: block;
  font-size: 44px;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1;
}

/* Contact card layout: [icon] [cc-text flex-1] [arrow] */
.contact-card {
  gap: 16px;
  justify-content: flex-start;
}
.cc-icon {
  flex-shrink: 0;
  display: block;
  font-size: 28px;
  color: var(--fg);
  line-height: 1;
}
.cc-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* About social links — inline-flex so icon + text sit on the same baseline */
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.about-link i.ph-bold { font-size: 16px; color: inherit; }

/* Footer link icons */
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-links a i.ph-bold { font-size: 14px; opacity: 1; }

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════ */
/* ══════════════════════════════════════
   PROJECT DETAIL PAGES
══════════════════════════════════════ */
.project-detail-hero {
  padding: calc(var(--nav-h) + 48px) 0 56px;
  border-bottom: var(--nb-border);
}
.project-detail-inner,
.project-content-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
}
.project-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  padding: 6px 14px;
  border: var(--nb-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--nb-shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  margin-bottom: 36px;
}
.project-back:hover {
  box-shadow: 4px 4px 0 var(--fg);
  transform: translate(-1px, -1px);
}
.project-detail-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--fg);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.project-detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--fg);
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.meta-chip {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  border-radius: 8px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.meta-chip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.meta-chip-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
/* ── META TAGS CHIP ── */
.meta-chip--tags { gap: 8px; }
.meta-chip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meta-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.project-cover {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 10px;
  overflow: hidden;
}
.project-cover img { width: 100%; display: block; }

/* Content */
.project-content { padding: 64px 0 100px; }
.project-content-inner { display: flex; flex-direction: column; gap: 28px; }

.project-section {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 10px;
  padding: 28px 32px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.project-section:hover {
  box-shadow: 8px 8px 0 var(--fg);
  transform: translate(-2px, -2px);
}
.project-section h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: var(--nb-border);
}
.project-section p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg);
}
.project-section p + p { margin-top: 10px; }
.project-section ul {
  margin-top: 12px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.project-section ul li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg);
  padding-left: 18px;
  position: relative;
}
.project-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-size: 11px;
  color: var(--fg-muted);
  top: 3px;
}
.project-img {
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 10px;
  overflow: hidden;
  display: block;
}
.project-img img { width: 100%; display: block; cursor: zoom-in; }
@media (pointer: fine) { .project-img img { cursor: none; } }
.project-imgs-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.project-imgs-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* ── Color Palette Component ── */
.project-palette {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.palette-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.palette-group + .palette-group {
  border-left: var(--nb-border);
  padding-left: 32px;
  margin-left: 32px;
}

.palette-group-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.palette-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.palette-swatch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.palette-swatch-color {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-sm);
}

.palette-swatch-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.palette-swatch-hex {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  margin-top: -6px;
}

/* Compact variant — smaller swatch block, larger text labels */
.palette-swatch--compact .palette-swatch-color {
  width: 52px;
  height: 52px;
}
.palette-swatch--compact .palette-swatch-name {
  font-size: 14px;
}
.palette-swatch--compact .palette-swatch-hex {
  font-size: 12px;
}

/* ── Flowchart Diagram ── */
.fc-diagram {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow-lg);
  border-radius: 10px;
  padding: 32px 28px;
  overflow-x: auto;
}
.fc-app-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0D0D0D;
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0 auto 0;
  width: fit-content;
}
.fc-app-icon { font-size: 20px; }
.fc-branch-svg {
  width: 100%;
  height: 56px;
  display: block;
  overflow: visible;
}
.fc-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.fc-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.fc-profile-header {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0D0D0D;
  padding: 8px 12px;
  border-radius: 6px;
  border: var(--nb-border);
  box-shadow: 3px 3px 0 #0D0D0D;
}
.fc-profile-header--instructor { background: #C0F7FE; }
.fc-profile-header--admin      { background: #F7CB46; }
.fc-profile-header--student    { background: #99E885; }
.fc-node-stem {
  width: 2px;
  height: 16px;
  background: #0D0D0D;
}
.fc-arrow-tip {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #0D0D0D;
  margin-bottom: 0;
}
.fc-flow-node {
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #0D0D0D;
  background: #FAFAFA;
  border: 1.5px solid #0D0D0D;
  border-radius: 6px;
  padding: 9px 8px;
}
.fc-flow-node:last-child { box-shadow: 2px 2px 0 #0D0D0D; }

/* ── Accessibility Profiles ── */
.a11y-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.a11y-card {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.a11y-card-icon {
  font-size: 28px;
  line-height: 1;
}
.a11y-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #0D0D0D;
  letter-spacing: -0.01em;
}
.a11y-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1.5px solid #0D0D0D;
  width: fit-content;
}
.a11y-card--blind .a11y-card-tag   { background: #C0F7FE; }
.a11y-card--lowvis .a11y-card-tag  { background: #F7CB46; }
.a11y-card--motor .a11y-card-tag   { background: #99E885; }
.a11y-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a11y-card li {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

/* ── Web-livro color/type showcase ── */
.wl-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wl-panel {
  background: #fff;
  border: var(--nb-border);
  box-shadow: var(--nb-shadow);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wl-panel-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.wl-color-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wl-swatch {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: var(--nb-border);
  flex-shrink: 0;
}
.wl-swatch-info { display: flex; flex-direction: column; gap: 2px; }
.wl-swatch-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--fg);
}
.wl-swatch-hex {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 11px;
  color: var(--fg-muted);
}
.wl-type-sample { display: flex; flex-direction: column; gap: 2px; }
.wl-type-label  { font-size: 11px; color: var(--fg-muted); font-weight: 500; margin-bottom: 2px; }
.wl-type-h1 { font-family: Georgia, serif; font-size: 26px; font-weight: 700; color: #1A1A1A; line-height: 1.15; }
.wl-type-h2 { font-family: Georgia, serif; font-size: 18px; font-weight: 700; color: #1A1A1A; line-height: 1.2; }
.wl-type-body { font-family: 'Open Sans', 'DM Sans', sans-serif; font-size: 14px; color: #333; line-height: 1.6; }
.wl-type-small { font-family: 'Open Sans', 'DM Sans', sans-serif; font-size: 12px; color: #666; line-height: 1.5; }
.wl-divider { height: 1px; background: #E5E5E5; }
@media (max-width: 700px) {
  .fc-profiles { grid-template-columns: 1fr; }
  .a11y-profiles { grid-template-columns: 1fr; }
  .wl-showcase { grid-template-columns: 1fr; }
  .fc-branch-svg { display: none; }
  .fc-app-node { margin-bottom: 20px; }
}

@media (max-width: 600px) {
  :root { --pad-x: 20px; }

  .nb-cursor { display: none; }
  html { cursor: auto; }
  a, button { cursor: auto; }

  .nav-links { display: none; }

  .hero-inner { padding-top: 64px; }

  .project-grid { grid-template-columns: 1fr; gap: 44px; }

  .services-grid { grid-template-columns: 1fr; }

  .skills-section .skills-grid { grid-template-columns: repeat(2, 1fr); }

  .exp-list .exp-item { grid-template-columns: 1fr; gap: 8px; }

  .education-section .edu-item { grid-template-columns: 1fr; gap: 6px; }

  .contact-body-inner { grid-template-columns: 1fr; }
  .contact-form, .contact-cards { min-width: 0; width: 100%; }
  .cc-value { font-size: 15px; }

  .about-hero { padding: calc(var(--nav-h) + 36px) var(--pad-x) 40px; }
  .about-hero-inner { gap: 52px; }

  .contact-hero { padding: calc(var(--nav-h) + 40px) var(--pad-x) 48px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* ── Hamburger button ── */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: var(--nb-border);
    border-radius: 6px;
    box-shadow: var(--nb-shadow-sm);
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 18px;
    height: 2.5px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
  }
  .nav-hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* ── Mobile nav menu ── */
  .nav-mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: var(--nb-border);
    box-shadow: 0 6px 0 #0D0D0D;
    padding: 12px var(--pad-x) 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 98;
  }
  .nav-mobile-menu[hidden] { display: none; }

  .nmi-link {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--fg);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    transition: color 0.12s;
  }
  .nmi-link:last-child { border-bottom: none; }
  .nmi-link:hover { color: var(--fg-muted); }

  /* ── Nav controls: push right on mobile, compact ── */
  .nav-controls { margin-left: auto; gap: 6px; align-items: center; }
  /* All three nav buttons — same 36px height */
  .nav-cta {
    height: 36px;
    padding: 0 12px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-btn {
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ── Hero tags: stack vertically, no internal wrap ── */
  .hero-eyebrow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-tag { white-space: nowrap; }
  .hero-sep { display: none; }

  /* ── Hero photo: show more neck ── */
  .hero-img-wrap img { object-position: center 35%; }
}

/* ══════════════════════════════════════
   MORE DESIGNS PAGE
══════════════════════════════════════ */
.more-designs-hero {
  padding: calc(var(--nav-h) + 72px) 0 48px;
}
.more-designs-hero-inner {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
}

.more-designs-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin-top: 20px;
}

/* ── Tab bar ── */
.designs-tabs-bar {
  padding: 0;
  border-bottom: var(--nb-border);
}
.designs-tabs {
  display: flex;
  gap: 10px;
  padding: 20px var(--pad-x);
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}
.designs-tab-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: var(--nb-border);
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.12s, transform 0.12s, color 0.12s;
  box-shadow: var(--nb-shadow-sm);
  white-space: nowrap;
}
.designs-tab-btn:hover {
  box-shadow: var(--nb-shadow);
  transform: translate(-1px, -1px);
}
.designs-tab-btn.active {
  background: var(--fg);
  color: var(--bg);
  box-shadow: none;
  transform: none;
}

/* ── Panels ── */
.designs-panel {
  padding: 60px 0 80px;
}
.designs-panel[hidden] { display: none; }

/* ── Image grid ── */
.designs-grid,
.designs-grid--loose {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
}
.designs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.designs-grid--loose {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Full-width item (e.g. wide/horizontal image) */
.designs-item--wide {
  grid-column: 1 / -1;
}
.designs-item--wide img {
  aspect-ratio: auto;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: #f5f4f0;
}
.designs-item {
  overflow: hidden;
  border: var(--nb-border);
  border-radius: 10px;
  box-shadow: var(--nb-shadow);
  background: var(--bg);
  transition: box-shadow 0.18s, transform 0.18s;
}
.designs-item:hover {
  box-shadow: var(--nb-shadow-lg);
  transform: translate(-2px, -2px);
}
.designs-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.designs-item:hover img { transform: scale(1.03); }

@media (max-width: 600px) {
  .designs-grid,
  .designs-grid--loose { grid-template-columns: 1fr; }
  .designs-tabs { gap: 8px; }
  .designs-tab-btn { font-size: 11px; padding: 8px 14px; }
}

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(13, 13, 13, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-overlay[hidden] { display: none; }

/* X button */
.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: var(--nb-border);
  border-radius: 8px;
  box-shadow: var(--nb-shadow);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, box-shadow 0.12s;
}
.lb-close:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--nb-shadow-lg);
}

/* Image area */
.lb-zoom-wrap {
  flex: 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 32px 0;
  box-sizing: border-box;
  position: relative;
}
.lb-img {
  display: block;
  max-width: 88vw;
  max-height: calc(88vh - 110px);
  object-fit: contain;
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 10px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.6);
}

/* Nav arrows */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);   /* slightly above center to account for controls bar */
  z-index: 2;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: var(--nb-border);
  border-radius: 8px;
  box-shadow: var(--nb-shadow);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, box-shadow 0.12s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover { transform: translateY(-60%) translate(-2px, -2px); box-shadow: var(--nb-shadow-lg); }
.lb-next:hover { transform: translateY(-60%) translate(-2px, -2px); box-shadow: var(--nb-shadow-lg); }

/* Controls bar */
.lb-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--bg);
  border: var(--nb-border);
  border-radius: 100px;
  box-shadow: var(--nb-shadow);
  margin: 20px auto 28px;
  flex-shrink: 0;
}
.lb-counter {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  min-width: 36px;
}
.lb-ctrl-sep {
  width: 1px;
  height: 16px;
  background: var(--border, rgba(13,13,13,0.15));
  flex-shrink: 0;
}
.lb-ctrl-icon {
  color: var(--fg);
  display: flex;
  align-items: center;
  opacity: 0.65;
}

/* Range slider */
.lb-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 180px;
  height: 5px;
  background: var(--border, rgba(13,13,13,0.2));
  border-radius: 3px;
  outline: none;
}
.lb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--c-yellow, #F7CB46);
  border: var(--nb-border);
  border-radius: 6px;
  box-shadow: var(--nb-shadow-sm);
}
.lb-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--c-yellow, #F7CB46);
  border: var(--nb-border);
  border-radius: 6px;
  box-shadow: var(--nb-shadow-sm);
}
.lb-zoom-value {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  min-width: 38px;
  text-align: right;
}

/* NB cursor handles all cursor states — no native cursor overrides needed */

@media (max-width: 600px) {
  .lb-slider { width: 120px; }
  .lb-controls { padding: 10px 16px; gap: 10px; margin-bottom: 20px; }
}
