:root {
  --bg: #07111f;
  --bg-elevated: rgba(10, 22, 38, 0.78);
  --panel: rgba(14, 27, 47, 0.8);
  --panel-strong: rgba(18, 34, 58, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --text: #eef6ff;
  --text-muted: #9fb3ca;
  --text-soft: #7085a1;
  --accent: #80b8ff;
  --accent-strong: #59e2bc;
  --accent-warm: #ffc268;
  --success: #6ee7b7;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.18);
  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --scroll-offset: 138px;
  --page-pad-x: 1rem;

  --brand-accent-soft: #5cb89f;
  --brand-accent-soft-strong: #78ccb6;
}

/* Premium beauty pass v2 */
body.portfolio-page:not(.detail-page) .nav {
  border-bottom-color: color-mix(in srgb, var(--accent-strong) 18%, transparent);
  background:
    linear-gradient(180deg, rgba(10, 22, 36, 0.88), rgba(9, 20, 33, 0.74)),
    rgba(8, 17, 29, 0.72);
  box-shadow:
    0 14px 30px rgba(2, 8, 18, 0.18),
    inset 0 -1px 0 rgba(89, 226, 188, 0.08);
}

[data-theme="light"] body.portfolio-page:not(.detail-page) .nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 28px rgba(33, 54, 87, 0.08),
    inset 0 -1px 0 rgba(2, 139, 112, 0.08);
}

body.portfolio-page:not(.detail-page) .brand-avatar::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(89, 226, 188, 0.34);
  opacity: 0.64;
  animation: premiumAvatarPing 5.4s ease-in-out infinite;
  pointer-events: none;
}

body.portfolio-page:not(.detail-page) .hero {
  overflow: hidden;
}

body.portfolio-page:not(.detail-page) .hero-grid::after {
  content: "";
  position: absolute;
  inset: 8% -6% auto 38%;
  height: min(24rem, 58vw);
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(89, 226, 188, 0.16) 24.3%, transparent 24.8% 54%, rgba(128, 184, 255, 0.14) 54.3%, transparent 54.8%),
    linear-gradient(22deg, transparent 0 34%, rgba(255, 194, 104, 0.1) 34.3%, transparent 34.8% 74%, rgba(89, 226, 188, 0.12) 74.3%, transparent 74.8%);
  opacity: 0.5;
  filter: drop-shadow(0 0 18px rgba(89, 226, 188, 0.14));
  animation: premiumHeroSignalSweep 18s ease-in-out infinite;
  z-index: 0;
}

.hero-intro-prefix {
  position: relative;
  display: inline-block;
}

.hero-intro-prefix::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: 0.05em;
  bottom: -0.08em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(89, 226, 188, 0), rgba(89, 226, 188, 0.72), rgba(128, 184, 255, 0.52), rgba(89, 226, 188, 0));
  transform-origin: left center;
  animation: premiumHeroWordUnderline 4.8s ease-in-out infinite;
}

.hero-name-accent {
  filter: drop-shadow(0 0 18px rgba(89, 226, 188, 0.12));
}

.hero-card.is-tilt-ready {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.hero-card.is-tilt-ready:hover {
  border-color: rgba(89, 226, 188, 0.34);
  box-shadow:
    0 34px 70px rgba(3, 10, 21, 0.34),
    0 0 0 1px rgba(89, 226, 188, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-photo-frame {
  isolation: isolate;
}

.hero-photo-frame .hero-photo {
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), filter 0.46s ease;
}

.hero-card:hover .hero-photo {
  transform: scale(1.018);
  filter: saturate(1.05) contrast(1.03);
}

.hero-photo-badge {
  animation: premiumBadgeFloat 6.2s ease-in-out infinite;
}

.btn {
  --button-press: 0px;
}

.btn:active,
.help-bot-message-link:active,
.help-bot-message-option:active,
.project-card:active,
.timeline-item:active {
  transform: translateY(1px) scale(0.992);
}

.btn:focus-visible,
.help-bot-message-link:focus-visible,
.help-bot-message-option:focus-visible,
.project-card:focus-visible,
.timeline-item:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-strong) 74%, white 26%);
  outline-offset: 3px;
}

.project-card {
  contain: layout paint;
}

.project-card:nth-child(1) .project-content {
  --project-badge: "Robotics";
}

.project-card:nth-child(2) .project-content {
  --project-badge: "Immersive";
}

.project-card:nth-child(3) .project-content {
  --project-badge: "Optimization";
}

.project-card:nth-child(4) .project-content {
  --project-badge: "Simulation";
}

.project-card:nth-child(5) .project-content {
  --project-badge: "Mechatronics";
}

.project-content::after {
  content: var(--project-badge);
  position: absolute;
  top: -2.15rem;
  left: 1rem;
  z-index: 4;
  min-height: 1.55rem;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border: 1px solid rgba(89, 226, 188, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 19, 32, 0.86), rgba(9, 19, 32, 0.68)),
    rgba(89, 226, 188, 0.14);
  color: #eafffb;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(3, 10, 21, 0.22);
  backdrop-filter: blur(12px);
  transform: translateY(5px);
  opacity: 0.88;
  transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.28s ease;
}

.project-card:hover .project-content::after,
.project-card:focus-visible .project-content::after {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(128, 184, 255, 0.32);
}

.project-card .project-image {
  transform-origin: center;
}

.project-card::before {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.2), transparent 22%),
    linear-gradient(180deg, rgba(5, 12, 22, 0) 28%, rgba(5, 12, 22, 0.28) 72%, rgba(5, 12, 22, 0.52) 100%);
}

.project-card:hover .project-meta .project-tag,
.project-card:focus-visible .project-meta .project-tag {
  animation: premiumChipLift 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-card:hover .project-meta .project-tag:nth-child(2),
.project-card:focus-visible .project-meta .project-tag:nth-child(2) {
  animation-delay: 0.05s;
}

.project-card:hover .project-meta .project-tag:nth-child(3),
.project-card:focus-visible .project-meta .project-tag:nth-child(3) {
  animation-delay: 0.1s;
}

.skill-card {
  --skill-bar: 74%;
}

.skill-card:nth-child(1) {
  --skill-bar: 92%;
}

.skill-card:nth-child(2) {
  --skill-bar: 88%;
}

.skill-card:nth-child(3) {
  --skill-bar: 82%;
}

.skill-card:nth-child(4) {
  --skill-bar: 78%;
}

.skill-signal-list {
  padding-top: 0.72rem;
}

.skill-signal-list::before,
.skill-signal-list::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  border-radius: 999px;
}

.skill-signal-list::before {
  width: 100%;
  background: rgba(128, 184, 255, 0.12);
}

.skill-signal-list::after {
  width: var(--skill-bar);
  background: linear-gradient(90deg, rgba(89, 226, 188, 0.92), rgba(128, 184, 255, 0.7), rgba(255, 194, 104, 0.58));
  box-shadow: 0 0 16px rgba(89, 226, 188, 0.18);
  transform-origin: left center;
  transform: scaleX(0.72);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
}

.skill-card:hover .skill-signal-list::after,
.skill-card:focus-within .skill-signal-list::after {
  transform: scaleX(1);
  filter: saturate(1.12);
}

.skill-card .icon-box {
  border-radius: 8px;
}

.skill-signal-list span,
.project-tag {
  border-radius: 8px;
}

.experience-timeline {
  padding-left: 1.2rem;
}

.experience-timeline::before {
  left: 0.28rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  height: auto;
  background:
    linear-gradient(180deg, rgba(89, 226, 188, 0), rgba(89, 226, 188, 0.58), rgba(128, 184, 255, 0.42), rgba(89, 226, 188, 0));
  filter: drop-shadow(0 0 12px rgba(89, 226, 188, 0.22));
  animation: premiumTimelineRail 7.8s ease-in-out infinite;
}

.experience-timeline .timeline-item {
  transform-origin: left center;
}

.experience-timeline .timeline-item.current {
  box-shadow:
    0 22px 46px rgba(4, 12, 24, 0.24),
    0 0 0 1px rgba(89, 226, 188, 0.14),
    0 0 30px rgba(89, 226, 188, 0.08);
}

.experience-timeline .timeline-item.current .badge {
  border-radius: 8px;
}

.experience-cta,
.project-card-cta,
.card-cta {
  border-radius: 8px;
}

.help-bot {
  --help-bot-panel-width: min(438px, calc(100vw - 1.25rem));
}

.help-bot-launcher {
  filter: drop-shadow(0 16px 34px rgba(4, 12, 24, 0.22));
}

.help-bot-launcher-core::before {
  content: "";
  position: absolute;
  inset: 17px 20px 12px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 42%, rgba(89, 226, 188, 0.34), transparent 48%),
    radial-gradient(circle at 48% 64%, rgba(128, 184, 255, 0.24), transparent 48%);
  filter: blur(13px);
  opacity: 0.62;
  animation: premiumBotHalo 4.6s ease-in-out infinite;
  pointer-events: none;
}

.help-bot-panel {
  border-radius: 22px;
  border-color: rgba(89, 226, 188, 0.22);
}

.help-bot-panel-head {
  padding-block: 0.92rem 0.82rem;
}

.help-bot-panel-title {
  font-size: 0.98rem;
  line-height: 1.16;
}

.help-bot-panel-badge::before,
.help-bot-launcher-presence-badge::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.14), 0 0 14px rgba(110, 231, 183, 0.42);
}

.help-bot-messages {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 12% 0, rgba(128, 184, 255, 0.08), transparent 26%);
}

.help-bot-bubble {
  border-radius: 16px;
}

.help-bot-message-link,
.help-bot-message-option,
.help-bot-card {
  border-radius: 8px;
}

.help-bot-message-link,
.help-bot-message-option {
  min-height: 42px;
}

.help-bot-message-link:hover .help-bot-button-label,
.help-bot-message-link:focus-visible .help-bot-button-label,
.help-bot-message-option:hover .help-bot-button-label,
.help-bot-message-option:focus-visible .help-bot-button-label {
  transform: translateX(-4px);
}

.help-bot-button-label {
  transition: transform 0.2s ease;
}

.help-bot-card {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.11), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.help-bot-card:hover,
.help-bot-card.is-pointer-lit {
  transform: translateY(-2px);
  border-color: rgba(89, 226, 188, 0.26);
  box-shadow: 0 14px 28px rgba(4, 12, 24, 0.18);
}

[data-theme="light"] .project-content::after {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.82)),
    rgba(2, 139, 112, 0.1);
  color: #17314c;
  box-shadow: 0 10px 20px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .skill-signal-list::before {
  background: rgba(31, 111, 235, 0.1);
}

[data-theme="light"] .experience-timeline::before {
  background:
    linear-gradient(180deg, rgba(2, 139, 112, 0), rgba(2, 139, 112, 0.5), rgba(31, 111, 235, 0.34), rgba(2, 139, 112, 0));
}

[data-theme="light"] .help-bot-card {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(2, 139, 112, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.86));
}

@media (max-width: 780px) {
  body.portfolio-page:not(.detail-page) .nav {
    background:
      linear-gradient(180deg, rgba(9, 20, 34, 0.94), rgba(8, 18, 31, 0.84)),
      rgba(8, 17, 29, 0.82);
  }

  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.28rem;
    row-gap: 0.36rem;
  }

  .brand {
    max-width: 100%;
  }

  .brand-avatar {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
  }

  .brand-title {
    max-width: 15.5ch;
    font-size: 0.72rem;
    letter-spacing: 0.035em;
  }

  .mobile-title-controls {
    justify-self: end;
    gap: 0.2rem;
  }

  .mobile-title-controls .mobile-title-lang {
    min-height: 30px;
    padding: 0.08rem;
    border-radius: 8px;
  }

  .mobile-title-controls .lang-option {
    min-width: 36px;
    min-height: 27px;
    padding: 0.18rem 0.28rem;
    border-radius: 8px;
  }

  .mobile-title-controls .mobile-title-theme,
  .mobile-nav-toggle {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    min-height: 2rem;
    border-radius: 8px;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-switch-control {
    min-width: 1.48rem;
    width: 1.48rem;
    min-height: 1.48rem;
    border-radius: 8px;
  }

  .nav-inner.is-mobile-open .nav-actions,
  .nav-inner.is-mobile-open .nav-links {
    grid-column: 1 / -1;
  }

  body.portfolio-page:not(.detail-page) .hero-grid::after {
    content: none;
  }

  .project-content::after {
    top: -1.92rem;
    left: 0.82rem;
    min-height: 1.36rem;
    padding: 0.16rem 0.44rem;
    font-size: 0.6rem;
  }

  .experience-timeline {
    padding-left: 0.75rem;
  }

  .experience-timeline::before {
    left: 0.1rem;
  }

  .help-bot {
    --help-bot-panel-width: min(420px, calc(100vw - 1rem));
  }
}

@media (max-width: 420px) {
  .brand-title {
    max-width: 12.2ch;
    font-size: 0.66rem;
  }

  .mobile-title-controls .lang-option {
    min-width: 31px;
    padding-inline: 0.22rem;
  }

  .mobile-title-controls .lang-option .lang-code {
    font-size: 0.56rem;
  }

  .mobile-title-controls .mobile-title-theme,
  .mobile-nav-toggle {
    width: 1.88rem;
    min-width: 1.88rem;
    height: 1.88rem;
    min-height: 1.88rem;
  }
}

@keyframes premiumAvatarPing {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.2;
  }
  45% {
    transform: scale(1.08);
    opacity: 0.68;
  }
}

@keyframes premiumHeroSignalSweep {
  0%, 100% {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.34;
  }
  50% {
    transform: translate3d(2%, -1.4%, 0);
    opacity: 0.62;
  }
}

@keyframes premiumHeroWordUnderline {
  0%, 100% {
    transform: scaleX(0.32);
    opacity: 0.4;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes premiumBadgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes premiumChipLift {
  0% {
    transform: translateY(0);
  }
  55% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(-2px);
  }
}

@keyframes premiumTimelineRail {
  0%, 100% {
    opacity: 0.44;
    filter: drop-shadow(0 0 8px rgba(89, 226, 188, 0.16));
  }
  50% {
    opacity: 0.88;
    filter: drop-shadow(0 0 18px rgba(89, 226, 188, 0.28));
  }
}

@keyframes premiumBotHalo {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.48;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.74;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 780px), (prefers-reduced-motion: reduce) {
  body.portfolio-page:not(.detail-page) .brand-avatar::before,
  body.portfolio-page:not(.detail-page) .hero-grid::after,
  .hero-intro-prefix::after,
  .hero-photo-badge,
  .experience-timeline::before,
  .help-bot-launcher-core::before {
    animation: none;
  }

  .hero-card:hover .hero-photo,
  .project-card:hover .project-meta .project-tag,
  .project-card:focus-visible .project-meta .project-tag {
    transform: none;
  }
}

[data-theme="light"] {
  --bg: #eff5fb;
  --bg-elevated: rgba(255, 255, 255, 0.76);
  --panel: rgba(255, 255, 255, 0.62);
  --panel-strong: rgba(255, 255, 255, 0.74);
  --panel-soft: rgba(10, 22, 38, 0.035);
  --text: #0d1b2e;
  --text-muted: #465a74;
  --text-soft: #5a6f88;
  --accent: #1f6feb;
  --accent-strong: #028b70;
  --accent-warm: #b86a00;
  --success: #0f9f6e;
  --line: rgba(10, 22, 38, 0.08);
  --line-strong: rgba(10, 22, 38, 0.14);
  --shadow: 0 20px 60px rgba(33, 54, 87, 0.1);
  --shadow-soft: 0 12px 28px rgba(33, 54, 87, 0.07);

  --brand-accent-soft: #4c9d85;
  --brand-accent-soft-strong: #67b39d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}

html[data-lang-ready="false"] body {
  opacity: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(128, 184, 255, 0.16), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(89, 226, 188, 0.13), transparent 24%),
    linear-gradient(180deg, #04101d 0%, #091524 42%, #0b1930 100%);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.09), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(2, 139, 112, 0.07), transparent 28%),
    linear-gradient(180deg, #f6fbff 0%, #edf4fb 52%, #e7eef7 100%);
}

body.portfolio-page {
  background:
    radial-gradient(circle at top left, rgba(128, 184, 255, 0.16), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(89, 226, 188, 0.13), transparent 24%),
    linear-gradient(180deg, #04101d 0%, #091524 42%, #0b1930 100%);
}

body.journey-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(98, 163, 184, 0.14), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(196, 150, 94, 0.1), transparent 22%),
    radial-gradient(circle at 56% 84%, rgba(95, 175, 156, 0.08), transparent 22%),
    linear-gradient(180deg, #0a1720 0%, #10212b 45%, #17303a 100%);
}

[data-theme="light"] body.portfolio-page {
  background:
    radial-gradient(circle at 12% 14%, rgba(31, 111, 235, 0.08), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(2, 139, 112, 0.08), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(76, 157, 133, 0.05), transparent 22%),
    linear-gradient(180deg, #edf5f1 0%, #e8f0eb 28%, #e7eef7 62%, #edf3f9 100%);
}

[data-theme="light"] body.journey-page {
  background:
    radial-gradient(circle at 10% 16%, rgba(76, 133, 164, 0.08), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(176, 132, 79, 0.07), transparent 24%),
    radial-gradient(circle at 50% 90%, rgba(84, 149, 133, 0.05), transparent 22%),
    linear-gradient(180deg, #f5fafb 0%, #edf4f4 52%, #e7efef 100%);
}

main section[id],
main [id],
footer[id] {
  scroll-margin-top: var(--scroll-offset);
}

main,
section,
.page-shell {
  overflow-x: clip;
}

[data-theme="light"] #bg-canvas {
  opacity: 0.24;
  filter: saturate(0.96) contrast(1.02);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.98;
  pointer-events: none;
  filter: saturate(1.2) contrast(1.08);
  transform: translateZ(0);
  will-change: opacity;
}

body.is-resizing #bg-canvas {
  opacity: 0.32;
  transition: opacity 0.18s ease;
}

body.is-resizing .page-shell::after,
body.is-resizing .page-shell > main::before {
  animation-play-state: paused;
  opacity: 0.38;
}

.page-shell {
  position: relative;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0)),
    radial-gradient(circle at 10% 100%, rgba(255, 194, 104, 0.08), transparent 24%);
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(128, 184, 255, 0.18), transparent 22%),
    radial-gradient(circle at 80% 14%, rgba(89, 226, 188, 0.16), transparent 18%),
    radial-gradient(circle at 70% 78%, rgba(255, 194, 104, 0.1), transparent 20%);
  filter: blur(34px);
  animation: atmosphericShift 18s ease-in-out infinite alternate;
}

@media (max-width: 1100px) {
  #bg-canvas {
    opacity: 0.9;
    filter: saturate(1.12) contrast(1.04);
  }

  .page-shell::after {
    inset: -8%;
    filter: blur(28px);
  }
}

@media (max-width: 700px) {
  #bg-canvas {
    opacity: 0.78;
    filter: saturate(1.04) contrast(1.01);
  }

  .page-shell::after {
    inset: -4%;
    opacity: 0.72;
    filter: blur(20px);
  }
}

body.journey-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(10, 20, 28, 0.08), rgba(10, 20, 28, 0)),
    radial-gradient(circle at 50% 0, rgba(110, 170, 188, 0.08), transparent 26%);
}

body.journey-page .page-shell::after {
  background:
    radial-gradient(circle at 18% 18%, rgba(104, 167, 188, 0.12), transparent 20%),
    radial-gradient(circle at 80% 16%, rgba(196, 150, 94, 0.12), transparent 18%),
    radial-gradient(circle at 52% 80%, rgba(92, 170, 150, 0.1), transparent 18%);
  filter: blur(46px);
  animation-duration: 24s;
}

body.journey-page .page-shell {
  isolation: isolate;
}

body.journey-page .page-shell > main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(108, 169, 188, 0.08) 35%, transparent 70%),
    linear-gradient(240deg, transparent 10%, rgba(196, 150, 94, 0.07) 42%, transparent 75%);
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  animation: journeySweep 20s linear infinite;
}

[data-theme="light"] .page-shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 10% 100%, rgba(184, 106, 0, 0.04), transparent 24%);
}

[data-theme="light"] .page-shell::after,
[data-theme="light"] body.journey-page .page-shell::after,
[data-theme="light"] body.journey-page .page-shell > main::before {
  opacity: 0.26;
}

[data-theme="light"] .nav {
  background:
    linear-gradient(180deg, rgba(240, 248, 244, 0.96), rgba(232, 243, 238, 0.94)),
    radial-gradient(circle at 18% 18%, rgba(76, 157, 133, 0.08), transparent 32%);
  border-bottom-color: rgba(76, 157, 133, 0.18);
  box-shadow: 0 10px 26px rgba(33, 54, 87, 0.05);
}

[data-theme="light"] .nav-links a,
[data-theme="light"] .brand small,
[data-theme="light"] .muted,
[data-theme="light"] .small,
[data-theme="light"] p {
  color: var(--text-muted);
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-left: max(var(--page-pad-x), env(safe-area-inset-left));
  padding-right: max(var(--page-pad-x), env(safe-area-inset-right));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  isolation: isolate;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-accent-soft) 24%, var(--line));
  background:
    linear-gradient(180deg, rgba(10, 24, 33, 0.94), rgba(10, 23, 31, 0.9)),
    radial-gradient(circle at 14% 18%, rgba(92, 184, 159, 0.12), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(120, 204, 182, 0.08), transparent 24%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.nav .container {
  width: min(100%, 1128px);
}

.nav-compact-sentinel {
  display: block;
  height: 1px;
  margin-top: -1px;
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  transition: gap 0.24s ease, padding 0.24s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
  transition: gap 0.24s ease, transform 0.24s ease;
}

.brand-avatar {
  position: relative;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0.16rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 28% 22%, rgba(128, 184, 255, 0.24), transparent 56%);
  border: 1px solid rgba(128, 184, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transition:
    width 0.24s ease,
    height 0.24s ease,
    flex-basis 0.24s ease,
    padding 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.brand-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  max-width: min(100%, 20rem);
  transition: max-width 0.24s ease, gap 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

.brand-title {
  display: block;
  color: var(--brand-accent-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.24s ease, letter-spacing 0.24s ease;
}

.brand small {
  color: color-mix(in srgb, var(--brand-accent-soft) 94%, var(--text-muted) 6%);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.24s ease, letter-spacing 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

[data-theme="light"] .brand-avatar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 252, 0.8)),
    radial-gradient(circle at 28% 22%, rgba(31, 111, 235, 0.14), transparent 56%);
  border-color: rgba(21, 44, 74, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(70, 96, 131, 0.08);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  transition: gap 0.24s ease, padding 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
  isolation: isolate;
}

.nav-links::after {
  content: "";
  position: absolute;
  top: var(--nav-active-top, 0.18rem);
  left: 0;
  width: var(--nav-active-width, 0px);
  height: var(--nav-active-height, calc(100% - 0.36rem));
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  opacity: var(--nav-active-opacity, 0);
  transform: translateX(var(--nav-active-left, 0px));
  box-shadow:
    0 10px 18px rgba(5, 11, 20, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  pointer-events: none;
  z-index: 0;
}

.nav-links[data-has-active-marker="true"]::after {
  animation: navMarkerPulse 3.8s ease-in-out infinite;
}

.nav-links a,
.theme-toggle {
  position: relative;
  z-index: 1;
  padding: 0.62rem 0.88rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  transition: color 0.24s ease, transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.nav-actions .btn-small,
.portfolio-view-switch,
.portfolio-view-option,
.lang-switcher,
.lang-option,
.admin-mode-switch,
.admin-mode-label,
.theme-toggle,
.theme-toggle .theme-toggle-track,
.theme-toggle .theme-toggle-switch-label,
.theme-toggle .theme-toggle-switch-control,
.theme-toggle .theme-toggle-switch-state {
  transition:
    padding 0.24s ease,
    min-width 0.24s ease,
    min-height 0.24s ease,
    gap 0.24s ease,
    font-size 0.24s ease,
    letter-spacing 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.nav-links a:hover,
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav-links a.active-link {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand-accent-soft) 42%, transparent);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-accent-soft) 18%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-accent-soft) 18%, transparent);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

body.portfolio-page:not(.detail-page) .nav-actions {
  gap: 0.48rem;
}

.admin-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.2rem 0.32rem 0.2rem 0.52rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top right, rgba(108, 171, 255, 0.08), transparent 40%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(7, 17, 31, 0.09);
}

body.portfolio-page:not(.detail-page) .admin-mode-switch {
  gap: 0.34rem;
  padding: 0.16rem 0.26rem 0.16rem 0.44rem;
}

.admin-mode-label {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-mode-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.24s ease;
}

.admin-mode-toggle:hover {
  transform: translateY(-1px);
}

.admin-mode-toggle:focus-visible {
  outline: none;
}

.admin-mode-toggle-track {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  min-width: 68px;
  min-height: 30px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(9, 18, 29, 0.9), rgba(17, 27, 39, 0.78)),
    rgba(10, 18, 28, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 18px rgba(7, 17, 31, 0.14);
  overflow: hidden;
  isolation: isolate;
}

.admin-mode-toggle-track::after {
  content: "";
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(50% - 2px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(231, 239, 249, 0.98), rgba(203, 215, 231, 0.92));
  box-shadow:
    0 8px 16px rgba(7, 17, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  z-index: 0;
}

.admin-mode-switch[data-state="on"] .admin-mode-toggle-track::after {
  transform: translateX(100%);
  background: linear-gradient(135deg, rgba(96, 183, 255, 0.98), rgba(48, 122, 204, 0.94));
  box-shadow:
    0 10px 18px rgba(40, 112, 197, 0.22),
    inset 0 1px 0 rgba(225, 240, 255, 0.28);
}

.admin-mode-toggle-state,
.admin-mode-toggle-thumb {
  position: relative;
  z-index: 1;
}

.admin-mode-toggle-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 24px;
  color: rgba(232, 239, 248, 0.5);
  transition: color 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.admin-mode-toggle-state svg {
  width: 12px;
  height: 12px;
}

.admin-mode-toggle-state-off {
  color: #16314d;
}

.admin-mode-toggle-state-on {
  color: rgba(232, 239, 248, 0.58);
}

.admin-mode-switch[data-state="on"] .admin-mode-toggle-state-off {
  color: rgba(232, 239, 248, 0.38);
}

.admin-mode-switch[data-state="on"] .admin-mode-toggle-state-on {
  color: #ffffff;
}

.admin-mode-toggle-thumb,
.admin-mode-toggle-thumb-core {
  display: none;
}

.admin-mode-toggle:focus-visible .admin-mode-toggle-track {
  box-shadow:
    0 0 0 3px rgba(128, 184, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 18px rgba(7, 17, 31, 0.14);
}

.section-filter-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  color: var(--text);
  cursor: pointer;
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(7, 17, 31, 0.12);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.section-filter-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 24px rgba(7, 17, 31, 0.16);
}

.section-filter-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.section-filter-toggle.has-active-filter {
  border-color: rgba(89, 226, 188, 0.34);
  color: #e9fff8;
}

.section-filter-toggle.has-active-filter::after {
  content: attr(data-count);
  position: absolute;
  top: -4px;
  right: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(89, 226, 188, 0.98), rgba(128, 184, 255, 0.96));
  color: #0b1a2b;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(89, 226, 188, 0.22);
}

.nav-links a.is-filter-muted {
  opacity: 0.42;
}

.nav-links a.is-filter-muted:hover {
  transform: none;
}

.nav-links,
.nav-actions {
  min-width: 0;
}

.nav-inner > *,
.hero-grid > *,
.detail-shell > *,
.detail-hero-panel > *,
.detail-grid > *,
.detail-meta-row > *,
.detail-tools-grid > *,
.fit-list > *,
.fit-evidence-grid > *,
.journey-preview-grid > *,
.topic-explore-grid > *,
.portfolio-map-grid > *,
.faq-grid > *,
.review-layout > *,
.contact-layout > *,
.contact-intake-grid > *,
.contact-primary-actions > *,
.feedback-side-stack > *,
.feedback-form-flow > *,
.feedback-form-section > *,
.contact-detail-grid > *,
.feedback-layout > * {
  min-width: 0;
}

.detail-block,
.detail-tool-card,
.fit-item,
.fit-summary,
.fit-detail,
.fit-evidence-card,
.contact-card,
.contact-intake-item,
.contact-detail-item,
.review-card,
.feedback-form-card,
.feedback-side-card,
.feedback-form-section,
.project-card,
.education-card,
.certificate-card,
.event-card,
.travel-card,
.feature-card,
.project-card-cta,
.availability-banner,
.contact-feedback-box,
.request-cv-preview,
.feedback-stats-card,
.feedback-stats-log {
  min-width: 0;
}

.detail-block,
.fit-summary,
.fit-evidence-card,
.contact-intake-item,
.contact-detail-item,
.review-card,
.feedback-form-section,
.project-card,
.education-card,
.certificate-card,
.event-card,
.travel-card,
.feature-card,
.feedback-note,
.feedback-card-head,
.detail-tool-copy,
.detail-repo-text {
  overflow-wrap: anywhere;
}

.availability-banner > *,
.contact-feedback-box > *,
.fit-summary-main > *,
.fit-evidence-head > *,
.detail-tool-card > *,
.detail-hero-content > * {
  min-width: 0;
}

.nav-links a {
  white-space: nowrap;
}

html[lang="de"] .btn-fit-highlight::after {
  content: "Passende Rolle";
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.lang-option:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-option.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.18), rgba(89, 226, 188, 0.12));
  box-shadow: 0 10px 20px rgba(89, 226, 188, 0.1);
}

.portfolio-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.24rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.2);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(10, 20, 35, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(7, 17, 31, 0.12);
}

.portfolio-view-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.52rem 0.96rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    color 0.24s ease,
    transform 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.portfolio-view-option:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.portfolio-view-option.is-active {
  color: var(--text);
  border: 1px solid rgba(89, 226, 188, 0.16);
  background:
    linear-gradient(135deg, rgba(128, 184, 255, 0.22), rgba(89, 226, 188, 0.18)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(89, 226, 188, 0.12);
}

.lang-flags {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.02rem;
  height: 0.74rem;
  border-radius: 0.16rem;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.18);
}

.lang-flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v40H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='M-5-2l26 17M-5 42l26-17M65-2L39 17M65 42L39 23'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' d='M-5-2l26 17M-5 42l26-17M65-2L39 17M65 42L39 23'/%3E%3Cpath fill='%23fff' d='M25 0h10v40H25zM0 15h60v10H0z'/%3E%3Cpath fill='%23C8102E' d='M27 0h6v40h-6zM0 17h60v6H0z'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-flag-de {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23000000' d='M0 0h60v13.333H0z'/%3E%3Cpath fill='%23DD0000' d='M0 13.333h60v13.333H0z'/%3E%3Cpath fill='%23FFCE00' d='M0 26.666h60v13.334H0z'/%3E%3C/svg%3E");
}

[data-theme="light"] .lang-flags {
  box-shadow:
    inset 0 0 0 1px rgba(10, 22, 38, 0.08),
    0 1px 2px rgba(17, 34, 58, 0.08);
}

.lang-code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.portfolio-page:not(.detail-page) .lang-switcher {
  gap: 0.24rem;
  padding: 0.2rem;
}

body.portfolio-page:not(.detail-page) .lang-option {
  min-height: 32px;
  padding: 0.32rem 0.58rem;
}

body.portfolio-page:not(.detail-page) .lang-code {
  font-size: 0.74rem;
}

[data-theme="light"] .lang-switcher {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 18px rgba(33, 54, 87, 0.05);
}

[data-theme="light"] .portfolio-view-switch {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 18px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .portfolio-view-option {
  color: #5b6f89;
}

[data-theme="light"] .portfolio-view-option.is-active {
  border-color: rgba(2, 139, 112, 0.14);
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(2, 139, 112, 0.12)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 20px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .portfolio-view-option.is-active {
  color: #17314c;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(2, 139, 112, 0.1));
  box-shadow: 0 10px 18px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .admin-mode-switch {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)),
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 40%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 18px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .admin-mode-label {
  color: #17314c;
}

[data-theme="light"] .admin-mode-toggle-track {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(233, 239, 247, 0.9), rgba(224, 232, 242, 0.82)),
    rgba(235, 241, 248, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 18px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .admin-mode-toggle-track::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 252, 0.92));
  box-shadow:
    0 8px 16px rgba(33, 54, 87, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .admin-mode-switch[data-state="on"] .admin-mode-toggle-track::after {
  background: linear-gradient(135deg, rgba(88, 180, 255, 0.98), rgba(46, 126, 215, 0.94));
}

[data-theme="light"] .admin-mode-toggle-state {
  color: #6a7d97;
}

[data-theme="light"] .admin-mode-toggle-state-off {
  color: #17314c;
}

[data-theme="light"] .admin-mode-switch[data-state="on"] .admin-mode-toggle-state-off {
  color: #6a7d97;
}

[data-theme="light"] .admin-mode-switch[data-state="on"] .admin-mode-toggle-state-on {
  color: #f6fbff;
}


[data-theme="light"] .section-filter-toggle {
  border-color: rgba(21, 44, 74, 0.1);
  color: #17314c;
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 18px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .section-filter-toggle:hover {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 22px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .lang-option.is-active {
  color: #17314c;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(2, 139, 112, 0.1));
  box-shadow: 0 10px 18px rgba(33, 54, 87, 0.06);
}

.btn-fit-top {
  min-height: 40px;
  padding: 0.62rem 0.92rem;
  border-color: rgba(89, 226, 188, 0.22);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(128, 184, 255, 0.14), rgba(89, 226, 188, 0.1));
  color: var(--text);
  box-shadow: 0 10px 22px rgba(89, 226, 188, 0.1);
  white-space: nowrap;
}

body.portfolio-page:not(.detail-page) .btn-fit-top,
body.portfolio-page:not(.detail-page) .nav-actions .btn-small,
body.portfolio-page:not(.detail-page) .portfolio-view-option {
  min-height: 36px;
  padding: 0.54rem 0.8rem;
  font-size: 0.88rem;
}

body.portfolio-page:not(.detail-page) .btn-download-portfolio {
  gap: 0.44rem;
}

body.portfolio-page:not(.detail-page) .btn-download-portfolio-icon {
  width: 0.94rem;
  height: 0.94rem;
}

.btn-fit-top:hover {
  border-color: rgba(89, 226, 188, 0.36);
  box-shadow: 0 14px 26px rgba(89, 226, 188, 0.14);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 46px;
  padding: 4px 6px 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  cursor: pointer;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(7, 17, 31, 0.12);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
  overflow: hidden;
}

body.portfolio-page:not(.detail-page) .theme-toggle {
  min-width: 138px;
  min-height: 40px;
  padding: 0.24rem 0.38rem 0.24rem 0.58rem;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 24px rgba(7, 17, 31, 0.16);
}

.theme-toggle-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.7rem;
  border-radius: inherit;
}

.theme-toggle-mode-text {
  display: grid;
  align-content: center;
  min-height: 40px;
  color: rgba(23, 49, 76, 0.86);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.theme-toggle-mode-line {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.theme-toggle-mode-line + .theme-toggle-mode-line {
  margin-top: 0.12rem;
}

.theme-toggle-thumb {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 240, 248, 0.92)),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(7, 17, 31, 0.2);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.theme-toggle-thumb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.theme-toggle-thumb svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.theme-toggle-thumb-icon-sun {
  color: #d6a11e;
  opacity: 1;
  transform: scale(1);
}

.theme-toggle-thumb-icon-moon {
  color: #eef4fb;
  opacity: 0;
  transform: scale(0.7);
}

.theme-toggle[data-theme-state="dark"] {
  border-color: rgba(128, 184, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(41, 51, 67, 0.95), rgba(27, 36, 49, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 22px rgba(7, 17, 31, 0.16);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-mode-text {
  color: rgba(233, 240, 248, 0.78);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb-icon-sun {
  opacity: 0;
  transform: scale(0.7);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb {
  background:
    linear-gradient(180deg, rgba(106, 114, 132, 0.98), rgba(70, 79, 97, 0.94)),
    rgba(76, 84, 100, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 18px rgba(7, 17, 31, 0.24);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb-icon-moon {
  opacity: 1;
  transform: scale(1);
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  cursor: pointer;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(7, 17, 31, 0.12);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.mobile-nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 24px rgba(7, 17, 31, 0.16);
}

.mobile-nav-toggle svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(21, 44, 74, 0.1);
  color: #17314c;
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 18px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 22px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .theme-toggle-mode-text {
  color: rgba(19, 49, 76, 0.9);
}

[data-theme="light"] .theme-toggle-thumb {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(236, 242, 249, 0.94)),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(33, 54, 87, 0.14);
}

[data-theme="light"] .theme-toggle-thumb-icon-sun {
  color: #d29b17;
}

[data-theme="light"] .theme-toggle-thumb-icon-moon {
  color: #eef4fb;
}

[data-theme="light"] .theme-toggle[data-theme-state="dark"] .theme-toggle-thumb {
  background:
    linear-gradient(180deg, rgba(79, 87, 104, 0.98), rgba(51, 59, 72, 0.94)),
    rgba(56, 63, 76, 0.96);
}

.theme-toggle {
  min-width: 150px;
  min-height: 42px;
  padding: 0.28rem 0.42rem 0.28rem 0.68rem;
}

.theme-toggle .theme-toggle-track {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.58rem;
}

body.portfolio-page:not(.detail-page) .theme-toggle .theme-toggle-track {
  gap: 0.46rem;
}

.theme-toggle .theme-toggle-switch-label {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.portfolio-page:not(.detail-page) .theme-toggle .theme-toggle-switch-label {
  font-size: 0.66rem;
}

.theme-toggle .theme-toggle-switch-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 72px;
  min-height: 32px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.78), rgba(17, 27, 39, 0.7)),
    rgba(10, 18, 28, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 16px rgba(7, 17, 31, 0.12);
  overflow: hidden;
  isolation: isolate;
}

body.portfolio-page:not(.detail-page) .theme-toggle .theme-toggle-switch-control {
  min-width: 64px;
  min-height: 28px;
}

.theme-toggle .theme-toggle-switch-control::after {
  content: "";
  position: absolute;
  inset: 2px auto 2px 2px;
  width: calc(50% - 2px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(235, 243, 252, 0.96), rgba(203, 217, 235, 0.92));
  box-shadow:
    0 8px 14px rgba(7, 17, 31, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  z-index: 0;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-switch-control::after {
  transform: translateX(100%);
  background: linear-gradient(135deg, rgba(106, 189, 255, 0.96), rgba(56, 132, 214, 0.92));
  box-shadow:
    0 10px 18px rgba(76, 150, 230, 0.24),
    inset 0 1px 0 rgba(222, 240, 255, 0.3);
}

.theme-toggle .theme-toggle-switch-state,
.theme-toggle .theme-toggle-switch-thumb {
  position: relative;
  z-index: 1;
}

.theme-toggle .theme-toggle-switch-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  color: rgba(234, 241, 249, 0.52);
  transition: color 0.24s ease;
}

.theme-toggle .theme-toggle-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.theme-toggle .theme-toggle-switch-icon svg {
  width: 14px;
  height: 14px;
}

.theme-toggle .theme-toggle-switch-state-off {
  color: #12283f;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-switch-state-off {
  color: rgba(234, 241, 249, 0.58);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-switch-state-on {
  color: #ffffff;
}

.theme-toggle .theme-toggle-switch-thumb,
.theme-toggle .theme-toggle-switch-thumb-core {
  display: none;
}

[data-theme="light"] .theme-toggle .theme-toggle-switch-label {
  color: #17324a;
}

[data-theme="light"] .theme-toggle .theme-toggle-switch-control {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(231, 238, 247, 0.92), rgba(221, 229, 239, 0.84)),
    rgba(231, 238, 247, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 16px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .theme-toggle .theme-toggle-switch-control::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 252, 0.92));
  box-shadow:
    0 8px 16px rgba(33, 54, 87, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .theme-toggle[data-theme-state="dark"] .theme-toggle-switch-control::after {
  background: linear-gradient(135deg, rgba(105, 194, 255, 0.98), rgba(57, 136, 221, 0.92));
}

[data-theme="light"] .theme-toggle .theme-toggle-switch-state {
  color: #74879f;
}

[data-theme="light"] .theme-toggle .theme-toggle-switch-state-off {
  color: #17314c;
}

[data-theme="light"] .theme-toggle[data-theme-state="dark"] .theme-toggle-switch-state-off {
  color: #74879f;
}

[data-theme="light"] .theme-toggle[data-theme-state="dark"] .theme-toggle-switch-state-on {
  color: #ffffff;
}


[data-theme="light"] .mobile-nav-toggle {
  border-color: rgba(21, 44, 74, 0.1);
  color: #17314c;
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 18px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .mobile-nav-toggle:hover {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94));
}

.admin-auth-modal[hidden] {
  display: none !important;
}

.section-filter-modal[hidden] {
  display: none !important;
}

.admin-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.admin-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.62);
  backdrop-filter: blur(10px);
}

.section-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1190;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.section-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.56);
  backdrop-filter: blur(10px);
}

.section-filter-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100dvh - 3rem);
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(27, 40, 58, 0.98), rgba(18, 28, 43, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 64px rgba(6, 14, 24, 0.34);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.section-filter-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.section-filter-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.section-filter-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.section-filter-form {
  display: grid;
  min-height: 0;
  gap: 1rem;
  overflow: hidden;
}

.section-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-height: min(50dvh, 420px);
  padding-right: 0.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.section-filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.section-filter-option:hover {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.24);
}

.section-filter-option input {
  width: 18px;
  height: 18px;
  accent-color: #59e2bc;
}

.section-filter-option span {
  color: var(--text);
  font-weight: 600;
}

.section-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  position: sticky;
  bottom: 0;
  z-index: 1;
  padding-top: 0.5rem;
  background:
    linear-gradient(180deg, rgba(18, 28, 43, 0), rgba(18, 28, 43, 0.96) 28%);
}

.section-filter-actions-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

body.section-filter-open {
  overflow: hidden;
}

.admin-auth-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 1.35rem;
  border-radius: 26px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(27, 40, 58, 0.98), rgba(18, 28, 43, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 64px rgba(6, 14, 24, 0.34);
}

.admin-auth-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.admin-auth-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.admin-auth-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.admin-auth-form {
  display: grid;
  gap: 0.9rem;
}

.admin-auth-field {
  display: grid;
  gap: 0.45rem;
}

.admin-auth-field span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-auth-field input {
  width: 100%;
  min-height: 50px;
  padding: 0.88rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(10, 18, 31, 0.82);
  color: var(--text);
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.admin-auth-field input:focus {
  border-color: rgba(89, 226, 188, 0.4);
  box-shadow: 0 0 0 4px rgba(89, 226, 188, 0.08);
}

.admin-auth-error {
  margin: 0;
  color: #ff9c9c;
  font-size: 0.92rem;
}

.admin-auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

body.admin-modal-open {
  overflow: hidden;
}

[data-theme="light"] .admin-auth-dialog {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 28px 56px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .admin-auth-head p,
[data-theme="light"] .admin-auth-field span {
  color: #5b6f89;
}

[data-theme="light"] .admin-auth-head h2,
[data-theme="light"] .admin-auth-field input {
  color: #17314c;
}

[data-theme="light"] .admin-auth-field input {
  border-color: rgba(21, 44, 74, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .section-filter-dialog {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 28px 56px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .section-filter-head p {
  color: #5b6f89;
}

[data-theme="light"] .section-filter-head h2,
[data-theme="light"] .section-filter-option span {
  color: #17314c;
}

[data-theme="light"] .section-filter-option {
  border-color: rgba(21, 44, 74, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .section-filter-actions {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0), rgba(247, 250, 255, 0.98) 28%);
}

.hero {
  --hero-bottom-reserve: 3.9rem;
  position: relative;
  padding: 1.65rem 0 0.9rem;
}

body.portfolio-page:not(.detail-page) .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 38rem);
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 46%, rgba(128, 184, 255, 0.13), transparent 22%),
    radial-gradient(circle at 72% 42%, rgba(89, 226, 188, 0.1), transparent 20%);
  filter: blur(24px);
  opacity: 0.66;
}

[data-theme="light"] body.portfolio-page:not(.detail-page) .hero::before {
  background:
    radial-gradient(circle at 24% 48%, rgba(31, 111, 235, 0.09), transparent 22%),
    radial-gradient(circle at 74% 42%, rgba(2, 139, 112, 0.08), transparent 20%);
  filter: blur(26px);
  opacity: 0.56;
}

.top-update-bar {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(150, 167, 198, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
    rgba(8, 18, 33, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 18px rgba(7, 17, 31, 0.06);
}

body.portfolio-page:not(.detail-page) .top-update-bar {
  z-index: 5;
  height: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-title-controls,
.mobile-top-quick-actions {
  display: none;
}

.top-update-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.82rem;
  min-height: 42px;
  padding: 0.28rem 0;
  flex-wrap: wrap;
}

body.portfolio-page:not(.detail-page) .top-update-inner {
  min-height: 0;
  max-width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.35rem 1rem 0.1rem;
  justify-content: flex-end;
}

.top-update-text {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  min-height: 30px;
  border-radius: 16px;
  font-size: 0.76rem;
}

.top-update-text {
  position: relative;
  padding: 0.34rem 0.68rem;
  border: 1px solid rgba(150, 167, 198, 0.16);
  background:
    radial-gradient(circle at top right, rgba(181, 138, 92, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(10, 20, 35, 0.26);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 10px 18px rgba(7, 17, 31, 0.08);
}

body.portfolio-page:not(.detail-page) .top-update-text {
  min-height: 34px;
  padding: 0.38rem 0.74rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(7, 17, 31, 0.1);
}

[data-theme="light"] body.portfolio-page:not(.detail-page) .top-update-text {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.88));
  box-shadow: 0 12px 24px rgba(33, 54, 87, 0.08);
}

.top-update-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 0;
  background: rgba(89, 226, 188, 0.18);
  color: #9df2dd;
  font-size: 0.6rem;
  line-height: 1;
  flex: 0 0 auto;
}

.top-update-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.1rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.1);
  color: #9df2dd;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-update-meta {
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.top-update-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(8, 20, 32, 0.26);
  color: var(--text-soft);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.top-update-admin-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.24);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 34%),
    rgba(89, 226, 188, 0.08);
  color: var(--text);
}

.top-update-admin-btn[hidden] {
  display: none !important;
}

.admin-workspace {
  position: relative;
  z-index: 3;
  padding: 1rem 0 0;
}

.admin-workspace-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) auto;
  gap: 1.1rem;
  align-items: end;
  padding: 1.1rem 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(10, 20, 35, 0.4);
  box-shadow: 0 18px 34px rgba(4, 12, 24, 0.18);
}

.admin-workspace-copy {
  display: grid;
  gap: 0.72rem;
}

.admin-workspace-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.admin-workspace-badge,
.admin-workspace-scope,
.admin-workspace-tool {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-workspace-badge {
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.12);
  color: #a8f6e2;
}

.admin-workspace-scope {
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(128, 184, 255, 0.08);
  color: #b8cff0;
}

.admin-workspace-copy h2 {
  margin: 0;
  font-size: clamp(1.08rem, 2.4vw, 1.36rem);
}

.admin-workspace-copy p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.admin-workspace-tools {
  display: grid;
  gap: 0.58rem;
}

.admin-workspace-sync {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.2rem;
}

.admin-workspace-tools-label {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-workspace-tool-list,
.admin-workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-workspace-tool {
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #d3def2;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-workspace-actions {
  justify-content: flex-end;
  align-items: center;
}

.admin-review-prompt-panel {
  grid-column: 1 / -1;
}

.admin-site-defaults-panel {
  grid-column: 1 / -1;
}

.admin-review-prompt-card {
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(128, 184, 255, 0.12);
}

.admin-review-prompt-head {
  display: grid;
  gap: 0.4rem;
}

.admin-review-prompt-head h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-review-prompt-head p {
  margin: 0;
  color: var(--text-soft);
}

.admin-review-prompt-form {
  display: grid;
  gap: 0.95rem;
}

.admin-review-prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-review-prompt-field,
.admin-review-prompt-toggle {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 54px;
  padding: 0.82rem 0.92rem;
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-review-prompt-field {
  flex-direction: column;
  align-items: flex-start;
}

.admin-review-prompt-field span,
.admin-review-prompt-toggle span,
.admin-review-prompt-pages legend {
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 700;
}

.admin-review-prompt-field input[type="number"],
.admin-review-prompt-field select {
  width: 100%;
  min-height: 42px;
  padding: 0.72rem 0.84rem;
  border: 1px solid rgba(128, 184, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 14, 24, 0.58);
  color: var(--text);
  font: inherit;
}

.admin-review-prompt-field input[type="number"]:focus,
.admin-review-prompt-field select:focus,
.admin-review-prompt-toggle input:focus-visible {
  outline: none;
  border-color: rgba(89, 226, 188, 0.28);
  box-shadow: 0 0 0 3px rgba(89, 226, 188, 0.12);
}

.admin-review-prompt-toggle {
  cursor: pointer;
}

.admin-review-prompt-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #59e2bc;
}

.admin-review-prompt-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-review-prompt-pages legend {
  margin-bottom: 0.45rem;
}

.admin-review-prompt-note {
  margin: 0;
  color: rgba(208, 222, 240, 0.78);
  font-size: 0.82rem;
  line-height: 1.62;
}

.admin-review-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.admin-review-prompt-status {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-review-prompt-status[data-state="success"] {
  color: #8df1d2;
}

.admin-review-prompt-status[data-state="error"] {
  color: #ffb7b7;
}

.admin-help-bot-panel {
  grid-column: 1 / -1;
}

.admin-help-bot-list {
  display: grid;
  gap: 0.9rem;
}

.admin-help-bot-empty {
  margin: 0;
  color: var(--text-soft);
}

.admin-help-bot-session {
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.admin-help-bot-session-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
}

.admin-help-bot-session-summary::-webkit-details-marker {
  display: none;
}

.admin-help-bot-session-copy {
  display: grid;
  gap: 0.24rem;
}

.admin-help-bot-session-copy strong {
  color: var(--text);
  font-size: 0.92rem;
}

.admin-help-bot-session-copy span,
.admin-help-bot-session-action {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.admin-help-bot-session-summary-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-help-bot-session-action {
  font-weight: 700;
  white-space: nowrap;
}

.admin-help-bot-session-delete {
  white-space: nowrap;
}

.admin-help-bot-session-body {
  display: grid;
  gap: 0.9rem;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(128, 184, 255, 0.1);
}

.admin-help-bot-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.95rem;
}

.admin-help-bot-transcript {
  display: grid;
  gap: 0.72rem;
  max-height: 420px;
  padding: 0.25rem;
  overflow: auto;
}

.admin-help-bot-transcript-line {
  display: grid;
  gap: 0.28rem;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.admin-help-bot-transcript-line.is-user {
  border-color: rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.08);
}

.admin-help-bot-transcript-role {
  color: #82d9d0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-help-bot-transcript-line p {
  margin: 0;
  color: var(--text);
  line-height: 1.62;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.top-update-text[data-update-age="fresh"] {
  border-color: rgba(89, 226, 188, 0.24);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
    rgba(10, 20, 35, 0.32);
}

.top-update-text[data-update-age="fresh"] .top-update-icon,
.top-update-text[data-update-age="fresh"] .top-update-badge {
  border-color: rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.12);
  color: #9df2dd;
}

.top-update-text[data-update-age="review"] {
  border-color: rgba(255, 194, 104, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 194, 104, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
    rgba(10, 20, 35, 0.32);
}

.top-update-text[data-update-age="review"] .top-update-icon,
.top-update-text[data-update-age="review"] .top-update-badge {
  border-color: rgba(255, 194, 104, 0.24);
  background: rgba(255, 194, 104, 0.12);
  color: #ffd18a;
}

.top-update-text[data-update-age="stale"] {
  border-color: rgba(227, 93, 106, 0.24);
  background:
    radial-gradient(circle at top right, rgba(227, 93, 106, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
    rgba(10, 20, 35, 0.32);
}

.top-update-text[data-update-age="stale"] .top-update-icon,
.top-update-text[data-update-age="stale"] .top-update-badge {
  border-color: rgba(227, 93, 106, 0.22);
  background: rgba(227, 93, 106, 0.12);
  color: #f2b2ba;
}

[data-theme="light"] .top-update-bar {
  border-top-color: rgba(21, 44, 74, 0.05);
  border-bottom-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.74)),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 18px rgba(33, 54, 87, 0.05);
}

[data-theme="light"] .top-update-text {
  border-color: rgba(122, 98, 74, 0.14);
  background:
    radial-gradient(circle at top right, rgba(199, 154, 106, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.84));
  color: #233b55;
  box-shadow: 0 10px 18px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .top-update-icon {
  background: rgba(2, 139, 112, 0.12);
  color: #157b72;
}

[data-theme="light"] .top-update-badge {
  border-color: rgba(2, 139, 112, 0.14);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .top-update-text[data-update-age="fresh"] {
  border-color: rgba(2, 139, 112, 0.16);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 248, 0.88));
}

[data-theme="light"] .top-update-text[data-update-age="fresh"] .top-update-icon,
[data-theme="light"] .top-update-text[data-update-age="fresh"] .top-update-badge {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .top-update-text[data-update-age="review"] {
  border-color: rgba(184, 106, 0, 0.16);
  background:
    radial-gradient(circle at top right, rgba(184, 106, 0, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 241, 0.88));
}

[data-theme="light"] .top-update-text[data-update-age="review"] .top-update-icon,
[data-theme="light"] .top-update-text[data-update-age="review"] .top-update-badge {
  border-color: rgba(184, 106, 0, 0.16);
  background: rgba(184, 106, 0, 0.08);
  color: #a35f08;
}

[data-theme="light"] .top-update-text[data-update-age="stale"] {
  border-color: rgba(191, 66, 87, 0.16);
  background:
    radial-gradient(circle at top right, rgba(191, 66, 87, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 246, 0.88));
}

[data-theme="light"] .top-update-text[data-update-age="stale"] .top-update-icon,
[data-theme="light"] .top-update-text[data-update-age="stale"] .top-update-badge {
  border-color: rgba(191, 66, 87, 0.16);
  background: rgba(191, 66, 87, 0.08);
  color: #bf4257;
}

[data-theme="light"] .top-update-admin-btn {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.84)),
    rgba(255, 255, 255, 0.7);
  color: #51657d;
}

[data-theme="light"] .top-update-admin-btn:hover {
  border-color: rgba(2, 139, 112, 0.16);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 248, 0.9));
  color: #1a3c3b;
}

[data-theme="light"] .admin-workspace-inner {
  border-color: rgba(21, 44, 74, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
  box-shadow:
    0 22px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .admin-workspace-badge {
  border-color: rgba(2, 139, 112, 0.18);
  background: rgba(2, 139, 112, 0.09);
  color: #127468;
}

[data-theme="light"] .admin-workspace-scope,
[data-theme="light"] .admin-workspace-tool {
  border-color: rgba(21, 44, 74, 0.09);
  background: rgba(255, 255, 255, 0.76);
  color: #3f566f;
}

[data-theme="light"] .admin-review-prompt-field,
[data-theme="light"] .admin-review-prompt-toggle {
  border-color: rgba(21, 44, 74, 0.09);
  background: rgba(255, 255, 255, 0.76);
}

[data-theme="light"] .admin-review-prompt-field input[type="number"],
[data-theme="light"] .admin-review-prompt-field select {
  border-color: rgba(21, 44, 74, 0.12);
  background: rgba(248, 251, 255, 0.96);
  color: #17314f;
}

[data-theme="light"] .admin-review-prompt-note {
  color: rgba(63, 86, 111, 0.84);
}

[data-theme="light"] .admin-help-bot-session {
  border-color: rgba(21, 44, 74, 0.09);
  background: rgba(255, 255, 255, 0.76);
}

[data-theme="light"] .admin-help-bot-session-body {
  border-top-color: rgba(21, 44, 74, 0.08);
}

[data-theme="light"] .admin-help-bot-transcript-line {
  border-color: rgba(21, 44, 74, 0.09);
  background: rgba(248, 251, 255, 0.96);
}

[data-theme="light"] .admin-help-bot-transcript-line.is-user {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
}

[data-theme="light"] .admin-help-bot-session-copy span,
[data-theme="light"] .admin-help-bot-session-action {
  color: rgba(63, 86, 111, 0.84);
}

@media (max-width: 760px) {
  .top-update-inner {
    justify-content: flex-end;
  }
}

.hero-grid,
.split-layout,
.contact-layout,
.feature-grid,
.grid-2,
.grid-3,
.journey-route,
.journey-summary {
  display: grid;
  gap: 1.25rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(1.2rem, 2.7vw, 2.1rem);
  min-height: max(30rem, calc(100svh - var(--hero-top-offset, 12.35rem) - var(--hero-bottom-reserve)));
}

body.portfolio-page:not(.detail-page) .hero > .container {
  width: min(100%, 1320px);
}

body.portfolio-page:not(.detail-page) .hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.9fr);
  gap: clamp(0.78rem, 1.6vw, 1.18rem);
}

.hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0;
  max-width: 43rem;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-copy::before {
  content: none;
}

.hero-greeting {
  margin: 0 0 0.18rem;
  color: var(--text-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.72rem, 2.9vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-intro-title {
  max-width: 11ch;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}

.hero-intro-prefix {
  color: var(--text);
}

.hero-name-accent {
  color: var(--accent-strong);
}

.hero-role {
  margin: 0 0 0.58rem;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 1.78rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-experience-note {
  max-width: 36rem;
  margin: 0 0 0.78rem;
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.62rem;
  padding: 0.48rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

[data-theme="light"] .eyebrow,
[data-theme="light"] .hero-card-kicker,
[data-theme="light"] .date {
  border-color: rgba(2, 139, 112, 0.14);
  color: #0f6a59;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.display-font {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin-bottom: 0.82rem;
  max-width: 12ch;
  font-size: clamp(3.15rem, 6.7vw, 5.9rem);
  line-height: 0.89;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.18rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
}

.lead {
  max-width: 56ch;
  margin-bottom: 1.08rem;
  color: color-mix(in srgb, var(--text) 82%, var(--text-muted) 18%);
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-intro,
.muted,
.small {
  color: var(--text-muted);
}

.small {
  font-size: 0.95rem;
}

.section {
  position: relative;
  padding: 2rem 0;
}

.section-target-highlight {
  animation: sectionTargetGlow 2s ease;
}

.target-card-highlight {
  animation: targetCardGlow 2s ease;
}

.section-target-highlight > .container {
  animation: sectionTargetContainerGlow 2s ease;
  border-radius: 30px;
}

.section-target-highlight .section-feature-shell,
.section-target-highlight .fit-showcase,
.section-target-highlight .card:first-child,
.section-target-highlight .feature-grid > *,
.section-target-highlight .project-grid > *,
.section-target-highlight .education-grid > *,
.section-target-highlight .certificate-grid > *,
.section-target-highlight .accomplishment-grid > *,
.section-target-highlight .event-grid > *,
.section-target-highlight .journey-preview-grid > *,
.section-target-highlight .travel-grid > *,
.section-target-highlight .journey-summary > *,
.section-target-highlight .contact-layout > *,
.section-target-highlight .highlight-band > *,
.section-target-highlight .experience-shell {
  animation: sectionTargetShellGlow 2s ease;
}

[data-theme="light"] .section-target-highlight > .container {
  animation: sectionTargetContainerGlowLight 2s ease;
}

[data-theme="light"] .section-target-highlight .section-feature-shell,
[data-theme="light"] .section-target-highlight .fit-showcase,
[data-theme="light"] .section-target-highlight .card:first-child,
[data-theme="light"] .section-target-highlight .feature-grid > *,
[data-theme="light"] .section-target-highlight .project-grid > *,
[data-theme="light"] .section-target-highlight .education-grid > *,
[data-theme="light"] .section-target-highlight .certificate-grid > *,
[data-theme="light"] .section-target-highlight .accomplishment-grid > *,
[data-theme="light"] .section-target-highlight .event-grid > *,
[data-theme="light"] .section-target-highlight .journey-preview-grid > *,
[data-theme="light"] .section-target-highlight .travel-grid > *,
[data-theme="light"] .section-target-highlight .journey-summary > *,
[data-theme="light"] .section-target-highlight .contact-layout > *,
[data-theme="light"] .section-target-highlight .highlight-band > *,
[data-theme="light"] .section-target-highlight .experience-shell {
  animation: sectionTargetShellGlowLight 2s ease;
}

[data-theme="light"] .target-card-highlight {
  animation: targetCardGlowLight 2s ease;
}

.section-feature-block {
  position: relative;
}

.section-feature-shell {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 17, 29, 0.13), rgba(8, 17, 29, 0.06)),
    var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
  align-items: stretch;
}

[data-theme="light"] .section-feature-shell {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(244, 249, 255, 0.46)),
    var(--panel-strong);
  border-color: rgba(10, 22, 38, 0.08);
  box-shadow: 0 22px 54px rgba(33, 54, 87, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-heading p {
  max-width: 60ch;
  margin-bottom: 0;
}

.card,
.surface {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 1.22rem;
}

[data-theme="light"] .card,
[data-theme="light"] .surface {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.05), transparent 24%),
    radial-gradient(circle at bottom left, rgba(2, 139, 112, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(243, 248, 255, 0.42)),
    var(--panel);
  border-color: rgba(10, 22, 38, 0.08);
  box-shadow: 0 16px 38px rgba(33, 54, 87, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
}

[data-theme="light"] .shine-card::after {
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
}

.shine-card::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  transform: translateX(-120%) rotate(10deg);
  transition: transform 0.85s ease;
  pointer-events: none;
}

.shine-card:hover::after {
  transform: translateX(120%) rotate(10deg);
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  border-color: rgba(89, 226, 188, 0.48);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(89, 226, 188, 0.12);
}

[data-theme="light"] .hover-lift:hover {
  border-color: rgba(2, 139, 112, 0.34);
  box-shadow: 0 26px 50px rgba(33, 54, 87, 0.11), 0 0 0 1px rgba(2, 139, 112, 0.1);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 255, 0.82)),
    var(--panel);
}

.hero-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 26.4rem);
  margin-left: auto;
  padding: 0.82rem;
  border-radius: 34px;
  border-color: rgba(89, 226, 188, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: 0 28px 48px rgba(4, 11, 22, 0.18);
}

body.portfolio-page:not(.detail-page) .hero-card {
  width: min(100%, 27.4rem);
  margin-left: 0;
  justify-self: start;
  padding: 0.82rem;
  align-self: center;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero-card::before {
  top: -10%;
  right: -16%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 226, 188, 0.14), rgba(89, 226, 188, 0));
  filter: blur(10px);
  animation: heroSnapshotGlow 8.5s ease-in-out infinite;
}

.hero-card::after {
  left: -24%;
  top: 20%;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0), rgba(128, 184, 255, 0.34), rgba(89, 226, 188, 0.28), rgba(89, 226, 188, 0));
  filter: blur(3px);
  animation: heroSnapshotSweep 7.2s ease-in-out infinite;
}

.hero-photo-wrap {
  display: grid;
  gap: 0.68rem;
}

body.portfolio-page:not(.detail-page) .hero-photo-wrap {
  width: 100%;
  gap: 0;
}

body.portfolio-page:not(.detail-page) .hero-photo-frame {
  max-width: 24.2rem;
}

.hero-photo-frame {
  position: relative;
  max-width: 22.6rem;
  margin-inline: auto;
  padding: 0.62rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(128, 184, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-photo-aura {
  position: absolute;
  inset: 8% auto auto 50%;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(89, 226, 188, 0.18), transparent 56%),
    radial-gradient(circle at 35% 30%, rgba(128, 184, 255, 0.2), transparent 48%);
  transform: translateX(-50%);
  filter: blur(16px);
  animation: heroPortraitAura 6.8s ease-in-out infinite;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.82;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.hero-photo-badge {
  position: absolute;
  z-index: 2;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 17, 29, 0.68);
  color: #eff6ff;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .hero-photo-frame {
  background:
    radial-gradient(circle at top, rgba(31, 111, 235, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 250, 255, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .hero-photo-badge {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: #17314c;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.56rem;
  padding-bottom: 0.54rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.hero-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.66rem;
  border: 1px solid rgba(89, 226, 188, 0.16);
  border-radius: 999px;
  background: rgba(89, 226, 188, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-mini-pill,
.hero-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-card-status {
  flex: 0 0 auto;
  border-color: rgba(89, 226, 188, 0.16);
  background:
    radial-gradient(circle at left center, rgba(89, 226, 188, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.04);
}

.hero-pill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.meta-stack,
.timeline-stack,
.pill-row,
.button-row,
.stats-row,
.chips,
.certificate-links,
.contact-list,
.journey-milestones,
.travel-grid {
  display: grid;
  gap: 0.9rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0;
}

.hero-support {
  padding: 0.15rem 0 1.8rem;
}

.hero-support-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(128, 184, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014)),
    rgba(9, 19, 33, 0.34);
  box-shadow: 0 18px 34px rgba(4, 11, 22, 0.14);
  backdrop-filter: blur(14px);
}

.hero-support-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hero-support-main,
.hero-support-side {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.hero-pill-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  grid-auto-rows: 1fr;
}

.fact-box,
.stat-box,
.meta-item,
.pill-card {
  padding: 0.82rem 0.88rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
}

.pill-card-wide {
  grid-column: 1 / -1;
}

[data-theme="light"] .fact-box,
[data-theme="light"] .stat-box,
[data-theme="light"] .meta-item,
[data-theme="light"] .pill-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 250, 255, 0.7));
  border-color: rgba(10, 22, 38, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.fact-box strong,
.stat-box strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--text);
  font-size: 1.02rem;
}

.pill-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hero-pill-grid .pill-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 0.9rem 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.hero-pill-grid .pill-card::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0), rgba(128, 184, 255, 0.42), rgba(89, 226, 188, 0.4), rgba(89, 226, 188, 0));
  opacity: 0.6;
}

.hero-pill-grid .pill-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.26);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.snapshot-link-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-color: rgba(89, 226, 188, 0.22);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.11), transparent 28%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.snapshot-link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(89, 226, 188, 0.14);
  opacity: 0.82;
  pointer-events: none;
}

.snapshot-link-card.is-academic {
  border-color: rgba(128, 184, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.13), transparent 28%),
    radial-gradient(circle at bottom left, rgba(89, 226, 188, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.snapshot-link-card.is-academic::before {
  border-color: rgba(128, 184, 255, 0.16);
}

.snapshot-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.48);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(89, 226, 188, 0.14);
}

.snapshot-link-card.is-academic:hover {
  border-color: rgba(128, 184, 255, 0.46);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(128, 184, 255, 0.14);
}

.snapshot-link-state {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.5rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snapshot-link-state::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 6px rgba(89, 226, 188, 0.08);
}

.snapshot-link-card.is-academic .snapshot-link-state {
  color: var(--accent);
}

.snapshot-link-card.is-academic .snapshot-link-state::before {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(128, 184, 255, 0.08);
}

.snapshot-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.68rem;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.snapshot-link-cta::after {
  content: "↗";
  color: inherit;
  font-size: 0.84rem;
  transition: transform 0.24s ease;
}

.snapshot-link-card:hover .snapshot-link-cta {
  color: var(--text);
}

.snapshot-link-card:hover .snapshot-link-cta::after {
  transform: translate(2px, -2px);
}

.pill-card .label {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--text-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-pill-grid .pill-card strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.94rem;
  line-height: 1.42;
}

.hero-pill-grid .pill-card .small {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

[data-theme="light"] .hero-card {
  border-color: rgba(2, 139, 112, 0.14);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 26%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 249, 255, 0.66)),
    var(--panel);
  box-shadow: 0 28px 48px rgba(33, 54, 87, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] body.portfolio-page:not(.detail-page) .hero-card {
  border-color: rgba(2, 139, 112, 0.1);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.06), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(244, 249, 255, 0.38)),
    var(--panel);
  box-shadow: 0 20px 40px rgba(33, 54, 87, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

[data-theme="light"] .hero-copy {
  background: transparent;
  box-shadow: none;
}

[data-theme="light"] .hero-copy::before {
  content: none;
}

[data-theme="light"] .hero-card-top {
  border-bottom-color: rgba(10, 22, 38, 0.08);
}

[data-theme="light"] .hero-card-kicker,
[data-theme="light"] .hero-card-status {
  border-color: rgba(2, 139, 112, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(240, 249, 246, 0.68));
}

[data-theme="light"] .hero-card-status {
  color: #175244;
}

[data-theme="light"] .hero-pill-grid .pill-card {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(243, 249, 255, 0.7));
}

[data-theme="light"] .snapshot-link-card {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(243, 249, 255, 0.78));
  box-shadow: 0 18px 34px rgba(33, 54, 87, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

[data-theme="light"] .snapshot-link-card::before {
  border-color: rgba(2, 139, 112, 0.12);
}

[data-theme="light"] .snapshot-link-card.is-academic {
  border-color: rgba(31, 111, 235, 0.18);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(2, 139, 112, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(243, 249, 255, 0.78));
}

[data-theme="light"] .snapshot-link-card.is-academic::before {
  border-color: rgba(31, 111, 235, 0.12);
}

[data-theme="light"] .snapshot-link-card:hover {
  border-color: rgba(2, 139, 112, 0.34);
  box-shadow: 0 22px 38px rgba(33, 54, 87, 0.11), 0 0 0 1px rgba(2, 139, 112, 0.08);
}

[data-theme="light"] .snapshot-link-card.is-academic:hover {
  border-color: rgba(31, 111, 235, 0.32);
  box-shadow: 0 22px 38px rgba(33, 54, 87, 0.11), 0 0 0 1px rgba(31, 111, 235, 0.08);
}

@keyframes heroSnapshotGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }
  50% {
    transform: translate3d(-10px, 10px, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes heroSnapshotSweep {
  0% {
    transform: translateX(-12%);
    opacity: 0;
  }
  18% {
    opacity: 0.8;
  }
  58% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(118%);
    opacity: 0;
  }
}

@keyframes heroPortraitAura {
  0%, 100% {
    transform: translateX(-50%) scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: translateX(-50%) scale(1.04);
    opacity: 1;
  }
}

.btn-group,
.hero-actions,
.footer-links,
.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  gap: 0.68rem;
}

.journey-stage-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.3rem 0 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(89, 226, 188, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(8, 17, 29, 0.28);
  overflow: hidden;
}

[data-theme="light"] .journey-stage-strip {
  background:
    radial-gradient(circle at 50% 50%, rgba(2, 139, 112, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 249, 255, 0.76)),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(10, 22, 38, 0.08);
  box-shadow: 0 16px 36px rgba(33, 54, 87, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

[data-theme="light"] .journey-stage-track {
  background: linear-gradient(90deg, rgba(31, 111, 235, 0.2), rgba(2, 139, 112, 0.18), rgba(184, 106, 0, 0.16));
}

[data-theme="light"] .journey-stage-item strong {
  color: #17314c;
}

[data-theme="light"] .journey-stage-item span:last-child {
  color: #5c718b;
}

.journey-stage-strip::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0), rgba(128, 184, 255, 0.05), rgba(89, 226, 188, 0.06), rgba(255, 194, 104, 0.05), rgba(128, 184, 255, 0));
  filter: blur(10px);
  pointer-events: none;
  animation: journeyStageAura 8s ease-in-out infinite;
}

.journey-stage-track {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(74, 144, 226, 0.18), rgba(89, 226, 188, 0.2), rgba(194, 142, 88, 0.16));
  transform: translateY(-50%);
}

.journey-stage-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0), rgba(128, 184, 255, 0.28), rgba(89, 226, 188, 0.26), rgba(89, 226, 188, 0));
  filter: blur(4px);
  transform: translateY(-50%);
  animation: journeySignalMove 5.6s ease-in-out infinite;
}

.journey-stage-item {
  position: relative;
  display: grid;
  gap: 0.24rem;
  justify-items: center;
  text-align: center;
  padding: 0.42rem 0.45rem 0;
  z-index: 1;
}

body.motion-pending .motion-stage-strip .journey-stage-item,
body.motion-ready .motion-stage-strip:not(.is-motion-visible) .journey-stage-item {
  opacity: 0.42;
  transform: translate3d(0, 14px, 0) scale(0.96);
}

body.motion-ready .motion-stage-strip.is-motion-visible .journey-stage-item {
  animation: motionNodeReveal 0.76s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--motion-index, 0) * 90ms + 0.12s);
}

.journey-stage-item strong {
  font-size: 0.9rem;
}

.journey-stage-item span:last-child {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.journey-stage-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03);
  animation: journeyStagePulse 4.8s ease-in-out infinite;
}

.journey-stage-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.08rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: journeyStageFloat 6.8s ease-in-out infinite;
}

.stage-school .journey-stage-dot {
  background: #78aef0;
}

.stage-school .journey-stage-symbol {
  color: #78aef0;
  border-color: rgba(74, 144, 226, 0.18);
  background: rgba(74, 144, 226, 0.1);
}

.stage-mech .journey-stage-dot {
  background: #7bc79d;
}

.stage-mech .journey-stage-symbol {
  color: #7bc79d;
  border-color: rgba(78, 160, 124, 0.2);
  background: rgba(78, 160, 124, 0.1);
}

.stage-leadership .journey-stage-dot {
  background: #d4a26b;
}

.stage-leadership .journey-stage-symbol {
  color: #d4a26b;
  border-color: rgba(194, 142, 88, 0.2);
  background: rgba(194, 142, 88, 0.1);
}

.stage-germany .journey-stage-dot {
  background: #67dcbc;
}

.stage-germany .journey-stage-symbol {
  color: #67dcbc;
  border-color: rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.1);
}

.stage-robotics .journey-stage-dot {
  background: #8cb9ff;
}

.stage-robotics .journey-stage-symbol {
  color: #8cb9ff;
  border-color: rgba(128, 184, 255, 0.2);
  background: rgba(128, 184, 255, 0.1);
}

.stage-robotics .journey-stage-dot {
  background: #8cb9ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  padding: 0.82rem 1.18rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -34%;
  width: 38%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.3) 48%, rgba(255, 255, 255, 0.08) 58%, transparent 100%);
  transform: translateX(-180%) skewX(-20deg);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 0.8;
  transform: translateX(360%) skewX(-20deg);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.btn:disabled:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.btn-primary {
  color: #08111d;
  border-color: transparent;
  background: linear-gradient(135deg, #63dcc2 0%, #7fb7ff 100%);
  box-shadow: 0 16px 30px rgba(78, 164, 201, 0.18);
}

.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(128, 184, 255, 0.12), rgba(89, 226, 188, 0.08));
}

[data-theme="light"] .btn {
  border-color: rgba(10, 22, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.88));
  box-shadow: 0 8px 18px rgba(33, 54, 87, 0.05);
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #14997e 0%, #2d79ea 100%);
  box-shadow: 0 14px 26px rgba(31, 111, 235, 0.16);
}

[data-theme="light"] .btn-secondary {
  color: #17314c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 250, 255, 0.84)),
    linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(2, 139, 112, 0.06));
}

[data-theme="light"] .btn-fit-top {
  border-color: rgba(2, 139, 112, 0.16);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(2, 139, 112, 0.1));
  color: #17314c;
  box-shadow: 0 12px 24px rgba(33, 54, 87, 0.08);
}

.btn-fit-highlight {
  position: relative;
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(99, 220, 194, 0.18), rgba(127, 183, 255, 0.12));
  color: var(--text);
  box-shadow: 0 16px 34px rgba(89, 226, 188, 0.1);
}

.btn-fit-highlight::after {
  content: "Best Role Match";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions .btn {
  min-height: 48px;
  padding: 0.82rem 1.16rem;
}

.hero-actions .btn-fit-highlight::after {
  margin-left: 0.32rem;
  padding: 0.12rem 0.42rem;
  font-size: 0.62rem;
}

.btn-fit-highlight:hover {
  border-color: rgba(89, 226, 188, 0.38);
  box-shadow: 0 18px 36px rgba(89, 226, 188, 0.16);
}

[data-theme="light"] .btn-fit-highlight {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(2, 139, 112, 0.09));
  color: #17314c;
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .btn-fit-highlight::after {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: #1f4f88;
}

[data-theme="light"] .btn:hover {
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.08);
}

.btn-ghost {
  background: transparent;
}

.btn-small {
  min-height: 40px;
  padding: 0.65rem 0.92rem;
  font-size: 0.92rem;
}

.btn-download-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-download-portfolio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  color: currentColor;
  opacity: 0.92;
}

.btn-download-portfolio-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.btn-download-portfolio-label {
  display: inline-block;
}

.btn-download-portfolio:hover,
.btn-download-portfolio:focus-visible {
  border-color: rgba(89, 226, 188, 0.3);
}

[data-theme="light"] .btn-download-portfolio {
  color: #16314d;
}

.btn-mobile-quick-download {
  white-space: nowrap;
  gap: 0;
}

[data-theme="light"] .btn-download-portfolio {
  color: #16314d;
}

.page-back-button {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  min-height: 46px;
  padding: 0.72rem 1rem 0.72rem 0.82rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(7, 17, 31, 0.84);
  color: var(--text);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.page-back-button:hover,
.page-back-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(128, 184, 255, 0.44);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.page-back-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: rgba(128, 184, 255, 0.14);
}

.page-back-button-icon svg {
  width: 0.96rem;
  height: 0.96rem;
}

.page-back-button-label {
  white-space: nowrap;
}

[data-theme="light"] .page-back-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.9);
  color: #0d1b2e;
  box-shadow: 0 16px 32px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .page-back-button:hover,
[data-theme="light"] .page-back-button:focus-visible {
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow: 0 18px 36px rgba(33, 54, 87, 0.16);
}

[data-theme="light"] .page-back-button-icon {
  background: rgba(31, 111, 235, 0.1);
}

.floating-page-actions {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 52;
  display: grid;
  gap: 0.58rem;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-page-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(7, 17, 31, 0.88);
  color: var(--text);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-page-action:hover,
.floating-page-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.24);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.floating-page-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
}

.floating-page-action-icon svg {
  width: 1.28rem;
  height: 1.28rem;
}

.floating-page-action-icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  border-radius: 4px;
}

.floating-page-action-label {
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translate3d(10px, -50%, 0);
  opacity: 0;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #eff9ff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-page-action:hover .floating-page-action-label,
.floating-page-action:focus-visible .floating-page-action-label {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.floating-page-action-map .floating-page-action-label {
  background: linear-gradient(135deg, #37a5c4, #55bfd7);
}

.floating-page-action-filter .floating-page-action-label {
  background: linear-gradient(135deg, #465368, #5a6b81);
}

.floating-page-action-contact .floating-page-action-label {
  background: linear-gradient(135deg, #3d5568, #4e6d82);
}

[data-theme="light"] .floating-page-action {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  color: #10233b;
  border-color: rgba(10, 22, 38, 0.1);
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.14);
}

[data-theme="light"] .floating-page-action:hover,
[data-theme="light"] .floating-page-action:focus-visible {
  border-color: rgba(31, 111, 235, 0.22);
  box-shadow: 0 18px 34px rgba(33, 54, 87, 0.18);
}


.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 80;
  pointer-events: none;
  background: rgba(128, 184, 255, 0.08);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.scroll-progress.is-active {
  opacity: 1;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #31c48d 0%, #59a8ff 52%, #86d8ff 100%);
  box-shadow: 0 0 18px rgba(89, 168, 255, 0.28);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.scroll-progress.is-complete .scroll-progress-bar {
  box-shadow: 0 0 20px rgba(49, 196, 141, 0.34);
}

[data-theme="light"] .scroll-progress {
  background: rgba(17, 40, 70, 0.06);
}

[data-theme="light"] .scroll-progress-bar {
  box-shadow: 0 0 16px rgba(47, 141, 117, 0.18);
}

.scroll-direction-buttons {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 44;
  display: grid;
  gap: 0.62rem;
}

.scroll-nav-button {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(7, 17, 31, 0.84);
  color: var(--text);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.scroll-direction-buttons .scroll-nav-button {
  position: relative;
}

.scroll-nav-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-nav-button:hover,
.scroll-nav-button:focus-visible {
  border-color: rgba(128, 184, 255, 0.44);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
}

.scroll-nav-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

.scroll-nav-button-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

body.has-page-back-button .scroll-direction-buttons {
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.25rem);
}

[data-theme="light"] .scroll-nav-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.9);
  color: #0d1b2e;
  box-shadow: 0 16px 32px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .scroll-nav-button:hover,
[data-theme="light"] .scroll-nav-button:focus-visible {
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow: 0 18px 36px rgba(33, 54, 87, 0.16);
}


.btn-attention {
  position: relative;
  border-color: rgba(89, 226, 188, 0.3);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(99, 220, 194, 0.12), rgba(127, 183, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(89, 226, 188, 0.06), 0 16px 30px rgba(89, 226, 188, 0.1);
  animation: attentionPulse 2.4s ease-in-out infinite;
}

.btn-cue {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-social {
  min-height: 42px;
  padding: 0.68rem 0.96rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
}

.btn-github {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.btn-linkedin {
  border-color: rgba(88, 160, 220, 0.16);
  background:
    radial-gradient(circle at top right, rgba(88, 160, 220, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.btn-social:hover {
  border-color: rgba(128, 184, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.16), transparent 24%),
    rgba(128, 184, 255, 0.12);
}

.btn-linkedin:hover {
  border-color: rgba(14, 118, 168, 0.32);
  background:
    radial-gradient(circle at top right, rgba(14, 118, 168, 0.18), transparent 24%),
    rgba(14, 118, 168, 0.16);
}

.btn-github:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.08);
}

.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
}

.btn-with-icon {
  gap: 0.68rem;
}

.link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.24rem;
  height: 1.24rem;
  flex: 0 0 1.24rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-with-icon .link-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-basis: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 6px 14px rgba(7, 17, 31, 0.12);
}

.link-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 0.86rem;
  max-height: 0.86rem;
  object-fit: contain;
}

.btn-with-icon .link-icon img {
  max-width: 0.98rem;
  max-height: 0.98rem;
}

.icon-contact .link-icon img {
  max-width: 0.94rem;
  max-height: 0.94rem;
}

.icon-github .link-icon img {
  filter: invert(1);
}

.btn-with-icon.icon-github .link-icon img {
  filter: none;
}

.icon-request-cv .link-icon img,
.icon-fit .link-icon img,
.icon-journey .link-icon img {
  max-width: 1rem;
  max-height: 1rem;
  border-radius: 0.28rem;
}

.icon-fit .link-icon img,
.icon-journey .link-icon img {
  max-width: 1.08rem;
  max-height: 1.08rem;
}

.icon-journey .link-icon {
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 255, 0.92));
}

.btn-with-icon.icon-fit .link-icon img,
.btn-with-icon.icon-journey .link-icon img {
  max-width: 1.18rem;
  max-height: 1.18rem;
}

.btn-with-icon.icon-journey .link-icon {
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(233, 244, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(7, 17, 31, 0.14);
}

.footer-links .link-with-icon,
.page-end-cta .link-with-icon,
.contact-card .link-with-icon {
  font-weight: 700;
}

.footer-links .link-icon,
.contact-card .link-icon {
  width: 1.06rem;
  height: 1.06rem;
  flex-basis: 1.06rem;
}

.footer-links .link-icon img,
.contact-card .link-icon img {
  max-width: 0.74rem;
  max-height: 0.74rem;
}

[data-theme="light"] .btn-attention {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(2, 139, 112, 0.08));
  box-shadow: 0 14px 26px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .link-icon {
  background: rgba(21, 44, 74, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .btn-with-icon .link-icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 16px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .icon-github .link-icon img {
  filter: none;
}

[data-theme="light"] .btn-cue {
  background: rgba(10, 22, 38, 0.06);
  color: #35516f;
}

[data-theme="light"] .btn-github {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(10, 22, 38, 0.04), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.88));
}

[data-theme="light"] .btn-linkedin {
  border-color: rgba(14, 118, 168, 0.14);
  background:
    radial-gradient(circle at top right, rgba(14, 118, 168, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.88));
}

.badge,
.chip,
.project-tag,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

[data-theme="light"] .badge,
[data-theme="light"] .chip,
[data-theme="light"] .project-tag,
[data-theme="light"] .meta-pill {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 249, 255, 0.64));
  border-color: rgba(10, 22, 38, 0.08);
  color: #5a6f88;
}

[data-theme="light"] .badge strong,
[data-theme="light"] .chip strong {
  color: #17314c;
}

.badge strong,
.chip strong {
  color: var(--text);
}

.availability-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  margin-top: 0;
  padding: 0.82rem 0.92rem;
  border: 1px solid rgba(89, 226, 188, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at left center, rgba(89, 226, 188, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(89, 226, 188, 0.08), rgba(128, 184, 255, 0.06));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.availability-banner strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--text);
  font-size: 1rem;
}

.availability-banner span:last-child {
  color: var(--text-soft);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.btn-cv-top {
  border-color: rgba(128, 184, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.btn-cv-top:hover {
  border-color: rgba(89, 226, 188, 0.28);
}

.btn-availability-cv {
  white-space: nowrap;
  color: #f4fffb;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-color: rgba(89, 226, 188, 0.34);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(99, 220, 194, 0.34), rgba(127, 183, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(7, 16, 27, 0.18),
    0 0 0 1px rgba(89, 226, 188, 0.08);
}

.btn-availability-cv:hover {
  color: #ffffff;
  border-color: rgba(89, 226, 188, 0.46);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.3), transparent 30%),
    linear-gradient(135deg, rgba(99, 220, 194, 0.42), rgba(127, 183, 255, 0.28));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 32px rgba(7, 16, 27, 0.22),
    0 0 0 1px rgba(89, 226, 188, 0.12);
}

[data-theme="light"] .availability-banner {
  border-color: rgba(25, 120, 98, 0.12);
  background:
    radial-gradient(circle at left center, rgba(89, 226, 188, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 255, 0.92));
}

[data-theme="light"] .availability-banner strong {
  color: #17314c;
}

[data-theme="light"] .availability-banner span:last-child {
  color: #5d7089;
}

[data-theme="light"] .hero-support-shell {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 249, 255, 0.74));
  box-shadow: 0 22px 42px rgba(33, 54, 87, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

[data-theme="light"] .hero-support-shell::before {
  border-color: rgba(255, 255, 255, 0.42);
}

[data-theme="light"] .btn-cv-top {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92));
}

[data-theme="light"] .btn-availability-cv {
  color: #0f2b3e;
  font-weight: 800;
  border-color: rgba(21, 128, 97, 0.2);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(240, 255, 251, 0.98), rgba(231, 246, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 24px rgba(33, 54, 87, 0.1);
}

.status-dot,
.spark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.16), 0 0 18px rgba(110, 231, 183, 0.4);
}

.highlight-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.3rem;
  align-items: start;
}

.skill-card {
  display: grid;
  gap: 0.8rem;
}

.skill-card-software {
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.skill-card:hover {
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.skill-card-software:hover {
  border-color: rgba(89, 226, 188, 0.42);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(89, 226, 188, 0.12), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.skill-card-software:hover .skill-accent-tag {
  background: rgba(89, 226, 188, 0.16);
  border-color: rgba(89, 226, 188, 0.34);
}

[data-theme="light"] .skill-card:hover {
  border-color: rgba(31, 111, 235, 0.24);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(2, 139, 112, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 255, 0.82)),
    var(--panel);
}

[data-theme="light"] .skill-card-software:hover {
  border-color: rgba(2, 139, 112, 0.3);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.2), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 248, 244, 0.82)),
    var(--panel);
}

.training-card {
  color: inherit;
}

.training-card-feature {
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

[data-theme="light"] .training-card,
[data-theme="light"] #events-training .card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.88)),
    #ffffff;
  border-color: rgba(10, 22, 38, 0.09);
  box-shadow: 0 16px 34px rgba(33, 54, 87, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] #events-training .muted {
  color: #5d7089;
}

[data-theme="light"] #events-training .card-cta {
  border-color: rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.08);
}

.training-card-feature:hover {
  border-color: rgba(89, 226, 188, 0.42);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(89, 226, 188, 0.12), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

[data-theme="light"] .training-card-feature:hover,
[data-theme="light"] #events-training .card:hover {
  border-color: rgba(2, 139, 112, 0.28);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(241, 247, 255, 0.84)),
    #ffffff;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  padding: 1rem;
  border-radius: 20px;
  align-items: flex-start;
  height: 100%;
}

.event-kicker {
  display: inline-flex;
  width: max-content;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.08);
  color: var(--accent-strong);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0.08rem 0 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.event-card .muted {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.event-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.28rem;
}

.event-footer .btn,
.training-card .btn {
  min-width: 124px;
  min-height: 38px;
  padding-inline: 0.88rem;
  border-radius: 13px;
  font-size: 0.84rem;
}

.event-card .timeline-metrics {
  margin-top: auto;
  padding-top: 0.14rem;
  gap: 0.42rem;
}

.event-card .project-tag {
  min-height: 32px;
  padding: 0.34rem 0.68rem;
  font-size: 0.76rem;
}

@media (max-width: 1180px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

[data-theme="light"] #events-training .event-kicker {
  border-color: rgba(25, 120, 98, 0.18);
  background: rgba(89, 226, 188, 0.12);
  color: #0f6a59;
}

.skill-accent-tag {
  display: inline-flex;
  width: max-content;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.08);
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="light"] .skill-accent-tag {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.1);
  color: #0f6a59;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.skill-emphasis {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(89, 226, 188, 0.18);
  color: var(--text);
  font-size: 0.92rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.skill-card,
.achievement-card,
.travel-card,
.contact-card,
.education-card,
.certificate-card {
  height: 100%;
}

.certificate-card,
.achievement-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-height: 100%;
  border-color: rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(5, 15, 27, 0.16);
}

.certificate-card {
  min-height: 236px;
  padding: 1.02rem;
  border-radius: 22px;
}

.achievement-card {
  min-height: 206px;
  padding: 1.04rem;
  border-radius: 22px;
}

.certificate-card::before,
.achievement-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -26% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 184, 255, 0.11), transparent 68%);
  filter: blur(12px);
  opacity: 0.72;
  pointer-events: none;
  animation: journeyCardFloat 8.4s ease-in-out infinite;
}

.certificate-card::after,
.achievement-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 66%);
  opacity: 0;
  transform: translateX(-36%);
  transition: opacity 0.32s ease, transform 0.55s ease;
  pointer-events: none;
}

.certificate-card:hover::after,
.achievement-card:hover::after {
  opacity: 1;
  transform: translateX(14%);
}

.section-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.95rem;
  height: 2.95rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.26rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  animation: sectionIconPulse 5.8s ease-in-out infinite;
}

.certificate-card:hover .section-card-icon,
.achievement-card:hover .section-card-icon {
  animation: none;
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 14px 28px rgba(89, 226, 188, 0.12),
    0 0 0 6px rgba(89, 226, 188, 0.05);
}

.certificate-card:hover .skill-accent-tag,
.achievement-card:hover .skill-accent-tag {
  border-color: rgba(89, 226, 188, 0.34);
  background: rgba(89, 226, 188, 0.12);
}

.certificate-card h3,
.achievement-card h3 {
  margin: 0.05rem 0 0;
}

.certificate-card .muted,
.achievement-card .muted {
  margin: 0.18rem 0 0;
}

.certificate-card .btn-group,
.achievement-card .btn-group {
  margin-top: auto;
  padding-top: 0.9rem;
}

.certificate-card .btn,
.achievement-card .btn {
  min-width: 148px;
}

.achievement-card .section-card-head {
  gap: 0.72rem;
  margin-bottom: 0.66rem;
}

.achievement-card h3 {
  min-height: 3rem;
  margin-bottom: 0.34rem;
  font-size: 1.12rem;
  line-height: 1.28;
}

.achievement-card .muted {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.certificate-card {
  justify-content: space-between;
}

.certificate-card .section-card-head {
  align-items: center;
  margin-bottom: 0.8rem;
}

.certificate-card h3 {
  min-height: 3.15rem;
  margin-bottom: 0.42rem;
  font-size: 1.18rem;
  line-height: 1.24;
}

.certificate-card .muted {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.certificate-card .btn-group {
  display: flex;
  width: 100%;
  margin-top: 0.82rem;
  padding-top: 0;
}

.certificate-card .btn,
.certificate-card .btn-ghost {
  width: 100%;
  justify-content: center;
  min-height: 40px;
  border-radius: 13px;
  font-weight: 700;
}

.certificate-card .btn-ghost {
  border: 1px solid rgba(128, 184, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.cert-icon-ros,
.acc-icon-robotics {
  border-color: rgba(74, 144, 226, 0.2);
  background: rgba(74, 144, 226, 0.1);
  color: #78aef0;
}

.cert-icon-teleop,
.acc-icon-cross {
  border-color: rgba(128, 184, 255, 0.2);
  background: rgba(128, 184, 255, 0.1);
  color: #8cb9ff;
}

.cert-icon-quality,
.acc-icon-award {
  border-color: rgba(194, 142, 88, 0.2);
  background: rgba(194, 142, 88, 0.1);
  color: #d4a26b;
}

.cert-icon-process,
.cert-icon-mechatronics,
.cert-icon-keba,
.acc-icon-leadership {
  border-color: rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.1);
  color: #67dcbc;
}

.cert-icon-cad {
  border-color: rgba(154, 132, 214, 0.18);
  background: rgba(154, 132, 214, 0.1);
  color: #ab9ae4;
}

.journey-chip {
  border-color: rgba(128, 184, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .journey-chip {
  border-color: rgba(31, 111, 235, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(240, 247, 255, 0.56));
  color: #4e6783;
}

[data-theme="light"] .achievement-card:hover,
[data-theme="light"] .travel-card:hover,
[data-theme="light"] .education-card:hover,
[data-theme="light"] .certificate-card:hover {
  border-color: rgba(31, 111, 235, 0.18);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(2, 139, 112, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 255, 0.8)),
    var(--panel);
  box-shadow: 0 20px 40px rgba(33, 54, 87, 0.09);
}

[data-theme="light"] .certificate-card,
[data-theme="light"] .achievement-card {
  border-color: rgba(21, 44, 74, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 252, 255, 0.62)),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 18px 38px rgba(70, 96, 131, 0.08);
}

@media (max-width: 1180px) {
  .accomplishment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

[data-theme="light"] .section-card-icon {
  border-color: rgba(10, 22, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(242, 247, 255, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .certificate-card::after,
[data-theme="light"] .achievement-card::after {
  background: linear-gradient(115deg, transparent 0%, rgba(31, 111, 235, 0.08) 46%, transparent 66%);
}

[data-theme="light"] .certificate-card::before,
[data-theme="light"] .achievement-card::before {
  background: radial-gradient(circle, rgba(31, 111, 235, 0.1), transparent 68%);
}

[data-theme="light"] .certificate-card:hover .skill-accent-tag,
[data-theme="light"] .achievement-card:hover .skill-accent-tag {
  border-color: rgba(2, 139, 112, 0.22);
  background: rgba(2, 139, 112, 0.13);
}

.chip-flag {
  display: inline-flex;
  width: 1rem;
  height: 0.72rem;
  margin-right: 0.38rem;
  border-radius: 0.16rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  flex: 0 0 auto;
}

.chip-state-flag {
  display: inline-flex;
  width: 1rem;
  height: 0.72rem;
  margin-right: 0.38rem;
  border-radius: 0.16rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  flex: 0 0 auto;
}

.chip-state-flag-bavaria {
  background:
    linear-gradient(135deg, #ffffff 0 25%, #79aef4 25% 50%, #ffffff 50% 75%, #79aef4 75% 100%);
}

.chip-state-flag-thuringia {
  background: linear-gradient(180deg, #ffffff 0 50%, #c53f57 50% 100%);
}

.chip-state-flag-bw {
  background: linear-gradient(180deg, #111827 0 50%, #f3c74b 50% 100%);
}

.chip-school,
.icon-school {
  border-color: rgba(74, 144, 226, 0.2);
  background: rgba(74, 144, 226, 0.1);
  color: #78aef0;
}

.chip-mech,
.icon-mech {
  border-color: rgba(78, 160, 124, 0.2);
  background: rgba(78, 160, 124, 0.1);
  color: #7bc79d;
}

.chip-lead,
.icon-leadership {
  border-color: rgba(194, 142, 88, 0.2);
  background: rgba(194, 142, 88, 0.1);
  color: #d4a26b;
}

.chip-germany,
.icon-robotics {
  border-color: rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.1);
  color: #67dcbc;
}

.chip-robotics {
  border-color: rgba(128, 184, 255, 0.2);
  background: rgba(128, 184, 255, 0.1);
  color: #8cb9ff;
}

.chip-industry,
.icon-industry {
  border-color: rgba(154, 132, 214, 0.18);
  background: rgba(154, 132, 214, 0.1);
  color: #ab9ae4;
}

.route-card,
.travel-card,
.milestone-card,
.journey-summary .card {
  position: relative;
  overflow: hidden;
}

.journey-route,
.journey-milestones,
.travel-grid,
.journey-summary {
  position: relative;
}

.developer-signal-grid {
  margin-top: 0.2rem;
}

.developer-signal-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  border-color: rgba(128, 184, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 17, 29, 0.22);
}

.developer-signal-card .chips {
  gap: 0.65rem;
}

[data-theme="light"] .developer-signal-card {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(33, 54, 87, 0.06);
}

.journey-route::before,
.journey-milestones::before,
.travel-grid::before,
.journey-summary::before {
  content: "";
  position: absolute;
  inset: -4% -2% auto -2%;
  height: 140px;
  background: linear-gradient(90deg, transparent, rgba(128, 184, 255, 0.06), rgba(89, 226, 188, 0.05), transparent);
  filter: blur(18px);
  pointer-events: none;
  animation: journeySectionDrift 14s ease-in-out infinite;
}

.route-card::after,
.travel-card::after,
.milestone-card::after,
.journey-summary .card::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 184, 255, 0.1), transparent 68%);
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
  animation: journeyCardFloat 8s ease-in-out infinite;
}

.journey-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(128, 184, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.milestone-card:nth-child(2)::after {
  animation-delay: 1.2s;
}

.milestone-card:nth-child(3)::after {
  animation-delay: 2.1s;
}

.milestone-card:nth-child(4)::after {
  animation-delay: 3s;
}

.milestone-card:nth-child(5)::after {
  animation-delay: 3.9s;
}

.journey-route .card,
.journey-milestones .card,
.travel-grid .card,
.journey-summary .card {
  animation: journeyPanelBreath 9s ease-in-out infinite;
}

.journey-milestones .card:nth-child(2),
.travel-grid .card:nth-child(2),
.journey-summary .card:nth-child(2) {
  animation-delay: 1.2s;
}

.journey-milestones .card:nth-child(3),
.journey-summary .card:nth-child(3) {
  animation-delay: 2.1s;
}

.journey-milestones .card:nth-child(4),
.journey-summary .card:nth-child(4) {
  animation-delay: 3s;
}

.journey-milestones .card:nth-child(5) {
  animation-delay: 3.9s;
}

.travel-flag {
  position: relative;
}

.travel-card:hover .travel-flag,
.milestone-card:hover .journey-card-icon {
  transform: translateY(-3px) scale(1.05);
}

.travel-flag,
.journey-card-icon {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.flag-badge {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
}

.flag-badge::before,
.flag-badge::after {
  content: "";
  position: absolute;
}

.flag-india {
  background: linear-gradient(180deg, #f08a28 0 33.33%, #ffffff 33.33% 66.66%, #15803d 66.66% 100%);
}

.flag-india::after {
  left: 50%;
  top: 50%;
  width: 0.19rem;
  height: 0.19rem;
  border: 1px solid #1d4ed8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.flag-germany {
  background: linear-gradient(180deg, #111827 0 33.33%, #c53f57 33.33% 66.66%, #f3c74b 66.66% 100%);
}

.flag-uk {
  background:
    linear-gradient(90deg, transparent 42%, #ffffff 42% 58%, transparent 58%),
    linear-gradient(180deg, transparent 42%, #ffffff 42% 58%, transparent 58%),
    linear-gradient(90deg, transparent 46%, #d32f2f 46% 54%, transparent 54%),
    linear-gradient(180deg, transparent 46%, #d32f2f 46% 54%, transparent 54%),
    #123c8f;
}

.flag-bahrain {
  background: linear-gradient(90deg, #ffffff 0 28%, #b21f3a 28% 100%);
}

.flag-bahrain::after {
  inset: 0 auto 0 23%;
  width: 0.28rem;
  background:
    linear-gradient(180deg,
      transparent 0 10%,
      #ffffff 10% 18%,
      transparent 18% 28%,
      #ffffff 28% 36%,
      transparent 36% 46%,
      #ffffff 46% 54%,
      transparent 54% 64%,
      #ffffff 64% 72%,
      transparent 72% 82%,
      #ffffff 82% 90%,
      transparent 90% 100%);
}

.flag-qatar {
  background: linear-gradient(90deg, #ffffff 0 30%, #6f1639 30% 100%);
}

.flag-qatar::after {
  inset: 0 auto 0 24%;
  width: 0.28rem;
  background:
    linear-gradient(180deg,
      transparent 0 9%,
      #ffffff 9% 17%,
      transparent 17% 26%,
      #ffffff 26% 34%,
      transparent 34% 43%,
      #ffffff 43% 51%,
      transparent 51% 60%,
      #ffffff 60% 68%,
      transparent 68% 77%,
      #ffffff 77% 85%,
      transparent 85% 100%);
}

.flag-austria {
  background: linear-gradient(180deg, #c53f57 0 33.33%, #ffffff 33.33% 66.66%, #c53f57 66.66% 100%);
}

.flag-switzerland {
  background: #d32f2f;
}

.flag-switzerland::before,
.flag-switzerland::after {
  left: 50%;
  top: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.flag-switzerland::before {
  width: 0.46rem;
  height: 0.14rem;
}

.flag-switzerland::after {
  width: 0.14rem;
  height: 0.46rem;
}

.flag-czech {
  background: linear-gradient(180deg, #ffffff 0 50%, #c53f57 50% 100%);
}

.flag-czech::before {
  left: 0;
  top: 0;
  width: 52%;
  height: 100%;
  background: #1d4ed8;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.flag-luxembourg {
  background: linear-gradient(180deg, #d55656 0 33.33%, #ffffff 33.33% 66.66%, #7bb6ff 66.66% 100%);
}

.flag-globe {
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.26), transparent 24%),
    radial-gradient(circle at 62% 66%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #3e8ecf, #24659d);
}

.flag-globe::before {
  inset: 18% 24%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.flag-globe::after {
  left: 50%;
  top: 14%;
  width: 1px;
  height: 72%;
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(-50%);
  box-shadow: -0.22rem 0 0 rgba(255, 255, 255, 0.18), 0.22rem 0 0 rgba(255, 255, 255, 0.18);
}

.travel-card:hover .travel-flag {
  box-shadow: 0 10px 24px rgba(128, 184, 255, 0.16);
}

[data-theme="light"] .journey-chip {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .journey-card-icon {
  background: rgba(255, 255, 255, 0.92);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.icon-box svg {
  width: 1.4rem;
  height: 1.4rem;
}

.chips {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  align-items: start;
}

.fit-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.fit-module-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(89, 226, 188, 0.12);
}

.fit-module-heading-copy {
  min-width: 0;
}

.fit-module-head h3 {
  margin-bottom: 0.45rem;
}

.fit-module-head .muted {
  max-width: 62ch;
}

.fit-module-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.fit-module-lead {
  margin: 0.42rem 0 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.6;
}

.fit-collapse-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(89, 226, 188, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.fit-collapse-toggle:hover,
.fit-collapse-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.32);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.fit-collapse-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
}

.fit-collapse-toggle-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.22s ease;
}

.fit-collapse-body {
  display: grid;
  gap: 1rem;
}

.fit-collapse-body[hidden] {
  display: none !important;
}

.fit-showcase.is-collapsed {
  padding-bottom: 1rem;
}

.fit-showcase.is-collapsed .fit-module-head {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.fit-showcase:not(.is-collapsed) .fit-collapse-toggle-icon svg {
  transform: rotate(180deg);
}

.fit-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.1rem;
  border-color: rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.fit-showcase::before {
  content: "";
  position: absolute;
  inset: -12% auto auto -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 226, 188, 0.12), transparent 68%);
  filter: blur(18px);
  opacity: 0.32;
  pointer-events: none;
  animation: fitShowcaseGlow 8.5s ease-in-out infinite;
}

.fit-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(128, 184, 255, 0.05) 48%, rgba(89, 226, 188, 0.04) 56%, transparent 72%);
  transform: translateX(-32%);
  pointer-events: none;
  opacity: 0.34;
  animation: fitShowcaseSweep 10s ease-in-out infinite;
}

.fit-showcase > * {
  position: relative;
  z-index: 1;
}

.fit-item {
  position: relative;
  border: 1px solid rgba(89, 226, 188, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, box-shadow 0.32s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.fit-showcase.visible .fit-item {
  animation: fitCardRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fit-showcase.visible .fit-item:nth-child(2) {
  animation-delay: 0.08s;
}

.fit-showcase.visible .fit-item:nth-child(3) {
  animation-delay: 0.16s;
}

.fit-showcase.visible .fit-item:nth-child(4) {
  animation-delay: 0.24s;
}

.fit-showcase.visible .fit-summary-panel {
  animation: fitCardRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}

.fit-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.32s ease, box-shadow 0.32s ease;
}

.fit-item:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(89, 226, 188, 0.38);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.fit-item:hover::after {
  border-color: rgba(89, 226, 188, 0.45);
  box-shadow: inset 0 0 0 1px rgba(89, 226, 188, 0.18), 0 0 0 2px rgba(89, 226, 188, 0.08);
}

.fit-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.fit-summary-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
}

.fit-summary-main .icon-box {
  margin-bottom: 0;
}

.fit-summary h4 {
  margin: 0.12rem 0 0;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.fit-role-tag {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.08);
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fit-card-meta {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.fit-detail {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(89, 226, 188, 0.12);
}

.fit-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.fit-evidence-grid-single {
  grid-template-columns: 1fr;
}

.fit-evidence-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(128, 184, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.035);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.fit-evidence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 226, 188, 0.24);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.fit-evidence-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.fit-evidence-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(128, 184, 255, 0.18);
  border-radius: 14px;
  background: rgba(128, 184, 255, 0.08);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fit-evidence-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.fit-evidence-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background: rgba(128, 184, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.fit-evidence-card h5 {
  margin: 0;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.fit-action-row {
  margin-top: 1rem;
}

.fit-action-row .btn {
  min-width: 220px;
  border-color: rgba(89, 226, 188, 0.24);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.2), rgba(89, 226, 188, 0.18));
  box-shadow: 0 10px 24px rgba(89, 226, 188, 0.1);
}

.fit-action-row .btn:hover {
  border-color: rgba(89, 226, 188, 0.34);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.24), rgba(89, 226, 188, 0.22));
}

.fit-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.fit-cta-hand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  font-size: 1.7rem;
  line-height: 1;
  color: #f3fffb;
  text-shadow: 0 0 18px rgba(89, 226, 188, 0.34);
  opacity: 0.96;
  transform: translateX(0);
}

.fit-cta-text {
  display: inline-flex;
  min-width: 0;
  overflow-wrap: anywhere;
}

.fit-cta-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.6rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #f3fffb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.fit-item:hover .fit-cta {
  border-color: rgba(89, 226, 188, 0.42);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.28), rgba(89, 226, 188, 0.26));
  box-shadow: 0 16px 30px rgba(89, 226, 188, 0.18);
}

.fit-item:hover .fit-cta-hand {
  animation: fitHandTap 0.95s ease-in-out infinite;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(89, 226, 188, 0.38);
}

.fit-item:hover .fit-cta-cue {
  opacity: 1;
  transform: translateX(0);
}

[data-theme="light"] .fit-evidence-card {
  border-color: rgba(25, 120, 98, 0.08);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 250, 255, 0.68));
}

[data-theme="light"] .fit-module-head {
  border-bottom-color: rgba(25, 120, 98, 0.08);
}

[data-theme="light"] .fit-collapse-toggle {
  border-color: rgba(25, 120, 98, 0.12);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 255, 0.82));
  box-shadow: 0 10px 22px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .fit-collapse-toggle:hover,
[data-theme="light"] .fit-collapse-toggle:focus-visible {
  border-color: rgba(25, 120, 98, 0.22);
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .fit-evidence-icon {
  border-color: rgba(25, 120, 98, 0.12);
  background: rgba(128, 184, 255, 0.08);
}

[data-theme="light"] .fit-role-tag {
  border-color: rgba(25, 120, 98, 0.12);
  background: rgba(89, 226, 188, 0.1);
  color: #0f6a59;
}

[data-theme="light"] .fit-showcase::before {
  background: radial-gradient(circle, rgba(89, 226, 188, 0.06), transparent 68%);
}

[data-theme="light"] .fit-showcase::after {
  background: linear-gradient(115deg, transparent 30%, rgba(128, 184, 255, 0.035) 48%, rgba(89, 226, 188, 0.022) 56%, transparent 72%);
}

.fit-summary-panel {
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(89, 226, 188, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.fit-summary-panel h4 {
  margin-bottom: 0.45rem;
}

.fit-summary-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(89, 226, 188, 0.12);
}

.fit-summary-label {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

[data-theme="light"] .fit-summary-panel {
  border-color: rgba(25, 120, 98, 0.1);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 249, 255, 0.46));
}

.fit-item[open] .fit-toggle {
  background: linear-gradient(135deg, rgba(89, 226, 188, 0.18), rgba(128, 184, 255, 0.14));
  border-color: rgba(89, 226, 188, 0.3);
}

[data-theme="light"] .fit-item {
  border-color: rgba(25, 120, 98, 0.1);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.09), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(244, 249, 255, 0.44));
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .fit-detail {
  border-top-color: rgba(25, 120, 98, 0.08);
}

[data-theme="light"] .fit-summary h4,
[data-theme="light"] .fit-evidence-card h5,
[data-theme="light"] .fit-item .muted,
[data-theme="light"] .fit-card-meta,
[data-theme="light"] .fit-summary-label,
[data-theme="light"] .fit-module-lead {
  color: #1b2f46;
}

[data-theme="light"] .fit-evidence-label {
  border-color: rgba(31, 111, 235, 0.12);
  background: rgba(31, 111, 235, 0.06);
  color: #58708b;
}

[data-theme="light"] .fit-action-row .btn,
[data-theme="light"] .fit-item:hover .fit-cta {
  border-color: rgba(2, 139, 112, 0.16);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(2, 139, 112, 0.1));
  box-shadow: 0 10px 22px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .fit-item:hover {
  border-color: rgba(2, 139, 112, 0.3);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(241, 247, 255, 0.84));
  box-shadow: 0 24px 44px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .fit-item:hover::after {
  border-color: rgba(2, 139, 112, 0.26);
  box-shadow: inset 0 0 0 1px rgba(2, 139, 112, 0.1), 0 0 0 1px rgba(2, 139, 112, 0.05);
}

[data-theme="light"] .fit-cta,
[data-theme="light"] .fit-cta-text,
[data-theme="light"] .fit-cta-cue {
  color: #17314c;
}

[data-theme="light"] .fit-cta-hand {
  min-width: 2rem;
  font-size: 2rem;
  color: #0f6a59;
  text-shadow: 0 0 14px rgba(2, 139, 112, 0.2);
  filter: drop-shadow(0 2px 6px rgba(31, 111, 235, 0.12));
}

[data-theme="light"] .fit-cta-cue {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .fit-item:hover .fit-cta {
  border-color: rgba(2, 139, 112, 0.24);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.14), rgba(2, 139, 112, 0.16));
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .fit-item:hover .fit-cta-hand {
  color: #0a7d66;
  text-shadow: 0 0 16px rgba(2, 139, 112, 0.26);
  animation: fitHandTap 0.9s ease-in-out infinite;
}

[data-theme="light"] .fit-item:hover .fit-cta-cue {
  opacity: 1;
  transform: translateX(0);
  border-color: rgba(31, 111, 235, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.9));
  color: #1f4f88;
}

.timeline-stack {
  position: relative;
}

.experience-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.11), transparent 20%),
    linear-gradient(135deg, rgba(128, 184, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.experience-shell {
  padding: 1.08rem;
  overflow: hidden;
}

.experience-intro-copy h3 {
  max-width: 18ch;
  margin-bottom: 0.55rem;
}

.experience-intro-copy p {
  max-width: 42ch;
  margin-bottom: 0;
}

.experience-eyebrow {
  margin-bottom: 0.8rem;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.experience-stat {
  min-width: 150px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.experience-stat strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent-strong);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.experience-timeline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0, rgba(128, 184, 255, 0.08), transparent 36%);
}

.timeline-item {
  position: relative;
  padding: 1.28rem;
  transform-origin: center;
  border-radius: 28px;
  border-color: rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.timeline-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.current {
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.16), transparent 22%),
    linear-gradient(90deg, rgba(89, 226, 188, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.timeline-item:hover {
  transform: translateY(-8px) scale(1.01);
}

.timeline-item:hover::after {
  border-color: rgba(89, 226, 188, 0.34);
  box-shadow: inset 0 0 0 1px rgba(89, 226, 188, 0.16), 0 0 0 2px rgba(89, 226, 188, 0.06);
}

.experience-card-glow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 184, 255, 0.12), transparent 66%);
  filter: blur(10px);
  opacity: 0.72;
  animation: timelineFloat 6.4s ease-in-out infinite;
  pointer-events: none;
}

.timeline-item.current .experience-card-glow {
  background: radial-gradient(circle, rgba(89, 226, 188, 0.2), transparent 66%);
}

.timeline-item:hover .experience-card-glow {
  opacity: 1;
  transform: scale(1.08);
}

.timeline-item .muted {
  max-width: 66ch;
}

.timeline-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.experience-timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  inset: -12% 20% auto -12%;
  height: 220px;
  background: radial-gradient(circle, rgba(89, 226, 188, 0.08), transparent 68%);
  pointer-events: none;
}

.experience-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  margin-top: 1rem;
  width: max-content;
  padding: 0.66rem 0.92rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.2), rgba(89, 226, 188, 0.18));
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(89, 226, 188, 0.08);
}

[data-theme="light"] .experience-timeline::before {
  background: radial-gradient(circle, rgba(2, 139, 112, 0.08), transparent 68%);
}

[data-theme="light"] .experience-cta {
  border-color: rgba(2, 139, 112, 0.16);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(2, 139, 112, 0.1));
  color: #17314c;
  box-shadow: 0 10px 24px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .experience-cta::before {
  color: #0f6a59;
  text-shadow: 0 0 10px rgba(2, 139, 112, 0.12);
}

[data-theme="light"] .timeline-item:hover .experience-cta {
  border-color: rgba(2, 139, 112, 0.24);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.11), rgba(2, 139, 112, 0.13));
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .timeline-item:hover {
  border-color: rgba(2, 139, 112, 0.3);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(241, 247, 255, 0.84)),
    var(--panel);
  box-shadow: 0 24px 44px rgba(33, 54, 87, 0.1);
}

.experience-cta::before {
  content: "☞";
  font-size: 1.05rem;
  line-height: 1;
  color: #f3fffb;
  text-shadow: 0 0 16px rgba(89, 226, 188, 0.34);
  opacity: 0.92;
  transform: translateX(0);
}

.timeline-item:hover .experience-cta {
  border-color: rgba(89, 226, 188, 0.42);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.28), rgba(89, 226, 188, 0.26));
  box-shadow: 0 16px 30px rgba(89, 226, 188, 0.18);
}

.timeline-item:hover .experience-cta::before {
  animation: fitHandTap 0.95s ease-in-out infinite;
}

.date {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-row {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.company-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.9rem;
  height: 4.9rem;
  flex: 0 0 auto;
  padding: 0.42rem;
  border: 1px solid rgba(214, 223, 236, 0.72);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 250, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 24px rgba(8, 18, 34, 0.12);
  overflow: hidden;
}

.company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.08);
  filter: contrast(1.06) saturate(1.03);
}

.company-logo img[src*="keba"],
.company-logo img[src*="ndt"],
.company-logo img[src*="th-deggendorf"],
.company-logo img[src*="APJ_Abdul_Kalam"] {
  transform: scale(1.22);
}

.timeline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

[data-theme="light"] .project-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.86)),
    var(--panel);
  border-color: rgba(10, 22, 38, 0.08);
  box-shadow: 0 18px 40px rgba(33, 54, 87, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.project-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-content {
  display: grid;
  gap: 0.82rem;
  padding: 1.2rem;
  height: 100%;
}

.project-header {
  display: flex;
  gap: 0.9rem;
  align-items: start;
}

.project-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.25rem;
}

[data-theme="light"] .project-icon {
  border-color: rgba(10, 22, 38, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(128, 184, 255, 0.2), transparent 35%),
    linear-gradient(135deg, rgba(128, 184, 255, 0.08), rgba(89, 226, 188, 0.08));
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="light"] .project-placeholder {
  background:
    radial-gradient(circle at top, rgba(31, 111, 235, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(2, 139, 112, 0.08));
}

.project-tag {
  min-height: 38px;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
}

.project-icon-matlab,
.tag-matlab,
.placeholder-matlab {
  border-color: rgba(64, 116, 255, 0.18);
  background: rgba(64, 116, 255, 0.08);
  color: #3d72e8;
}

.tag-simulink {
  border-color: rgba(231, 111, 42, 0.18);
  background: rgba(231, 111, 42, 0.08);
  color: #c8662d;
}

.tag-modeling,
.tag-slam,
.tag-training,
.tag-optimization {
  border-color: rgba(25, 135, 84, 0.16);
  background: rgba(25, 135, 84, 0.08);
  color: #2f8b65;
}

.project-icon-solidworks,
.tag-solidworks {
  border-color: rgba(215, 58, 73, 0.16);
  background: rgba(215, 58, 73, 0.08);
  color: #bf4b58;
}

.tag-fea,
.project-icon-unity,
.tag-unity,
.tag-vr {
  border-color: rgba(111, 66, 193, 0.14);
  background: rgba(111, 66, 193, 0.08);
  color: #7061b3;
}

.project-icon-ros,
.tag-ros,
.tag-autonomy,
.project-icon-arduino,
.tag-arduino,
.placeholder-arduino,
.tag-robot {
  border-color: rgba(0, 140, 130, 0.16);
  background: rgba(0, 140, 130, 0.08);
  color: #247f77;
}

.tag-award {
  border-color: rgba(190, 144, 38, 0.16);
  background: rgba(190, 144, 38, 0.08);
  color: #9b7a2d;
}

[data-theme="light"] .project-icon-matlab,
[data-theme="light"] .tag-matlab,
[data-theme="light"] .placeholder-matlab {
  border-color: rgba(64, 116, 255, 0.16);
  background: rgba(64, 116, 255, 0.12);
  color: #285fda;
}

[data-theme="light"] .tag-simulink {
  border-color: rgba(231, 111, 42, 0.16);
  background: rgba(231, 111, 42, 0.12);
  color: #bb5d22;
}

[data-theme="light"] .tag-modeling,
[data-theme="light"] .tag-slam,
[data-theme="light"] .tag-training,
[data-theme="light"] .tag-optimization {
  border-color: rgba(25, 135, 84, 0.16);
  background: rgba(25, 135, 84, 0.11);
  color: #247654;
}

[data-theme="light"] .project-icon-solidworks,
[data-theme="light"] .tag-solidworks {
  border-color: rgba(215, 58, 73, 0.15);
  background: rgba(215, 58, 73, 0.11);
  color: #b24350;
}

[data-theme="light"] .tag-fea,
[data-theme="light"] .project-icon-unity,
[data-theme="light"] .tag-unity,
[data-theme="light"] .tag-vr {
  border-color: rgba(111, 66, 193, 0.14);
  background: rgba(111, 66, 193, 0.11);
  color: #6756ab;
}

[data-theme="light"] .project-icon-ros,
[data-theme="light"] .tag-ros,
[data-theme="light"] .tag-autonomy,
[data-theme="light"] .project-icon-arduino,
[data-theme="light"] .tag-arduino,
[data-theme="light"] .placeholder-arduino,
[data-theme="light"] .tag-robot {
  border-color: rgba(0, 140, 130, 0.16);
  background: rgba(0, 140, 130, 0.11);
  color: #1c7770;
}

[data-theme="light"] .tag-award {
  border-color: rgba(190, 144, 38, 0.15);
  background: rgba(190, 144, 38, 0.11);
  color: #8f6f24;
}

[data-theme="light"] .tag-simulink,
[data-theme="light"] .tag-modeling,
[data-theme="light"] .tag-slam,
[data-theme="light"] .tag-training,
[data-theme="light"] .tag-optimization,
[data-theme="light"] .project-icon-solidworks,
[data-theme="light"] .tag-solidworks,
[data-theme="light"] .tag-fea,
[data-theme="light"] .project-icon-unity,
[data-theme="light"] .tag-unity,
[data-theme="light"] .tag-vr,
[data-theme="light"] .project-icon-ros,
[data-theme="light"] .tag-ros,
[data-theme="light"] .tag-autonomy,
[data-theme="light"] .project-icon-arduino,
[data-theme="light"] .tag-arduino,
[data-theme="light"] .placeholder-arduino,
[data-theme="light"] .tag-robot,
[data-theme="light"] .tag-award {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.thesis-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.thesis-media {
  min-height: 100%;
}

.thesis-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.check-list,
ul.clean {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.check-list li,
ul.clean li {
  margin-bottom: 0.45rem;
}

.education-grid,
.contact-layout,
.travel-grid,
.journey-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accomplishment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.journey-preview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.education-card .school-meta,
.contact-list a {
  color: var(--text-muted);
}

.education-links {
  margin-top: 0.55rem;
}

.education-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.46rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.2);
  background: rgba(89, 226, 188, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.education-link::after {
  content: "↗";
  font-size: 0.9rem;
  line-height: 1;
}

.education-link:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 226, 188, 0.34);
  background: rgba(89, 226, 188, 0.12);
  box-shadow: 0 14px 28px rgba(5, 12, 24, 0.18);
}

[data-theme="light"] .education-link {
  border-color: rgba(47, 141, 117, 0.2);
  background: rgba(47, 141, 117, 0.08);
  color: #14324a;
}

[data-theme="light"] .education-link:hover {
  border-color: rgba(47, 141, 117, 0.34);
  background: rgba(47, 141, 117, 0.14);
}

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




.section-end-hub {
  padding-top: 4.2rem;
  scroll-margin-top: 8.5rem;
}

.end-hub-heading {
  margin-bottom: 0.72rem;
  max-width: 34rem;
}

.end-hub-frame {
  display: grid;
  gap: 1rem;
}

.end-hub-review-shell,
.review-distribution-card,
.review-reach-card,
.review-featured-panel,
.end-hub-review-archive {
  display: grid;
  gap: 1rem;
}

.end-hub-review-shell {
  padding: 0.88rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.end-hub-card-head {
  gap: 0.4rem;
}

.end-hub-review-head {
  max-width: none;
  align-self: stretch;
  display: grid;
  align-content: center;
}

.end-hub-card h3,
.end-hub-review-shell h3 {
  margin: 0;
  font-size: clamp(1.32rem, 2vw, 1.65rem);
  line-height: 1.18;
}



.end-hub-review-shell {
  gap: 0.68rem;
}

.end-hub-review-topline {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(180px, 0.62fr) minmax(180px, 0.62fr) minmax(320px, 1.3fr);
  gap: 0.72rem;
  align-items: stretch;
}

.end-hub-review-summary {
  display: contents;
}

.end-hub-rating-shell,
.end-hub-review-stat {
  border-radius: 18px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.end-hub-rating-shell {
  display: grid;
  gap: 0.28rem;
  width: 100%;
  padding: 0.72rem 0.82rem;
}

.end-hub-rating-value {
  font-size: clamp(1.9rem, 3.2vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.end-hub-review-stats {
  display: contents;
}

.end-hub-review-stat {
  display: grid;
  align-content: center;
  gap: 0.14rem;
  padding: 0.58rem 0.68rem;
}

.end-hub-review-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.56rem;
  align-items: start;
}

.review-distribution-card,
.review-featured-panel,
.end-hub-review-archive {
  padding: 0.66rem 0.72rem;
  border-radius: 20px;
}

.review-distribution-card {
  width: 100%;
  align-self: start;
}

.end-hub-review-topline .review-distribution-card {
  display: grid;
  align-content: start;
  gap: 0.48rem;
  min-height: 100%;
}

.end-hub-review-topline .review-distribution-card .review-section-head {
  align-items: start;
  gap: 0.42rem;
}

.end-hub-review-topline .review-distribution-card .review-section-head strong {
  font-size: 0.88rem;
}

.end-hub-review-topline .review-distribution-card .review-section-head small {
  font-size: 0.64rem;
}

.end-hub-review-topline .review-distribution-card .review-distribution-list {
  gap: 0.28rem;
}

.end-hub-review-topline .review-distribution-card .review-distribution-row {
  gap: 0.36rem;
}

.end-hub-review-topline .review-distribution-card .review-distribution-label,
.end-hub-review-topline .review-distribution-card .review-distribution-count {
  font-size: 0.76rem;
}

.end-hub-review-topline .review-distribution-card .review-distribution-bar {
  block-size: 0.26rem;
}

.end-hub-review-archive {
  grid-column: 1 / -1;
}

.review-featured-panel .feedback-public-review-card,
.end-hub-review-archive .feedback-public-review-card {
  padding: 0.88rem;
}

.review-featured-panel .feedback-public-review-title,
.end-hub-review-archive .feedback-public-review-title {
  font-size: 0.94rem;
  line-height: 1.3;
}

.review-featured-panel .feedback-public-review-text,
.end-hub-review-archive .feedback-public-review-text,
.review-featured-panel .feedback-public-review-reply-text,
.end-hub-review-archive .feedback-public-review-reply-text {
  font-size: 0.88rem;
  line-height: 1.5;
}

.end-hub-review-actions {
  margin-top: 0.25rem;
}

.review-add-btn-inline {
  position: relative;
  overflow: hidden;
  justify-content: center;
  justify-self: stretch;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.72rem 0.96rem;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(128, 184, 255, 0.14), rgba(89, 226, 188, 0.1)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 26px rgba(5, 12, 24, 0.16);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.review-add-btn-inline:hover {
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 30px rgba(5, 12, 24, 0.2);
}

.review-add-btn-inline .review-action-icon {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

[data-theme="light"] .review-add-btn-inline {
  border-color: rgba(47, 141, 117, 0.2);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.09), rgba(2, 139, 112, 0.08)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 14px 26px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .review-add-btn-inline .review-action-icon {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

[data-theme="light"] .end-hub-review-shell {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(47, 141, 117, 0.05), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 249, 255, 0.44)),
    var(--panel-strong);
  box-shadow: 0 18px 36px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .end-hub-rating-shell,
[data-theme="light"] .end-hub-review-stat {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(245, 249, 253, 0.9);
}

@media (max-width: 1180px) {
  .end-hub-review-topline {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(180px, 1fr));
    align-items: start;
  }

  .end-hub-review-head {
    grid-column: 1 / -1;
    display: block;
  }

  .end-hub-review-topline .review-distribution-card {
    grid-column: 1 / -1;
  }

  .end-hub-rating-shell {
    width: 100%;
  }

  .end-hub-review-stat {
    min-width: 0;
  }

}

@media (max-width: 760px) {
  .section-end-hub {
    padding-top: 3.6rem;
    scroll-margin-top: 7.2rem;
  }

  #reviews[data-nav-section] {
    scroll-margin-top: 7.2rem;
  }

  .end-hub-heading {
    margin-bottom: 0.85rem;
  }

  .end-hub-frame {
    padding: 0.85rem;
    border-radius: 24px;
  }

  .end-hub-review-shell,
  .review-distribution-card,
  .review-reach-card,
  .review-featured-panel,
  .end-hub-review-archive {
    padding: 1rem;
  }

  .end-hub-review-stats,
  .end-hub-review-rows,
  .review-actions-split.end-hub-review-actions {
    grid-template-columns: 1fr;
  }

  .end-hub-review-summary {
    display: grid;
    justify-items: stretch;
    align-items: stretch;
    gap: 0.46rem;
  }

  .end-hub-rating-shell,
  .end-hub-review-stats,
  .review-distribution-card {
    width: 100%;
  }

  .end-hub-review-topline,
  .end-hub-review-stats {
    grid-template-columns: 1fr;
  }

  .end-hub-review-stats {
    display: grid;
    gap: 0.46rem;
  }

  .review-add-btn-inline {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .end-hub-contact-item,
  .end-hub-action-link {
    min-height: 0;
  }

  .review-featured-panel .feedback-public-review-text,
  .end-hub-review-archive .feedback-public-review-text,
  .review-featured-panel .feedback-public-review-reply-text,
  .end-hub-review-archive .feedback-public-review-reply-text {
    font-size: 0.94rem;
    line-height: 1.62;
  }
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border-color: rgba(128, 184, 255, 0.14);
}

.contact-card-primary {
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.contact-card-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

[data-theme="light"] .contact-card {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)),
    var(--panel);
  box-shadow: 0 16px 34px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .contact-card-primary {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)),
    var(--panel);
}

.contact-card-head {
  display: grid;
  gap: 0.35rem;
}

.contact-card-head h3 {
  margin-bottom: 0.2rem;
}

.contact-kicker {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-summary {
  max-width: 58ch;
  margin: 0;
}

.contact-intake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.contact-intake-item {
  display: grid;
  gap: 0.32rem;
  padding: 0.88rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.contact-intake-item-wide {
  grid-column: 1 / -1;
}

.contact-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.contact-primary-actions .btn {
  width: 100%;
}

.contact-feedback-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.82rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .contact-feedback-box {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.05), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9)),
    rgba(255, 255, 255, 0.82);
}

.contact-feedback-copy {
  display: grid;
  gap: 0.42rem;
}

.contact-feedback-title {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.35;
}

.contact-feedback-box p {
  margin: 0;
  max-width: 54ch;
}

.contact-feedback-box .btn {
  width: fit-content;
  white-space: nowrap;
}

.contact-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem 1rem;
  padding-top: 0.82rem;
  border-top: 1px solid var(--line);
}

.contact-secondary-links a {
  color: var(--text-muted);
  font-weight: 700;
  transition: color 0.22s ease;
}

.contact-secondary-links a:hover {
  color: var(--text);
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.contact-detail-item {
  display: grid;
  gap: 0.3rem;
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .contact-detail-item {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .contact-intake-item {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.contact-detail-item-wide {
  grid-column: 1 / -1;
}

.contact-label {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.contact-profile-links a,
.contact-detail-item > a.contact-value {
  color: var(--text);
}

.contact-card .link-with-icon {
  align-items: center;
}

.contact-secondary-links .link-icon,
.contact-profile-links .link-icon,
.contact-detail-item > a .link-icon {
  width: 1.18rem;
  height: 1.18rem;
  flex-basis: 1.18rem;
}

.contact-secondary-links .link-icon img,
.contact-profile-links .link-icon img,
.contact-detail-item > a .link-icon img {
  max-width: 0.78rem;
  max-height: 0.78rem;
}

.clickable-card {
  display: grid;
  gap: 0.9rem;
  cursor: pointer;
  border-color: rgba(128, 184, 255, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.clickable-card:hover {
  border-color: rgba(89, 226, 188, 0.36);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(89, 226, 188, 0.08);
}

[data-theme="light"] .clickable-card:hover {
  border-color: rgba(2, 139, 112, 0.28);
  box-shadow: 0 22px 42px rgba(33, 54, 87, 0.1), 0 0 0 1px rgba(2, 139, 112, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(241, 247, 255, 0.84)),
    var(--panel);
}

.clickable-card-journey {
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

[data-theme="light"] .clickable-card-journey {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.84)),
    var(--panel);
}

.journey-preview-cta {
  border-color: rgba(89, 226, 188, 0.28);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 1.15rem;
  align-items: start;
}

.review-card {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border-color: rgba(128, 184, 255, 0.14);
}

.review-card-primary {
  align-self: start;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.review-card-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

[data-theme="light"] .review-card {
  border-color: rgba(10, 22, 38, 0.08);
  box-shadow: 0 16px 34px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .review-card-primary {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)),
    var(--panel);
}

[data-theme="light"] .review-card-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)),
    var(--panel);
}

.review-summary,
.review-caption {
  max-width: 54ch;
  margin: 0;
}

.review-card-primary > .contact-card-head,
.review-card-primary > .review-entry-panel,
.review-card-primary > .review-comments-callout {
  max-width: 100%;
}

.review-hero-score {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.review-hero-value {
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.review-stars {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.review-stars-base {
  color: rgba(128, 184, 255, 0.2);
}

.review-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffd86b;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.8rem;
}

.review-entry-panel {
  display: grid;
  gap: 0.88rem;
  padding: 0.92rem 0.96rem;
  border-radius: 18px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.review-entry-copy {
  display: grid;
  gap: 0.35rem;
}

.review-entry-copy strong {
  color: var(--text);
  font-size: 1.02rem;
}

.review-entry-kicker {
  display: inline-flex;
  width: max-content;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.08);
  color: #8fead4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-actions-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

.review-actions .btn {
  min-width: 0;
  width: 100%;
}

.review-add-btn,
.review-contact-btn {
  min-width: 0;
  justify-content: flex-start;
  gap: 0.68rem;
  min-height: 54px;
  padding: 0.82rem 0.92rem;
  font-size: 0.96rem;
  line-height: 1.2;
}

.review-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.review-contact-btn .review-action-icon {
  background: rgba(31, 111, 235, 0.16);
}

[data-theme="light"] .review-action-icon {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .review-contact-btn .review-action-icon {
  background: rgba(31, 111, 235, 0.12);
}

.review-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.review-metric-card,
.review-distribution-card,
.review-reach-card {
  display: grid;
  gap: 0.38rem;
  padding: 0.76rem 0.82rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.26s ease,
    box-shadow 0.26s ease,
    background 0.26s ease,
    opacity 0.5s ease;
}

.motion-review-summary .review-metric-card,
.motion-review-summary .review-distribution-card,
.motion-review-summary .review-reach-card {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
}

body.motion-ready .motion-review-summary.is-motion-visible .review-metric-card,
body.motion-ready .motion-review-summary.is-motion-visible .review-distribution-card,
body.motion-ready .motion-review-summary.is-motion-visible .review-reach-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.motion-ready .motion-review-summary.is-motion-visible .review-metric-card:nth-child(1),
body.motion-ready .motion-review-summary.is-motion-visible .review-distribution-card:nth-child(1),
body.motion-ready .motion-review-summary.is-motion-visible .review-reach-card:nth-child(1) {
  transition-delay: 0.06s;
}

body.motion-ready .motion-review-summary.is-motion-visible .review-metric-card:nth-child(2),
body.motion-ready .motion-review-summary.is-motion-visible .review-distribution-card:nth-child(2),
body.motion-ready .motion-review-summary.is-motion-visible .review-reach-card:nth-child(2) {
  transition-delay: 0.14s;
}

body.motion-ready .motion-review-summary.is-motion-visible .review-metric-card:nth-child(3),
body.motion-ready .motion-review-summary.is-motion-visible .review-distribution-card:nth-child(3),
body.motion-ready .motion-review-summary.is-motion-visible .review-reach-card:nth-child(3) {
  transition-delay: 0.22s;
}

.review-metric-value {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.review-reach-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.15rem;
}

.review-reach-flags[hidden] {
  display: none !important;
}

.review-reach-flag,
.review-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.review-reach-flag {
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.92);
  transition:
    opacity 0.38s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease;
}

.review-reach-flag.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.review-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
}

.review-section-head strong {
  color: var(--text);
  font-size: 0.94rem;
}

.review-section-head small {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
}

.review-section-head-stack {
  display: grid;
  gap: 0.3rem;
  align-items: start;
  justify-content: start;
}

.review-section-head-stack small {
  text-align: left;
}

.review-distribution-list {
  display: grid;
  gap: 0.36rem;
}

.review-distribution-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.44rem;
}

.review-distribution-label,
.review-distribution-count {
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
}

.review-distribution-bar {
  position: relative;
  display: block;
  block-size: 0.34rem;
  border-radius: 999px;
  background: rgba(128, 184, 255, 0.12);
  overflow: hidden;
}

.review-distribution-bar-fill {
  display: block;
  block-size: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(89, 226, 188, 0.86), rgba(128, 184, 255, 0.92));
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.review-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.96);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.26s ease,
    border-color 0.26s ease;
}

.review-country-chip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.review-country-flag {
  font-size: 0.95rem;
}

.review-featured-panel {
  display: grid;
  gap: 0.46rem;
  padding: 0.68rem 0.76rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.review-featured-panel[hidden] {
  display: none !important;
}

.review-featured-list {
  margin-top: 0;
}

.review-featured-panel .review-section-head {
  align-items: start;
}

.review-featured-panel .review-section-head strong {
  font-size: 0.98rem;
}

.review-featured-panel .review-section-head small {
  max-width: 28ch;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: none;
}

.review-featured-panel .feedback-public-review-list {
  margin-top: 0.04rem;
}

.review-featured-panel .feedback-public-review-card {
  grid-template-columns: 1fr;
  gap: 0.42rem;
  padding: 0.74rem 0;
  border: 0;
  border-bottom: 1px solid rgba(128, 184, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: start;
}

.review-featured-panel .feedback-public-review-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.review-featured-panel .feedback-public-review-head {
  grid-column: 1;
}

.review-featured-panel .feedback-public-review-profile {
  gap: 0.68rem;
}

.review-featured-panel .feedback-public-review-avatar {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
}

.review-featured-panel .feedback-public-review-topline {
  gap: 0.36rem 0.56rem;
}

.review-featured-panel .feedback-public-review-heading {
  gap: 0.36rem;
  max-width: none;
}

.review-featured-panel .feedback-public-review-name {
  font-size: 0.92rem;
}

.review-featured-panel .feedback-public-review-meta {
  font-size: 0.76rem;
}

.review-featured-panel .feedback-public-review-body {
  grid-column: 1;
  gap: 0.28rem;
  padding-top: 0;
  align-content: start;
}

.review-featured-panel .feedback-public-review-title {
  display: none;
}

.review-featured-panel .feedback-public-review-text {
  font-size: 0.86rem;
  line-height: 1.48;
}

.review-featured-panel .feedback-public-review-reply-shell {
  display: block;
  margin-top: 0.38rem;
}

.review-featured-panel .feedback-public-review-body.is-collapsed .feedback-public-review-text,
.review-featured-panel .feedback-public-review-reply.is-collapsed .feedback-public-review-reply-text {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-featured-panel .feedback-public-review-body.is-expanded .feedback-public-review-text,
.review-featured-panel .feedback-public-review-reply.is-expanded .feedback-public-review-reply-text {
  display: block;
  overflow: visible;
}

.review-featured-panel .feedback-public-review-toggle {
  margin-top: 0.08rem;
  padding-left: 0;
  padding-right: 0;
}

.end-hub-review-archive .review-comments-callout {
  padding: 0.8rem 0.88rem;
}

.end-hub-review-archive .review-comments-trigger {
  min-width: 156px;
}

.end-hub-review-archive .feedback-public-review-card {
  padding: 0.82rem;
}

@media (max-width: 1080px) {
  .review-featured-panel .feedback-public-review-card {
    grid-template-columns: 1fr;
  }

  .review-featured-panel .feedback-public-review-head,
  .review-featured-panel .feedback-public-review-body,
  .review-featured-panel .feedback-public-review-reply-shell {
    grid-column: 1;
  }
}

.review-comments-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.92rem 0.96rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.review-comments-trigger {
  flex: 0 0 auto;
  min-width: 176px;
}

.review-featured-panel .feedback-stats-empty,
.review-comments-panel .feedback-stats-empty {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 1rem;
  border: 1px dashed rgba(128, 184, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

[data-theme="light"] .review-featured-panel .feedback-stats-empty,
[data-theme="light"] .review-comments-panel .feedback-stats-empty {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .review-entry-panel {
  border-color: rgba(2, 139, 112, 0.14);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.92));
}

[data-theme="light"] .review-entry-kicker {
  border-color: rgba(2, 139, 112, 0.14);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .review-hero-score,
[data-theme="light"] .review-metric-card,
[data-theme="light"] .review-distribution-card,
[data-theme="light"] .review-reach-card,
[data-theme="light"] .review-featured-panel,
[data-theme="light"] .review-comments-callout {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .review-stars-base {
  color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .review-distribution-bar {
  background: rgba(31, 111, 235, 0.1);
}

[data-theme="light"] .review-country-chip {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
  color: #17324a;
}

[data-theme="light"] .review-reach-flag {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .review-comments-panel {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(33, 54, 87, 0.06);
}

[data-theme="light"] .review-comments-panel summary {
  color: #102031;
}

[data-theme="light"] .review-comments-panel summary::after {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
  color: #0d5d4d;
}

[data-theme="light"] .review-comments-panel summary:hover,
[data-theme="light"] .review-comments-panel[open] summary {
  background: rgba(31, 111, 235, 0.05);
}

.click-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.26);
  background: rgba(89, 226, 188, 0.08);
  color: var(--text);
  font-size: 0.8rem;
}

.journey-preview-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  align-items: start;
}

.click-hint-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 6px rgba(89, 226, 188, 0.12);
  animation: clickBeacon 1.7s ease-in-out infinite;
}

.click-arrow {
  font-size: 1rem;
  transform: translateX(0);
  transition: transform 0.24s ease;
}

.clickable-card:hover .click-arrow {
  transform: translateX(4px);
}

.case-card {
  color: inherit;
}

.case-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  margin-top: 0.88rem;
  width: max-content;
  padding: 0.66rem 0.92rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.16), rgba(89, 226, 188, 0.12));
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(89, 226, 188, 0.08);
}

.case-card:hover .card-cta {
  border-color: rgba(89, 226, 188, 0.38);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.24), rgba(89, 226, 188, 0.22));
  box-shadow: 0 16px 30px rgba(89, 226, 188, 0.16);
}

.project-card-cta {
  position: relative;
}

.project-card:hover .project-card-cta .fit-cta-hand {
  animation: fitHandTap 0.95s ease-in-out infinite;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(89, 226, 188, 0.38);
}

.project-card:hover .project-card-cta .fit-cta-cue {
  opacity: 1;
  transform: translateX(0);
}

[data-theme="light"] .project-card .card-cta {
  border-color: rgba(31, 111, 235, 0.14);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(2, 139, 112, 0.08));
  color: #17314c;
  box-shadow: 0 10px 22px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .project-card:hover .card-cta {
  border-color: rgba(2, 139, 112, 0.28);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.15), rgba(2, 139, 112, 0.14));
  box-shadow: 0 16px 28px rgba(33, 54, 87, 0.11);
}

[data-theme="light"] .project-card .fit-cta-hand {
  color: #0d8067;
  text-shadow: 0 0 10px rgba(2, 139, 112, 0.12);
}

[data-theme="light"] .project-card .fit-cta-cue {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
  color: #0f6a59;
}

.footer {
  position: relative;
  margin-top: 2.4rem;
  padding: 3.2rem 0 2.4rem;
  color: var(--text-muted);
  background:
    radial-gradient(circle at 18% 18%, rgba(92, 184, 159, 0.07), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(120, 204, 182, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(9, 22, 31, 0.98), rgba(10, 25, 34, 0.99));
  overflow: hidden;
}

.footer-top-wave {
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  background:
    radial-gradient(circle at 6% 0, transparent 55px, rgba(8, 18, 30, 0.98) 56px),
    radial-gradient(circle at 22% 0, transparent 72px, rgba(8, 18, 30, 0.98) 73px),
    radial-gradient(circle at 44% 0, transparent 64px, rgba(8, 18, 30, 0.98) 65px),
    radial-gradient(circle at 66% 0, transparent 70px, rgba(8, 18, 30, 0.98) 71px),
    radial-gradient(circle at 86% 0, transparent 62px, rgba(8, 18, 30, 0.98) 63px);
  transform: translateY(-100%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  display: grid;
  gap: 1.55rem;
}

.footer-hero {
  display: grid;
  gap: 0.48rem;
  max-width: 36rem;
}

.footer-kicker,
.footer-column-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-kicker {
  color: var(--brand-accent-soft);
}

.footer-hero h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--brand-accent-soft);
}

.footer-hero p {
  max-width: 50ch;
  margin: 0;
  color: var(--text-muted);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0.72rem 1.08rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: linear-gradient(135deg, rgba(89, 226, 188, 0.22), rgba(128, 184, 255, 0.18));
  color: #eefcff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(4, 11, 24, 0.2);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease,
    border-color 0.26s ease,
    background 0.26s ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(89, 226, 188, 0.3);
  box-shadow: 0 18px 34px rgba(4, 11, 24, 0.26);
}

.motion-footer-hero .footer-cta {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.97);
}

body.motion-ready .motion-footer-hero.is-motion-visible .footer-cta {
  animation: footerCtaWake 0.86s cubic-bezier(0.22, 1, 0.36, 1) both 0.12s;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 0.56rem;
  align-content: start;
}

.footer-column-title {
  color: var(--brand-accent-soft);
}

.footer-column a,
.footer-static,
.footer-links-bottom a {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.42;
}

.footer-column a:hover,
.footer-links-bottom a:hover,
.footer-column a:focus-visible,
.footer-links-bottom a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(128, 184, 255, 0.12);
}

.footer-meta {
  display: grid;
  gap: 0.28rem;
}

.footer-copy {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.footer-updated {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-links-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.62rem 0.85rem;
}

[data-theme="light"] .footer {
  background:
    radial-gradient(circle at 18% 18%, rgba(76, 157, 133, 0.05), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(103, 179, 157, 0.04), transparent 20%),
    linear-gradient(180deg, rgba(242, 247, 245, 0.98), rgba(231, 238, 234, 0.99));
}

[data-theme="light"] .footer-top-wave {
  background:
    radial-gradient(circle at 6% 0, transparent 55px, rgba(231, 238, 234, 0.99) 56px),
    radial-gradient(circle at 22% 0, transparent 72px, rgba(231, 238, 234, 0.99) 73px),
    radial-gradient(circle at 44% 0, transparent 64px, rgba(231, 238, 234, 0.99) 65px),
    radial-gradient(circle at 66% 0, transparent 70px, rgba(231, 238, 234, 0.99) 71px),
    radial-gradient(circle at 86% 0, transparent 62px, rgba(231, 238, 234, 0.99) 63px);
}

[data-theme="light"] .footer-copy,
[data-theme="light"] .footer-column a:hover,
[data-theme="light"] .footer-links-bottom a:hover,
[data-theme="light"] .footer-column a:focus-visible,
[data-theme="light"] .footer-links-bottom a:focus-visible {
  color: #16324a;
}


[data-theme="light"] .footer-hero h2 {
  color: var(--brand-accent-soft);
}

[data-theme="light"] .footer-column-title {
  color: var(--brand-accent-soft);
}

[data-theme="light"] .footer-column a,
[data-theme="light"] .footer-static,
[data-theme="light"] .footer-updated,
[data-theme="light"] .footer-links-bottom a,
[data-theme="light"] .footer-hero p {
  color: #53687f;
}

[data-theme="light"] .footer-cta {
  border-color: rgba(76, 157, 133, 0.22);
  background: linear-gradient(135deg, rgba(76, 157, 133, 0.22), rgba(103, 179, 157, 0.16));
  color: #17324a;
  box-shadow: 0 14px 28px rgba(45, 88, 74, 0.12);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(21, 44, 74, 0.12);
}

[data-theme="light"] .footer-column a,
[data-theme="light"] .footer-static,
[data-theme="light"] .footer-updated,
[data-theme="light"] .footer-links-bottom a,
[data-theme="light"] .footer-hero p {
  color: #5b7088;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(21, 44, 74, 0.1);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .footer {
    padding: 3.2rem 0 2.4rem;
  }

  .footer-top-wave {
    height: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .footer-links-bottom {
    justify-content: flex-start;
  }
}



.page-end-cta {
  margin-top: 1.35rem;
  padding: 1.25rem;
  border: 1px solid rgba(89, 226, 188, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.page-end-cta h3 {
  margin-bottom: 0.35rem;
}

.page-end-cta p {
  max-width: 60ch;
  margin-bottom: 1rem;
}

[data-theme="light"] .page-end-cta {
  border-color: rgba(25, 120, 98, 0.1);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.footer-meta {
  display: grid;
  gap: 0.28rem;
  align-items: start;
}

.footer-copy {
  color: var(--text);
  font-weight: 600;
}

.footer-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

[data-theme="light"] .footer-copy {
  color: #17324a;
}

.footer-declaration {
  position: relative;
  margin: 0;
}

.footer-declaration-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.22s ease;
}

.footer-declaration-trigger:hover,
.footer-declaration:focus-within .footer-declaration-trigger {
  color: var(--text);
}

.footer-declaration-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.footer-declaration-label {
  display: inline-block;
}

.footer-declaration-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.6rem);
  width: min(34rem, calc(100vw - 2rem));
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 0.98rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 28, 42, 0.96), rgba(11, 20, 31, 0.94)),
    rgba(10, 18, 28, 0.94);
  box-shadow: 0 22px 42px rgba(5, 12, 24, 0.24);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.footer-declaration:hover .footer-declaration-panel,
.footer-declaration:focus-within .footer-declaration-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-declaration-panel strong {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-declaration-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.64;
}

[data-theme="light"] .footer-declaration-trigger {
  color: #5a6f88;
}

[data-theme="light"] .footer-declaration-trigger:hover,
[data-theme="light"] .footer-declaration:focus-within .footer-declaration-trigger {
  color: #17324a;
}

[data-theme="light"] .footer-declaration-icon {
  border-color: rgba(21, 44, 74, 0.1);
  color: #49627f;
}

[data-theme="light"] .footer-declaration-panel {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 34px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .footer-declaration-panel p {
  color: #536a84;
}

.journey-hero h1 {
  max-width: 11ch;
}

.journey-route {
  grid-template-columns: 0.9fr 1.1fr;
}

.route-card {
  padding: 1.5rem;
}

.route-line {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(103, 220, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.motion-route::after {
  content: "";
  position: absolute;
  inset: 20% 12%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0), rgba(128, 184, 255, 0.24), rgba(89, 226, 188, 0.3), rgba(255, 194, 104, 0.18), rgba(128, 184, 255, 0));
  filter: blur(6px);
  opacity: 0;
  transform: translateX(-140%);
  pointer-events: none;
}

body.motion-ready .motion-route.is-motion-visible::after {
  animation: motionRailSweep 1.9s cubic-bezier(0.22, 1, 0.36, 1) both 0.16s;
}

.route-line::before {
  content: "";
  position: absolute;
  inset: 20% 12%;
  border-radius: 999px;
  border: 1px dashed rgba(128, 184, 255, 0.35);
}

.route-points {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 250px;
  padding: 2rem;
}

.route-node {
  width: min(220px, 100%);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

body.motion-pending .motion-route .route-node,
body.motion-ready .motion-route:not(.is-motion-visible) .route-node {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.97);
  filter: blur(8px);
}

body.motion-ready .motion-route.is-motion-visible .route-node {
  animation: motionNodeReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--motion-index, 0) * 120ms + 0.14s);
}

.route-node:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 226, 188, 0.26);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.route-node strong {
  display: block;
  margin: 0.8rem 0 0.2rem;
  font-size: 1.2rem;
}

.route-flag {
  width: 2rem;
  height: 1.42rem;
  margin: 0.65rem auto 0;
  border-radius: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.route-dot {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 12px rgba(128, 184, 255, 0.12);
}

.route-node.destination .route-dot {
  background: var(--accent-strong);
  box-shadow: 0 0 0 12px rgba(89, 226, 188, 0.12);
}

.route-globe {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 270px;
}

.route-map-frame {
  position: relative;
  width: 280px;
  height: 280px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background:
    radial-gradient(circle at 50% 42%, rgba(176, 230, 248, 0.18), transparent 22%),
    radial-gradient(circle at 24% 24%, rgba(128, 184, 255, 0.12), transparent 20%),
    radial-gradient(circle at 76% 74%, rgba(89, 226, 188, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(10, 19, 31, 0.64);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 22px 44px rgba(0, 0, 0, 0.22),
    0 0 0 10px rgba(128, 184, 255, 0.03);
  overflow: hidden;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease,
    border-color 0.34s ease;
}

.route-map-frame::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.route-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.route-map-halo {
  fill: rgba(118, 201, 229, 0.08);
  filter: blur(14px);
}

.route-map-shell {
  fill: rgba(12, 24, 38, 0.28);
  stroke: rgba(128, 184, 255, 0.24);
  stroke-width: 1.2;
}

.route-map-inner-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.route-map-grid-line {
  fill: none;
  stroke: rgba(128, 184, 255, 0.18);
  stroke-width: 1;
}

.route-map-grid-line-vertical {
  stroke: rgba(89, 226, 188, 0.16);
}

.route-map-land {
  stroke-width: 1;
}

.route-map-land-india {
  fill: rgba(128, 184, 255, 0.28);
  stroke: rgba(128, 184, 255, 0.34);
}

.route-map-land-germany {
  fill: rgba(89, 226, 188, 0.3);
  stroke: rgba(89, 226, 188, 0.38);
}

.route-map-route-shadow {
  fill: none;
  stroke: rgba(255, 194, 104, 0.18);
  stroke-width: 8;
  stroke-linecap: round;
}

.route-map-route {
  fill: none;
  stroke: url(#route-map-line);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 8 7 170;
  animation: routePulseDash 12s linear infinite;
}

.route-map-node {
  stroke: rgba(10, 20, 34, 0.6);
  stroke-width: 2;
}

.route-map-node-origin {
  fill: #7bb6ff;
}

.route-map-node-destination {
  fill: #58e2bc;
}

.route-map-flag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.36rem;
  border-radius: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.route-map-flag-india {
  left: 118px;
  top: 177px;
}

.route-map-flag-germany {
  left: 205px;
  top: 100px;
}

.route-map-label {
  position: absolute;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(7, 17, 31, 0.55);
}

.route-map-label-india {
  left: 56px;
  bottom: 82px;
}

.route-map-label-germany {
  right: 52px;
  top: 78px;
}

.route-map-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 104, 0.22);
  background: rgba(12, 22, 39, 0.72);
  color: rgba(255, 219, 166, 0.9);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.motion-route-map .route-map-grid-line,
.motion-route-map .route-map-land,
.motion-route-map .route-map-node,
.motion-route-map .route-map-flag,
.motion-route-map .route-map-label,
.motion-route-map .route-map-caption {
  opacity: 0;
}

.motion-route-map .route-map-grid-line,
.motion-route-map .route-map-land {
  transform-origin: center;
  transform: scale(0.98);
}

.motion-route-map .route-map-node,
.motion-route-map .route-map-flag,
.motion-route-map .route-map-label,
.motion-route-map .route-map-caption {
  transform: translate3d(0, 12px, 0) scale(0.95);
}

.motion-route-map .route-map-caption {
  transform: translateX(-50%) translateY(12px) scale(0.95);
}

.motion-route-map .route-map-route,
.motion-route-map .route-map-route-shadow {
  opacity: 0.12;
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
}

body.motion-ready .motion-route-map.is-motion-visible {
  transform: translate3d(0, 0, 0);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 26px 48px rgba(0, 0, 0, 0.24),
    0 0 0 12px rgba(128, 184, 255, 0.04);
}

body.motion-ready .motion-route-map.is-motion-visible .route-map-halo {
  animation: routeMapHaloPulse 4.4s ease-in-out infinite;
}

body.motion-ready .motion-route-map.is-motion-visible .route-map-grid-line,
body.motion-ready .motion-route-map.is-motion-visible .route-map-land {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.46s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--motion-index, 0) * 40ms + 0.08s);
}

body.motion-ready .motion-route-map.is-motion-visible .route-map-route-shadow,
body.motion-ready .motion-route-map.is-motion-visible .route-map-route {
  opacity: 1;
  animation: routeMapTrace 1.6s cubic-bezier(0.22, 1, 0.36, 1) both 0.18s, routePulseDash 12s linear infinite 1.8s;
}

body.motion-ready .motion-route-map.is-motion-visible .route-map-node,
body.motion-ready .motion-route-map.is-motion-visible .route-map-flag,
body.motion-ready .motion-route-map.is-motion-visible .route-map-label,
body.motion-ready .motion-route-map.is-motion-visible .route-map-caption {
  animation: routeMapFlagLift 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--motion-index, 0) * 60ms + 0.42s);
}

body.motion-ready .motion-route-map.is-motion-visible .route-map-caption {
  animation: none;
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--motion-index, 0) * 60ms + 0.42s);
}

[data-theme="light"] .route-map-frame {
  border-color: rgba(10, 22, 38, 0.1);
  background:
    radial-gradient(circle at 50% 42%, rgba(176, 230, 248, 0.22), transparent 22%),
    radial-gradient(circle at 24% 24%, rgba(31, 111, 235, 0.08), transparent 20%),
    radial-gradient(circle at 76% 74%, rgba(2, 139, 112, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 18px 38px rgba(33, 54, 87, 0.09);
}

[data-theme="light"] .route-map-frame::before {
  border-color: rgba(10, 22, 38, 0.06);
}

[data-theme="light"] .route-map-shell {
  fill: rgba(255, 255, 255, 0.24);
  stroke: rgba(31, 111, 235, 0.18);
}

[data-theme="light"] .route-map-inner-ring {
  stroke: rgba(10, 22, 38, 0.06);
}

[data-theme="light"] .route-map-grid-line {
  stroke: rgba(31, 111, 235, 0.14);
}

[data-theme="light"] .route-map-grid-line-vertical {
  stroke: rgba(2, 139, 112, 0.14);
}

[data-theme="light"] .route-map-label {
  text-shadow: none;
}

[data-theme="light"] .route-map-flag {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 18px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .route-map-caption {
  background: rgba(255, 255, 255, 0.88);
  color: #7f5720;
}

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

.milestone-card {
  padding: 1.35rem;
}

.travel-grid {
  gap: 1.2rem;
}

.travel-card {
  padding: 1.35rem;
}

.travel-flag {
  width: 2.35rem;
  height: 1.7rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.cta-panel {
  display: grid;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}

body.detail-page.feedback-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(128, 184, 255, 0.06), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(89, 226, 188, 0.05), transparent 20%),
    linear-gradient(180deg, #0f1824 0%, #131d2a 52%, #18222f 100%);
  background-attachment: fixed, fixed, fixed;
}

[data-theme="light"] body.detail-page.feedback-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 111, 235, 0.035), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(2, 139, 112, 0.03), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fafbfd 48%, #f4f6f9 100%);
  background-attachment: fixed, fixed, fixed;
}

body.detail-page.feedback-page[data-feedback-mode="feedback"] {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.8), rgba(10, 20, 34, 0.84)),
    radial-gradient(circle at 12% 16%, rgba(128, 184, 255, 0.08), transparent 24%),
    url("assets/images/feedbackform%20background.jpg") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

[data-theme="light"] body.detail-page.feedback-page[data-feedback-mode="feedback"] {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.82), rgba(238, 244, 250, 0.86)),
    radial-gradient(circle at 16% 14%, rgba(31, 111, 235, 0.05), transparent 24%),
    url("assets/images/feedbackform%20background.jpg") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

body.detail-page.feedback-page[data-feedback-mode="contact"] {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.82), rgba(9, 19, 32, 0.86)),
    radial-gradient(circle at 84% 18%, rgba(89, 226, 188, 0.07), transparent 22%),
    url("assets/images/contact%20me%20form.png") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

[data-theme="light"] body.detail-page.feedback-page[data-feedback-mode="contact"] {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.84), rgba(240, 245, 251, 0.88)),
    radial-gradient(circle at 82% 18%, rgba(2, 139, 112, 0.05), transparent 22%),
    url("assets/images/contact%20me%20form.png") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

body.detail-page.feedback-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.16), rgba(7, 17, 31, 0.04)),
    radial-gradient(circle at 18% 0, rgba(128, 184, 255, 0.05), transparent 22%);
}

[data-theme="light"] body.detail-page.feedback-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 18% 0, rgba(31, 111, 235, 0.03), transparent 22%);
}

body.detail-page.feedback-page .shine-card::after {
  display: none;
}

[data-theme="light"] body.detail-page.feedback-page .card,
[data-theme="light"] body.detail-page.feedback-page .surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
}

.feedback-hero {
  padding-bottom: 1rem;
}

.feedback-hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(12, 23, 37, 0.86), rgba(10, 19, 31, 0.82)),
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 24%),
    radial-gradient(circle at left center, rgba(128, 184, 255, 0.06), transparent 28%);
  border-color: rgba(128, 184, 255, 0.14);
  box-shadow:
    0 30px 60px rgba(3, 8, 16, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.detail-page.feedback-page main[data-mode="feedback"] .feedback-hero-panel {
  background:
    linear-gradient(180deg, rgba(10, 19, 31, 0.84), rgba(8, 16, 27, 0.82)),
    radial-gradient(circle at 16% 22%, rgba(128, 184, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(89, 226, 188, 0.08), transparent 20%);
}

body.detail-page.feedback-page main[data-mode="contact"] .feedback-hero-panel {
  background:
    linear-gradient(108deg, rgba(8, 14, 23, 0.88) 0%, rgba(10, 18, 28, 0.8) 46%, rgba(10, 18, 28, 0.72) 100%),
    radial-gradient(circle at 18% 18%, rgba(120, 177, 255, 0.11), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(255, 194, 104, 0.08), transparent 22%);
}

.feedback-hero-copy,
.feedback-side-card,
.feedback-form-card {
  display: grid;
  gap: 1rem;
}

.feedback-hero-copy {
  max-width: 64rem;
}

.feedback-hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.25rem, 8vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.feedback-hero-copy .lead {
  max-width: 56rem;
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.feedback-entry-panel {
  display: grid;
  gap: 1rem;
  max-width: 60rem;
  padding: 0.42rem;
  border-radius: 28px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(10, 20, 32, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(5, 15, 27, 0.14);
}

.feedback-entry-note {
  display: grid;
  gap: 0.32rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
}

.feedback-entry-note strong {
  color: var(--text);
  font-size: 0.92rem;
}

.feedback-entry-note span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.feedback-entry-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.feedback-entry-button {
  position: relative;
  display: grid;
  gap: 0.42rem;
  min-height: 104px;
  padding: 1rem 1.08rem;
  border-radius: 22px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(17, 29, 43, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 22px rgba(5, 15, 27, 0.14);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  overflow: hidden;
  cursor: pointer;
}

.feedback-entry-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-38%);
  transition: opacity 0.28s ease, transform 0.52s ease;
  pointer-events: none;
}

.feedback-entry-button:hover,
.feedback-entry-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(148, 205, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(22, 36, 52, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 28px rgba(5, 15, 27, 0.18);
}

.feedback-entry-button:hover::after,
.feedback-entry-button:focus-visible::after {
  opacity: 1;
  transform: translateX(12%);
}

.feedback-entry-button.is-active {
  border-color: rgba(104, 223, 192, 0.34);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
    rgba(22, 38, 54, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(5, 15, 27, 0.2);
}

.feedback-entry-button-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feedback-entry-button-label::after {
  content: "→";
  color: var(--accent);
  font-size: 0.96rem;
  line-height: 1;
  transition: transform 0.22s ease;
}

.feedback-entry-button:hover .feedback-entry-button-label::after,
.feedback-entry-button:focus-visible .feedback-entry-button-label::after,
.feedback-entry-button.is-active .feedback-entry-button-label::after {
  transform: translateX(2px);
}

.feedback-entry-button small {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feedback-entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.feedback-side-card {
  align-content: start;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 1.4rem;
  align-items: start;
}

.feedback-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.feedback-form-card[data-entry-mode="direct"] > .feedback-card-head {
  display: none;
}

.feedback-side-stack {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.feedback-postform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.25rem;
}

.feedback-postform-wide {
  grid-column: 1 / -1;
}

.feedback-process-card {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.feedback-card-head {
  display: grid;
  gap: 0.35rem;
}

.feedback-side-card-compact {
  gap: 0.75rem;
  padding: 1rem 1.05rem;
}

.feedback-side-card-compact .feedback-card-head {
  gap: 0.18rem;
}

.feedback-side-card-compact .feedback-card-head h2 {
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feedback-side-card-compact .feedback-card-head p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.feedback-inline-list {
  display: grid;
  gap: 0.78rem;
}

.feedback-inline-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  padding: 0.88rem 0.94rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.feedback-inline-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(89, 226, 188, 0.12);
  border: 1px solid rgba(89, 226, 188, 0.22);
  color: #7af0cf;
  font-size: 0.82rem;
  font-weight: 800;
}

.feedback-inline-list span {
  color: var(--text-soft);
  line-height: 1.65;
}

.feedback-process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.feedback-process-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.82rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.feedback-process-item strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(89, 226, 188, 0.12);
  border: 1px solid rgba(89, 226, 188, 0.22);
  color: #7af0cf;
  font-size: 0.84rem;
  font-weight: 800;
}

.feedback-process-item h3 {
  margin: 0 0 0.24rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.feedback-process-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feedback-form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.2rem 0 0.1rem;
}

.feedback-form-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.feedback-form-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(128, 184, 255, 0.28);
  background: rgba(128, 184, 255, 0.1);
}

.feedback-form-nav[hidden],
.feedback-form-nav a[hidden],
.feedback-form-flow[hidden],
.feedback-form-section[hidden],
.feedback-field[hidden],
.feedback-required-star[hidden] {
  display: none !important;
}

.feedback-note {
  display: grid;
  gap: 0.34rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(89, 226, 188, 0.16);
  background:
    radial-gradient(circle at right top, rgba(89, 226, 188, 0.08), transparent 28%),
    rgba(245, 249, 255, 0.06);
}

.feedback-note strong {
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.feedback-note span {
  color: var(--text-muted);
}

.feedback-review-visibility-panel {
  display: grid;
  gap: 0.9rem;
}

.feedback-review-visibility-intro {
  display: grid;
  gap: 0.24rem;
}

.feedback-review-visibility-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.feedback-review-visibility-intro strong {
  color: var(--text);
  font-size: 0.96rem;
}

.feedback-required-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 93, 106, 0.24);
  background: rgba(227, 93, 106, 0.1);
  color: #f2b4bb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-review-visibility-intro small {
  color: var(--text-soft);
  line-height: 1.6;
}

.feedback-review-visibility-options {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
}

.feedback-review-option {
  position: relative;
  display: block;
}

.feedback-review-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feedback-review-option-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  min-height: 3.2rem;
  padding: 0.82rem 1.45rem 0.82rem 2.6rem;
  border-radius: 14px;
  border: 1px solid rgba(128, 184, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(14, 27, 42, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(6, 16, 29, 0.22);
  transition:
    transform 0.18s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
  cursor: pointer;
  user-select: none;
}

.feedback-review-option-check {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 900;
  transform: translateY(-50%);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.feedback-review-option-card strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.feedback-review-option:hover .feedback-review-option-card {
  border-color: rgba(128, 184, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(18, 34, 52, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 26px rgba(6, 16, 29, 0.28);
  transform: translateY(-1px);
}

.feedback-review-option input:focus-visible + .feedback-review-option-card {
  outline: 0;
  border-color: rgba(89, 226, 188, 0.52);
  box-shadow:
    0 0 0 3px rgba(89, 226, 188, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 26px rgba(6, 16, 29, 0.28);
}

.feedback-review-option input:checked + .feedback-review-option-card {
  border-color: #2f8f59;
  background:
    linear-gradient(180deg, #35a765, #277e4d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(25, 88, 54, 0.26);
  transform: translateY(-1px);
}

.feedback-review-option input:checked + .feedback-review-option-card strong {
  color: #f5fff7;
}

.feedback-review-option input:checked + .feedback-review-option-card .feedback-review-option-check {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.18);
  color: #f5fff7;
  transform: translateY(-50%) scale(1.05);
}

.feedback-review-option input:active + .feedback-review-option-card,
.feedback-review-option:active .feedback-review-option-card {
  transform: translateY(0);
}

.feedback-review-option input:disabled + .feedback-review-option-card {
  opacity: 0.72;
}

.feedback-review-visibility-note {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

.feedback-review-visibility-note strong {
  color: var(--text);
  font-size: 0.95rem;
}

.feedback-review-visibility-note p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.feedback-review-visibility-panel.is-invalid {
  padding: 0.95rem 1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 120, 120, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.14), 0 18px 32px rgba(8, 16, 28, 0.18);
  background: rgba(255, 120, 120, 0.05);
}

.feedback-public-review-panel {
  display: grid;
  gap: 0.9rem;
}

.feedback-page main[data-entry-mode="direct"] .feedback-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.85rem, 7vw, 4.85rem);
}

.feedback-public-review-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.95rem;
}

.feedback-public-review-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.12rem 1.15rem 1.18rem;
  border-radius: 20px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(5, 15, 27, 0.12);
}

.feedback-public-review-card.is-pinned {
  border-color: rgba(89, 226, 188, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(89, 226, 188, 0.08),
    0 18px 32px rgba(5, 15, 27, 0.14);
}

.feedback-public-review-head {
  display: block;
}

.feedback-public-review-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.feedback-public-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background:
    linear-gradient(135deg, rgba(99, 220, 194, 0.18), rgba(127, 183, 255, 0.14)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.feedback-public-review-identity {
  display: grid;
  gap: 0.28rem;
}

.feedback-public-review-heading {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.feedback-public-review-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem 0.9rem;
}

.feedback-public-review-name {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.2;
}

.feedback-public-review-pin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.1);
  color: #8fead4;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feedback-public-review-meta {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.feedback-public-review-rating {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.34rem 0.76rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.1);
  color: #7af0cf;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.feedback-public-review-body {
  display: grid;
  gap: 0.45rem;
}

.feedback-public-review-title {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.feedback-public-review-text {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-line;
}

.feedback-public-review-reply-shell {
  padding-top: 0.08rem;
}

.feedback-public-review-reply {
  display: grid;
  gap: 0.72rem;
  padding: 1rem 1rem 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    linear-gradient(180deg, rgba(89, 226, 188, 0.08), rgba(128, 184, 255, 0.03)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 4px 0 0 rgba(89, 226, 188, 0.24);
}

.feedback-public-review-reply-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.feedback-public-review-reply-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.feedback-public-review-reply-mark {
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.32rem;
  border-radius: 999px;
  background: #7af0cf;
  box-shadow: 0 0 0 6px rgba(89, 226, 188, 0.12);
  flex: 0 0 auto;
}

.feedback-public-review-reply-copy {
  display: grid;
  gap: 0.16rem;
}

.feedback-public-review-reply-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.feedback-public-review-reply-owner {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
}

.feedback-public-review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.1);
  color: #8fead4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feedback-public-review-reply-label {
  color: #8fead4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-public-review-reply-text {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  white-space: pre-line;
}

.feedback-public-review-reply-date {
  color: var(--text-soft);
  font-size: 0.74rem;
}

.feedback-public-review-body.is-collapsed .feedback-public-review-text,
.feedback-public-review-reply.is-collapsed .feedback-public-review-reply-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feedback-public-review-body.is-collapsed .feedback-public-review-text {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.feedback-public-review-reply.is-collapsed .feedback-public-review-reply-text {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.feedback-public-review-body.is-expanded .feedback-public-review-text,
.feedback-public-review-reply.is-expanded .feedback-public-review-reply-text {
  display: block;
  overflow: visible;
}

.feedback-public-review-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-top: 0.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

.feedback-public-review-toggle::after {
  content: "→";
  font-size: 0.88rem;
}

.feedback-public-review-toggle[aria-expanded="true"]::after {
  content: "←";
}

.feedback-public-review-toggle-reply {
  color: var(--accent-strong);
}

[data-theme="light"] .feedback-public-review-toggle {
  color: #1f6feb;
}

[data-theme="light"] .feedback-public-review-toggle-reply {
  color: #0f8d6e;
}

.feedback-public-review-admin-form {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.1rem;
  border-top: 1px solid rgba(128, 184, 255, 0.12);
}

.feedback-public-review-admin-head {
  display: grid;
  gap: 0.36rem;
}

.feedback-public-review-admin-kicker {
  color: #8fead4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-public-review-admin-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.62;
}

.feedback-public-review-admin-field {
  display: grid;
  gap: 0.42rem;
}

.feedback-public-review-admin-field span {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.feedback-public-review-admin-field textarea {
  min-height: 92px;
  resize: vertical;
}

.feedback-public-review-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feedback-public-review-delete {
  border-color: rgba(255, 120, 120, 0.28);
  color: #ffb0b0;
}

.feedback-public-review-delete:hover,
.feedback-public-review-delete:focus-visible {
  border-color: rgba(255, 120, 120, 0.42);
  background: rgba(255, 120, 120, 0.08);
}

.feedback-public-review-pin {
  border-color: rgba(89, 226, 188, 0.24);
  color: #8fead4;
}

.feedback-public-review-pin:hover,
.feedback-public-review-pin:focus-visible,
.feedback-public-review-pin.is-active {
  border-color: rgba(89, 226, 188, 0.36);
  background: rgba(89, 226, 188, 0.1);
}

.review-comments-panel {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.review-comments-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 48px;
  padding: 0.9rem 0.98rem;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.review-comments-panel summary::-webkit-details-marker {
  display: none;
}

.review-comments-panel summary::after {
  content: "↓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.08);
  color: #7af0cf;
  font-size: 1rem;
  font-weight: 800;
}

.review-comments-panel summary:hover {
  background: rgba(128, 184, 255, 0.05);
}

.review-comments-panel[open] summary {
  border-bottom: 1px solid rgba(128, 184, 255, 0.12);
  background: rgba(128, 184, 255, 0.04);
}

.review-comments-panel[open] summary::after {
  content: "↑";
}

.review-comments-panel .feedback-public-review-list {
  margin-top: 0;
  padding: 0 1.05rem 1rem;
}

.feedback-form {
  display: grid;
  gap: 1.15rem;
}

.feedback-form-flow {
  display: grid;
  gap: 1.15rem;
}

.feedback-form-section {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(128, 184, 255, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.feedback-type-section {
  position: relative;
  border-color: rgba(128, 184, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(14, 28, 42, 0.95), rgba(10, 22, 35, 0.9));
  box-shadow: 0 16px 30px rgba(4, 13, 24, 0.18);
}

.feedback-step-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.26);
  background: rgba(89, 226, 188, 0.12);
  color: #7af0cf;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-section-head {
  display: grid;
  gap: 0.28rem;
}

.feedback-section-head h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feedback-type-summary {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
}

.feedback-type-note {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
}

.feedback-type-note strong {
  color: var(--text);
  font-size: 0.92rem;
}

.feedback-type-note span {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

.feedback-mode-button-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feedback-type-section-simple {
  padding-top: 0.6rem;
}

.feedback-mode-button {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.3rem;
  min-height: 108px;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(17, 29, 43, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 26px rgba(5, 15, 27, 0.18);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.feedback-mode-button::before {
  content: "";
  position: absolute;
  inset: auto 1rem 0.9rem auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.18s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.feedback-mode-button::after {
  content: "\2192";
  position: absolute;
  right: 1.68rem;
  bottom: 1.38rem;
  z-index: 1;
  color: rgba(238, 246, 255, 0.86);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, color 0.22s ease;
}

.feedback-mode-button:hover,
.feedback-mode-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(20, 34, 49, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(5, 15, 27, 0.22);
}

.feedback-mode-button:hover::before,
.feedback-mode-button:focus-visible::before {
  border-color: rgba(89, 226, 188, 0.26);
  background: rgba(89, 226, 188, 0.12);
  box-shadow: 0 0 0 6px rgba(89, 226, 188, 0.08);
}

.feedback-mode-button:hover::after,
.feedback-mode-button:focus-visible::after {
  transform: translateX(3px);
  color: #f6fffb;
}

.feedback-mode-button:active {
  transform: translateY(0) scale(0.988);
}

.feedback-mode-button:active::before {
  transform: scale(0.94);
}

.feedback-mode-button:active::after {
  transform: translateX(1px);
}

.feedback-mode-button-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feedback-mode-button small {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: calc(100% - 3.1rem);
}

.feedback-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feedback-type-actions,
.feedback-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.feedback-type-actions .btn {
  width: fit-content;
}

.feedback-mode-option {
  position: relative;
  display: block;
}

.feedback-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feedback-mode-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.15rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(128, 184, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 22, 34, 0.56);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  cursor: pointer;
}

.feedback-mode-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.feedback-mode-card strong {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.feedback-mode-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.2);
  background: rgba(128, 184, 255, 0.1);
  color: #9bc7ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-mode-card small {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feedback-mode-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 34px;
  margin-top: 0.2rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.2);
  background: rgba(89, 226, 188, 0.08);
  color: #7cead0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feedback-mode-card-cta span {
  display: inline-flex;
  transform: translateX(0);
  transition: transform 0.22s ease;
}

.feedback-mode-option:hover .feedback-mode-card {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.3);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 36%),
    rgba(18, 34, 46, 0.92);
  box-shadow: 0 18px 32px rgba(5, 12, 24, 0.16);
}

.feedback-mode-option:hover .feedback-mode-card .feedback-mode-card-cta span,
.feedback-mode-option input:checked + .feedback-mode-card .feedback-mode-card-cta span {
  transform: translateX(4px);
}

.feedback-mode-option input:checked + .feedback-mode-card {
  border-color: rgba(89, 226, 188, 0.36);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 31, 42, 0.94), rgba(10, 24, 38, 0.92));
  box-shadow: 0 18px 34px rgba(5, 12, 24, 0.18);
}

.feedback-mode-option input:checked + .feedback-mode-card .feedback-mode-card-badge {
  border-color: rgba(89, 226, 188, 0.3);
  background: rgba(89, 226, 188, 0.16);
  color: #7af0cf;
}

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

.feedback-field {
  display: grid;
  gap: 0.45rem;
}

.feedback-field.is-invalid > span,
.feedback-consent.is-invalid .feedback-consent-copy {
  color: #f2b4bb;
}

.feedback-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.feedback-required {
  color: var(--text-soft);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-required-star {
  color: #e35d6a;
  font-weight: 800;
}

.feedback-required-star-conditional {
  display: none;
}

.feedback-field > span,
.feedback-rating-group legend {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.feedback-field input,
.feedback-field textarea,
.feedback-field select {
  width: 100%;
  padding: 0.92rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(8, 18, 30, 0.44);
  color: var(--text);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.feedback-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
  color: var(--text-soft);
}

.feedback-hint {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.feedback-field input:focus,
.feedback-field textarea:focus,
.feedback-field select:focus {
  border-color: rgba(128, 184, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(128, 184, 255, 0.12);
  background: rgba(10, 23, 38, 0.58);
}

.feedback-field.is-invalid input,
.feedback-field.is-invalid textarea,
.feedback-field.is-invalid select {
  border-color: rgba(227, 93, 106, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(227, 93, 106, 0.16) !important;
  background: rgba(61, 16, 23, 0.22) !important;
}

.feedback-field input[aria-invalid="true"],
.feedback-field textarea[aria-invalid="true"],
.feedback-field select[aria-invalid="true"],
.feedback-field input[aria-invalid="true"]:focus,
.feedback-field textarea[aria-invalid="true"]:focus,
.feedback-field select[aria-invalid="true"]:focus {
  border-color: rgba(227, 93, 106, 0.82) !important;
  box-shadow: 0 0 0 4px rgba(227, 93, 106, 0.18) !important;
  background: rgba(61, 16, 23, 0.24) !important;
}

.feedback-validation-message {
  display: block;
  color: #f18793;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.feedback-field-full {
  grid-column: 1 / -1;
}

.feedback-rating-group {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(128, 184, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  line-height: 1.5;
}

.feedback-consent.is-invalid {
  border-color: rgba(227, 93, 106, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(227, 93, 106, 0.12) !important;
  background: rgba(61, 16, 23, 0.18) !important;
}

.feedback-consent input {
  margin-top: 0.2rem;
  inline-size: 1rem;
  block-size: 1rem;
  accent-color: #2d79ea;
}

.feedback-consent-marker {
  margin-top: 0.08rem;
  font-size: 1rem;
  line-height: 1;
}

.feedback-consent-copy {
  display: block;
  flex: 1 1 0%;
}

.feedback-consent .feedback-validation-message {
  width: 100%;
  margin-left: calc(1rem + 0.8rem + 1rem + 0.8rem);
}

.feedback-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feedback-rating label {
  position: relative;
}

.feedback-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feedback-rating span {
  display: inline-grid;
  justify-items: center;
  gap: 0.28rem;
  min-width: 4.2rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.feedback-rating strong {
  color: #f3c15d;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.feedback-rating em {
  color: var(--text);
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1;
}

.feedback-rating label:hover span,
.feedback-rating input:checked + span {
  border-color: rgba(128, 184, 255, 0.34);
  background: rgba(128, 184, 255, 0.14);
  box-shadow: 0 12px 24px rgba(5, 12, 24, 0.14);
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.25rem;
}

.feedback-form-status {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(227, 93, 106, 0.24);
  background: rgba(61, 16, 23, 0.2);
  color: #f4c0c6;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.feedback-form-status[hidden] {
  display: none !important;
}

.feedback-form-status[data-state="success"] {
  border-color: rgba(89, 226, 188, 0.24);
  background: rgba(15, 55, 46, 0.22);
  color: #a8efd9;
}

.feedback-actions .btn[aria-busy="true"] {
  opacity: 0.78;
  pointer-events: none;
}

.feedback-form-footer {
  padding: 0.2rem 0 0;
  border-top: 1px solid rgba(128, 184, 255, 0.12);
}

.feedback-form-footer p {
  margin: 0;
}

.feedback-info-points {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.feedback-info-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.feedback-info-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.92), rgba(89, 226, 188, 0.92));
  box-shadow: 0 0 0 5px rgba(89, 226, 188, 0.08);
}

.feedback-points,
.feedback-privacy-list {
  display: grid;
  gap: 0.85rem;
}

.feedback-conditions {
  display: grid;
  gap: 1rem;
  padding: 0.15rem 0 0;
}

.feedback-conditions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 20, 32, 0.42);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.feedback-conditions-compact {
  gap: 0.7rem;
  padding-top: 0;
}

.feedback-conditions-compact summary {
  min-height: 0;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
}

.feedback-disclosure-copy {
  display: grid;
  gap: 0.2rem;
}

.feedback-disclosure-copy strong {
  color: var(--text);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.feedback-disclosure-copy small {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.feedback-conditions summary::-webkit-details-marker {
  display: none;
}

.feedback-conditions summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.08);
  color: #7cead0;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(89, 226, 188, 0.18);
}

.feedback-conditions-compact summary::after {
  inline-size: 1.75rem;
  block-size: 1.75rem;
  font-size: 0.95rem;
}

.feedback-conditions summary:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 226, 188, 0.28);
  background:
    radial-gradient(circle at right center, rgba(89, 226, 188, 0.14), transparent 28%),
    rgba(89, 226, 188, 0.08);
  box-shadow: 0 14px 26px rgba(5, 12, 24, 0.14);
}

.feedback-conditions[open] summary {
  border-color: rgba(89, 226, 188, 0.3);
  background:
    radial-gradient(circle at right center, rgba(89, 226, 188, 0.16), transparent 28%),
    rgba(89, 226, 188, 0.1);
}

.feedback-conditions[open] summary::after {
  content: "-";
}

.feedback-conditions .feedback-privacy-list {
  padding-top: 0.2rem;
}

.feedback-stats-panel {
  display: grid;
  gap: 0.95rem;
  padding-top: 0.2rem;
}

.feedback-stats-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.feedback-stats-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(128, 184, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.feedback-stats-admin[hidden],
.feedback-stats-admin [hidden] {
  display: none !important;
}

.feedback-stats-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feedback-stats-admin-note {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feedback-stats-total,
.feedback-stats-country-block {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
}

.feedback-stats-total {
  gap: 0.28rem;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 25, 39, 0.42);
}

.feedback-stats-total-secondary {
  background:
    radial-gradient(circle at top right, rgba(128, 184, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 25, 39, 0.42);
}

.feedback-stats-kicker {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feedback-stats-total strong {
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.feedback-stats-total span,
.feedback-stats-empty {
  color: var(--text-muted);
}

.feedback-stats-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.15rem;
}

.feedback-stats-head strong {
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.feedback-stats-head small {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
}

.feedback-stats-country-list {
  display: grid;
  gap: 0.55rem;
}

.feedback-stats-country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(128, 184, 255, 0.08);
  color: var(--text);
}

.feedback-stats-country-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.feedback-stats-country-name {
  color: var(--text);
  font-weight: 600;
}

.feedback-stats-country-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.1);
  color: #9bf0da;
  font-size: 0.8rem;
  font-weight: 800;
}

.feedback-stats-log {
  display: grid;
  gap: 0.8rem;
  padding: 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
}

.feedback-stats-log[hidden] {
  display: none !important;
}

.feedback-stats-log-list {
  display: grid;
  gap: 0.65rem;
}

.feedback-stats-log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(128, 184, 255, 0.08);
}

.feedback-stats-log-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.feedback-stats-log-copy {
  display: grid;
  gap: 0.16rem;
}

.feedback-stats-log-copy strong {
  color: var(--text);
  font-size: 0.95rem;
}

.feedback-stats-log-copy small,
.feedback-stats-log-copy span {
  color: var(--text-muted);
  line-height: 1.45;
}

.request-cv-preview {
  padding: 0;
  overflow: hidden;
}

.request-cv-preview .feedback-privacy-list {
  gap: 0;
}

.request-cv-preview .feedback-privacy-list div {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.request-cv-preview .feedback-privacy-list div + div {
  border-top: 1px solid rgba(128, 184, 255, 0.08);
}

.feedback-conditions .feedback-points {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.2rem;
  padding-left: 0;
  list-style: none;
}

.feedback-points li {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  margin-bottom: 0;
}

.feedback-conditions-compact .feedback-points {
  gap: 0.55rem;
}

.feedback-conditions-compact .feedback-points li,
.feedback-conditions-compact .feedback-privacy-list div {
  gap: 0.18rem;
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.feedback-privacy-list div {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.feedback-conditions-compact .feedback-privacy-list {
  gap: 0.55rem;
}

.feedback-success {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.feedback-success[hidden] {
  display: none !important;
}

.feedback-thank-you-card {
  display: grid;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.feedback-thank-you-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.08);
}

.feedback-thank-you-status-pill .contact-label {
  margin-bottom: 0;
}

.feedback-thank-you-status-pill .contact-value {
  color: #b9f5e4;
}

.feedback-thank-you-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.feedback-thank-you-actions .btn {
  width: 100%;
  justify-content: center;
}

.feedback-thank-you-panels {
  display: grid;
  gap: 1rem;
}

.feedback-thank-you-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  padding-top: 0.2rem;
}

.feedback-thank-you-metric {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.feedback-thank-you-metric strong {
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.feedback-thank-you-status {
  padding-top: 0;
}

.feedback-thank-you-status .feedback-privacy-list {
  padding-top: 0.2rem;
}

@keyframes feedback-invalid-pulse {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}

.feedback-field.invalid-bounce,
.feedback-consent.invalid-bounce {
  animation: feedback-invalid-pulse 0.42s ease;
}

@keyframes feedback-disclosure-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(89, 226, 188, 0.16);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(89, 226, 188, 0);
    transform: scale(1.06);
  }
}

@keyframes feedback-cta-breathe {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(89, 226, 188, 0);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(89, 226, 188, 0.08);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .feedback-conditions summary::after {
    animation: feedback-disclosure-pulse 2.4s ease-in-out infinite;
  }

  .feedback-mode-card-cta {
    animation: feedback-cta-breathe 2.8s ease-in-out infinite;
  }
}

@media (max-width: 980px) {
  body.detail-page.feedback-page #bg-canvas {
    opacity: 0.72;
    filter: saturate(1.08) contrast(1.02);
  }

  body.detail-page.feedback-page .page-shell::after {
    opacity: 0.8;
    filter: blur(28px);
  }

  .feedback-hero {
    padding-bottom: 0.4rem;
  }

  .feedback-hero-panel {
    gap: 1.1rem;
  }

  .feedback-form-card,
  .feedback-side-card {
    gap: 0.9rem;
  }

  .feedback-layout {
    gap: 1rem;
  }

  .feedback-postform-grid {
    gap: 1rem;
    margin-top: 1rem;
  }

  .feedback-entry-actions {
    grid-template-columns: 1fr;
  }

  .feedback-entry-button {
    min-height: 92px;
    padding: 0.9rem 0.96rem;
  }

  .feedback-side-stack {
    gap: 1rem;
  }

  .feedback-form-section,
  .feedback-note,
  .feedback-conditions summary,
  .feedback-stats-total,
  .feedback-stats-country-block,
  .feedback-points li,
  .feedback-privacy-list div {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .feedback-form-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .feedback-form-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 780px) {
  body.detail-page.feedback-page #bg-canvas {
    opacity: 0.56;
    filter: saturate(0.96) contrast(0.98);
  }

  body.detail-page.feedback-page .page-shell::before {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.04)),
      radial-gradient(circle at 10% 100%, rgba(255, 194, 104, 0.05), transparent 24%);
  }

  body.detail-page.feedback-page .page-shell::after {
    opacity: 0.62;
    filter: blur(22px);
  }

  .feedback-hero-panel {
    gap: 0.95rem;
  }

  .feedback-hero-copy .eyebrow {
    margin-bottom: 0.35rem;
  }

  .feedback-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
    line-height: 0.98;
  }

  .feedback-hero-copy .lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .feedback-type-section {
    padding: 1rem;
  }

  .feedback-form-card,
  .feedback-side-card {
    gap: 0.85rem;
  }

  .feedback-card-head {
    gap: 0.3rem;
  }

  .feedback-form-nav {
    margin: -0.15rem 0 0.05rem;
  }

  .feedback-form-nav a {
    min-height: 38px;
    padding: 0.52rem 0.82rem;
    font-size: 0.88rem;
  }

  .feedback-note {
    gap: 0.22rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .feedback-form-section {
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 18px;
  }

  .feedback-section-head h3 {
    font-size: 1rem;
  }

  .feedback-mode-options {
    gap: 0.85rem;
  }

  .feedback-mode-button-row {
    grid-template-columns: 1fr;
  }

  .feedback-mode-button {
    min-height: 96px;
    padding: 0.92rem 0.96rem;
  }

  .feedback-inline-list li {
    padding: 0.82rem 0.88rem;
  }

  .feedback-review-visibility-options {
    width: 100%;
  }

  .feedback-review-option-card {
    width: 100%;
    min-width: 0;
  }

  .review-comments-panel summary {
    min-height: 54px;
    padding: 0.92rem 0.96rem;
  }

  .review-comments-panel .feedback-public-review-list {
    padding: 0 0.96rem 0.96rem;
  }

  .feedback-type-actions .btn,
  .feedback-flow-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feedback-mode-card {
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 16px;
  }

  .feedback-mode-card strong {
    font-size: 0.98rem;
  }

  .feedback-mode-card small {
    font-size: 0.88rem;
  }

  .feedback-mode-card-cta {
    min-height: 32px;
    padding: 0.4rem 0.72rem;
    font-size: 0.79rem;
  }

  .feedback-field {
    gap: 0.38rem;
  }

  .feedback-field input,
  .feedback-field textarea,
  .feedback-field select {
    padding: 0.88rem 0.95rem;
    border-radius: 13px;
  }

  .feedback-rating {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .feedback-rating label:last-child {
    grid-column: 1 / -1;
  }

  .feedback-rating span {
    width: 100%;
    min-width: 0;
  }

  .feedback-consent {
    gap: 0.72rem;
    padding: 0.9rem 0.95rem;
  }

  .feedback-consent .feedback-validation-message {
    margin-left: 0;
    padding-left: calc(1rem + 0.8rem);
  }

  .feedback-public-review-head {
    display: block;
  }

  .review-actions-split,
  .review-comments-callout {
    grid-template-columns: 1fr;
  }

  .review-actions .btn,
  .review-comments-trigger {
    width: 100%;
    justify-content: center;
  }

  .feedback-public-review-profile {
    grid-template-columns: 1fr;
  }

  .feedback-public-review-avatar {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 14px;
  }

  .feedback-public-review-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .feedback-public-review-reply-head,
  .feedback-public-review-reply-brand,
  .feedback-public-review-reply-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .feedback-actions,
  .journey-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feedback-actions .btn,
  .journey-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feedback-conditions summary {
    min-height: 70px;
    padding: 0.95rem 1rem;
    border-radius: 15px;
  }

  .feedback-disclosure-copy strong {
    font-size: 0.98rem;
  }

  .feedback-disclosure-copy small {
    font-size: 0.8rem;
  }

  .feedback-conditions summary::after {
    inline-size: 1.85rem;
    block-size: 1.85rem;
    font-size: 1rem;
  }

  .feedback-stats-total strong {
    font-size: 1.65rem;
  }

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

  .feedback-stats-country-item {
    padding-top: 0.5rem;
  }

  .feedback-confirm-grid {
    grid-template-columns: 1fr;
  }

  .feedback-confirm-item-wide {
    grid-column: auto;
  }

  .feedback-stats-admin {
    align-items: start;
    flex-direction: column;
  }

  .feedback-stats-admin-actions {
    width: 100%;
  }

  .feedback-stats-log-item {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .feedback-mode-options {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 100%;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-title {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .brand small {
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  .nav-actions .btn-small {
    flex-basis: 100%;
  }

  .lang-switcher {
    width: 100%;
  }

  .lang-option {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
  }

  .theme-toggle,
  .section-filter-toggle {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
    justify-content: center;
  }

  .admin-mode-switch {
    gap: 0.52rem;
    padding-inline: 0.65rem 0.48rem;
  }

  .admin-mode-label {
    font-size: 0.72rem;
  }

  .admin-mode-toggle-track {
    min-width: 72px;
    min-height: 32px;
  }

  .feedback-hero {
    padding-bottom: 0.2rem;
  }

  .feedback-hero-copy h1 {
    font-size: clamp(2rem, 11.4vw, 2.7rem);
  }

  .feedback-hero-copy .lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .feedback-card-head h2 {
    font-size: 1.55rem;
    line-height: 1.06;
  }

  .feedback-type-section,
  .feedback-form-section {
    padding: 0.92rem;
  }

  .feedback-step-tag {
    min-height: 28px;
    padding: 0.24rem 0.62rem;
    font-size: 0.72rem;
  }

  .feedback-note {
    padding: 0.85rem 0.9rem;
  }

  .feedback-form-nav {
    gap: 0.55rem;
  }

  .feedback-form-nav a {
    min-height: 36px;
    padding: 0.48rem 0.72rem;
    font-size: 0.84rem;
  }

  .feedback-mode-card {
    padding: 0.92rem;
  }

  .feedback-review-option-card,
  .feedback-public-review-card {
    padding: 0.92rem;
  }

  .feedback-public-review-admin-actions {
    flex-direction: column;
  }

  .feedback-public-review-admin-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .feedback-mode-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .feedback-mode-card-badge {
    min-height: 26px;
    padding: 0.16rem 0.56rem;
    font-size: 0.68rem;
  }

  .feedback-field > span,
  .feedback-rating-group legend {
    font-size: 0.94rem;
  }

  .feedback-hint,
  .feedback-validation-message,
  .feedback-disclosure-copy small {
    font-size: 0.78rem;
  }

  .feedback-rating {
    grid-template-columns: 1fr;
  }

  .feedback-rating label:last-child {
    grid-column: auto;
  }

  .feedback-rating span {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.78rem 0.9rem;
  }

  .feedback-rating strong,
  .feedback-rating em {
    font-size: 1rem;
  }

  .feedback-stats-metrics {
    gap: 0.75rem;
  }

  .feedback-conditions summary {
    align-items: start;
    min-height: 0;
    padding: 0.9rem;
  }

  .feedback-conditions summary::after {
    margin-top: 0.05rem;
    flex: 0 0 auto;
  }

  .feedback-stats-total,
  .feedback-stats-country-block,
  .feedback-points li,
  .feedback-privacy-list div {
    padding: 0.9rem;
  }

  .availability-banner {
    width: 100%;
    padding: 0.9rem;
  }

  .availability-banner strong {
    font-size: 0.94rem;
  }

  .availability-banner span:last-child {
    font-size: 0.88rem;
  }

  .btn-availability-cv {
    width: 100%;
    justify-content: center;
  }

  .fit-showcase {
    padding: 0.85rem;
  }

  .fit-item,
  .fit-summary-panel,
  .detail-block,
  .related-links-block,
  .page-end-cta {
    border-radius: 20px;
  }

  .fit-summary h4,
  .detail-block h3 {
    overflow-wrap: anywhere;
  }

  .fit-action-row .btn {
    padding-inline: 0.9rem;
  }

  .fit-cta {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .fit-cta-cue {
    margin-left: auto;
  }

  .detail-tool-card {
    padding: 0.88rem;
    gap: 0.72rem;
  }

  .detail-tool-logo {
    width: 3rem;
    height: 3rem;
    flex-basis: 3rem;
  }

  .detail-tool-logo img.logo-wide {
    max-width: 2.34rem;
  }

  .detail-repo-link {
    padding: 0.78rem 0.9rem;
  }

  .topic-link-list a,
  .detail-repo-text {
    line-height: 1.45;
  }
}

[data-theme="light"] .feedback-hero-panel {
  background:
    radial-gradient(circle at top right, rgba(49, 151, 149, 0.1), transparent 24%),
    radial-gradient(circle at left center, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff, #f3f8fc);
  box-shadow: 0 20px 40px rgba(31, 111, 235, 0.08);
}

[data-theme="light"] body.detail-page.feedback-page main[data-mode="contact"] .feedback-hero-panel {
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 251, 255, 0.84) 46%, rgba(243, 248, 252, 0.78) 100%),
    radial-gradient(circle at 18% 18%, rgba(31, 111, 235, 0.08), transparent 24%),
    radial-gradient(circle at 86% 20%, rgba(196, 139, 2, 0.08), transparent 22%),
    url("assets/images/contact%20me%20form.png") center right / cover no-repeat,
    linear-gradient(180deg, #fbfdff, #f3f8fc);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .feedback-entry-note {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .feedback-entry-button {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, #fbfdff, #f6f9fd),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 22px rgba(31, 111, 235, 0.06);
}

[data-theme="light"] .feedback-entry-button:hover,
[data-theme="light"] .feedback-entry-button:focus-visible,
[data-theme="light"] .feedback-entry-button.is-active {
  border-color: rgba(15, 23, 42, 0.14);
  background:
    linear-gradient(180deg, #ffffff, #f5f8fc),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 26px rgba(31, 111, 235, 0.08);
}

[data-theme="light"] .feedback-entry-panel {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 30px rgba(31, 111, 235, 0.06);
}

[data-theme="light"] .feedback-entry-button small {
  color: #5d7089;
}

[data-theme="light"] .feedback-inline-list li {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .feedback-inline-list strong {
  border-color: rgba(49, 151, 149, 0.18);
  background: rgba(49, 151, 149, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-process-item {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .feedback-process-item strong {
  border-color: rgba(49, 151, 149, 0.18);
  background: rgba(49, 151, 149, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-note {
  border-color: rgba(31, 111, 235, 0.12);
  background: linear-gradient(180deg, #f9fbff, #f4f8fd);
}

[data-theme="light"] .feedback-review-option-card {
  border-color: rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.98)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 20px rgba(148, 163, 184, 0.12);
}

[data-theme="light"] .feedback-required-pill {
  border-color: rgba(227, 93, 106, 0.2);
  background: rgba(227, 93, 106, 0.08);
  color: #c44f5d;
}

[data-theme="light"] .feedback-review-option-check {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .feedback-review-option input:checked + .feedback-review-option-card {
  border-color: #2f8f59;
  background: linear-gradient(180deg, #35a765, #277e4d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 24px rgba(39, 126, 77, 0.18);
}

[data-theme="light"] .feedback-review-option input:checked + .feedback-review-option-card strong {
  color: #f5fff7;
}

[data-theme="light"] .feedback-review-option input:checked + .feedback-review-option-card .feedback-review-option-check {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
  color: #f5fff7;
}

[data-theme="light"] .feedback-review-visibility-options {
  background: transparent;
}

[data-theme="light"] .feedback-review-visibility-note {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

[data-theme="light"] .feedback-public-review-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .feedback-public-review-card.is-pinned {
  border-color: rgba(2, 139, 112, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 1px rgba(2, 139, 112, 0.06),
    0 16px 30px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .feedback-public-review-avatar {
  border-color: rgba(2, 139, 112, 0.14);
  background:
    linear-gradient(135deg, rgba(2, 139, 112, 0.12), rgba(31, 111, 235, 0.08)),
    rgba(255, 255, 255, 0.92);
  color: #17324a;
}

[data-theme="light"] .feedback-public-review-reply {
  border-color: rgba(2, 139, 112, 0.14);
  background: rgba(2, 139, 112, 0.06);
}

[data-theme="light"] .feedback-public-review-reply-mark {
  background: #157b72;
  box-shadow: 0 0 0 6px rgba(2, 139, 112, 0.12);
}

[data-theme="light"] .feedback-public-review-verified-badge {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-public-review-reply-label {
  color: #157b72;
}

[data-theme="light"] .feedback-public-review-admin-form {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .feedback-public-review-admin-kicker {
  color: #157b72;
}

[data-theme="light"] .feedback-public-review-admin-copy {
  color: #51657d;
}

[data-theme="light"] .feedback-public-review-rating {
  border-color: rgba(49, 151, 149, 0.18);
  background: rgba(49, 151, 149, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-public-review-pin-badge {
  border-color: rgba(2, 139, 112, 0.18);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-public-review-pin {
  border-color: rgba(2, 139, 112, 0.18);
  color: #157b72;
}

[data-theme="light"] .feedback-public-review-pin:hover,
[data-theme="light"] .feedback-public-review-pin:focus-visible,
[data-theme="light"] .feedback-public-review-pin.is-active {
  border-color: rgba(2, 139, 112, 0.28);
  background: rgba(2, 139, 112, 0.09);
}

[data-theme="light"] .feedback-type-section {
  border-color: rgba(49, 151, 149, 0.18);
  background:
    radial-gradient(circle at top right, rgba(105, 217, 196, 0.14), transparent 36%),
    linear-gradient(180deg, #fbfdff, #f3f8fc);
  box-shadow: 0 14px 28px rgba(31, 111, 235, 0.06);
}

[data-theme="light"] .feedback-type-note {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .feedback-mode-button {
  border-color: rgba(15, 23, 42, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.96)),
    #ffffff;
  box-shadow: 0 12px 24px rgba(31, 111, 235, 0.07);
}

[data-theme="light"] .feedback-mode-button::before {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .feedback-mode-button::after {
  color: #17314c;
}

[data-theme="light"] .feedback-mode-button:hover,
[data-theme="light"] .feedback-mode-button:focus-visible {
  border-color: rgba(2, 139, 112, 0.18);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(242, 248, 252, 0.98));
  box-shadow: 0 16px 28px rgba(33, 54, 87, 0.1);
}

[data-theme="light"] .feedback-mode-button:hover::before,
[data-theme="light"] .feedback-mode-button:focus-visible::before {
  border-color: rgba(2, 139, 112, 0.18);
  background: rgba(2, 139, 112, 0.08);
}

[data-theme="light"] .feedback-mode-button small {
  color: #5d7089;
}

[data-theme="light"] .feedback-step-tag {
  border-color: rgba(49, 151, 149, 0.18);
  background: rgba(49, 151, 149, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-conditions summary {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #fbfdff, #f6f9fd);
}

[data-theme="light"] .feedback-conditions summary::after {
  border-color: rgba(49, 151, 149, 0.16);
  background: rgba(49, 151, 149, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-conditions summary:hover,
[data-theme="light"] .feedback-conditions[open] summary {
  border-color: rgba(49, 151, 149, 0.16);
  background: linear-gradient(180deg, #f8fbff, #eef9f7);
}

[data-theme="light"] .feedback-form-nav a {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: #17324a;
}

[data-theme="light"] .feedback-mode-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #fbfdff, #f6f9fd);
}

[data-theme="light"] .feedback-mode-option:hover .feedback-mode-card,
[data-theme="light"] .feedback-mode-option input:checked + .feedback-mode-card {
  border-color: rgba(49, 151, 149, 0.18);
  background: linear-gradient(180deg, #f8fffd, #edf8f5);
  box-shadow: 0 12px 24px rgba(49, 151, 149, 0.08);
}

[data-theme="light"] .feedback-mode-card-badge {
  border-color: rgba(31, 111, 235, 0.12);
  background: rgba(31, 111, 235, 0.06);
  color: #1e67c7;
}

[data-theme="light"] .feedback-mode-card-cta {
  border-color: rgba(49, 151, 149, 0.16);
  background: rgba(49, 151, 149, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-form-nav a:hover {
  border-color: rgba(31, 111, 235, 0.2);
  background: rgba(31, 111, 235, 0.08);
}

[data-theme="light"] .feedback-form-section {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

[data-theme="light"] .feedback-field.is-invalid input,
[data-theme="light"] .feedback-field.is-invalid textarea,
[data-theme="light"] .feedback-field.is-invalid select {
  border-color: rgba(217, 76, 99, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(217, 76, 99, 0.12) !important;
  background: #fff7f8 !important;
}

[data-theme="light"] .feedback-field input[aria-invalid="true"],
[data-theme="light"] .feedback-field textarea[aria-invalid="true"],
[data-theme="light"] .feedback-field select[aria-invalid="true"],
[data-theme="light"] .feedback-field input[aria-invalid="true"]:focus,
[data-theme="light"] .feedback-field textarea[aria-invalid="true"]:focus,
[data-theme="light"] .feedback-field select[aria-invalid="true"]:focus {
  border-color: rgba(217, 76, 99, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(217, 76, 99, 0.14) !important;
  background: #fff6f7 !important;
}

[data-theme="light"] .feedback-field.is-invalid > span,
[data-theme="light"] .feedback-consent.is-invalid .feedback-consent-copy,
[data-theme="light"] .feedback-validation-message {
  color: #bf4257;
}

[data-theme="light"] .feedback-consent {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .feedback-consent.is-invalid {
  border-color: rgba(217, 76, 99, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(217, 76, 99, 0.1) !important;
  background: #fff7f8 !important;
}

[data-theme="light"] .feedback-field input,
[data-theme="light"] .feedback-field textarea,
[data-theme="light"] .feedback-field select {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #17324a;
}

[data-theme="light"] .feedback-field input:focus,
[data-theme="light"] .feedback-field textarea:focus,
[data-theme="light"] .feedback-field select:focus {
  border-color: rgba(31, 111, 235, 0.28);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.1);
  background: #ffffff;
}

[data-theme="light"] .feedback-form-status {
  border-color: rgba(217, 76, 99, 0.18);
  background: #fff6f7;
  color: #bb3f54;
}

[data-theme="light"] .feedback-form-status[data-state="success"] {
  border-color: rgba(2, 139, 112, 0.16);
  background: #eefaf6;
  color: #136f5d;
}

[data-theme="light"] .feedback-thank-you-card {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
}

[data-theme="light"] .feedback-thank-you-status-pill {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
}

[data-theme="light"] .feedback-thank-you-status-pill .contact-value {
  color: #136f5d;
}

[data-theme="light"] .feedback-rating span,
[data-theme="light"] .feedback-stats-total,
[data-theme="light"] .feedback-stats-country-block,
[data-theme="light"] .feedback-thank-you-metric,
[data-theme="light"] .feedback-points li,
[data-theme="light"] .feedback-privacy-list div {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: #17324a;
}

[data-theme="light"] .feedback-stats-total {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 36%),
    linear-gradient(180deg, #fbfdff, #f4faf8);
}

[data-theme="light"] .feedback-stats-admin {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .feedback-stats-log {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

[data-theme="light"] .feedback-stats-head small,
[data-theme="light"] .feedback-stats-kicker {
  color: #5f7188;
}

[data-theme="light"] .feedback-stats-country-count {
  border-color: rgba(2, 139, 112, 0.16);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .feedback-rating label:hover span,
[data-theme="light"] .feedback-rating input:checked + span {
  border-color: rgba(31, 111, 235, 0.26);
  background: rgba(31, 111, 235, 0.08);
  box-shadow: 0 10px 22px rgba(31, 111, 235, 0.08);
}

.detail-page .hero {
  padding-top: 4.8rem;
}

body.detail-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(128, 184, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(89, 226, 188, 0.07), transparent 22%),
    linear-gradient(180deg, #071220 0%, #0b1727 52%, #101b2b 100%);
}

[data-theme="light"] body.detail-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 111, 235, 0.06), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(2, 139, 112, 0.05), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f0f5fb 52%, #eaf0f7 100%);
}

body.detail-page #bg-canvas,
body.detail-page .page-shell::after,
body.detail-page .page-shell > main::before {
  display: none;
}

body.detail-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0)),
    radial-gradient(circle at 18% 0, rgba(128, 184, 255, 0.06), transparent 22%);
}

[data-theme="light"] body.detail-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 18% 0, rgba(31, 111, 235, 0.04), transparent 22%);
}

body.detail-page.keba-detail-page {
  background:
    linear-gradient(180deg, rgba(7, 18, 32, 0.76), rgba(10, 21, 36, 0.82)),
    radial-gradient(circle at 12% 14%, rgba(128, 184, 255, 0.08), transparent 24%),
    url("assets/images/keba%20background.png") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

[data-theme="light"] body.detail-page.keba-detail-page {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.76), rgba(239, 245, 251, 0.8)),
    radial-gradient(circle at 14% 16%, rgba(31, 111, 235, 0.06), transparent 24%),
    url("assets/images/keba%20background.png") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

body.detail-page.portfolio-map-page {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.82), rgba(9, 20, 34, 0.86)),
    radial-gradient(circle at 16% 16%, rgba(128, 184, 255, 0.08), transparent 24%),
    url("assets/images/portfolio%20map%20roadmap-journey-milestone-career-600nw-2633817533.png") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

[data-theme="light"] body.detail-page.portfolio-map-page {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.88), rgba(239, 245, 251, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(31, 111, 235, 0.05), transparent 24%),
    url("assets/images/portfolio%20map%20roadmap-journey-milestone-career-600nw-2633817533.png") center center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

body.detail-page.keba-detail-page #bg-canvas {
  display: none;
}

body.detail-page.keba-detail-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.06), rgba(7, 17, 31, 0.01)),
    radial-gradient(circle at 82% 10%, rgba(89, 226, 188, 0.06), transparent 18%);
}

[data-theme="light"] body.detail-page.keba-detail-page .page-shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 82% 10%, rgba(2, 139, 112, 0.05), transparent 18%);
}

body.detail-page.keba-detail-page .detail-hero-media {
  border-color: rgba(89, 226, 188, 0.12);
  background-position: center center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] body.detail-page.keba-detail-page .detail-hero-media {
  border-color: rgba(10, 22, 38, 0.08);
  box-shadow: 0 18px 36px rgba(33, 54, 87, 0.08);
}

.detail-back {
  margin-bottom: 1rem;
}

.detail-shell {
  display: grid;
  gap: 1.25rem;
}

.detail-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.detail-hero-media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: 340px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.22)),
    var(--detail-image, linear-gradient(135deg, rgba(128, 184, 255, 0.15), rgba(89, 226, 188, 0.1)));
  background-size: cover;
  background-position: center center;
  box-shadow: var(--shadow-soft);
}

.detail-hero-content {
  display: grid;
  gap: 1rem;
}

.detail-meta-row,
.detail-pill-row,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-meta-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.keba-reading-stack {
  display: grid;
  gap: 1.15rem;
}

.keba-reading-section {
  display: grid;
  gap: 1rem;
  padding: 1.45rem;
  border-radius: 26px;
}

.keba-reading-head {
  display: grid;
  gap: 0.38rem;
  max-width: 72ch;
}

.keba-reading-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
}

.keba-reading-head p {
  margin: 0;
}

.keba-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.keba-reading-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.keba-reading-note {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 17, 29, 0.22);
}

.keba-reading-note h4,
.keba-reading-note h5 {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

.keba-reading-note p,
.keba-reading-note ul {
  margin: 0;
}

.keba-reading-note p,
.keba-reading-note li,
.keba-reading-section .detail-block p,
.keba-reading-section .detail-block li {
  line-height: 1.72;
}

.keba-reading-section .detail-block {
  min-height: 100%;
  padding: 1.18rem 1.2rem;
  border-radius: 20px;
}

.keba-reading-section .detail-block h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.keba-reading-section .detail-block p,
.keba-reading-section .detail-block ul {
  margin-bottom: 0;
}

.keba-reading-callout {
  padding: 1.25rem 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(89, 226, 188, 0.2);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.13), transparent 28%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.keba-reading-callout p {
  margin: 0;
  max-width: 66ch;
  line-height: 1.72;
}

.keba-reading-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.keba-reading-cta-copy {
  display: grid;
  gap: 0.32rem;
  max-width: 60ch;
}

.keba-reading-cta-copy h4,
.keba-reading-cta-copy p {
  margin: 0;
}

.keba-reading-cta .btn-group {
  margin-top: 0;
}

[data-theme="light"] .keba-reading-note {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.86));
}

[data-theme="light"] .keba-reading-callout {
  border-color: rgba(2, 139, 112, 0.14);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
}

[data-theme="light"] .keba-reading-cta {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.detail-tools-panel {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.detail-tools-head {
  display: grid;
  gap: 0.35rem;
}

.detail-tools-head h3 {
  margin: 0;
}

.detail-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.detail-tool-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 88px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.detail-tool-logo {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.45rem;
  height: 3.45rem;
  flex: 0 0 3.45rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.detail-tool-logo.is-image {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(244, 249, 255, 0.94));
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 0 0 1px rgba(15, 27, 43, 0.04),
    0 10px 20px rgba(5, 12, 24, 0.18);
}

.detail-tool-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 2.34rem;
  max-height: 1.92rem;
  object-fit: contain;
  filter: saturate(1.06) contrast(1.08) drop-shadow(0 2px 6px rgba(9, 16, 28, 0.14));
}

.detail-tool-logo img.logo-square {
  max-width: 2.08rem;
  max-height: 2.08rem;
}

.detail-tool-logo img.logo-tall {
  max-width: 1.72rem;
  max-height: 2.12rem;
}

.detail-tool-logo img.logo-wide {
  max-width: 2.78rem;
  max-height: 1.72rem;
}

.detail-tool-logo span {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-tool-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.detail-tool-copy strong {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.detail-tool-copy .small {
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.detail-tool-matlab {
  border-color: rgba(64, 116, 255, 0.18);
  background: rgba(64, 116, 255, 0.11);
  color: #7ea3ff;
}

.detail-tool-simulink {
  border-color: rgba(231, 111, 42, 0.18);
  background: rgba(231, 111, 42, 0.1);
  color: #ff9d62;
}

.detail-tool-ros,
.detail-tool-arduino {
  border-color: rgba(0, 140, 130, 0.2);
  background: rgba(0, 140, 130, 0.11);
  color: #6fe0d1;
}

.detail-tool-python,
.detail-tool-solidworks {
  border-color: rgba(74, 144, 226, 0.18);
  background: rgba(74, 144, 226, 0.1);
  color: #7db6ff;
}

.detail-tool-cpp,
.detail-tool-vr {
  border-color: rgba(111, 66, 193, 0.18);
  background: rgba(111, 66, 193, 0.1);
  color: #b39bff;
}

.detail-tool-unity,
.detail-tool-fea {
  border-color: rgba(154, 132, 214, 0.18);
  background: rgba(154, 132, 214, 0.1);
  color: #c2b2ff;
}

.detail-tool-slam,
.detail-tool-gazebo,
.detail-tool-rviz,
.detail-tool-optimization,
.detail-tool-embedded,
.detail-tool-sensor,
.detail-tool-websockets {
  border-color: rgba(25, 135, 84, 0.18);
  background: rgba(25, 135, 84, 0.1);
  color: #7fd7a7;
}

.detail-tool-ros2,
.detail-tool-dragbot {
  border-color: rgba(0, 140, 130, 0.18);
  background: rgba(0, 140, 130, 0.12);
  color: #7be6d8;
}

.detail-tool-blender,
.detail-tool-kemotion,
.detail-tool-keba-controller {
  border-color: rgba(184, 106, 0, 0.18);
  background: rgba(184, 106, 0, 0.1);
  color: #ffc46d;
}

[data-theme="light"] .detail-tools-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.68)),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 38px rgba(70, 96, 131, 0.08);
}

[data-theme="light"] .detail-tool-card {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(21, 44, 74, 0.08);
}

[data-theme="light"] .detail-tool-logo {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .detail-tool-logo.is-image {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.96));
  border-color: rgba(33, 54, 87, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .detail-tool-matlab {
  border-color: rgba(64, 116, 255, 0.15);
  background: rgba(64, 116, 255, 0.11);
  color: #2e63dd;
}

[data-theme="light"] .detail-tool-simulink {
  border-color: rgba(231, 111, 42, 0.15);
  background: rgba(231, 111, 42, 0.11);
  color: #c36228;
}

[data-theme="light"] .detail-tool-ros,
[data-theme="light"] .detail-tool-arduino {
  border-color: rgba(0, 140, 130, 0.15);
  background: rgba(0, 140, 130, 0.11);
  color: #18776f;
}

[data-theme="light"] .detail-tool-python,
[data-theme="light"] .detail-tool-solidworks {
  border-color: rgba(74, 144, 226, 0.15);
  background: rgba(74, 144, 226, 0.1);
  color: #3568c6;
}

[data-theme="light"] .detail-tool-cpp,
[data-theme="light"] .detail-tool-vr,
[data-theme="light"] .detail-tool-unity,
[data-theme="light"] .detail-tool-fea {
  border-color: rgba(111, 66, 193, 0.14);
  background: rgba(111, 66, 193, 0.1);
  color: #6453a6;
}

[data-theme="light"] .detail-tool-slam,
[data-theme="light"] .detail-tool-gazebo,
[data-theme="light"] .detail-tool-rviz,
[data-theme="light"] .detail-tool-optimization,
[data-theme="light"] .detail-tool-embedded,
[data-theme="light"] .detail-tool-sensor,
[data-theme="light"] .detail-tool-websockets {
  border-color: rgba(25, 135, 84, 0.14);
  background: rgba(25, 135, 84, 0.1);
  color: #247654;
}

[data-theme="light"] .detail-tool-ros2,
[data-theme="light"] .detail-tool-dragbot {
  border-color: rgba(0, 140, 130, 0.14);
  background: rgba(0, 140, 130, 0.11);
  color: #18776f;
}

[data-theme="light"] .detail-tool-blender,
[data-theme="light"] .detail-tool-kemotion,
[data-theme="light"] .detail-tool-keba-controller {
  border-color: rgba(184, 106, 0, 0.14);
  background: rgba(184, 106, 0, 0.1);
  color: #8b5400;
}

.detail-block {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.detail-block h3 {
  margin-bottom: 0.5rem;
}

.detail-block .label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-block-repo {
  position: relative;
  overflow: hidden;
}

.detail-block-repo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(89, 226, 188, 0.12) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.detail-repo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.82rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.12), rgba(89, 226, 188, 0.1));
  color: var(--text);
  font-weight: 700;
  max-width: 100%;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.detail-repo-text {
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
}

.detail-repo-link .fit-cta-cue {
  display: none;
}

.detail-block-repo:hover::after {
  transform: translateX(130%);
}

.detail-block-repo:hover .detail-repo-link {
  transform: translateY(-2px);
  border-color: rgba(89, 226, 188, 0.34);
  box-shadow: 0 16px 28px rgba(89, 226, 188, 0.14);
  background: linear-gradient(135deg, rgba(128, 184, 255, 0.18), rgba(89, 226, 188, 0.16));
}

.detail-block-repo:hover .detail-repo-link .fit-cta-hand {
  animation: fitHandTap 0.95s ease-in-out infinite;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(89, 226, 188, 0.38);
}

.detail-block-repo:hover .detail-repo-link .fit-cta-cue {
  opacity: 1;
  transform: translateX(0);
}

body.vacuum-detail-page .detail-meta-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.vacuum-detail-page .detail-block-repo {
  grid-column: 1 / -1;
}

body.vacuum-detail-page .detail-repo-link {
  width: 100%;
  justify-content: center;
  gap: 0.82rem;
  padding: 0.9rem 1.05rem;
}

body.vacuum-detail-page .detail-repo-text {
  text-align: center;
}

[data-theme="light"] .detail-repo-link {
  border-color: rgba(31, 111, 235, 0.16);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.1), rgba(2, 139, 112, 0.08));
  color: #17314c;
}

[data-theme="light"] .detail-block-repo::after {
  background: linear-gradient(110deg, transparent 20%, rgba(2, 139, 112, 0.1) 48%, transparent 76%);
}

[data-theme="light"] .detail-block-repo:hover .detail-repo-link {
  border-color: rgba(2, 139, 112, 0.3);
  box-shadow: 0 14px 26px rgba(33, 54, 87, 0.1);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.14), rgba(2, 139, 112, 0.13));
}

[data-theme="light"] .detail-block-repo:hover .detail-repo-link .fit-cta-hand {
  color: #0d8067;
  text-shadow: 0 0 10px rgba(2, 139, 112, 0.12);
}

.detail-summary {
  display: grid;
  gap: 1rem;
}

@keyframes atmosphericShift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

@keyframes timelineFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-8px, 10px, 0) scale(1.08);
  }
}

@keyframes globeTravel {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9);
    opacity: 0.8;
  }
  20% {
    transform: translate3d(18px, -18px, 0) scale(1);
    opacity: 1;
  }
  45% {
    transform: translate3d(44px, -34px, 0) scale(1.05);
    opacity: 1;
  }
  75% {
    transform: translate3d(78px, -48px, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(96px, -42px, 0) scale(0.92);
    opacity: 0.85;
  }
}

@keyframes clickBeacon {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes attentionPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(89, 226, 188, 0.08), 0 18px 36px rgba(89, 226, 188, 0.12);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(89, 226, 188, 0.16), 0 22px 42px rgba(89, 226, 188, 0.18);
  }
}

@keyframes sectionTargetGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-2px);
  }
}

@keyframes sectionTargetShellGlow {
  0% {
    border-color: rgba(89, 226, 188, 0.16);
    box-shadow: var(--shadow-soft);
  }
  35% {
    border-color: rgba(89, 226, 188, 0.52);
    box-shadow: 0 0 0 2px rgba(89, 226, 188, 0.12), 0 24px 46px rgba(89, 226, 188, 0.18);
  }
  100% {
    border-color: rgba(89, 226, 188, 0.16);
    box-shadow: var(--shadow-soft);
  }
}

@keyframes sectionTargetContainerGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(89, 226, 188, 0);
  }
  35% {
    box-shadow: 0 0 0 2px rgba(89, 226, 188, 0.08), 0 0 48px rgba(89, 226, 188, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(89, 226, 188, 0);
  }
}

@keyframes sectionTargetShellGlowLight {
  0% {
    border-color: rgba(10, 22, 38, 0.08);
    box-shadow: 0 16px 38px rgba(33, 54, 87, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }
  35% {
    border-color: rgba(2, 139, 112, 0.34);
    box-shadow: 0 0 0 2px rgba(2, 139, 112, 0.08), 0 22px 42px rgba(33, 54, 87, 0.12);
  }
  100% {
    border-color: rgba(10, 22, 38, 0.08);
    box-shadow: 0 16px 38px rgba(33, 54, 87, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }
}

@keyframes sectionTargetContainerGlowLight {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 111, 235, 0);
  }
  35% {
    box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.06), 0 0 42px rgba(31, 111, 235, 0.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 111, 235, 0);
  }
}

@keyframes targetCardGlow {
  0% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
  }
  35% {
    transform: translateY(-4px);
    border-color: rgba(89, 226, 188, 0.62);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24), 0 0 0 2px rgba(89, 226, 188, 0.16);
  }
  100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
  }
}

@keyframes targetCardGlowLight {
  0% {
    transform: translateY(0);
    border-color: rgba(10, 22, 38, 0.08);
    box-shadow: 0 16px 38px rgba(33, 54, 87, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }
  35% {
    transform: translateY(-4px);
    border-color: rgba(31, 111, 235, 0.34);
    box-shadow: 0 24px 46px rgba(33, 54, 87, 0.12), 0 0 0 2px rgba(31, 111, 235, 0.08);
  }
  100% {
    transform: translateY(0);
    border-color: rgba(10, 22, 38, 0.08);
    box-shadow: 0 16px 38px rgba(33, 54, 87, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }
}

@keyframes journeySweep {
  0% {
    transform: translate3d(-12%, 0, 0) scale(1.04);
  }
  100% {
    transform: translate3d(12%, 0, 0) scale(1.08);
  }
}

@keyframes fitHandTap {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 0.72;
  }
  40% {
    transform: translateX(3px) scale(1.08);
    opacity: 1;
  }
  70% {
    transform: translateX(1px) scale(0.98);
    opacity: 0.92;
  }
}

@keyframes fitShowcaseGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(18px, 10px, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes fitShowcaseSweep {
  0%, 100% {
    transform: translateX(-32%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%);
    opacity: 0.7;
  }
}

@keyframes fitCardRise {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes journeyCardFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(-10px, -10px, 0) scale(1.08);
    opacity: 0.9;
  }
}

@keyframes sectionIconPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.02);
  }
}

@keyframes journeySignalMove {
  0%, 100% {
    left: 0;
    opacity: 0.55;
  }
  50% {
    left: 78%;
    opacity: 1;
  }
}

@keyframes journeySectionDrift {
  0%, 100% {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.45;
  }
  50% {
    transform: translate3d(2%, 0, 0);
    opacity: 0.8;
  }
}

@keyframes journeyPanelBreath {
  0%, 100% {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  }
  50% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(128, 184, 255, 0.04);
  }
}

@keyframes journeyStageFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes journeyStagePulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.05);
  }
}

@keyframes journeyStageAura {
  0%, 100% {
    opacity: 0.42;
    transform: translateX(-1.5%);
  }
  50% {
    opacity: 0.82;
    transform: translateX(1.5%);
  }
}

@keyframes portfolioMotionIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes portfolioMotionInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-34px, 20px, 0) scale(0.985);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes portfolioMotionInRight {
  0% {
    opacity: 0;
    transform: translate3d(34px, 20px, 0) scale(0.985);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes sectionHeadingSweep {
  0% {
    opacity: 0;
    transform: scaleX(0.1);
  }
  100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
}

@keyframes motionNodeReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.97);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes motionRailSweep {
  0% {
    opacity: 0;
    transform: translateX(-140%);
  }
  18% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(140%);
  }
}

@keyframes navMarkerPulse {
  0%, 100% {
    box-shadow:
      0 10px 18px rgba(5, 11, 20, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow:
      0 14px 24px rgba(5, 11, 20, 0.2),
      0 0 0 1px rgba(89, 226, 188, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

@keyframes routeMapHaloPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.86;
  }
}

@keyframes routeMapTrace {
  0% {
    opacity: 0.12;
    stroke-dashoffset: 190;
  }
  18% {
    opacity: 0.98;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes routeMapFlagLift {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes footerCtaWake {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.97);
    box-shadow: 0 10px 18px rgba(4, 11, 24, 0.12);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 18px 34px rgba(4, 11, 24, 0.24);
  }
}

@keyframes helpBotPanelLayerIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes helpBotChoiceConfirm {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-1px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes helpBotLauncherIdle {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 20px 30px rgba(8, 14, 24, 0.24));
  }
  50% {
    transform: translateY(-2px) scale(1.01);
    filter: drop-shadow(0 24px 34px rgba(8, 14, 24, 0.28));
  }
}

.reveal-on-scroll {
  --reveal-distance: 30px;
  --reveal-scale: 0.985;
  --reveal-delay: 0s;
  --reveal-duration: 0.76s;
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0) scale(var(--reveal-scale));
  filter: blur(10px);
  transition:
    opacity var(--reveal-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    transform var(--reveal-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    filter var(--reveal-duration) ease var(--reveal-delay);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll[data-reveal-variant="left"] {
  transform: translate3d(-28px, 16px, 0) scale(var(--reveal-scale));
}

.reveal-on-scroll[data-reveal-variant="right"] {
  transform: translate3d(28px, 16px, 0) scale(var(--reveal-scale));
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body.motion-pending .motion-sequence-item {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  filter: blur(12px);
}

body.motion-pending .motion-sequence-item[data-motion-variant="left"] {
  transform: translate3d(-34px, 20px, 0) scale(0.985);
}

body.motion-pending .motion-sequence-item[data-motion-variant="right"] {
  transform: translate3d(34px, 20px, 0) scale(0.985);
}

body.motion-ready .motion-sequence-item {
  animation: portfolioMotionIn 0.84s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--motion-delay, 0s);
}

body.motion-ready .motion-sequence-item[data-motion-variant="left"] {
  animation-name: portfolioMotionInLeft;
}

body.motion-ready .motion-sequence-item[data-motion-variant="right"] {
  animation-name: portfolioMotionInRight;
}

.section-heading::after {
  content: "";
  flex: 1 1 120px;
  max-width: 150px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0.02), rgba(128, 184, 255, 0.4), rgba(89, 226, 188, 0.42), rgba(89, 226, 188, 0));
  opacity: 0.5;
  transform-origin: left center;
}

.section-heading.visible::after {
  animation: sectionHeadingSweep 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  body.portfolio-page:not(.detail-page) .hero > .container {
    width: min(100%, var(--container));
  }

  body.portfolio-page:not(.detail-page) .top-update-inner {
    max-width: min(100%, var(--container));
  }

  body.portfolio-page:not(.detail-page) .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  body.portfolio-page:not(.detail-page) .hero-copy {
    max-width: none;
  }

  body.portfolio-page:not(.detail-page) .hero-card {
    width: min(100%, 24.5rem);
    margin-inline: auto;
  }

  body.portfolio-page:not(.detail-page) .hero-photo-frame {
    max-width: 21.8rem;
  }

  .hero-grid,
  .highlight-band,
  .thesis-panel,
  .journey-route,
  .review-layout,
  .contact-layout,
  .experience-intro,
  .detail-hero-panel,
  .portfolio-map-hero-shell {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .event-grid,
  .journey-milestones,
  .education-grid,
  .certificate-grid,
  .accomplishment-grid,
  .travel-grid,
  .journey-summary,
  .certificate-links,
  .journey-preview-grid,
  .topic-explore-grid,
  .faq-grid,
  .portfolio-map-grid,
  .project-grid,
  .keba-reading-grid,
  .detail-grid,
  .detail-meta-row,
  .detail-tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .keba-reading-grid-three {
    grid-template-columns: 1fr 1fr;
  }

  .route-line {
    min-height: 260px;
  }

  .contact-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-feedback-box {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-clean-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .review-card {
    gap: 0.95rem;
  }

  .contact-intake-grid {
    grid-template-columns: 1fr;
  }

  .contact-intake-item-wide {
    grid-column: auto;
  }

  .hero-card-top {
    flex-wrap: wrap;
  }

  .hero-card-status {
    width: fit-content;
  }

  .portfolio-map-snapshot-head {
    flex-wrap: wrap;
  }

  .fit-module-head {
    flex-direction: column;
  }

  .fit-module-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 1280px) {
  body.portfolio-page:not(.detail-page) .hero > .container {
    width: min(100%, 1220px);
  }

  body.portfolio-page:not(.detail-page) .top-update-inner {
    max-width: min(1220px, calc(100% - 2rem));
  }

  body.portfolio-page:not(.detail-page) .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(0.9rem, 1.8vw, 1.35rem);
  }

  body.portfolio-page:not(.detail-page) .hero-copy {
    max-width: 40rem;
  }

  body.portfolio-page:not(.detail-page) h1 {
    font-size: clamp(2.95rem, 5.8vw, 5.2rem);
  }

  body.portfolio-page:not(.detail-page) .hero-role {
    font-size: clamp(1.22rem, 1.95vw, 1.62rem);
  }

  body.portfolio-page:not(.detail-page) .lead {
    font-size: 1.02rem;
  }

  body.portfolio-page:not(.detail-page) .hero-card {
    width: min(100%, 25.9rem);
  }

  body.portfolio-page:not(.detail-page) .hero-photo-frame {
    max-width: 23rem;
  }
}

@media (max-width: 700px) {
  .review-metric-grid,
  .contact-primary-actions,
  .contact-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-clean-head p {
    max-width: 30ch;
    font-size: 1.04rem;
  }

  .contact-clean-info-item,
  .contact-clean-action {
    padding: 1rem;
  }

  .contact-clean-icon {
    width: 3rem;
    height: 3rem;
  }

  .review-actions-split,
  .review-comments-callout {
    grid-template-columns: 1fr;
  }

  .review-comments-trigger {
    width: 100%;
  }

  .contact-detail-item-wide {
    grid-column: auto;
  }

  .contact-secondary-links,
  .contact-profile-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .contact-feedback-box .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 2600px) {
  .nav-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 0.7rem;
  }

  .brand {
    flex: 0 1 auto;
    margin-right: auto;
  }

  .nav-actions {
    order: 2;
    flex: 0 1 auto;
    width: auto;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    column-gap: 0.6rem;
    row-gap: 0.55rem;
    max-width: min(100%, 52rem);
  }

  .nav-actions > * {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .nav-links {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 0.24rem;
    padding-top: 0.2rem;
  }

  .nav-links a {
    padding: 0.56rem 0.74rem;
    font-size: 0.96rem;
  }

  .admin-mode-switch {
    order: 2;
  }

  .admin-mode-switch,
  .portfolio-view-switch,
  .lang-switcher {
    min-width: 0;
  }

  .theme-toggle {
    min-width: 144px;
    min-height: 40px;
    padding: 0.28rem 0.42rem 0.28rem 0.62rem;
  }

  .theme-toggle .theme-toggle-track {
    gap: 0.62rem;
  }

  .theme-toggle .theme-toggle-switch-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  .theme-toggle .theme-toggle-switch-control {
    min-width: 70px;
    min-height: 30px;
  }

  .theme-toggle .theme-toggle-switch-state {
    min-width: 33px;
    min-height: 26px;
  }

  .portfolio-view-option,
  .lang-option {
    padding: 0.48rem 0.76rem;
    font-size: 0.78rem;
  }

  .section-filter-toggle {
    order: 2;
  }

  .nav-actions .btn-small {
    min-height: 38px;
    padding: 0.58rem 0.82rem;
    font-size: 0.88rem;
  }
}

@media (min-width: 781px) {
  .nav.is-compact {
    border-bottom-color: color-mix(in srgb, var(--brand-accent-soft) 34%, var(--line));
    background:
      linear-gradient(180deg, rgba(8, 20, 29, 0.97), rgba(9, 21, 31, 0.95)),
      radial-gradient(circle at 14% 18%, rgba(92, 184, 159, 0.14), transparent 28%),
      radial-gradient(circle at 82% 20%, rgba(120, 204, 182, 0.1), transparent 22%);
    box-shadow: 0 14px 30px rgba(5, 14, 24, 0.18);
  }

  [data-theme="light"] .nav.is-compact {
    background:
      linear-gradient(180deg, rgba(245, 250, 247, 0.98), rgba(236, 246, 241, 0.96)),
      radial-gradient(circle at 18% 18%, rgba(76, 157, 133, 0.1), transparent 30%);
    border-bottom-color: rgba(76, 157, 133, 0.24);
    box-shadow: 0 14px 28px rgba(33, 54, 87, 0.08);
  }

  .nav.is-compact .nav-inner {
    gap: 0.72rem;
    padding: 0.62rem 0;
  }

  .nav.is-compact .brand {
    gap: 0.62rem;
    transform: translateY(-1px);
  }

  .nav.is-compact .brand-avatar {
    width: 2.55rem;
    height: 2.55rem;
    flex-basis: 2.55rem;
    padding: 0.12rem;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 9px 18px rgba(0, 0, 0, 0.14);
  }

  .nav.is-compact .brand-copy {
    gap: 0.04rem;
    max-width: 16rem;
    transform: translateY(-1px);
  }

  .nav.is-compact .brand-title {
    font-size: 0.94rem;
    letter-spacing: 0.06em;
  }

  .nav.is-compact .brand small {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    opacity: 0.18;
    transform: translateY(-2px);
  }

  .nav.is-compact .nav-links {
    gap: 0.28rem;
    transform: none;
    opacity: 1;
  }

  .nav.is-compact .nav-links a {
    padding: 0.46rem 0.68rem;
    font-size: 0.84rem;
  }

  .nav.is-compact .nav-actions {
    gap: 0.38rem;
    transform: none;
    opacity: 1;
  }

  .nav.is-compact .nav-actions .btn-small {
    min-height: 34px;
    padding: 0.5rem 0.74rem;
    font-size: 0.8rem;
  }

  .nav.is-compact .portfolio-view-switch,
  .nav.is-compact .lang-switcher {
    gap: 0.14rem;
    padding: 0.14rem;
  }

  .nav.is-compact .portfolio-view-option,
  .nav.is-compact .lang-option {
    min-height: 34px;
    padding: 0.38rem 0.62rem;
    font-size: 0.72rem;
  }

  .nav.is-compact .theme-toggle {
    min-width: 112px;
    min-height: 34px;
    padding: 0.18rem 0.3rem 0.18rem 0.46rem;
  }

  .nav.is-compact .theme-toggle .theme-toggle-track {
    gap: 0.34rem;
  }

  .nav.is-compact .theme-toggle .theme-toggle-switch-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .nav.is-compact .theme-toggle .theme-toggle-switch-control {
    min-width: 52px;
    min-height: 24px;
  }

  .nav.is-compact .theme-toggle .theme-toggle-switch-state {
    min-width: 26px;
    min-height: 24px;
  }

  .nav.is-compact .theme-toggle .theme-toggle-switch-icon,
  .nav.is-compact .theme-toggle .theme-toggle-switch-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 780px) {
  :root {
    --page-pad-x: 0.95rem;
    --scroll-offset: 96px;
  }

  body.has-page-back-button .page-shell {
    padding-bottom: 4.9rem;
  }

  .hero {
    padding: 4.35rem 0 2.7rem;
  }

  body.portfolio-page:not(.detail-page) .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  body.portfolio-page:not(.detail-page) .hero-copy {
    width: 100%;
    padding: 0.25rem 0 0;
  }

  body.portfolio-page:not(.detail-page) .hero-card {
    order: 2;
    width: min(100%, 19.25rem);
    margin: 0 auto;
    padding: 0.62rem;
  }

  body.portfolio-page:not(.detail-page) .hero-photo-frame {
    max-width: 17.4rem;
    padding: 0.48rem;
  }

  body.portfolio-page:not(.detail-page) .hero-actions {
    width: 100%;
  }

  .section {
    padding: 1.7rem 0;
  }

  .card {
    border-radius: 24px;
  }

  .admin-workspace-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 1rem;
  }

  .admin-workspace-actions {
    justify-content: flex-start;
  }

  .admin-workspace-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-review-prompt-grid,
  .admin-review-prompt-pages {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .footer-declaration {
    width: 100%;
  }

  .footer-declaration-trigger {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-declaration-panel {
    left: 0;
    right: auto;
    width: min(100%, calc(100vw - 1.9rem));
  }

  .nav-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.42rem;
    padding: max(0.64rem, env(safe-area-inset-top)) 0 0.62rem;
  }

  .brand {
    order: 1;
    flex: 1 1 calc(100% - 4rem);
    width: auto;
    gap: 0.62rem;
    align-items: center;
  }

  .mobile-nav-toggle {
    order: 2;
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-links {
    order: 4;
    width: 100%;
    display: none;
  }

  .nav-links::after {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.5rem 0.66rem;
    text-align: center;
    white-space: normal;
    line-height: 1.1;
    font-size: 0.86rem;
  }

  .mobile-top-quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 0.55rem;
    padding-bottom: 0.08rem;
  }

  .mobile-top-quick-actions .btn-mobile-quick {
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    padding: 0.54rem 0.8rem;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 15px;
    white-space: nowrap;
    justify-content: center;
  }

  .mobile-top-quick-actions .btn-mobile-quick-cv {
    justify-content: center;
  }

  .mobile-top-quick-actions .btn-mobile-quick-fit {
    justify-content: center;
    margin-left: 0;
  }

  .page-back-button {
    left: max(0.95rem, env(safe-area-inset-left));
    bottom: max(0.95rem, env(safe-area-inset-bottom));
    min-height: 48px;
    padding: 0.78rem 1rem 0.78rem 0.86rem;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }

  .floating-page-actions {
    right: max(0.95rem, env(safe-area-inset-right));
    top: 50%;
    gap: 0.5rem;
  }

  .floating-page-action {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
  }

  .floating-page-action-label {
    display: none;
  }

  .scroll-direction-buttons {
    left: max(0.95rem, env(safe-area-inset-left));
    bottom: calc(max(0.95rem, env(safe-area-inset-bottom)) + 4.15rem);
    gap: 0.5rem;
  }

  .scroll-nav-button {
    width: 2.8rem;
    height: 2.8rem;
  }

  body.has-page-back-button .scroll-direction-buttons {
    bottom: calc(max(0.95rem, env(safe-area-inset-bottom)) + 7.95rem);
  }

  .nav-actions {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    flex: 1 1 100%;
    align-items: stretch;
    gap: 0.34rem;
    overflow: visible;
    padding-bottom: 0;
    margin-left: 0;
  }

  .nav-actions > * {
    display: none;
  }

  .nav-actions > .portfolio-view-switch {
    display: inline-flex;
  }

  .nav-actions > :not(.portfolio-view-switch) {
    display: none;
  }

  .nav-inner.is-mobile-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.34rem 0.38rem;
    overflow: visible;
    padding-bottom: 0.02rem;
  }

  .nav-inner.is-mobile-open .nav-actions {
    order: 5;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    padding-bottom: 0.08rem;
    margin-left: 0;
    gap: 0.34rem;
  }

  .nav-inner.is-mobile-open .nav-actions > * {
    display: inline-flex;
  }

  .nav-inner.has-mobile-quick-actions.is-mobile-open .nav-actions > .btn-fit-top,
  .nav-inner.has-mobile-quick-actions.is-mobile-open .nav-actions > .btn-cv-top,
  .nav-inner.has-mobile-quick-actions.is-mobile-open .nav-actions > .btn-download-portfolio {
    display: none;
  }

  .nav-actions .btn-small {
    flex: 0 0 auto;
    flex-basis: auto;
    min-width: 0;
    width: 100%;
    justify-content: center;
    min-height: 40px;
    padding: 0.6rem 0.86rem;
  }

  .btn-cv-top {
    grid-column: auto;
  }

  .lang-switcher {
    grid-column: 1;
    width: auto;
    min-width: 0;
    justify-content: center;
    justify-self: start;
    gap: 0.14rem;
    padding: 0.14rem;
    min-height: 40px;
    border-radius: 16px;
  }

  .portfolio-view-switch {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-content: stretch;
    padding: 0.16rem;
    gap: 0.14rem;
    border-radius: 18px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 9px 18px rgba(7, 17, 31, 0.1);
  }

  .portfolio-view-option {
    min-height: 35px;
    padding: 0.42rem 0.56rem;
    font-size: 0.73rem;
    letter-spacing: 0.015em;
    white-space: normal;
    line-height: 1.08;
  }

  .lang-option {
    min-height: 34px;
    min-width: 34px;
    padding: 0.44rem;
    gap: 0;
  }

  .lang-option .lang-code {
    display: none;
  }

  .lang-option .lang-flags {
    width: 1.02rem;
    height: 0.74rem;
  }

  .nav-inner.is-mobile-open .portfolio-view-switch {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .theme-toggle,
  .section-filter-toggle {
    width: 40px;
    min-width: 0;
    min-height: 40px;
    padding: 0;
    border-radius: 16px;
  }

  .theme-toggle {
    grid-column: 2;
    justify-self: end;
    min-width: 40px;
  }

  .theme-toggle .theme-toggle-track {
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  .theme-toggle .theme-toggle-switch-label {
    display: none;
  }

  .theme-toggle .theme-toggle-switch-control {
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    padding: 2px;
    border-radius: 999px;
  }

  .theme-toggle .theme-toggle-switch-control::after {
    display: none;
  }

  .theme-toggle .theme-toggle-switch-state {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: var(--text-muted);
    transition: opacity 0.22s ease, color 0.22s ease;
  }

  .theme-toggle .theme-toggle-switch-state-off {
    opacity: 1;
  }

  .theme-toggle[data-theme-state="dark"] .theme-toggle-switch-state-off {
    opacity: 0;
  }

  .theme-toggle[data-theme-state="dark"] .theme-toggle-switch-state-on {
    opacity: 1;
    color: #ffffff;
  }

  .theme-toggle .theme-toggle-switch-icon,
  .theme-toggle .theme-toggle-switch-icon svg {
    width: 15px;
    height: 15px;
  }

  .admin-mode-switch {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    grid-column: auto;
    width: auto;
    min-width: 78px;
    min-height: 36px;
    padding: 0.24rem 0.38rem 0.24rem 0.48rem;
    border-radius: 999px;
    justify-content: center;
    gap: 0.34rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
      radial-gradient(circle at top right, rgba(108, 171, 255, 0.1), transparent 46%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 24px rgba(7, 17, 31, 0.14);
  }

  .admin-mode-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 239, 248, 0.78);
    white-space: nowrap;
  }

  .admin-mode-toggle {
    width: auto;
    height: auto;
    margin-left: 0;
    justify-content: center;
  }

  .admin-mode-toggle-track {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    min-height: 24px;
    padding: 0;
    border-radius: 999px;
  }

  .admin-mode-toggle-track::after {
    inset: 2px;
    width: auto;
    border-radius: 999px;
    transform: none;
  }

  .admin-mode-switch[data-state="on"] .admin-mode-toggle-track::after {
    transform: none;
  }

  .admin-mode-toggle-state {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
  }

  .admin-mode-toggle-state svg {
    width: 12px;
    height: 12px;
  }

  .availability-banner {
    grid-template-columns: auto 1fr;
  }

  .top-update-inner {
    justify-content: flex-start;
    gap: 0.5rem;
    min-height: 0;
    padding: 0.34rem 0;
  }

  .top-update-text {
    width: 100%;
    gap: 0.42rem;
    min-height: 40px;
    padding: 0.34rem 0.62rem;
    border-radius: 15px;
    font-size: 0.73rem;
  }

  .top-update-icon {
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.54rem;
  }

  .top-update-badge {
    min-height: 18px;
    padding: 0.06rem 0.36rem;
    font-size: 0.58rem;
  }

  .top-update-meta {
    line-height: 1.2;
  }

  .top-update-admin-btn {
    width: 100%;
    min-height: 36px;
    justify-content: center;
    padding: 0.5rem 0.82rem;
    font-size: 0.74rem;
  }

  .btn-availability-cv {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .portfolio-view-option {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .lang-option {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }

  .lang-switcher {
    flex: 0 0 auto;
  }

  .nav-inner.is-mobile-open .nav-links::-webkit-scrollbar {
    display: none;
  }

  .brand-avatar {
    width: 2.5rem;
    height: 2.5rem;
    flex-basis: 2.5rem;
  }

  .brand {
    gap: 0.62rem;
  }

  .brand-copy {
    gap: 0.02rem;
    max-width: min(100%, 15.5rem);
  }

  .brand-title {
    font-size: 0.98rem;
    letter-spacing: 0.055em;
  }

  .brand small {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .fit-summary {
    padding: 0.95rem;
  }

  .fit-summary-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .fit-evidence-grid {
    grid-template-columns: 1fr;
  }

  .fit-action-row .btn,
  .btn-group .btn,
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .detail-tool-card {
    align-items: flex-start;
  }

  .detail-repo-link {
    width: 100%;
    flex-wrap: wrap;
  }

  body.vacuum-detail-page .detail-meta-row {
    grid-template-columns: 1fr;
  }

  .detail-repo-text {
    flex: 1 1 100%;
  }

  .quick-facts,
  .experience-stats,
  .feature-grid,
  .event-grid,
  .education-grid,
  .certificate-grid,
  .accomplishment-grid,
  .journey-milestones,
  .travel-grid,
  .journey-summary,
  .certificate-links,
  .journey-preview-grid,
  .topic-explore-grid,
  .faq-grid,
  .portfolio-map-grid,
  .project-grid,
  .keba-reading-grid,
  .keba-reading-grid-three,
  .detail-grid,
  .detail-meta-row,
  .detail-tools-grid,
  .review-metric-grid,
  .feedback-layout,
  .feedback-postform-grid,
  .feedback-process-list,
  .feedback-grid,
  .feedback-mode-options,
  .feedback-review-visibility-options,
  .feedback-hero-panel,
  .feedback-thank-you-actions,
  .feedback-thank-you-review-grid {
    grid-template-columns: 1fr;
  }

  .keba-reading-cta {
    flex-direction: column;
    align-items: start;
  }

  .hero {
    padding-top: 4.2rem;
  }

  body.portfolio-page:not(.detail-page) .top-update-bar {
    height: auto;
  }

  .hero-copy {
    padding: 1rem;
    border-radius: 28px;
  }

  .hero-grid > .hero-copy {
    order: 1;
  }

  .hero-grid > .hero-card {
    order: 2;
  }

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

  .journey-stage-track {
    display: none;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-greeting {
    margin-bottom: 0.18rem;
    font-size: 1.45rem;
  }

  .hero-role {
    font-size: 1.18rem;
  }

  .hero-experience-note {
    font-size: 0.95rem;
  }

  .route-points {
    flex-direction: column;
  }

  .route-line::before {
    inset: 10% 48%;
  }

  .route-globe {
    flex-basis: auto;
  }

  .route-map-frame {
    width: min(100%, 250px);
    height: min(100%, 250px);
  }

  .section-filter-grid {
    grid-template-columns: 1fr;
    max-height: min(46dvh, 380px);
  }

  .section-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-filter-actions-right {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .section-filter-actions .btn,
  .section-filter-actions-right .btn {
    width: 100%;
  }

  .section-filter-modal {
    place-items: end center;
    padding: 0.9rem;
  }

  .section-filter-dialog {
    width: min(100%, 100%);
    max-height: calc(100dvh - 1.2rem);
    padding: 1rem;
    border-radius: 24px 24px 18px 18px;
  }

  .section-filter-head h2 {
    font-size: 1.08rem;
  }

  .section-filter-head p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .section-filter-option {
    align-items: flex-start;
    min-height: 52px;
    padding: 0.82rem 0.9rem;
  }

  .admin-auth-actions {
    flex-direction: column-reverse;
  }

  .admin-auth-actions .btn {
    width: 100%;
  }

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

  .hero-support {
    padding: 0.2rem 0 1.5rem;
  }

  .hero-support-shell {
    padding: 0.92rem;
    grid-template-columns: 1fr;
  }

  .feedback-actions,
  .feedback-rating {
    justify-content: flex-start;
  }

  .hero-card-title {
    max-width: none;
  }
}

@media (max-width: 980px) and (min-width: 781px) {
  .nav-links {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 0.38rem;
    padding-bottom: 0.14rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

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

@media (max-width: 620px) {
  :root {
    --page-pad-x: 0.88rem;
    --scroll-offset: 118px;
  }

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

  .availability-banner {
    grid-template-columns: 1fr;
  }

  .btn-availability-cv {
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    gap: 0.36rem;
    padding: max(0.56rem, env(safe-area-inset-top)) 0 0.56rem;
  }

  .brand {
    flex-basis: calc(100% - 3.55rem);
    gap: 0.54rem;
  }

  .brand-avatar {
    width: 2.22rem;
    height: 2.22rem;
    flex-basis: 2.22rem;
  }

  .brand-copy {
    max-width: min(100%, 12.6rem);
  }

  .brand-title {
    font-size: 0.88rem;
    letter-spacing: 0.045em;
  }

  .brand small {
    display: none;
  }

  .mobile-nav-toggle {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 14px;
  }

  .mobile-nav-toggle svg {
    width: 17px;
    height: 17px;
  }

  .portfolio-view-switch {
    padding: 0.14rem;
    gap: 0.12rem;
    border-radius: 17px;
  }

  .portfolio-view-option {
    min-height: 33px;
    padding: 0.38rem 0.48rem;
    font-size: 0.7rem;
    line-height: 1.05;
  }

  .lang-switcher,
  .theme-toggle,
  .admin-mode-switch,
  .nav-actions .btn-small {
    min-height: 38px;
  }
}

@media (max-width: 420px) {
  .nav-inner {
    gap: 0.32rem;
    padding: max(0.5rem, env(safe-area-inset-top)) 0 0.5rem;
  }

  .brand {
    flex-basis: calc(100% - 3.3rem);
    gap: 0.48rem;
  }

  .brand-avatar {
    width: 2.06rem;
    height: 2.06rem;
    flex-basis: 2.06rem;
  }

  .brand-copy {
    max-width: min(100%, 11.2rem);
  }

  .brand-title {
    font-size: 0.8rem;
    letter-spacing: 0.032em;
  }

  .mobile-nav-toggle {
    width: 2.28rem;
    height: 2.28rem;
  }

  .portfolio-view-option {
    min-height: 32px;
    padding: 0.34rem 0.4rem;
    font-size: 0.67rem;
  }

  .nav-inner.is-mobile-open .nav-links,
  .nav-inner.is-mobile-open .nav-actions {
    grid-template-columns: 1fr;
  }

  .lang-switcher,
  .theme-toggle {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }

  .floating-page-actions {
    right: max(0.44rem, env(safe-area-inset-right));
    gap: 0.32rem;
  }

  .floating-page-action {
    width: 2.08rem;
    height: 2.08rem;
    border-radius: 10px;
  }

  .floating-page-action-icon,
  .floating-page-action-icon img {
    width: 0.82rem;
    height: 0.82rem;
  }

  .floating-page-action-icon svg {
    width: 0.78rem;
    height: 0.78rem;
  }

  .scroll-nav-button {
    width: 1.96rem;
    height: 1.96rem;
  }

  .scroll-nav-button-icon {
    width: 0.86rem;
    height: 0.86rem;
  }

  .scroll-nav-button-icon svg {
    width: 0.74rem;
    height: 0.74rem;
  }
}

@keyframes routePulseDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -180;
  }
}

.topic-explore-grid,
.portfolio-map-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 780px) {
  .section-heading::after {
    display: none;
  }

  .topic-explore-grid,
  .portfolio-map-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.topic-card,
.portfolio-map-card,
.portfolio-map-hero,
.related-links-block,
.faq-card {
  display: grid;
  gap: 0.95rem;
}

.portfolio-map-card {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.portfolio-map-card:hover {
  transform: translateY(-5px);
  border-color: rgba(89, 226, 188, 0.22);
  box-shadow: 0 20px 36px rgba(5, 15, 27, 0.18);
}

.faq-card {
  align-content: start;
  min-height: 100%;
}

.faq-card .btn {
  justify-self: start;
}

.homepage-disclosure-panel {
  display: grid;
  gap: 1rem;
  padding-top: 0.9rem;
}

.topic-link-list {
  display: grid;
  gap: 0.7rem;
}

.topic-link-list a {
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.topic-link-list a:hover {
  color: var(--accent);
}

.portfolio-map-hero {
  padding: 1.8rem;
}

.portfolio-map-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.portfolio-map-snapshot {
  display: grid;
  gap: 1rem;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 17, 29, 0.34);
  box-shadow: var(--shadow-soft);
}

.portfolio-map-snapshot-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.portfolio-map-profile {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.portfolio-map-profile-photo-wrap {
  position: relative;
  width: 7rem;
  height: 7rem;
  flex: 0 0 7rem;
  padding: 0.28rem;
  border-radius: 28px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    radial-gradient(circle at 28% 22%, rgba(128, 184, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(5, 15, 27, 0.16);
  overflow: hidden;
}

.portfolio-map-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-map-profile-copy {
  display: grid;
  gap: 0.26rem;
}

.portfolio-map-profile-copy strong {
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.portfolio-map-profile-copy span {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.56;
}

.portfolio-map-snapshot-list {
  display: grid;
  gap: 0.85rem;
}

.portfolio-map-snapshot-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.portfolio-map-snapshot-item:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.22);
  box-shadow: 0 16px 28px rgba(5, 15, 27, 0.14);
}

.portfolio-map-snapshot-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

[data-theme="light"] .portfolio-map-snapshot {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 28px rgba(33, 54, 87, 0.07);
}

[data-theme="light"] .portfolio-map-snapshot-item {
  border-color: rgba(10, 22, 38, 0.07);
  background: rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .portfolio-map-profile-photo-wrap {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at 28% 22%, rgba(31, 111, 235, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 22px rgba(33, 54, 87, 0.08);
}

.portfolio-map-card .btn {
  justify-self: start;
}

.portfolio-map-actions .btn {
  min-width: 176px;
}

.related-links-block {
  margin-top: 1.2rem;
  padding: 1.4rem;
}

@media (max-width: 980px) {
  .portfolio-map-hero-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-map-hero .feedback-hero-copy {
    max-width: none;
  }

  .portfolio-map-hero .feedback-hero-copy h1 {
    max-width: 12ch;
  }

  .portfolio-map-snapshot {
    order: 2;
  }
}

@media (max-width: 780px) {
  .portfolio-map-hero {
    padding: 1rem;
    border-radius: 24px;
  }

  .portfolio-map-hero-shell {
    gap: 0.85rem;
  }

  .portfolio-map-hero .feedback-hero-copy {
    gap: 0.72rem;
  }

  .portfolio-map-hero .feedback-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.3rem, 10.8vw, 3.15rem);
    line-height: 0.98;
  }

  .portfolio-map-hero .feedback-hero-copy .lead {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .portfolio-map-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .portfolio-map-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .portfolio-map-snapshot {
    padding: 0.92rem;
    gap: 0.78rem;
    border-radius: 20px;
  }

  .portfolio-map-snapshot-head {
    gap: 0.6rem;
    padding-bottom: 0.65rem;
  }

  .portfolio-map-profile {
    align-items: start;
    gap: 0.9rem;
  }

  .portfolio-map-profile-photo-wrap {
    width: 5.2rem;
    height: 5.2rem;
    flex-basis: 5.2rem;
    border-radius: 22px;
  }

  .portfolio-map-profile-photo {
    border-radius: 18px;
  }

  .portfolio-map-profile-copy strong {
    font-size: 1.02rem;
  }

  .portfolio-map-profile-copy span,
  .portfolio-map-snapshot-note {
    font-size: 0.94rem;
  }

  .portfolio-map-snapshot-item {
    padding: 0.82rem 0.88rem;
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 3.85rem 0 2.2rem;
  }

  .card,
  .timeline-item,
  .project-card,
  .detail-block,
  .detail-tool-card,
  .fit-summary,
  .fit-evidence-card,
  .review-card,
  .contact-card,
  .event-card,
  .travel-card,
  .feature-card,
  .certificate-card,
  .achievement-card,
  .pill-card,
  .portfolio-map-card,
  .faq-card,
  .feedback-form-card,
  .feedback-side-card,
  .feedback-public-review-card {
    border-radius: 20px;
  }

  .timeline-item,
  .project-card,
  .detail-block,
  .detail-tool-card,
  .fit-summary,
  .fit-evidence-card,
  .review-card,
  .contact-card,
  .event-card,
  .travel-card,
  .feature-card,
  .certificate-card,
  .achievement-card,
  .portfolio-map-card,
  .faq-card,
  .feedback-form-card,
  .feedback-side-card,
  .feedback-public-review-card {
    padding: 0.92rem;
  }

  .chips,
  .btn-group,
  .hero-actions {
    gap: 0.55rem;
  }

  .chip,
  .project-tag,
  .meta-pill,
  .badge {
    padding: 0.34rem 0.58rem;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
  }

  body.portfolio-page:not(.detail-page) .hero-card {
    width: min(100%, 17.6rem);
    padding: 0.54rem;
  }

  body.portfolio-page:not(.detail-page) .hero-photo-frame {
    max-width: 15.95rem;
    padding: 0.4rem;
    border-radius: 24px;
  }

  body.portfolio-page:not(.detail-page) .hero-photo {
    border-radius: 18px;
  }

  body.portfolio-page:not(.detail-page) .hero-copy {
    gap: 0;
    padding: 0.92rem;
    border-radius: 22px;
  }

  .section {
    padding: 1.45rem 0;
  }

  .portfolio-map-hero {
    padding: 0.95rem;
  }

  .portfolio-map-hero .feedback-hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(2rem, 11vw, 2.7rem);
    letter-spacing: -0.05em;
  }

  .hero-intro-title {
    max-width: none;
  }

  .hero-greeting {
    font-size: 1.28rem;
  }

  .hero-role {
    font-size: 1.05rem;
  }

  .hero-experience-note {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .portfolio-map-snapshot-head,
  .portfolio-map-profile {
    grid-template-columns: 1fr;
  }

  .portfolio-map-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-map-profile-photo-wrap {
    width: 5rem;
    height: 5rem;
    flex-basis: 5rem;
  }

  .portfolio-map-snapshot-head {
    display: grid;
    justify-content: start;
  }

  .top-update-text {
    gap: 0.34rem;
    min-height: 38px;
    padding: 0.3rem 0.58rem;
  }

  .top-update-badge {
    min-height: 17px;
    padding: 0.05rem 0.32rem;
    font-size: 0.54rem;
  }

  .top-update-meta {
    font-size: 0.69rem;
  }

  .mobile-top-quick-actions {
    gap: 0.5rem;
    padding-top: 0.46rem;
    padding-bottom: 0;
  }

  .mobile-top-quick-actions .btn-mobile-quick {
    min-height: 34px;
    padding: 0.46rem 0.68rem;
    font-size: 0.67rem;
    letter-spacing: 0.02em;
    border-radius: 13px;
  }

  .floating-page-actions {
    right: max(0.55rem, env(safe-area-inset-right));
    gap: 0.38rem;
    top: auto;
    bottom: calc(max(5.4rem, env(safe-area-inset-bottom)) + 7.2rem);
  }

  .floating-page-action {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 11px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 12px 22px rgba(7, 17, 31, 0.14);
  }

  .floating-page-action-icon {
    width: 1.02rem;
    height: 1.02rem;
  }

  .floating-page-action-icon svg {
    width: 0.88rem;
    height: 0.88rem;
  }

  .floating-page-action-icon img {
    width: 0.88rem;
    height: 0.88rem;
  }

  .scroll-direction-buttons {
    left: max(0.55rem, env(safe-area-inset-left));
    bottom: calc(max(0.55rem, env(safe-area-inset-bottom)) + 3.65rem);
    gap: 0.38rem;
  }

  .scroll-nav-button {
    width: 2.1rem;
    height: 2.1rem;
  }

  .scroll-nav-button-icon {
    width: 0.96rem;
    height: 0.96rem;
  }

  .scroll-nav-button-icon svg {
    width: 0.8rem;
    height: 0.8rem;
  }

  body.has-page-back-button .scroll-direction-buttons {
    bottom: calc(max(0.55rem, env(safe-area-inset-bottom)) + 6.95rem);
  }

  .portfolio-view-switch {
    gap: 0.14rem;
    padding: 0.14rem;
    border-radius: 18px;
  }

  .portfolio-view-option {
    min-height: 34px;
    padding: 0.42rem 0.5rem;
    font-size: 0.69rem;
    letter-spacing: 0.01em;
  }

  .portfolio-map-snapshot-item strong {
    font-size: 1rem;
    line-height: 1.28;
  }

  .timeline-header,
  .review-section-head,
  .portfolio-map-snapshot-head {
    gap: 0.48rem;
  }
}

@media (max-width: 900px) and (max-height: 760px) {
  .floating-page-actions {
    right: max(0.45rem, env(safe-area-inset-right));
    gap: 0.34rem;
  }

  .floating-page-action {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
  }

  .floating-page-action-icon {
    width: 1.05rem;
    height: 1.05rem;
  }

  .floating-page-action-icon svg {
    width: 0.92rem;
    height: 0.92rem;
  }

  .floating-page-action-icon img {
    width: 0.96rem;
    height: 0.96rem;
  }

  .scroll-direction-buttons {
    left: max(0.45rem, env(safe-area-inset-left));
    gap: 0.34rem;
  }

  .scroll-nav-button {
    width: 2.25rem;
    height: 2.25rem;
  }

  .scroll-nav-button-icon {
    width: 1rem;
    height: 1rem;
  }

  .scroll-nav-button-icon svg {
    width: 0.86rem;
    height: 0.86rem;
  }
}

.review-prompt {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: 1.15rem;
  z-index: 1160;
  width: min(390px, calc(100vw - 2rem));
  padding: 1.05rem 1.05rem 1rem;
  border: 1px solid rgba(114, 181, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(25, 38, 58, 0.97), rgba(17, 27, 42, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 60px rgba(5, 12, 22, 0.34);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-prompt::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(89, 226, 188, 0.72), rgba(114, 181, 255, 0));
}

.review-prompt[hidden] {
  display: none !important;
}

.review-prompt.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

body.review-prompt-active .help-bot:not(.is-open) {
  bottom: calc(1rem + var(--review-prompt-offset, 0px));
}

body.help-bot-open .review-prompt {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
}

body.review-prompt-modal-open .help-bot {
  opacity: 0;
  pointer-events: none;
}

.review-prompt-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.review-prompt-close:hover,
.review-prompt-close:focus-visible {
  border-color: rgba(89, 226, 188, 0.34);
  background: rgba(89, 226, 188, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.review-prompt-kicker {
  display: inline-flex;
  color: #7ef0cf;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.review-prompt-persona {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-right: 2.7rem;
}

.review-prompt-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 0.14rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 28% 22%, rgba(128, 184, 255, 0.24), transparent 56%);
  border: 1px solid rgba(128, 184, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

.review-prompt-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 18%;
}

.review-prompt-persona-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.review-prompt-intro {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.review-prompt-persona-note {
  margin: 0;
  color: rgba(205, 222, 241, 0.78);
  font-size: 0.85rem;
  line-height: 1.45;
}

.review-prompt-title {
  margin: 0 0 0.55rem;
  max-width: 17ch;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  line-height: 1.18;
}

.review-prompt-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.review-prompt-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
  margin-top: 1rem;
}

.review-prompt-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.review-prompt-action:hover,
.review-prompt-action:focus-visible {
  transform: translateY(-1px);
}

.review-prompt-action-primary {
  border: 1px solid rgba(89, 226, 188, 0.3);
  background: linear-gradient(135deg, rgba(89, 226, 188, 0.94), rgba(114, 181, 255, 0.92));
  box-shadow: 0 16px 32px rgba(75, 162, 214, 0.18);
  color: #102033;
}

.review-prompt-action-contact {
  cursor: pointer;
  font: inherit;
}

.review-prompt-action-feedback {
  border: 1px solid rgba(120, 155, 188, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.review-prompt-action-secondary {
  min-height: auto;
  margin-top: 0.18rem;
  padding: 0.18rem 0;
  border: none;
  background: transparent;
  color: rgba(205, 222, 241, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  justify-content: center;
  box-shadow: none;
}

.review-prompt-action-secondary:hover,
.review-prompt-action-secondary:focus-visible {
  transform: none;
  color: var(--text);
}

.review-prompt-note {
  margin: 0.78rem 0 0;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(120, 155, 188, 0.16);
  color: rgba(205, 222, 241, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}

.review-prompt-modal[hidden] {
  display: none !important;
}

.review-prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 1210;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.review-prompt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.62);
  backdrop-filter: blur(10px);
}

.review-prompt-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(27, 40, 58, 0.98), rgba(18, 28, 43, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 64px rgba(6, 14, 24, 0.34);
}

.review-prompt-modal-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.review-prompt-modal-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.review-prompt-modal-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.review-prompt-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.review-prompt-modal-close:hover,
.review-prompt-modal-close:focus-visible {
  border-color: rgba(89, 226, 188, 0.34);
  background: rgba(89, 226, 188, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.review-prompt-contact-form {
  display: grid;
  gap: 1rem;
}

.review-prompt-contact-grid {
  gap: 0.9rem;
}

.review-prompt-contact-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.review-prompt-contact-status[data-state="success"] {
  color: #7ef0cf;
}

.review-prompt-contact-status[data-state="error"] {
  color: #f2b4bb;
}

.review-prompt-contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
}

body.review-prompt-modal-open {
  overflow: hidden;
}

[data-theme="light"] .review-prompt {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 56px rgba(33, 54, 87, 0.14);
}

[data-theme="light"] .review-prompt::before {
  background: linear-gradient(90deg, rgba(2, 139, 112, 0.5), rgba(31, 111, 235, 0));
}

[data-theme="light"] .review-prompt-close {
  border-color: rgba(21, 44, 74, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #5f7087;
}

[data-theme="light"] .review-prompt-kicker {
  color: #157b72;
}

[data-theme="light"] .review-prompt-avatar {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 252, 0.82)),
    radial-gradient(circle at 28% 22%, rgba(31, 111, 235, 0.12), transparent 56%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .review-prompt-intro,
[data-theme="light"] .review-prompt-title {
  color: #15314a;
}

[data-theme="light"] .review-prompt-copy {
  color: #5f7087;
}

[data-theme="light"] .review-prompt-action-feedback {
  border-color: rgba(21, 44, 74, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: #17314c;
}

[data-theme="light"] .review-prompt-action-secondary {
  color: #5f7087;
}

[data-theme="light"] .review-prompt-persona-note {
  color: #5f7087;
}

[data-theme="light"] .review-prompt-note {
  border-top-color: rgba(21, 44, 74, 0.08);
  color: #5f7087;
}

[data-theme="light"] .review-prompt-modal-dialog {
  border-color: rgba(21, 44, 74, 0.1);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 24px 52px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .review-prompt-modal-close {
  border-color: rgba(21, 44, 74, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #5f7087;
}

[data-theme="light"] .review-prompt-modal-head p {
  color: #5f7087;
}

[data-theme="light"] .review-prompt-modal-backdrop {
  background: rgba(219, 229, 240, 0.58);
}

.help-bot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1170;
  pointer-events: none;
  --help-bot-surface: rgba(8, 15, 28, 0.96);
  --help-bot-surface-soft: rgba(255, 255, 255, 0.05);
  --help-bot-border: rgba(89, 226, 188, 0.16);
  --help-bot-border-strong: rgba(128, 184, 255, 0.18);
  --help-bot-shadow: 0 38px 82px rgba(4, 10, 20, 0.42);
  --help-bot-accent: #82d9d0;
  --help-bot-accent-soft: rgba(89, 226, 188, 0.14);
  --help-bot-panel-width: min(468px, calc(100vw - 1.5rem));
  transition: opacity 0.24s ease, transform 0.24s ease;
}

body.portfolio-page:not(.detail-page):not(.homepage-first-fold-complete) .floating-page-actions {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(12px, -50%, 0);
}

body.portfolio-page:not(.detail-page):not(.homepage-first-fold-complete) .help-bot:not(.is-open) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
}

body.portfolio-page:not(.detail-page):not(.homepage-first-fold-complete) .help-bot:not(.is-open) .help-bot-nudge,
body.portfolio-page:not(.detail-page):not(.homepage-first-fold-complete) .help-bot:not(.is-open) .help-bot-launcher-presence {
  display: none !important;
}

body.help-bot-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.help-bot > * {
  pointer-events: auto;
}

.help-bot-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(6, 12, 22, 0.44);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.help-bot.is-open .help-bot-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.help-bot-dock {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 0.56rem;
  isolation: isolate;
}

.help-bot.is-open .help-bot-dock {
  pointer-events: none;
}

.help-bot.is-open .help-bot-panel,
.help-bot.is-open .help-bot-backdrop {
  pointer-events: auto;
}

.help-bot-nudge {
  position: relative;
  z-index: 3;
  max-width: 258px;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.78rem 0.84rem 0.8rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top left, rgba(89, 226, 188, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(10, 18, 32, 0.92);
  box-shadow: 0 24px 44px rgba(6, 13, 24, 0.28);
  transform-origin: calc(100% - 44px) calc(100% + 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    visibility 260ms ease;
}

.help-bot-nudge::after {
  content: "";
  position: absolute;
  right: 2.15rem;
  bottom: -0.52rem;
  width: 1.02rem;
  height: 1.02rem;
  border-right: 1px solid rgba(89, 226, 188, 0.18);
  border-bottom: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(10, 18, 32, 0.94);
  transform: rotate(45deg);
}

.help-bot.is-nudge-visible .help-bot-nudge {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: helpBotNudgeFloat 3.4s ease-in-out infinite;
}

.help-bot.is-open .help-bot-nudge {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.94);
  animation: none;
}

.help-bot.is-open.is-inline-nudge-visible .help-bot-nudge {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.94);
  animation: none;
}

.help-bot.is-open.is-inline-nudge-visible .help-bot-launcher-core {
  animation: helpBotLauncherGreeting 1.4s ease-in-out;
}

.help-bot:not(.is-open):not(.is-nudge-visible) .help-bot-launcher-core {
  animation: helpBotLauncherIdle 4.8s ease-in-out infinite;
}

.help-bot-nudge-body {
  min-width: 0;
}

.help-bot-nudge-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.35rem;
  margin-bottom: 0.34rem;
  padding: 0 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.22);
  background: rgba(89, 226, 188, 0.08);
  color: #82d9d0;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-bot-nudge-text {
  margin: 0;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.48;
}

.help-bot-nudge-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 0.02rem;
  padding: 0;
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.help-bot-nudge-close:hover,
.help-bot-nudge-close:focus-visible {
  border-color: rgba(128, 184, 255, 0.24);
  background: rgba(128, 184, 255, 0.12);
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}

.help-bot-launcher {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 110px;
  height: 128px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.help-bot-launcher-orbit {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 7px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(89, 226, 188, 0.34), transparent 62%),
    radial-gradient(circle at center, rgba(128, 184, 255, 0.24), transparent 75%);
  filter: blur(10px);
  opacity: 0.9;
  animation: helpBotOrbitPulse 2.6s ease-in-out infinite;
}

.help-bot-launcher-core {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transition: transform 180ms ease, filter 180ms ease;
}

.help-bot-launcher:hover .help-bot-launcher-core,
.help-bot-launcher:focus-visible .help-bot-launcher-core {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 22px 34px rgba(6, 13, 24, 0.28));
}

.help-bot-launcher:focus-visible {
  outline: none;
}

.help-bot-launcher-mark,
.help-bot-panel-mark {
  display: inline-grid;
  place-items: center;
}

.help-bot-art {
  display: block;
  width: 100%;
  height: auto;
}

.help-bot-launcher-mark {
  width: 110px;
  transform-origin: bottom center;
}

.help-bot-art-launcher {
  width: 110px;
  filter: drop-shadow(0 20px 30px rgba(8, 14, 24, 0.24));
}

.help-bot-launcher-presence[hidden] {
  display: none !important;
}

.help-bot-launcher-presence {
  position: absolute;
  right: 0.6rem;
  bottom: 7.2rem;
  z-index: 2;
  display: grid;
  gap: 0.22rem;
  width: min(162px, calc(100vw - 7.4rem));
  max-width: min(162px, calc(100vw - 7.4rem));
  padding: 0.48rem 0.62rem 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.2);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(10, 18, 31, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 28px rgba(5, 11, 21, 0.24);
  backdrop-filter: blur(16px);
  pointer-events: none;
  transform-origin: bottom right;
}

.help-bot-launcher-presence::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 10%, rgba(130, 217, 208, 0.1) 50%, transparent 90%);
  opacity: 0;
  pointer-events: none;
}

.help-bot:not(.is-open):not(.is-nudge-visible) .help-bot-launcher-presence::after {
  opacity: 0.86;
  animation: helpBotStatusScan 3.4s linear infinite;
}

.help-bot-launcher-presence-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.06rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.08);
  color: #8fe7dd;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.help-bot-launcher-presence-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.help-bot-launcher-presence-greeting {
  color: rgba(236, 245, 255, 0.94);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.22;
}

.help-bot-launcher-presence-status {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
  color: rgba(201, 217, 235, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.24;
}

.help-bot-launcher-presence-status-emoji {
  flex: 0 0 auto;
  font-size: 0.8rem;
}

.help-bot-launcher-presence-status-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-bot.is-nudge-visible:not(.is-open) .help-bot-launcher-presence {
  display: none !important;
}

.help-bot.is-nudge-visible .help-bot-launcher-presence {
  display: none !important;
}

.help-bot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.55rem);
  width: var(--help-bot-panel-width);
  max-height: min(72vh, calc(100vh - 7.5rem), 700px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 32px;
  border: 1px solid var(--help-bot-border);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.16), transparent 28%),
    radial-gradient(circle at 14% 18%, rgba(128, 184, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(10, 18, 32, 0.98), rgba(7, 14, 26, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    var(--help-bot-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 280ms ease;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(18px);
}

.help-bot-panel::before,
.help-bot-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.help-bot-panel::before {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top center, rgba(130, 217, 208, 0.12), transparent 46%);
  opacity: 0.72;
}

.help-bot-panel::after {
  top: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 217, 208, 0.54), transparent);
  opacity: 0.94;
}

.help-bot.is-open .help-bot-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: helpBotPanelGlow 5.6s ease-in-out infinite;
}

.help-bot.is-open .help-bot-panel-head,
.help-bot.is-open .help-bot-messages,
.help-bot.is-open .help-bot-composer {
  animation: helpBotPanelLayerIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.help-bot.is-open .help-bot-messages {
  animation-delay: 0.06s;
}

.help-bot.is-open .help-bot-composer {
  animation-delay: 0.12s;
}

.help-bot-panel-head {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.88rem;
  padding: 1rem 1.02rem 0.88rem;
  border-bottom: 1px solid rgba(122, 214, 196, 0.12);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(18, 40, 52, 0.94), rgba(14, 30, 42, 0.9));
  backdrop-filter: blur(14px);
}

.help-bot-panel-head::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: -1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(89, 226, 188, 0.08), rgba(89, 226, 188, 0));
  pointer-events: none;
  opacity: 0.85;
}

.help-bot-panel-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.76rem;
  min-width: 0;
  flex: 1 1 auto;
}

.help-bot-panel-mark-shell {
  position: relative;
  display: inline-grid;
  align-items: start;
  z-index: 1;
}

.help-bot-panel-mark-shell::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(89, 226, 188, 0.26), rgba(89, 226, 188, 0));
  filter: blur(16px);
  opacity: 0.5;
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
  z-index: -1;
}

.help-bot-panel-mark {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  border: 1px solid rgba(128, 184, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 26px rgba(7, 14, 24, 0.16);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.help-bot-art-panel {
  width: 38px;
}

.help-bot-panel-presence {
  position: absolute;
  top: -0.25rem;
  left: calc(100% - 0.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 28px;
  max-width: 188px;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background: rgba(9, 18, 31, 0.92);
  color: rgba(225, 244, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(5, 11, 20, 0.22);
  backdrop-filter: blur(14px);
  transform-origin: left center;
  animation: helpBotPresenceIn 260ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.help-bot-panel-presence[hidden],
.help-bot-panel-status-chip[hidden] {
  display: none !important;
}

.help-bot-panel-presence,
.help-bot-panel-status-chip,
.help-bot-panel-greeting {
  display: none !important;
}

.help-bot-panel-presence-emoji,
.help-bot-panel-status-emoji {
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.help-bot-panel-presence-text,
.help-bot-panel-status-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-bot-panel-copy {
  min-width: 0;
  max-width: 31ch;
  display: grid;
  gap: 0.12rem;
}

.help-bot-panel-topline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
}

.help-bot-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.18rem;
  color: #82d9d0;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-bot-panel-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 1.42rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.16);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.05);
  color: rgba(226, 244, 255, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  max-width: 100%;
  min-width: 0;
}

.help-bot-panel-greeting {
  display: block;
  margin: 0 0 0.24rem;
  color: rgba(226, 244, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.help-bot-panel-title {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.help-bot-panel-lead {
  margin: 0.26rem 0 0;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-bot-panel-actions {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.help-bot-panel-badge,
.help-bot-panel-status-text {
  min-width: 0;
}

.help-bot-head-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.5rem 0.72rem;
  border-radius: 13px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.help-bot-head-btn:hover,
.help-bot-head-btn:focus-visible {
  border-color: rgba(128, 184, 255, 0.24);
  background: rgba(128, 184, 255, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.help-bot-head-btn-close {
  width: 38px;
  padding-inline: 0;
  font-size: 1rem;
  line-height: 1;
}

.help-bot-head-btn-reset {
  white-space: nowrap;
}

.help-bot-head-btn-reset-icon {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.96rem;
  line-height: 1;
  color: currentColor;
  opacity: 0.92;
}

.help-bot-head-btn-reset-label {
  display: inline-block;
}

.help-bot-head-btn-info {
  width: 38px;
  min-width: 38px;
  padding-inline: 0;
  font-size: 0;
  letter-spacing: 0;
}

.help-bot-head-btn-info > span {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 217, 208, 0.28);
  color: #dff8f4;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.help-bot.is-privacy-open .help-bot-head-btn-info {
  border-color: rgba(89, 226, 188, 0.28);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 44%),
    rgba(89, 226, 188, 0.12);
}

.help-bot-privacy-sheet {
  position: absolute;
  top: 5.35rem;
  right: 0.95rem;
  width: min(390px, calc(100% - 1.9rem));
  max-height: min(62vh, 540px);
  z-index: 4;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0.95rem;
  padding: 1.08rem 1.08rem 1rem;
  border: 1px solid rgba(121, 211, 194, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(128, 184, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.985), rgba(8, 15, 28, 0.985));
  backdrop-filter: blur(20px);
  box-shadow:
    0 24px 44px rgba(5, 11, 20, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.help-bot-privacy-sheet[hidden] {
  display: none !important;
}

.help-bot-privacy-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.help-bot-privacy-sheet-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.help-bot-privacy-sheet-kicker {
  display: inline-flex;
  margin-bottom: 0.18rem;
  color: #82d9d0;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.help-bot-privacy-sheet-title {
  display: block;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.help-bot-privacy-sheet-lead {
  margin: 0.22rem 0 0;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.62;
}

.help-bot-privacy-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 1.06rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.help-bot-privacy-close:hover,
.help-bot-privacy-close:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.24);
  background: rgba(89, 226, 188, 0.1);
}

.help-bot-privacy-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.52rem;
}

.help-bot-privacy-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 0.78rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.help-bot-privacy-tab:hover,
.help-bot-privacy-tab:focus-visible,
.help-bot-privacy-tab.is-active {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.24);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(89, 226, 188, 0.12), rgba(89, 226, 188, 0.08));
}

.help-bot-privacy-sheet-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.24rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(130, 217, 208, 0.24) transparent;
}

.help-bot-privacy-sheet-body::-webkit-scrollbar {
  width: 8px;
}

.help-bot-privacy-sheet-body::-webkit-scrollbar-track {
  background: transparent;
}

.help-bot-privacy-sheet-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(130, 217, 208, 0.3), rgba(128, 184, 255, 0.18));
}

.help-bot-privacy-section {
  min-height: auto;
}

.help-bot-privacy-facts,
.help-bot-privacy-copy-stack {
  display: grid;
  gap: 0.78rem;
}

.help-bot-privacy-fact {
  padding: 0.86rem 0.94rem;
  border-radius: 20px;
  border: 1px solid rgba(89, 226, 188, 0.1);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.07), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 18px rgba(5, 11, 20, 0.12);
}

.help-bot-privacy-fact-label,
.help-bot-privacy-section-heading {
  display: block;
  margin-bottom: 0.3rem;
  color: #f1fbff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.help-bot-privacy-fact-value,
.help-bot-privacy-section-text {
  margin: 0;
  color: rgba(203, 219, 236, 0.88);
  font-size: 0.76rem;
  line-height: 1.68;
}

.help-bot-privacy-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(8, 16, 28, 0), rgba(8, 16, 28, 0.18));
}

.help-bot-privacy-action-btn {
  width: 100%;
  min-height: 44px;
}

.help-bot-messages {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  min-height: 0;
  padding: 0.88rem 0.96rem 0.96rem;
  scroll-behavior: smooth;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top left, rgba(89, 226, 188, 0.035), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(128, 184, 255, 0.045), transparent 20%),
    linear-gradient(180deg, rgba(9, 18, 31, 0.9), rgba(8, 15, 27, 0.95));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(130, 217, 208, 0.26) transparent;
}

.help-bot-messages::-webkit-scrollbar {
  width: 10px;
}

.help-bot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.help-bot-messages::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(130, 217, 208, 0.34), rgba(128, 184, 255, 0.2));
  background-clip: padding-box;
}

.help-bot-composer {
  position: relative;
  z-index: 1;
  padding: 0.82rem 0.96rem 0.92rem;
  border-top: 1px solid rgba(124, 169, 214, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 28, 42, 0.96), rgba(15, 24, 36, 0.98)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

.help-bot-composer:focus-within {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -12px 24px rgba(6, 13, 24, 0.16);
}

.help-bot-composer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.56rem;
  align-items: end;
}

.help-bot-composer-input,
.help-bot-composer-textarea {
  min-width: 0;
  min-height: 44px;
  padding: 0.74rem 0.92rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.help-bot-composer-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

.help-bot-composer-input::placeholder,
.help-bot-composer-textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.82;
}

.help-bot-composer-input:focus-visible,
.help-bot-composer-textarea:focus-visible {
  outline: none;
  border-color: rgba(89, 226, 188, 0.28);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(89, 226, 188, 0.12);
}

.help-bot-composer-submit {
  min-height: 44px;
  padding: 0.72rem 0.92rem;
  border-radius: 16px;
  border: 1px solid rgba(89, 226, 188, 0.2);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(89, 226, 188, 0.1);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(6, 13, 24, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.help-bot-composer-submit:hover,
.help-bot-composer-submit:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(89, 226, 188, 0.3);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.2), transparent 42%),
    rgba(89, 226, 188, 0.14);
  box-shadow: 0 12px 24px rgba(6, 13, 24, 0.18);
}

.help-bot.is-sending .help-bot-composer-submit {
  animation: helpBotChoiceConfirm 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.help-bot.is-bot-busy .help-bot-composer-submit {
  transform: none;
  opacity: 0.76;
  filter: saturate(0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.help-bot-composer-warning {
  margin: 0.58rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(203, 219, 236, 0.62);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.01em;
}

.help-bot-composer-note {
  margin: 0.58rem 0 0;
  color: #f1b4b4;
  font-size: 0.75rem;
  line-height: 1.45;
}

.help-bot-composer-note[data-state="info"] {
  color: #9cded4;
}

.help-bot-message {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  opacity: 0;
  animation: helpBotMessageRowIn 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.help-bot-message.is-user {
  justify-content: flex-end;
  gap: 0;
}

.help-bot-message-stack {
  display: grid;
  justify-items: start;
  gap: 0.22rem;
  max-width: min(100%, 382px);
}

.help-bot-message-avatar {
  display: none;
}

.help-bot-art-avatar {
  width: 22px;
  filter: drop-shadow(0 4px 8px rgba(6, 13, 24, 0.16));
}

.help-bot-message-name {
  display: none;
}

.help-bot-bubble {
  position: relative;
  max-width: 100%;
  padding: 0.82rem 0.88rem;
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(6, 13, 24, 0.12);
  animation: helpBotMessageIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.help-bot-stagger-item {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--help-bot-stagger-index, 0) * 80ms);
}

.help-bot-bubble.is-mounted .help-bot-stagger-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.help-bot-message.is-bot .help-bot-bubble {
  border: 1px solid rgba(89, 226, 188, 0.14);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.03);
}

.help-bot-message.is-bot .help-bot-bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.03));
  opacity: 0.7;
  pointer-events: none;
}

.help-bot-message.is-bot .help-bot-bubble::before {
  content: none;
}

.help-bot-message.is-user .help-bot-bubble {
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(89, 226, 188, 0.16), rgba(128, 184, 255, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.065);
  border-bottom-right-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(7, 14, 24, 0.14);
}

.help-bot-message.is-user .help-bot-bubble::before {
  content: none;
}

@media (min-width: 1180px) {
  .help-bot {
    right: 1.1rem;
    bottom: 1rem;
  }

  .help-bot-panel {
    width: min(560px, calc(100vw - 2.5rem));
    max-height: min(66vh, calc(100vh - 7.75rem), 640px);
    border-radius: 32px;
  }

  .help-bot-panel-copy {
    max-width: 34ch;
  }

  .help-bot-panel-title {
    font-size: 1.1rem;
  }

  .help-bot-panel-lead {
    font-size: 0.82rem;
  }

  .help-bot-messages {
    gap: 1rem;
    padding: 1.05rem 1.18rem 1.12rem;
  }

  .help-bot-composer,
  .help-bot-options-shell {
    padding-inline: 1.18rem;
  }

  .help-bot-message-stack {
    max-width: min(92%, 430px);
  }

  .help-bot-bubble {
    padding: 0.94rem 1rem;
  }
}

@media (min-width: 1540px) {
  .help-bot-panel {
    width: min(620px, calc(100vw - 3rem));
    max-height: min(68vh, calc(100vh - 7.75rem), 700px);
  }

  .help-bot-panel-copy {
    max-width: 38ch;
  }

  .help-bot-panel-presence {
    max-width: 220px;
  }

  .help-bot-message-stack {
    max-width: min(92%, 456px);
  }
}

@media (min-width: 1920px) {
  .help-bot {
    right: 1.35rem;
    bottom: 1.15rem;
  }

  .help-bot-panel {
    width: min(640px, calc(100vw - 3.4rem));
    max-height: min(70vh, calc(100vh - 7.75rem), 740px);
  }

  .help-bot-panel-copy {
    max-width: 40ch;
  }

  .help-bot-messages {
    padding: 1.12rem 1.24rem 1.16rem;
  }

  .help-bot-composer,
  .help-bot-options-shell {
    padding-inline: 1.24rem;
  }
}

@media (min-width: 1180px) and (max-height: 760px) {
  .help-bot-panel {
    max-height: min(62vh, calc(100vh - 7.2rem), 580px);
  }

  .help-bot-panel-head {
    padding: 1rem 1rem 0.88rem;
  }
}

.help-bot-bubble p {
  margin: 0;
  color: var(--text);
  font-size: 0.89rem;
  line-height: 1.68;
}

.help-bot-bubble p strong {
  color: #f4fffd;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.help-bot-bubble p + p {
  margin-top: 0.45rem;
}

.help-bot-bubble.is-typing {
  display: inline-flex;
  align-items: center;
  min-width: 144px;
  min-height: 66px;
  padding-inline: 1.02rem;
}

.help-bot-typing {
  display: grid;
  gap: 0.38rem;
  position: relative;
}

.help-bot-typing-label {
  color: rgba(220, 239, 250, 0.86);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.help-bot-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  position: relative;
}

.help-bot-typing-dots span {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: rgba(126, 240, 207, 0.92);
  opacity: 0.28;
  animation: helpBotTypingDots 1.05s ease-in-out infinite;
}

.help-bot-typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.help-bot-typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.help-bot-typing[data-mode="searching"] .help-bot-typing-label {
  color: #9ce8dc;
}

.help-bot-typing[data-mode="thinking"] .help-bot-typing-label {
  color: #c6d8ff;
}

.help-bot-typing::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.18rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 184, 255, 0.48), rgba(89, 226, 188, 0.42), transparent);
  opacity: 0.58;
}

.help-bot-typing[data-mode="searching"]::after {
  animation: helpBotStatusScan 1.6s linear infinite;
}

.help-bot-typing[data-mode="thinking"] .help-bot-typing-dots span {
  background: rgba(158, 190, 255, 0.96);
}

.help-bot-typing[data-mode="searching"] .help-bot-typing-dots span {
  background: rgba(126, 240, 207, 0.96);
}

.help-bot-bubble p.is-revealing {
  opacity: 0.94;
  letter-spacing: 0.01em;
}

.help-bot-message-link.is-acknowledged,
.help-bot-message-option.is-acknowledged,
.help-bot-card.is-acknowledged {
  animation: helpBotChoiceConfirm 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  border-color: rgba(89, 226, 188, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 18px rgba(7, 14, 24, 0.16),
    0 0 0 1px rgba(89, 226, 188, 0.08);
}

.help-bot[data-help-bot-mood="ready"] .help-bot-panel-mark,
.help-bot[data-help-bot-mood="done"] .help-bot-panel-mark {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(7, 14, 24, 0.16),
    0 0 0 1px rgba(89, 226, 188, 0.08);
}

.help-bot[data-help-bot-mood="searching"] .help-bot-panel-mark-shell::after {
  background: linear-gradient(90deg, rgba(89, 226, 188, 0), rgba(89, 226, 188, 0.3), rgba(89, 226, 188, 0));
  animation: helpBotStatusScan 1.8s linear infinite;
}

.help-bot[data-help-bot-mood="warning"] .help-bot-panel-mark,
.help-bot[data-help-bot-mood="warning"] .help-bot-message-avatar {
  border-color: rgba(255, 110, 110, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 110, 110, 0.12),
    0 14px 28px rgba(7, 14, 24, 0.18);
}

.help-bot[data-help-bot-mood="warning"] .help-bot-panel-presence,
.help-bot[data-help-bot-mood="warning"] .help-bot-panel-status-chip {
  border-color: rgba(255, 110, 110, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 110, 110, 0.2), transparent 42%),
    rgba(38, 14, 18, 0.92);
}

.help-bot[data-help-bot-mood="warning"] .help-bot-launcher-presence {
  border-color: rgba(255, 110, 110, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 110, 110, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(33, 14, 18, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 28px rgba(16, 7, 10, 0.24);
}

.help-bot[data-help-bot-mood="name"] .help-bot-panel-mark-shell::after,
.help-bot[data-help-bot-mood="listening"] .help-bot-panel-mark-shell::after {
  transform: scale(1.04);
  opacity: 0.66;
}

.help-bot[data-help-bot-mood="name"] .help-bot-launcher-presence,
.help-bot[data-help-bot-mood="listening"] .help-bot-launcher-presence {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 34px rgba(5, 11, 21, 0.28),
    0 0 0 1px rgba(89, 226, 188, 0.08);
}

.help-bot[data-help-bot-mood="thinking"] .help-bot-panel-mark-shell::after,
.help-bot[data-help-bot-mood="guiding"] .help-bot-panel-mark-shell::after {
  animation: helpBotStatusPulse 2.2s ease-in-out infinite;
}

.help-bot[data-help-bot-mood="thinking"] .help-bot-launcher-presence::after,
.help-bot[data-help-bot-mood="guiding"] .help-bot-launcher-presence::after,
.help-bot[data-help-bot-mood="searching"] .help-bot-launcher-presence::after {
  opacity: 0.9;
  animation: helpBotStatusScan 1.8s linear infinite;
}

.help-bot-message-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.48rem;
  margin-top: 0.7rem;
}

.help-bot-cards {
  display: grid;
  gap: 0.62rem;
  margin-top: 0.72rem;
}

.help-bot-card {
  display: grid;
  gap: 0.34rem;
  padding: 0.76rem 0.82rem 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(128, 184, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.help-bot-card.is-interactive {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.help-bot-card.is-interactive::after {
  content: "";
  position: absolute;
  right: 0.92rem;
  top: 50%;
  width: 0.44rem;
  height: 0.44rem;
  border-top: 2px solid rgba(143, 231, 221, 0.78);
  border-right: 2px solid rgba(143, 231, 221, 0.78);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.64;
  transition: transform 180ms ease, opacity 180ms ease;
}

.help-bot-card.is-interactive:hover,
.help-bot-card.is-interactive:focus-visible {
  border-color: rgba(89, 226, 188, 0.28);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 28px rgba(6, 13, 24, 0.2);
  transform: translateY(-2px);
  filter: saturate(1.04);
  outline: none;
}

.help-bot-card.is-interactive:hover::after,
.help-bot-card.is-interactive:focus-visible::after {
  opacity: 1;
  transform: translate(2px, -50%) rotate(45deg);
}

.help-bot-card.is-interactive:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(6, 13, 24, 0.16);
}

.help-bot-card-badge,
.help-bot-button-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 1.2rem;
  padding: 0 0.44rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background: rgba(89, 226, 188, 0.1);
  color: #8de5d9;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-bot-card-title {
  color: var(--text);
  font-size: 0.83rem;
  line-height: 1.34;
  letter-spacing: 0.01em;
}

.help-bot-card-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.73rem;
  line-height: 1.5;
}

.help-bot-message-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.46rem;
  margin-top: 0.72rem;
}

.help-bot-message-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  min-height: 38px;
  padding: 0.54rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 226, 188, 0.18);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 42%),
    rgba(89, 226, 188, 0.09);
  color: var(--text);
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.help-bot-message-link:hover,
.help-bot-message-link:focus-visible {
  border-color: rgba(89, 226, 188, 0.28);
  background: rgba(89, 226, 188, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.help-bot-message-option {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  min-height: 40px;
  padding: 0.58rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  width: 100%;
}

.help-bot-message-option:hover,
.help-bot-message-option:focus-visible {
  border-color: rgba(89, 226, 188, 0.28);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 42%),
    rgba(89, 226, 188, 0.09);
  box-shadow: 0 12px 24px rgba(6, 13, 24, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.help-bot-message-option.is-low-priority {
  border-color: rgba(128, 184, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-weight: 600;
  opacity: 0.84;
}

.help-bot-message-option.is-low-priority:hover,
.help-bot-message-option.is-low-priority:focus-visible {
  border-color: rgba(128, 184, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.help-bot-message-option.is-end-chat {
  order: 999;
  grid-column: 1 / -1;
  width: 100%;
  border-color: rgba(128, 184, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
  color: var(--text-soft);
  font-weight: 650;
}

.help-bot-message-option.is-end-chat:hover,
.help-bot-message-option.is-end-chat:focus-visible {
  border-color: rgba(128, 184, 255, 0.16);
  background: rgba(255, 255, 255, 0.034);
  box-shadow: none;
  transform: none;
}

.help-bot-button-label {
  display: inline-block;
  line-height: 1.25;
}

.help-bot-options-shell {
  position: relative;
  z-index: 1;
  padding: 0.95rem 1.12rem 1.08rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

.help-bot-options-label {
  margin: 0 0 0.72rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.help-bot-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.help-bot-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.68rem 0.94rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.help-bot-option:hover,
.help-bot-option:focus-visible {
  border-color: rgba(89, 226, 188, 0.26);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 42%),
    rgba(89, 226, 188, 0.09);
  box-shadow: 0 12px 24px rgba(6, 13, 24, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-panel,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-panel {
  width: min(548px, calc(100vw - 1.5rem));
  max-height: min(64vh, calc(100vh - 8rem), 620px);
  border-color: rgba(255, 194, 104, 0.16);
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.98), rgba(9, 15, 24, 0.985)),
    radial-gradient(circle at top right, rgba(255, 194, 104, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(73, 196, 168, 0.1), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 36px 78px rgba(3, 7, 14, 0.52);
}

@media (min-width: 1540px) {
  .help-bot[data-help-bot-role="recruiter"] .help-bot-panel,
  .help-bot[data-help-bot-role="hiringManager"] .help-bot-panel {
    max-height: min(66vh, calc(100vh - 8rem), 660px);
  }
}

@media (min-width: 1920px) {
  .help-bot[data-help-bot-role="recruiter"] .help-bot-panel,
  .help-bot[data-help-bot-role="hiringManager"] .help-bot-panel {
    max-height: min(68vh, calc(100vh - 8rem), 700px);
  }
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-panel-head,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-head {
  gap: 0.82rem;
  padding: 0.9rem 0.96rem 0.78rem;
  border-bottom-color: rgba(255, 194, 104, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 24, 34, 0.92), rgba(10, 14, 22, 0.68));
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-panel-mark,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-mark,
.help-bot[data-help-bot-role="recruiter"] .help-bot-head-btn,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-head-btn {
  border-color: rgba(255, 194, 104, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 194, 104, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.04);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-panel-badge,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-badge {
  color: #ffd08a;
  letter-spacing: 0.12em;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-panel-title,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-title {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-panel-lead,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-lead {
  color: rgba(226, 234, 242, 0.8);
  max-width: 38ch;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  line-height: 1.48;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-messages,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-messages {
  gap: 0.88rem;
  padding: 0.92rem 0.96rem 0.94rem;
  background:
    linear-gradient(180deg, rgba(255, 194, 104, 0.03), transparent 16%),
    radial-gradient(circle at top left, rgba(255, 194, 104, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message-name,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message-name {
  color: #ffd08a;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message-avatar,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message-avatar {
  border-color: rgba(255, 194, 104, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 194, 104, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message.is-bot .help-bot-bubble,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message.is-bot .help-bot-bubble {
  border-color: rgba(255, 194, 104, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top right, rgba(255, 194, 104, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.028);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message.is-bot .help-bot-bubble::before,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message.is-bot .help-bot-bubble::before {
  content: none;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message.is-user .help-bot-bubble,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message.is-user .help-bot-bubble {
  border-radius: 18px 18px 10px 18px;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-cards,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-card,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-card {
  min-height: 126px;
  border-color: rgba(255, 194, 104, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.024);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-card.is-interactive:hover,
.help-bot[data-help-bot-role="recruiter"] .help-bot-card.is-interactive:focus-visible,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-card.is-interactive:hover,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-card.is-interactive:focus-visible {
  border-color: rgba(255, 194, 104, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 194, 104, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.038);
  box-shadow:
    0 18px 30px rgba(3, 7, 14, 0.24),
    0 0 0 1px rgba(255, 194, 104, 0.08);
  transform: translateY(-2px) scale(1.01);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-card.is-interactive::after,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-card.is-interactive::after {
  border-top-color: rgba(255, 208, 138, 0.88);
  border-right-color: rgba(255, 208, 138, 0.88);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-card-badge,
.help-bot[data-help-bot-role="recruiter"] .help-bot-button-badge,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-card-badge,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-button-badge {
  border-color: rgba(255, 194, 104, 0.14);
  background: rgba(255, 194, 104, 0.1);
  color: #ffd08a;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message-actions,
.help-bot[data-help-bot-role="recruiter"] .help-bot-message-options,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message-actions,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message-options {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-message-link,
.help-bot[data-help-bot-role="recruiter"] .help-bot-message-option,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message-link,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-message-option {
  min-height: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-composer,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer,
.help-bot[data-help-bot-role="recruiter"] .help-bot-options-shell,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-options-shell {
  padding: 0.72rem 0.96rem 0.8rem;
  border-top-color: rgba(255, 194, 104, 0.12);
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-composer-form,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer-form {
  gap: 0.52rem;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-composer-input,
.help-bot[data-help-bot-role="recruiter"] .help-bot-composer-textarea,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer-input,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer-textarea {
  min-height: 42px;
  padding: 0.74rem 0.88rem;
  font-size: 0.8rem;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-composer-submit,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer-submit {
  min-height: 42px;
  padding: 0.74rem 1rem;
  font-size: 0.78rem;
}

.help-bot[data-help-bot-role="recruiter"] .help-bot-composer-warning,
.help-bot[data-help-bot-role="recruiter"] .help-bot-composer-note,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer-warning,
.help-bot[data-help-bot-role="hiringManager"] .help-bot-composer-note {
  font-size: 0.62rem;
  line-height: 1.34;
}

[data-theme="light"] .help-bot-nudge {
  border-color: rgba(10, 22, 38, 0.1);
  background:
    radial-gradient(circle at top left, rgba(2, 139, 112, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
  box-shadow: 0 24px 44px rgba(33, 54, 87, 0.12);
}

[data-theme="light"] .help-bot-nudge::after {
  border-right-color: rgba(10, 22, 38, 0.1);
  border-bottom-color: rgba(10, 22, 38, 0.1);
  background: rgba(252, 254, 255, 0.98);
}

[data-theme="light"] .help-bot-nudge-badge {
  border-color: rgba(2, 139, 112, 0.18);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .help-bot-nudge-text {
  color: #15314a;
}

[data-theme="light"] .help-bot-nudge-close {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #607186;
}

[data-theme="light"] .help-bot-backdrop {
  background: rgba(219, 229, 240, 0.5);
}

[data-theme="light"] .help-bot-panel {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(31, 111, 235, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 252, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 32px 68px rgba(33, 54, 87, 0.14);
}

[data-theme="light"] .help-bot-messages {
  scrollbar-color: rgba(21, 123, 114, 0.22) transparent;
}

[data-theme="light"] .help-bot-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(21, 123, 114, 0.24), rgba(31, 111, 235, 0.16));
  background-clip: padding-box;
}

[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-panel,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-panel {
  border-color: rgba(176, 126, 39, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97)),
    radial-gradient(circle at top right, rgba(176, 126, 39, 0.08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(2, 139, 112, 0.08), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 36px 72px rgba(33, 54, 87, 0.16);
}

[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-panel-head,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-head {
  border-bottom-color: rgba(176, 126, 39, 0.12);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(250, 252, 255, 0.78));
}

[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-panel-mark,
[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-head-btn,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-mark,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-head-btn {
  border-color: rgba(176, 126, 39, 0.12);
  background:
    radial-gradient(circle at top right, rgba(176, 126, 39, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-panel-badge,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-panel-badge,
[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-message-name,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-message-name {
  color: #9b6a12;
}

[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-card,
[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-message.is-bot .help-bot-bubble,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-card,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-message.is-bot .help-bot-bubble {
  border-color: rgba(176, 126, 39, 0.12);
}

[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-card-badge,
[data-theme="light"] .help-bot[data-help-bot-role="recruiter"] .help-bot-button-badge,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-card-badge,
[data-theme="light"] .help-bot[data-help-bot-role="hiringManager"] .help-bot-button-badge {
  border-color: rgba(176, 126, 39, 0.16);
  background: rgba(176, 126, 39, 0.08);
  color: #9b6a12;
}

[data-theme="light"] .help-bot-panel-head,
[data-theme="light"] .help-bot-options-shell,
[data-theme="light"] .help-bot-composer {
  border-color: rgba(10, 22, 38, 0.08);
}

[data-theme="light"] .help-bot-panel-head {
  border-bottom-color: rgba(21, 93, 86, 0.12);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(232, 244, 244, 0.98), rgba(223, 236, 239, 0.94));
}

[data-theme="light"] .help-bot-panel-mark,
[data-theme="light"] .help-bot-head-btn {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .help-bot-head-btn-info {
  border-color: rgba(21, 49, 74, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

[data-theme="light"] .help-bot-head-btn-info > span {
  border-color: rgba(21, 123, 114, 0.28);
  background: rgba(21, 123, 114, 0.08);
  color: #17675f;
}

[data-theme="light"] .help-bot-privacy-sheet {
  border-color: rgba(10, 22, 38, 0.1);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.99));
}

[data-theme="light"] .help-bot-panel-badge {
  color: #157b72;
}

[data-theme="light"] .help-bot-panel-presence,
[data-theme="light"] .help-bot-panel-status-chip {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #15314a;
}

[data-theme="light"] .help-bot-launcher-presence {
  border-color: rgba(10, 22, 38, 0.1);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 32px rgba(21, 44, 74, 0.14);
}

[data-theme="light"] .help-bot-launcher-presence-badge {
  border-color: rgba(2, 139, 112, 0.14);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .help-bot-launcher-presence-greeting {
  color: #15314a;
}

[data-theme="light"] .help-bot-launcher-presence-status {
  color: #607186;
}

[data-theme="light"] .help-bot-panel-greeting,
[data-theme="light"] .help-bot-privacy-sheet-title,
[data-theme="light"] .help-bot-privacy-fact-label,
[data-theme="light"] .help-bot-privacy-section-heading {
  color: #15314a;
}

[data-theme="light"] .help-bot-messages {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 252, 255, 0.92)),
    radial-gradient(circle at top left, rgba(2, 139, 112, 0.04), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(89, 137, 214, 0.05), transparent 20%);
}

[data-theme="light"] .help-bot-composer {
  border-top-color: rgba(21, 44, 74, 0.08);
  background:
    linear-gradient(180deg, rgba(236, 241, 247, 0.96), rgba(228, 235, 243, 0.98)),
    rgba(255, 255, 255, 0.84);
}

[data-theme="light"] .help-bot-panel-lead,
[data-theme="light"] .help-bot-options-label {
  color: #607186;
}

[data-theme="light"] .help-bot-privacy-sheet-lead,
[data-theme="light"] .help-bot-privacy-fact-value,
[data-theme="light"] .help-bot-privacy-section-text {
  color: #607186;
}

[data-theme="light"] .help-bot-privacy-close,
[data-theme="light"] .help-bot-privacy-tab,
[data-theme="light"] .help-bot-privacy-fact {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .help-bot-privacy-tab.is-active {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.1), transparent 42%),
    rgba(2, 139, 112, 0.08);
}

[data-theme="light"] .help-bot-message-avatar {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .help-bot-message-name {
  color: #157b72;
}

[data-theme="light"] .help-bot-card {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .help-bot-card.is-interactive:hover,
[data-theme="light"] .help-bot-card.is-interactive:focus-visible {
  border-color: rgba(2, 139, 112, 0.24);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .help-bot-card.is-interactive::after {
  border-top-color: rgba(21, 123, 114, 0.82);
  border-right-color: rgba(21, 123, 114, 0.82);
}

[data-theme="light"] .help-bot-card-badge,
[data-theme="light"] .help-bot-button-badge {
  border-color: rgba(2, 139, 112, 0.18);
  background: rgba(2, 139, 112, 0.08);
  color: #157b72;
}

[data-theme="light"] .help-bot-card-text {
  color: #607186;
}

[data-theme="light"] .help-bot-message.is-bot .help-bot-bubble {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .help-bot-message.is-bot .help-bot-bubble::before {
  content: none;
}

[data-theme="light"] .help-bot-message.is-user .help-bot-bubble {
  border-color: rgba(31, 111, 235, 0.12);
  background:
    linear-gradient(135deg, rgba(2, 139, 112, 0.12), rgba(31, 111, 235, 0.1)),
    rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .help-bot-message.is-user .help-bot-bubble::before {
  content: none;
}

[data-theme="light"] .help-bot-typing-dots span {
  background: rgba(21, 123, 114, 0.92);
}

[data-theme="light"] .help-bot-message-link {
  border-color: rgba(2, 139, 112, 0.18);
  background: rgba(2, 139, 112, 0.08);
  color: #15314a;
}

[data-theme="light"] .help-bot-message-option {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #15314a;
}

[data-theme="light"] .help-bot-message-option:hover,
[data-theme="light"] .help-bot-message-option:focus-visible {
  border-color: rgba(2, 139, 112, 0.24);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .help-bot-composer-input,
[data-theme="light"] .help-bot-composer-textarea {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: #15314a;
}

[data-theme="light"] .help-bot-composer-input::placeholder,
[data-theme="light"] .help-bot-composer-textarea::placeholder {
  color: #607186;
}

[data-theme="light"] .help-bot-composer-input:focus-visible,
[data-theme="light"] .help-bot-composer-textarea:focus-visible {
  border-color: rgba(2, 139, 112, 0.22);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(2, 139, 112, 0.1);
}

[data-theme="light"] .help-bot-composer-note {
  color: #b34b4b;
}

[data-theme="light"] .help-bot-composer-warning {
  color: #708096;
}

[data-theme="light"] .help-bot-composer-submit {
  border-color: rgba(2, 139, 112, 0.18);
  color: #15314a;
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 42%),
    rgba(2, 139, 112, 0.08);
}

[data-theme="light"] .help-bot-composer-submit:hover,
[data-theme="light"] .help-bot-composer-submit:focus-visible {
  border-color: rgba(2, 139, 112, 0.26);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.14), transparent 42%),
    rgba(2, 139, 112, 0.12);
}

[data-theme="light"] .help-bot-option {
  border-color: rgba(10, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #15314a;
}

[data-theme="light"] .help-bot-message-option.is-low-priority {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(21, 49, 74, 0.72);
}

[data-theme="light"] .help-bot-message-option.is-end-chat {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(21, 49, 74, 0.78);
}

[data-theme="light"] .help-bot-bubble p strong {
  color: #0f2f47;
}

[data-theme="light"] .help-bot-message-option.is-low-priority:hover,
[data-theme="light"] .help-bot-message-option.is-low-priority:focus-visible {
  border-color: rgba(10, 22, 38, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

[data-theme="light"] .help-bot-message-option.is-end-chat:hover,
[data-theme="light"] .help-bot-message-option.is-end-chat:focus-visible {
  border-color: rgba(10, 22, 38, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

[data-theme="light"] .help-bot-option:hover,
[data-theme="light"] .help-bot-option:focus-visible {
  border-color: rgba(2, 139, 112, 0.24);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.92);
}

@keyframes helpBotOrbitPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.82;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes helpBotNudgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes helpBotInlineGreeting {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  55% {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes helpBotLauncherGreeting {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  18% {
    transform: translateY(-2px) rotate(-4deg);
  }
  36% {
    transform: translateY(-5px) rotate(5deg);
  }
  54% {
    transform: translateY(-2px) rotate(-3deg);
  }
  72% {
    transform: translateY(-1px) rotate(2deg);
  }
}

@keyframes helpBotPanelGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03),
      0 38px 82px rgba(4, 10, 20, 0.42);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(255, 255, 255, 0.03),
      0 42px 88px rgba(4, 10, 20, 0.46);
  }
}

@keyframes helpBotMessageRowIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes helpBotMessageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes helpBotTypingDots {
  0%, 80%, 100% {
    transform: translateY(0) scale(0.86);
    opacity: 0.28;
  }
  40% {
    transform: translateY(-3px) scale(1);
    opacity: 1;
  }
}

@keyframes helpBotPresenceIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes helpBotStatusPulse {
  0%, 100% {
    opacity: 0.48;
    transform: scale(1);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.08);
  }
}

@keyframes helpBotStatusScan {
  0% {
    transform: translateX(-22%) scale(0.96);
    opacity: 0;
  }
  20% {
    opacity: 0.84;
  }
  100% {
    transform: translateX(22%) scale(1.02);
    opacity: 0;
  }
}

/* Premium interaction layer */
.hero-name-accent {
  background: linear-gradient(90deg, var(--accent-strong), #dffcf5, var(--accent), var(--accent-strong));
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: premiumTextFlow 7.5s ease-in-out infinite;
}

.hero-role {
  position: relative;
  width: fit-content;
  padding-bottom: 0.34rem;
}

.hero-role::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(89, 226, 188, 0), rgba(89, 226, 188, 0.88), rgba(128, 184, 255, 0.72), rgba(128, 184, 255, 0));
  transform-origin: left center;
  animation: premiumRoleSignal 4.8s ease-in-out infinite;
}

.hero-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  transform-style: preserve-3d;
}

@media (hover: hover) and (pointer: fine) {
  .hero-card.is-tilt-ready:hover {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
  }
}

.hero-card.is-tilt-ready .hero-photo-frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 44px rgba(5, 13, 25, 0.16),
    0 0 0 1px rgba(89, 226, 188, 0.06);
}

.hero-photo-frame::before,
.hero-photo-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero-photo-frame::before {
  inset: 0.72rem;
  border-radius: 20px;
  border: 1px solid rgba(89, 226, 188, 0.13);
  background:
    linear-gradient(90deg, rgba(89, 226, 188, 0.34), rgba(89, 226, 188, 0)) top left / 34% 1px no-repeat,
    linear-gradient(180deg, rgba(128, 184, 255, 0.34), rgba(128, 184, 255, 0)) top left / 1px 34% no-repeat,
    linear-gradient(270deg, rgba(89, 226, 188, 0.28), rgba(89, 226, 188, 0)) bottom right / 34% 1px no-repeat,
    linear-gradient(0deg, rgba(128, 184, 255, 0.28), rgba(128, 184, 255, 0)) bottom right / 1px 34% no-repeat;
  opacity: 0.86;
}

.hero-photo-frame::after {
  left: 0.9rem;
  right: 0.9rem;
  top: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.62), rgba(128, 184, 255, 0.44), transparent);
  filter: drop-shadow(0 0 8px rgba(89, 226, 188, 0.24));
  animation: premiumPortraitScan 5.8s ease-in-out infinite;
}

.hero-card.is-tilt-ready::before {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.2), transparent 36%),
    radial-gradient(circle, rgba(89, 226, 188, 0.14), rgba(89, 226, 188, 0));
}

.hero-actions .btn-primary::after,
.btn-availability-cv::after,
.btn-cv-top::after,
.btn-download-portfolio::after {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateX(-1px);
  opacity: 0.72;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero-actions .btn-primary:hover::after,
.hero-actions .btn-primary:focus-visible::after,
.btn-availability-cv:hover::after,
.btn-availability-cv:focus-visible::after,
.btn-cv-top:hover::after,
.btn-cv-top:focus-visible::after,
.btn-download-portfolio:hover::after,
.btn-download-portfolio:focus-visible::after {
  opacity: 1;
  transform: rotate(45deg) translate(3px, -3px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn:focus-visible {
  outline: none;
  border-color: rgba(89, 226, 188, 0.42);
  box-shadow:
    0 0 0 3px rgba(89, 226, 188, 0.13),
    var(--shadow-soft);
}

.project-card {
  --spot-x: 50%;
  --spot-y: 50%;
  isolation: isolate;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.18), transparent 26%),
    linear-gradient(180deg, transparent 0%, rgba(6, 14, 25, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.project-card:hover::before,
.project-card.is-pointer-lit::before {
  opacity: 1;
}

.project-image {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.project-card:hover .project-image,
.project-card:focus-visible .project-image {
  transform: scale(1.055);
  filter: saturate(1.1) contrast(1.04);
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-card:hover .project-icon,
.skill-card:hover .icon-box {
  animation: premiumIconLift 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-tag {
  animation: premiumTagWake 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-card:hover .project-tag:nth-child(2) {
  animation-delay: 0.04s;
}

.project-card:hover .project-tag:nth-child(3) {
  animation-delay: 0.08s;
}

.project-card:hover .project-card-cta {
  transform: translateY(-1px);
}

.skill-card {
  isolation: isolate;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.08), transparent),
    radial-gradient(circle at 18% 0, rgba(128, 184, 255, 0.12), transparent 30%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 0.28s ease, transform 0.42s ease;
}

.skill-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.skill-signal-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
  margin: 0.82rem 0 0;
}

.skill-signal-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(128, 184, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.035);
  color: color-mix(in srgb, var(--text) 88%, var(--accent-strong) 12%);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.skill-card:hover .skill-signal-list span {
  animation: premiumTagWake 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.skill-card:hover .skill-signal-list span:nth-child(2) {
  animation-delay: 0.04s;
}

.skill-card:hover .skill-signal-list span:nth-child(3) {
  animation-delay: 0.08s;
}

.skill-card:hover .skill-signal-list span:nth-child(4) {
  animation-delay: 0.12s;
}

.experience-timeline {
  --timeline-rail-left: 0.68rem;
  padding-left: 1.55rem;
}

.experience-timeline::before {
  inset: 0.35rem auto 0.35rem var(--timeline-rail-left);
  width: 2px;
  height: auto;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(89, 226, 188, 0), rgba(89, 226, 188, 0.72), rgba(128, 184, 255, 0.54), rgba(255, 194, 104, 0.34), rgba(89, 226, 188, 0));
  box-shadow: 0 0 18px rgba(89, 226, 188, 0.22);
  animation: premiumTimelineRail 5.2s ease-in-out infinite;
}

.timeline-item {
  isolation: isolate;
}

.timeline-item.current {
  border-color: rgba(89, 226, 188, 0.28);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(89, 226, 188, 0.08);
}

.timeline-item.current .badge {
  position: relative;
  overflow: hidden;
}

.timeline-item.current .badge::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -28%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-16deg);
  animation: premiumBadgeSweep 3.6s ease-in-out infinite;
}

.timeline-item:hover {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(89, 226, 188, 0.14);
}

.reveal-on-scroll {
  --reveal-distance: 24px;
  --reveal-scale: 0.992;
  --reveal-duration: 0.68s;
  filter: blur(7px);
}

.help-bot {
  --help-bot-panel-width: min(452px, calc(100vw - 1.5rem));
}

.help-bot-panel {
  border-radius: 26px;
}

.help-bot.is-open .help-bot-panel {
  animation: none;
}

.help-bot-launcher {
  width: 96px;
  height: 112px;
}

.help-bot-launcher-mark,
.help-bot-art-launcher {
  width: 96px;
}

.help-bot-nudge {
  max-width: 242px;
  border-radius: 18px;
}

.help-bot-panel-title {
  letter-spacing: 0;
}

.help-bot-message-link,
.help-bot-message-option,
.help-bot-card {
  border-radius: 14px;
}

.help-bot-message-link,
.help-bot-message-option {
  position: relative;
}

.help-bot-message-link::after,
.help-bot-message-option:not(.is-end-chat)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.62rem;
  width: 0.38rem;
  height: 0.38rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translateY(-50%) rotate(45deg) translate(-2px, 2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.help-bot-message-link:hover::after,
.help-bot-message-link:focus-visible::after,
.help-bot-message-option:not(.is-end-chat):hover::after,
.help-bot-message-option:not(.is-end-chat):focus-visible::after {
  opacity: 0.72;
  transform: translateY(-50%) rotate(45deg) translate(1px, -1px);
}

[data-theme="light"] .skill-signal-list span {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.72);
  color: #17314c;
}

@keyframes premiumTextFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes premiumRoleSignal {
  0%, 100% {
    transform: scaleX(0.42);
    opacity: 0.58;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes premiumPortraitScan {
  0%, 100% {
    transform: translateY(-18px);
    opacity: 0;
  }
  20%, 72% {
    opacity: 0.82;
  }
  50% {
    transform: translateY(178px);
  }
}

@keyframes premiumIconLift {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  44% {
    transform: translateY(-4px) scale(1.04);
  }
}

@keyframes premiumTagWake {
  0% {
    transform: translateY(6px);
    opacity: 0.72;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes premiumTimelineRail {
  0%, 100% {
    opacity: 0.62;
    filter: saturate(0.9);
  }
  50% {
    opacity: 1;
    filter: saturate(1.2);
  }
}

@keyframes premiumBadgeSweep {
  0%, 45% {
    transform: translateX(-120%) skewX(-16deg);
    opacity: 0;
  }
  62% {
    opacity: 0.72;
  }
  100% {
    transform: translateX(520%) skewX(-16deg);
    opacity: 0;
  }
}

/* Premium standards pass */
.hero-support-shell {
  overflow: hidden;
}

.hero-support-shell::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.62), rgba(128, 184, 255, 0.52), transparent);
  opacity: 0.78;
  transform: translateX(-36%);
  animation: premiumPanelRail 7.2s ease-in-out infinite;
  pointer-events: none;
}

.availability-banner {
  position: relative;
  overflow: hidden;
}

.availability-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(89, 226, 188, 0.12) 42%, rgba(128, 184, 255, 0.1) 52%, transparent 66%);
  transform: translateX(-120%);
  animation: premiumAvailabilitySweep 8s ease-in-out infinite;
  pointer-events: none;
}

.availability-banner > * {
  position: relative;
  z-index: 1;
}

.availability-banner .status-dot {
  box-shadow:
    0 0 0 0 rgba(89, 226, 188, 0.26),
    0 0 18px rgba(89, 226, 188, 0.22);
  animation: premiumStatusPulse 2.8s ease-in-out infinite;
}

.fact-box,
.snapshot-link-card,
.skill-signal-list span,
.project-tag {
  backface-visibility: hidden;
}

.project-tag {
  position: relative;
  overflow: hidden;
}

.fact-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.fact-box::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  right: 0.82rem;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(128, 184, 255, 0), rgba(128, 184, 255, 0.58), rgba(89, 226, 188, 0.66), rgba(89, 226, 188, 0));
  opacity: 0.58;
  transform: scaleX(0.42);
  transform-origin: left center;
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.fact-box:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 226, 188, 0.28);
  box-shadow: 0 18px 30px rgba(4, 11, 22, 0.16);
}

.fact-box:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.snapshot-link-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(89, 226, 188, 0.08));
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.snapshot-link-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.34s ease,
    box-shadow 0.34s ease,
    filter 0.34s ease;
}

.project-card:hover {
  filter: saturate(1.04);
}

.project-card-cta::after {
  content: "";
  position: absolute;
  left: 0.74rem;
  right: 0.74rem;
  bottom: 0.42rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.82), transparent);
  opacity: 0;
  transform: scaleX(0.24);
  transition: opacity 0.22s ease, transform 0.28s ease;
}

.project-card:hover .project-card-cta::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.project-icon {
  position: relative;
  overflow: hidden;
}

.project-icon::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 180deg, transparent, rgba(255, 255, 255, 0.26), transparent 34%);
  opacity: 0;
  transform: rotate(0deg);
}

.project-card:hover .project-icon::after {
  opacity: 0.72;
  animation: premiumIconSweep 1.1s ease both;
}

.skill-signal-list span {
  position: relative;
  overflow: hidden;
}

.skill-signal-list span::after,
.project-tag::after {
  content: "";
  position: absolute;
  inset: -1px auto -1px -45%;
  width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-16deg);
  opacity: 0;
}

.skill-card:hover .skill-signal-list span::after,
.project-card:hover .project-tag::after {
  animation: premiumChipSweep 1.1s ease both;
}

.skill-card:hover .skill-signal-list span:nth-child(2)::after,
.project-card:hover .project-tag:nth-child(2)::after {
  animation-delay: 0.08s;
}

.skill-card:hover .skill-signal-list span:nth-child(3)::after,
.project-card:hover .project-tag:nth-child(3)::after {
  animation-delay: 0.14s;
}

.skill-card:hover .skill-signal-list span:nth-child(4)::after {
  animation-delay: 0.2s;
}

.experience-timeline .timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.55rem - 7px);
  top: 1.7rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(89, 226, 188, 0.48);
  background: #07111f;
  box-shadow:
    0 0 0 5px rgba(89, 226, 188, 0.08),
    0 0 18px rgba(89, 226, 188, 0.18);
  z-index: 2;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.experience-timeline .timeline-item.current::before {
  border-color: rgba(89, 226, 188, 0.92);
  background: var(--accent-strong);
  animation: premiumTimelineNode 2.6s ease-in-out infinite;
}

.experience-timeline .timeline-item:hover::before {
  transform: scale(1.16);
  border-color: rgba(128, 184, 255, 0.82);
  box-shadow:
    0 0 0 7px rgba(128, 184, 255, 0.1),
    0 0 22px rgba(89, 226, 188, 0.24);
}

.section-heading h2 {
  background: linear-gradient(90deg, var(--text), color-mix(in srgb, var(--accent-strong) 58%, var(--text) 42%), var(--text));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading.visible h2 {
  animation: premiumHeadingFlow 5.8s ease-in-out both;
}

[data-theme="light"] .experience-timeline .timeline-item::before {
  background: #f4f9ff;
  box-shadow:
    0 0 0 5px rgba(2, 139, 112, 0.08),
    0 0 16px rgba(31, 111, 235, 0.12);
}

[data-theme="light"] .experience-timeline .timeline-item.current::before {
  background: #028b70;
}

@keyframes premiumPanelRail {
  0%, 100% {
    transform: translateX(-36%) scaleX(0.5);
    opacity: 0.34;
  }
  50% {
    transform: translateX(36%) scaleX(1);
    opacity: 0.9;
  }
}

@keyframes premiumAvailabilitySweep {
  0%, 42% {
    transform: translateX(-120%);
    opacity: 0;
  }
  55% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes premiumStatusPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(89, 226, 188, 0),
      0 0 18px rgba(89, 226, 188, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(89, 226, 188, 0.1),
      0 0 24px rgba(89, 226, 188, 0.34);
  }
}

@keyframes premiumIconSweep {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }
  30% {
    opacity: 0.74;
  }
  100% {
    transform: rotate(240deg);
    opacity: 0;
  }
}

@keyframes premiumChipSweep {
  0% {
    transform: translateX(0) skewX(-16deg);
    opacity: 0;
  }
  35% {
    opacity: 0.72;
  }
  100% {
    transform: translateX(420%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes premiumTimelineNode {
  0%, 100% {
    box-shadow:
      0 0 0 5px rgba(89, 226, 188, 0.08),
      0 0 18px rgba(89, 226, 188, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(89, 226, 188, 0.12),
      0 0 28px rgba(89, 226, 188, 0.34);
  }
}

@keyframes premiumHeadingFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 860px) {
  .help-bot {
    right: 0.82rem;
    bottom: 0.82rem;
  }

  .help-bot-panel-presence {
    display: none !important;
  }

  .help-bot-panel-copy {
    max-width: none;
  }

  .help-bot-panel-status-chip {
    max-width: min(100%, 150px);
    font-size: 0.62rem;
  }

  .help-bot-panel-head {
    align-items: start;
  }

  .help-bot-panel-brand {
    gap: 0.72rem;
  }

  .help-bot-head-btn-reset,
  .help-bot-head-btn-info,
  .help-bot-head-btn-close {
    min-width: 40px;
    min-height: 40px;
  }

  .help-bot-head-btn-reset,
  .help-bot-head-btn-info,
  .help-bot-head-btn-close {
    padding-inline: 0;
  }

  .help-bot-head-btn-reset {
    width: 40px;
    justify-content: center;
  }

  .help-bot-head-btn-reset-label {
    display: none;
  }

  .help-bot-launcher {
    width: 102px;
    height: 118px;
  }

  .help-bot-launcher-mark,
  .help-bot-art-launcher {
    width: 102px;
  }

  .help-bot-launcher-presence {
    right: 0.45rem;
    bottom: 6.6rem;
    width: min(148px, calc(100vw - 6rem));
    max-width: min(148px, calc(100vw - 6rem));
    padding: 0.46rem 0.56rem 0.48rem;
  }

  .help-bot-launcher-presence-greeting {
    font-size: 0.8rem;
  }

  .help-bot-launcher-presence-status {
    font-size: 0.66rem;
  }

  .help-bot-panel {
    width: min(420px, calc(100vw - 1rem));
  }

  .review-prompt {
    right: 0.8rem;
    bottom: 0.8rem;
    width: min(390px, calc(100vw - 1.1rem));
  }

  .experience-timeline {
    padding-left: 0;
  }

  .experience-timeline::before {
    content: none;
  }

  .experience-timeline .timeline-item::before {
    content: none;
  }

  .hero-support-shell::after,
  .availability-banner::before {
    animation-duration: 10s;
    opacity: 0.48;
  }

  .project-card:hover .project-image,
  .project-card:focus-visible .project-image {
    transform: none;
  }

  .hero-role::after,
  .hero-photo-frame::after {
    animation-duration: 7.2s;
  }
}

@media (max-width: 640px) {
  .help-bot {
    left: 0.62rem;
    right: 0.62rem;
    bottom: 0.62rem;
  }

  body.review-prompt-active .help-bot:not(.is-open) {
    bottom: calc(0.62rem + var(--review-prompt-offset, 0px));
  }

  .help-bot-dock {
    justify-items: end;
  }

  .help-bot-panel-topline {
    gap: 0.36rem;
  }

  .help-bot-panel-status-chip {
    min-height: 1.32rem;
    padding-inline: 0.42rem;
    max-width: min(100%, 148px);
  }

  .help-bot-nudge {
    max-width: min(248px, calc(100vw - 6.4rem));
    padding: 0.66rem 0.72rem 0.68rem 0.78rem;
  }

  .help-bot-nudge-badge {
    min-height: 1.24rem;
    margin-bottom: 0.28rem;
  }

  .help-bot-nudge-text {
    font-size: 0.8rem;
  }

  .help-bot-launcher {
    width: 84px;
    height: 96px;
  }

  .help-bot-launcher-mark,
  .help-bot-art-launcher {
    width: 84px;
  }

  .help-bot-panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    min-height: min(70vh, 620px);
    max-height: min(87dvh, 820px);
    border-radius: 24px 24px 0 0;
    transform: translateY(calc(100% + 1rem));
    transform-origin: bottom center;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 -18px 44px rgba(4, 10, 20, 0.18);
  }

  .help-bot.is-open .help-bot-panel {
    transform: translateY(0);
  }

  .help-bot-panel-head {
    gap: 0.58rem;
    padding: 0.72rem 0.72rem 0.66rem;
    align-items: start;
  }

  .help-bot-panel-brand {
    gap: 0.72rem;
    min-width: 0;
  }

  .help-bot-panel-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .help-bot-panel-title {
    font-size: 0.86rem;
  }

  .help-bot-panel-lead {
    margin-top: 0.24rem;
    font-size: 0.69rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .help-bot-panel-copy {
    max-width: min(30ch, calc(100vw - 7.6rem));
  }

  .help-bot-messages {
    gap: 0.62rem;
    padding: 0.66rem 0.68rem 0.7rem;
  }

  .help-bot-composer {
    padding: 0.62rem 0.68rem calc(0.68rem + env(safe-area-inset-bottom, 0px));
  }

  .help-bot-launcher-presence {
    display: none !important;
  }

  .help-bot-composer-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem;
    align-items: center;
  }

  .help-bot-composer-submit {
    width: auto;
    min-width: 74px;
    min-height: 40px;
    padding: 0.64rem 0.78rem;
    border-radius: 14px;
    font-size: 0.74rem;
  }

  .help-bot-composer-input,
  .help-bot-composer-textarea {
    min-height: 40px;
    padding: 0.64rem 0.78rem;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .help-bot-composer-textarea {
    min-height: 104px;
  }

  .help-bot-composer-warning {
    margin-top: 0.42rem;
    font-size: 0.62rem;
    line-height: 1.36;
  }

  .help-bot-composer-note {
    margin-top: 0.38rem;
    font-size: 0.68rem;
    line-height: 1.36;
  }

  .help-bot-options-shell {
    padding: 0.82rem 0.82rem 0.9rem;
  }

  .help-bot-privacy-sheet {
    top: 0.78rem;
    right: 0.72rem;
    bottom: calc(0.78rem + env(safe-area-inset-bottom, 0px));
    left: 0.72rem;
    width: auto;
    max-height: none;
    z-index: 8;
    gap: 0.82rem;
    padding: 0.92rem 0.82rem 0.88rem;
    border-radius: 24px;
  }

  .help-bot-privacy-sheet-body {
    min-height: 0;
    max-height: none;
    padding-right: 0.18rem;
  }

  .help-bot-privacy-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-bot-privacy-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-bot.is-privacy-open .help-bot-messages,
  .help-bot.is-privacy-open .help-bot-composer {
    pointer-events: none;
  }

  .help-bot-message,
  .help-bot-message.is-user {
    align-items: flex-end;
    gap: 0.5rem;
    justify-content: stretch;
  }

  .help-bot-message-stack {
    max-width: 100%;
    gap: 0.28rem;
  }

  .help-bot-bubble {
    max-width: 100%;
    padding: 0.72rem 0.78rem;
    border-radius: 16px;
  }

  .help-bot-bubble p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .help-bot-message-avatar {
    width: 32px;
    height: 32px;
  }

  .help-bot-art-avatar {
    width: 20px;
  }

  .help-bot-message-name {
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .help-bot-message.is-bot .help-bot-bubble::before,
  .help-bot-message.is-user .help-bot-bubble::before {
    content: none;
  }

  .help-bot-message.is-bot .help-bot-bubble::before {
    content: none;
  }

  .help-bot-message.is-user .help-bot-bubble::before {
    content: none;
  }

  .help-bot-message-actions,
  .help-bot-message-options,
  .help-bot-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .help-bot-cards {
    grid-template-columns: 1fr;
  }

  .help-bot-message-link,
  .help-bot-message-option,
  .help-bot-option {
    width: 100%;
    min-height: 40px;
    padding-inline: 0.76rem;
  }

  .help-bot.is-open.is-inline-nudge-visible .help-bot-nudge {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.96);
    animation: none;
  }

  .help-bot.is-open .help-bot-launcher {
    opacity: 0;
    visibility: hidden;
  }

  .review-prompt {
    left: 0.68rem;
    right: 0.68rem;
    bottom: 0.68rem;
    width: auto;
    padding: 0.88rem 0.88rem 0.86rem;
    border-radius: 20px;
  }

  .review-prompt-title {
    max-width: none;
  }

  .review-prompt-persona {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-right: 2.4rem;
  }

  .review-prompt-modal {
    padding: 0.8rem;
  }

  .review-prompt-modal-dialog {
    width: 100%;
    padding: 1.1rem;
    border-radius: 24px;
  }

  .review-prompt-contact-actions {
    flex-direction: column-reverse;
  }

  .review-prompt-contact-actions .btn {
    width: 100%;
  }

  .hero-name-accent {
    animation: none;
  }

  .hero-photo-frame::before {
    opacity: 0.48;
  }

  .hero-photo-frame::after,
  .hero-card::after {
    display: none;
  }

  .skill-signal-list {
    gap: 0.36rem;
  }

  .skill-signal-list span {
    min-height: 28px;
    padding: 0.32rem 0.54rem;
    font-size: 0.72rem;
  }

  .help-bot-launcher {
    width: 78px;
    height: 90px;
  }

  .help-bot-launcher-mark,
  .help-bot-art-launcher {
    width: 78px;
  }
}

@media (max-width: 480px) {
  .help-bot {
    left: 0.42rem;
    right: 0.42rem;
    bottom: 0.42rem;
  }

  body.review-prompt-active .help-bot:not(.is-open) {
    bottom: calc(0.42rem + var(--review-prompt-offset, 0px));
  }

  .help-bot-panel {
    max-height: min(92dvh, 920px);
    border-radius: 22px 22px 0 0;
  }

  .help-bot-panel-head {
    padding: 0.78rem 0.72rem 0.74rem;
  }

  .help-bot-panel-brand {
    gap: 0.62rem;
  }

  .help-bot-panel-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .help-bot-art-panel {
    width: 30px;
  }

  .help-bot-panel-copy {
    max-width: none;
  }

  .help-bot-panel-badge {
    font-size: 0.62rem;
  }

  .help-bot-panel-topline {
    align-items: flex-start;
  }

  .help-bot-panel-status-chip {
    display: none !important;
  }

  .help-bot-panel-copy {
    min-width: 0;
  }

  .help-bot-panel-title,
  .help-bot-panel-lead,
  .help-bot-panel-greeting,
  .help-bot-panel-badge {
    overflow-wrap: anywhere;
  }

  .help-bot-panel-actions {
    gap: 0.38rem;
  }

  .help-bot-head-btn-reset,
  .help-bot-head-btn-info,
  .help-bot-head-btn-close {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .help-bot-panel-presence {
    display: none !important;
  }

  .help-bot-panel-greeting {
    font-size: 0.74rem;
  }

  .help-bot-panel-title {
    font-size: 0.86rem;
    line-height: 1.24;
  }

  .help-bot-panel-lead {
    margin-top: 0.28rem;
    font-size: 0.71rem;
  }

  .help-bot-messages,
  .help-bot-composer,
  .help-bot-options-shell {
    padding-left: 0.64rem;
    padding-right: 0.64rem;
  }

  .help-bot-message {
    gap: 0.42rem;
  }

  .help-bot-message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .help-bot-art-avatar {
    width: 21px;
  }

  .help-bot-bubble {
    padding: 0.68rem 0.72rem;
    border-radius: 15px;
  }

  .help-bot-bubble p {
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .help-bot-composer-input,
  .help-bot-composer-textarea,
  .help-bot-composer-submit {
    min-height: 40px;
    border-radius: 13px;
    font-size: 0.95rem;
  }

  .help-bot-message-link,
  .help-bot-message-option,
  .help-bot-option {
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .help-bot {
    left: 0.32rem;
    right: 0.32rem;
    bottom: 0.32rem;
  }

  body.review-prompt-active .help-bot:not(.is-open) {
    bottom: calc(0.32rem + var(--review-prompt-offset, 0px));
  }

  .help-bot-panel {
    max-height: min(95dvh, 980px);
    border-radius: 20px 20px 0 0;
  }

  .help-bot-panel-head {
    gap: 0.5rem;
    padding: 0.68rem 0.62rem 0.62rem;
  }

  .help-bot-panel-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .help-bot-art-panel {
    width: 27px;
  }

  .help-bot-panel-title {
    font-size: 0.8rem;
  }

  .help-bot-panel-lead {
    margin-top: 0.22rem;
    font-size: 0.66rem;
    line-height: 1.24;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .help-bot-panel-badge {
    font-size: 0.54rem;
  }

  .help-bot-head-btn-reset,
  .help-bot-head-btn-info,
  .help-bot-head-btn-close {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .help-bot-messages,
  .help-bot-composer,
  .help-bot-options-shell {
    padding-left: 0.62rem;
    padding-right: 0.62rem;
  }

  .help-bot-messages {
    gap: 0.64rem;
    padding-top: 0.66rem;
    padding-bottom: 0.72rem;
  }

  .help-bot-bubble {
    padding: 0.68rem 0.72rem;
    border-radius: 15px;
  }

  .help-bot-bubble p {
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .help-bot-message-avatar {
    width: 28px;
    height: 28px;
  }

  .help-bot-art-avatar {
    width: 19px;
  }

  .help-bot-composer {
    padding-top: 0.58rem;
    padding-bottom: calc(0.62rem + env(safe-area-inset-bottom, 0px));
  }

  .help-bot-composer-form {
    gap: 0.42rem;
  }

  .help-bot-composer-input,
  .help-bot-composer-textarea {
    min-height: 40px;
    padding: 0.66rem 0.76rem;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .help-bot-composer-submit {
    min-width: 74px;
    min-height: 40px;
    padding: 0.66rem 0.74rem;
    border-radius: 14px;
    font-size: 0.74rem;
  }

  .help-bot-composer-warning {
    font-size: 0.6rem;
    line-height: 1.32;
  }

  .help-bot-composer-note {
    font-size: 0.64rem;
    line-height: 1.32;
  }

  .help-bot-privacy-sheet {
    top: 0.62rem;
    right: 0.58rem;
    bottom: calc(0.62rem + env(safe-area-inset-bottom, 0px));
    left: 0.58rem;
    gap: 0.72rem;
    padding: 0.78rem 0.7rem 0.76rem;
    border-radius: 20px;
  }

  .help-bot-privacy-sheet-title {
    font-size: 0.96rem;
  }

  .help-bot-privacy-sheet-lead,
  .help-bot-privacy-fact-value,
  .help-bot-privacy-section-text {
    font-size: 0.72rem;
    line-height: 1.56;
  }
}

@media (max-width: 780px) {
  .nav-inner {
    align-items: center;
    gap: 0.34rem;
    padding: max(0.44rem, env(safe-area-inset-top)) 0 0.42rem;
  }

  .brand {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    gap: 0.5rem;
  }

  .brand-avatar {
    width: 2.22rem;
    height: 2.22rem;
    flex-basis: 2.22rem;
  }

  .brand-copy {
    max-width: none;
    gap: 0;
  }

  .brand-title {
    font-size: 0.84rem;
    letter-spacing: 0.04em;
  }

  .brand small {
    display: none;
  }

  .mobile-title-controls {
    order: 2;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.28rem;
    min-width: 0;
  }

  .mobile-nav-toggle {
    order: 3;
    width: 2.32rem;
    height: 2.32rem;
    border-radius: 13px;
  }

  .mobile-nav-toggle svg {
    width: 16px;
    height: 16px;
  }

  .nav-actions {
    order: 4;
  }

  .nav-links {
    order: 5;
  }

  .mobile-title-controls .lang-switcher,
  .mobile-title-controls .theme-toggle {
    display: inline-flex;
  }

  .mobile-title-controls .mobile-title-lang {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 34px;
    justify-self: auto;
    gap: 0.08rem;
    padding: 0.12rem;
    border-radius: 14px;
    background:
      radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 36%),
      rgba(255, 255, 255, 0.045);
  }

  .mobile-title-controls .lang-option {
    flex: 0 0 auto;
    min-width: 42px;
    min-height: 30px;
    gap: 0.2rem;
    padding: 0.28rem 0.34rem;
    border-radius: 11px;
  }

  .mobile-title-controls .lang-option .lang-code {
    display: inline-flex;
    font-size: 0.64rem;
    letter-spacing: 0.045em;
  }

  .mobile-title-controls .lang-option .lang-flags {
    width: 0.86rem;
    height: 0.62rem;
  }

  .mobile-title-controls .mobile-title-theme {
    flex: 0 0 2.12rem;
    width: 2.12rem;
    min-width: 2.12rem;
    min-height: 2.12rem;
    height: 2.12rem;
    justify-self: auto;
    padding: 0;
    border-radius: 13px;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-track {
    width: 100%;
    justify-content: center;
    gap: 0;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-switch-label {
    display: none;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-switch-control {
    min-width: 1.68rem;
    width: 1.68rem;
    min-height: 1.68rem;
    padding: 2px;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-switch-state {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-switch-icon,
  .mobile-title-controls .theme-toggle .theme-toggle-switch-icon svg {
    width: 13px;
    height: 13px;
  }

  .nav-inner.is-mobile-open .nav-actions {
    order: 6;
  }

  .nav-inner.is-mobile-open .nav-actions > .lang-switcher,
  .nav-inner.is-mobile-open .nav-actions > .theme-toggle {
    display: none;
  }

  .portfolio-view-switch {
    border-radius: 16px;
  }

  .portfolio-view-option {
    min-height: 32px;
    padding: 0.34rem 0.5rem;
    font-size: 0.68rem;
  }

  [data-theme="light"] .mobile-title-controls .mobile-title-lang {
    background:
      radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 36%),
      rgba(255, 255, 255, 0.78);
  }
}

@media (max-width: 420px) {
  .nav-inner {
    gap: 0.26rem;
    padding: max(0.38rem, env(safe-area-inset-top)) 0 0.38rem;
  }

  .brand {
    gap: 0.38rem;
  }

  .brand-avatar {
    width: 1.92rem;
    height: 1.92rem;
    flex-basis: 1.92rem;
  }

  .brand-title {
    font-size: 0.7rem;
    letter-spacing: 0.025em;
  }

  .mobile-title-controls {
    gap: 0.2rem;
  }

  .mobile-title-controls .mobile-title-lang {
    min-height: 31px;
    padding: 0.1rem;
  }

  .mobile-title-controls .lang-option {
    min-width: 34px;
    min-height: 27px;
    padding: 0.22rem 0.28rem;
  }

  .mobile-title-controls .lang-option .lang-code {
    font-size: 0.6rem;
  }

  .mobile-title-controls .lang-option .lang-flags {
    display: none;
  }

  .mobile-title-controls .mobile-title-theme {
    flex-basis: 2rem;
    width: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    height: 2rem;
  }

  .mobile-title-controls .theme-toggle .theme-toggle-switch-control {
    min-width: 1.55rem;
    width: 1.55rem;
    min-height: 1.55rem;
  }

  .mobile-nav-toggle {
    width: 2rem;
    height: 2rem;
    border-radius: 12px;
  }
}

/* Premium attraction pass */
body.portfolio-page:not(.detail-page) .hero {
  overflow: hidden;
}

body.portfolio-page:not(.detail-page) .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(89, 226, 188, 0.08) 19%, transparent 20% 44%, rgba(128, 184, 255, 0.07) 45%, transparent 46%),
    linear-gradient(25deg, transparent 0 36%, rgba(89, 226, 188, 0.06) 37%, transparent 38% 68%, rgba(128, 184, 255, 0.05) 69%, transparent 70%);
  opacity: 0.5;
  transform: translate3d(-1.2%, 0, 0);
  animation: premiumHeroTraceDrift 14s ease-in-out infinite;
}

body.portfolio-page:not(.detail-page) .hero-grid {
  position: relative;
  z-index: 1;
}

body.portfolio-page:not(.detail-page) .hero-grid::before {
  content: "";
  position: absolute;
  inset: -1.2rem -0.8rem;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 18%, rgba(89, 226, 188, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 38%, rgba(128, 184, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 16%, rgba(255, 194, 104, 0.12) 0 2px, transparent 3px),
    linear-gradient(140deg, transparent 0 22%, rgba(89, 226, 188, 0.12) 22.2%, transparent 22.8% 49%, rgba(128, 184, 255, 0.1) 49.2%, transparent 50%),
    linear-gradient(28deg, transparent 0 34%, rgba(128, 184, 255, 0.08) 34.2%, transparent 34.8% 78%, rgba(89, 226, 188, 0.08) 78.2%, transparent 79%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 118% 118%, 126% 126%;
  opacity: 0.62;
  filter: drop-shadow(0 0 12px rgba(89, 226, 188, 0.12));
  animation: premiumSignalGrid 16s ease-in-out infinite;
}

body.portfolio-page:not(.detail-page) .hero-grid > * {
  position: relative;
  z-index: 1;
}

body.motion-ready.portfolio-page:not(.detail-page) .hero-greeting {
  animation: premiumIntroRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.motion-ready.portfolio-page:not(.detail-page) .hero-intro-title {
  animation: premiumIntroRise 0.7s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.motion-ready.portfolio-page:not(.detail-page) .hero-role {
  animation: premiumIntroRise 0.72s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.motion-ready.portfolio-page:not(.detail-page) .hero-experience-note {
  animation: premiumIntroRise 0.76s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-name-accent {
  text-shadow: 0 0 28px rgba(89, 226, 188, 0.12);
}

.hero-experience-note {
  position: relative;
}

.hero-experience-note::after {
  content: "";
  display: block;
  width: min(11rem, 52%);
  height: 2px;
  margin-top: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(89, 226, 188, 0.78), rgba(128, 184, 255, 0.5), transparent);
  transform-origin: left center;
  animation: premiumNoteSignal 5.4s ease-in-out infinite;
}

.hero-card,
.hero-photo-frame {
  will-change: transform;
}

.hero-photo-frame::before {
  animation: premiumCornerPulse 6.5s ease-in-out infinite;
}

.hero-photo-aura {
  animation: premiumPhotoAura 7s ease-in-out infinite;
}

.btn,
.project-card,
.experience-intro,
.experience-stat,
.timeline-item,
.skill-card,
.certificate-card,
.education-card,
.event-card,
.achievement-card,
.help-bot-message-link,
.help-bot-message-option {
  --spot-x: 50%;
  --spot-y: 50%;
}

.btn {
  transform-origin: center;
  will-change: transform;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn.is-pointer-lit,
.btn:hover,
.btn:focus-visible {
  box-shadow:
    0 16px 30px rgba(5, 13, 25, 0.18),
    0 0 0 1px rgba(89, 226, 188, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-primary,
.btn-fit-highlight,
.btn-availability-cv,
.btn-cv-top,
.btn-download-portfolio {
  animation: premiumCtaBreath 7.8s ease-in-out infinite;
}

.btn-with-icon .link-icon,
.btn-download-portfolio-icon,
.fit-cta-hand,
.fit-cta-cue {
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.btn-with-icon:hover .link-icon,
.btn-with-icon:focus-visible .link-icon,
.btn-download-portfolio:hover .btn-download-portfolio-icon,
.btn-download-portfolio:focus-visible .btn-download-portfolio-icon {
  transform: translateX(2px) scale(1.04);
}

.fit-cta:hover .fit-cta-hand,
.fit-cta:focus-visible .fit-cta-hand,
.project-card:hover .fit-cta-hand,
.project-card:focus-visible .fit-cta-hand {
  transform: translateX(2px) rotate(-8deg);
}

.fit-cta:hover .fit-cta-cue,
.fit-cta:focus-visible .fit-cta-cue,
.project-card:hover .fit-cta-cue,
.project-card:focus-visible .fit-cta-cue {
  transform: translateX(3px);
  opacity: 1;
}

.project-card {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.project-card:hover,
.project-card:focus-visible,
.project-card.is-pointer-lit {
  border-color: rgba(89, 226, 188, 0.24);
  box-shadow:
    0 24px 50px rgba(4, 12, 24, 0.24),
    0 0 0 1px rgba(89, 226, 188, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-content::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.72), rgba(128, 184, 255, 0.52), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.28s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-content::before,
.project-card:focus-visible .project-content::before {
  opacity: 0.9;
  transform: scaleX(1);
}

.project-card:hover h3,
.project-card:focus-visible h3 {
  color: color-mix(in srgb, var(--text) 78%, var(--accent-strong) 22%);
}

.project-tag,
.skill-signal-list span {
  transform: translateZ(0);
}

.project-card:hover .project-tag,
.project-card:focus-visible .project-tag,
.skill-card:hover .skill-signal-list span,
.skill-card:focus-within .skill-signal-list span {
  border-color: rgba(89, 226, 188, 0.22);
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.055);
}

.skill-card {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(128, 184, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.skill-card:hover,
.skill-card:focus-within,
.skill-card.is-pointer-lit {
  border-color: rgba(128, 184, 255, 0.22);
  box-shadow:
    0 20px 42px rgba(4, 12, 24, 0.2),
    0 0 0 1px rgba(128, 184, 255, 0.08);
}

.skill-card .icon-box {
  position: relative;
  overflow: hidden;
}

.skill-card .icon-box::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 90deg, transparent, rgba(89, 226, 188, 0.28), transparent 34%);
  opacity: 0;
}

.skill-card:hover .icon-box::after,
.skill-card:focus-within .icon-box::after {
  animation: premiumIconSweep 1.2s ease both;
}

.skill-accent-tag {
  position: relative;
  overflow: hidden;
}

.skill-accent-tag::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -32%;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-16deg);
  opacity: 0;
}

.skill-card:hover .skill-accent-tag::after,
.skill-card:focus-within .skill-accent-tag::after {
  animation: premiumBadgeSweep 2.4s ease both;
}

.experience-intro,
.experience-stat,
.timeline-item {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.experience-stat {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.experience-stat::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(89, 226, 188, 0), rgba(89, 226, 188, 0.76), rgba(128, 184, 255, 0));
  transform: scaleX(0.28);
  opacity: 0.42;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.experience-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.22);
  box-shadow: 0 18px 34px rgba(4, 12, 24, 0.18);
}

.experience-stat:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}

.timeline-item:hover .timeline-metrics span,
.timeline-item:focus-visible .timeline-metrics span {
  transform: translateY(-2px);
}

.timeline-metrics span {
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.timeline-item.current {
  animation: premiumCurrentRoleGlow 6.8s ease-in-out infinite;
}

.timeline-item.current .experience-cta,
.project-card-cta,
.card-cta {
  position: relative;
  overflow: hidden;
}

.timeline-item.current .experience-cta::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.34rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.8), transparent);
  animation: premiumCtaUnderline 4.2s ease-in-out infinite;
}

.section-heading.visible p {
  animation: premiumSubheadRise 0.7s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-on-scroll.visible[data-reveal-variant="left"] {
  transform-origin: left center;
}

.reveal-on-scroll.visible[data-reveal-variant="right"] {
  transform-origin: right center;
}

.help-bot-launcher-core {
  position: relative;
  animation: premiumBotFloat 6.4s ease-in-out infinite;
}

.help-bot:not(.is-open):not(.is-nudge-visible) .help-bot-launcher-core::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(89, 226, 188, 0.24);
  opacity: 0;
  animation: premiumBotRing 5.5s ease-in-out infinite;
  pointer-events: none;
}

.help-bot-panel-head {
  position: relative;
  overflow: hidden;
}

.help-bot-panel-head::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.7), rgba(128, 184, 255, 0.48), transparent);
  opacity: 0.78;
  transform: translateX(-34%);
  animation: premiumPanelRail 7.8s ease-in-out infinite;
}

.help-bot-message-link,
.help-bot-message-option {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(89, 226, 188, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
}

.help-bot-message-link:hover,
.help-bot-message-link:focus-visible,
.help-bot-message-option:hover,
.help-bot-message-option:focus-visible,
.help-bot-message-link.is-pointer-lit,
.help-bot-message-option.is-pointer-lit {
  transform: translateY(-2px);
  box-shadow:
    0 14px 26px rgba(4, 12, 24, 0.18),
    0 0 0 1px rgba(89, 226, 188, 0.1);
}

[data-theme="light"] body.portfolio-page:not(.detail-page) .hero::after {
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(2, 139, 112, 0.06) 19%, transparent 20% 44%, rgba(31, 111, 235, 0.05) 45%, transparent 46%),
    linear-gradient(25deg, transparent 0 36%, rgba(31, 111, 235, 0.045) 37%, transparent 38% 68%, rgba(2, 139, 112, 0.045) 69%, transparent 70%);
  opacity: 0.42;
}

[data-theme="light"] .project-card,
[data-theme="light"] .skill-card,
[data-theme="light"] .experience-intro,
[data-theme="light"] .experience-stat,
[data-theme="light"] .timeline-item {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(2, 139, 112, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.86)),
    var(--panel);
}

[data-theme="light"] .project-card:hover,
[data-theme="light"] .project-card:focus-visible,
[data-theme="light"] .skill-card:hover,
[data-theme="light"] .skill-card:focus-within,
[data-theme="light"] .timeline-item:hover,
[data-theme="light"] .timeline-item:focus-visible {
  box-shadow:
    0 22px 46px rgba(33, 54, 87, 0.12),
    0 0 0 1px rgba(2, 139, 112, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .btn.is-pointer-lit,
[data-theme="light"] .btn:hover,
[data-theme="light"] .btn:focus-visible {
  box-shadow:
    0 16px 30px rgba(33, 54, 87, 0.1),
    0 0 0 1px rgba(2, 139, 112, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes premiumHeroTraceDrift {
  0%, 100% {
    transform: translate3d(-1.2%, 0, 0);
    opacity: 0.38;
  }
  50% {
    transform: translate3d(1.2%, -0.4%, 0);
    opacity: 0.62;
  }
}

@keyframes premiumSignalGrid {
  0%, 100% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0.46;
  }
  50% {
    background-position: 0 0, 0 0, 0 0, 7% 4%, -6% 3%;
    opacity: 0.74;
  }
}

@keyframes premiumIntroRise {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes premiumNoteSignal {
  0%, 100% {
    transform: scaleX(0.42);
    opacity: 0.46;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes premiumCornerPulse {
  0%, 100% {
    opacity: 0.54;
    filter: saturate(0.9);
  }
  50% {
    opacity: 0.96;
    filter: saturate(1.2);
  }
}

@keyframes premiumPhotoAura {
  0%, 100% {
    transform: translateX(-50%) scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: translateX(-50%) scale(1.02);
    opacity: 0.96;
  }
}

@keyframes premiumCtaBreath {
  0%, 100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.08);
  }
}

@keyframes premiumCurrentRoleGlow {
  0%, 100% {
    border-color: rgba(89, 226, 188, 0.24);
  }
  50% {
    border-color: rgba(128, 184, 255, 0.26);
  }
}

@keyframes premiumCtaUnderline {
  0%, 100% {
    transform: scaleX(0.32);
    opacity: 0.38;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes premiumSubheadRise {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumBotFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes premiumBotRing {
  0%, 58% {
    transform: scale(0.88);
    opacity: 0;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

@media (max-width: 780px) {
  body.portfolio-page:not(.detail-page) .hero::after,
  body.portfolio-page:not(.detail-page) .hero-grid::before {
    opacity: 0.28;
    animation-duration: 20s;
  }

  .btn-primary,
  .btn-fit-highlight,
  .btn-availability-cv,
  .btn-cv-top,
  .btn-download-portfolio,
  .help-bot-launcher-core,
  .timeline-item.current {
    animation-duration: 10s;
  }

  .btn:hover,
  .btn:focus-visible,
  .help-bot-message-link:hover,
  .help-bot-message-link:focus-visible,
  .help-bot-message-option:hover,
  .help-bot-message-option:focus-visible {
    transform: translateY(-1px);
  }

  .project-card:hover,
  .project-card:focus-visible,
  .skill-card:hover,
  .skill-card:focus-within,
  .timeline-item:hover,
  .timeline-item:focus-visible {
    box-shadow: var(--shadow-soft);
  }
}

/* Motion budget and detail-page polish */
body.detail-page .nav-links {
  display: none;
}

body.detail-page .nav-inner {
  align-items: center;
}

body.detail-page .detail-hero-panel,
body.detail-page .detail-tools-panel,
body.detail-page .related-links-block,
body.detail-page .page-end-cta {
  position: relative;
  overflow: hidden;
}

body.detail-page .detail-hero-panel::before,
body.detail-page .detail-tools-panel::before,
body.detail-page .page-end-cta::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(89, 226, 188, 0.6), rgba(128, 184, 255, 0.44), transparent);
  opacity: 0.72;
  pointer-events: none;
}

body.detail-page .detail-hero-panel::after,
body.detail-page .page-end-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 226, 188, 0.08), transparent 28%),
    linear-gradient(135deg, transparent 0 32%, rgba(128, 184, 255, 0.055) 33%, transparent 34% 66%, rgba(89, 226, 188, 0.045) 67%, transparent 68%);
  opacity: 0.72;
}

body.detail-page .detail-hero-panel > *,
body.detail-page .page-end-cta > * {
  position: relative;
  z-index: 1;
}

body.detail-page .detail-hero-media {
  transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1), filter 0.44s ease;
}

body.detail-page .detail-hero-panel:hover .detail-hero-media {
  transform: scale(1.018);
  filter: saturate(1.06) contrast(1.03);
}

body.detail-page .detail-tool-card,
body.detail-page .detail-block,
body.detail-page .topic-link-list a {
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.26s ease,
    box-shadow 0.26s ease,
    background 0.26s ease;
}

body.detail-page .detail-tool-card:hover,
body.detail-page .detail-tool-card:focus-within,
body.detail-page .detail-block:hover,
body.detail-page .topic-link-list a:hover,
body.detail-page .topic-link-list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(89, 226, 188, 0.22);
  box-shadow:
    0 16px 30px rgba(4, 12, 24, 0.18),
    0 0 0 1px rgba(89, 226, 188, 0.08);
}

body.detail-page .detail-tool-logo {
  position: relative;
  overflow: hidden;
}

body.detail-page .detail-tool-logo::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 90deg, transparent, rgba(89, 226, 188, 0.28), transparent 34%);
  opacity: 0;
}

body.detail-page .detail-tool-card:hover .detail-tool-logo::after,
body.detail-page .detail-tool-card:focus-within .detail-tool-logo::after {
  animation: premiumIconSweep 1.15s ease both;
}

body.detail-page .page-end-cta .btn-primary,
body.detail-page .page-end-cta .btn-secondary {
  min-height: 44px;
}

.hero-name-accent,
.hero-role::after,
.hero-photo-frame::before,
.hero-photo-frame::after,
.hero-photo-aura,
.hero-support-shell::after,
.availability-banner::before,
.availability-banner .status-dot,
.section-heading.visible h2 {
  animation: none;
}

.hero-name-accent {
  background-position: 58% 50%;
}

.hero-role::after,
.hero-experience-note::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.hero-photo-frame::after {
  opacity: 0.34;
  transform: none;
}

.hero-photo-frame::before {
  opacity: 0.72;
}

.hero-photo-aura {
  transform: translateX(-50%);
}

.hero-support-shell::after,
.availability-banner::before {
  opacity: 0.38;
  transform: none;
}

.availability-banner .status-dot {
  box-shadow: 0 0 18px rgba(89, 226, 188, 0.22);
}

@media (min-width: 781px) {
  body.detail-page .nav-inner {
    flex-wrap: wrap;
  }

  body.detail-page .nav-actions {
    order: 2;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 780px) {
  body.portfolio-page:not(.detail-page) .hero::after,
  body.portfolio-page:not(.detail-page) .hero-grid::before {
    content: none;
  }

  .btn-primary,
  .btn-fit-highlight,
  .btn-availability-cv,
  .btn-cv-top,
  .btn-download-portfolio,
  .timeline-item.current,
  .help-bot-launcher-core,
  .help-bot:not(.is-open):not(.is-nudge-visible) .help-bot-launcher-core::after {
    animation: none;
  }

  .btn:hover,
  .btn:focus-visible,
  .project-card:hover,
  .project-card:focus-visible,
  .skill-card:hover,
  .skill-card:focus-within,
  .timeline-item:hover,
  .timeline-item:focus-visible,
  body.detail-page .detail-tool-card:hover,
  body.detail-page .detail-block:hover,
  body.detail-page .topic-link-list a:hover {
    transform: none;
  }

  body.detail-page .detail-hero-panel:hover .detail-hero-media,
  .project-card:hover .project-image,
  .project-card:focus-visible .project-image {
    transform: none;
    filter: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

body.detail-page.portfolio-overview-page {
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.82), rgba(9, 20, 34, 0.88)),
    radial-gradient(circle at 18% 16%, rgba(128, 184, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(89, 226, 188, 0.07), transparent 22%);
  background-attachment: fixed, fixed, fixed;
}

[data-theme="light"] body.detail-page.portfolio-overview-page {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.92), rgba(239, 245, 251, 0.94)),
    radial-gradient(circle at 18% 16%, rgba(31, 111, 235, 0.05), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(2, 139, 112, 0.05), transparent 22%);
  background-attachment: fixed, fixed, fixed;
}

.portfolio-overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.2rem;
  padding: 1.8rem;
}

.portfolio-overview-hero-copy,
.portfolio-overview-summary,
.portfolio-overview-sheet,
.portfolio-overview-block {
  display: grid;
  gap: 0.9rem;
}

.portfolio-overview-summary {
  align-content: start;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(8, 17, 29, 0.34);
}

.portfolio-overview-summary h2,
.portfolio-overview-sheet-title h2,
.portfolio-overview-block h3 {
  margin: 0;
}

.portfolio-overview-summary p,
.portfolio-overview-sheet-title p,
.portfolio-overview-block p,
.portfolio-overview-block ul,
.portfolio-overview-watermark-note {
  margin: 0;
}

.portfolio-overview-metrics {
  display: grid;
  gap: 0.75rem;
}

.portfolio-overview-metrics > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-overview-metric-label {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-overview-section {
  padding-top: 1rem;
}

.portfolio-overview-sheet {
  padding: 1.3rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(10, 20, 34, 0.95), rgba(11, 19, 30, 0.99)),
    rgba(8, 17, 29, 0.9);
}

.portfolio-overview-document {
  display: grid;
  gap: 1.15rem;
}

.portfolio-overview-page-sheet {
  display: grid;
  gap: 1rem;
  min-height: 1120px;
  padding: 1.5rem;
  border: 1px solid rgba(128, 184, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.985), rgba(242, 247, 252, 0.975)),
    #f7fbff;
  color: #133049;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 42px rgba(3, 12, 26, 0.18);
}

.portfolio-overview-page-head,
.portfolio-overview-page-subhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(19, 48, 73, 0.12);
}

.portfolio-overview-page-subhead h3,
.portfolio-overview-panel h3,
.portfolio-overview-page-head h2 {
  margin: 0;
}

.portfolio-overview-page-subhead p,
.portfolio-overview-panel p,
.portfolio-overview-panel ul {
  margin: 0;
}

.portfolio-overview-identity {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.portfolio-overview-photo {
  width: 88px;
  height: 104px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 1px solid rgba(19, 48, 73, 0.12);
  box-shadow: 0 14px 28px rgba(8, 17, 29, 0.14);
  background: #eef4fb;
}

.portfolio-overview-identity-copy {
  display: grid;
  gap: 0.42rem;
}

.portfolio-overview-identity-copy p {
  margin: 0;
  color: #5c7086;
  font-size: 1rem;
}

.portfolio-overview-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 0.8rem;
  width: min(100%, 540px);
}

.portfolio-overview-contact-grid > div {
  display: grid;
  gap: 0.16rem;
  padding: 0.8rem 0.92rem;
  border: 1px solid rgba(19, 48, 73, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.portfolio-overview-contact-label {
  color: #607186;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-overview-contact-grid a {
  color: #17314c;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.portfolio-overview-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.portfolio-overview-tag-list span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 48, 73, 0.12);
  background: rgba(21, 123, 114, 0.08);
  color: #15514a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-overview-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-overview-panel {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(19, 48, 73, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 252, 255, 0.78)),
    rgba(255, 255, 255, 0.82);
}

.portfolio-overview-panel h3 {
  color: #0f2f47;
  font-size: 1rem;
}

.portfolio-overview-panel p,
.portfolio-overview-mini-list,
.portfolio-overview-timeline-item span,
.portfolio-overview-project-list span,
.portfolio-overview-skill-groups span,
.portfolio-overview-page-subhead p {
  color: #5b6d83;
  line-height: 1.68;
}

.portfolio-overview-timeline {
  display: grid;
  gap: 0.78rem;
}

.portfolio-overview-timeline-item {
  display: grid;
  gap: 0.16rem;
  padding-left: 0.95rem;
  border-left: 2px solid rgba(21, 123, 114, 0.22);
}

.portfolio-overview-timeline-item strong,
.portfolio-overview-project-list strong,
.portfolio-overview-skill-groups strong {
  color: #16314b;
}

.portfolio-overview-project-list {
  display: grid;
  gap: 0.72rem;
}

.portfolio-overview-project-list > div {
  display: grid;
  gap: 0.18rem;
  padding: 0.76rem 0.82rem;
  border-radius: 16px;
  border: 1px solid rgba(19, 48, 73, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

.portfolio-overview-skill-groups {
  display: grid;
  gap: 0.72rem;
}

.portfolio-overview-skill-groups > div {
  display: grid;
  gap: 0.18rem;
}

.portfolio-overview-mini-list {
  display: grid;
  gap: 0.36rem;
  padding-left: 1.15rem;
}

.portfolio-overview-page-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(19, 48, 73, 0.12);
  color: #6d7c90;
  font-size: 0.76rem;
}

.portfolio-overview-page-stamp {
  color: rgba(19, 48, 73, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-overview-footer-actions,
.portfolio-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

[data-theme="light"] .portfolio-overview-summary,
[data-theme="light"] .portfolio-overview-sheet {
  border-color: rgba(10, 22, 38, 0.08);
}

[data-theme="light"] .portfolio-overview-summary {
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.9));
}

[data-theme="light"] .portfolio-overview-sheet {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)),
    #ffffff;
}

[data-theme="light"] .portfolio-overview-page-sheet {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 251, 255, 0.98)),
    #ffffff;
}

[data-theme="light"] .portfolio-overview-panel,
[data-theme="light"] .portfolio-overview-contact-grid > div,
[data-theme="light"] .portfolio-overview-project-list > div {
  border-color: rgba(10, 22, 38, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

@media (max-width: 980px) {
  .portfolio-overview-hero {
    grid-template-columns: 1fr;
  }

  .portfolio-overview-page-head,
  .portfolio-overview-page-subhead {
    flex-direction: column;
  }

  .portfolio-overview-contact-grid {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .portfolio-overview-hero,
  .portfolio-overview-sheet {
    padding: 1rem;
    border-radius: 24px;
  }

  .portfolio-overview-page-sheet {
    min-height: auto;
    padding: 1rem;
    border-radius: 24px;
  }

  .portfolio-overview-two-column,
  .portfolio-overview-contact-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-overview-identity {
    flex-direction: column;
  }

  .portfolio-overview-actions,
  .portfolio-overview-footer-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .portfolio-overview-actions .btn,
  .portfolio-overview-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .portfolio-overview-page-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .portfolio-overview-summary {
    padding: 0.95rem;
    border-radius: 20px;
  }

  .portfolio-overview-hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2rem, 11vw, 2.7rem);
    letter-spacing: -0.05em;
  }

  .portfolio-overview-photo {
    width: 78px;
    height: 92px;
  }

  .portfolio-overview-contact-grid a {
    font-size: 0.82rem;
  }
}

@page {
  size: A4;
  margin: 10mm;
}

@media print {
  body.detail-page.portfolio-overview-page {
    background: #ffffff !important;
    color: #0d2036 !important;
  }

  body.detail-page.portfolio-overview-page #bg-canvas,
  body.detail-page.portfolio-overview-page .nav,
  body.detail-page.portfolio-overview-page .top-update-bar,
  body.detail-page.portfolio-overview-page .portfolio-overview-hero,
  body.detail-page.portfolio-overview-page .page-shell::before,
  body.detail-page.portfolio-overview-page .page-shell::after,
  body.detail-page.portfolio-overview-page .btn,
  body.detail-page.portfolio-overview-page .theme-toggle,
  body.detail-page.portfolio-overview-page .help-bot,
  body.detail-page.portfolio-overview-page .review-prompt,
  body.detail-page.portfolio-overview-page .review-prompt-backdrop {
    display: none !important;
  }

  body.detail-page.portfolio-overview-page *,
  body.detail-page.portfolio-overview-page *::before,
  body.detail-page.portfolio-overview-page *::after {
    animation: none !important;
    transition: none !important;
  }

  body.detail-page.portfolio-overview-page .page-shell,
  body.detail-page.portfolio-overview-page main,
  body.detail-page.portfolio-overview-page .container,
  body.detail-page.portfolio-overview-page .section {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    overflow: visible !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-section {
    padding-top: 0 !important;
  }

  body.detail-page.portfolio-overview-page .reveal-on-scroll,
  body.detail-page.portfolio-overview-page .reveal-on-scroll.visible {
    opacity: 1 !important;
    transform: none !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-sheet {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #0d2036 !important;
    padding: 0 !important;
    display: block !important;
    break-inside: auto !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-document {
    gap: 0 !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-sheet {
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    break-after: page !important;
    page-break-after: always !important;
    gap: 0.55rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-sheet:last-child {
    break-after: auto !important;
    page-break-after: auto !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-head,
  body.detail-page.portfolio-overview-page .portfolio-overview-page-subhead {
    gap: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-head {
    display: grid !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
    align-items: start !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-head h2 {
    font-size: 18pt !important;
    line-height: 1.15 !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-subhead h3,
  body.detail-page.portfolio-overview-page .portfolio-overview-panel h3 {
    font-size: 11.5pt !important;
    line-height: 1.18 !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-subhead p,
  body.detail-page.portfolio-overview-page .portfolio-overview-panel p,
  body.detail-page.portfolio-overview-page .portfolio-overview-panel li,
  body.detail-page.portfolio-overview-page .portfolio-overview-contact-grid a,
  body.detail-page.portfolio-overview-page .portfolio-overview-timeline-item span,
  body.detail-page.portfolio-overview-page .portfolio-overview-project-list span,
  body.detail-page.portfolio-overview-page .portfolio-overview-skill-groups span {
    font-size: 9.3pt !important;
    line-height: 1.42 !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-contact-label,
  body.detail-page.portfolio-overview-page .portfolio-overview-page-stamp,
  body.detail-page.portfolio-overview-page .hero-card-kicker,
  body.detail-page.portfolio-overview-page .portfolio-overview-tag-list span {
    font-size: 7pt !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-photo {
    width: 68px !important;
    height: 82px !important;
    border-radius: 14px !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-identity {
    gap: 0.7rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-contact-grid {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.3rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-two-column {
    gap: 0.5rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-head,
  body.detail-page.portfolio-overview-page .portfolio-overview-page-subhead,
  body.detail-page.portfolio-overview-page .portfolio-overview-page-foot {
    border-color: rgba(13, 32, 54, 0.14) !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-panel,
  body.detail-page.portfolio-overview-page .portfolio-overview-contact-grid > div,
  body.detail-page.portfolio-overview-page .portfolio-overview-project-list > div,
  body.detail-page.portfolio-overview-page .portfolio-overview-tag-list span {
    background: transparent !important;
    color: #0d2036 !important;
    box-shadow: none !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-panel,
  body.detail-page.portfolio-overview-page .portfolio-overview-contact-grid > div,
  body.detail-page.portfolio-overview-page .portfolio-overview-project-list > div {
    border-color: rgba(13, 32, 54, 0.14) !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-panel {
    padding: 0.6rem 0.72rem !important;
    gap: 0.4rem !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-sheet-primary .portfolio-overview-two-column {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr) !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-contact-grid {
    gap: 0.4rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-contact-grid > div,
  body.detail-page.portfolio-overview-page .portfolio-overview-project-list > div {
    padding: 0.45rem 0.55rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-timeline,
  body.detail-page.portfolio-overview-page .portfolio-overview-project-list,
  body.detail-page.portfolio-overview-page .portfolio-overview-skill-groups,
  body.detail-page.portfolio-overview-page .portfolio-overview-mini-list {
    gap: 0.34rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-mini-list {
    padding-left: 0.95rem !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-foot {
    margin-top: 0.35rem !important;
    padding-top: 0.45rem !important;
    font-size: 7.6pt !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-footer-actions {
    display: none !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-photo {
    box-shadow: none !important;
  }

  body.detail-page.portfolio-overview-page .portfolio-overview-page-stamp {
    color: rgba(13, 32, 54, 0.42) !important;
  }
}

/* Final visual polish overrides */
body.portfolio-page:not(.detail-page) .nav {
  border-bottom-color: color-mix(in srgb, var(--accent-strong) 18%, transparent);
}

body.portfolio-page:not(.detail-page) .hero-grid::after {
  content: "";
  position: absolute;
  inset: 8% -6% auto 38%;
  height: min(24rem, 58vw);
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 24%, rgba(89, 226, 188, 0.16) 24.3%, transparent 24.8% 54%, rgba(128, 184, 255, 0.14) 54.3%, transparent 54.8%),
    linear-gradient(22deg, transparent 0 34%, rgba(255, 194, 104, 0.1) 34.3%, transparent 34.8% 74%, rgba(89, 226, 188, 0.12) 74.3%, transparent 74.8%);
  opacity: 0.5;
  filter: drop-shadow(0 0 18px rgba(89, 226, 188, 0.14));
  animation: premiumHeroSignalSweep 18s ease-in-out infinite;
  z-index: 0;
}

.project-content::after {
  content: var(--project-badge);
}

.skill-signal-list::before,
.skill-signal-list::after {
  display: block;
}

.experience-timeline {
  padding-left: 1.2rem;
}

.experience-timeline::before {
  left: 0.28rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  height: auto;
}

.help-bot-panel {
  border-radius: 22px;
}

@media (max-width: 780px) {
  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.28rem;
    row-gap: 0.36rem;
  }

  .brand-title {
    max-width: 15.5ch;
    font-size: 0.72rem;
    letter-spacing: 0.035em;
  }

  .mobile-title-controls .mobile-title-lang,
  .mobile-title-controls .lang-option,
  .mobile-title-controls .mobile-title-theme,
  .mobile-nav-toggle,
  .mobile-title-controls .theme-toggle .theme-toggle-switch-control {
    border-radius: 8px;
  }

  .mobile-title-controls .mobile-title-theme,
  .mobile-nav-toggle {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    min-height: 2rem;
  }

  body.portfolio-page:not(.detail-page) .hero-grid::after {
    content: none;
  }

  .experience-timeline {
    padding-left: 0.75rem;
  }
}

@media (max-width: 420px) {
  .brand-title {
    max-width: 12.2ch;
    font-size: 0.66rem;
  }
}

/* Skill card consistency pass */
#skills .feature-grid {
  align-items: stretch;
}

#skills .skill-card {
  display: grid;
  grid-template-rows:
    minmax(30px, auto)
    48px
    minmax(3.9rem, auto)
    minmax(8.2rem, auto)
    minmax(6.1rem, auto)
    minmax(4.9rem, auto);
  align-content: stretch;
  gap: 0.78rem;
  min-height: 35rem;
  padding: 1.22rem;
}

#skills .skill-card .skill-accent-tag {
  align-self: start;
  min-height: 30px;
  max-width: 100%;
  white-space: nowrap;
}

#skills .skill-card .icon-box {
  align-self: start;
  width: 48px;
  height: 48px;
}

#skills .skill-card h3 {
  align-self: end;
  min-height: 3.55rem;
  margin: 0;
  display: flex;
  align-items: flex-end;
}

#skills .skill-card p.muted {
  margin: 0;
  min-height: 8.05rem;
  line-height: 1.62;
}

#skills .skill-signal-list {
  align-self: start;
  min-height: 5.8rem;
  margin: 0;
}

#skills .skill-emphasis {
  align-self: end;
  min-height: 4.6rem;
  display: flex;
  align-items: flex-start;
  margin: 0;
}

@media (max-width: 1180px) {
  #skills .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #skills .skill-card {
    min-height: 32rem;
    grid-template-rows:
      minmax(30px, auto)
      48px
      minmax(3.2rem, auto)
      minmax(6.8rem, auto)
      minmax(5.4rem, auto)
      minmax(4.1rem, auto);
  }

  #skills .skill-card p.muted {
    min-height: 6.5rem;
  }
}

@media (max-width: 780px) {
  #skills .feature-grid {
    grid-template-columns: 1fr;
  }

  #skills .skill-card {
    min-height: 0;
    grid-template-rows: none;
    gap: 0.72rem;
  }

  #skills .skill-card h3,
  #skills .skill-card p.muted,
  #skills .skill-signal-list,
  #skills .skill-emphasis {
    min-height: 0;
  }
}

/* Extra premium content pass */
.recruiter-summary-strip {
  position: relative;
  z-index: 4;
  margin: -0.2rem 0 0.4rem;
}

.recruiter-summary-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
  padding: 0.62rem;
  border: 1px solid rgba(89, 226, 188, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(89, 226, 188, 0.08), rgba(128, 184, 255, 0.055), rgba(255, 194, 104, 0.045)),
    rgba(9, 19, 32, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(3, 10, 21, 0.12);
  backdrop-filter: blur(16px);
}

.recruiter-summary-item {
  min-width: 0;
  display: grid;
  gap: 0.16rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(128, 184, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

.recruiter-summary-item span {
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.recruiter-summary-item strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.22;
}

.featured-project-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(89, 226, 188, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 18%, rgba(89, 226, 188, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow:
    0 26px 56px rgba(4, 12, 24, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.featured-project-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(89, 226, 188, 0.1) 34.4%, transparent 35% 66%, rgba(128, 184, 255, 0.08) 66.4%, transparent 67%);
  opacity: 0.52;
}

.featured-project-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.featured-project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 14, 25, 0), rgba(6, 14, 25, 0.34)),
    linear-gradient(180deg, rgba(6, 14, 25, 0.06), rgba(6, 14, 25, 0.38));
  pointer-events: none;
}

.featured-project-media img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), filter 0.62s ease;
}

.featured-project-panel:hover .featured-project-media img,
.featured-project-panel:focus-visible .featured-project-media img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.featured-project-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2.4vw, 2rem);
}

.featured-project-kicker {
  width: max-content;
  max-width: 100%;
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(89, 226, 188, 0.22);
  border-radius: 8px;
  background: rgba(89, 226, 188, 0.08);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-project-copy h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.02;
}

.featured-project-copy p {
  max-width: 58ch;
  margin: 0;
  color: color-mix(in srgb, var(--text) 86%, var(--text-muted) 14%);
  line-height: 1.72;
}

.featured-project-proof {
  display: grid;
  gap: 0.55rem;
}

.featured-project-proof span,
.project-result {
  display: block;
  margin: 0;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(128, 184, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  line-height: 1.55;
}

.featured-project-proof strong,
.project-result strong {
  display: inline-flex;
  margin-right: 0.3rem;
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-project-cta {
  width: max-content;
  max-width: 100%;
  margin-top: 0.1rem;
  border-radius: 8px;
}

.project-result {
  font-size: 0.88rem;
}

#projects .project-card {
  min-height: 100%;
}

#projects .project-content {
  grid-template-rows: auto auto minmax(4.5rem, auto) auto auto;
}

#projects .project-meta {
  align-self: end;
}

.section-heading p {
  line-height: 1.65;
}

body.portfolio-page:not(.detail-page) .section {
  padding-block: 2.35rem;
}

.help-bot-welcome-state {
  display: grid;
  gap: 0.68rem;
  padding: 0.95rem;
  border: 1px solid rgba(89, 226, 188, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(89, 226, 188, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(128, 184, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(4, 12, 24, 0.16);
}

.help-bot-welcome-kicker {
  width: max-content;
  max-width: 100%;
  padding: 0.24rem 0.5rem;
  border: 1px solid rgba(89, 226, 188, 0.2);
  border-radius: 8px;
  background: rgba(89, 226, 188, 0.08);
  color: var(--accent-strong);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-bot-welcome-title {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.18;
}

.help-bot-welcome-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.56;
}

.help-bot-welcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.help-bot-welcome-option {
  position: relative;
  display: grid;
  gap: 0.25rem;
  min-height: 6.2rem;
  padding: 0.72rem;
  border: 1px solid rgba(128, 184, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(89, 226, 188, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.help-bot-welcome-option:hover,
.help-bot-welcome-option:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(89, 226, 188, 0.28);
  box-shadow: 0 14px 26px rgba(4, 12, 24, 0.16);
}

.help-bot-welcome-option-badge {
  width: max-content;
  padding: 0.16rem 0.4rem;
  border-radius: 8px;
  background: rgba(89, 226, 188, 0.09);
  color: var(--accent-strong);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.help-bot-welcome-option strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.help-bot-welcome-option span:last-child {
  color: var(--text-soft);
  font-size: 0.7rem;
  line-height: 1.35;
}

[data-theme="light"] .recruiter-summary-inner,
[data-theme="light"] .featured-project-panel,
[data-theme="light"] .help-bot-welcome-state {
  border-color: rgba(2, 139, 112, 0.13);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 36px rgba(33, 54, 87, 0.08);
}

[data-theme="light"] .recruiter-summary-item,
[data-theme="light"] .featured-project-proof span,
[data-theme="light"] .project-result,
[data-theme="light"] .help-bot-welcome-option {
  border-color: rgba(10, 22, 38, 0.08);
  background:
    radial-gradient(circle at top right, rgba(2, 139, 112, 0.07), transparent 38%),
    rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .featured-project-copy p,
[data-theme="light"] .project-result,
[data-theme="light"] .help-bot-welcome-text,
[data-theme="light"] .help-bot-welcome-option span:last-child {
  color: #5c718b;
}

@media (max-width: 980px) {
  .recruiter-summary-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-project-panel {
    grid-template-columns: 1fr;
  }

  .featured-project-media img {
    min-height: 18rem;
  }
}

@media (max-width: 780px) {
  body.portfolio-page:not(.detail-page) .section {
    padding-block: 1.65rem;
  }

  .recruiter-summary-strip {
    margin: 0.2rem 0 0.35rem;
  }

  .recruiter-summary-inner {
    grid-template-columns: 1fr;
    gap: 0.46rem;
    padding: 0.48rem;
  }

  .recruiter-summary-item {
    padding: 0.58rem 0.64rem;
  }

  .featured-project-media img {
    min-height: 14rem;
  }

  .featured-project-copy {
    gap: 0.72rem;
    padding: 0.95rem;
  }

  .featured-project-copy h3 {
    max-width: none;
    font-size: 1.55rem;
  }

  .featured-project-proof {
    gap: 0.46rem;
  }

  #projects .project-content {
    grid-template-rows: none;
  }

  .help-bot-welcome-grid {
    grid-template-columns: 1fr;
  }

  .help-bot-welcome-option {
    min-height: 0;
  }
}

@supports (view-transition-name: root) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.24s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.education-card,
.certificate-card,
.achievement-card {
  border-radius: 8px;
}

.education-card .date,
.certificate-card .skill-accent-tag,
.achievement-card .skill-accent-tag {
  border-radius: 8px;
}

body.portfolio-page:not(.detail-page) .education-card,
body.portfolio-page:not(.detail-page) .certificate-card,
body.portfolio-page:not(.detail-page) .achievement-card {
  box-shadow:
    0 16px 34px rgba(4, 12, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

[data-theme="light"] body.portfolio-page:not(.detail-page) .education-card,
[data-theme="light"] body.portfolio-page:not(.detail-page) .certificate-card,
[data-theme="light"] body.portfolio-page:not(.detail-page) .achievement-card {
  box-shadow:
    0 14px 28px rgba(33, 54, 87, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
