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

:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --bg: #000000;
  --surface: #1a1a1a;
  --text: #e5e5e5;
  --muted: #9a9a9a;
  --accent: #a855f7;
  --border: #2a2a2a;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.home {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page {
  padding: 3.5rem 6vw 5rem;
}

body.chat-started .page {
  padding: 1.5rem 6vw 6.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 3vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
}

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

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-profile {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.nav-profile:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
}

.nav-toggle-button {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 6vw 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
}

.nav-toggle:checked ~ .nav-right {
  display: none;
}

.nav-toggle:checked ~ .nav-mobile {
  display: flex;
}

.nav-mobile a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-mobile a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 36px;
  color: var(--muted);
}

.wave {
  font-size: 1.3rem;
}

.headline {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 760px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: 32px;
  border: 1px solid #333436;
  background: #1c1d1e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: box-shadow 0.2s ease;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.35);
}

.search-bar input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.send-button {
  border: none;
  background: #2a2a2a;
  color: #e3e3e3;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-bar.has-text .send-button {
  opacity: 1;
  transform: scale(1);
}

.chat-hero {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
  text-align: left;
  min-height: calc(100vh - 140px);
  justify-content: center;
  animation: fade-up 0.6s ease both;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1.8rem;
  align-items: end;
  position: relative;
  width: 100%;
}

.home-split {
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.2fr);
  gap: 9rem;
  align-items: center;
  margin-top: 4rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
  margin-left: -40px;
}

.hero-name {
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-avatar {
  width: 280px;
  height: 480px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--bg);
  border: none;
  box-shadow: none;
  margin-top: 0;
  margin-right: -6px;
  position: relative;
  z-index: 0;
  align-self: end;
}

.home-split .hero-avatar {
  align-self: flex-start;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  transform: translate(14px, 48px) scale(1.3);
  transform-origin: bottom center;
  transition: transform 0.35s ease;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
  margin-left: -24px;
  align-self: end;
  animation: fade-up 0.6s ease both;
}

.home-split .hero-content {
  align-items: flex-start;
  text-align: left;
  margin-left: 0;
  align-self: flex-start;
  gap: 0.5rem;
}

.home-split .chat-input-shell {
  width: 100%;
  max-width: 520px;
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}

.home-split .chat-input-wrap {
  width: 100%;
}

.home-split .search-bar {
  width: 100%;
  z-index: 1;
}

.home-split .headline {
  font-size: 20px;
  font-weight: 300;
}

.home-split .hero-top {
  color: #ffffff;
}

.home-split .chat-landing {
  padding: 0;
  position: relative;
  z-index: 20;
}

.home-split .chat-quick {
  margin-top: 1rem;
  position: relative;
  z-index: 20;
  flex-wrap: wrap;
  max-width: 100%;
  overflow: visible;
}

/* Make sure homepage always shows all 3 pills */
body.home .chat-quick {
  flex-wrap: wrap;
  max-width: 100%;
  overflow: visible;
}

body.home .quick-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
}

.home-split .quick-chip:hover {
  border-color: #2f3031;
  transform: none;
}

