:root {
  --ink: #16171f;
  --ink-soft: #1d1e28;
  --cream: #f5f2ec;
  --cream-deep: #b0ada4;
  --paper: #0e0f16;
  --ocru: #4bffa5;
  --ocru-deep: #2dcc80;
  --line: rgba(255, 255, 255, .1);
  --muted: #77786f;
  --display: 'Space Grotesk', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ── Light mode (default, editorial) ── */
[data-theme="light"] {
  --ink: #f3efe8;
  --ink-soft: #ece6db;
  --cream: #18181a;
  --cream-deep: #56565c;
  --paper: #fbfaf6;
  --ocru: #00a356;
  --ocru-deep: #007a3f;
  --line: rgba(24, 24, 26, .1);
  --muted: #92918a;
}
[data-theme="light"] .nav-mark { color: #18181a }
[data-theme="light"] .nav-links a { color: #18181a }
[data-theme="light"] .lang { border-color: rgba(24,24,26,.2) }
[data-theme="light"] .lang button { color: #18181a }
[data-theme="light"] .lang button.active { background: #18181a; color: #fbfaf6 }
[data-theme="light"] .menu-toggle { border-color: rgba(24,24,26,.2) }
[data-theme="light"] .menu-toggle span { background: #18181a }
[data-theme="light"] .theme-toggle { color: #18181a; border-color: rgba(24,24,26,.2) }
[data-theme="light"] .theme-toggle:hover { background: rgba(24,24,26,.06) }
[data-theme="light"] .nav.scrolled {
  background: rgba(251, 250, 246, .88);
  border-bottom-color: rgba(24,24,26,.08);
  --cream: #18181a;
  --cream-deep: #56565c;
}
[data-theme="light"] .nav.scrolled .lang { border-color: rgba(24,24,26,.18) }
[data-theme="light"] .nav.scrolled .lang button.active { background: #18181a; color: #fbfaf6 }
[data-theme="light"] .nav-links.open {
  background: rgba(251, 250, 246, .97);
  border-color: rgba(24,24,26,.08);
  box-shadow: 0 4px 20px rgba(24,24,26,.08)
}
[data-theme="light"] .nav-links.open a { color: #56565c; border-bottom-color: rgba(24,24,26,.06) }
[data-theme="light"] .hero-photo::after { background: linear-gradient(to top, rgba(251,250,246,.4), transparent 25%) }
[data-theme="light"] .btn-ghost { border-color: rgba(24,24,26,.18) }
[data-theme="light"] .hero-meta { color: #6b6a63 }
[data-theme="light"] .tl-item { border-top-color: var(--line) }
[data-theme="light"] .tl-item:last-child { border-bottom-color: var(--line) }
[data-theme="light"] .tag:hover { background: #18181a; color: #fbfaf6; border-color: #18181a }
[data-theme="light"] footer { color: var(--cream-deep) }
[data-theme="light"] .contact-meta a { color: rgba(251,250,246,.85) }
[data-theme="light"] .contact-meta a:hover { color: #fbfaf6 }
[data-theme="light"] ::selection { color: #18181a }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #444 #0e0f16
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px
}

::-webkit-scrollbar-track {
  background: #0e0f16
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 6px
}

::-webkit-scrollbar-thumb:hover {
  background: #5a5a5a
}

[data-theme="light"] {
  scrollbar-color: #444 #f5f2ec
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f5f2ec
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

::selection {
  background: var(--ocru);
  color: var(--paper)
}

h1,
h2,
h3,
.display {
  font-family: var(--display);
  font-weight: 400
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 5vw, 72px);
  transition: background .35s, border-color .35s, box-shadow .35s, padding .35s
}

.nav.scrolled {
  background: rgba(14,15,2, .8 );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(255, 255, 255, .03);
  padding: 14px clamp(20px, 5vw, 72px)
}

.nav-mark {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  transition: color .35s
}

.nav-mark span {
  color: var(--ocru)
}

.nav.scrolled .nav-mark {
  color: var(--cream)
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav-links {
  display: flex;
  gap: 26px
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .8;
  transition: opacity .25s, color .35s
}

.nav-links a:hover {
  opacity: 1
}

.nav-links a.active {
  opacity: 1;
  color: var(--ocru)
}

.nav.scrolled .nav-links a.active {
  color: var(--ocru)
}

.nav.scrolled .nav-links a {
  color: var(--cream-deep)
}

.lang {
  display: flex;
  align-items: center;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .35s
}

.lang button {
  display: flex;
  align-items: center;
  height: 100%;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0 11px;
  font-family: var(--sans);
  transition: background .2s, color .2s
}

.lang button.active {
  background: #fff;
  color: var(--ink)
}

.nav.scrolled .lang {
  border-color: rgba(255, 255, 255, .15)
}

.nav.scrolled .lang button {
  color: var(--cream-deep)
}

.nav.scrolled .lang button.active {
  background: var(--ocru);
  color: var(--ink)
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  transition: border-color .35s
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  transition: background .35s, transform .25s, opacity .25s
}

.nav.scrolled .menu-toggle {
  border-color: rgba(255, 255, 255, .15)
}

.nav.scrolled .menu-toggle span {
  background: var(--cream)
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  transition: border-color .35s, color .35s, background .2s;
  padding: 0;
  line-height: 1
}
.theme-toggle:hover { background: rgba(255, 255, 255, .08) }
.nav.scrolled .theme-toggle { color: var(--cream-deep); border-color: rgba(255, 255, 255, .15) }

#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: transform .75s cubic-bezier(.76, 0, .24, 1)
}

#loader.done { transform: translateY(-100%) }

.loader-logo {
  font-family: var(--display);
  font-size: 72px;
  letter-spacing: 6px;
  color: var(--cream);
  opacity: 0;
  transform: translateY(14px);
  animation: loaderIn .5s ease .15s forwards
}

.loader-logo span { color: #4bffa5 }

.loader-line {
  width: 100px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: loaderIn .4s ease .35s forwards
}

.loader-line-fill {
  height: 100%;
  width: 0;
  background: #4bffa5;
  animation: loaderFill .75s cubic-bezier(.4, 0, .2, 1) .55s forwards
}

@keyframes loaderIn {
  to { opacity: 1; transform: none }
}

@keyframes loaderFill {
  to { width: 100% }
}

.scroll-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--ocru);
  z-index: 100;
  transition: width .08s linear
}

.hero {
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  position: relative;
  overflow: hidden
}

.hero-left {
  padding: clamp(90px, 12vh, 160px) clamp(24px, 6vw, 90px) 60px
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background-image: linear-gradient(to right, var(--ocru), var(--ocru-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ocru);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px
}

.hero-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--ocru)
}

.hero h1 {
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 24px
}

.hero h1 em {
  font-style: normal;
  color: var(--ocru)
}

.hero-role {
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--cream-deep);
  max-width: 34ch;
  margin-bottom: 38px;
  font-weight: 300;
  line-height: 1.6
}

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted)
}

.hero-meta b {
  color: var(--cream);
  font-weight: 600;
  font-size: 15px
}

.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: .3s;
  cursor: pointer;
  border: 1px solid var(--ocru);
  border-radius: 6px;
  font-family: var(--sans)
}

.btn-primary {
  background: var(--ocru);
  color: var(--ink)
}

.btn-primary:hover {
  background: var(--ocru-deep);
  border-color: var(--ocru-deep);
  color: #fff
}

.btn-ghost {
  background: none;
  color: var(--cream);
  border-color: rgba(240, 238, 234, .25)
}

.btn-ghost:hover {
  border-color: var(--cream)
}

.hero-right {
  position: relative;
  height: 100vh;
  min-height:100%
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-color: var(--ink-soft);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%);
  mask-image: linear-gradient(to right, transparent, #000 18%);
  display: flex;
  align-items: start;
  justify-content: center
}

.hero-photo .fallback {
  font-family: var(--display);
  font-size: 120px;
  letter-spacing: 6px;
  color: var(--ocru);
  opacity: .35
}
.hero-photo .fallback img{
  max-height: 100vh;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 19, 19, .6), transparent 45%)
}

section {
  padding: clamp(70px, 11vh, 130px) clamp(24px, 6vw, 90px)
}

.sec-head {
  margin-bottom: 54px;
  max-width: 820px
}

.sec-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background-image: linear-gradient(to right, var(--ocru), var(--ocru-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ocru-deep);
  margin-bottom: 16px
}

.sec-title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -.5px
}

.sec-title em { font-style: normal; color: var(--ocru) }

.about {
  background: var(--ink-soft)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start
}

.about-grid p {
  margin-bottom: 22px;
  color: var(--cream-deep);
  font-size: 17px;
  line-height: 1.8
}

.about-grid p strong {
  color: var(--cream);
  font-weight: 600
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-radius: 12px;
  overflow: hidden
}

.stat {
  background: var(--paper);
  padding: 30px 26px
}

.stat-num {
  font-family: var(--display);
  font-size: 60px;
  color: var(--ocru-deep);
  line-height: .9;
  letter-spacing: 1px
}

.stat-lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.45
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden
}

.exp-card {
  background: var(--paper);
  padding: clamp(30px, 4vw, 46px);
  transform-style: preserve-3d;
  transition: transform .18s ease-out, background .3s, box-shadow .45s
}

.exp-card h3 {
  font-size: 30px;
  letter-spacing: -.3px;
  margin-bottom: 6px
}

.exp-card .exp-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocru-deep);
  margin-bottom: 22px
}

