:root {
  --paper: #f6f4ef;
  --ink: #1a2420;
  --muted: #5c6761;
  --line: #ddd6cc;
  --teal: #0f6e56;
  --deep: #0c3d32;
  --foam: #e7f3ee;
  --sand: #efe4d4;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 0.98; margin: 0 0 14px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0 0 12px; }
h3 { font-size: 26px; margin: 0 0 8px; }
p { margin: 0 0 12px; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--deep);
  border-radius: 3px;
  background:
    linear-gradient(var(--deep), var(--deep)) center / 1.5px 100% no-repeat,
    linear-gradient(var(--deep), var(--deep)) center / 100% 1.5px no-repeat;
}
.logo strong { display: block; font-size: 18px; letter-spacing: -0.03em; line-height: 1; }
.logo em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.masthead-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.masthead-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}
.masthead-nav a.on,
.masthead-nav a:hover { color: var(--ink); }
.masthead-nav a.cta {
  color: #fff;
  background: var(--teal);
  padding: 8px 14px;
  border-radius: 999px;
}
.masthead-nav a.cta.on,
.masthead-nav a.cta:hover { background: var(--deep); color: #fff; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 20px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 78vh;
  background: var(--deep);
  color: #f6f4ef;
}
.hero-photo { position: relative; min-height: 420px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 40px;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}
.hero .kicker { color: #9ed9c8; }
.lede { font-size: 18px; max-width: 38rem; color: var(--muted); }
.hero .lede { color: #d7e4de; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  border: 1px solid transparent;
  font-size: 15px;
}
.btn-ink { background: #fff; color: var(--deep); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; border-color: currentColor; }

.band { padding: 28px 0; border-bottom: 1px solid var(--line); }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.facts strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.facts span { color: var(--muted); font-size: 14px; }

section.block { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.jobs article {
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.jobs article:nth-child(3n) { border-right: 0; padding-right: 0; }
.jobs article:nth-child(3n + 1) { padding-left: 0; }
.jobs article:nth-child(3n + 2),
.jobs article:nth-child(3n) { padding-left: 18px; }
.jobs p { color: var(--muted); margin: 0; }
.fee {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-size: 14px;
}

.work-row, .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-row a, .shot {
  text-decoration: none;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.work-row img, .shot img, .frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.work-row h3, .shot h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin: 10px 0 2px; letter-spacing: 0; }
.work-row p, .shot p { margin: 0; color: var(--muted); font-size: 13px; }

.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.steps article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.steps span { color: var(--teal); font-size: 13px; letter-spacing: 0.08em; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.split img { width: 100%; border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
.panel {
  background: var(--foam);
  border-radius: 16px;
  padding: 28px;
}

.page-hero { padding: 48px 0 12px; }
.page-hero .lede { margin-bottom: 0; }

.service-list { display: grid; gap: 0; }
.service-list article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list h2 { font-size: 32px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; padding-bottom: 72px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row span { color: var(--muted); }
.row strong { text-align: right; font-weight: 500; }
.map { margin-top: 16px; min-height: 180px; background: var(--sand); }
.map iframe { width: 100%; height: 180px; border: 0; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.areas li { background: var(--foam); color: var(--deep); border-radius: 999px; padding: 6px 10px; font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
label { font-size: 13px; color: var(--muted); }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.form-success { display: none; background: var(--foam); color: var(--deep); padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.form-success.show { display: block; }
button.btn { cursor: pointer; }

.policy article { padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.policy h2 { font-size: 28px; }

.colophon {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.colophon h2 { font-family: var(--sans); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon a { text-decoration: none; }
.colophon a:hover { text-decoration: underline; }
.legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; padding-top: 8px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 24, 20, 0.88);
  z-index: 30;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; }
.lightbox img { max-height: 82vh; max-width: 92vw; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #d7e4de; text-align: center; margin-top: 10px; }
.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .masthead { position: sticky; }
  .masthead-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 22px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .masthead-nav.open { display: flex; }
  .hero, .facts, .jobs, .work-row, .gallery, .steps, .split, .service-list article, .contact-grid, .form-grid, .colophon {
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 28px 20px 36px; }
  .hero-photo { min-height: 280px; }
  .hero-photo img { position: static; height: 280px; }
  .jobs article, .jobs article:nth-child(3n), .jobs article:nth-child(3n + 2) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .section-head, .legal { flex-direction: column; align-items: flex-start; }
  .row { flex-direction: column; gap: 4px; }
  .row strong { text-align: left; }
}
