:root {
  --bg: #050607;
  --bg-2: #090b0d;
  --panel: rgba(12, 15, 18, 0.84);
  --panel-solid: #0c0f12;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f4f4f1;
  --muted: #9a9d9f;
  --faint: #5f6468;
  --accent: #37b7ff;
  --accent-deep: #1268c8;
  --accent-soft: rgba(55, 183, 255, 0.15);
  --amber: #6fc8ff;
  --cyan: #a9dce6;
  --shadow: 0 38px 110px rgba(0, 0, 0, 0.52);
  --radius: 8px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

body {
  line-height: 1.5;
}

body.is-overlay-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  padding: 0.65rem 0.85rem;
  color: #050607;
  background: var(--text);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  --view-index: 0;
  --stage-shift: 0vw;
  --motion-duration: 1180ms;
  --audio-energy: 0;
  --audio-spin: 0deg;
  --ring-rotation: 0deg;
  --ring-scale: 1;
  --ring-opacity: 0.34;
  --ring-glow: 10px;
  --wave-scale: 1;
  --wave-opacity: 0.18;
  --orbit-scale: 1;
  --orbit-glow: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055), transparent 32rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #07090a 0%, #020303 100%);
}

.site-shell::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0 0 / 96px 96px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.site-shell::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 6px);
  opacity: 0.22;
}

.ambient span {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(0.1px);
}

.ambient span:nth-child(1) {
  top: 16%;
  left: -13rem;
  width: 28rem;
  height: 28rem;
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.08);
}

.ambient span:nth-child(2) {
  top: 20%;
  right: -10rem;
  width: 22rem;
  height: 22rem;
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.09);
}

.ambient span:nth-child(3) {
  right: 16%;
  bottom: -13rem;
  width: 30rem;
  height: 30rem;
  box-shadow: inset 0 0 54px rgba(55, 183, 255, 0.12);
}

.topbar {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  left: 1.4rem;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
}

.brand-button,
.language-toggle,
.menu-button {
  pointer-events: auto;
  border: 1px solid var(--line);
  background: rgba(10, 12, 14, 0.76);
  backdrop-filter: blur(18px);
}

.brand-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
}

.brand-button span {
  font-size: 0.72rem;
  font-weight: 900;
}

.topbar p {
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.language-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 14px 1fr;
  gap: 0.34rem;
  align-items: center;
  min-width: 78px;
  height: 38px;
  padding: 0 0.58rem;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.language-toggle::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 9px);
  height: calc(100% - 10px);
  content: "";
  background: rgba(55, 183, 255, 0.12);
  border: 1px solid rgba(55, 183, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(55, 183, 255, 0.16);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.language-toggle span {
  position: relative;
  z-index: 1;
  text-align: center;
}

.language-toggle i {
  position: relative;
  z-index: 1;
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--text);
  border-color: rgba(55, 183, 255, 0.42);
  background: rgba(10, 12, 14, 0.92);
}

body.is-en .language-toggle {
  color: var(--text);
}

body.is-en .language-toggle::before {
  transform: translateX(calc(100% + 10px));
}

.menu-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
}

.menu-button span {
  width: 13px;
  height: 1px;
  background: var(--text);
}

.menu-button span + span {
  width: 8px;
  margin-top: -16px;
  transform: translateX(3px);
}

.stage {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100svh;
  transform: translate3d(var(--stage-shift), 0, 0);
  transition: transform var(--motion-duration) cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--screen-index, 0) * 100vw);
  display: grid;
  width: 100vw;
  height: 100svh;
  padding: 6.1rem clamp(1rem, 4vw, 3rem) 5.4rem;
  overflow: auto;
  pointer-events: none;
}

.screen.is-active {
  pointer-events: auto;
}

.screen-hello {
  overflow: hidden;
}

.orbital-shell {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  isolation: isolate;
}

.hello-copy {
  position: absolute;
  left: clamp(1rem, 10vw, 8rem);
  top: 42%;
  z-index: 5;
  width: min(34vw, 430px);
  transform: translateY(-50%);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  font-size: 7.2rem;
  font-weight: 900;
}

h2 {
  font-size: 6.6rem;
  font-weight: 900;
}

h3 {
  font-size: 1.25rem;
  font-weight: 860;
}

.hello-copy p:not(.eyebrow),
.screen-heading p,
.work-copy p,
.about-drawer p,
.case-modal p {
  color: var(--muted);
}

.hello-copy p:not(.eyebrow) {
  max-width: 360px;
  margin: 1.1rem 0 0;
}

.portrait-orb {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(39vw, 405px);
  min-width: 260px;
  aspect-ratio: 1;
  place-items: center;
  background: transparent;
  border: 0;
}