.exp-card ul {
  list-style: none
}

.exp-card li {
  padding: 9px 0 9px 22px;
  position: relative;
  color: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  font-size: 15px
}

.exp-card li:last-child {
  border-bottom: none
}

.exp-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ocru)
}

.timeline {
  background: var(--ink);
  color: var(--cream)
}

.timeline .sec-tag {
  color: var(--ocru)
}

.tl-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.tl-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.tl-period {
  font-size: 13px;
  font-weight: 600;
  color: var(--ocru);
  letter-spacing: 1px;
  padding-top: 8px
}

.tl-body h3 {
  font-size: 28px;
  letter-spacing: -.3px;
  margin-bottom: 2px
}

.tl-company {
  font-size: 14px;
  color: var(--cream-deep);
  margin-bottom: 18px;
  font-weight: 300
}

.tl-body ul {
  list-style: none;
  display: grid;
  gap: 11px
}

.tl-body li {
  padding-left: 24px;
  position: relative;
  color: var(--cream-deep);
  font-size: 15px;
  line-height: 1.6
}

.tl-body li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--ocru)
}

.skills {
  background: var(--ink-soft)
}

@media (min-width: 901px) {
  .skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    align-items: start
  }

  .skills .sec-head { grid-column: 1 / -1 }
}