.chat-back {
  display: none;
  align-self: flex-start;
  border: none;
  background: transparent;
  color: #a0a0a0;
  border-radius: 0;
  padding: 0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.chat-back:hover {
  color: #ffffff;
}

.chat-landing {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.2rem 0 0.4rem;
  width: 100%;
}

.chat-quick {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  justify-content: flex-start;
  max-width: 680px;
  overflow: hidden;
}

.quick-chip {
  border: 1px solid #2f3031;
  background: #1a1b1c;
  color: #e3e3e3;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  white-space: nowrap;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease;
}

.quick-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.chat-input-wrap {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.chat-input-shell {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.chat-input-wrap .search-bar {
  width: 100%;
}

.chat-thread {
  display: none;
  gap: 1.25rem;
  margin: 1rem auto 0;
  padding-bottom: 8rem;
  max-width: 848px;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.chat-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.chat-row.user {
  justify-content: flex-end;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: #1e1f20;
  color: #e3e3e3;
  flex-shrink: 0;
}

.chat-bubble {
  max-width: 720px;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: #131314;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-bubble.assistant {
  background: transparent;
  border-color: transparent;
}

.chat-bubble.user {
  background: #28292a;
  border-color: #444746;
  border-top-right-radius: 6px;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(227, 227, 227, 0.75);
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing-bounce {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-cards {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.chat-cards.is-pending {
  display: none;
}

.chat-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #121212;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, border 0.2s ease;
}

.chat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.chat-card-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}

.chat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-card-image.is-missing .chat-card-fallback {
  opacity: 1;
}

.chat-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, #111, #1a1a1a, #0f172a);
  opacity: 0;
}

.chat-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.chat-card-body p {
  font-size: 0.8rem;
  color: var(--muted);
}

.chat-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.chat-card-tags .metric {
  color: var(--accent);
  font-weight: 600;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.chat-suggestions.is-pending {
  opacity: 0;
  pointer-events: none;
}

.chat-suggestion {
  border: 1px solid #444746;
  background: #1e1f20;
  color: #c4c7c5;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease;
}

.chat-suggestion:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

body.chat-started .chat-landing {
  display: none;
}

body.chat-started .chat-thread {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

body.chat-started .messages-container {
  height: auto;
  overflow-y: visible;
  padding: 12px 24px 140px;
  scroll-behavior: smooth;
}

body.chat-started {
  overflow: auto;
}

.chat-input-fixed {
  display: none;
}

body.chat-started .chat-input-fixed {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px;
  background: transparent;
  pointer-events: none;
}

body.chat-started .chat-input-fixed .search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 14px 16px;
  pointer-events: auto;
  box-shadow: none;
}

body.chat-started .chat-input-fixed .search-bar input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

body.chat-started .chat-input-fixed .send-button {
  display: inline-flex;
}

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

.chat-bubble-text p {
  margin: 0;
}

.chat-bubble-text p + p {
  margin-top: 0.6rem;
}

.chat-bubble-text ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.chat-bubble-text li {
  color: inherit;
}

.chat-bubble-text strong {
  color: #ffffff;
  font-weight: 700;
}

.landing-hidden {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
  pointer-events: none;
}

.chat-input-shell,
.chat-landing,
.chat-quick .quick-chip {
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

body.chat-started .hero-top,
body.chat-started .headline,
body.chat-started .section-subtitle,
body.chat-started .hero-footer,
body.chat-started .hero-grid {
  display: none;
}

body.chat-started .chat-back {
  display: inline-flex;
}

.help-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.help-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .nav-right {
    gap: 1.2rem;
  }
}

@media (max-width: 820px) {
  /* Reduce top spacing (header + hero) on mobile */
  body.home .page {
    padding-top: 0;
  }

  body.home .chat-hero {
    min-height: 0 !important;
    justify-content: flex-start !important;
    gap: 0.6rem;
  }

  body.home .home-split {
    margin-top: 0;
  }

  body.home .hero-top {
    font-size: 26px;
  }

  body.home .headline {
    font-size: 18px;
    line-height: 1.35;
  }

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

  .hero-avatar {
    width: 180px;
    height: 320px;
    border-radius: 0;
    overflow: visible;
    border: none;
    background: transparent;
  }

  .hero-content {
    margin-left: 0;
  }

  .home-split {
    gap: 2rem;
  }

  .hero-left {
    align-items: flex-start;
    margin-left: 0;
  }

  .hero-name {
    font-size: 2.1rem;
  }

  body.home .hero-content {
    margin-left: 0;
    align-self: flex-start;
  }

  body.home .hero-avatar img {
    transform: translate(0, -8px) scale(1.03);
  }

  /* Mobile pills: smaller + keep all 3 visible */
  body.home .chat-quick {
    gap: 0.5rem;
    overflow: visible;
    flex-wrap: wrap;
    max-width: 100%;
  }

  body.home .quick-chip {
    padding: 0.32rem 0.7rem;
    font-size: 0.66rem;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0.2rem 20px;
  }

  .nav-right {
    display: none;
  }

  .nav-toggle-button {
    display: flex;
  }

  .nav-toggle:checked ~ .nav-mobile {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .page {
    padding: 2.5rem 6vw 4rem;
  }
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 0;
}

.section h1,
.section h2 {
  font-size: 2rem;
}

.section-subtitle {
  color: var(--muted);
  margin-top: 0.4rem;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  perspective: 1200px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.45s ease, box-shadow 0.25s ease, opacity 0.45s ease;
}

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

.project-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow);
}

.project-card .image-wrapper img {
  transition: transform 0.35s ease;
}

.project-card:hover .image-wrapper img {
  transform: scale(1.06);
}

.project-card:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.6);
  outline-offset: 4px;
}

.project-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.project-card::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 60%;
  height: 300%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transform: translateX(-20%) rotate(8deg);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 120% at 20% 10%,
    rgba(168, 85, 247, 0.12),
    rgba(0, 0, 0, 0)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 1;
}

.project-card:hover::before {
  opacity: 1;
  animation: sweep 0.9s ease;
}

.image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #111, #1a1a1a, #0f172a);
  color: var(--text);
  font-weight: 600;
  opacity: 0;
}

