:root {
  --ink: #12100c;
  --paper: #f4ead9;
  --paper-2: #fff8e9;
  --oxide: #a74427;
  --rust: #d56435;
  --green: #1f5b4a;
  --charcoal: #191918;
  --muted: #655f55;
  --line: rgba(18, 16, 12, 0.16);
  --shadow: 0 24px 70px rgba(35, 24, 12, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(213, 100, 53, 0.25), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(31, 91, 74, 0.18), transparent 32rem),
    linear-gradient(135deg, #f8f0df 0%, #efe0c5 100%);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.55;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(18,16,12,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(18,16,12,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 70%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.hero, main, footer { position: relative; z-index: 1; }
.hero { padding: 26px clamp(20px, 5vw, 72px) 70px; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}
.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--rust);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.nav-links { display: flex; gap: 20px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 14px; }
.nav-links a { text-decoration: none; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-color: var(--ink); }

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 390px;
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}
.eyebrow, .tiny-label, .project-kicker {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--oxide);
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(48px, 8vw, 104px);
  line-height: .88;
  max-width: 950px;
  letter-spacing: -.07em;
  margin-bottom: 24px;
}
.lead {
  font-size: clamp(18px, 2vw, 24px);
  color: #3a332a;
  max-width: 820px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--rust); }
.btn.ghost { background: rgba(255,255,255,.25); }
.btn.light { color: var(--paper-2); border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.12); }
.btn[disabled], .btn:disabled { opacity: .62; cursor: wait; }

.signal-card {
  background: var(--charcoal);
  color: var(--paper-2);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.status-pill {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(244,234,217,.25);
  border-radius: 999px;
  color: #ffd59b;
  font: 800 12px ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 24px;
}
dt { color: #eeb17f; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; text-transform: uppercase; }
dd { margin: 5px 0 18px; font-family: ui-sans-serif, system-ui, sans-serif; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px clamp(20px, 5vw, 36px);
}
.intro-strip {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 40px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.intro-strip h2, .section-heading h2 { font-size: clamp(34px, 5vw, 64px); line-height: .95; letter-spacing: -.05em; margin-bottom: 16px; }
.intro-strip p, .section-heading p { font-family: ui-sans-serif, system-ui, sans-serif; color: var(--muted); font-size: 18px; }
.section-heading { max-width: 830px; margin-bottom: 34px; }

.rescue-section {
  margin-top: 70px;
  border: 2px solid var(--ink);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 8%, rgba(31,91,74,.24), transparent 28rem),
    linear-gradient(145deg, rgba(255,248,233,.92), rgba(239,224,197,.84));
  box-shadow: 12px 14px 0 rgba(18,16,12,.92);
}
.rescue-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}
.rescue-heading h2 { font-size: clamp(46px, 7vw, 88px); line-height: .86; letter-spacing: -.065em; margin: 10px 0 18px; }
.rescue-lead { max-width: 780px; margin: 0; color: #3a332a; font: 700 clamp(18px, 2vw, 24px)/1.4 ui-sans-serif, system-ui, sans-serif; }
.rescue-badge {
  flex: 0 0 auto;
  width: 134px;
  height: 134px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper-2);
  transform: rotate(4deg);
  box-shadow: 7px 7px 0 var(--rust);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.rescue-badge strong { font-size: 28px; line-height: 1; }
.rescue-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.rescue-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 24px; }
.rescue-media { min-height: 390px; border-radius: 26px; overflow: hidden; background: #111817; }
.rescue-media img { max-height: none; width: 100%; }
.rescue-details { display: grid; align-content: start; gap: 18px; }
.rescue-includes { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.34); }
.rescue-includes h3 { margin-bottom: 8px; font-size: 28px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.price-card { padding: 17px 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.38); font-family: ui-sans-serif, system-ui, sans-serif; }
.price-card.featured { background: var(--charcoal); color: var(--paper-2); transform: translateY(-4px); }
.price-card span { display: block; color: var(--oxide); font: 800 10px ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.price-card.featured span { color: #ffd59b; }
.price-card strong { display: block; margin: 6px 0 2px; font-size: 30px; line-height: 1; }
.price-card p { margin: 0; font-size: 12px; color: var(--muted); }
.price-card.featured p { color: rgba(255,248,233,.7); }
.scope-note, .sample-note { color: var(--muted); font: 600 13px/1.55 ui-sans-serif, system-ui, sans-serif; }
.scope-note { margin: 0; }
.sample-note { margin: 24px 0 0; text-align: center; }
.sample-note code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.rescue-ctas { margin-top: 0; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  background: rgba(255, 248, 233, .78);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1fr; align-items: stretch; }
.dark-card { background: var(--charcoal); color: var(--paper); }
.zdd-card {
  background:
    radial-gradient(circle at 18% 18%, rgba(69, 244, 210, .18), transparent 32rem),
    radial-gradient(circle at 88% 20%, rgba(213, 100, 53, .22), transparent 24rem),
    linear-gradient(135deg, #07100f 0%, #151313 55%, #24130c 100%);
  color: var(--paper);
  border-color: rgba(69, 244, 210, .22);
}
.zdd-card .project-kicker { color: #74f4df; }
.zdd-card .project-body p,
.zdd-card .proof-list { color: rgba(244,234,217,.76); }
.zdd-card strong { color: #ffe1a8; }
.zdd-media {
  background:
    linear-gradient(135deg, rgba(116,244,223,.14), rgba(0,0,0,.2)),
    #06100f;
  gap: 14px;
  align-content: center;
}
.zdd-media img { border: 1px solid rgba(116,244,223,.25); }
.zdd-secondary-shot { max-height: 150px; opacity: .92; }
.project-body { padding: 28px; }
.project-body h3 { font-size: clamp(26px, 3vw, 42px); line-height: 1; letter-spacing: -.04em; margin: 10px 0 14px; }
.project-body p, .proof-list { font-family: ui-sans-serif, system-ui, sans-serif; color: var(--muted); }
.dark-card .project-body p, .dark-card .proof-list { color: rgba(244,234,217,.72); }
.proof-list { padding-left: 20px; margin-bottom: 0; }
.proof-list li { margin: 8px 0; }
.image-frame {
  min-height: 280px;
  background: #201d19;
  display: grid;
  place-items: center;
  padding: 18px;
}
.image-frame img {
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  max-height: 380px;
  object-fit: contain;
}
.image-frame img[data-lightbox-src] {
  cursor: zoom-in;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.image-frame img[data-lightbox-src]:hover,
.image-frame img[data-lightbox-src]:focus {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.08) contrast(1.03);
  box-shadow: 0 22px 62px rgba(0,0,0,.32);
  outline: 2px solid rgba(255, 213, 155, .78);
  outline-offset: 4px;
}
.image-frame::after {
  content: 'click to enlarge';
  align-self: end;
  justify-self: end;
  margin-top: -38px;
  margin-right: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(18,16,12,.68);
  color: var(--paper-2);
  font: 800 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: .82;
}
.image-frame.compact { min-height: 220px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 7, 7, .86);
  backdrop-filter: blur(10px);
}
.lightbox.open { display: grid; }
.lightbox-panel {
  width: min(1500px, 96vw);
  max-height: 92vh;
  display: grid;
  gap: 12px;
}
.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40vh;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(116,244,223,.14), transparent 42rem),
    rgba(8, 12, 12, .82);
  box-shadow: 0 34px 110px rgba(0,0,0,.52);
  overflow: hidden;
}
.lightbox-frame img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}
.lightbox-caption {
  margin: 0;
  color: rgba(255,248,233,.86);
  font: 700 14px/1.45 ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,248,233,.12);
  color: var(--paper-2);
  cursor: pointer;
  font: 900 26px/1 ui-sans-serif, system-ui, sans-serif;
}
.lightbox-close:hover,
.lightbox-close:focus { background: rgba(255,248,233,.22); outline: 2px solid #ffd59b; outline-offset: 3px; }
body.lightbox-lock { overflow: hidden; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service {
  min-height: 250px;
  background: rgba(255,255,255,.32);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.service span { font: 800 13px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--oxide); }
.service h3 { margin: 46px 0 12px; font-size: 25px; line-height: 1.05; }
.service p, .timeline, .contact p, footer { font-family: ui-sans-serif, system-ui, sans-serif; color: var(--muted); }

.process { display: grid; grid-template-columns: .8fr 1fr; gap: 40px; }
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.timeline li {
  counter-increment: step;
  position: relative;
  padding: 22px 0 22px 70px;
  border-bottom: 1px solid var(--line);
}
.timeline li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font: 900 28px ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--rust);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 520px);
  gap: 30px;
  align-items: start;
  background: var(--green);
  color: var(--paper-2);
  border-radius: 36px;
  margin-bottom: 70px;
}
.contact p { color: rgba(255,248,233,.78); }
.contact-ctas { margin-top: 24px; }
.contact-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  padding: 24px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.form-note,
.contact-form .full,
.contact-form button,
.form-status { grid-column: 1 / -1; }
.contact-form .field { display: grid; gap: 7px; min-width: 0; }
.contact-form label { color: rgba(255,248,233,.86); font: 800 13px/1.2 ui-sans-serif, system-ui, sans-serif; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  appearance: auto;
  -webkit-appearance: auto;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(8, 22, 17, .42);
  color: var(--paper-2);
  padding: 12px 13px;
  font: 600 15px ui-sans-serif, system-ui, sans-serif;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,248,233,.46); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: #ffd59b; box-shadow: 0 0 0 3px rgba(255,213,155,.18); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .hidden-field { display: none !important; }