.skill-cluster {
  margin-bottom: 36px
}

.skill-cluster h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocru-deep);
  margin-bottom: 16px
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.tag {
  padding: 9px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-deep);
  transition: .25s
}

.tag:hover {
  background: var(--ocru);
  color: var(--ink);
  border-color: var(--ocru)
}

.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;


  border-radius: 12px;
  overflow: hidden
}

.cred {

  padding: 36px;
  background: var(--ink-soft) !important;
}

.cred .y {
  font-size: 12px;
  font-weight: 600;
  color: var(--ocru-deep);
  letter-spacing: 2px;
  margin-bottom: 12px
}

.cred h3 {
  font-size: 24px;
  letter-spacing: -.2px;
  margin-bottom: 10px;
  line-height: 1.15
}

.cred p {
  font-size: 14px;
  color: var(--muted)
}

.contact {
  background: var(--ocru);
  color: var(--ink);
  text-align: center
}

.contact h2 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -.5px
}

.contact-mail {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 28px);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: opacity .25s
}

.contact-mail:hover { opacity: .75 }

.contact-mail i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, .18);
  border-radius: 50%;
  font-size: 17px;
  flex-shrink: 0
}

.contact-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500
}

.contact-meta a,
.contact-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, .18);
  border-radius: 50px;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s
}

.contact-meta a:hover { background: rgba(0, 0, 0, .3) }

.contact-meta i {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0
}

.a11y-wrapper {
  position: fixed;
  bottom: 84px;
  right: 28px;
  z-index: 48;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px
}

/* ── Buton rotund identic cu back-to-top ── */
.a11y-btn {
  width: 44px;
  height: 44px;
  background: var(--ocru-deep);
  color: var(--paper);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  transition: background .2s, color .2s
}