.image-wrapper.is-missing .image-fallback {
  opacity: 1;
}

.tag-pill {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.metric-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.project-desc {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.primary-button {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--text);
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
}

.chat-button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.detail-header {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.back-link {
  color: var(--muted);
  font-size: 0.85rem;
}

.detail-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}

.detail-gallery .image-wrapper {
  border-radius: 18px;
  overflow: hidden;
  background: #0d0d0d;
}

.detail-gallery .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study {
  background: #0a0a0a;
  color: #ffffff;
}

.case-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-hero {
  padding: 80px 0 120px;
}

.case-hero h1 {
  font-size: 48px;
  margin-top: 80px;
  color: #ffffff;
  line-height: 1.2;
}

.case-lead {
  font-size: 20px;
  line-height: 1.6;
  color: #d0d0d0;
  margin-top: 24px;
  max-width: 720px;
}

.case-meta {
  margin-top: 40px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  display: grid;
  gap: 12px;
}

.case-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6a6a6a;
}

.case-value {
  font-size: 14px;
  color: #ffffff;
}

.case-hero-media img {
  width: 100%;
  display: block;
  margin-top: 80px;
}

.case-section {
  padding: 120px 0;
}

.case-section h2 {
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 32px;
}

.case-section h3 {
  font-size: 24px;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 16px;
}

.case-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 24px;
}

.case-subtitle {
  font-size: 20px;
  color: #a0a0a0;
  margin-bottom: 32px;
}

.case-problem {
  margin-bottom: 48px;
}

.case-problem blockquote {
  margin-top: 24px;
  background: #1a1a1a;
  padding: 24px;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  color: #a0a0a0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}

.case-list {
  margin: 0 0 32px 24px;
  display: grid;
  gap: 12px;
  color: #d0d0d0;
  font-size: 18px;
  line-height: 1.8;
}

.case-list li {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.case-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.65em;
}

.case-media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-media img {
  width: 100%;
  display: block;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: #0d0d0d;
}

.case-media-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-caption {
  text-align: center;
  font-size: 14px;
  color: #6a6a6a;
  margin-top: 16px;
}

.case-strong {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
  margin-top: 24px;
}

.case-metrics strong {
  color: var(--accent);
  font-weight: 700;
}

.case-feature {
  margin-top: 60px;
}

.case-next {
  padding: 120px 0;
  background: #0d0d0d;
  border-top: 1px solid #2a2a2a;
}

.case-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent);
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .case-hero h1 {
    font-size: 32px;
    margin-top: 40px;
  }

  .case-lead,
  .case-section p,
  .case-list {
    font-size: 16px;
  }

  .case-section {
    padding: 80px 0;
  }

  .case-section h2 {
    font-size: 24px;
  }

  .case-section h3 {
    font-size: 20px;
  }
}

