:root {
  color-scheme: light;
  --bg: #f9f7fb;
  --ink: #0e1324;
  --muted: #4f5672;
  --accent: #ff6f91;
  --accent-deep: #f4436c;
  --accent-soft: rgba(255, 111, 145, 0.12);
  --surface: rgba(255, 255, 255, 0.92);
  --stroke: rgba(14, 19, 36, 0.08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --font-sans: "DM Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Georgia", serif;
  --max-width: 1180px;
  --shadow-lg: 0 40px 80px rgba(14, 19, 36, 0.12);
  --shadow-md: 0 24px 48px rgba(14, 19, 36, 0.08);
  --transition: 200ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

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

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-glow {
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 60vh;
  background: radial-gradient(circle at center, rgba(255, 180, 198, 0.35), transparent 65%);
  filter: blur(0);
  pointer-events: none;
  z-index: -2;
}

.ask-btn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 20px 40px rgba(255, 111, 145, 0.35);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 10;
}

.ask-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 54px rgba(255, 111, 145, 0.4);
}

.hero {
  padding: 2.5rem 0 3.75rem;
  background: linear-gradient(150deg, rgba(255, 235, 242, 0.9), rgba(245, 245, 255, 0.95));
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 10% -20% auto;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 111, 145, 0.25), transparent 65%);
  z-index: -1;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  position: sticky;
  top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 5;
}


.nav-logo {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0rem;
  text-transform: none;
  font-size: 1rem;
}

.nav-logo--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  border: none;
  color: #fff;
  background: linear-gradient(115deg, var(--accent), var(--accent-deep));
  font-weight: 700;
  letter-spacing: 0.02rem;
  box-shadow: 0 20px 38px rgba(255, 111, 145, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-logo--pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(255, 111, 145, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  text-transform: lowercase;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

.hero .container {
  width: min(100%, 1220px);
}

.hero-content {
  display: grid;
  gap: 0.6rem;
  place-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero-copy h1 span {
  color: var(--accent-deep);
  position: relative;
}

.hero-copy h1 span::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.35em 0;
  height: 0.35em;
  background: var(--accent-soft);
  border-radius: 0.35em;
  z-index: -1;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-body {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.6rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.secondary-btn {
  border: 1px solid rgba(14, 19, 36, 0.12);
  background: #fff;
}

.secondary-btn:hover {
  background: rgba(14, 19, 36, 0.04);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  justify-items: start;
  width: 100%;
}

.hero-stats dt {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: rgba(14, 19, 36, 0.66);
  margin-bottom: 0.5rem;
}

.hero-copy {
  max-width: 520px;
}

.hero-portrait {
  position: relative;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  justify-self: start;
  width: min(100%, clamp(340px, 34vw, 520px));
  margin-top: 0;
  margin-left: 1rem;
}

.hero-portrait--xl {
  padding: 0;
}

.portrait-frame {
  position: relative;
  width: 100%;
  border-radius: 56px;
  background: linear-gradient(150deg, rgba(255, 111, 145, 0.25), rgba(255, 255, 255, 0.85));
  padding: 0.85rem;
  box-shadow: var(--shadow-lg);
}

.portrait-frame img {
  border-radius: 48px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-tags span {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 19, 36, 0.08);
}

section {
  padding: 6rem 0;
}

.section-header {
  display: grid;
  gap: 1rem;
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.values {
  background: linear-gradient(140deg, rgba(255, 235, 242, 0.8), rgba(224, 244, 255, 0.6));
  padding: 6rem 0;
}

.values-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
}

.values-grid article {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 48px rgba(14, 19, 36, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform var(--transition), box-shadow var(--transition);
}

.values-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(14, 19, 36, 0.12);
}

.values-grid h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.values-grid p {
  color: var(--muted);
}

.experience {
  background: #fff;
}

.experience-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(350px, 1fr));
  align-items: stretch;
}

.experience .container {
  width: min(100%, var(--max-width));
}

.experience-card {
  position: relative;
  border: none;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 235, 245, 0.9));
  box-shadow: 0 30px 55px rgba(14, 19, 36, 0.16);
  transform: translateY(0);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0) 45%, rgba(255, 111, 145, 0.2));
  opacity: 0;
  transition: opacity var(--transition);
}

.experience-card img {
  width: 100%;
  height: clamp(210px, 22vw, 240px);
  object-fit: cover;
  display: block;
}


.experience-card__overlay {
  padding: 1.65rem 2rem 2.55rem;
  display: grid;
  gap: 0.55rem;
  background: #fff;
  border-top: 1px solid rgba(14, 19, 36, 0.06);
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}

.experience-card__overlay h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.25;
}

