:root {
  color-scheme: dark;
  --bg: #0f1115;
  --bg-deep: #0b0d11;
  --panel: rgba(16, 20, 26, 0.92);
  --panel-strong: rgba(18, 22, 28, 0.96);
  --text: #eef1f6;
  --muted: #a3adbf;
  --accent: #8fb3c9;
  --accent-2: #d2c1a0;
  --accent-3: #6fbca8;
  --border: rgba(143, 179, 201, 0.18);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --max-width: 1100px;
  --radius: 16px;
  --font-head: "IBM Plex Mono", monospace;
  --font-body: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px circle at 12% -20%, rgba(210, 193, 160, 0.08), transparent 60%),
    radial-gradient(700px circle at 80% -10%, rgba(143, 179, 201, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

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

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

main {
  position: relative;
  z-index: 1;
}

.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 6px;
  opacity: 0.12;
  mix-blend-mode: soft-light;
}

.grid {
  position: absolute;
  inset: -20% 0 0 0;
  background-image:
    linear-gradient(rgba(143, 179, 201, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 179, 201, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.25;
  animation: drift 36s linear infinite;
}

@keyframes drift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(120px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 16, 0.82);
  border-bottom: 1px solid rgba(143, 179, 201, 0.12);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
}

.brand {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid rgba(210, 193, 160, 0.4);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: rgba(210, 193, 160, 0.12);
}

.hero {
  min-height: 92vh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 110px 24px 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 3.6vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-content h2 {
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  color: var(--muted);
  margin-bottom: 18px;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 600px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.65rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: var(--font-head);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(120deg, rgba(143, 179, 201, 0.85), rgba(210, 193, 160, 0.85));
  color: #0b0d11;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(143, 179, 201, 0.2);
}

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

.btn-ghost {
  border: 1px solid rgba(143, 179, 201, 0.4);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(143, 179, 201, 0.12);
}

.hero-meta {
  display: grid;
  gap: 12px;
  border-left: 1px solid rgba(143, 179, 201, 0.2);
  padding-left: 16px;
  font-size: 0.9rem;
}

.meta-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-3);
  margin-bottom: 4px;
  font-family: var(--font-head);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.portrait {
  border-radius: var(--radius);
  background: rgba(15, 18, 24, 0.8);
  border: 1px solid rgba(143, 179, 201, 0.28);
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(210, 193, 160, 0.35);
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

img {
  border-radius: var(--radius);
}

.linkedin-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.linkedin-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.linkedin-badge:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45);
}

.footer-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-linkedin {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #ffffff;
  border: none;
  display: grid;
  place-items: center;
  margin-top: -5px;
}

.footer-linkedin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.footer-linkedin:hover {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.system-block {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-family: var(--font-head);
}

.system-block pre {
  margin-top: 10px;
  white-space: pre-wrap;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text);
}

.block-label {
  text-transform: uppercase;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--accent-3);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.section-header {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 179, 201, 0.3);
  color: var(--accent);
  line-height: 1;
}

.section-tag .eyebrow {
  margin-bottom: 0;
  line-height: 1;
}

.section-header h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  line-height: 1.7;
}

.card-grid,
.impact-grid,
.expertise-grid {
  display: grid;
  gap: 16px;
}

.card-grid,
.impact-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.glass-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(2, 6, 12, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 179, 201, 0.45);
}

.glass-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 10px;
}

.glass-card p {
  color: var(--muted);
  line-height: 1.6;
}

.expertise-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.expertise-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(143, 179, 201, 0.2);
  background: rgba(14, 17, 23, 0.8);
  color: var(--text);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-3px);
  border-color: rgba(210, 193, 160, 0.45);
}

.ai-visual {
  margin-top: 30px;
  border-radius: var(--radius);
  min-height: 0;
  background: rgba(14, 17, 23, 0.8);
  border: 1px dashed rgba(143, 179, 201, 0.35);
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.ai-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
}

.bio {
  padding: 22px;
}

.bio p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.philosophy-side {
  display: grid;
  gap: 16px;
  align-items: start;
  align-content: start;
}

.human-centered {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.human-centered img {
  margin-top: auto;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  display: block;
}

.product-level {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-level img {
  margin-top: auto;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  display: block;
}

.build-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.build-right img {
  margin-top: auto;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  display: block;
}

.collaborations {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.collaboration-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.collaboration-logos img {
  width: 100%;
  height: 34px;
  object-fit: contain;
  padding: 6px;
  border-radius: 10px;
}

.philosophy-side .glass-card {
  height: auto;
}

.cta {
  padding-bottom: 100px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel-strong);
  border: 1px solid rgba(143, 179, 201, 0.25);
  box-shadow: var(--shadow);
}


.footer {
  max-width: var(--max-width);
  margin: 0 auto 30px;
  padding: 20px 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(143, 179, 201, 0.12);
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--text);
  font-family: var(--font-head);
  margin-bottom: 6px;
}

.lang-switch {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-head);
}

.lang-switch {
  display: none;
}

.lang-switch span::after {
  content: "|";
  margin-left: 10px;
  color: rgba(163, 173, 191, 0.6);
}

.lang-switch span:last-child::after {
  content: "";
  margin: 0;
}

.js .section,
.js .hero,
.js .glass-card,
.js .expertise-card,
.js .ai-visual,
.js .cta-panel,
.js .system-block {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 12px;
    font-size: 0.65rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    border-left: none;
    padding-left: 0;
  }

  .footer {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

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