:root {
  --bg: #f5f1ea;
  --text: #16161a;
  --muted: #6b6b63;
  --dark-bg: #16161a;
  --dark-text: #f5f1ea;
  --border: rgba(22,22,26,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.serif-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

.underline-link {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.underline-link:hover { opacity: 0.6; }

/* ── Nav ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  z-index: 200;
  mix-blend-mode: difference;
}

.nav-logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { opacity: 0.5; margin-left: 4px; }

#menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ── Menu overlay ── */
#menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  color: var(--dark-text);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 48px 48px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.7,0,0.2,1);
}
#menu-overlay.open { transform: translateY(0); }

#menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-link {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 8vw, 84px);
  color: var(--dark-text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 20px;
  transition: opacity 0.2s;
}
.menu-link:hover { opacity: 0.5; }
.menu-link::before {
  content: attr(data-num);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.4;
}

#menu-footer {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 32px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-top-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
}

.showreel-link {
  font-size: 14px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 11vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 10px 0 28px;
}
.hero-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  opacity: 0.35;
}

.hero-sub {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Services ── */
#services {
  padding: 100px 32px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.services-intro { margin-bottom: 40px; }

.service-row {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  cursor: pointer;
}
.service-row:last-child { border-bottom: 1px solid var(--border); }

.service-headline {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}
.service-row:hover .service-headline { opacity: 0.6; }

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-top 0.4s ease;
}
.service-row.open .service-detail {
  max-height: 200px;
  padding-top: 16px;
}
.service-detail p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Manifesto ── */
#manifesto {
  padding: 120px 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.35;
  margin-bottom: 32px;
}

.section-more {
  margin-top: 32px;
}

/* ── Page header (subpages) ── */
.page-header {
  padding: 160px 32px 60px;
  max-width: 1400px;
  margin: 0 auto;
}
.page-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 9vw, 108px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 10px 0 20px;
}
.page-lede {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Process steps (services page) ── */
#process {
  padding: 40px 32px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.process-row {
  display: flex;
  align-items: baseline;
  gap: 28px;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.process-row:last-child { border-bottom: 1px solid var(--border); }
.process-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 16px;
  width: 40px;
  flex-shrink: 0;
}
.process-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  letter-spacing: -0.01em;
  width: 260px;
  flex-shrink: 0;
}
.process-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
}

/* ── Large work grid (our-work page) ── */
#work-full {
  padding: 40px 32px 120px;
  max-width: 1400px;
  margin: 0 auto;
}
.work-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-grid-full .work-item { aspect-ratio: 4/3; }
.work-cat {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 4px;
}

/* ── About values (about page) ── */
#values {
  padding: 40px 32px 100px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}
.value-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  margin-bottom: 10px;
}
.value-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Contact page ── */
#contact-hero {
  padding: 160px 32px 100px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.contact-big-link {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  margin: 12px 0;
  transition: opacity 0.2s;
}
.contact-big-link:hover { opacity: 0.6; }

/* ── Work grid ── */
#work {
  padding: 0 32px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.work-item {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #e6e1d6, #d9d3c4);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  transition: transform 0.3s ease;
}
.work-item:hover { transform: translateY(-6px); }
.work-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ── CTA (inverted) ── */
#cta {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 140px 32px;
  text-align: center;
}
.cta-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4.5vw, 46px);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 32px;
}
.cta-link { color: var(--dark-text); }

/* ── Footer ── */
#contact {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 60px 32px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}
.footer-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  opacity: 0.5;
  margin-bottom: 6px;
  font-size: 14px;
}
.footer-col a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 100px;
  font-size: 13px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid-full { grid-template-columns: repeat(2, 1fr); }
  #values { grid-template-columns: repeat(2, 1fr); }
  .process-row { flex-wrap: wrap; }
  .process-title { width: 100%; }
  #hero { padding-top: 120px; }
}

@media (max-width: 600px) {
  #nav { padding: 16px 20px; }
  #hero { padding: 110px 20px 40px; }
  .hero-top-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  #services, #manifesto, #work, #cta, #contact, #site-footer, .page-header, #process, #work-full, #values, #contact-hero { padding-left: 20px; padding-right: 20px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid-full { grid-template-columns: 1fr; }
  #values { grid-template-columns: 1fr; }
  #menu-overlay { padding: 100px 24px 32px; }
  #menu-footer { flex-direction: column; gap: 6px; }
  .footer-bottom { margin-top: 60px; }
}
