/* ==========================================================================
   CARLOS MACHADO QUINTELA — DESIGN SYSTEM
   Cinematic. Editorial. Precise.
   ========================================================================== */

/* ── CUSTOM PROPERTIES ── */
:root {
  --font-serif: 'Syne', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 1080px;
  --section-py: clamp(4rem, 8vw, 7rem);
  --gutter: clamp(1.5rem, 5vw, 2.5rem);

  /* Timing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.22s var(--ease);
  --t-mid: 0.45s var(--ease);
  --t-slow: 0.85s var(--ease);

  /* Radii */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
}

/* ── DARK THEME (default: Midnight Cinema) ── */
:root,
[data-theme="dark"] {
  --bg: hsl(24, 10%, 7%);
  --bg-alt: hsl(24, 8%, 10%);
  --bg-card: hsl(24, 8%, 12%);
  --bg-glass: rgba(16, 13, 11, 0.75);

  --ink: hsl(38, 12%, 88%);          /* warm cream */
  --ink-2: hsl(30, 7%, 60%);         /* muted stone */
  --ink-3: hsl(30, 5%, 40%);         /* quiet grey */

  --gold: hsl(42, 68%, 50%);         /* warm gold */
  --gold-dim: rgba(212, 175, 55, 0.12);

  --line: rgba(255,255,255, 0.06);
  --line-strong: rgba(255,255,255, 0.12);

  --shadow: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.3);

  color-scheme: dark;
}

/* ── LIGHT THEME (Linen & Ink) ── */
[data-theme="light"] {
  --bg: hsl(40, 18%, 95%);
  --bg-alt: hsl(38, 15%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-glass: rgba(245, 241, 235, 0.85);

  --ink: hsl(24, 20%, 12%);
  --ink-2: hsl(24, 10%, 38%);
  --ink-3: hsl(24, 8%, 55%);

  --gold: hsl(34, 70%, 38%);
  --gold-dim: rgba(186, 112, 47, 0.06);

  --line: rgba(0,0,0, 0.07);
  --line-strong: rgba(0,0,0, 0.13);

  --shadow: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);

  color-scheme: light;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-mid), color var(--t-mid);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* ── LAYOUT HELPERS ── */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.section { padding-block: var(--section-py); }
.bg-alt { background-color: var(--bg-alt); }

/* Section labels (eyebrow) */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.section-header-left { margin-bottom: 2.5rem; }

.sub-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--r-xs);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--gold);
  color: #080604;
  border-color: var(--gold);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.2);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink-2);
  background-color: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}

.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.main-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: 72px;
  background-color: var(--bg-glass);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color var(--t-mid), border-color var(--t-mid);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; flex-direction: column; line-height: 1; }

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color var(--t-fast);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-top: 3px;
}

.logo:hover .logo-name { color: var(--gold); }

/* Nav links */
.nav-menu ul { display: flex; gap: 2rem; }

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  padding-block: 0.35rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-fast);
}

.nav-link:hover,
.nav-link.active { color: var(--ink); }

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

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-toggle {
  height: 36px;
  padding-inline: 0.75rem;
  border-radius: var(--r-sm);
  background: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
}

.lang-toggle:hover { border-color: var(--gold); color: var(--ink); }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}

.theme-toggle:hover { border-color: var(--gold); color: var(--ink); }

.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

/* Mobile hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 16px;
  background: none; border: none; cursor: pointer; z-index: 110;
}

.mobile-menu-toggle .bar {
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: all var(--t-fast);
}

@media (max-width: 820px) {
  .mobile-menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    inset-block: 0;
    inset-inline-end: -100%;
    width: 72%;
    max-width: 260px;
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    padding: 100px 1.75rem 2rem;
    transition: inset-inline-end var(--t-mid);
    z-index: 95;
    box-shadow: var(--shadow);
  }

  .nav-menu.open { inset-inline-end: 0; }

  .nav-menu ul { flex-direction: column; gap: 0.75rem; }
  .nav-link { font-size: 0.9rem; display: block; padding-block: 0.6rem; }

  .mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  padding-inline: var(--gutter);
  overflow: hidden;
  text-align: center;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Dark cinematic overlay: lighter at top, almost opaque at bottom for text legibility */
.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 10, 9, 0.65) 0%,
    rgba(12, 10, 9, 0.82) 50%,
    rgba(12, 10, 9, 0.94) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.1s var(--ease) forwards;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #f5f0e8;
  margin-bottom: 1rem;
  opacity: 0;
  white-space: nowrap;
  animation: heroFadeUp 0.7s 0.25s var(--ease) forwards;
}

