/* ---- Reset + base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw + .5rem, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.4vw + .5rem, 1.4rem); font-weight: 600; }
p  { margin: 0 0 1em; }

:root {
  --bg: #ffffff;
  --bg-alt: #faf7f2;
  --bg-dark: #161514;
  --ink: #1a1a1a;
  --ink-muted: #5e5e5e;
  --rule: #e9e4dc;
  --accent: #b94a1f;
  --accent-ink: #ffffff;
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);
}

.skip-link {
  position: absolute; top: -40px; left: 1rem;
  background: #000; color: #fff; padding: .5rem .75rem;
  text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 1rem; }

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

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem var(--gutter);
  width: 100%;
}
.brand {
  display: inline-flex; align-items: center;
  font-weight: 700; letter-spacing: -.01em; font-size: 1.05rem;
  text-decoration: none; color: var(--ink);
}
.brand__logo {
  height: 56px; width: auto; display: block;
}
@media (max-width: 600px) {
  .brand__logo { height: 44px; }
}
.brand__logo--light {
  /* The black wordmark is on transparent background; invert to render white on dark footer */
  filter: invert(1) brightness(2);
}
.site-footer .brand { display: inline-block; margin-bottom: 1rem; }
.site-footer .brand__logo { height: 64px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--rule);
  background: transparent; border-radius: 8px;
}
.nav-toggle svg { width: 20px; height: 20px; }
.primary-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.4rem; align-items: center;
}
.primary-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: .35rem 0; border-bottom: 1px solid transparent;
}
.primary-nav a:hover { border-bottom-color: var(--ink); }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gutter) 1.25rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .15s ease, opacity .15s ease;
  }
  .primary-nav[data-open="true"] {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .primary-nav ul { flex-direction: column; gap: .25rem; align-items: stretch; }
  .primary-nav a { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  .primary-nav .cta { margin-top: .5rem; align-self: flex-start; }
}
@media (min-width: 801px) {
  .nav-toggle { display: none; }
}

/* ---- CTA button ---- */
.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 600;
  padding: .85rem 1.4rem; border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cta:hover { background: var(--accent); border-color: var(--accent); }
.cta--ghost {
  background: transparent; color: var(--ink);
}
.cta--ghost:hover { background: var(--ink); color: #fff; }
.cta--light {
  background: #fff; color: var(--ink); border-color: #fff;
}
.cta--light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Sections ---- */
section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #d6d2c9; }

.section-head {
  max-width: 50rem; margin: 0 auto var(--gutter);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.lead {
  font-size: clamp(1.05rem, 1.2vw + .6rem, 1.2rem);
  color: var(--ink-muted); line-height: 1.55;
}

/* ---- Hero ---- */
.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  background: var(--bg);
}
.hero h1 { margin-bottom: 1rem; }
.hero p.lead { margin-bottom: 2rem; }
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 2.5rem;
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  font-size: .9rem; color: var(--ink-muted);
}
.hero__trust strong { color: var(--ink); display: block; font-size: 1.5rem; line-height: 1; margin-bottom: .15rem; }

.hero--centered .hero__copy {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.hero--centered .hero__copy h1 {
  font-size: clamp(2.2rem, 6vw + 0.5rem, 4.2rem);
  letter-spacing: -0.02em;
}
.hero--centered .hero__copy p.lead {
  max-width: 44rem; margin-left: auto; margin-right: auto;
  font-size: clamp(1.1rem, 1.4vw + .6rem, 1.3rem);
}
.hero--centered .hero__cta-row { justify-content: center; }
.hero--centered .hero__trust { justify-content: center; }

/* ---- Two-up service preview (Photo / Stop Motion) ---- */
.service-pair {
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .service-pair { grid-template-columns: 1fr 1fr; }
}
.service-card { display: flex; flex-direction: column; gap: 1rem; }
.service-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 12px;
}
.service-card h3 { margin: 0; font-size: 1.4rem; }
.service-card p { color: var(--ink-muted); margin: 0; }
.service-card .cta { align-self: flex-start; margin-top: .25rem; }

/* ---- Comparison table ---- */
.compare {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px; overflow: hidden;
}
@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; }
}
.compare__col { background: var(--bg); padding: 1.5rem 1.5rem 1.75rem; }
.compare__col--us { background: #ecf6e2; }
.compare__col h3 {
  margin: 0 0 1rem; font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted);
}
.compare__col--us h3 { color: #2f6b34; }
.compare__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.compare__list li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.4; }
.compare__list li::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px;
  background: center/contain no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='%23999' stroke-width='2'/><path d='M8 12L11 15L16 9' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'/></svg>");
  opacity: .55;
}
.compare__col--us .compare__list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='%234a9b4f'/><path d='M8 12L11 15L16 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'/></svg>");
  opacity: 1;
}

