@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

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

:root {
  --pw-font: "Inter", system-ui, sans-serif;
  --pw-text: #111111;
  --pw-muted: #8a8f98;
  --pw-faint: rgba(17, 17, 17, 0.14);
  --pw-bg: #fafafa;
  --pw-surface: #ffffff;
  --pw-border: #eceef2;
  --pw-accent: #00d4b8;
  --pw-accent-soft: rgba(0, 212, 184, 0.14);
  --pw-glow: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 212, 184, 0.22), transparent 70%);
  --pw-dark: #0e0f11;
  --pw-container: min(1120px, 100% - 2.5rem);
  --pw-radius: 20px;
  --pw-radius-lg: 28px;
}

html { scroll-behavior: smooth; }

body.pw-page {
  margin: 0;
  font-family: var(--pw-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pw-text);
  background: var(--pw-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.pw-container { width: var(--pw-container); margin-inline: auto; }

/* ── Nav ── */
.pw-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(680px, calc(100% - 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.125rem;
  border-radius: 999px;
  background: rgba(14, 15, 17, 0.92);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.35);
}
.pw-nav__name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.pw-nav__links {
  display: none;
  gap: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}
.pw-nav__links a:hover { color: #fff; }
.pw-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: #fff;
  color: var(--pw-dark);
  white-space: nowrap;
}
.pw-nav__cta:hover { background: var(--pw-accent); }
.pw-nav.is-light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--pw-text);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.12);
}
.pw-nav.is-light .pw-nav__links {
  color: rgba(17, 17, 17, 0.55);
}
.pw-nav.is-light .pw-nav__links a:hover { color: var(--pw-text); }
.pw-nav.is-light .pw-nav__cta {
  background: var(--pw-dark);
  color: #fff;
}
.pw-nav.is-light .pw-nav__cta:hover {
  background: var(--pw-accent);
  color: var(--pw-dark);
}
@media (min-width: 768px) {
  .pw-nav__links { display: flex; }
}

/* ── Hero ── */
.pw-hero {
  position: relative;
  padding: clamp(7rem, 14vw, 9rem) 0 clamp(3rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.pw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pw-glow);
  pointer-events: none;
}
.pw-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.875rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
  color: var(--pw-muted);
}
.pw-hero__badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pw-accent);
}
.pw-hero__title {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.pw-hero__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--pw-muted);
}
.pw-hero__sub {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--pw-muted);
  line-height: 1.65;
}
.pw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.pw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.pw-btn--dark {
  background: var(--pw-dark);
  color: #fff;
}
.pw-btn--dark:hover { background: #222; }
.pw-btn--outline {
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
  color: var(--pw-text);
}
.pw-btn--outline:hover { border-color: #ccc; }

.pw-hero__social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.pw-hero__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
  color: var(--pw-text);
  font-size: 1rem;
}
.pw-hero__social a:hover { border-color: var(--pw-accent); color: var(--pw-accent); }

/* ── Stats ── */
.pw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}
.pw-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--pw-radius);
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
}
.pw-stat strong {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pw-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pw-muted);
  line-height: 1.35;
}

/* ── Scroll text ── */
.pw-scrolltext {
  position: relative;
  min-height: 220vh;
}
.pw-scrolltext__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.pw-scrolltext__inner {
  width: var(--pw-container);
  margin-inline: auto;
}
.pw-scrolltext__label {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pw-muted);
}
.pw-scrolltext__line {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.pw-scrolltext__word {
  color: var(--pw-faint);
  transition: color 0.15s ease;
}
.pw-scrolltext__word.is-lit {
  color: var(--pw-text);
}
.pw-scrolltext--wide .pw-scrolltext__line { max-width: 22ch; }

/* ── Video player ── */
.pw-work {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--pw-dark);
  color: #fff;
}
.pw-work .pw-scrolltext__label {
  color: rgba(255, 255, 255, 0.45);
}
.pw-work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.pw-work__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.pw-work__counter {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  font-variant-numeric: tabular-nums;
}
.pw-work__counter [data-counter-current] { color: #fff; }
.pw-work__counter-sep {
  margin-inline: 0.15em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.28);
}

.pw-player {
  border-radius: var(--pw-radius-lg);
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.pw-player__body {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--pw-border);
}
@media (max-width: 639px) {
  .pw-player__body {
    grid-template-columns: 1fr;
  }
}

.pw-player__screen {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--pw-bg);
}
.pw-player__media-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}
.pw-player__media {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.45);
}
.pw-player__media video,
.pw-player__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.pw-player.is-switching .pw-player__media video,
.pw-player.is-switching .pw-player__media img {
  opacity: 0;
  transform: scale(1.02);
}

.pw-player__sound {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(14, 15, 17, 0.72);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.pw-player__sound:hover {
  background: rgba(14, 15, 17, 0.9);
  transform: scale(1.05);
}
.pw-player__sound.is-on {
  background: var(--pw-accent);
  color: var(--pw-dark);
}
.pw-player__sound[hidden] { display: none; }

.pw-player__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--pw-surface);
  transition: opacity 0.25s ease;
}
.pw-player.is-switching .pw-player__meta { opacity: 0.5; }
.pw-player__meta-text strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pw-player__meta-text span {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--pw-muted);
  line-height: 1.5;
}
.pw-player__desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pw-muted);
}
.pw-player__details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pw-player__details li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--pw-bg);
  color: var(--pw-text);
  border: 1px solid var(--pw-border);
}
@media (min-width: 640px) {
  .pw-player__meta {
    border-left: 1px solid var(--pw-border);
  }
}
@media (max-width: 639px) {
  .pw-player__meta {
    border-top: 1px solid var(--pw-border);
    align-items: center;
    text-align: center;
  }
}
.pw-player__badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--pw-accent-soft);
  color: #007a6a;
  white-space: nowrap;
}
.pw-player__badge[hidden] { display: none; }

