:root {
  --text: #eef2f7;
  --text-soft: #9aa3b2;
  --text-muted: #7d8696;
  --bg: #0b0d11;
  --bg-elev: #11141b;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #8ec5ff;
  --accent-soft: rgba(142, 197, 255, 0.16);
  --btn: #eef2f7;
  --btn-text: #0b0d11;
  --container: 72rem;
  --nav-h: 4.5rem;
  --radius: 1.2rem;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(90, 140, 220, 0.2), transparent 58%),
    radial-gradient(700px 380px at 92% 12%, rgba(80, 120, 200, 0.1), transparent 52%),
    var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.accent {
  color: var(--accent);
  font-style: normal;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.logo {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 1.05rem;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--card);
}

.lang-switch button {
  min-height: 2.2rem;
  min-width: 2.45rem;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0 0.7rem;
}

.lang-switch button.is-active {
  background: var(--btn);
  color: var(--btn-text);
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 13.5rem;
  background: rgba(17, 20, 27, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.nav-links.is-open a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.4rem;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: 0;
    margin-left: auto;
  }

  .nav-tools {
    margin-left: 0.75rem;
  }

  .nav-links.is-open a {
    min-height: 0;
    padding: 0;
  }
}

/* Hero */
.hero {
  padding: calc(var(--nav-h) + var(--safe-top) + 1.5rem) 0 2.5rem;
  min-height: 0;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    min-height: 0;
    padding: calc(var(--nav-h) + var(--safe-top) + 2.25rem) 0 2.75rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 7vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.hero-lead {
  margin: 0 0 1.6rem;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0.2rem 0 1.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats > div {
  padding: 0.85rem 0.85rem 0.85rem 0;
}

.hero-stats > div:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 0.95rem;
}

.hero-stats > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--text);
}

.hero-stats span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-soft);
}

@media (min-width: 960px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-stats > div:nth-child(n + 3) {
    border-top: 0;
  }

  .hero-stats > div + div {
    border-left: 1px solid var(--line);
    padding-left: 1rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
}

.hero-actions .btn {
  min-height: 2.75rem;
  width: 100%;
}

@media (min-width: 520px) {
  .hero-actions .btn {
    width: auto;
  }
}

.hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-wrap {
  position: relative;
  width: min(16.5rem, 72%);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0b0d11;
  border: 0;
}

.photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 20%;
}

.photo-placeholder {
  width: 100%;
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.photo-wrap img[hidden],
.photo-placeholder[hidden] {
  display: none !important;
}

@media (min-width: 960px) {
  .photo-wrap {
    width: min(18.25rem, 100%);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.btn-dark {
  background: var(--btn);
  color: var(--btn-text);
}

.btn-primary:hover,
.btn-dark:hover {
  background: #fff;
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--card);
}

/* Sections */
.section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 960px) {
  .section {
    padding: 2.85rem 0;
  }
}

.section-white,
.section-gray {
  background: transparent;
}

.section-title {
  text-align: left;
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.section-lead {
  text-align: left;
  margin: 0 0 1.15rem;
  max-width: 38rem;
  color: var(--text-soft);
}

.grid {
  display: grid;
  gap: 0.9rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

@media (min-width: 960px) {
  .card {
    padding: 1.25rem 1.3rem;
  }
}

.card-hover {
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .card-hover:hover {
    transform: translateY(-2px);
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .btn:hover {
    transform: translateY(-1px);
  }
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  overflow-wrap: break-word;
}

.audience article,
.facts article {
  padding-top: 0.15rem;
}

.audience {
  margin-top: 0.55rem;
}

.audience article::before,
.facts article::before {
  content: "";
  display: block;
  width: 2.2rem;
  height: 2px;
  margin-bottom: 0.85rem;
  border-radius: 99px;
  background: var(--accent);
}

.audience h3,
.facts h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.audience p,
.facts p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.skill-line {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
  display: grid;
  gap: 1.45rem;
}

.timeline article {
  position: relative;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-when {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.timeline h3 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.timeline .role {
  margin: 0 0 0.15rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.86rem;
}

.timeline p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

@media (min-width: 720px) {
  .timeline article {
    display: grid;
    grid-template-columns: 9.75rem 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .timeline-when {
    margin: 0;
    padding-top: 0.2rem;
  }
}

.case-card {
  background: var(--card);
}

.company-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.case-card p {
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.case-result {
  color: var(--text);
  font-weight: 600;
}

.case-featured {
  border-color: rgba(142, 197, 255, 0.22);
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.05rem;
  border-top: 1px solid var(--line);
}

.case-metrics > div {
  padding: 0.85rem 0 0.15rem;
}

.case-metrics strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.case-metrics span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 500;
}

@media (min-width: 640px) {
  .case-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-metrics > div + div {
    border-left: 1px solid var(--line);
    padding-left: 1.1rem;
  }

  .case-metrics > div {
    padding: 0.95rem 1rem 0.1rem 0;
  }
}

.timeline-item {
  position: relative;
}

.timeline-item .role {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.86rem;
  margin: 0.15rem 0 0.5rem;
}

.process-steps {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  text-align: left;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.process-steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.process-steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.step-num {
  display: inline-flex;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.contact-grid a.card {
  text-decoration: none;
}

.contact-grid .contact-value {
  color: var(--accent);
  font-weight: 600;
  margin: 0.25rem 0;
  overflow-wrap: break-word;
}

.linkedin-card .contact-value {
  color: var(--accent);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-links a {
  color: var(--text-soft);
  font-weight: 500;
  text-decoration: none;
}

.contact-links a:hover {
  color: var(--text);
}

.contact-meta {
  margin: 0.4rem 0 1.4rem;
}

.footer {
  background: transparent;
  color: var(--text-muted);
  padding: 2.4rem 0 calc(2.4rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
}

.footer strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.center-link {
  text-align: left;
  margin-top: 1.75rem;
}

.span-2 {
  grid-column: 1 / -1;
}

@media (min-width: 960px) {
  .span-2-lg {
    grid-column: span 2;
  }
}

/* Notice & sticky */
.statistics-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding-bottom: var(--safe-bottom);
  background: rgba(11, 13, 17, 0.94);
  backdrop-filter: blur(16px);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.statistics-notice__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.statistics-notice__text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
}

.statistics-notice__button {
  flex-shrink: 0;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
}

.statistics-notice--hidden {
  display: none;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 40;
  transform: translateX(-50%) translateY(0.6rem);
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sticky-cta--offset {
  bottom: calc(5.5rem + var(--safe-bottom));
}

body.has-sticky-offset {
  padding-bottom: calc(5.5rem + var(--safe-bottom));
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }

  body.has-sticky-offset {
    padding-bottom: 0;
  }

  .footer {
    padding-bottom: 2.4rem;
  }
}

@media (max-width: 767px) {
  .statistics-notice__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: calc(1.05rem + var(--safe-bottom));
  z-index: 30;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-size: 1.05rem;
  backdrop-filter: blur(12px);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 960px) {
  .scroll-top {
    bottom: 1.5rem;
  }
}
