:root {
  --ivory: #FAF7F2;
  --ink: #141413;
  --ink-muted: rgba(20,20,19,0.72);
  --ink-faint: rgba(20,20,19,0.55);
  --line: rgba(20,20,19,0.14);
  --line-strong: rgba(20,20,19,0.2);
  --sage: #E3E7D6;
  --gold: #8A6A1F;
  --font-display: 'Open Sans', sans-serif;
  --font-body: 'EB Garamond', serif;
  --gutter: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, .ph { display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; margin: 0; }
.impact { font-weight: 800; }
p { margin: 0; }

.light { color: var(--ivory); }
.light-muted { color: rgba(250,247,242,0.7); margin: 0; }

/* Placeholder image treatment */
.ph {
  background-image: repeating-linear-gradient(135deg, rgba(20,20,19,0.08), rgba(20,20,19,0.08) 12px, transparent 12px, transparent 24px);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(20,20,19,0.6);
  font-size: 13px;
  line-height: 1.5;
  padding: 24px;
}
.ph span { max-width: 320px; }

/* Buttons and tags */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline-light { color: var(--ivory); border-color: rgba(250,247,242,0.5); }
.btn-small { padding: 11px 22px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-row { display: flex; gap: 16px; margin-top: 6px; flex-wrap: wrap; }

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  border: 1px solid var(--line-strong);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
}
.tag-light { border-color: rgba(250,247,242,0.5); color: var(--ivory); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow-light { color: rgba(250,247,242,0.7); }

.num { font-family: var(--font-display); font-weight: 800; font-style: normal; font-size: 20px; color: var(--gold); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
}
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.wordmark-img { height: 32px; width: auto; display: block; }
.footer-wordmark-img { height: 26px; }
.nav-links { display: flex; align-items: center; gap: 40px; font-family: var(--font-display); font-size: 14px; font-weight: 500; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
  gap: 4px;
}
.mobile-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 16px; }

/* Trust strip */
.trust-strip {
  padding: 26px var(--gutter);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 16px;
}
.trust-label { font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.trust-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.trust-stat { font-family: var(--font-display); font-size: 13px; color: var(--ink-faint); }

/* Full-bleed image sections */
.full-bleed { position: relative; overflow: hidden; }
.scrim { position: absolute; inset: 0; }
.scrim-bottom { background: linear-gradient(0deg, rgba(20,19,19,0.82) 0%, rgba(20,19,19,0.35) 45%, rgba(20,19,19,0) 68%); }
.scrim-full { background: rgba(20,19,19,0.6); }

/* Hero */
.hero { height: 680px; }
.hero-image { position: absolute; inset: 0; border: none; border-radius: 0; }
.hero-content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
}
.hero-content h1 { font-size: 56px; line-height: 1.08; letter-spacing: -.01em; }
.hero-content .lede { font-size: 17px; line-height: 1.6; max-width: 480px; }
.hero-content h1 { font-size: 60px; }

/* Credibility */
.credibility { display: flex; align-items: stretch; min-height: 520px; background: #fff; }
.credibility-image { width: 42%; border: none; border-radius: 0; flex-shrink: 0; overflow: hidden; position: relative; }
.credibility-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  padding: 88px var(--gutter);
  justify-content: center;
}
.credibility-copy h2 { font-size: 34px; line-height: 1.25; }
.credibility-copy p { font-size: 17px; line-height: 1.7; color: var(--ink-muted); }

/* The gap */
.gap, .breather { height: 540px; }
.gap-image, .breather-image { position: absolute; inset: 0; border: none; border-radius: 0; }
.gap-content, .breather-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
}
.gap-content > * + *, .breather-content > * + * { margin-top: 20px; }
.gap-content, .breather-content { flex-direction: column; }
.statement { font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: 32px; line-height: 1.5; max-width: 780px; }

