:root {
  --home-bg-a: #f5f9ff;
  --home-bg-b: #eef6f3;
  --home-text: #0d2235;
  --home-muted: #4b647a;
  --home-surface: rgba(255, 255, 255, 0.84);
  --home-surface-strong: #ffffff;
  --home-border: rgba(32, 97, 148, 0.18);
  --home-shadow: 0 14px 40px rgba(10, 37, 63, 0.12);
  --home-accent: #0c84d9;
  --home-accent-2: #11aa8f;
  color-scheme: light;
}

[data-theme="light"] {
  --home-bg-a: #f5f9ff;
  --home-bg-b: #eef6f3;
  --home-text: #0d2235;
  --home-muted: #4b647a;
  --home-surface: rgba(255, 255, 255, 0.84);
  --home-surface-strong: #ffffff;
  --home-border: rgba(32, 97, 148, 0.18);
  --home-shadow: 0 14px 40px rgba(10, 37, 63, 0.12);
  --home-accent: #0c84d9;
  --home-accent-2: #11aa8f;
}

[data-theme="dark"] {
  --home-bg-a: #f5f9ff;
  --home-bg-b: #eef6f3;
  --home-text: #0d2235;
  --home-muted: #4b647a;
  --home-surface: rgba(255, 255, 255, 0.84);
  --home-surface-strong: #ffffff;
  --home-border: rgba(32, 97, 148, 0.18);
  --home-shadow: 0 14px 40px rgba(10, 37, 63, 0.12);
  --home-accent: #0c84d9;
  --home-accent-2: #11aa8f;
}

/* Site-wide theme layer */
body {
  color: var(--home-text);
  background:
    radial-gradient(1200px 620px at -8% -10%, rgba(67, 166, 255, 0.16), transparent 62%),
    radial-gradient(980px 520px at 108% -8%, rgba(53, 212, 181, 0.14), transparent 62%),
    linear-gradient(180deg, var(--home-bg-a), var(--home-bg-b));
}

[data-theme="light"] .header {
  background: transparent;
  padding: 14px 20px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1200;
}

[data-theme="light"] .header__inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--home-shadow);
  position: relative;
  z-index: 1201;
  overflow: visible;
}

[data-theme="light"] .menu {
  background: transparent;
  z-index: 1300;
}

[data-theme="light"] .menu__inner li {
  background: transparent;
}

[data-theme="light"] .menu a {
  border-radius: 8px;
  padding: 7px 10px;
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
}

[data-theme="light"] .menu a.is-active {
  background: rgba(12, 132, 217, 0.12);
  color: var(--home-accent);
}

[data-theme="light"] .menu a:hover {
  text-decoration: none;
  color: var(--home-accent);
}

[data-theme="light"] .menu__resume a {
  background: linear-gradient(135deg, var(--home-accent), var(--home-accent-2));
  color: #fff;
  border-color: transparent;
}

@media (max-width: 684px) {
  [data-theme="light"] .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 2px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--home-border);
    background: var(--home-surface-strong);
    box-shadow: 0 12px 26px rgba(8, 34, 58, 0.2);
    z-index: 1400;
  }

  [data-theme="light"] .menu__inner li {
    width: 100%;
    padding: 0;
  }

  [data-theme="light"] .menu__inner li a {
    width: 100%;
    padding: 8px 10px;
  }
}

.projects-page {
  width: 100%;
  max-width: 980px;
  padding: 8px 20px 40px;
}

.projects-head {
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
  padding: 18px;
  margin: 10px 0 14px;
  text-align: left;
}

.projects-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.projects-head p {
  margin: 6px 0 0;
  color: var(--home-muted);
  font-size: 0.92rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.project-list-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(7, 39, 67, 0.16);
}

/* Featured badge */
.project-featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--home-accent), var(--home-accent-2));
  color: #fff;
  box-shadow: 0 2px 8px rgba(12, 132, 217, 0.3);
  z-index: 1;
}

.project-list-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-list-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--home-border);
}

.project-list-card__body {
  padding: 12px;
  text-align: left;
}

.project-list-card__body h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.project-list-card__body p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.project-metric {
  margin-top: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  color: var(--home-accent) !important;
  letter-spacing: 0.02em;
}