.adidas-case {
  background: #0a0a0a;
  color: #ffffff;
}

.adidas-hero {
  position: relative;
}

.case-hero-modern {
  background: #0a0a0a;
}

.case-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 80px;
  align-items: start;
}

.case-hero-left h1 {
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.case-badge {
  display: inline-flex;
  font-size: 16px;
  color: var(--accent);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 32px;
}

.case-overview {
  font-size: 18px;
  color: #d0d0d0;
  line-height: 1.7;
  max-width: 600px;
}

.case-hero-right {
  display: flex;
  flex-direction: column;
}

.case-meta-label {
  text-transform: uppercase;
  font-size: 12px;
  color: #6a6a6a;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.case-meta-value {
  font-size: 16px;
  color: #ffffff;
}

.case-meta-item {
  margin-bottom: 32px;
}

.case-kpis-spaced {
  margin-top: 80px;
}

.case-challenge {
  background: #0a0a0a;
}

.case-challenge-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.case-challenge-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 48px;
}

.case-challenge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.case-challenge-left p {
  font-size: 20px;
  color: #d0d0d0;
  line-height: 1.7;
  max-width: 500px;
}

.case-highlight {
  color: var(--accent);
  font-weight: 600;
}

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

.case-challenge-card {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  padding: 32px;
  border-radius: 12px;
  min-height: 180px;
  transition: all 0.3s ease;
}

.case-challenge-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-4px);
}

.case-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.case-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.case-card-desc {
  font-size: 15px;
  color: #a0a0a0;
  line-height: 1.6;
}

.adidas-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}

.adidas-hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -1px;
}

.adidas-subtitle {
  font-size: 20px;
  color: #a0a0a0;
  margin-top: 16px;
  line-height: 1.5;
}

.adidas-meta {
  font-size: 14px;
  color: #6a6a6a;
  margin-top: 24px;
}

.adidas-kpis {
  background: radial-gradient(
      120% 200% at 0% 0%,
      rgba(168, 85, 247, 0.22),
      rgba(0, 0, 0, 0.92)
    ),
    #050505;
  padding: 80px 40px;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  margin: 0 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
}

@media (max-width: 1024px) {
  .case-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .case-hero-inner,
  .case-challenge-inner {
    padding: 60px 24px;
  }

  .case-hero-grid,
  .case-challenge-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-hero-left h1 {
    font-size: 40px;
  }

  .case-challenge-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .case-challenge-cards {
    grid-template-columns: 1fr;
  }
}

.wivai-kpis {
  background: #0d0d0d;
  padding: 100px 40px;
  border-top: 1px solid #2a2a2a;
  margin-bottom: 120px;
}

.wivai-kpis-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.wivai-pillars {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  gap: 40px;
}

.wivai-pillar-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.wivai-pillar-index {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}

.wivai-pillars h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.wivai-pillars p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
}

.wivai-mobile-row {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: end;
}

.wivai-mobile-row img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: #0d0d0d;
}

@media (max-width: 960px) {
  .wivai-mobile-row {
    grid-template-columns: 1fr;
  }
}

.adidas-kpi-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
  text-align: center;
}

.adidas-kpi-number {
  font-size: 80px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.45);
  line-height: 1;
  margin-bottom: 16px;
}

.adidas-kpi-label {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.adidas-kpi-desc {
  font-size: 14px;
  color: #a0a0a0;
  line-height: 1.5;
}

.adidas-overview,
.adidas-impact {
  padding: 80px 0;
}

.wivai-two-col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.wivai-two-col-item h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.wivai-two-col-item p {
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 24px;
}

@media (max-width: 960px) {
  .wivai-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.adidas-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.adidas-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
}

.adidas-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 24px;
}

.adidas-section,
.sabadell-section {
  padding: 80px 0;
}

.adidas-section-header,
.sabadell-section-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.adidas-section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.adidas-section-header p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
}

.adidas-media,
.sabadell-media {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 40px;
}