/* Patterns (named failure modes) */
.patterns { padding: 96px var(--gutter); background: #fff; }
.pattern-grid { display: flex; gap: 28px; }
.pattern { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pattern h3 { font-size: 20px; }
.pattern p { font-size: 15px; line-height: 1.65; color: var(--ink-faint); }

/* What we do */
.what-we-do { padding: 96px var(--gutter); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.section-head h2 { font-size: 36px; }
.section-lead { font-size: 16px; line-height: 1.6; color: var(--ink-muted); max-width: 560px; margin-top: 4px; }
.card-grid { display: flex; gap: 28px; }
.card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h3 { font-size: 22px; }
.card p, .step p { font-size: 15px; line-height: 1.65; color: var(--ink-faint); }
.card p.card-quote { font-family: var(--font-body); font-style: italic; font-size: 15px; color: var(--gold); }

/* Proof */
.proof { background: var(--sage); }
.proof-banner { height: 420px; }
.proof-image { position: absolute; inset: 0; border: none; border-radius: 0; }
.proof-banner-content {
  position: absolute;
  left: var(--gutter);
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}
.proof-banner-content h2 { font-size: 34px; line-height: 1.2; }
.proof-body { padding: 56px var(--gutter) 96px; }
.proof-lead { font-size: 16px; line-height: 1.7; color: var(--ink-muted); max-width: 760px; margin-bottom: 40px; }
.quote-lead { margin-bottom: 16px; }
.quote-grid { display: flex; gap: 24px; }
.quote-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin: 0;
}
.quote-card p { font-family: var(--font-body); font-style: italic; font-size: 17px; line-height: 1.6; margin-bottom: 16px; }
.quote-card cite { font-family: var(--font-display); font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-faint); }

.before-after { display: flex; gap: 24px; margin-bottom: 40px; }
.stat-pending { font-size: 13px; font-style: italic; color: var(--ink-faint); margin-bottom: 24px; }
.proof-stats { display: flex; gap: 20px; margin-bottom: 40px; }
.proof-stat { flex: 1; background: #fff; border-radius: 20px; padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.proof-stat-num { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--gold); line-height: 1; }
.proof-stat-label { font-size: 13px; line-height: 1.5; color: var(--ink-faint); }
.ba-panel { flex: 1; background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ba-panel p { font-size: 15px; line-height: 1.65; color: var(--ink-muted); }
.ba-after { border-left: 3px solid var(--gold); }

/* How it works */
.how-it-works { padding: 96px var(--gutter); background: #fff; }
.step-grid { display: flex; gap: 28px; }
.step { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.step h3 { font-size: 20px; }

/* Individual proof line */
.individual-line {
  padding: 32px var(--gutter);
  background: #F1ECE3;
  display: flex;
  align-items: center;
  gap: 24px;
}
.individual-thumb { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; font-size: 9px; padding: 0; }
.individual-line p { font-size: 16px; color: var(--ink-muted); }

/* Stat band (cited external evidence) */
.stat-line {
  padding: 32px var(--gutter);
  background: #F1ECE3;
  text-align: center;
}
.stat-line p { font-size: 16px; color: var(--ink-muted); margin: 0; }
.stat-source { font-size: 13px; opacity: 0.75; }
.stat-line + .stat-line { border-top: 1px solid var(--line); }

/* Supporting stat line under a section head */
.section-sub { font-size: 15px; color: var(--ink-muted); max-width: 520px; margin: 0; }

/* Closing CTA */
.cta {
  padding: 110px var(--gutter);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.cta h2 { font-size: 38px; max-width: 640px; }
.enquiry-form {
  background: var(--ivory);
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.enquiry-form input,
.enquiry-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.enquiry-form textarea { min-height: 80px; resize: vertical; }

/* Footer */
.site-footer { padding: 48px var(--gutter) 40px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 32px; font-family: var(--font-display); font-size: 14px; color: var(--ink-faint); }
.footer-note { margin-top: 24px; font-family: var(--font-display); font-size: 13px; color: rgba(20,20,19,0.53); }

/* Ken Burns treatment for real photography (replaces .ph placeholders once images land) */
.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes ken-burns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}
.ken-burns {
  animation: ken-burns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ken-burns { animation: none; }
}

/* Responsive */
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .nav-inner { padding: 20px; }
  .nav-links { gap: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.is-open { display: flex; }

  .hero { height: 560px; }
  .hero-content { left: 20px; right: 20px; bottom: 28px; gap: 16px; }
  .hero-content h1 { font-size: 28px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .credibility { flex-direction: column; min-height: 0; }
  .credibility-image { width: 100%; height: 280px; }
  .credibility-copy { padding: 32px 20px 48px; max-width: none; }
  .credibility-copy h2 { font-size: 26px; }

  .gap, .breather { height: 440px; }
  .statement { font-size: 21px; }
  .patterns { padding: 48px 20px; }

  .card-grid, .step-grid, .quote-grid, .pattern-grid, .before-after, .proof-stats { flex-direction: column; }

  .proof-banner { height: 320px; }
  .proof-banner-content { left: 20px; right: 20px; bottom: 24px; }
  .proof-banner-content h2 { font-size: 22px; }
  .proof-body { padding: 32px 20px 48px; }

  .cta h2 { font-size: 28px; }
  .enquiry-form { padding: 24px; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }

  .trust-strip { flex-direction: column; gap: 4px; padding: 20px; }
}