.portrait-orb::before {
  position: absolute;
  inset: -6%;
  content: "";
  background: repeating-conic-gradient(
    from -0.6deg,
    rgba(244, 244, 241, 0.3) 0deg 0.34deg,
    rgba(111, 200, 255, 0.2) 0.34deg 0.58deg,
    transparent 0.58deg 2.35deg
  );
  border-radius: 50%;
  filter:
    drop-shadow(0 0 var(--ring-glow) rgba(55, 183, 255, 0.2))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
  opacity: 0.42;
  transform: scale(var(--ring-scale));
  transition:
    opacity 260ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 260ms ease;
  -webkit-mask: radial-gradient(circle, transparent 0 61.8%, black 63.2% 74.5%, transparent 76%);
  mask: radial-gradient(circle, transparent 0 61.8%, black 63.2% 74.5%, transparent 76%);
}

.portrait-orb::after {
  position: absolute;
  inset: 4%;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 58%, rgba(111, 200, 255, 0.28) 59%, transparent 60%),
    radial-gradient(circle, transparent 68%, rgba(244, 244, 241, 0.2) 69%, transparent 70%),
    radial-gradient(circle, transparent 78%, rgba(55, 183, 255, 0.16) 79%, transparent 80%);
  opacity: var(--wave-opacity);
  transform: scale(var(--wave-scale));
  animation: radioBreathe 5.4s ease-in-out infinite;
  transition:
    opacity 260ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-wave-ring {
  position: absolute;
  inset: -10%;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  filter: drop-shadow(0 0 var(--ring-glow) rgba(55, 183, 255, 0.34));
  mix-blend-mode: screen;
}

.audio-wave-ring i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.3px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    to top,
    rgba(55, 183, 255, 0.08),
    rgba(111, 200, 255, 0.9) 52%,
    rgba(244, 244, 241, 0.96)
  );
  opacity: 0.34;
  transform: translate(-50%, -50%);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.portrait-orb img {
  position: relative;
  z-index: 2;
  width: 68%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  filter: grayscale(1) contrast(1.24) brightness(0.64);
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.2);
  mask-image: radial-gradient(circle at 50% 48%, black 48%, rgba(0, 0, 0, 0.72) 60%, transparent 76%);
}

.portrait-glow {
  position: absolute;
  z-index: 1;
  width: 38%;
  height: 38%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  filter: blur(32px);
  transform: translate(18%, 8%);
}