.adidas-media img,
.adidas-media-grid img,
.adidas-mobile-grid img,
.sabadell-media img,
.sabadell-media-grid img,
.sabadell-mobile-grid img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: #0d0d0d;
}

.adidas-media-grid,
.adidas-mobile-grid,
.sabadell-media-grid,
.sabadell-mobile-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.adidas-mobile-grid img:nth-child(odd) {
  transform: translateY(12px);
}

.adidas-mobile-grid img:nth-child(even) {
  transform: translateY(-12px);
}

.sabadell-stagger-grid img {
  transform: none;
}

@media (min-width: 900px) {
  .sabadell-stagger-grid img:nth-child(odd) {
    transform: translateY(10px);
  }

  .sabadell-stagger-grid img:nth-child(even) {
    transform: translateY(-10px);
  }
}

.adidas-subsection {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 40px;
}

.adidas-subsection h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.adidas-subsection p {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #d0d0d0;
}

.adidas-list {
  margin: 0 0 40px 24px;
  display: grid;
  gap: 12px;
  color: #d0d0d0;
  font-size: 18px;
  line-height: 1.8;
}

.adidas-list li {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.adidas-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.65em;
}

.adidas-metrics strong {
  color: var(--accent);
  font-weight: 700;
}

.impact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.impact-heading {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
  text-align: left;
}

.impact-intro {
  font-size: 18px;
  color: #d0d0d0;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 60px;
  text-align: left;
}

.metrics-grid-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.metrics-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.metric-card {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.metric-card.large {
  padding: 48px;
  min-height: 280px;
}

.metric-card.small {
  padding: 40px;
  min-height: 200px;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: #3a3a3a;
}

.metric-number {
  font-size: 72px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.45);
}

.metric-card.small .metric-number {
  font-size: 56px;
}