.a11y-btn:hover,
.a11y-btn.open {
  background: var(--ocru);
  color: var(--ink)
}

/* ── Panou ── */
.a11y-panel {
  width: 270px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
  opacity: 0;
  transform: translateY(10px) scale(.97);
  pointer-events: none;
  transition: opacity .25s, transform .25s
}

.a11y-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.a11y-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream)
}

.a11y-close {
  background: none;
  border: none;
  color: var(--cream-deep);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
  transition: color .15s
}

.a11y-close:hover { color: var(--cream) }

.a11y-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 12px 4px
}

.a11y-section {
  padding: 12px 12px 4px
}

.a11y-sec-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-deep);
  margin-bottom: 6px
}

.a11y-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--cream-deep);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  width: 100%;
  margin-bottom: 6px;
  transition: background .15s, color .15s, border-color .15s
}

.a11y-item--half {
  font-size: 11px;
  padding: 10px 10px;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 100%
}

.a11y-item--half i { width: auto; font-size: 16px }

.a11y-item:hover { background: var(--line); color: var(--cream); border-color: var(--line) }

.a11y-item.active {
  background: var(--ocru);
  color: var(--ink);
  border-color: var(--ocru)
}

.a11y-item.active:hover { background: var(--ocru-deep); border-color: var(--ocru-deep) }

.a11y-item i { width: 16px; text-align: center; font-size: 14px; flex-shrink: 0 }

.a11y-item > span { flex: 1 }

.a11y-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 4px 12px 12px;
  padding: 11px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cream-deep);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .15s, color .15s
}

.a11y-reset:hover { background: var(--line); color: var(--cream) }

/* ── Accessibility states ── */
body.a11y-large-text { zoom: 1.18 }
body.a11y-large-text .a11y-wrapper { zoom: 0.848 }

body.a11y-small-text { zoom: 0.85 }
body.a11y-small-text .a11y-wrapper { zoom: 1.177 }

body.a11y-dyslexia,
body.a11y-dyslexia p,
body.a11y-dyslexia li {
  font-family: Arial, sans-serif;
  letter-spacing: .04em;
  word-spacing: .1em;
  line-height: 1.9
}

.a11y-high-contrast {
  --cream: #ffffff;
  --cream-deep: #dddddd;
  --muted: #bbbbbb;
  --ocru: #00ff88;
  --ocru-deep: #00cc6a;
  --line: #333333
}

.a11y-high-contrast .a11y-wrapper {
  --cream: #f0eeea;
  --cream-deep: #888480;
  --ocru: #4bffa5;
  --ocru-deep: #2dcc80;
  --line: #1a1a1a
}

.a11y-grayscale section,
.a11y-grayscale header { filter: grayscale(100%) }

.a11y-invert section,
.a11y-invert header { filter: invert(100%) hue-rotate(180deg) }

.a11y-keyboard *:focus {
  outline: 3px solid var(--ocru) !important;
  outline-offset: 3px !important
}

.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px }

.a11y-underline-titles h1,
.a11y-underline-titles h2,
.a11y-underline-titles h3 { text-decoration: underline; text-underline-offset: 4px }

.a11y-img-titles img { outline: 2px solid var(--ocru); outline-offset: 2px }
.a11y-img-titles img[alt]::after { content: attr(alt) }

.a11y-cursor-white * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M8 4l20 14-8 2-4 10z' fill='white' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, auto !important }

.a11y-cursor-black * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M8 4l20 14-8 2-4 10z' fill='black' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, auto !important }

.a11y-zoom body { zoom: 1.2 }

.a11y-no-motion *,
.a11y-no-motion *::before,
.a11y-no-motion *::after {
  animation-duration: .01ms !important;
  transition-duration: .01ms !important
}

.a11y-no-motion .a11y-wrapper *,
.a11y-no-motion .a11y-wrapper *::before,
.a11y-no-motion .a11y-wrapper *::after {
  animation-duration: revert !important;
  transition-duration: revert !important
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--ocru);
  color: var(--ink);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 49;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5)
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0)
}

.back-to-top:hover {
  background: var(--ocru-deep);
  color: #fff
}

