/* ============================================================
   CloudCrew Studio — deep olive ground, white counterpoint
   ============================================================ */

:root {
  --bg: #343b23;        /* olive ground */
  --bg-raise: #3e4730;  /* raised olive panel */
  --bg-deep: #252b17;   /* deepest olive — contact, footer */
  --ink: #fdfdf9;       /* near-white text on olive */
  --ink-soft: #e2e5d2;
  --muted: #abb293;
  --olive: #cdd79c;     /* pale sage accent on olive ground */
  --olive-deep: #e2ebb4;/* brighter sage for hover */
  --olive-tint: #3e4730;
  --white: #ffffff;
  --on-white: #2f361c;  /* olive ink for white surfaces */
  --line: #4b5334;
  --serif: "Archivo", "Inter", -apple-system, "Segoe UI", sans-serif; /* display face (sans) */
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --radius: 0px;
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

::selection { background: var(--olive); color: var(--bg); }

/* ---------- typography helpers ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; }

.display {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 620;
}

.display em, .h-lg em {
  font-style: normal;
  color: var(--olive);
}

.h-lg { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 620; }
.h-md { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--olive);
  flex: none;
}

.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 34em; }

.muted { color: var(--muted); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand svg { width: 28px; height: auto; color: var(--olive); }

.brand .studio { font-weight: 450; color: var(--olive); letter-spacing: 0.18em; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav .btn { padding: 9px 22px; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 70;
}

.nav-toggle svg {
  width: 27px;
  height: 27px;
  display: block;
  margin: 0 auto;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
}

.nav-toggle .l1, .nav-toggle .l2 {
  transition: transform 0.25s ease;
  transform-origin: 50% 50%;
}

body.nav-open .nav-toggle .l1 { transform: translateY(4px) rotate(45deg); }
body.nav-open .nav-toggle .l2 { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 65;
  }
  .nav a { font-size: 1.5rem; font-family: var(--serif); font-weight: 450; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  background: transparent;
  font-family: var(--sans);
}

.btn:hover { background: var(--white); border-color: var(--white); color: var(--on-white); }

.btn.solid { background: var(--white); border-color: var(--white); color: var(--on-white); }
.btn.solid:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--on-white); }

.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- full-bleed hero ---------- */

.hero-full {
  position: relative;
  height: min(88vh, 880px);
  min-height: 520px;
  overflow: hidden;
}

.hero-slides { position: absolute; inset: 0; overflow: hidden; }

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slides img.is-active {
  opacity: 1;
  animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 34px;
}

.hero-dots button {
  width: 26px;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: rgba(253, 252, 248, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.hero-dots button.on { background: #fdfcf8; }

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 28, 19, 0.66) 0%, rgba(25, 28, 19, 0.18) 42%, rgba(25, 28, 19, 0) 62%);
}

.hero-full .wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(36px, 7vh, 72px);
  z-index: 2;
  color: #fdfcf8;
}