.experience-card__overlay p {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 42px 80px rgba(14, 19, 36, 0.22);
}

.experience-card:hover::before {
  opacity: 1;
}

.projects {
  background: #fff;
}

.values a {
  color: var(--accent-deep);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(368px, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(14, 19, 36, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 48px rgba(14, 19, 36, 0.12);
}

.project-card__media {
  width: 100%;
  height: clamp(220px, 24vw, 260px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

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

.project-card__body {
  padding: 2rem;
  display: grid;
  gap: 0.8rem;
}

.project-card__body h3 {
  font-size: 1.5rem;
}

.project-card__body p {
  color: var(--muted);
}

.project-card__body ul {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  padding-left: 1.1rem;
  list-style: disc;
}

.projects-grid .text-link {
  font-weight: 600;
  color: var(--accent-deep);
  position: relative;
  width: fit-content;
}

.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.1em 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition);
  transform: scaleX(0);
  transform-origin: right;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.experience-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 19, 36, 0.55);
  backdrop-filter: blur(16px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 30;
}

.experience-modal[data-open="true"] {
  display: flex;
}

.experience-modal__content {
  width: min(100%, 680px);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: grid;
}

.experience-modal__image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

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

.experience-modal__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(14, 19, 36, 0.68);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
}

.experience-modal__body {
  padding: 2.25rem;
  display: grid;
  gap: 1.4rem;
}

.experience-modal__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.experience-modal__header h3 {
  font-size: 2rem;
}

.experience-modal__company {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 19, 36, 0.58);
  font-weight: 600;
}

.experience-modal__summary {
  color: rgba(14, 19, 36, 0.8);
  font-size: 1.05rem;
  line-height: 1.65;
}

.experience-modal__footer {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.experience-modal__footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.experience-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 19, 36, 0.18);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.spotlight {
  background: linear-gradient(120deg, rgba(14, 19, 36, 0.04), rgba(255, 111, 145, 0.08));
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.spotlight figure {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(14, 19, 36, 0.12);
  display: grid;
}

.spotlight img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.spotlight figcaption {
  padding: 1rem 1.2rem 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer {
  padding: 4rem 0 3rem;
  background: rgba(14, 19, 36, 0.92);
  color: rgba(255, 255, 255, 0.86);
}

.footer .container {
  display: grid;
  gap: 1.5rem;
}

.footer h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.footer a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-weight: 600;
}

.footer-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 19, 36, 0.45);
  backdrop-filter: blur(12px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 20;
}

.modal[data-open="true"] {
  display: flex;
}

.modal-content {
  width: min(100%, 600px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2.25rem;
  display: grid;
  gap: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 19, 36, 0.08);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-header h2 {
  font-size: 1.7rem;
}

.modal-header p {
  color: var(--muted);
}

.chat-window {
  max-height: 320px;
  overflow-y: auto;
  display: grid;
  gap: 1rem;
  padding-right: 0.5rem;
}

.chat-message {
  display: grid;
  gap: 0.4rem;
}

.chat-message .author {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 19, 36, 0.6);
  font-weight: 700;
}

.chat-message .bubble {
  padding: 1rem 1.2rem;
  border-radius: 18px;
  line-height: 1.5;
}

.chat-message[data-author="user"] .bubble {
  background: rgba(255, 111, 145, 0.12);
  color: var(--accent-deep);
  border: 1px solid rgba(255, 111, 145, 0.35);
}

.chat-message[data-author="alisha"] .bubble {
  background: rgba(14, 19, 36, 0.06);
  color: var(--ink);
}

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

.chat-input input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(14, 19, 36, 0.1);
  font-size: 0.95rem;
  background: rgba(248, 240, 248, 0.4);
}

.chat-input button {
  padding: 0.85rem 1.4rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero-portrait {
    order: -1;
    justify-self: center;
    width: min(100%, 460px);
    margin-left: 0;
  }

  .experience-modal__image {
    height: 260px;
  }

  .top-nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 1;
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 720px) {
  .top-nav {
    position: static;
    border-radius: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

  section {
    padding: 4rem 0;
  }

  .about-grid,
  .projects-grid,
  .spotlight-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-modal__image {
    height: 220px;
  }

  .experience-modal__body {
    padding: 1.75rem;
  }

  .experience-modal__header h3 {
    font-size: 1.8rem;
  }

  .experience-card {
    border-radius: 24px;
  }

  .experience-card__info {
    padding: 1.2rem 1.4rem;
  }

  .consumption-controls {
    justify-content: center;
  }

  .ask-btn {
    right: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
  }
}

@media (min-width: 1100px) {
  .experience-card__role {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
