:root {
  --page-bg: #f7f2f1;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-border: rgba(43, 34, 34, 0.08);
  --text-strong: #111111;
  --text-muted: #8e898d;
  --nav-width: 1440px;
  --nav-gutter: clamp(18px, 4vw, 48px);
  --layout-width: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --shadow-soft: 0 18px 36px rgba(94, 82, 92, 0.08), 0 2px 8px rgba(94, 82, 92, 0.04);
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text-strong);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(213, 208, 225, 0.34), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.88), transparent 18%),
    radial-gradient(circle at 50% 42%, rgba(237, 233, 239, 0.9), transparent 32%),
    linear-gradient(180deg, #fbf8f7 0%, #f5f0ef 52%, #efebe9 100%);
}

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

.page-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(20px);
}

.page-shell::before {
  top: 108px;
  left: max(8px, calc(50% - 720px));
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(222, 213, 223, 0.84) 0%, rgba(222, 213, 223, 0) 72%);
}

.page-shell::after {
  right: max(8px, calc(50% - 720px));
  bottom: 72px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 72%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px var(--nav-gutter);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--nav-width);
  margin: 0 auto;
  padding: 12px 14px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 46px;
  min-width: 44px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-brand:hover,
.site-brand:focus-visible {
  transform: translateY(-1px);
  opacity: 0.9;
}

.site-brand__mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text-strong);
  background: var(--surface-strong);
  box-shadow: 0 6px 16px rgba(70, 61, 71, 0.08);
  transform: translateY(-1px);
}

.contact-page {
  width: min(calc(100% - 2 * var(--gutter)), var(--layout-width));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.skills-stage {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 30px 0;
}

.skills-scene {
  position: relative;
  width: min(100%, 820px);
  height: 260px;
  isolation: isolate;
}

.contact-electric {
  --electric-border-color: #7df9ff;
  --electric-border-radius: 28px;
  --electric-border-thickness: 2px;
  position: relative;
  isolation: isolate;
  width: min(100%, 1080px);
  margin: 34px auto 0;
  border-radius: var(--electric-border-radius);
  overflow: visible;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.44)),
    radial-gradient(circle at 12% 0%, rgba(125, 249, 255, 0.28), transparent 32%),
    radial-gradient(circle at 88% 100%, rgba(34, 244, 160, 0.18), transparent 34%);
  box-shadow: 0 24px 64px rgba(94, 82, 92, 0.12);
}

.eb-canvas-container {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.eb-canvas {
  display: block;
}

.eb-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: inherit;
}

.eb-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}

.eb-glow-1,
.eb-glow-2,
.eb-background-glow {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: inherit;
  pointer-events: none;
}

.eb-glow-1 {
  border: var(--electric-border-thickness) solid color-mix(in srgb, var(--electric-border-color) 58%, transparent);
  filter: blur(1px);
}

.eb-glow-2 {
  border: var(--electric-border-thickness) solid var(--electric-border-color);
  filter: blur(5px);
  opacity: 0.78;
}

.eb-background-glow {
  z-index: -1;
  background: linear-gradient(-30deg, var(--electric-border-color), transparent 48%, rgba(34, 244, 160, 0.8));
  filter: blur(32px);
  opacity: 0.26;
  transform: scale(1.08);
}

.contact-electric__eyebrow {
  margin: 0 0 10px;
  color: #10a6a9;
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-electric h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-method {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(94, 82, 92, 0.1);
  transform: translateY(-2px);
}

.contact-method span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-method strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.48rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.skill-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  transform-origin: center;
  will-change: transform;
  opacity: 0;
  transform: translate3d(0, -380px, 0) rotate(0deg);
}

.skill-node::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12) 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.08));
  filter: blur(12px);
  opacity: 0.88;
}

.skill-node--sketch {
  top: 56%;
  left: 0;
}

.skill-node--handdrawn {
  top: 28%;
  left: 13%;
  gap: 12px;
}

.skill-node--blender {
  top: 9%;
  left: 47%;
  gap: 10px;
}

.skill-node--photoshop {
  top: 54%;
  left: 72%;
}

.skill-node--figma {
  top: 57%;
  left: 87%;
}

.skill-node--ue5 {
  top: 41%;
  left: 86%;
}

.skill-node--illustrator {
  top: -1%;
  right: -3%;
}

.wordmark {
  display: inline-block;
  color: #111111;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.88;
  user-select: none;
  text-shadow: 0 10px 20px rgba(17, 17, 17, 0.08);
}

.wordmark--handdrawn {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.06em;
}

.logo-sketch {
  position: relative;
  width: clamp(48px, 5vw, 74px);
  height: clamp(66px, 7vw, 96px);
}