/* Device frame in project cards */
.project-list-card__device-area {
  display: flex;
  justify-content: center;
  padding: 20px 20px 12px;
  background:
    linear-gradient(145deg, rgba(12, 132, 217, 0.1), rgba(17, 170, 143, 0.08));
  border-bottom: 1px solid var(--home-border);
}

.device-frame--card {
  width: 120px;
  border-radius: 18px;
  padding: 4px;
}

.device-frame--card img {
  border-radius: 14px;
}

.device-frame--card .device-notch {
  top: 7px;
  width: 36px;
  height: 10px;
  border-radius: 6px;
}

.posts,
.post {
  border-radius: 16px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
}

.post-title a,
.posts .post-item a {
  text-decoration: none;
}

.post-content p,
.posts .post-title {
  color: var(--home-text);
}

.post-info,
.post-day,
.post-excerpt {
  color: var(--home-muted);
}

.mobile-home {
  color: var(--home-text);
  background:
    radial-gradient(1100px 560px at -6% -8%, rgba(67, 166, 255, 0.2), transparent 60%),
    radial-gradient(900px 500px at 104% -4%, rgba(53, 212, 181, 0.18), transparent 60%),
    linear-gradient(180deg, var(--home-bg-a), var(--home-bg-b));
}

.mobile-home .container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-home-main {
  margin: 0 auto;
  max-width: 980px;
  padding: 8px 20px 40px;
  letter-spacing: 0.012em;
}

.mobile-home .content {
  width: 100%;
}

.mobile-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 10px 0 16px;
  padding: 22px 24px 28px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(12, 132, 217, 0.24), rgba(17, 170, 143, 0.2)),
    var(--home-surface-strong);
  background-size: 200% 200%;
  animation: heroShift 8s ease-in-out infinite alternate;
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  text-align: center;
}

@keyframes heroShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-avatar {
  display: block;
  width: var(--avatar-size, 132px);
  height: var(--avatar-size, 132px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(8, 37, 64, 0.22);
  margin: 0 auto var(--avatar-gap, 10px);
  transform: translate(var(--avatar-offset-x, 0px), var(--avatar-offset-y, 0px));
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--home-muted);
}

.mobile-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.72rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.006em;
}

.hero-subtitle {
  margin: 0 auto;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--home-muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}

.action-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  color: var(--home-text);
  font-size: 0.9rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--home-accent), var(--home-accent-2));
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11, 45, 76, 0.16);
}

/* ── Device frame (iPhone mockup) ─────────────────── */
.device-frame {
  position: relative;
  background: #1a1a1e;
  border-radius: 26px;
  padding: 6px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 44px rgba(0, 0, 0, 0.3);
}

.device-frame img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.device-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 16px;
  background: #1a1a1e;
  border-radius: 10px;
  z-index: 2;
}

.device-frame--sm {
  border-radius: 20px;
  padding: 5px;
}

.device-frame--sm img {
  border-radius: 15px;
}

.device-frame--sm .device-notch {
  top: 8px;
  width: 40px;
  height: 12px;
  border-radius: 8px;
}

/* ── Hero devices ────────────────────────────────── */
.hero-devices {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding: 10px 0;
}

.hero-device-link {
  text-decoration: none;
  display: block;
  transition: transform 260ms ease;
}

.hero-device-link:first-child {
  z-index: 2;
  transform: rotate(-5deg);
}

.hero-device-link:last-child {
  z-index: 1;
  transform: rotate(4deg) translateX(-24px);
}

.hero-device-link:first-child:hover {
  transform: rotate(-5deg) translateY(-6px);
}

.hero-device-link:last-child:hover {
  transform: rotate(4deg) translateX(-24px) translateY(-6px);
}

.hero-devices .device-frame {
  width: 150px;
}

