:root {
  --ink: #ece6da;
  --ink-soft: #a89d8a;
  --paper: #131110;
  --paper-dim: #1b1815;
  --rule: #2c2822;
  --accent: #cc9a55;

  --sans: "Helvetica Neue", Helvetica, Arial, "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Oswald", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

/* --- Scroll reveal (animated by GSAP/ScrollTrigger; this is just the ---- */
/* pre-JS fallback state so nothing flashes visible before it takes over) - */
.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

em {
  font-style: italic;
  color: var(--ink);
}

a { color: inherit; }

/* --- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--paper);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 17, 16, 0.85) 0%, rgba(19, 17, 16, 0) 42%);
  pointer-events: none;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  will-change: transform;
  width: 100%;
  text-align: center;
}

/* Lands as an outline, fades/rises in after the title settles, then its
   fill wipes in left-to-right a beat later -- draws the eye without being
   there from the first frame. */
.watch-link.hero-cta {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.watch-link.hero-cta.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-cta.is-filled::before {
  transform: scaleX(1);
}

.hero-cta-label {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.hero-cta.is-filled .hero-cta-label {
  color: var(--paper);
}

.kicker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.hero-title-block {
  display: inline-flex;
  flex-direction: column;
}

.kicker-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 0;
}

.kicker-stack .kicker {
  margin: 0;
  font-size: 16px;
}

.hero h1 a,
.kicker a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero h1 a:hover,
.kicker a:hover {
  color: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 128px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Showreel ------------------------------------------------------------ */
.project-zone {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  min-height: 85svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 90px;
}

.project-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--paper-dim);
}

.project-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 17, 16, 0.15) 0%, rgba(19, 17, 16, 0.6) 62%, var(--paper) 98%);
}

.project-bg .parallax-img {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}

/* --- Contain variant: for images that carry their own caption/branding --- */
/* (e.g. an awards graphic) which must stay fully visible and undimmed,    */
/* rather than cropped and overlaid like the standard project zones.       */
.project-zone--contain {
  min-height: auto;
  align-items: center;
  padding: 100px 0;
}

.project-content-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 720px;
}

.contain-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.reel-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.project-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.reel-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.watch-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.watch-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--paper);
  background: var(--accent);
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.watch-link:hover { opacity: 0.85; }

.watch-link--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-soft);
}

.watch-link--outline:hover {
  opacity: 1;
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Generic content block --------------------------------------------- */
.block {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}

.block h2 {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 22px;
  line-height: 1.55;
}

.plain-list li {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
}

.plain-list li:first-child { border-top: none; }

.plain-list a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.plain-list a::before {
  content: "\2192";
  position: absolute;
  left: -1.2em;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plain-list a:hover {
  padding-left: 1.3em;
  color: var(--accent);
}

.plain-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* --- Credits strip ------------------------------------------------------ */
.credits {
  background: var(--paper-dim);
  padding: 48px 0;
}

.wall-teaser {
  position: relative;
  margin: 8px 0 28px;
}

.wall-teaser .film-wall {
  background-color: var(--rule);
}

.wall-teaser .film-wall a {
  background-color: var(--paper);
}

.wall-teaser .film-wall a:hover {
  background-color: var(--paper-dim);
}

.film-wall--teaser {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .film-wall--teaser { grid-template-columns: repeat(4, 1fr); }
  .watch-links { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

.wall-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(0deg, var(--paper-dim) 0%, rgba(27, 24, 21, 0) 100%);
  pointer-events: none;
}

.credits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.credits-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.credit-with-thumb {
  align-items: center;
}

.credit-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.credit-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.credit-link:hover {
  opacity: 0.7;
}

.credits-list li > a .credit-title,
.credit-link .credit-title {
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
}

.credit-title {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 21px;
}

.credit-meta {
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.imdb-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.imdb-link:hover {
  border-bottom-color: var(--accent);
}

/* --- Expertise ----------------------------------------------------------- */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.expertise-grid h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.expertise-grid p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

@media (min-width: 640px) {
  .expertise-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* --- Contact -------------------------------------------------------------- */
.contact {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
}

.contact-availability {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 28px;
}

.contact-btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 20px;
  text-decoration: none;
  color: var(--paper);
  background: var(--accent);
  padding: 20px 40px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.contact-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.contact-links {
  margin-top: 24px;
  display: flex;
  gap: 20px;
}

.contact-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-links a:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  padding: 32px 0 56px;
}

.site-footer p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* --- Responsive tightening ------------------------------------------------ */
@media (max-width: 480px) {
  .hero { padding: 88px 0 64px; }
  .block { padding: 48px 0; }
  .contact { padding: 64px 0; }
}

/* --- Sub-pages (What I Do detail pages) ---------------------------------- */
.subpage {
  min-height: 100vh;
  padding: 64px 0 120px;
}

.subpage-content {
  max-width: 680px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 56px;
  transition: color 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-link:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.subpage h1 {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.subpage-lede {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 36px;
  max-width: 560px;
}

.subpage-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.subpage-body strong { color: var(--ink); font-weight: 600; }

.mentee-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.mentee-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--rule);
}

.mentee-card p { margin: 0; }

.subpage-photo {
  margin: 24px 0;
}

.subpage-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.subpage-photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.subpage-placeholder {
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px dashed var(--rule);
  font-size: 13px;
  color: var(--ink-soft);
}

.subpage-list-block {
  margin-top: 40px;
}

.subpage-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.subpage-cta p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* --- Recommendations ------------------------------------------------------ */
.recs-teaser {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}

blockquote {
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--accent);
}

blockquote p {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 10px;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
}

.recs-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.recs-list blockquote p {
  font-size: 22px;
}

.rec-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* --- Filmography wall ------------------------------------------------- */
.wall-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 100px;
}

.film-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
}

@media (min-width: 640px) {
  .film-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .film-wall { grid-template-columns: repeat(4, 1fr); }
}

.film-wall li { margin: 0; }

.film-wall a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 2 / 3;
  padding: 18px;
  background-color: var(--paper-dim);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  text-decoration: none;
  color: var(--ink);
}

.film-wall a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 17, 16, 0.92) 0%, rgba(19, 17, 16, 0) 30%);
  transition: background 0.2s ease;
}

.film-wall a > * {
  position: relative;
  z-index: 1;
}

.film-wall a:hover::before {
  background: linear-gradient(0deg, rgba(19, 17, 16, 0.96) 0%, rgba(19, 17, 16, 0) 30%);
}

.film-wall a:hover .film-title {
  color: var(--accent);
}

.film-wall .film-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: auto;
}

.film-wall .film-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 12px 0 6px;
  transition: color 0.2s ease;
}

.film-wall .film-role {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}

.tmdb-attribution {
  margin: 24px 2px 0;
  font-size: 12px;
  color: var(--ink-soft);
}

.tmdb-attribution a {
  color: var(--ink-soft);
  text-decoration: underline;
}

.tmdb-attribution a:hover {
  color: var(--accent);
}