.metric-description {
  font-size: 16px;
  color: #a0a0a0;
  line-height: 1.5;
  font-weight: 400;
}

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

  .metrics-grid-large {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-grid-small {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .metric-number {
    font-size: 64px;
  }

  .metric-card.small .metric-number {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .metrics-grid-large,
  .metrics-grid-small {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .metric-card.large .metric-number {
    font-size: 56px;
  }

  .metric-card.small .metric-number {
    font-size: 48px;
  }

  .metric-card.large,
  .metric-card.small {
    min-height: 180px;
    padding: 32px;
  }
}

.adidas-next {
  background: radial-gradient(
      130% 200% at 0% 0%,
      rgba(168, 85, 247, 0.18),
      rgba(0, 0, 0, 0.96)
    ),
    #050505;
  border: 1px solid #2a2a2a;
  padding: 80px 0;
  border-radius: 20px;
  margin: 0 24px 80px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
}

.adidas-next-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.adidas-next-media img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  background: #0d0d0d;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.adidas-next .adidas-text {
  max-width: none;
  margin: 0;
  padding: 0;
}

.case-two-col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.case-two-col-item h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.case-two-col-item p {
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 24px;
}

.adidas-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6a6a6a;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.adidas-link {
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
}

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

.reveal-on-scroll {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 960px) {
  .adidas-next-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .adidas-kpi-grid {
    gap: 60px;
  }

  .adidas-kpi-number {
    font-size: 64px;
  }

  .adidas-section-header h2 {
    font-size: 36px;
  }

  .adidas-mobile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .adidas-hero-content {
    padding: 60px 24px 32px;
  }

  .adidas-hero-content h1 {
    font-size: 32px;
  }

  .adidas-subtitle {
    font-size: 16px;
  }

  .adidas-kpis {
    padding: 80px 24px;
    margin: 0 16px;
  }

  .adidas-kpi-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .adidas-kpi-number {
    font-size: 56px;
  }

  .adidas-section,
  .adidas-overview,
  .adidas-impact,
  .adidas-next {
    padding: 80px 0;
  }

  .adidas-text,
  .adidas-section-header,
  .adidas-media,
  .adidas-media-grid,
  .adidas-mobile-grid,
  .sabadell-media-grid,
  .sabadell-mobile-grid {
    padding: 0 24px;
  }

  .adidas-section-header h2 {
    font-size: 32px;
  }

  .adidas-section-header p,
  .adidas-text p,
  .adidas-list {
    font-size: 16px;
  }

  .adidas-media-grid,
  .adidas-mobile-grid {
    grid-template-columns: 1fr;
  }

  .adidas-mobile-grid img {
    transform: none;
  }

  .adidas-impact .adidas-text {
    padding: 60px 24px;
  }

  .adidas-next {
    margin: 0 16px 60px;
  }
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.detail-title {
  font-size: 2rem;
  font-weight: 600;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
}

.about-header {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.profile-photo {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #111, #1a1a1a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
}

.contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-row strong {
  color: var(--text);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.timeline-date {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.about-hero {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: center;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 300px;
  height: 300px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  background: #0d0d0d;
}

.about-photo:hover {
  transform: scale(1.02);
}

.about-name {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.about-title {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 24px;
}

.about-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 16px;
  color: #ffffff;
}

.about-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  transition: color 0.2s ease;
}

.about-contact-item:hover {
  color: var(--accent);
}

.about-contact-icon {
  font-size: 18px;
  color: #6a6a6a;
}

.about-copy {
  max-width: 900px;
  margin: 120px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
}

.about-copy h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.about-copy a {
  color: var(--accent);
}

.about-copy a:hover {
  text-decoration: underline;
}

.about-callout {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  color: #e5e5e5;
  margin-top: 16px;
}

.about-badge {
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
}

.about-grid-premium {
  margin-top: 120px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card-premium {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.2s ease;
  color: #d0d0d0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card-premium:hover {
  border-color: #2a2a2a;
}

.about-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card-premium ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 16px;
}

.about-tool-grid span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  font-size: 11px;
  color: #d0d0d0;
  background: #111;
  text-align: center;
}

@media (max-width: 960px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-name {
    font-size: 36px;
  }

  .about-grid-premium {
    grid-template-columns: 1fr;
  }
}

.about-page {
  background: #0a0a0a;
}

.about-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 4rem;
  align-items: start;
  animation: fade-up 0.6s ease both;
}

.about-sidebar {
  position: relative;
}

.about-sidebar-sticky {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-name-large {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.about-short {
  font-size: 18px;
  color: #a0a0a0;
  line-height: 1.7;
}

.about-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  text-underline-offset: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.about-contact-link:hover {
  color: var(--accent);
  text-decoration: underline;
  transform: translateX(2px);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a0a0a0;
}

.about-timeline {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.timeline-item {
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  animation: fade-up 0.5s ease both;
  animation-delay: calc(var(--delay) * 0.08s);
  transition: border-color 0.2s ease;
}

.timeline-item:hover {
  border-bottom-color: rgba(168, 85, 247, 0.6);
}

.timeline-trigger {
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  cursor: pointer;
}

.timeline-trigger:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.6);
  outline-offset: 6px;
  border-radius: 8px;
}

.timeline-role {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.timeline-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.timeline-company {
  font-size: 16px;
  color: #a0a0a0;
  letter-spacing: 0.04em;
}

.timeline-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.timeline-date {
  font-size: 16px;
  color: #a0a0a0;
  text-align: right;
}

.timeline-chevron {
  color: var(--accent);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.timeline-chevron svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.timeline-item.is-open .timeline-chevron {
  transform: rotate(180deg);
}

.timeline-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.timeline-item.is-open .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content-inner {
  padding-top: 1rem;
  color: #a0a0a0;
  font-size: 16px;
  line-height: 1.7;
  display: grid;
  gap: 0.9rem;
}

.timeline-content-inner ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.timeline-content-inner li {
  color: #a0a0a0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sweep {
  from {
    transform: translateX(-40%) rotate(8deg);
  }
  to {
    transform: translateX(180%) rotate(8deg);
  }
}

@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-sidebar-sticky {
    position: static;
  }

  .about-name-large {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .timeline-trigger {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-meta {
    width: 100%;
    justify-content: space-between;
  }
}