/* ── Hero stats ──────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats .stat {
  font-size: 0.84rem;
  color: var(--home-muted);
}

.hero-stats .stat strong {
  color: var(--home-accent);
  font-weight: 800;
}

.flagship-section,
.shipping-section {
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
  padding: 14px;
  margin-bottom: 14px;
  text-align: left;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 2px 0 2px;
  font-size: 1.1rem;
}

.section-link {
  font-size: 0.86rem;
  color: var(--home-accent);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 4px;
}

.featured-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

/* ── Flagship App Store cards ────────────────────── */
.flagship-card {
  border-radius: 16px;
  border: 1px solid var(--home-border);
  overflow: hidden;
  background: var(--home-surface-strong);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-align: left;
}

.flagship-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(7, 39, 67, 0.18);
}

.flagship-card__link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 16px;
  text-align: left;
}

.flagship-card__device {
  flex-shrink: 0;
}

.flagship-card__device .device-frame {
  width: 110px;
}

.flagship-card__info {
  flex: 1;
  min-width: 0;
}

.flagship-card__info h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.flagship-card__info p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.52;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.flagship-card__actions {
  display: flex;
  gap: 14px;
  padding: 0 16px 14px;
  border-top: 1px solid var(--home-border);
  padding-top: 10px;
  margin: 0 16px;
  text-align: left;
}

.flagship-card__actions a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--home-accent);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.stack-list span {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--home-border);
  background: rgba(12, 132, 217, 0.08);
}

/* ── Production Experience Cards ─────────────────── */
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.company-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--home-border);
  border-left: 4px solid var(--card-accent, var(--home-accent));
  border-radius: 12px;
  background: var(--home-surface-strong);
  padding: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-align: left;
}

.company-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 39, 67, 0.14);
}

.company-logo-wrap {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* fallback */
  background: rgba(12, 132, 217, 0.1);
  border: 1px solid rgba(12, 132, 217, 0.18);
  /* modern */
  background: color-mix(in srgb, var(--card-accent, var(--home-accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--home-accent)) 20%, transparent);
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.company-initial {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--card-accent, var(--home-accent));
  line-height: 1;
}

.company-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.company-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.company-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--home-text);
}

.company-dates {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--home-muted);
  background: rgba(12, 132, 217, 0.08);
  border: 1px solid var(--home-border);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.company-role {
  margin: 4px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--card-accent, var(--home-accent));
  letter-spacing: 0.004em;
}

.company-impact {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--home-muted);
  line-height: 1.5;
}

.social-row {
  margin-top: 12px;
  text-align: center;
}

.social-row a {
  color: var(--home-text);
  opacity: 0.92;
}

@media (min-width: 800px) {
  .mobile-hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 26px 32px;
  }

  .mobile-hero-copy {
    text-align: left;
  }

  .mobile-hero-copy .hero-avatar {
    margin: 0 0 8px;
  }

  .mobile-hero-copy .hero-actions {
    justify-content: flex-start;
  }

  .mobile-hero-copy .hero-stats {
    justify-content: flex-start;
  }

  .hero-devices .device-frame {
    width: 170px;
  }

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

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

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

@media (max-width: 799px) {
  .mobile-hero {
    padding: 20px;
  }

  .hero-devices .device-frame {
    width: min(130px, 30vw);
  }

  .flagship-card__link {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .flagship-card__info .stack-list {
    justify-content: flex-start;
  }

  .flagship-card__actions {
    justify-content: flex-start;
  }

  [data-theme="light"] .header {
    padding: 12px 14px;
  }

  .mobile-home-main {
    padding: 8px 14px 30px;
  }

  .projects-page {
    padding: 8px 14px 30px;
  }
}

/* ── App Store badge ─────────────────────────────── */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--home-accent);
}

.appstore-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.project-video {
  margin: 14px auto 18px;
  max-width: 320px;
}

.project-video video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  background: #000;
}

.project-video figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--home-muted);
  text-align: center;
}

@media (min-width: 900px) {
  .project-video {
    max-width: 360px;
  }
}

/* ── Entrance animations ─────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-hero {
  animation: fadeUp 0.5s ease-out both;
}

.flagship-section {
  animation: fadeUp 0.5s ease-out 0.1s both;
}

.shipping-section {
  animation: fadeUp 0.5s ease-out 0.2s both;
}

.social-row {
  animation: fadeUp 0.5s ease-out 0.3s both;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-hero,
  .flagship-section,
  .shipping-section,
  .social-row,
  .about-hero,
  .about-section {
    animation: none;
  }
  .mobile-hero {
    animation: none;
    background-size: auto;
  }
}

/* ── About Page ──────────────────────────────────── */
.about-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 20px 40px;
  text-align: left;
  letter-spacing: 0.012em;
}

