/* =====================================================
   RENDER MEDIA AGENCY — Multi-page version
   Editorial cinematic dark theme
   ===================================================== */

:root {
  --bg: #0a0a0a;
  --bg-elev: #131313;
  --bg-card: #181818;
  --ink: #f5f0eb;
  --ink-muted: #a8a29c;
  --ink-dim: #6b6864;
  --accent: #d62828;
  --accent-soft: rgba(214, 40, 40, 0.12);
  --line: rgba(245, 240, 235, 0.08);
  --line-strong: rgba(245, 240, 235, 0.15);

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.5s var(--easing);

  --photo-filter: contrast(1.05) saturate(0.92) brightness(0.98);
  --photo-filter-hover: contrast(1.08) saturate(1.05) brightness(1.02);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* =================== NAV =================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 70%, rgba(10,10,10,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: padding 0.3s var(--easing);
}
.nav.is-scrolled {
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(10,10,10,0.96);
  border-bottom: 1px solid var(--line);
}
.nav__logo img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  transition: transform var(--transition);
}
.nav__logo:hover img { transform: scale(1.05) rotate(-3deg); }

.nav__menu {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.25s var(--easing);
  position: relative;
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a.is-active { color: var(--ink); }
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--easing);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }
.nav__cta {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink) !important;
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.nav__cta::after { display: none; }
.nav__cta.is-active::after { display: none; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--easing);
}

/* =================== PAGE HEADER (shared by inner pages) =================== */
.page-header {
  padding: 180px clamp(20px, 5vw, 72px) 60px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(214,40,40,0.08) 0%, transparent 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  pointer-events: none;
}
.page-header__inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--ink-muted);
  transition: color 0.25s var(--easing);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--ink-dim); }
.breadcrumb .current { color: var(--accent); }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.page-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
}
.page-subtitle {
  margin-top: 28px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-muted);
  max-width: 720px;
  line-height: 1.5;
  font-weight: 300;
}

/* =================== SECTIONS =================== */
.section {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 72px);
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}
.section--narrow { max-width: 1100px; }
.section--full { max-width: none; padding-left: 0; padding-right: 0; }

.section__head {
  margin-bottom: 80px;
  max-width: 900px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
}
.section__sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 600px;
  line-height: 1.5;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s var(--easing);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--primary:hover {
  background: #ff3838;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px var(--accent);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(245,240,235,0.04);
}
.btn--arrow::after {
  content: '→';
  transition: transform 0.3s var(--easing);
}
.btn--arrow:hover::after { transform: translateX(6px); }

/* =================== TILE / WORK CARDS =================== */
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
  cursor: zoom-in;
  display: block;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transition: transform 0.7s var(--easing), filter 0.4s var(--easing);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--easing);
  pointer-events: none;
}
.tile:hover img {
  transform: scale(1.04);
  filter: var(--photo-filter-hover);
}
.tile:hover::after { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }

/* Project gallery grid */
.project-gallery {
  display: grid;
  gap: 12px;
}
.project-gallery.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
}

@media (max-width: 1100px) {
  .project-gallery.cols-4 {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
}
@media (max-width: 760px) {
  .project-gallery.cols-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: span 1; }
}
@media (max-width: 500px) {
  .project-gallery.cols-4 {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .tile--wide { grid-column: span 1; }
}

/* =================== WORK INDEX (cards on /work) =================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-card {
  position: relative;
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s var(--easing);
  text-decoration: none;
  color: inherit;
}
.work-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6);
}
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-card);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transition: transform 0.8s var(--easing), filter 0.4s var(--easing);
}
.work-card:hover .work-card__media img {
  transform: scale(1.06);
  filter: var(--photo-filter-hover);
}
.work-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.work-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.work-card__badge--video {
  background: rgba(214,40,40,0.85);
  border-color: var(--accent);
}
.work-card__body {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.work-card__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
}
.work-card__year {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

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

/* =================== VIDEO EMBED =================== */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =================== TAGS =================== */
.meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink-muted);
}
.tag.tag--year {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  border-color: var(--accent);
}

/* =================== FOOTER =================== */
.footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 80px clamp(20px, 5vw, 72px) 30px;
  margin-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto 60px;
}
.footer__brand p {
  color: var(--ink-muted);
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.5;
}
.footer__logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer__col p, .footer__col li {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.9;
  list-style: none;
}
.footer__col a { transition: color 0.25s var(--easing); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* =================== LIGHTBOX =================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--easing);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__inner {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__inner img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  filter: var(--photo-filter);
  user-select: none;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--easing);
  z-index: 1;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}
.lightbox__close { top: 24px; right: 24px; font-size: 32px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}
.lightbox__counter #lb-current { color: var(--accent); }

/* =================== NEXT PROJECT =================== */
.next-project {
  padding: 100px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}
.next-project__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.next-project__label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.next-project__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
  line-height: 0.95;
}
.next-project__title em {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: lowercase;
  color: var(--accent);
  font-size: 0.7em;
  margin-left: 8px;
}
.next-project__arrow {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--accent);
  transition: transform 0.3s var(--easing);
  text-decoration: none;
}
.next-project a:hover .next-project__arrow { transform: translateX(20px); }
.next-project a {
  display: contents;
}

/* =================== FORMS =================== */
.form {
  display: grid;
  gap: 20px;
  max-width: 640px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.form__field input,
.form__field textarea,
.form__field select {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.25s var(--easing);
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--accent);
}
.form__field textarea {
  resize: vertical;
  min-height: 140px;
}

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