footer {
  background: var(--ink);
  color: var(--muted);
  text-align: center;
  padding: 34px;
  font-size: 14px;
  letter-spacing: .5px
}

.cookie-banner {
  position: fixed;
  bottom: 3px;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding: 14px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--cream-deep);
  transform: translateY(0);
  transition: transform .35s ease
}

.cookie-banner.hidden {
  transform: translateY(110%)
}

.cookie-banner p { flex: 1; min-width: 180px }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.cookie-accept {
  background: var(--ocru);
  color: var(--ink);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--sans);
  transition: background .2s
}

.cookie-accept:hover { background: var(--ocru-deep); color: #fff }

.cookie-decline {
  background: none;
  border: 1px solid var(--line);
  color: var(--cream-deep);
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--sans);
  transition: border-color .2s, color .2s
}

.cookie-decline:hover { border-color: var(--cream-deep); color: var(--cream) }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .hero-right {
    height: 46vh;
    order: -1;
    min-height: 340px;
    display: none;
  }

  .hero-photo {
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
    mask-image: linear-gradient(to bottom, #000 70%, transparent)
  }

  .about-grid,
  .exp-grid,
  .creds-grid {
    grid-template-columns: 1fr
  }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .nav-links {
    display: none
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 62px;
    left: 16px;
    right: 16px;
    background: rgba(19, 19, 19, .97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
    padding: 4px 0;
    overflow: hidden
  }

  .nav-links.open a {
    padding: 14px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 13px;
    color: var(--cream-deep);
    opacity: 1
  }

  .nav-links.open a:last-child {
    border-bottom: none
  }

  .menu-toggle {
    display: flex
  }
}

@media(max-width:560px) {
  .stats {
    grid-template-columns: 1fr 1fr
  }

  .hero-cta {
    flex-direction: column
  }

  .btn {
    text-align: center
  }
}

@media(min-width:1920px) {
  .hero-left {
    padding-left: calc((100vw - 1740px) / 2)
  }

  .nav,
  .nav.scrolled {
    padding-left: calc((100vw - 1740px) / 2);
    padding-right: calc((100vw - 1740px) / 2)
  }

  section {
    padding-left: calc((100vw - 1740px) / 2);
    padding-right: calc((100vw - 1740px) / 2)
  }

  footer {
    padding-left: calc((100vw - 1740px) / 2);
    padding-right: calc((100vw - 1740px) / 2)
  }
}

/* ══════════════════════════════════════════════
   Bootstrap theme bridge — map Bootstrap 5 CSS
   variables onto the site's own dark/light tokens
   so .card/.btn/.badge inherit the existing look
   ══════════════════════════════════════════════ */
:root {
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--cream);
  --bs-body-font-family: var(--sans);
  --bs-border-color: var(--line);
  --bs-border-color-translucent: var(--line);
  --bs-emphasis-color: var(--cream);
  --bs-secondary-color: var(--cream-deep);
  --bs-tertiary-bg: var(--ink-soft);
  --bs-link-color: var(--ocru);
  --bs-link-hover-color: var(--ocru-deep);
  --bs-link-color-rgb: 75, 255, 165;
  --bs-link-hover-color-rgb: 45, 204, 128;
  --bs-primary: var(--ocru);
  --bs-primary-rgb: 75, 255, 165;
  --bs-primary-text-emphasis: var(--ocru);
  --bs-primary-bg-subtle: var(--ink-soft);
  --bs-primary-border-subtle: var(--ocru-deep);
  --bs-card-bg: var(--paper);
  --bs-card-color: var(--cream);
  --bs-card-border-color: var(--line);
  --bs-card-cap-bg: var(--ink-soft);
  --bs-focus-ring-color: rgba(75, 255, 165, .35);
}

[data-theme="light"] {
  --bs-link-color-rgb: 0, 163, 86;
  --bs-link-hover-color-rgb: 0, 122, 63;
  --bs-primary-rgb: 0, 163, 86;
  --bs-focus-ring-color: rgba(0, 163, 86, .3);
}

.btn-primary,
.btn.btn-primary {
  --bs-btn-bg: var(--ocru);
  --bs-btn-border-color: var(--ocru);
  --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: var(--ocru-deep);
  --bs-btn-hover-border-color: var(--ocru-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--ocru-deep);
  --bs-btn-active-border-color: var(--ocru-deep);
  --bs-btn-font-size: 12px;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 6px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 32px
}

