:root {
  --deep-navy: #10241f;
  --twilight: #d8f3df;
  --lavender: #a8ddc0;
  --peach: #f7d8bb;
  --sun: #fbdc7c;
  --mint: #3fb98a;
  --text-light: #13231d;
  --text-muted: #5c7065;
  --card: rgba(255, 255, 255, 0.92);
  --border: rgba(16, 68, 49, 0.14);
  --shadow: 0 25px 60px rgba(15, 35, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1100px;
  --page-bg: #f4fbf6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(168, 221, 192, 0.35), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(247, 216, 187, 0.35), transparent 45%), var(--page-bg);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 3rem 1.5rem 4rem;
}

.site-width {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 35, 32, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  background: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--deep-navy);
}

.brand-title {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--deep-navy);
  background: linear-gradient(135deg, rgba(63, 185, 138, 0.15), rgba(251, 220, 124, 0.25));
  box-shadow: 0 10px 20px rgba(63, 185, 138, 0.15);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(168, 221, 192, 0.35), rgba(251, 220, 124, 0.18));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-hero {
  text-align: center;
  justify-items: center;
}

.contact-hero img {
  width: 220px;
  margin: 0 auto;
}

.contact-hero .tagline {
  background: rgba(63, 185, 138, 0.18);
}

.hero h1,
.hero h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.hero p {
  color: var(--text-muted);
}

.tagline {
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--mint), var(--sun));
  color: var(--deep-navy);
  box-shadow: 0 15px 35px rgba(255, 209, 102, 0.25);
}

.btn.secondary {
  border-color: var(--border);
  color: var(--text-light);
}

.btn:hover {
  transform: translateY(-3px);
}

.section {
  margin-top: 3.5rem;
}

.section h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.section p.lead {
  color: var(--text-muted);
  margin-top: 0;
}

.card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card.centered {
  text-align: center;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gif-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gif-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 68, 49, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-grid figure {
  margin: 0;
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.gallery-grid figcaption {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.gallery-grid.simple {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-grid.simple img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.media-marquee {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.media-marquee img {
  flex: 0 0 260px;
  height: 260px;
  object-fit: cover;
  scroll-snap-align: start;
}

.quote {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.quote strong {
  color: var(--mint);
}

.resume-embeds {
  display: grid;
  gap: 1.5rem;
}

.resume-embeds object {
  width: 100%;
  height: 600px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.15);
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.contact-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.contact-card {
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 180ms ease, border-color 200ms ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 185, 138, 0.35);
}

.contact-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 185, 138, 0.12);
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  color: var(--text-light);
}

.footer-email a {
  color: var(--mint);
  font-weight: 500;
}

.footer-meta {
  font-size: 0.9rem;
}

.floating-shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  filter: blur(60px);
  transform: rotate(12deg);
}

.floating-shape.one {
  background: radial-gradient(circle, rgba(255, 183, 168, 0.5), transparent 60%);
}

.floating-shape.two {
  background: radial-gradient(circle, rgba(184, 163, 255, 0.35), transparent 70%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(63, 185, 138, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(63, 185, 138, 0.12);
  font-size: 0.85rem;
  color: var(--text-light);
}

.resume-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.5rem;
}

.resume-card h3 {
  margin: 0 0 0.5rem;
}

.resume-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.resume-card ul li {
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  position: relative;
}

.resume-card ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--peach);
}

.contact-form {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-actions {
  display: flex;
  justify-content: flex-end;
}

.zoomable {
  cursor: zoom-in;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.zoomable:hover,
.zoomable:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  outline: 2px solid rgba(255, 255, 255, 0.25);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 15, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 16, 32, 0.6);
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  background: radial-gradient(circle at 30% 20%, rgba(63, 185, 138, 0.12), rgba(255, 255, 255, 0.95));
  cursor: pointer;
}

.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(2px) brightness(0.7);
}

.video-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.video-card__content span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.video-card button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--mint), var(--sun));
  color: var(--deep-navy);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.video-card button::before {
  content: "\25B6";
  font-size: 0.9rem;
}

.video-card:focus-within,
.video-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--deep-navy);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 720px) {
  header {
    position: sticky;
  }

  .nav-bar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
    padding: 1rem 0 0.5rem;
    order: 3;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-align: left;
    font-size: 1rem;
  }

  .nav-links a.active {
    background: linear-gradient(135deg, rgba(63, 185, 138, 0.18), rgba(251, 220, 124, 0.22));
  }

  .hero {
    padding: 2rem;
  }

  .gif-grid img {
    height: 200px;
  }

  .brand-title {
    font-size: 0.85rem;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  main {
    padding: 2rem 1rem 3rem;
  }

  .hero {
    padding: 1.75rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .resume-embeds object {
    height: 480px;
  }

  .brand-title {
    font-size: 0.75rem;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .contact-hero img {
    width: 160px;
  }
}