:root {
  --hero-text: #f4f4f5;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --surface: #0f0f12;
  --surface-2: #131316;
  --surface-elevated: #18181c;
  --surface-section: #121215;
  --border: rgba(255, 255, 255, 0.055);
  --border-strong: rgba(255, 255, 255, 0.09);
  --muted: #9ca3af;
  --accent: #7eb8b0;
  --accent-2: #8b9cb8;
  --accent-dim: rgba(126, 184, 176, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --section-pad: clamp(3.5rem, 10vw, 5.25rem);
  --container-pad: clamp(1rem, 4vw, 1.75rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --nav-h: 52px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface);
  color: #e4e4e7;
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(126, 184, 176, 0.22);
  color: #fff;
}

/* ——— Hero: typographic, no portrait ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--container-pad) clamp(2rem, 5vh, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0c;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 70%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% -10%, rgba(126, 184, 176, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 45%, rgba(139, 156, 184, 0.08), transparent 50%),
    radial-gradient(ellipse 45% 35% at 15% 60%, rgba(126, 184, 176, 0.06), transparent 50%);
}

.hero__mouse-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 30%),
    rgba(126, 184, 176, 0.075),
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (hover: hover) {
  .hero:hover .hero__mouse-glow {
    opacity: 1;
  }
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 12, 0.4) 55%, rgba(10, 10, 12, 0.92) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 46rem;
  width: 100%;
}

.hero__kicker {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hero__role {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(126, 184, 176, 0.95);
  letter-spacing: 0.06em;
}

.hero__tagline {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.9rem, 2.2vw, 1.02rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  margin-top: 1.65rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-out),
    box-shadow 0.2s ease;
}

.hero__btn--primary {
  background: rgba(126, 184, 176, 0.18);
  color: #e8f4f1;
  border: 1px solid rgba(126, 184, 176, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.hero__btn--primary:hover {
  background: rgba(126, 184, 176, 0.28);
  border-color: rgba(126, 184, 176, 0.5);
  transform: translateY(-1px);
}

.hero__btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-strong);
}

.hero__btn--outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.hero__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero__contact-line {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero__contact-line a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero__contact-line a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.hero__contact-dot {
  margin: 0 0.35rem;
  opacity: 0.45;
}

[data-hero] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
  transition-delay: var(--hero-delay, 0s);
}

[data-hero].is-hero-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-hero] {
    filter: none;
    transition: opacity 0.35s ease;
  }
}

.hero__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.5vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fafafa;
  line-height: 1.06;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.35rem;
  margin-top: 1.35rem;
  margin-bottom: 0.85rem;
  font-size: clamp(0.84rem, 2.4vw, 0.98rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__meta-sep {
  width: 1px;
  height: 0.95rem;
  background: rgba(255, 255, 255, 0.28);
}

.hero__icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  opacity: 0.9;
}

.hero__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-top: 1.15rem;
}

.hero__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  color: var(--hero-text);
  font-size: 1.12rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition:
    transform 0.35s var(--ease-spring),
    background 0.25s var(--ease-out),
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.hero__social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.hero__social-link:active {
  transform: translateY(-1px) scale(0.98);
}

.hero__social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero__chevron {
  position: relative;
  z-index: 4;
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.35s var(--ease-spring);
  animation: hero-bounce 2.4s var(--ease-out) infinite;
}

.hero__chevron:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
}

@keyframes hero-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__chevron {
    animation: none;
  }
}

/* ——— Main & nav ——— */
.main {
  position: relative;
  background: var(--surface);
}

.jump-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-height: var(--nav-h);
  padding: 0.55rem var(--container-pad);
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

body.has-scrolled .jump-nav {
  background: rgba(14, 14, 17, 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.jump-nav__link {
  position: relative;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.2s var(--ease-out);
}

.jump-nav__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.jump-nav__link:hover {
  color: #e4e4e7;
}

.jump-nav__link:hover::after {
  opacity: 1;
}

.jump-nav__link.is-active {
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(126, 184, 176, 0.22);
}

.jump-nav__link.is-active::after {
  opacity: 0;
}

.jump-nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ——— Sections ——— */
.section {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
  padding: var(--section-pad) var(--container-pad);
  border-bottom: 1px solid var(--border);
  background: var(--surface-section);
}

.main > section:nth-child(even) {
  background: var(--surface);
}

.section:last-of-type {
  border-bottom: none;
}

.section__inner {
  max-width: 62rem;
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 42rem;
}

.section__header {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.55rem;
}

.section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.8vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ececee;
}

.section__subtitle {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.section__lead {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  color: #a8a8b0;
  max-width: 42rem;
  line-height: 1.75;
  font-weight: 400;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-card[data-reveal]:nth-child(1) {
  transition-delay: 0s;
}
.skill-card[data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}
.skill-card[data-reveal]:nth-child(3) {
  transition-delay: 0.12s;
}
.skill-card[data-reveal]:nth-child(4) {
  transition-delay: 0.18s;
}

.skill-card[data-reveal]:nth-child(5) {
  transition-delay: 0.24s;
}

.timeline__item[data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.timeline__item[data-reveal]:nth-child(3) {
  transition-delay: 0.14s;
}

.project-grid > li[data-reveal]:nth-child(1) {
  transition-delay: 0s;
}
.project-grid > li[data-reveal]:nth-child(2) {
  transition-delay: 0.05s;
}
.project-grid > li[data-reveal]:nth-child(3) {
  transition-delay: 0.1s;
}
.project-grid > li[data-reveal]:nth-child(4) {
  transition-delay: 0.15s;
}
.project-grid > li[data-reveal]:nth-child(5) {
  transition-delay: 0.2s;
}
.project-grid > li[data-reveal]:nth-child(6) {
  transition-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.highlight-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 2px solid rgba(126, 184, 176, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.highlight-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.highlight-card__icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.05rem;
}

.highlight-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #e4e4e7;
}

.highlight-card__text {
  margin: 0;
  font-size: 0.94rem;
  color: #9ca3af;
  line-height: 1.68;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

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

  .skill-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.skill-card {
  padding: 1.4rem 1.45rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 184, 176, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.skill-card--accent {
  border-color: rgba(126, 184, 176, 0.15);
  background: rgba(126, 184, 176, 0.04);
}

.skill-card__products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0;
}

.skill-product {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.skill-product__title {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e4e4e7;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skill-product__ar {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  font-family: "Segoe UI", Tahoma, system-ui, sans-serif;
}

.skill-product__text {
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
  line-height: 1.62;
}

.skill-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: #f4f4f5;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.skill-card__title i {
  color: var(--accent);
  font-size: 1rem;
  transition: transform 0.35s var(--ease-spring);
}

.skill-card:hover .skill-card__title i {
  transform: scale(1.04);
}

.skill-card__desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.3rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid var(--border);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.skill-card:hover .tag-list li {
  border-color: rgba(255, 255, 255, 0.12);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.timeline__item {
  position: relative;
  padding-left: 1.85rem;
  padding-bottom: 2.25rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.55rem;
  bottom: -0.25rem;
  width: 1px;
  background: linear-gradient(var(--border-strong), transparent);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__dot {
  position: absolute;
  left: 0;
  top: 0.38rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  transition: transform 0.3s var(--ease-out);
}

.timeline__item:hover .timeline__dot {
  transform: scale(1.08);
}

.timeline__meta {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline__meta strong {
  color: #c4c4cc;
  font-weight: 600;
}

.timeline__title {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #e4e4e7;
}

.timeline__text {
  margin: 0;
  font-size: 0.94rem;
  color: #a1a1aa;
  line-height: 1.65;
}

.timeline__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.timeline__link:hover {
  border-bottom-color: rgba(126, 184, 176, 0.45);
  color: #a8cfc8;
}

/* ——— Projects ——— */
.project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

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

.project-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease-out);
  padding: 0;
}

.project-card:hover {
  border-color: rgba(126, 184, 176, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.project-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.project-card__image-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #111114;
}

.project-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--ease-out);
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.45s var(--ease-out);
}

.project-card:hover .project-card__placeholder {
  transform: scale(1.06);
}

.project-card__placeholder--mashro3k {
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
  border-bottom: 1px solid rgba(30, 58, 138, 0.2);
}

.project-card__placeholder--plans {
  background: linear-gradient(135deg, #111827 0%, #581c87 100%);
  border-bottom: 1px solid rgba(88, 28, 135, 0.2);
}

.project-card__content {
  padding: 1.15rem 2.5rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e4e4e7;
  word-break: break-word;
}

.project-card__hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.project-card__icon {
  position: absolute;
  bottom: 1.15rem;
  right: 1.15rem;
  font-size: 0.72rem;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-card:hover .project-card__icon {
  opacity: 0.85;
  transform: translate(1px, -1px);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .contact-actions {
    grid-template-columns: 1fr 1fr;
  }

  .contact-btn--ghost {
    grid-column: 1 / -1;
  }
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.35s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.contact-btn i {
  font-size: 1.05rem;
}

.contact-btn__label {
  word-break: break-word;
  text-align: center;
}

.contact-btn--primary {
  background: #1e2936;
  color: #eef2f6;
  border: 1px solid var(--border-strong);
  box-shadow: none;
}

.contact-btn--primary:hover {
  transform: translateY(-1px);
  background: #252f3f;
  border-color: rgba(126, 184, 176, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.contact-btn--primary:active {
  transform: translateY(0);
}

.contact-btn--secondary {
  background: var(--surface-elevated);
  color: #f4f4f5;
  border: 1px solid var(--border-strong);
}

.contact-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-btn--ghost {
  background: rgba(37, 211, 102, 0.06);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.contact-btn--ghost:hover {
  background: rgba(37, 211, 102, 0.12);
  transform: translateY(-2px);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer {
  padding: 2.25rem var(--container-pad) 2.75rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__text {
  margin: 0;
  font-size: 0.84rem;
  color: #71717a;
  letter-spacing: 0.02em;
}

/* ——— Featured Project ——— */
.featured-project {
  display: grid;
  gap: 0;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.featured-project:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .featured-project {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-project__image {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: #000;
}

@media (min-width: 768px) {
  .featured-project__image {
    border-bottom: none;
    border-right: 1px solid var(--border);
    height: 100%;
  }

  .featured-project--reverse .featured-project__image {
    order: 2;
    border-right: none;
    border-left: 1px solid var(--border);
  }

  .featured-project--reverse .featured-project__content {
    order: 1;
  }
}

.featured-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.featured-project__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-project__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f4f4f5;
}

.featured-project__desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.65;
}

/* Small phones */
@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--nav-h) + 0.5rem);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero__btn {
    width: 100%;
  }

  .hero__meta-sep {
    display: none;
  }

  .hero__meta {
    flex-direction: column;
    gap: 0.45rem;
  }

  .jump-nav {
    gap: 0.25rem;
  }

  .jump-nav__link {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }
}

/* Large screens */
@media (min-width: 1280px) {
  .section__inner {
    max-width: 68rem;
  }
}

/* ——— Featured AI Agent (SaherBot Showcase) ——— */
.section--ai-agents {
  background: var(--surface-section);
}

.ai-agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .ai-agent-layout {
    grid-template-columns: 1.25fr minmax(0, 1fr);
    gap: 3.5rem;
    align-items: flex-start;
  }
}

.case-study-item {
  margin-bottom: 2rem;
  padding: 1.25rem 1.45rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-study-item:hover {
  border-color: rgba(126, 184, 176, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.case-study-item:last-child {
  margin-bottom: 0;
}

.case-study-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fafafa;
  display: flex;
  align-items: center;
}

.case-study-text {
  margin: 0;
  font-size: 0.94rem;
  color: #a1a1aa;
  line-height: 1.65;
}

.impact-list {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #a1a1aa;
}

.impact-list li {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.impact-list li:last-child {
  margin-bottom: 0;
}

.impact-list strong {
  color: #ececee;
}

/* Chat Mock UI */
.chat-mock {
  background: rgba(15, 15, 18, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-mock__header {
  padding: 0.95rem 1.15rem;
  background: rgba(10, 10, 12, 0.65);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-mock__status-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-mock__avatar {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.chat-mock__indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #131316;
  box-shadow: 0 0 8px #10b981;
}

.chat-mock__name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fafafa;
}

.chat-mock__status {
  margin: 0;
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 500;
}

.chat-mock__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.chat-mock__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.chat-msg {
  display: flex;
  width: 100%;
}

.chat-msg--incoming {
  justify-content: flex-start;
}

.chat-msg--outgoing {
  justify-content: flex-end;
}

.chat-msg__bubble {
  max-width: 85%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chat-msg--incoming .chat-msg__bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #e4e4e7;
  border-bottom-left-radius: 2px;
}

.chat-msg--outgoing .chat-msg__bubble {
  background: var(--accent-dim);
  border: 1px solid rgba(126, 184, 176, 0.2);
  color: #e8f4f1;
  border-bottom-right-radius: 2px;
}

.chat-msg__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.chat-msg__time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  align-self: flex-end;
}

.chat-system-msg {
  align-self: center;
  font-size: 0.76rem;
  color: #8b9cb8;
  background: rgba(139, 156, 184, 0.04);
  border: 1px dashed rgba(139, 156, 184, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.chat-system-msg i {
  font-size: 0.8rem;
  color: var(--accent-2);
}

/* Link from skills to AI Agents */
.skill-product__showcase-link {
  font-size: 0.76rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  transition: color 0.2s ease, transform 0.2s ease;
}

.skill-product__showcase-link:hover {
  color: #a8cfc8;
  transform: translateX(2px);
}

/* Alternating Columns for AI Agents */
@media (min-width: 960px) {
  .ai-agent-layout--reverse .ai-agent-content {
    grid-column: 2;
  }
  .ai-agent-layout--reverse .ai-agent-visual {
    grid-column: 1;
    grid-row: 1;
  }
}

.ai-agent-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ai-agent-number {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.95;
  background: var(--accent-dim);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(126, 184, 176, 0.25);
}

.ai-agent-name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.015em;
}

.ai-agent-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
  margin-bottom: 0.25rem;
}

.tech-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(139, 156, 184, 0.05);
  border: 1px solid var(--border-strong);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-badge:hover {
  background: rgba(139, 156, 184, 0.1);
  border-color: rgba(139, 156, 184, 0.3);
}

.ai-agent-divider {
  margin: 4rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.ai-agent-visual {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* WP Publisher Agent Pipeline Mock UI */
.pipeline-mock {
  background: rgba(15, 15, 18, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.pipeline-mock__header {
  padding: 0.95rem 1.15rem;
  background: rgba(10, 10, 12, 0.65);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pipeline-mock__title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pipeline-mock__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(139, 156, 184, 0.12);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pipeline-mock__name {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fafafa;
}

.pipeline-mock__status {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.pipeline-mock__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(126, 184, 176, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.pipeline-mock__image-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 280px;
  overflow: hidden;
  background: #111114;
  display: block;
  position: relative;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.pipeline-mock__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 0% center;
  transition: object-position 5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pipeline-mock:hover .pipeline-mock__image {
  object-position: 100% center;
}

/* ——— About Section Styles ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.about-statement {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fafafa;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #a1a1aa;
}

.about-text strong {
  color: #fafafa;
  font-weight: 600;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.15fr 1.85fr;
    gap: 4rem;
    align-items: flex-start;
  }
}

/* ——— Lightbox Styles ——— */
.lightbox-trigger {
  cursor: zoom-in;
}

.project-card__image-wrapper,
.featured-project__image {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: #e4e4e7;
  font-size: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
  z-index: 1101;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: scale(1.05);
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transform: scale(0.95);
  transition: transform 0.35s var(--ease-out);
}

.lightbox.is-active .lightbox__content {
  transform: scale(1);
}

.lightbox__image {
  max-width: 100%;
  max-height: 72vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
  object-fit: contain;
  background: #0f0f12;
}

.lightbox__caption {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fafafa;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ——— AI-Augmented Card Styles ——— */
.ai-augmented-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease-out);
}

.ai-augmented-card:hover {
  border-color: rgba(126, 184, 176, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.ai-augmented-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.ai-augmented-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  align-self: flex-start;
}

.ai-augmented-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fafafa;
}

.ai-augmented-card__quote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fafafa;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.ai-augmented-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ai-augmented-card__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #a1a1aa;
}

.ai-augmented-card__text strong {
  color: #fafafa;
  font-weight: 600;
}

@media (min-width: 768px) {
  .ai-augmented-card {
    padding: 2.25rem 2.5rem;
  }

  .ai-augmented-card__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