.btn-outline-light,
.btn.btn-ghost {
  --bs-btn-color: var(--cream);
  --bs-btn-border-color: rgba(240, 238, 234, .25);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--cream);
  --bs-btn-hover-color: var(--cream);
  --bs-btn-font-size: 12px;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 6px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 32px
}

.badge.bg-tech {
  background: var(--paper) !important;
  border: 1px solid var(--line);
  color: var(--cream-deep);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3px;
  padding: 7px 12px;
  text-transform: none
}

/* ══════════════════════════════════════════════
   Accessibility / SEO helper
   ══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--ocru);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s
}

.skip-link:focus { top: 16px }

/* ══════════════════════════════════════════════
   Persona cross-link — single, minimal nav badge
   ══════════════════════════════════════════════ */
.persona-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color .25s, background .25s, transform .2s
}

.persona-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocru)
}

.persona-badge:hover {
  border-color: var(--ocru);
  transform: translateY(-1px)
}

@media (max-width: 1000px) {
  .persona-badge { display: none }
}

/* ══════════════════════════════════════════════
   Portfolio grid (front-end-developer.html)
   ══════════════════════════════════════════════ */
.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  box-shadow: 1px 1px 90px rgba(75, 255, 165, .08);
  transition: transform .18s ease-out, border-color .3s, box-shadow .4s
}

.project-card:hover {
  border-color: var(--ocru-deep);
  box-shadow: 1px 1px 90px rgba(75, 255, 165, .18), 0 20px 50px rgba(0, 0, 0, .28)
}

.project-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px 11px 0 0;
  overflow: hidden
}

.project-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--thumb-a, #1a1a1a), var(--thumb-b, #0c0c0c))
}

.project-thumb-inner span {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  text-align: center;
  padding: 0 20px
}

[data-theme="light"] .project-thumb-inner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--thumb-a, #1a1a1a) 45%, white), color-mix(in srgb, var(--thumb-b, #0c0c0c) 45%, white))
}

[data-theme="light"] .project-thumb-inner span {
  color: rgba(24, 24, 26, .82)
}

.project-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.project-body h3 {
  font-size: 20px;
  letter-spacing: -.2px;
  margin-bottom: 8px
}

.project-body p {
  color: var(--cream-deep);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--ocru);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ocru-deep);
  border-radius: 6px;
  padding: 10px 18px;
  transition: background .2s, color .2s
}

.project-link:hover { background: var(--ocru); color: var(--ink) }

.sec-note {
  color: var(--cream-deep);
  font-size: 15px;
  max-width: 70ch;
  margin-top: 18px
}

.tl-note {
  color: var(--muted);
  text-transform: none;
  font-size: 15px;
  font-family: var(--sans);
  letter-spacing: 0
}

/* ══════════════════════════════════════════════
   Editorial redesign layer — light, minimal, one
   confident accent, generous whitespace, serif type
   ══════════════════════════════════════════════ */
html { background: var(--paper) }
body { background-color: var(--paper) }

/* Numbered items (about points / services / expertise) */
.numbered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;

}

.numbered-item {
  background: var(--paper);
  padding: 30px 26px;
   border-radius: 14px;
}

.numbered-item .num {
  font-family: var(--display);
  font-size: 15px;
  color: var(--ocru);
  margin-bottom: 12px;
  letter-spacing: .5px
}

.numbered-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: -.2px
}

.numbered-item p {
  font-size: 14px;
  color: var(--cream-deep);
  line-height: 1.6
}

/* Cards: soft, flat, one shadow on hover — no glass */
.exp-card, .project-card, .cred, .stat {
  border-radius: 16px;
  background: var(--paper);
  transition: box-shadow .3s, border-color .3s, transform .25s
}

.project-card:hover, .exp-card:hover {
  box-shadow: 0 20px 50px -24px rgba(20, 20, 20, .35);
  border-color: var(--ocru)
}

/* Accent text + solid confident buttons (no gradients) */
.hero h1 em {
  font-style: normal;
  color: var(--ocru)
}