.form-status { min-height: 22px; margin: 0; font-weight: 800; }
.form-status.success { color: #ffe1a8; }
.form-status.error { color: #ffc6b8; }
footer { text-align: center; padding: 30px 20px 50px; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero-grid, .intro-strip, .project-card.wide, .process, .contact { grid-template-columns: 1fr; }
  .project-grid, .service-grid, .contact-form { grid-template-columns: 1fr; }
  .contact { border-radius: 28px; padding-left: 18px; padding-right: 18px; }
  .contact-card { padding: 20px; border-radius: 22px; }
  .contact-form .field,
  .contact-form .full,
  .contact-form button,
  .form-status { grid-column: 1 / -1; }
  .contact-form label { display: block; margin-bottom: 7px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }
  .contact-ctas .btn { width: 100%; }
  .signal-card { transform: none; }
  h1 { font-size: clamp(46px, 16vw, 76px); }
  .image-frame::after { font-size: 9px; margin-top: -34px; }
  .lightbox { padding: 12px; }
  .lightbox-frame { border-radius: 18px; }
  .lightbox-close { width: 42px; height: 42px; }
  .rescue-section { margin: 36px 14px 0; border-radius: 28px; box-shadow: 7px 8px 0 rgba(18,16,12,.92); }
  .rescue-heading { align-items: start; }
  .rescue-badge { width: 94px; height: 94px; }
  .rescue-badge strong { font-size: 20px; }
  .rescue-layout { grid-template-columns: 1fr; }
  .rescue-media { min-height: 230px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