.hero-full .eyebrow { color: #d8dfb4; }
.hero-full .eyebrow::before { background: #d8dfb4; }

.hero-full h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 640;
  max-width: 13em;
  text-wrap: balance;
}

.hero-full h1 em { font-style: normal; color: #d8dfb4; }

.hero-full .hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-full .btn { backdrop-filter: blur(4px); }

/* ---------- discipline tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}

@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .tiles { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  background: var(--olive-tint);
}

.par {
  position: absolute;
  inset: -20px 0;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.par img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.tile .par { position: absolute; z-index: 0; }
.tile:hover .par img { transform: scale(1.05); }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 28, 19, 0.72) 0%, rgba(25, 28, 19, 0.12) 44%, rgba(25, 28, 19, 0) 60%);
}

.tile-label {
  position: absolute;
  left: clamp(16px, 2.5vw, 26px);
  right: clamp(16px, 2.5vw, 26px);
  bottom: clamp(16px, 2.5vw, 24px);
  z-index: 2;
  color: #fdfcf8;
}

.tile-label h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 620;
}

.tile-label .sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8dfb4;
}

.tile-label .n { font-variant-numeric: tabular-nums; color: #e8e6da; }

/* ---------- facts strip ---------- */

.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: clamp(36px, 6vh, 56px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) { .facts-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- large featured grid ---------- */

.work-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .work-grid.two { grid-template-columns: 1fr; } }
.work-grid.two .thumb { aspect-ratio: 3 / 2; }
.work-grid.two .meta h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* ---------- hero (legacy padded variant) ---------- */

.hero { padding: clamp(56px, 9vh, 110px) 0 clamp(40px, 6vh, 70px); }

.hero .display { max-width: 12.5em; }

.hero-sub {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.hero-strip {
  margin-top: clamp(44px, 7vh, 80px);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: end;
}

.hero-strip figure {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.hero-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.hero-strip figure:hover img { transform: scale(1.04); }

.hero-strip figure:nth-child(1) { aspect-ratio: 4 / 3; }
.hero-strip figure:nth-child(2) { aspect-ratio: 3 / 3.6; }
.hero-strip figure:nth-child(3) { aspect-ratio: 3 / 2.6; }

.hero-strip figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(30, 33, 24, 0.45);
  backdrop-filter: blur(6px);
  padding: 6px 13px;
  border-radius: 0;
}

@media (max-width: 680px) {
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip figure:nth-child(1) { grid-column: 1 / -1; }
}

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  margin-top: clamp(48px, 7vh, 80px);
}

.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker span {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 56px;
}

.ticker span::after { content: "✦"; font-style: normal; color: var(--olive); font-size: 0.7rem; }

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

/* ---------- sections ---------- */

.section { padding: clamp(70px, 11vh, 130px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vh, 60px);
}

/* ---------- white gallery band ---------- */

.section.paper { background: var(--white); color: var(--on-white); }
.section.paper .eyebrow { color: #57632f; }
.section.paper .eyebrow::before { background: #57632f; }
.section.paper .h-lg em { color: #57632f; }
.section.paper .btn { border-color: #57632f; color: #3c451f; }
.section.paper .btn:hover { background: #57632f; border-color: #57632f; color: var(--white); }
.section.paper .work-card .meta .cat, .section.paper .work-card .count { color: #7d8271; }
.section.paper .thumb { background: #eef0e2; }

/* ---------- services ---------- */

.services { border-top: 1px solid var(--line); }

.service-list { display: flex; flex-direction: column; }

.service {
  display: grid;
  grid-template-columns: 70px 1fr 1.2fr auto;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(26px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
}

.service:hover { padding-left: 10px; }

.service .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--olive);
  font-size: 1rem;
}

.service h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

.service p { color: var(--muted); font-size: 0.96rem; max-width: 32em; }

.service .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .service { grid-template-columns: 44px 1fr; }
  .service p { grid-column: 2; }
  .service .tag { display: none; }
}

/* ---------- work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px) clamp(14px, 2vw, 26px);
}

@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

.work-card { cursor: pointer; }

.work-card .thumb {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--olive-tint);
  position: relative;
}

.work-card .thumb { position: relative; }
.work-card:hover .thumb .par img { transform: scale(1.045); }

.work-card .thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.work-card .thumb .play span {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  color: var(--on-white);
  transition: transform 0.25s ease, background 0.25s ease;
}

.work-card:hover .thumb .play span { transform: scale(1.1); background: var(--white); }

.work-card .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}

.work-card .meta h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }

.work-card .meta .cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.work-card .count { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ---------- filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(30px, 4vh, 48px);
}

.filter-btn {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover { border-color: var(--olive); color: var(--olive-deep); }

.filter-btn.active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--bg);
}

.filter-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }

/* ---------- showreel ---------- */

.reel { background: var(--olive-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.reel-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

@media (max-width: 860px) { .reel-inner { grid-template-columns: 1fr; } }

.reel video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(35, 38, 29, 0.35);
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

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

.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 26px; }

.fact .n {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--olive);
  line-height: 1;
}

.fact .l { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* ---------- contact ---------- */

.contact { background: var(--bg-deep); color: var(--ink); }

.contact .eyebrow { color: #b9c18a; }
.contact .eyebrow::before { background: #b9c18a; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
}

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

.contact .h-lg em { color: #cdd69b; }

.contact-email {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  border-bottom: 1.5px solid #b9c18a;
  padding-bottom: 3px;
  color: #f2f0e6;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover { color: #cdd69b; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9ac9b;
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(253, 253, 249, 0.06);
  border: 1px solid rgba(253, 253, 249, 0.22);
  border-radius: 0;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  transition: border-color 0.2s, background 0.2s;
}

.field select option { color: var(--on-white); background: var(--white); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #b9c18a;
  background: rgba(250, 248, 243, 0.1);
}

.field textarea { resize: vertical; min-height: 130px; }

.contact .btn { border-color: #cdd69b; color: #e9ecd8; }
.contact .btn:hover { background: #cdd69b; border-color: #cdd69b; color: var(--bg-deep); }

.form-status { margin-top: 16px; font-size: 0.95rem; color: #cdd69b; min-height: 1.4em; }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-deep); color: var(--muted); border-top: 1px solid rgba(253, 253, 249, 0.1); }

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 34px;
  font-size: 0.85rem;
}

.site-footer a:hover { color: var(--ink); }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
}

.lightbox.open { display: flex; }

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 44px);
  flex: none;
}

.lb-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }

.lb-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-top: 2px;
}

.lb-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 0;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.lb-close:hover { background: var(--olive); border-color: var(--olive); color: var(--bg); }

.lb-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0 clamp(56px, 8vw, 110px);
  min-height: 0;
  position: relative;
}

.lb-stage img, .lb-stage video {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: 0 30px 80px -30px rgba(35, 38, 29, 0.4);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 0;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.2s;
  z-index: 2;
}

.lb-nav:hover { background: var(--olive); border-color: var(--olive); color: var(--bg); }
.lb-nav.prev { left: clamp(10px, 2vw, 30px); }
.lb-nav.next { right: clamp(10px, 2vw, 30px); }
.lb-nav svg { width: 20px; height: 20px; }

.lb-bottom {
  flex: none;
  text-align: center;
  padding: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .lb-stage { padding: 0 12px; }
  .lb-nav { top: auto; bottom: -6px; transform: none; }
  .lb-nav.prev { left: calc(50% - 60px); }
  .lb-nav.next { right: calc(50% - 60px); }
  .lb-bottom { padding-bottom: 74px; }
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- project page ---------- */

.project-head { padding: clamp(44px, 7vh, 80px) 0 clamp(26px, 4vh, 40px); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--muted);
  margin-bottom: 26px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--olive-deep); }

.project-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 640; max-width: 14em; }

.project-head .cat-line {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}

.project-desc {
  margin-top: 22px;
  max-width: 46em;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.p-videos { display: grid; gap: clamp(16px, 2.5vw, 30px); margin-bottom: clamp(16px, 2.5vw, 30px); }

.p-videos video {
  width: 100%;
  border-radius: var(--radius);
  background: #101208;
  box-shadow: 0 24px 60px -28px rgba(35, 38, 29, 0.35);
}

.p-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding-bottom: clamp(50px, 8vh, 90px);
}

@media (max-width: 640px) { .p-gallery { grid-template-columns: 1fr; } }

.p-gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--olive-tint);
}

.p-gallery figure.wide { grid-column: 1 / -1; }

.p-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.p-gallery figure:hover img { transform: scale(1.025); }

.p-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4vh, 44px) 0 clamp(56px, 9vh, 100px);
}

.p-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 46%;
}

.p-nav a .dir {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-nav a .pn {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--ink);
  transition: color 0.2s;
}

.p-nav a:hover .pn { color: var(--olive-deep); }

.p-nav a.next { text-align: right; margin-left: auto; }

/* ---------- page hero (work page) ---------- */

.page-hero { padding: clamp(48px, 8vh, 90px) 0 clamp(28px, 4vh, 44px); }
.page-hero .display { max-width: 11em; }
.page-hero .lede { margin-top: 22px; }