@media (max-width: 768px) {
  .hero-name {
    white-space: normal;
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
}

.hero-role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(220, 210, 195, 0.7);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.4s var(--ease) forwards;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(220, 210, 195, 0.85);
  margin-bottom: 2.5rem;
  max-width: 680px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.55s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.7s var(--ease) forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   OPENING STATEMENT
   ========================================================================== */
.statement-section {
  padding-block: var(--section-py);
  border-bottom: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--gutter) 4rem;
  align-items: center;
}

.statement-image-block {
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-strong);
  aspect-ratio: 3/4;
}

.statement-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.statement-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.statement-heading em {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.statement-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: var(--ink-2);
}

@media (max-width: 768px) {
  .statement-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .statement-image-block {
    max-width: 380px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   AWARDS STRIP
   ========================================================================== */
.awards-strip-section {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.awards-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}

.award-entry {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 1rem 1.5rem;
}

.award-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.2;
}

.award-film {
  font-size: 0.75rem;
  color: var(--ink-3);
  font-style: italic;
}

.award-divider {
  width: 1px;
  background: var(--line-strong);
  align-self: stretch;
  min-height: 60px;
}

@media (max-width: 680px) {
  .award-divider { display: none; }
  .award-entry {
    flex-basis: calc(50% - 1px);
    border-bottom: 1px solid var(--line);
  }
}

/* ==========================================================================
   FILMS (NETFLIX-STYLE CAROUSEL)
   ========================================================================== */
.films-container-wide {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
}

.films-carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: var(--gutter);
  padding-bottom: 2rem;
  margin-top: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Webkit */
.films-carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}
.films-carousel-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.films-carousel-wrapper::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: var(--r-sm);
}

.films-carousel {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max-content;
}

.film-card {
  width: clamp(230px, 22vw, 290px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scroll-snap-align: start;
}

.film-poster-container {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
  background-color: var(--bg-alt);
}

.film-card:hover .film-poster-container {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.film-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-card-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.film-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.film-card-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 500;
}

.film-card-laurel {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.laurel-line {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-2);
}

.laurel-award {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.laurel-venue {
  font-size: 0.75rem;
  color: var(--ink-3);
}

/* ==========================================================================
   CONSULTING
   ========================================================================== */
.consulting-intro {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.65;
}

/* ── TIMELINE (Line of Development) ── */
.timeline-container-wide {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.timeline-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: var(--gutter);
  padding-bottom: 1.5rem;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.timeline-wrapper::-webkit-scrollbar {
  height: 4px;
}
.timeline-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-wrapper::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: var(--r-sm);
}

.timeline-line-path {
  position: absolute;
  top: 32px; /* centered horizontally with the dots */
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
  z-index: 1;
}

.timeline-nodes {
  display: flex;
  gap: 3rem;
  width: max-content;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  text-align: center;
}

.node-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--t-fast);
}

.timeline-node:hover .node-dot {
  background: var(--gold);
  color: #080604;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.node-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

/* ── PROJECTS CAROUSEL (Netflix-style) ── */
.projects-container-wide {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  margin-top: 4rem;
}

.projects-carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: var(--gutter);
  padding-bottom: 2rem;
  margin-top: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.projects-carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}
.projects-carousel-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.projects-carousel-wrapper::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: var(--r-sm);
}

.projects-carousel {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max-content;
}

.project-card {
  width: clamp(230px, 22vw, 290px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scroll-snap-align: start;
}

.project-poster-container {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
  background-color: var(--bg-alt);
}

.project-card:hover .project-poster-container {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.project-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Typewriter script cover placeholder */
.placeholder-cover {
  background: #f7f5f0;
  color: #1e1d1b;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

[data-theme="dark"] .placeholder-cover {
  background: #141210;
  color: #dcd7cd;
  border: 1px solid rgba(255,255,255,0.06);
}

.script-typewriter-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  gap: 1.25rem;
}

.script-title-preview {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  line-height: 1.2;
}

.script-author-preview {
  font-size: 0.65rem;
  line-height: 1.4;
  opacity: 0.85;
}

.project-card-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.project-card-directors {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 500;
}

.projects-footnote {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 1.5rem;
}

/* ==========================================================================
   METHOD / HOW I WORK
   ========================================================================== */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 4rem;
}

.method-step {
  padding: 2rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
}

.method-step:last-child { border-right: none; }
.method-step:not(:first-child) { padding-left: 1.5rem; }

.step-number {
  display: block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-body p {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .method-steps {
    grid-template-columns: 1fr 1fr;
  }
  .method-step:nth-child(2) { border-right: none; }
  .method-step:nth-child(3) { border-right: 1px solid var(--line); }
}

@media (max-width: 460px) {
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right: none; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
  .method-step:last-child { border-bottom: none; }
}

/* Why block */
.why-block {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.why-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.why-lead {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: var(--ink-2);
  margin-bottom: 2rem;
}

.why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 580px) {
  .why-pillars { grid-template-columns: 1fr; gap: 1rem; }
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.pillar-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.pillar-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.why-footer {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* ==========================================================================
   INDUSTRY (TEACHING + JURY)
   ========================================================================== */
.industry-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

@media (max-width: 680px) {
  .industry-cols { grid-template-columns: 1fr; gap: 3rem; }
}

.industry-list {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.jury-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.jury-list em {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-style: normal;
  white-space: nowrap;
}

/* ==========================================================================
   A LIFE AROUND STORIES (BAND)
   ========================================================================== */
.life-band-section {
  padding-block: 3rem;
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.life-band-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.life-band-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 780px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.contact-body {
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  transition: color var(--t-fast);
}

a.contact-link:hover { color: var(--gold); }

.contact-icon {
  width: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 4px; }

.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-xs);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-3); opacity: 0.8; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212,175,55, 0.12);
}

.form-group input:user-valid:focus,
.form-group textarea:user-valid:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 2px rgba(46,125,50,0.12);
}

.select-wrapper { position: relative; }

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-wrapper::after {
  content: '▾';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0.85rem;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--ink-3);
  pointer-events: none;
}