.about-hero {
  text-align: center;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(12, 132, 217, 0.24), rgba(17, 170, 143, 0.2)),
    var(--home-surface-strong);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  padding: 32px 24px;
  margin-bottom: 14px;
  animation: fadeUp 0.5s ease-out both;
}

.about-avatar {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(8, 37, 64, 0.22);
  margin: 0 auto 14px;
}

.about-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.about-tagline {
  margin: 0 auto 16px;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  max-width: 50ch;
}

.about-intro {
  margin: -2px auto 14px;
  color: var(--home-text);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 58ch;
}

.about-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-social-link {
  display: inline-block;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--home-accent);
  padding: 6px 14px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  background: var(--home-surface);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.about-social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 45, 76, 0.14);
}

/* Sections */
.about-section {
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
  padding: 18px;
  margin-bottom: 14px;
  animation: fadeUp 0.5s ease-out 0.1s both;
  text-align: left;
}

.about-section:nth-child(3) { animation-delay: 0.15s; }
.about-section:nth-child(4) { animation-delay: 0.2s; }
.about-section:nth-child(5) { animation-delay: 0.25s; }

.about-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.about-content p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--home-text);
}

.about-content h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
}

.about-content ul {
  margin: 8px 0 14px;
  padding-left: 18px;
}

.about-content li {
  margin-bottom: 6px;
  color: var(--home-muted);
}

/* Highlights */
.about-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.highlight-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid var(--home-border);
  background: var(--home-surface-strong);
}

.highlight-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--home-accent);
  line-height: 1.2;
}

.highlight-item span {
  font-size: 0.78rem;
  color: var(--home-muted);
  font-weight: 600;
}

/* Experience cards */
.about-experience {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-exp-card {
  border: 1px solid var(--home-border);
  border-left: 4px solid var(--card-accent, var(--home-accent));
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card-accent, var(--home-accent)) 6%, #fff),
    var(--home-surface-strong)
  );
  padding: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-align: left;
  letter-spacing: 0.01em;
}

.about-exp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 39, 67, 0.14);
}

.about-exp-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.about-exp-meta {
  flex: 1;
  min-width: 0;
}

.about-exp-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.about-exp-name-row h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.006em;
}

.about-exp-meta .company-role {
  margin: 5px 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 650;
  color: var(--card-accent, var(--home-accent));
}

.about-exp-bullets {
  margin: 8px 0 0;
  padding-left: 18px;
  list-style: disc;
  list-style-position: outside;
  text-align: left;
  letter-spacing: 0.008em;
}

.about-exp-bullets li {
  display: list-item;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--home-text) 80%, #3a5570);
  line-height: 1.45;
  margin: 0 0 7px;
  padding-left: 2px;
}

.about-exp-bullets li::marker {
  color: var(--card-accent, var(--home-accent));
}

.about-exp-bullets li:last-child {
  margin-bottom: 0;
}

/* Skills */
.about-skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.skill-group h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--home-muted);
}

/* Education */
.about-edu-card {
  border: 1px solid var(--home-border);
  border-left: 4px solid var(--home-accent);
  border-radius: 12px;
  background: var(--home-surface-strong);
  padding: 14px;
}

.about-edu-card--red {
  border-color: rgba(122, 15, 22, 0.35);
  border-left-color: #7a0f16;
  background: linear-gradient(180deg, rgba(122, 15, 22, 0.12), rgba(122, 15, 22, 0.03));
}

.about-edu-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-edu-card h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.about-edu-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--home-muted);
}

.about-edu-detail {
  margin-top: 6px !important;
  font-weight: 600;
  color: var(--home-accent) !important;
}

.about-edu-card--red .about-edu-detail {
  color: #7a0f16 !important;
}

.about-edu-card--red h3 {
  color: #7a0f16;
}

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

@media (max-width: 799px) {
  .about-page {
    padding: 8px 14px 30px;
  }
}
