/* Lost in Space — minimal site */

:root {
  --bg: #08080c;
  --text: #f4f4f6;
  --text-muted: #9ca3af;
  --accent: #a78bfa;
  --footer-bg: #f2f2f4;
  --footer-text: #1a1b1f;
  --footer-muted: #6b6b78;
  --footer-divider: #dddde0;
}

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

html {
  height: 100%;
}

body.page {
  min-height: 100vh;
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* ─── Hero ─────────────────────────────────────────── */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem clamp(2rem, 6vw, 5rem) 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-headline {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0;
  font-family: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 15em;
}

.hero-tagline {
  margin: 0.5rem 0 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 34em;
}

.hero-tagline strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── About page ───────────────────────────────────── */

.about-hero {
  padding: 4rem clamp(2rem, 6vw, 5rem) 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 3rem;
  align-items: center;
}

.about-hero-img-wrap {
  position: relative;
}

.about-hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: 0.25;
  z-index: -1;
}

.about-hero img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.about-hero h1 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-hero .role {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 500;
}

.about-hero .intro {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  transition: border-color 0.2s, background 0.2s;
}

.about-links a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.about-content {
  padding: 2rem clamp(2rem, 6vw, 5rem) 4rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.about-content p {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-content p strong {
  color: var(--text);
}

/* ─── Bio body ──────────────────────────────────────── */

.bio-body {
  padding: 0 clamp(2rem, 6vw, 5rem) 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.bio-body-inner {
  max-width: 680px;
}

.bio-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.bio-body p {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.bio-ai-flag {
  margin-top: 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--accent) !important;
  letter-spacing: 0.01em;
}

/* ─── Showreel ──────────────────────────────────────── */

.showreel {
  padding: 4rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

.showreel-header {
  padding: 0 clamp(2rem, 6vw, 5rem) 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.showreel-header-inner h2 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.showreel-header-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.showreel-stage {
  position: relative;
  width: 100%;
}

.showreel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(3rem, 8vw, 7rem);
  z-index: 2;
  pointer-events: none;
}

.showreel-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.showreel-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.showreel-track-wrap {
  overflow: hidden;
  width: 100%;
}

.showreel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: showreel-scroll 50s linear infinite;
  padding: 0.5rem 0;
}

.showreel-track:hover {
  animation-play-state: paused;
}

@keyframes showreel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.show-card {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
  position: relative;
}

.show-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border-color: rgba(167, 139, 250, 0.3);
}

.show-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.show-title {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.show-card:hover .show-title {
  color: var(--text);
}

.showreel-footer-note {
  padding: 2rem clamp(2rem, 6vw, 5rem) 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.showreel-footer-note em {
  color: var(--accent);
  font-style: normal;
}


/* ─── Footer ────────────────────────────────────────── */

.section.section-footer {
  flex-shrink: 0;
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 3rem clamp(2rem, 5vw, 4rem) 2.5rem;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-divider);
}

.section.section-footer .about-container {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.section.section-footer .footer {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
  width: 100%;
  padding: 0;
  float: none;
}

.section.section-footer .logo-link {
  text-decoration: none;
  color: inherit;
  display: block;
  max-width: none;
  width: auto;
}

.section.section-footer .div-block-9 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
}

.section.section-footer .logo-footer {
  display: block;
  flex: none;
  width: 200px;
  max-width: none;
  min-width: 200px;
  height: auto;
  margin: 0 0 1rem;
  opacity: 1;
}

.section.section-footer .image {
  display: block;
  width: auto;
  max-width: 240px;
  height: auto;
  margin: 0 0 0.6rem;
  padding: 0;
}

.section.section-footer .text-block {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.65;
  padding-top: 0;
  max-width: 240px;
}

.section.section-footer .links-section-footer {
  margin: 0;
  text-align: left;
  align-self: start;
}

.section.section-footer .label {
  display: block;
  color: var(--footer-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.section.section-footer .footer-link,
.section.section-footer .footer-link-copy {
  display: block;
  color: var(--footer-text);
  opacity: 0.6;
  padding-top: 0;
  margin-bottom: 11px;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.section.section-footer .footer-link:hover,
.section.section-footer .footer-link-copy:hover {
  opacity: 1;
}

/* "Get in touch" — plain text link, slightly bolder, with arrow */
.section.section-footer .footer-email-link {
  display: block;
  margin-top: 4px;
  color: var(--footer-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.section.section-footer .footer-email-link::after {
  content: " →";
}

.section.section-footer .footer-email-link:hover {
  opacity: 1;
}

/* Full-width copyright row */
.section.section-footer .footer-copyright {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--footer-divider);
  width: 100%;
}

.section.section-footer .paragraph-tiny {
  margin: 0;
  padding: 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 860px) {
  .section.section-footer .footer {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .section.section-footer .logo-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .section.section-footer {
    padding-bottom: 2rem;
  }

  .section.section-footer .footer {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .section.section-footer .footer-copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero img {
    max-width: 240px;
    margin: 0 auto;
  }

  .about-links {
    justify-content: center;
  }

  .bio-lead {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--accent);
    padding-top: 1rem;
  }

  .showreel-track {
    animation-duration: 35s;
  }

  .show-card {
    width: 180px;
  }
}

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

/* Override Webflow img { max-width: 100% } and w-inline-block caps */
.section.section-footer img.footer-logo-maze,
.section.section-footer img.logo-footer {
  width: 200px !important;
  max-width: none !important;
  min-width: 200px !important;
  height: auto !important;
}

.section.section-footer a.logo-link.w-inline-block {
  max-width: none !important;
}