.error-msg { font-size: 0.72rem; color: #c62828; height: 14px; display: block; }

.form-status {
  padding: 0.7rem;
  border-radius: var(--r-xs);
  font-size: 0.85rem;
  text-align: center;
  display: none;
  margin-top: 0.5rem;
}

.form-status.success {
  display: block;
  background: rgba(46,125,50, 0.08);
  border: 1px solid rgba(46,125,50,0.25);
  color: #2e7d32;
}

.form-status.error {
  display: block;
  background: rgba(198,40,40, 0.08);
  border: 1px solid rgba(198,40,40,0.25);
  color: #c62828;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #060403;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-block: 3rem 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #f0ebe0;
  font-weight: 300;
  margin-bottom: 3px;
}

.footer-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(180,165,140,0.6);
  margin-bottom: 4px;
}

.footer-location {
  font-size: 0.78rem;
  color: hsl(42, 68%, 50%);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(180,165,140,0.5);
  transition: color var(--t-fast);
}

.footer-nav a:hover { color: hsl(42, 68%, 50%); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.25rem;
  font-size: 0.72rem;
  color: rgba(180,165,140,0.35);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings for cards/lists */
.films-carousel .film-card.revealed:nth-child(1) { transition-delay: 0s; }
.films-carousel .film-card.revealed:nth-child(2) { transition-delay: 0.08s; }
.films-carousel .film-card.revealed:nth-child(3) { transition-delay: 0.16s; }
.films-carousel .film-card.revealed:nth-child(4) { transition-delay: 0.24s; }

.timeline-nodes .timeline-node.revealed:nth-child(1) { transition-delay: 0s; }
.timeline-nodes .timeline-node.revealed:nth-child(2) { transition-delay: 0.06s; }
.timeline-nodes .timeline-node.revealed:nth-child(3) { transition-delay: 0.12s; }
.timeline-nodes .timeline-node.revealed:nth-child(4) { transition-delay: 0.18s; }
.timeline-nodes .timeline-node.revealed:nth-child(5) { transition-delay: 0.24s; }
.timeline-nodes .timeline-node.revealed:nth-child(6) { transition-delay: 0.30s; }
.timeline-nodes .timeline-node.revealed:nth-child(7) { transition-delay: 0.36s; }
.timeline-nodes .timeline-node.revealed:nth-child(8) { transition-delay: 0.42s; }

.projects-carousel .project-card.revealed:nth-child(1) { transition-delay: 0s; }
.projects-carousel .project-card.revealed:nth-child(2) { transition-delay: 0.08s; }
.projects-carousel .project-card.revealed:nth-child(3) { transition-delay: 0.16s; }
.projects-carousel .project-card.revealed:nth-child(4) { transition-delay: 0.24s; }
.projects-carousel .project-card.revealed:nth-child(5) { transition-delay: 0.32s; }
.projects-carousel .project-card.revealed:nth-child(6) { transition-delay: 0.40s; }
.projects-carousel .project-card.revealed:nth-child(7) { transition-delay: 0.48s; }
.projects-carousel .project-card.revealed:nth-child(8) { transition-delay: 0.56s; }

.method-steps .method-step.revealed:nth-child(1) { transition-delay: 0s; }
.method-steps .method-step.revealed:nth-child(2) { transition-delay: 0.07s; }
.method-steps .method-step.revealed:nth-child(3) { transition-delay: 0.14s; }
.method-steps .method-step.revealed:nth-child(4) { transition-delay: 0.21s; }
