* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bone: #f2efe6;
  --ink: #141414;
  --ink-2: #1c1c1c;
  --acid: #c6ff2e;
  --electric: #1fc8ff;
  --blood: #e8232a;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Blurred headshot wash behind everything */
.backdrop {
  position: fixed;
  inset: -40px;
  background: url("assets/headshot.webp") center 20% / cover no-repeat;
  filter: blur(50px) brightness(0.3) saturate(1.3);
  z-index: -1;
}

/* Film grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 4px;
  border-radius: 6px;
}

.photo-wrap:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 6px;
  border-radius: 22px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-top: 40px;
}

.photo-wrap {
  position: relative;
  width: min(66%, 320px);
  margin: 0 auto;
  transform: rotate(-2deg);
  border: 3px solid var(--bone);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--acid);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.photo-wrap:hover,
.photo-wrap:focus-visible {
  transform: rotate(-2deg) translateY(-4px);
  box-shadow: 14px 14px 0 var(--acid);
}

.photo-wrap::after {
  content: "View Full Size";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 0 12px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--bone);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.photo-wrap:hover::after,
.photo-wrap:focus-visible::after {
  opacity: 1;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.name {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 9vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.tagline {
  margin-top: 12px;
  font-weight: 500;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.tagline .dot {
  color: var(--acid);
  margin: 0 8px;
}

/* ---------- Socials ---------- */
.socials {
  margin: 22px 0 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.socials a {
  width: 44px;
  height: 44px;
  border: 2px solid var(--bone);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.15s ease;
}

.socials a:hover {
  transform: translateY(-3px) rotate(-6deg);
}

.socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.socials a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.socials a[aria-label="TikTok"] {
  background: #010101;
  box-shadow: inset -2px -2px 0 #25f4ee, inset 2px 2px 0 #fe2c55;
}

.socials a[aria-label="YouTube"] {
  background: #ff0000;
}

.socials a[aria-label="X (Twitter)"] {
  background: #000;
}

.socials a[aria-label="Facebook"] {
  background: #1877f2;
}

/* ---------- Marquee ---------- */
.marquee {
  width: 110%;
  margin: 34px 0 0 -5%;
  position: relative;
  z-index: 1;
  transform: rotate(-1.5deg);
  background: var(--acid);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 10px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: 56px 0 0;
}

.section-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-tag {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
}

.section-rule {
  flex: 1;
  height: 3px;
  background: var(--bone);
  opacity: 0.25;
}

/* ---------- Reel ---------- */
.reel-frame {
  position: relative;
  border: 3px solid var(--bone);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--electric);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
}

.reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Resume ---------- */
.resume-group {
  margin-bottom: 32px;
}

.resume-group-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--bone);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.credit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 239, 230, 0.15);
}

.credit:last-child {
  border-bottom: none;
}

.credit-production {
  font-weight: 700;
  font-size: 1.02rem;
}

.credit-role {
  color: var(--acid);
  font-weight: 500;
  font-size: 0.92rem;
  text-align: right;
  white-space: nowrap;
}

.credit-detail {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  opacity: 0.6;
}

/* ---------- Stats + skills ---------- */
.stats-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.stat {
  border: 2px solid var(--bone);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.stat span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.65rem;
  opacity: 0.6;
  margin-bottom: 2px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(242, 239, 230, 0.4);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ---------- Links ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bone);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  box-shadow: 6px 6px 0 var(--acid);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--acid);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-label {
  flex: 1;
  text-align: center;
}

.arrow {
  font-weight: 700;
}

.btn-hs {
  background: linear-gradient(100deg, #0047ff 0%, #1fc8ff 48%, #29e7ff 100%);
  color: #fff;
  box-shadow: 6px 6px 0 var(--bone);
}

.btn-hs:hover {
  box-shadow: 10px 10px 0 var(--bone);
}

.btn-pr {
  background: var(--blood);
  color: var(--bone);
  border-color: var(--bone);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-pr:hover {
  box-shadow: 10px 10px 0 var(--ink);
}

.btn-rj {
  box-shadow: 6px 6px 0 var(--electric);
}

.btn-rj:hover {
  box-shadow: 10px 10px 0 var(--electric);
}

/* ---------- Contact ---------- */
.contact-card {
  border: 3px solid var(--bone);
  border-radius: 18px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--blood);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  text-align: left;
}

.botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: rgba(242, 239, 230, 0.06);
  border: 2px solid rgba(242, 239, 230, 0.35);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--bone);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 239, 230, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--acid);
  background: rgba(242, 239, 230, 0.1);
}

.contact-submit {
  align-self: center;
  margin-top: 4px;
  background: none;
  border: 2px solid var(--acid);
  border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 4vw, 1.05rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--acid);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-submit:hover {
  background: var(--acid);
  color: var(--ink);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-status {
  min-height: 1.2em;
  margin-top: 2px;
  text-align: center;
  font-size: 0.88rem;
}

.contact-status--ok {
  color: var(--acid);
}

.contact-status--error {
  color: var(--blood);
}

.contact-sub {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 14px;
}

/* ---------- Footer ---------- */
.foot {
  margin: 48px 0 48px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 10, 10, 0.97);
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lightbox.open {
  display: block;
  animation: lightbox-in 0.2s ease-out both;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-scroll {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 20px 40px;
  box-sizing: border-box;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  border: 3px solid var(--bone);
  border-radius: 14px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--bone);
  background: var(--ink-2);
  border: 2px solid var(--bone);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lightbox-close:hover {
  background: var(--blood);
  border-color: var(--blood);
}

.lightbox-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bone);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 14px 22px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  box-shadow: 6px 6px 0 var(--acid);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lightbox-download:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--acid);
}

body.lightbox-open {
  overflow: hidden;
}

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

  .lightbox.open {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 480px) {
  .photo-wrap {
    width: 76%;
  }

  .credit {
    grid-template-columns: 1fr;
  }

  .credit-role {
    text-align: left;
  }

  .btn {
    font-size: 0.9rem;
  }
}