.pw-player__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
}
.pw-player__arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--pw-border);
  background: var(--pw-bg);
  color: var(--pw-text);
  font-size: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}
.pw-player__arrow:hover {
  background: var(--pw-surface);
  border-color: #ccc;
}
.pw-player__tabs {
  flex: 1;
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.125rem;
  -webkit-overflow-scrolling: touch;
}
.pw-player__tabs::-webkit-scrollbar { display: none; }
.pw-player__tab {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pw-muted);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.pw-player__tab:hover {
  color: var(--pw-text);
  background: var(--pw-bg);
}
.pw-player__tab.is-active {
  color: var(--pw-text);
  background: var(--pw-bg);
  border-color: var(--pw-border);
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.08);
}
.pw-player__tab.is-active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--pw-accent);
  vertical-align: middle;
  transform: translateY(-1px);
}

@media (max-width: 639px) {
  .pw-player__arrow { display: none; }
  .pw-player__controls { padding: 0.625rem 0.75rem 0.875rem; }
}

/* ── Experience ── */
.pw-exp {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--pw-surface);
  border-block: 1px solid var(--pw-border);
}
.pw-exp__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .pw-exp__grid { grid-template-columns: 0.9fr 1.1fr; }
}
.pw-exp h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pw-exp__intro {
  margin: 0.75rem 0 0;
  color: var(--pw-muted);
  font-size: 0.9375rem;
}
.pw-timeline { display: grid; gap: 0; }
.pw-timeline__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--pw-border);
}
.pw-timeline__item:last-child { border-bottom: none; }
.pw-timeline__item strong { font-size: 1rem; font-weight: 700; }
.pw-timeline__item em {
  grid-column: 1;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--pw-muted);
}
.pw-timeline__item span {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 0.8125rem;
  color: var(--pw-muted);
  white-space: nowrap;
}

.pw-skills {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pw-skill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pw-skill__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.pw-skill span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pw-text);
}

/* ── Eigen tools ── */
.pw-tools {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--pw-bg);
}
.pw-tools__title {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pw-tools__intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pw-muted);
}
.pw-tools__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.pw-tools__card {
  padding: clamp(1.375rem, 3vw, 1.75rem);
  border-radius: var(--pw-radius-lg);
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.1);
}
.pw-tools__card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.pw-tools__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--pw-accent-soft);
  color: #007a6a;
  font-size: 1.125rem;
}
.pw-tools__card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pw-tools__tag {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pw-muted);
}
.pw-tools__desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pw-muted);
}
.pw-tools__list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pw-text);
}
.pw-tools__list li + li { margin-top: 0.35rem; }
.pw-tools__stack {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pw-muted);
}
.pw-tools__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #007a6a;
}
.pw-tools__link:hover { text-decoration: underline; }

/* ── Match ── */
.pw-match {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.pw-match__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .pw-match__grid { grid-template-columns: repeat(2, 1fr); }
}
.pw-match__card {
  padding: 1.25rem 1.375rem;
  border-radius: var(--pw-radius);
  background: var(--pw-surface);
  border: 1px solid var(--pw-border);
}
.pw-match__card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
}
.pw-match__card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--pw-muted);
  line-height: 1.55;
}

/* ── Letter (dark) ── */
.pw-cta {
  position: relative;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--pw-dark);
  color: #fff;
  overflow: hidden;
}
.pw-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(0, 212, 184, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(0, 212, 184, 0.08), transparent 55%);
  pointer-events: none;
}
.pw-cta__inner { position: relative; }
.pw-cta h2 {
  margin: 0 0 1.5rem;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.pw-cta__letter p {
  margin: 0 0 1rem;
  max-width: 52rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.pw-cta__letter a { color: var(--pw-accent); }
.pw-cta__letter a:hover { text-decoration: underline; }
.pw-cta__sign {
  margin-top: 2rem;
  font-weight: 600;
  color: #fff;
}
.pw-cta__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.pw-cta__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.pw-cta__contact a:hover { background: rgba(255, 255, 255, 0.14); }
.pw-cta__contact .pw-btn--accent {
  background: var(--pw-accent);
  color: var(--pw-dark);
  border: none;
}
.pw-cta__contact .pw-btn--accent:hover { background: #00eec9; }

.pw-footer {
  padding: 1.5rem 0 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--pw-muted);
  background: var(--pw-dark);
}

@media (prefers-reduced-motion: reduce) {
  .pw-scrolltext__word { transition: none; }
  .pw-player__media video,
  .pw-player__media img { transition: none; }
}

@media print {
  .pw-nav, .pw-player__controls { display: none; }
  .pw-scrolltext { min-height: auto; }
  .pw-scrolltext__sticky { position: static; }
  .pw-scrolltext__word { color: var(--pw-text) !important; }
}