.btn-primary,
.btn.btn-primary {
  background: var(--ocru) !important;
  border: 1px solid var(--ocru) !important;
  color: #fff !important;
  border-radius: 60px !important;
  transition: transform .25s, box-shadow .25s, background .25s
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--ocru-deep) !important;
  border-color: var(--ocru-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(75, 255, 165, .5)
}

.btn-outline-light, .btn.btn-ghost {
  background: transparent !important;
  border-color: var(--line) !important;
  color: var(--cream) !important;
  border-radius: 60px !important
}

.btn-outline-light:hover, .btn.btn-ghost:hover { border-color: var(--cream) !important }


/* Subtle lift on hover instead of tilt/spotlight */
.tilt { transition: transform .25s ease }
.tilt:hover { transform: translateY(-4px) }

/* Bootstrap Offcanvas → light theme bridge */
.offcanvas.nav-drawer {
  --bs-offcanvas-bg: var(--paper);
  --bs-offcanvas-color: var(--cream);
  --bs-offcanvas-border-color: var(--line);
  --bs-offcanvas-width: min(320px, 86vw)
}

.nav-drawer-links { display: flex; flex-direction: column; gap: 5px }

.nav-drawer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 10px;
  border: 1px solid var(--line);
  opacity: .8;
  transition: opacity .2s, color .2s;
  border-radius: 50px;
}

.nav-drawer-links a:last-child { border-bottom: none }
.nav-drawer-links a:hover,
.nav-drawer-links a.active { opacity: 1; color: var(--ocru) }

.drawer-cta { margin-top: 22px; width: 100%; text-align: center }

.offcanvas-header { border-bottom: 1px solid var(--line) }

.offcanvas .btn-close { filter: none }
:root .offcanvas .btn-close { filter: invert(1) grayscale(100%) brightness(200%) }
[data-theme="light"] .offcanvas .btn-close { filter: none }

/* Bootstrap Progress → skill proficiency bars */
.skill-bars { display: grid; gap: 22px; max-width: 640px }

.skill-bar-row { display: grid; gap: 8px }

.skill-bar-row .lbl {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-deep);
  letter-spacing: .3px
}

.skill-bar-row .lbl b { color: var(--cream); font-weight: 700 }

.progress {
  --bs-progress-height: 8px;
  --bs-progress-bg: var(--paper);
  --bs-progress-border-radius: 20px
}

.progress-bar {
  background: var(--ocru) !important;
  width: 0%
}

/* Arrow-on-hover portfolio link (Eve Kayser style) */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.project-link .arrow { transition: transform .25s }
.project-link:hover .arrow { transform: translateX(4px) }

.word { display: inline-block; will-change: transform, opacity, filter }

/* ══════════════════════════════════════════════
   Split hero (index.html) — 2 full-height panels
   ══════════════════════════════════════════════ */
.split-hero {
  display: flex;
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden
}

.split-panel {
  --panel-accent: var(--ocru);
  --panel-accent-ink: #1a0e08;
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: var(--cream);
  transition: flex .6s cubic-bezier(.16,.84,.44,1)
}

.split-panel--fe { --panel-accent: var(--ocru-deep) }

.split-hero:hover .split-panel:not(:hover) { flex: .82 }
.split-hero:hover .split-panel:hover { flex: 1.18 }

.split-panel__media {
  position: absolute;
  inset: 0;
  background-image: url('../assets/PM.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform .7s ease
}

.split-panel--fe .split-panel__media { background-image: url('../assets/fronte-end develoepr.jpeg') }

.split-panel__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 8, .82) 0%, rgba(6, 6, 8, .25) 60%, rgba(6, 6, 8, 0) 100%)
}

[data-theme="light"] .split-panel__media::before {
  background: linear-gradient(to top, rgba(255, 255, 255, .82) 6%, rgba(255, 255, 255, .25) 60%, rgba(255, 255, 255, 0) 100%)
}

.split-panel:hover .split-panel__media { transform: scale(1.09) }

.split-panel__content {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 64px);
  max-width: 560px
}

.split-panel__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--panel-accent);
  margin-bottom: 14px
}

.split-panel h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.5px;
  margin-bottom: 14px
}