.diamond {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.diamond--top {
  top: 0;
  width: 100%;
  height: 42%;
  background: linear-gradient(135deg, #ffd458 0%, #ffcd2e 48%, #fff1b6 49%, #fff1b6 51%, #ffc11f 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.diamond--left {
  bottom: 0;
  left: 0;
  width: 50%;
  height: 60%;
  transform: none;
  background: linear-gradient(180deg, #ffbe14 0%, #fca100 100%);
  clip-path: polygon(100% 0, 100% 28%, 50% 100%, 0 28%);
}

.diamond--right {
  right: 0;
  bottom: 0;
  left: auto;
  width: 50%;
  height: 60%;
  transform: none;
  background: linear-gradient(180deg, #ffcf2d 0%, #ffb611 100%);
  clip-path: polygon(0 0, 100% 28%, 50% 100%, 0 28%);
}

.diamond--bottom {
  bottom: -3px;
  width: 54%;
  height: 62%;
  background: linear-gradient(180deg, #ffcb28 0%, #ed7f00 100%);
  clip-path: polygon(50% 100%, 100% 0, 0 0);
}

.skill-icon {
  display: grid;
  place-items: center;
  width: clamp(66px, 5vw, 92px);
  height: clamp(66px, 5vw, 92px);
  filter: drop-shadow(0 18px 24px rgba(17, 17, 17, 0.12));
}

.skill-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.skill-icon--handdrawn {
  transform: rotate(-10deg);
}

.handdrawn-paper {
  fill: #ffffff;
  stroke: #111111;
  stroke-width: 4;
  stroke-linejoin: round;
}

.handdrawn-fold {
  fill: none;
  stroke: #111111;
  stroke-width: 4;
  stroke-linejoin: round;
}

.handdrawn-brush {
  fill: #111111;
}

.handdrawn-stroke {
  fill: none;
  stroke: #ff6f61;
  stroke-width: 7;
  stroke-linecap: round;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: clamp(74px, 6vw, 104px);
  height: clamp(74px, 6vw, 104px);
  filter: drop-shadow(0 18px 24px rgba(17, 17, 17, 0.12));
}

.brand-logo svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-logo--blender {
  width: clamp(86px, 7vw, 118px);
  height: clamp(86px, 7vw, 118px);
}

.blender-mark {
  fill: #e87d0d;
}

.blender-eye {
  fill: #1d7fd1;
  stroke: #ffffff;
  stroke-width: 0.52;
}

.brand-logo--unreal {
  width: clamp(72px, 5vw, 96px);
  height: clamp(72px, 5vw, 96px);
}

.unreal-mark {
  fill: #111111;
}

.logo-photoshop,
.logo-illustrator {
  display: grid;
  place-items: center;
  width: clamp(64px, 5vw, 88px);
  height: clamp(64px, 5vw, 88px);
  border-radius: 18px;
  border: 3px solid #1b2c3d;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.9rem, 2.9vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

.logo-photoshop {
  background: #0f2a4d;
  color: #2fa7ff;
}

.logo-illustrator {
  background: #38170b;
  color: #ff9d00;
  border-color: #2a1208;
}

.logo-figma {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: clamp(44px, 4vw, 60px);
  height: clamp(64px, 5vw, 78px);
}

.figma-dot {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 20px;
  min-height: 20px;
}

.figma-red {
  background: #f24e1e;
  border-radius: 999px 999px 0 0;
}

.figma-orange {
  background: #ff7262;
  border-radius: 999px 999px 0 0;
}

.figma-purple {
  background: #a259ff;
  border-radius: 0 0 999px 999px;
}

.figma-blue {
  background: #1abcfe;
  border-radius: 999px;
}

.figma-green {
  grid-column: 1;
  background: #0acf83;
  border-radius: 0 0 999px 999px;
}


@media (prefers-reduced-motion: reduce) {
  .skill-node {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .skills-stage {
    min-height: auto;
    padding: 24px 18px;
  }

  .skills-scene {
    width: min(100%, 660px);
    height: 210px;
  }

  .skill-node--handdrawn {
    top: 24%;
    left: 8%;
  }

  .skill-node--blender {
    top: 10%;
    left: 44%;
  }

  .skill-node--photoshop {
    top: 49%;
    left: 62%;
  }

  .skill-node--figma {
    top: 52%;
    left: 82%;
  }

  .skill-node--ue5 {
    top: 39%;
    left: 82%;
  }

  .contact-electric {
    width: min(100%, 720px);
    margin-top: 24px;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .site-header__inner {
    gap: 10px;
    padding: 10px 12px 10px 16px;
  }

  .site-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 4px;
  }

  .site-nav a {
    padding: 10px 11px;
    font-size: 0.88rem;
  }

  .contact-page {
    width: min(calc(100% - 24px), var(--layout-width));
  }

  .skills-stage {
    padding: 18px 12px;
    border-radius: 24px;
  }

  .skills-scene {
    width: min(100%, 100%);
    height: 170px;
  }

  .skill-node--sketch {
    top: 50%;
    left: 2%;
  }

  .skill-node--handdrawn {
    top: 28%;
    left: 10%;
  }

  .skill-node--blender {
    top: 10%;
    left: 39%;
  }

  .skill-node--photoshop {
    top: 50%;
    left: 60%;
  }

  .skill-node--ue5 {
    top: 38%;
    left: 82%;
  }

  .skill-node--figma {
    top: 53%;
    left: 79%;
  }

  .skill-node--illustrator {
    top: 2%;
    right: -2%;
  }

  .contact-electric {
    margin-top: 18px;
    border-radius: 24px;
  }

  .eb-content {
    padding: 22px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}