/* ---- Process steps ---- */
.process-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(5, 1fr); } }
.process-step {
  display: flex; flex-direction: column; gap: .65rem;
  padding: 1.5rem 1.25rem; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--rule);
}
.section-alt .process-step { background: #fff; }
.process-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.process-step h3 { margin: 0; font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* ---- Bonus / mood-board strip ---- */
.bonus-strip {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .bonus-strip { grid-template-columns: repeat(3, 1fr); } }
.bonus-card { display: flex; flex-direction: column; gap: .75rem; }
.bonus-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.bonus-card h3 { margin: 0; font-size: 1.1rem; }
.bonus-card p { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* ---- Two-column split ---- */
.split {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.split h2 { margin-bottom: .75rem; }

/* ---- Case study cards ---- */
.case-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.2);
}
.case-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.case-card__body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.case-card__client {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.case-card h3 { font-size: 1.1rem; margin: 0; }
.case-card p { font-size: .95rem; color: var(--ink-muted); margin: 0; }
.case-card__more {
  margin-top: auto; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .35rem;
}

/* ---- Testimonials ---- */
.quote-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg); border: 1px solid var(--rule);
  padding: 1.5rem 1.5rem 1.75rem; border-radius: 12px;
}
.section-alt .quote { background: #fff; }
.quote p { font-size: 1.02rem; line-height: 1.5; margin: 0 0 1rem; }
.quote cite {
  font-style: normal; font-size: .9rem; color: var(--ink-muted);
  display: block;
}
.quote cite strong { color: var(--ink); display: block; font-style: normal; }

/* ---- Package detail ---- */
.package {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 900px) { .package { grid-template-columns: 1fr 1.1fr; } }
.package__media { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.package__media img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.package h2 { margin-top: 0; }
.package__list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: grid; gap: .55rem;
}
.package__list li {
  padding: .65rem 0; border-bottom: 1px solid var(--rule);
  display: flex; align-items: baseline; gap: .75rem;
}
.package__list li:last-child { border-bottom: none; }
.package__list li strong { font-variant-numeric: tabular-nums; min-width: 2.5rem; }

/* ---- FAQ ---- */
.faq { max-width: 50rem; margin: 0 auto; display: grid; gap: .5rem; }
.faq details {
  background: var(--bg); border: 1px solid var(--rule); border-radius: 10px;
  padding: 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1rem 1.25rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ink-muted);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.25rem 1.25rem; color: var(--ink-muted); }

/* ---- Final CTA banner ---- */
.cta-banner { text-align: center; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: var(--ink-muted); max-width: 36rem; margin: 0 auto 1.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-dark); color: #d6d2c9;
  padding: 3rem 0 1.5rem;
}
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h4 {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #888; margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand p { color: #aaa; max-width: 28rem; }
.site-footer__bottom {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #2a2826;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: #888;
}

/* ---- Generic photo grid (used on portfolio + stop-motion + case studies) ---- */
.photo-grid {
  display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .photo-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.photo-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px;
}
.photo-grid--portrait img { aspect-ratio: 3 / 4; }

/* ---- Page hero (interior pages) ---- */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: var(--ink-muted); max-width: 40rem; margin: 0 auto; }

/* ---- Long-form (privacy / terms) ---- */
.prose { max-width: 44rem; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-muted); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.muted { color: var(--ink-muted); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* ---- Brand chips (portfolio) ---- */
.brand-chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  justify-content: center;
}
.brand-chips li {
  background: #fff; border: 1px solid var(--rule);
  padding: .5rem .9rem; border-radius: 999px; font-size: .9rem;
  color: var(--ink);
}

/* ---- Case study detail ---- */
.case-hero-img {
  width: 100%; max-height: 70vh; object-fit: cover;
  border-radius: 14px;
}
.metric-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  margin-top: 1.5rem; justify-content: center;
}
.metric { text-align: center; }
.metric strong {
  display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--accent); line-height: 1;
}
.metric span {
  display: block; margin-top: .35rem; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted);
}
.pullquote {
  max-width: 44rem; margin: 0 auto; text-align: center;
  border: none; padding: 0;
}
.pullquote p {
  font-size: clamp(1.2rem, 2vw + .5rem, 1.6rem);
  line-height: 1.4; font-weight: 500; margin: 0 0 1rem;
}
.pullquote cite {
  font-style: normal; color: var(--ink-muted); font-size: .95rem;
}

/* ---- Active nav state ---- */
.primary-nav a.is-active { border-bottom-color: var(--ink); }