.split-panel h2 em {
  font-style: normal;
  color: var(--panel-accent)
}

.split-panel p {
  font-size: 15px;
  line-height: 1.6;
  color: #f5f2ec;
  margin-bottom: 24px;
  max-width: 42ch
}

[data-theme="light"] .split-panel p { color: var(--cream-deep) }

.split-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--panel-accent);
  color: var(--panel-accent-ink);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 8px 8px 22px;
  border-radius: 50px;
  transition: transform .25s, box-shadow .25s
}

.split-panel__cta .arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel-accent-ink);
  color: var(--panel-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.split-panel:hover .split-panel__cta {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5)
}

body.split-page {
  height: 100dvh;
  overflow: hidden;
  background: transparent
}

@media (max-width: 900px) {
  body.split-page { height: auto; overflow: visible }
  .split-hero { flex-direction: column; height: auto }
  .split-panel { height: 50vh; flex: none !important }
  .split-hero:hover .split-panel:not(:hover),
  .split-hero:hover .split-panel:hover { flex: none !important }
}

/* Nav stays light-on-dark on the split hero regardless of theme */
.nav--on-dark .nav-mark,
.nav--on-dark .nav-links a,
.nav--on-dark .lang button,
.nav--on-dark .theme-toggle,
.nav--on-dark .menu-toggle span { color: #f5f2ec !important; border-color: rgba(245,242,236,.4) !important }
.nav--on-dark .lang,
.nav--on-dark .menu-toggle { border-color: rgba(245,242,236,.4) !important }
.nav--on-dark .lang button.active { background: #f5f2ec !important; color: #16171f !important }
.nav--on-dark .menu-toggle span { background: #f5f2ec !important }

/* Split hero (PM / Front-end pages) — matches evekayser.com.br's
   home-header structure: equal 2-col grid, image side with a
   rotating glass badge, text side with eyebrow/heading/pill CTA */
.hero--split {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--cream);
  padding: clamp(110px, 15vh, 170px) clamp(20px, 6vw, 90px) 70px
}

.hero-glow {
  position: absolute;
  top: -12%;
  left: -12%;
  width: 34rem;
  height: 34rem;
  background: var(--ocru);
  opacity: .16;
  filter: blur(150px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none
}

.hero--split .hero-left,
.hero--split .hero-right {
  position: relative;
  z-index: 1;
  width: 100%
}

.hero--split .hero-left { display: flex; flex-direction: column; align-items: flex-start; padding: 0 }
.hero--split .hero-right { display: flex; justify-content: center; height: auto; min-height: 0 }

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 420px
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transform: rotate(-1.2deg);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .35)
}

.hero-badge {
  position: absolute;
  bottom: -26px;
  right: -26px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.hero-badge__blur {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--ocru);
  opacity: .35;
  filter: blur(26px)
}

.hero-badge__ring {
  position: absolute;
  inset: 10px;
  color: var(--cream);
  animation: heroBadgeSpin 13s linear infinite
}

.hero-badge__icon {
  position: relative;
  z-index: 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ocru)
}

@keyframes heroBadgeSpin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .hero-badge__ring { animation: none } }

/* Pill CTA with circular icon bubble */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ocru);
  border: 1px solid var(--ocru);
  border-radius: 60px;
  padding: 8px 8px 8px 26px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform .25s, box-shadow .25s
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(75, 255, 165, .5)
}

.btn-pill__circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ocru);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.btn-text-link {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-text-link:hover { border-color: var(--ocru); color: var(--ocru) }

@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr }
  .hero--split .hero-right { display: flex !important; order: -1; max-width: 280px; margin: 0 auto 32px; height: auto }
}

/* Numbered items via CSS counters — echoes the numbered-portfolio motif */
.exp-grid { counter-reset: exp-num }
.exp-card { counter-increment: exp-num }
.exp-card::before {
  content: counter(exp-num, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 15px;
  color: var(--ocru);
  letter-spacing: .5px;
  margin-bottom: 14px
}

#portfolio .row { counter-reset: project-num }
.project-card { counter-increment: project-num }
.project-body::before {
  content: counter(project-num, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 13px;
  color: var(--ocru);
  margin-bottom: 8px;
  overflow: hidden;
}