.hero-banner {
  position: relative;
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  background: #000000;
  color: #f8fafc;
  overflow: hidden;
}

.hero-banner__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-banner__scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.18), transparent 34%), radial-gradient(circle at 78% 28%, rgba(14, 165, 233, 0.12), transparent 30%), linear-gradient(180deg, rgba(2, 6, 23, 0.28) 0%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.hero-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-banner__grid {
  display: grid;
  gap: 3rem;
  align-items: end;
}

.hero-banner__eyebrow {
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-banner__title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 0.95;
  color: #ffffff;
}

@media (max-width: 575px) {
  .hero-banner__title {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .assistant-cta__panel {
    padding: 1.25rem;
    border-radius: 1.2rem;
  }

  .assistant-cta__title {
    max-width: none;
  }
}

.hero-banner__copy {
  max-width: 38rem;
  margin: 0;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-banner__resume {
  margin-top: 1rem;
  align-self: flex-start;
}

.hero-banner__panel {
  max-width: 22rem;
  margin-left: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.hero-banner__panel dt {
  margin: 0;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-banner__panel dd {
  margin: 0.45rem 0 0;
  color: #ffffff;
  line-height: 1.6;
}

.work-section__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.assistant-cta {
  padding-top: 0;
}

.assistant-cta__panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.95) 100%);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.assistant-cta__content {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.assistant-cta__eyebrow {
  margin: 0;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assistant-cta__title {
  margin: 0;
  max-width: 24ch;
  color: #020617;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.assistant-cta__copy {
  max-width: 56rem;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.assistant-cta__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.assistant-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.assistant-cta__button:hover,
.assistant-cta__button:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 22px 36px rgba(15, 23, 42, 0.18);
  transform: translateY(-2px);
}

.assistant-cta__aside {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
}

.assistant-cta__aside-title {
  margin: 0;
  color: #020617;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assistant-cta__prompt-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assistant-cta__prompt-list li {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.94) 100%);
  color: #0f172a;
  line-height: 1.6;
}

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

.work-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.work-filter-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.work-filter {
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem 0.5rem 0.55rem;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.work-filter:hover,
.work-filter:focus-visible {
  border-color: #0f172a;
  transform: translateY(-1px);
}

.work-filter.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.work-filter__content {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.work-filter__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

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

.work-filter__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.work-filter__count {
  color: #64748b;
  font-size: 0.78rem;
}

.work-filter.is-active .work-filter__count {
  color: rgba(255, 255, 255, 0.78);
}

.work-grid {
  display: grid;
  gap: 1.5rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #dbe4ee;
  border-radius: 0.75rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.work-card[hidden] {
  display: none;
}

.work-card__media {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
}

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.8rem;
}

.work-card__category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  padding: 0.35rem 0.7rem;
  line-height: 1;
}

.work-card__title {
  margin: 0;
  color: #020617;
  font-size: 2rem;
  line-height: 1;
  min-height: 2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card__description {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.8;
}

.work-card--cta {
  justify-content: center;
  border-style: dashed;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 45%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.work-card--cta .work-card__body {
  justify-content: space-between;
  min-height: 100%;
}

.work-card__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card__cta-copy {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.8;
}

.work-card__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-card__cta-link::after {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.work-card--cta:hover .work-card__cta-link::after,
.work-card--cta:focus-visible .work-card__cta-link::after {
  transform: translateX(0.2rem) rotate(45deg);
}

.work-empty {
  display: none;
  margin-top: 1.5rem;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 1.5rem;
  color: #475569;
  font-size: 0.9rem;
}

.work-empty.is-visible {
  display: block;
}

.work-filter-label {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.experience-section {
  background: #0b1120;
  color: #f8fafc;
}

.experience-section .space-y-6 {
  max-width: 48rem;
}

.experience-section .section-copy,
.experience-section .text-slate-500 {
  color: rgba(248, 250, 252, 0.72) !important;
}

.experience-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.experience-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.experience-card:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.24);
  border-color: rgba(255, 255, 255, 0.18);
}

.experience-card__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.experience-card__image {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
}

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

.experience-card__summary {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.experience-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.experience-card__dates {
  color: rgba(248, 250, 252, 0.74);
  font-size: 0.82rem;
}

.experience-card__chevron {
  width: 1rem;
  height: 1rem;
  border-right: 2px solid rgba(248, 250, 252, 0.88);
  border-bottom: 2px solid rgba(248, 250, 252, 0.88);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  margin-right: 0.45rem;
}

.experience-card.is-open .experience-card__chevron {
  transform: rotate(-135deg);
}

.experience-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.experience-card.is-open .experience-card__panel {
  grid-template-rows: 1fr;
}

.experience-card__panel-inner {
  overflow: hidden;
}

.experience-card__content {
  display: grid;
  gap: 1rem;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  color: rgba(248, 250, 252, 0.74);
  font-size: 0.82rem;
  padding-top: 1rem;
}

.experience-card__location,
.experience-card__type {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.7rem;
}

.experience-card__description {
  margin: 0;
  color: rgba(248, 250, 252, 0.86);
  font-size: 0.95rem;
  line-height: 1.8;
}

.experience-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.experience-card__link {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.experience-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.experience-card__skill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.experience-card__skill img {
  max-width: 2.5rem;
  max-height: 2.5rem;
  width: auto;
  height: auto;
  display: block;
}

.skills-section {
  background: #ffffff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.skill-showcase {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  border: 1px solid #dbe4ee;
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.skill-showcase:hover {
  transform: scale(1.02);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.skill-showcase__image {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.skill-showcase__image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.skill-showcase__name {
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: #ffffff;
  text-decoration: none;
  animation: hero-bob 1.8s ease-in-out infinite;
}

.hero-scroll::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@keyframes hero-bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(0.45rem);
  }
}

@media (min-width: 992px) {
  .hero-banner__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  }

  .work-section__header {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .work-filter-tools {
    justify-content: flex-end;
  }

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

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

  .assistant-cta__panel {
    padding: 2.4rem;
  }

}

@media (min-width: 768px) and (max-width: 991px) {
  .assistant-cta__panel {
    padding: 2rem;
  }
}