.orbit-ring {
  position: absolute;
  inset: 3%;
  border: 1px solid rgba(111, 200, 255, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 var(--orbit-glow) rgba(55, 183, 255, 0.08);
  transform: scale(var(--orbit-scale));
  animation: orbitPulse 4s ease-in-out infinite;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-ring-2 {
  inset: 17%;
  border-color: rgba(244, 244, 241, 0.08);
  animation-delay: -1.3s;
}

.side-orbit {
  position: absolute;
  top: 50%;
  width: clamp(10rem, 22vw, 24rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translateY(-50%);
}

.side-orbit::before {
  position: absolute;
  inset: 18%;
  content: "";
  border: 11px solid rgba(255, 255, 255, 0.08);
  border-right-color: rgba(255, 255, 255, 0.62);
  border-radius: 50%;
}

.side-orbit-left {
  left: -14vw;
}

.side-orbit-right {
  right: -14vw;
}

.selector-panel {
  position: absolute;
  top: 41%;
  right: clamp(1rem, 10vw, 7rem);
  z-index: 5;
  width: 170px;
  transform: translateY(-50%);
}

.selector-panel p {
  margin: 0 0 1rem;
  color: var(--faint);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selector-list {
  display: grid;
  gap: 0.45rem;
}

.selector-list button,
.bottom-nav button {
  color: var(--muted);
  background: transparent;
  border: 0;
  text-align: left;
  transition: color 160ms ease, transform 160ms ease;
}

.selector-list button {
  padding: 0.2rem 0;
  font-size: 0.9rem;
  font-weight: 780;
}

.selector-list button.is-current,
.selector-list button:hover,
.bottom-nav button.is-current,
.bottom-nav button:hover {
  color: var(--accent);
}

.selector-list button.is-current {
  transform: translateX(10px);
}

.enter-button {
  position: absolute;
  right: clamp(1rem, 14vw, 10rem);
  bottom: 24%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  background: transparent;
  border: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.enter-button span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.enter-button span::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--text);
  transform: translateX(1px);
}

.screen-heading {
  align-self: start;
  width: min(34vw, 420px);
  margin-left: clamp(1rem, 7vw, 5rem);
}

.screen-heading.compact {
  width: min(54vw, 680px);
}

.screen-heading p:not(.eyebrow) {
  max-width: 420px;
}

.screen-work,
.screen-skills,
.screen-experience,
.screen-content,
.screen-links {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.screen-work .screen-heading,
.screen-skills .screen-heading,
.screen-experience .screen-heading,
.screen-content .screen-heading,
.screen-links .screen-heading {
  width: min(100%, 380px);
  margin-left: 0;
}

.screen-work h2,
.screen-skills h2,
.screen-experience h2,
.screen-content h2,
.screen-links h2 {
  font-size: clamp(4.1rem, 7.2vw, 5.35rem);
}

.screen-experience h2 {
  font-size: clamp(3.45rem, 6.2vw, 4.65rem);
}

.screen-work .screen-heading p:not(.eyebrow),
.screen-skills .screen-heading p:not(.eyebrow),
.screen-experience .screen-heading p:not(.eyebrow),
.screen-content .screen-heading p:not(.eyebrow),
.screen-links .screen-heading p:not(.eyebrow) {
  max-width: 340px;
}

.work-grid {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 850px);
  margin-left: auto;
}

.work-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.work-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.work-card:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.work-card.invert {
  grid-template-columns: minmax(0, 1fr) 190px;
}

.work-card.invert .work-visual {
  order: 2;
}

.work-visual {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: #111417;
}

.work-visual::before,
.work-visual::after {
  position: absolute;
  content: "";
}

.work-visual::before {
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.work-visual::after {
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.92;
}

.work-visual img {
  position: relative;
  z-index: 2;
  width: min(132px, 74%);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
}

.work-visual img.case-logo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.work-visual:has(.case-logo)::before,
.work-visual:has(.case-logo)::after {
  display: none;
}

.work-card[data-case="separations"] .work-visual {
  background: #ffffff;
}

.work-card[data-case="separations"] .work-visual img.case-logo {
  object-fit: contain;
  background: #ffffff;
  transform: scale(1.02);
}

.work-card[data-case="volkswagen"] .work-visual {
  background: #002b67;
}

.work-card[data-case="volkswagen"] .work-visual img.case-logo {
  object-fit: cover;
  object-position: center;
  background: #002b67;
  transform: scale(1.12);
}

.work-card[data-case="scania"] .work-visual {
  background: #ffffff;
}

.work-card[data-case="scania"] .work-visual img.case-logo {
  object-fit: contain;
  background: #ffffff;
  padding: 1rem;
  transform: scale(1.08);
}

.work-card[data-case="brava"] .work-visual {
  background: #ffffff;
}

.work-card[data-case="brava"] .work-visual img.case-logo {
  object-fit: contain;
  background: #ffffff;
  padding: 0.75rem;
  transform: scale(1.34);
}

.work-card[data-case="pontual"] .work-visual {
  background: #b20a14;
}

.work-card[data-case="pontual"] .work-visual img.case-logo {
  object-fit: cover;
  background: #b20a14;
}

.work-card[data-case="rodobens"] .work-visual,
.work-card[data-case="rodobens-ai-roadshow"] .work-visual {
  background: #004e2b;
}

.work-card[data-case="rodobens"] .work-visual img.case-logo,
.work-card[data-case="rodobens-ai-roadshow"] .work-visual img.case-logo {
  object-fit: cover;
  background: #004e2b;
}

.work-card[data-case="obraflow"] .work-visual,
.work-card[data-case="profit"] .work-visual {
  background: #202225;
}

.work-card[data-case="obraflow"] .work-visual img.case-logo,
.work-card[data-case="profit"] .work-visual img.case-logo {
  object-fit: cover;
  background: #202225;
}

.work-card[data-case="warroom"] .work-visual,
.work-card[data-case="tripoli-site"] .work-visual {
  background: #111a08;
}

.work-card[data-case="warroom"] .work-visual img.case-logo,
.work-card[data-case="tripoli-site"] .work-visual img.case-logo {
  object-fit: cover;
  object-position: center;
  background: #111a08;
  transform: scale(1.18);
}

.visual-eos::after { background: radial-gradient(circle, #d8d8d8, #29343e 45%, transparent 67%); }
.visual-atlas::after { background: conic-gradient(from 140deg, #f1f1f1, #1268c8, #15171b, #f1f1f1); }
.visual-war::after { background: radial-gradient(circle at 35% 35%, #e6eef2, #37b7ff 35%, #181c22 66%, transparent 68%); }
.visual-site::after { background: linear-gradient(135deg, #a9dce6, #1268c8 42%, #101b2e 72%); border-radius: 28% 72% 48% 52%; }
.visual-obra::after { background: repeating-linear-gradient(135deg, #e3d2bd 0 10px, #242424 10px 20px); }
.visual-profit::after { background: radial-gradient(circle at 40% 30%, #f2f0e9, #6fc8ff 30%, #111 72%); }
.visual-training::after { background: conic-gradient(from 210deg, #f4f4f1, #1d2329 24%, #1268c8 48%, #0b0d10 76%, #f4f4f1); }
.visual-analytics::after { background: radial-gradient(circle at 60% 40%, #f4f4f1, #a9dce6 28%, #24333a 54%, transparent 70%); }

.work-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: 1.2rem;
}

.work-copy > span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.work-copy h3 {
  font-size: 1.55rem;
}

.work-copy p {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-row span {
  padding: 0.34rem 0.52rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 760;
}

.skills-stack,
.experience-timeline,
.content-stack,
.content-grid,
.link-grid {
  display: grid;
  gap: 1rem;
  width: min(100%, 800px);
  margin-left: auto;
}

.skills-stack {
  width: min(100%, 940px);
}

.link-grid {
  width: min(100%, 880px);
  gap: 0.85rem;
}

.content-stack {
  width: min(100%, 980px);
  min-width: 0;
  gap: 0.95rem;
}

.method-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.method-track span {
  min-height: 78px;
  padding: 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

.method-track strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.72rem;
}

.skill-radar-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  background:
    radial-gradient(circle at 34% 54%, rgba(55, 183, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
}

.skill-radar-card::before,
.skill-radar-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.skill-radar-card::before {
  right: -7rem;
  bottom: -9rem;
  width: 260px;
  height: 260px;
  background: rgba(55, 183, 255, 0.045);
}

.skill-radar-card::after {
  top: -8rem;
  left: 16%;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.018);
}

.skill-radar-card header {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.skill-radar-card header div {
  min-width: 0;
  margin-right: auto;
}

.skill-radar-card header h3 {
  margin: 0 0 0.22rem;
  font-size: 0.98rem;
  line-height: 1;
}

.skill-radar-card header p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.skill-radar-card header strong {
  flex: 0 0 auto;
  padding: 0.34rem 0.52rem;
  color: var(--accent);
  background: rgba(55, 183, 255, 0.08);
  border: 1px solid rgba(55, 183, 255, 0.26);
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  text-transform: uppercase;
}

.skill-radar-content {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(240px, 0.75fr);
  gap: 1rem;
  align-items: center;
}

.radar-visual {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.radar-ring,
.radar-shape {
  position: absolute;
  inset: var(--inset);
  clip-path: polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
}

.radar-ring {
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.012);
}

.ring-1 { --inset: 9%; }
.ring-2 { --inset: 20%; }
.ring-3 { --inset: 31%; }
.ring-4 { --inset: 42%; }

.radar-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 1px;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  transform-origin: top center;
}

.axis-1 { transform: rotate(0deg); }
.axis-2 { transform: rotate(60deg); }
.axis-3 { transform: rotate(120deg); }
.axis-4 { transform: rotate(180deg); }
.axis-5 { transform: rotate(240deg); }
.axis-6 { transform: rotate(300deg); }

.radar-shape {
  inset: 9%;
  filter: drop-shadow(0 0 18px rgba(55, 183, 255, 0.18));
}

.radar-shape-benchmark {
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(244, 244, 241, 0.2), rgba(244, 244, 241, 0.06)),
    repeating-linear-gradient(90deg, rgba(244, 244, 241, 0.18) 0 4px, transparent 4px 9px);
  clip-path: polygon(50% 14%, 80% 27%, 81% 68%, 50% 84%, 20% 70%, 18% 30%);
  filter: drop-shadow(0 0 16px rgba(244, 244, 241, 0.16));
  mix-blend-mode: screen;
}

.radar-shape-current {
  z-index: 2;
  background: linear-gradient(135deg, rgba(169, 220, 230, 0.64), rgba(55, 183, 255, 0.38) 52%, rgba(18, 104, 200, 0.42));
  clip-path: polygon(50% 6%, 88% 20%, 86% 69%, 50% 91%, 13% 69%, 10% 22%);
}

.radar-shape-current::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(169, 220, 230, 0.78);
  clip-path: inherit;
}

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 10px;
  height: 10px;
  background: var(--text);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(55, 183, 255, 0.08), 0 0 24px rgba(55, 183, 255, 0.28);
  transform: translate(-50%, -50%);
}

.radar-label {
  position: absolute;
  z-index: 5;
  max-width: 110px;
  color: rgba(244, 244, 241, 0.78);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.label-data {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.label-ai {
  top: 22%;
  right: 0;
}

.label-product {
  right: 0;
  bottom: 22%;
}

.label-automation {
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.label-business {
  bottom: 22%;
  left: 0;
}

.label-story {
  top: 22%;
  left: 0;
}

.radar-insights {
  display: grid;
  gap: 0.65rem;
}

.radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.radar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.48rem;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.radar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-current {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(55, 183, 255, 0.5);
}

.legend-benchmark {
  background: rgba(255, 255, 255, 0.32);
}

.radar-insights article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.2rem 0.65rem;
  align-items: start;
  padding: 0.78rem;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius);
}

.radar-insights article span {
  display: grid;
  grid-row: span 2;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--accent);
  background: rgba(55, 183, 255, 0.08);
  border: 1px solid rgba(55, 183, 255, 0.24);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.radar-insights h4 {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.1;
}

.radar-insights p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.profile-skills {
  display: grid;
  grid-template-columns: minmax(250px, 1.12fr) minmax(270px, 1.18fr) minmax(220px, 0.9fr);
  gap: 1rem;
}

.profile-column {
  min-width: 0;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-column header,
.education-block header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.profile-column header h3,
.education-block header h3 {
  margin-right: auto;
  font-size: 0.92rem;
  line-height: 1;
}

.profile-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 3px;
}

.profile-icon::before,
.profile-icon::after {
  position: absolute;
  right: 3px;
  left: 3px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.58);
}

.profile-icon::before {
  top: 5px;
}

.profile-icon::after {
  top: 9px;
}

.profile-head,
.profile-column li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(64px, 7vw, 82px);
  gap: 0.65rem;
  align-items: center;
}

.profile-head {
  padding: 0 0 0.45rem;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-column ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-column li {
  min-height: 40px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 780;
}

.profile-column li:last-child {
  border-bottom: 0;
}

.profile-column li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-column i {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.profile-column i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  content: "";
  background: linear-gradient(90deg, rgba(169, 220, 230, 0.9), rgba(55, 183, 255, 0.9));
  border-radius: inherit;
}

.education-block {
  display: grid;
  gap: 0;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.education-block header {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.education-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.education-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.education-item img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
  object-fit: contain;
}

.education-item h4 {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 100%;
  margin: 0 0 0.7rem;
  padding: 0.34rem 0.5rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.education-item h4 span {
  color: rgba(244, 244, 241, 0.78);
}

.education-item p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.education-item p:last-child {
  margin-bottom: 0;
}

.education-item strong {
  color: var(--text);
}

.content-grid a,
.content-grid button,
.link-grid a {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-grid span {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.course-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1.18rem;
  background:
    radial-gradient(circle at 82% 14%, rgba(55, 183, 255, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
}

.course-panel::before {
  position: absolute;
  inset: auto -9% -48% 42%;
  height: 260px;
  content: "";
  background: radial-gradient(circle, rgba(55, 183, 255, 0.15), transparent 62%);
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
}

.course-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
}

.course-header span,
.content-section-label {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 880;
  letter-spacing: 0;
  text-transform: uppercase;
}

.course-header h3 {
  max-width: 18ch;
  margin: 0.35rem 0 0.7rem;
  color: var(--text);
  font-size: clamp(2rem, 3.25vw, 3rem);
  line-height: 0.96;
}

.course-header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.course-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  color: var(--accent);
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.42);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 880;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.course-cta:hover {
  background: rgba(55, 183, 255, 0.15);
  border-color: rgba(55, 183, 255, 0.72);
  transform: translateY(-2px);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.course-meta span {
  padding: 0.34rem 0.54rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.052);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 760;
}

.course-lessons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.course-lesson {
  display: grid;
  grid-template-columns: 84px 2.1rem minmax(0, 1fr);
  gap: 0.18rem 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.66rem 0.72rem;
  color: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.033);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.course-lesson:hover {
  background: rgba(55, 183, 255, 0.075);
  border-color: rgba(55, 183, 255, 0.34);
  transform: translateY(-2px);
}

.course-lesson img {
  grid-row: span 2;
  width: 84px;
  height: 48px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  filter: saturate(0.82) brightness(0.8);
}

.course-lesson span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 880;
}

.course-lesson strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.18;
  white-space: normal;
}

.course-lesson small {
  min-width: 0;
  overflow: hidden;
  color: rgba(244, 244, 241, 0.54);
  font-size: 0.72rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-section-label {
  margin: 0.15rem 0 -0.25rem;
}

.content-stack .content-grid {
  width: 100%;
  margin-left: 0;
}

.shorts-panel {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem;
  background:
    radial-gradient(circle at 8% 18%, rgba(55, 183, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.shorts-panel header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
}

.shorts-panel header span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.shorts-panel h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1;
}

.shorts-panel p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.shorts-carousel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.shorts-track {
  display: flex;
  gap: 0.62rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.15rem 0 0.55rem;
  scroll-padding-inline: 0.1rem;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}

.shorts-track::-webkit-scrollbar {
  display: none;
}

.carousel-control {
  position: relative;
  width: 34px;
  height: 52px;
  background: rgba(255, 255, 255, 0.036);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.carousel-control:hover {
  background: rgba(55, 183, 255, 0.08);
  border-color: rgba(55, 183, 255, 0.34);
  transform: translateY(-1px);
}

.carousel-control::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translate(-60%, -50%) rotate(45deg);
}

.carousel-prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.short-card {
  position: relative;
  display: grid;
  flex: 0 0 205px;
  gap: 0.38rem;
  min-height: 292px;
  overflow: hidden;
  padding: 0 0.88rem 0.88rem;
  color: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 7px;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.short-card::after {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 30px;
  height: 30px;
  content: "";
  background: radial-gradient(circle, rgba(55, 183, 255, 0.14), rgba(55, 183, 255, 0.02));
  border: 1px solid rgba(55, 183, 255, 0.34);
  border-radius: 50%;
}

.short-card::before {
  position: absolute;
  right: 1.56rem;
  bottom: 1.3rem;
  width: 0;
  height: 0;
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent);
  transform: translate(50%, 50%);
  z-index: 1;
}

.short-card img {
  width: calc(100% + 1.76rem);
  height: 210px;
  margin: 0 -0.88rem 0.32rem;
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
  filter: saturate(0.9) brightness(0.86) contrast(1.03);
  transition: filter 180ms ease, transform 180ms ease;
}

.short-card.is-carousel-clone {
  pointer-events: auto;
}

.short-card:hover {
  background: rgba(55, 183, 255, 0.07);
  border-color: rgba(55, 183, 255, 0.34);
  transform: translateY(-2px);
}

.short-card:hover img {
  filter: saturate(1) brightness(0.98);
  transform: scale(1.018);
}

.short-card span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 880;
}

.short-card strong {
  max-width: 15ch;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.06;
}

.short-card small {
  align-self: end;
  color: rgba(244, 244, 241, 0.54);
  font-size: 0.72rem;
  font-weight: 740;
}

.experience-timeline {
  position: relative;
  gap: 1.05rem;
  width: min(100%, 850px);
  padding-left: var(--timeline-indent);
  --timeline-axis: 0.64rem;
  --timeline-indent: 2.2rem;
  --timeline-progress: 0px;
}

.timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--timeline-axis);
  width: 2px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--timeline-progress);
  background: linear-gradient(180deg, rgba(244, 244, 241, 0.94), rgba(55, 183, 255, 0.88));
  border-radius: inherit;
  transition: height 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-orb {
  position: absolute;
  top: var(--timeline-progress);
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--text);
  border: 4px solid rgba(55, 183, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(55, 183, 255, 0.13), 0 0 30px rgba(244, 244, 241, 0.56);
  transform: translate(-50%, -50%);
  transition: top 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.timeline-item::before {
  position: absolute;
  top: 50%;
  left: calc(var(--timeline-axis) - var(--timeline-indent));
  width: 10px;
  height: 10px;
  content: "";
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.timeline-item.is-current {
  background: rgba(255, 255, 255, 0.042);
  border-color: rgba(255, 255, 255, 0.2);
}

.timeline-item.is-current::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(55, 183, 255, 0.1), 0 0 14px rgba(55, 183, 255, 0.36);
  transform: translate(-50%, -50%) scale(1.08);
}

.timeline-item aside {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.65rem;
  min-width: 0;
}

.timeline-item aside img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.26);
}

.timeline-item aside img.logo-contain {
  padding: 0.42rem;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
}

.timeline-item aside strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.1;
}

.timeline-card {
  min-width: 0;
}

.timeline-card h3 {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.36rem 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 0.96rem;
  line-height: 1.2;
}

.timeline-card h3 span {
  color: rgba(244, 244, 241, 0.76);
}

.timeline-card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline-card p:last-child {
  margin-bottom: 0;
}

.timeline-card strong {
  color: var(--text);
}

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

.content-grid a,
.content-grid button {
  min-height: 210px;
  padding: 1.25rem;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease;
}

.content-grid a:hover,
.content-grid button:hover,
.link-grid a:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.content-grid h3 {
  max-width: 18ch;
  font-size: 1.55rem;
}

.content-grid p {
  color: var(--muted);
}

.content-card {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  color: inherit;
}

.content-card img {
  width: calc(100% + 2.5rem);
  height: 150px;
  margin: -1.25rem -1.25rem 1rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--line);
  filter: saturate(0.84) brightness(0.78);
  transition: filter 180ms ease, transform 180ms ease;
}

.content-card:hover img {
  filter: saturate(0.98) brightness(0.9);
  transform: scale(1.025);
}

.link-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  gap: 1rem;
  min-height: 96px;
  align-items: center;
  overflow: hidden;
  padding: 1rem 1.1rem;
  background:
    radial-gradient(circle at 6% 50%, rgba(55, 183, 255, 0.11), transparent 29%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  font-weight: 850;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  isolation: isolate;
}

.link-grid a::before {
  position: absolute;
  top: 50%;
  left: 29px;
  z-index: -1;
  width: 106px;
  height: 106px;
  content: "";
  border: 1px solid rgba(55, 183, 255, 0.2);
  border-radius: 50%;
  opacity: 0.64;
  transform: translate(-50%, -50%);
}

.link-icon {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle, rgba(55, 183, 255, 0.18), rgba(255, 255, 255, 0.035) 62%, transparent 66%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(55, 183, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(55, 183, 255, 0.035), 0 18px 40px rgba(0, 0, 0, 0.26);
}

.link-icon::before {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.link-icon::after {
  position: absolute;
  inset: 9px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.icon-whatsapp::before {
  content: "\260E";
  font-size: 1.05rem;
  color: var(--accent);
  transform: rotate(-16deg);
}

.icon-linkedin::before {
  content: "in";
  font-size: 1rem;
  color: var(--text);
}

.icon-email::before {
  content: "@";
  font-size: 1.05rem;
  color: var(--accent);
}

.icon-instagram::before {
  width: 20px;
  height: 20px;
  content: "";
  background:
    radial-gradient(circle at 70% 28%, var(--accent) 0 2px, transparent 2.6px),
    radial-gradient(circle, transparent 0 4px, var(--text) 4.4px 5.8px, transparent 6.2px);
  border: 2px solid var(--text);
  border-radius: 7px;
}

.icon-youtube::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--accent);
}

.link-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.link-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--accent);
  background: rgba(55, 183, 255, 0.07);
  border: 1px solid rgba(55, 183, 255, 0.26);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.link-grid a:hover .link-arrow {
  background: rgba(55, 183, 255, 0.14);
  border-color: rgba(55, 183, 255, 0.46);
  transform: translateX(3px);
}

.bottom-nav {
  position: fixed;
  bottom: 1.7rem;
  left: 50%;
  z-index: 20;
  display: flex;
  gap: 1rem;
  transform: translateX(-50%);
}

.bottom-nav button {
  padding: 0.2rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.progress-dots {
  position: fixed;
  right: 2rem;
  bottom: 1.9rem;
  z-index: 20;
  display: flex;
  gap: 0.42rem;
}

.progress-dots span {
  width: 5px;
  height: 5px;
  background: var(--faint);
  border-radius: 50%;
  transition: background 160ms ease, transform 160ms ease;
}

.progress-dots span.is-current {
  background: var(--accent);
  transform: scale(1.45);
}

.about-drawer,
.case-modal,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.about-drawer.is-open,
.case-modal.is-open,
.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.about-drawer {
  justify-items: end;
}

.about-drawer > p,
.about-drawer > h2,
.about-drawer > .close-button {
  width: min(100%, 620px);
}

.about-drawer > p:not(.eyebrow),
.about-drawer > h2 {
  margin-right: 0;
}

.about-drawer > p,
.about-drawer > h2 {
  padding: 0 1.5rem;
}

.about-drawer > p:last-child {
  padding-bottom: 1.5rem;
}

.about-drawer h2 {
  margin-bottom: 1rem;
  font-size: 3.6rem;
}

.about-drawer > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 1rem;
}

.about-drawer::before,
.case-modal-inner,
.video-modal-inner {
  content: "";
  grid-area: 1 / 1;
  width: min(100%, 660px);
  height: auto;
  min-height: 70svh;
  background: rgba(10, 12, 14, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-drawer > * {
  z-index: 1;
  grid-column: 1;
}

.case-modal,
.video-modal {
  justify-items: center;
}

.case-modal-inner,
.video-modal-inner {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.5rem;
}

.case-modal-inner img {
  width: min(260px, 100%);
  max-height: 160px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: var(--radius);
}

.case-modal-inner h2 {
  font-size: 4.2rem;
}

.video-modal-inner {
  width: min(100%, 760px);
  min-height: auto;
}

.video-modal-inner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(0.9) brightness(0.86);
}

.video-modal-inner h2 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.video-modal-inner p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.watch-button {
  justify-self: start;
  padding: 0.72rem 1rem;
  color: var(--accent);
  background: rgba(55, 183, 255, 0.1);
  border: 1px solid rgba(55, 183, 255, 0.42);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 880;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.watch-button:hover {
  background: rgba(55, 183, 255, 0.15);
  border-color: rgba(55, 183, 255, 0.72);
  transform: translateY(-2px);
}

.close-button {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.4rem;
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 0.28; }
}

@keyframes radioBreathe {
  0%, 100% {
    filter: blur(0);
  }

  45% {
    filter: blur(0.3px);
  }

  55% {
    filter: blur(0);
  }
}

@media (max-width: 980px) {
  html,
  body {
    overflow: hidden;
  }

  .site-shell {
    min-height: 100svh;
    overflow: hidden;
  }

  .stage {
    height: 100svh;
  }

  .screen {
    position: absolute;
    display: grid;
    height: 100svh;
    min-height: 0;
    padding: 5rem 1rem 5.5rem;
  }

  .screen.is-active {
    display: grid;
  }

  .hello-copy,
  .selector-panel,
  .enter-button {
    position: static;
    width: 100%;
    transform: none;
  }

  .orbital-shell {
    align-content: center;
    gap: 1.5rem;
    place-items: center;
    text-align: left;
  }

  .hello-copy {
    order: 1;
    max-width: 430px;
    justify-self: start;
  }

  .portrait-orb {
    order: 2;
    width: min(78vw, 360px);
  }

  .selector-panel {
    order: 3;
    max-width: 430px;
    justify-self: start;
  }

  .selector-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enter-button {
    display: none;
  }

  .side-orbit {
    display: none;
  }

  .screen-work,
  .screen-skills,
  .screen-experience,
  .screen-content,
  .screen-links {
    grid-template-columns: 1fr;
  }

  .screen-heading,
  .screen-heading.compact,
  .work-grid,
  .skills-stack,
  .experience-timeline,
  .content-stack,
  .content-grid,
  .link-grid {
    width: 100%;
    margin-left: 0;
  }

  .work-card,
  .work-card.invert {
    grid-template-columns: 1fr;
  }

  .work-card.invert .work-visual {
    order: 0;
  }

  .method-track,
  .course-lessons,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .shorts-carousel {
    position: relative;
    display: block;
  }

  .carousel-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 50px;
    background: rgba(5, 6, 7, 0.82);
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
  }

  .carousel-control:hover {
    transform: translateY(-50%);
  }

  .carousel-prev {
    left: 0.35rem;
  }

  .carousel-next {
    right: 0.35rem;
  }

  .skill-radar-content {
    grid-template-columns: 1fr;
  }

  .radar-visual {
    width: min(100%, 390px);
  }

  .profile-skills {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .profile-column:last-child {
    grid-column: 1 / -1;
  }

  .experience-timeline {
    --timeline-axis: 0.55rem;
    --timeline-indent: 1.7rem;
  }

  .timeline-item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  h1,
  h2 {
    font-size: 4.6rem;
  }

  .bottom-nav {
    overflow-x: auto;
    width: calc(100% - 2rem);
    justify-content: center;
    padding: 0.75rem;
    background: rgba(5, 6, 7, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .bottom-nav::-webkit-scrollbar {
    display: none;
  }

  .progress-dots {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar p {
    display: none;
  }

  .topbar {
    left: 0.8rem;
    right: 0.8rem;
    gap: 0.45rem;
  }

  .language-toggle {
    min-width: 70px;
    height: 36px;
    padding: 0 0.5rem;
  }

  .screen {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  .screen-hello {
    overflow-y: auto;
  }

  .screen-hello .orbital-shell {
    align-content: start;
    gap: 0;
  }

  .screen-hello .hello-copy {
    margin-bottom: 0;
  }

  .screen-hello .portrait-orb {
    width: min(78vw, 320px);
    min-width: 0;
    margin: 2.25rem auto 3.25rem;
  }

  .screen-hello .selector-panel {
    display: none;
  }

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

  .skill-radar-card {
    padding: 0.9rem;
  }

  .skill-radar-card header {
    align-items: center;
  }

  .skill-radar-card header strong {
    display: none;
  }

  .skill-radar-content {
    gap: 0.75rem;
  }

  .radar-visual {
    width: min(100%, 305px);
  }

  .radar-label {
    display: none;
  }

  .radar-insights article {
    padding: 0.72rem;
  }

  .profile-column:last-child {
    grid-column: auto;
  }

  .work-visual {
    min-height: 210px;
  }

  .work-copy,
  .profile-column,
  .education-block,
  .course-panel,
  .shorts-panel,
  .content-grid a,
  .content-grid button {
    padding: 1rem;
  }

  .short-card {
    flex-basis: min(72vw, 220px);
    min-height: 286px;
  }

  .short-card img {
    height: 206px;
  }

  .shorts-panel {
    padding: 0.82rem;
  }

  .shorts-track {
    gap: 0.52rem;
    margin-right: -0.82rem;
    margin-left: -0.82rem;
    padding: 0.15rem 0.82rem 0.45rem;
  }

  .shorts-panel h3 {
    font-size: 1.65rem;
  }

  .screen-content .screen-heading {
    margin-bottom: 0.35rem;
  }

  .screen-content .screen-heading h2 {
    font-size: 3rem;
  }

  .content-stack {
    gap: 0.75rem;
  }

  .course-lesson {
    grid-template-columns: 76px 1.9rem minmax(0, 1fr);
  }

  .course-lesson img {
    width: 76px;
    height: 44px;
  }

  .content-card img {
    width: calc(100% + 2rem);
    height: 132px;
    margin: -1rem -1rem 0.85rem;
  }

  .course-header {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .course-header h3 {
    max-width: 12ch;
    font-size: 2.15rem;
  }

  .course-cta {
    justify-self: start;
    white-space: normal;
  }

  .link-grid a {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    gap: 0.75rem;
    min-height: 84px;
    padding: 0.85rem;
  }

  .link-icon {
    width: 46px;
    height: 46px;
  }

  .link-icon::after {
    inset: 8px;
  }

  .link-copy strong {
    font-size: 0.92rem;
  }

  .link-copy small {
    font-size: 0.76rem;
  }

  .link-arrow {
    width: 31px;
    height: 31px;
  }

  .timeline-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .timeline-item aside img {
    width: 48px;
    height: 48px;
  }

  .timeline-item aside strong {
    font-size: 0.72rem;
  }

  .timeline-card h3 {
    font-size: 0.86rem;
  }

  .profile-head,
  .profile-column li {
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  .profile-column li span {
    white-space: normal;
  }

  .education-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.8rem;
  }

  .education-item img {
    width: 52px;
    height: 52px;
  }

  .education-item h4 {
    display: flex;
  }

  .about-drawer,
  .case-modal,
  .video-modal {
    padding: 0.75rem;
  }

  .about-drawer::before,
  .case-modal-inner,
  .video-modal-inner {
    min-height: 84svh;
  }

  h1,
  h2 {
    font-size: 3.35rem;
  }

  .about-drawer h2,
  .case-modal-inner h2,
  .video-modal-inner h2 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