/* =================== RESPONSIVE NAV =================== */
@media (max-width: 900px) {
  .nav__menu {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--easing);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { font-size: 20px; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .lightbox__close { top: 16px; right: 16px; width: 44px; height: 44px; }
  .lightbox__prev { left: 12px; width: 44px; height: 44px; }
  .lightbox__next { right: 12px; width: 44px; height: 44px; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   HOME SPECIFIC
   ===================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 72px) 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(214, 40, 40, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(214, 40, 40, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #1a0a0a 100%);
  z-index: -1;
}
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.8s var(--easing) 0.1s forwards;
}
.hero__eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s var(--easing) forwards;
}
.hero__title .line:nth-child(1) { animation-delay: 0.2s; }
.hero__title .line:nth-child(2) { animation-delay: 0.35s; padding-left: clamp(40px, 8vw, 140px); }
.hero__title .line:nth-child(3) { animation-delay: 0.5s; }
.hero__title .line:nth-child(4) { animation-delay: 0.65s; }
.hero__title .line--italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--ink-muted);
}
.hero__meta {
  margin-top: 48px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.9s var(--easing) 0.85s forwards;
}
.hero__meta .dot { color: var(--accent); }
.hero__ctas {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--easing) 1s forwards;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0;
  animation: fadeUp 0.9s var(--easing) 1.2s forwards;
}
.line-down {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--ink-muted), transparent);
  position: relative;
  overflow: hidden;
}
.line-down::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--accent);
  animation: scrollDown 2s var(--easing) infinite;
}
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { .hero__scroll { display: none; } }

.section__cta {
  margin-top: 60px;
  text-align: center;
}

/* =====================================================
   SERVICE CARDS (home + services index)
   ===================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  background: var(--bg-elev);
  padding: 48px 40px;
  text-decoration: none;
  color: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s var(--easing);
  min-height: 280px;
}
.service-card:hover {
  background: var(--bg-card);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.service-card__desc {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-top: auto;
}
.service-card__arrow {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  opacity: 0.6;
  transition: all 0.3s var(--easing);
}
.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(8px);
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; min-height: 220px; }
  .service-card__title { font-size: 26px; }
}

/* =====================================================
   CTA BLOCK (used on home, services, etc)
   ===================================================== */

.section--cta-home,
.section--services-home {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(60px, 10vw, 120px);
}

.cta-block {
  text-align: left;
  max-width: 1100px;
}
.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 130px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.cta-block__title span { display: block; }
.cta-block__title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
  padding-left: clamp(40px, 8vw, 120px);
}
.cta-block__sub {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.5;
}
.cta-block__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =====================================================
   PROJECT PAGE
   ===================================================== */

.project-header {
  background: linear-gradient(180deg, rgba(214,40,40,0.15) 0%, transparent 100%);
}
.project-header .page-title {
  font-size: clamp(40px, 8vw, 120px);
}
.project-header .page-title em {
  font-size: 0.55em;
  display: inline-block;
  margin-top: 12px;
}

.section--video {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: 0;
}

.page-spec-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.project-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 80px;
  align-items: start;
}
.project-body__heading,
.service-body__heading {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.project-body__main p,
.service-body__main p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
}
.project-body__main p:first-of-type,
.service-body__main p:first-of-type {
  font-size: 20px;
  color: var(--ink);
  font-weight: 300;
}
.project-body__aside,
.service-body__aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: sticky;
  top: 100px;
}
.aside-block h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}
.aside-block p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .project-body, .service-body { grid-template-columns: 1fr; gap: 40px; }
  .project-body__aside, .service-body__aside { position: static; }
}

/* =====================================================
   SERVICE PAGE
   ===================================================== */

.service-num-large {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.service-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 80px;
  align-items: start;
}

.section__title--mid {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 32px;
}

.included-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.included-list li {
  background: var(--bg-elev);
  padding: 20px 28px;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.25s var(--easing);
}
.included-list li:hover {
  background: var(--bg-card);
}
.included-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */

.about-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 300;
  margin-bottom: 28px;
}
.about-body__main p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 20px;
  max-width: 640px;
}
.about-h3 {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
}

.about-body__aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.about-body__aside .stat {
  background: var(--bg);
  padding: 32px 24px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.stat__num em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 0.7em;
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .about-body { grid-template-columns: 1fr; gap: 40px; }
  .about-body__aside { position: static; }
}

/* Clients list (about page) */
.clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.clients-list span {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding: 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex: 1 1 auto;
  min-width: 200px;
  text-align: center;
  color: var(--ink-muted);
  transition: all 0.3s var(--easing);
}
.clients-list span:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-methods .section__title {
  margin-bottom: 32px;
}
.contact__method {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: padding 0.25s var(--easing);
}
.contact__method:hover { padding-left: 12px; }
.contact__method--static:hover { padding-left: 0; cursor: default; }
.contact__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.contact__value {
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.contact__social {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact__social a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.25s var(--easing);
  position: relative;
}
.contact__social a::before {
  content: '→';
  margin-right: 10px;
  color: var(--accent);
  transition: transform 0.3s var(--easing);
  display: inline-block;
}
.contact__social a:hover { color: var(--ink); }
.contact__social a:hover::before { transform: translateX(4px); }

.contact-form-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px 40px;
}
.contact-form-intro {
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.form__submit {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }
}

/* =====================================================
   UTILS
   ===================================================== */
.hidden { display: none; }
