:root {
  --paper: #f3f0ea;
  --ink: #161c19;
  --muted: #5c675f;
  --line: #e2dbd1;
  --card: #fffcf8;
  --band: #121815;
  --green: #1d4a38;
  --copper: #9a5b38;
  --serif: Literata, Palatino, "Palatino Linotype", serif;
  --sans: Manrope, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, section[id] { scroll-margin-top: 88px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.topline {
  background: #0d1210;
  color: #d5dbd6;
  font-size: 13px;
}
.topline .wrap {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topline a { color: #f4f1ea; }

.header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(255, 252, 248, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 54px; height: 42px; object-fit: contain; }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav a { color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.header-phone { font-weight: 700; white-space: nowrap; }
.menu-btn {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.hero { position: relative; background: #101614; color: #f7f4ee; }
.film {
  position: relative;
  height: min(82vh, 780px);
  min-height: 560px;
  overflow: hidden;
}
.film img {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  opacity: 0;
}
.f1 { animation: shot-a 22s linear infinite; }
.f2 { animation: shot-b 22s linear infinite; }
.f3 { animation: shot-c 22s linear infinite; }
.f4 { animation: shot-d 22s linear infinite; }
.film::before, .film::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 22px;
  background: #070a09;
  z-index: 3;
}
.film::before { top: 0; }
.film::after { bottom: 0; }
.film-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8,12,10,.88) 0%, rgba(8,12,10,.55) 42%, rgba(8,12,10,.12) 70%),
    linear-gradient(180deg, rgba(8,12,10,.15), rgba(8,12,10,.35));
}
.hero-copy {
  position: absolute;
  z-index: 4;
  left: 0; right: 0;
  top: 18%;
  max-width: 640px;
}
.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.inspect-copy { max-width: 74ch; margin-top: 8px; }
.hero .lede { max-width: 46ch; margin: 18px 0 0; color: #e4e7e2; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 650;
}
.btn-solid { background: var(--green); color: #f7f4ee; }
.btn-line { border: 1px solid rgba(247,244,238,.45); color: #f7f4ee; }
.film-caption {
  position: absolute;
  z-index: 4;
  left: 0; right: 0;
  bottom: 36px;
  color: #d5dbd6;
  font-size: 14px;
}

@keyframes shot-a {
  0%, 18% { opacity: 1; transform: scale(1.04); }
  25%, 100% { opacity: 0; transform: scale(1.08); }
}
@keyframes shot-b {
  0%, 18% { opacity: 0; }
  25%, 43% { opacity: 1; transform: scale(1.05); }
  50%, 100% { opacity: 0; }
}
@keyframes shot-c {
  0%, 43% { opacity: 0; }
  50%, 68% { opacity: 1; transform: scale(1.04); }
  75%, 100% { opacity: 0; }
}
@keyframes shot-d {
  0%, 68% { opacity: 0; }
  75%, 93% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .f1, .f2, .f3, .f4 { animation: none; }
  .f2, .f3, .f4 { opacity: 0; }
  .f1 { opacity: 1; transform: none; }
  .pin i { animation: none; }
}

.band { padding: 28px 0; background: var(--band); color: #f4f1ea; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.facts span { color: #c9d5cc; font-size: 14px; }

.section { padding: 72px 0; }
.section h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.lead { max-width: 62ch; margin: 14px 0 0; color: var(--muted); font-size: 18px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; margin-top: 28px; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split img { width: 100%; height: 420px; object-fit: cover; border-radius: 6px; }
.split figure { margin: 0; }
.split figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.prose h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.prose p { margin: 0; color: var(--muted); }
.prose p + p { margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span {
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 14px;
}

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  overflow: hidden;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card div { padding: 20px 20px 22px; }
.card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.videos video { width: 100%; height: 220px; background: #121815; border-radius: 6px; object-fit: cover; }
.videos p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.map-section { background: #101614; color: #f4f1ea; }
.map-section .lead, .map-section .kicker { color: #c9d5cc; }
.map-section h2 { color: #f7f4ee; }
.map-frame {
  position: relative;
  margin-top: 22px;
  background: #f4f7f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.map-frame img { width: 100%; height: auto; }
.rig {
  position: absolute;
  width: 22px;
  height: 18px;
  transform: translate(-50%, -100%);
  background: url("../assets/images/rig-pin.svg?v=3") center / contain no-repeat;
  filter: drop-shadow(0 0 1px rgba(255, 252, 248, .95));
}
.rig span { display: none; }
.rig.base { width: 26px; height: 22px; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: #d5dbd6; }
.city-list strong { color: #f7f4ee; }
.map-credit { margin: 12px 0 0; color: #8ea096; font-size: 12px; }

.survey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.survey figure { margin: 0; }
.survey img { width: 100%; height: 230px; object-fit: cover; border-radius: 6px; }
.survey figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.survey strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.points li { padding-top: 12px; border-top: 1px solid var(--line); }
.points strong { display: block; margin-bottom: 4px; }
.points span { color: var(--muted); }
.card-text { display: flex; }
.card-text > div { display: flex; flex-direction: column; justify-content: center; }

.director { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.portraits { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; align-items: end; }
.portraits img { width: 100%; object-fit: cover; border-radius: 6px; }
.portraits .main { height: 560px; object-position: center 15%; }
.portraits .field { height: 340px; }
.portraits figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.story p { margin: 0 0 12px; color: var(--muted); }
.quote {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 3px solid var(--green);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}
.sign { margin-top: 10px; font-weight: 700; }

.contact {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact img { width: 160px; height: auto; }
.contact h2 { max-width: none; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.contact-links a { color: var(--green); font-weight: 700; }

.footer { border-top: 1px solid var(--line); padding: 22px 0 28px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .brand span { letter-spacing: .04em; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: #fffcf8;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; white-space: normal; }
  .header-phone { display: none; }
  .film { height: 92vh; min-height: 620px; }
  .hero-copy { top: 10%; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero .lede { font-size: 16px; }
  .film-caption { bottom: 108px; }
  .facts, .split, .split.reverse, .cards, .videos, .director, .contact, .portraits, .survey, .points { grid-template-columns: 1fr; }
  .split > *, .director > *, .contact > *, .cards > *, .facts > * { min-width: 0; }
  .section h2, .prose h3, .card h3 { overflow-wrap: break-word; }
  .contact { padding: 20px; }
  .contact h2 { font-size: 26px; max-width: none; }
  .rig { width: 16px; height: 13px; }
  .rig.base { width: 19px; height: 16px; }
  .split img, .card img { height: 220px; }
  .videos video { height: 210px; }
  .portraits .main { height: 420px; }
  .portraits .field { height: 220px; }
  .survey img { height: 200px; }
  body { padding-bottom: 64px; }
  .call {
    display: flex;
    position: fixed;
    z-index: 7;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 52px;
    padding: 0 18px env(safe-area-inset-bottom);
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #f7f4ee;
    border-radius: 0;
    font-weight: 700;
    box-shadow: 0 -8px 20px rgba(18, 24, 21, .18);
  }
}
@media (min-width: 901px) { .call { display: none; } }
