/* Odd Pixel Out
   Palette: white, charcoal, two greys. Emerald appears only on the odd pixel. */
:root {
  --white: #ffffff;
  --charcoal: #26282b;
  --grey: #50545a;
  --mist: #ececea;
  --line: #dcdcd9;
  --odd: #00a368;
  --go: #008556; /* the accent, deepened so white button text passes contrast */
  --gutter: clamp(20px, 6vw, 96px);
  --space: clamp(96px, 16vw, 220px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }

/* "Skip to content": hidden until someone presses Tab, then a clear button at the top left. */
.skip { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 100;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--charcoal); color: var(--white);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
  transform: translateY(calc(-100% - 40px)); transition: transform .15s ease-out; }
.skip::before { content: ""; width: 8px; height: 8px; background: var(--odd); transform: translateY(-4px); }
.skip:focus, .skip:focus-visible { transform: none; outline: 2px solid var(--white); outline-offset: -5px; }
@media (prefers-reduced-motion: reduce) { .skip { transition: none; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--gutter);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.brand { display: inline-flex; flex-direction: column; gap: .34em; font-size: 20px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
/* Logo: a line of pixels the width of the name, one lifted out of line above the O in "Out". */
.brand .pixels { display: block; width: 0; min-width: 100%; aspect-ratio: 88 / 18; overflow: visible; }
/* Wordmark: the first O is a square whose center has popped out as the odd pixel. */
.wordmark { display: inline-block; font-weight: 700; letter-spacing: -0.02em; line-height: .9; text-transform: uppercase; white-space: nowrap; }
.wordmark .o { display: inline-block; position: relative; box-sizing: border-box; width: .72em; height: .72em; border: .145em solid currentColor; margin-right: .05em; }
.wordmark .o::after { content: ""; position: absolute; width: .43em; height: .43em; background: var(--odd); left: -.63em; top: -.63em; }
/* The O: round outside, square hole. The odd pixel is the piece that came out of it. */
.wordmark .o2 { width: .78em; height: .74em; overflow: visible; vertical-align: -.012em; margin-right: .02em; }
.mark { width: 28px; height: 28px; overflow: visible; }
.mark-grid { fill: #a9abaa; }
.odd-fill { fill: var(--odd); }
nav { display: flex; gap: clamp(16px, 3vw, 40px); }
nav a { color: var(--grey); }
nav a:hover, nav a.phone { color: var(--charcoal); }
.tel { color: var(--charcoal); border-bottom: 1px solid var(--charcoal); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  min-height: calc(100vh - 66px);
  padding: clamp(48px, 8vw, 120px) var(--gutter) clamp(48px, 8vw, 96px);
}
h1 {
  font-size: clamp(46px, 6.4vw, 104px);
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-left: -0.05em;
}
/* The plain statement of what this business is. It must be readable without scrolling. */
.what { max-width: 30ch; margin-top: clamp(24px, 3.2vw, 44px); font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.lede { max-width: 38ch; margin-top: 14px; color: var(--grey); }
.button {
  display: inline-block; margin-top: 32px;
  padding: 14px 22px;
  background: var(--charcoal); color: var(--white);
  border: 0; border-radius: 0; font: inherit; cursor: pointer;
}
.button:hover { background: #000; }

.field {
  display: grid;
  grid-template-columns: repeat(var(--cols, 10), 1fr);
  gap: clamp(4px, .8vw, 10px);
}
.field i {
  display: block; aspect-ratio: 1;
  background: var(--mist);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), background-color .3s;
}
.hero-visual { align-self: center; }
.caption { margin-top: clamp(20px, 2.4vw, 32px); color: var(--grey); }
/* Before the reveal everything is equally forgettable, headline included. */
h1 { transition: color .9s ease; }
.hero.pre h1 { color: #c9cac8; }
.field i.odd {
  background: var(--odd);
  transform: translateY(-62%);
  position: relative; z-index: 1;
}

/* Shared section rhythm */
.statement, .contrast, .services, .packages, .work, .process, .about, .contact {
  padding: var(--space) var(--gutter) 0;
}
h2 {
  font-size: clamp(30px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }

.statement { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); }
.statement h2 { max-width: 14ch; }
.statement-body { display: grid; gap: 1.2em; align-content: end; max-width: 46ch; color: var(--grey); }

/* Before / after */
.contrast h2 { margin-bottom: clamp(40px, 6vw, 80px); }
.contrast-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.contrast-row:last-child { border-bottom: 1px solid var(--line); }
.contrast-row > div { padding: clamp(28px, 4vw, 56px) clamp(0px, 3vw, 48px) clamp(28px, 4vw, 56px) 0; }
.contrast-row p { margin-top: 10px; max-width: 38ch; }
.before { color: var(--grey); }
.before h3 { text-decoration: line-through; text-decoration-thickness: 1px; }
.after { padding-left: clamp(20px, 3vw, 48px) !important; border-left: 1px solid var(--line); }
.px { display: inline-block; width: .5em; height: .5em; background: var(--odd); margin-right: .6em; transform: translateY(-.35em); }

/* Packages */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 104px); }
.section-head p { color: var(--grey); max-width: 40ch; }
.package-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 80px); }
.package { border-top: 1px solid var(--charcoal); padding-top: 24px; }
.package > p { color: var(--grey); margin-top: 10px; min-height: 3.2em; }
.package ul { margin-top: 28px; }
.package li { padding: 11px 0; border-top: 1px solid var(--line); }

/* Services */
.service-list li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px clamp(24px, 6vw, 96px);
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line);
}
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list p { color: var(--grey); max-width: 46ch; }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 64px); }
.steps li { counter-increment: step; border-top: 1px solid var(--charcoal); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; color: var(--grey); margin-bottom: clamp(32px, 5vw, 72px); }
.steps p { color: var(--grey); margin-top: 10px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.portrait { background: var(--mist) center / cover no-repeat; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; }
.about-copy { display: grid; gap: 18px; max-width: 46ch; }
.about-copy h2 { margin-bottom: 12px; }
.placeholder { color: var(--grey); }
.area { color: var(--grey); margin-top: 24px; max-width: 34ch; }

.fineprint { margin-top: clamp(40px, 5vw, 64px); max-width: 64ch; color: var(--grey); }

/* Work */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); }
.work-item.wide { grid-column: 1 / -1; }
.shot { background: var(--mist) center / cover no-repeat; aspect-ratio: 4 / 3; }
.wide .shot { aspect-ratio: 16 / 8; }
figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
figcaption span:last-child { color: var(--grey); }
/* Before and after, side by side: the top of each homepage. */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.ba .shot, .wide .ba .shot { aspect-ratio: 16 / 10; background-position: top center; border: 1px solid var(--line); }
/* Carousel: one before-and-after at a time. Arrows, swipe or trackpad to move between them. */
.ba-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ba-title { font-size: 15px; font-weight: 500; color: var(--charcoal); margin: 0; }
.ba-count { color: var(--grey); font-weight: 400; margin-left: 8px; }
.ba-arrows { display: flex; gap: 8px; }
.ba-arrows button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--charcoal); background: transparent; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, opacity .2s; }
.ba-arrows button:hover:not(:disabled) { background: var(--charcoal); color: var(--white); }
.ba-arrows button:disabled { opacity: .35; cursor: default; }
.ba-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.ba-track::-webkit-scrollbar { display: none; }
.ba-track:focus-visible { outline: 2px solid var(--odd); outline-offset: 4px; }
.ba-slide { scroll-snap-align: start; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .ba-track { scroll-behavior: auto; } }
/* Phone version tucked over the bottom-right corner of the laptop version. */
.ba-frame { position: relative; padding-bottom: 9%; }
.ba-phone { position: absolute; right: 5%; bottom: 0; width: 22%; padding: 4px; background: var(--charcoal); border-radius: 14px; box-shadow: 0 0 0 3px var(--white), 0 14px 32px rgba(0, 0, 0, .24); }
.ba-phone .shot, .wide .ba .ba-phone .shot { aspect-ratio: 375 / 812; border: 0; border-radius: 10px; background-position: top center; }
.ba-label { display: block; padding-top: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.ba-label.ba-after { color: var(--go); }
/* Then and now: one frame. The new site fills it; the old one sits on top, cut off
   at the line, so dragging the line (or pressing Before) reveals it. */
.cmp { --pos: 12%; position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.cmp.solo { cursor: auto; }
.cmp-layer { position: relative; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-before .shot { filter: saturate(.55) brightness(.97); }
.cmp.animate .cmp-before { transition: clip-path .5s cubic-bezier(.3, .7, .3, 1); }
.cmp.animate .cmp-handle::before, .cmp.animate .cmp-handle span { transition: left .5s cubic-bezier(.3, .7, .3, 1); }
.cmp .shot { aspect-ratio: 16 / 10; background-position: top center; border: 1px solid var(--line); }
.cmp .ba-phone .shot { aspect-ratio: 375 / 812; border: 0; border-radius: 10px; }
.cmp-tag { position: absolute; top: 12px; transition: opacity .2s; padding: 5px 9px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--charcoal); pointer-events: none; }
.cmp-after .cmp-tag { right: 12px; color: var(--go); }
.cmp-before .cmp-tag { left: 12px; }
/* The line spans the laptop picture only (same shape as the picture), not the phone below it. */
.cmp-handle { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 10; pointer-events: none; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); margin-left: -1px; width: 2px; background: var(--white); box-shadow: 0 0 0 1px rgba(38, 40, 43, .25); }
.cmp-handle span { position: absolute; top: 50%; left: clamp(22px, var(--pos), calc(100% - 22px)); width: 44px; height: 44px; transform: translate(-50%, -50%); background: var(--white); box-shadow: 0 0 0 1px var(--charcoal), 0 6px 18px rgba(0, 0, 0, .18); }
.cmp-handle span::before, .cmp-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.cmp-handle span::before { left: 7px; border-right-color: var(--charcoal); }
.cmp-handle span::after { right: 7px; border-left-color: var(--charcoal); }
.cmp-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cmp:focus-within .cmp-handle span { outline: 2px solid var(--odd); outline-offset: 3px; }
.cmp-switch { display: flex; align-items: center; gap: 0; margin-top: 14px; }
.cmp-switch button { font: inherit; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; background: transparent; color: var(--grey); border: 0; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.cmp-switch button + button { margin-left: -1px; }
.cmp-switch button[aria-pressed="true"] { background: var(--charcoal); color: var(--white); box-shadow: inset 0 0 0 1px var(--charcoal); }
.cmp-hint { margin-left: 16px; font-size: 13px; color: var(--grey); }
@media (hover: none) { .cmp-hint { display: none; } }
/* Each label shows only once enough of its side is visible to read it. */
.cmp:not(.wide-before) .cmp-before .cmp-tag, .cmp.mostly-before .cmp-after .cmp-tag { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cmp.animate .cmp-before, .cmp.animate .cmp-handle::before, .cmp.animate .cmp-handle span { transition: none; } }
/* No "before": the new site on its own, with a few lines about the project. */
.case-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 20px 0 0; }
.case-notes dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.case-notes dd { margin: 4px 0 0; }
@media (max-width: 700px) { .case-notes { grid-template-columns: 1fr; gap: 14px; } .cmp-tag { top: 8px; font-size: 11px; } .cmp-handle span { width: 34px; height: 34px; } .cmp-handle span::before, .cmp-handle span::after { border-width: 5px; } .cmp-handle span::before { left: 3px; } .cmp-handle span::after { right: 3px; } }
figcaption strong { display: block; font-weight: 500; color: var(--charcoal); }
.case figcaption { align-items: flex-end; }
.case figcaption span:first-child { max-width: 36em; }
.case figcaption span:last-child { white-space: nowrap; }
@media (max-width: 700px) { .case figcaption { align-items: flex-start; } }

/* Client quote under the work. The small green square is the odd pixel. */
.testimonial { margin: clamp(56px, 8vw, 112px) 0 0; max-width: 34em; }
.testimonial p { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -0.01em; color: var(--charcoal); }
.testimonial p::before { content: ""; display: block; width: 14px; height: 14px; background: var(--odd); margin-bottom: 24px; }
.testimonial footer { margin-top: 20px; color: var(--grey); }
.testimonial footer strong { color: var(--charcoal); font-weight: 500; }
.optional { color: var(--grey); margin-left: 6px; }
.contact textarea { resize: vertical; min-height: 96px; }
figcaption a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .ba { grid-template-columns: 1fr; } .ba .shot, .wide .ba .shot { aspect-ratio: 16 / 10; } figcaption { flex-direction: column; gap: 4px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-bottom: var(--space); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(20px, 3vw, 40px); align-content: start; }
label { display: grid; gap: 6px; color: var(--grey); }
label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%; padding: 10px 0;
  font: inherit; color: var(--charcoal);
  background: transparent; border: 0; border-bottom: 1px solid var(--charcoal); border-radius: 0;
  resize: vertical;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-bottom-width: 2px; padding-bottom: 9px; }
form .button { justify-self: start; margin-top: 4px; }
/* "What would you like help with?" checkboxes on the contact form */
.goals { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px clamp(20px, 3vw, 40px); min-width: 0; }
.goals legend { grid-column: 1 / -1; }
@media (max-width: 700px) { .goals { grid-template-columns: 1fr; } }
.goals legend { color: var(--grey); padding: 0; margin-bottom: 8px; }
.goals label.check { display: flex; align-items: flex-start; gap: 12px; color: var(--charcoal); cursor: pointer; }
.goals input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 2px 0 0; padding: 0; border: 0; accent-color: var(--go); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--grey);
}
.site-footer a:hover { color: var(--charcoal); }

@media (max-width: 820px) {
  .hero, .statement, .section-head, .contact, .about, .service-list li { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; align-items: start; }
  .package-list { grid-template-columns: 1fr; }
  .package > p { min-height: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .wide .shot { aspect-ratio: 4 / 3; }
  nav a:not(.keep) { display: none; }
}
@media (max-width: 560px) {
  nav a.keep:not(.phone) { display: none; }
  .contrast-row { grid-template-columns: 1fr; }
  .contrast-row > .before, .contrast-row > .here { padding-bottom: 0; }
  .after { border-left: 0; padding-left: 0 !important; }
  form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field i, h1, .listing li { transition: none; }
}

/* Option 2 mockup: search listings */
.listing { list-style: none; margin: 0; padding: 0; }
.search { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--grey); margin-bottom: 12px; }
.search::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--grey); border-radius: 50%; }
.listing li { display: grid; gap: 2px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: #b4b6b5; transition: transform .6s cubic-bezier(.2,.8,.2,1), color .6s, background-color .6s; }
.listing li strong { font-weight: 400; font-size: 17px; }
.listing li .dot { display: none; }
.hero:not(.pre) .listing li.odd { color: var(--charcoal); background: var(--white); transform: translateX(clamp(-36px, -3vw, -14px)); box-shadow: 0 0 0 1px var(--charcoal); border-bottom-color: transparent; }
.hero:not(.pre) .listing li.odd strong { font-weight: 500; font-size: 21px; letter-spacing: -0.02em; }
.hero:not(.pre) .listing li.odd .dot { display: inline-block; width: .45em; height: .45em; background: var(--odd); margin-right: .55em; transform: translateY(-.3em); }

/* Logo animation: on load the odd pixel starts in line, pops out and settles. Plays once. */
.brand .odd-fill { transform-box: fill-box; animation: pixel-pop 1.5s cubic-bezier(.3,.7,.3,1) .9s backwards; }
@keyframes pixel-pop {
  0%, 15% { transform: translateY(75%); }
  50% { transform: translateY(-95%); }
  72% { transform: translateY(12%); }
  88% { transform: translateY(-5%); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .brand .odd-fill { animation: none; } }

/* Hero: a list of names in plain type, one in bold. */
.names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px) clamp(16px, 2.4vw, 40px); font-size: clamp(15px, 1.45vw, 21px); letter-spacing: -0.015em; color: #bfc1bf; }
.names span { white-space: nowrap; cursor: default; transition: color .35s; }
.names span.bold { color: var(--charcoal); font-weight: 700; }
.names span.yours.bold::after { content: ""; display: inline-block; width: .26em; height: .26em; background: var(--odd); margin-left: .12em; }
@media (max-width: 820px) { .names { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .names span { transition: none; } }

/* Primary call to action: the one green thing to press on the page. */
.hero .button, .contact .button { background: var(--go); font-weight: 500; }
.hero .button:hover, .contact .button:hover { background: #006b45; }
/* The same offer in the header, as a quiet outlined button. */
nav a.keep:not(.phone) { color: var(--charcoal); padding: 8px 14px; box-shadow: inset 0 0 0 1px var(--charcoal); }
nav a.keep:not(.phone):hover { background: var(--charcoal); color: var(--white); }
nav { align-items: center; }

/* Review pass 2 ------------------------------------------------------------ */
/* "Before" states: the problem has to be readable before the eye moves right. */
.here { color: var(--grey); }
.here h3 { color: var(--charcoal); }
.before { color: var(--grey); }
.before h3 { color: var(--charcoal); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--charcoal); }

/* Services: title and description sit closer, and the row lights up as one unit. */
.service-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px clamp(20px, 3vw, 44px); padding-inline: 16px; margin-inline: -16px; transition: background-color .2s; }
.service-list li:hover { background: #f4f4f2; }
.service-list p { color: var(--charcoal); max-width: 58ch; }

/* Packages: a price and a way to choose. */
.package { display: flex; flex-direction: column; }
.package ul { margin-bottom: 28px; }
.price { margin-top: auto; padding-top: 4px; color: var(--grey); }
.price strong { display: block; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--charcoal); }
.button.quiet { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); text-align: center; }
.button.quiet:hover { background: var(--charcoal); color: var(--white); }
.package .button { margin-top: 20px; }
.fineprint { color: var(--charcoal); border-left: 2px solid var(--charcoal); padding-left: 20px; }
.fineprint strong { font-weight: 700; }
.chosen { color: var(--charcoal); margin: 0; }
.contact .button.quiet { background: transparent; }
@media (max-width: 820px) { .service-list li { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .service-list li { transition: none; } }

/* ---- Contact form: sending, errors and the thank-you ---- */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { grid-column: 1 / -1; color: #b3261e; margin: 0; }
.contact form[aria-busy="true"] .button { opacity: .6; cursor: progress; }
.thanks { align-self: center; max-width: 34em; outline: none; }
.thanks[hidden] { display: none; }
.thanks-mark { display: block; width: 176px; height: auto; overflow: visible; fill: var(--charcoal); margin-bottom: 36px; }
.thanks-mark rect { transform-box: fill-box; transform-origin: 50% 100%; }
.thanks-title { font-size: clamp(32px, 4vw, 52px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 18px; }
.thanks p { color: var(--grey); margin-top: 10px; }
.thanks .thanks-small { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--odd); color: var(--charcoal); }
/* The animation: the pixels drop in one by one, the odd one hops up, spins and
   lands out of line, the same lift as the logo. Then the words fade in. */
.thanks.play .thanks-mark rect { animation: px-drop .45s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.thanks.play .thanks-mark rect:nth-child(1) { animation-delay: .05s; }
.thanks.play .thanks-mark rect:nth-child(2) { animation-delay: .12s; }
.thanks.play .thanks-mark rect:nth-child(3) { animation-delay: .19s; }
.thanks.play .thanks-mark rect:nth-child(4) { animation-delay: .26s; }
.thanks.play .thanks-mark rect:nth-child(5) { animation-delay: .33s; }
.thanks.play .thanks-mark rect:nth-child(7) { animation-delay: .47s; }
.thanks.play .thanks-mark .odd-fill { transform-origin: 50% 50%; animation: px-drop .45s cubic-bezier(.3, 1.4, .5, 1) .4s backwards, px-hop 1.4s cubic-bezier(.3, .7, .3, 1) 1s forwards; }
.thanks.play .thanks-title, .thanks.play p { animation: thanks-in .6s ease 1.5s backwards; }
.thanks.play p { animation-delay: 1.7s; }
.thanks.play .thanks-small { animation-delay: 1.9s; }
@keyframes px-drop { 0% { transform: translateY(-260%); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes px-hop {
  0% { transform: none; }
  30% { transform: translateY(-190%) rotate(180deg); }
  55% { transform: translateY(-60%) rotate(360deg) scale(1.15); }
  72% { transform: translateY(-88%) rotate(360deg) scale(.95); }
  86% { transform: translateY(-70%) rotate(360deg); }
  100% { transform: translateY(-75%) rotate(360deg); }
}
@keyframes thanks-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .thanks.play .thanks-mark rect, .thanks.play .thanks-title, .thanks.play p { animation: none; }
  .thanks.play .thanks-mark .odd-fill { animation: none; transform: translateY(-75%); }
}
.contact form[hidden] { display: none; }

/* Turnstile (Managed mode): a small "Verifying… Success" box above the button. Takes no space until it appears. */
.cf-turnstile { grid-column: 1 / -1; min-height: 0; }
.cf-turnstile:empty { display: none; }

/* ==== Search and service pages ==== */
/* Main heading: what and where, small above the line people remember. */
.h1-kicker { display: block; margin-bottom: .5em; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--grey); }
.hero.pre .h1-kicker { color: #c9cac8; }
.service-list h3 a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.service-list h3 a:hover { border-color: var(--charcoal); }

/* Screenshots as real images. */
img.shot { display: block; width: 100%; height: auto; object-fit: cover; object-position: top center; background: var(--mist); }

/* Service pages */
.page-hero { padding: clamp(40px, 6vw, 96px) var(--gutter) 0; max-width: 1180px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 76px); max-width: 18ch; }
nav.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 14px; color: var(--grey); }
nav.crumbs a { border-bottom: 1px solid var(--line); }
nav.crumbs a:hover { color: var(--charcoal); border-color: var(--charcoal); }
.eyebrow { margin-bottom: 18px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.eyebrow::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .6em; background: var(--odd); }
.page-intro { display: grid; gap: 1em; max-width: 62ch; margin-top: clamp(24px, 3vw, 40px); font-size: clamp(17px, 1.3vw, 19px); color: var(--grey); }
.page-intro p:first-child { color: var(--charcoal); }
.page-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.page-section > h2 { font-size: clamp(28px, 3.4vw, 48px); max-width: 14ch; }
.page-section-body { display: grid; gap: 1.1em; align-content: start; color: var(--grey); max-width: 60ch; }
.page-section-body a, .faq-list a, .page-intro a { color: var(--charcoal); border-bottom: 1px solid var(--charcoal); }
.service-list.included li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; margin-inline: 0; }
.service-list.included li:hover { background: none; }
.service-list.included p { color: var(--grey); }
.service-list.included h3 { color: var(--charcoal); }
.process-short, .faq { grid-template-columns: 1fr; }
.process-short .steps { margin-top: clamp(16px, 3vw, 40px); }
.case-slider { grid-template-columns: 1fr; }
/* FAQ: questions open in place. */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--grey); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
.faq-list details p { max-width: 64ch; padding: 0 0 24px; color: var(--grey); }
.home-faq { padding: var(--space) var(--gutter) 0; }
.home-faq .section-head { margin-bottom: clamp(24px, 4vw, 48px); }
/* Call to action at the end of each page. */
.cta-band { margin: clamp(80px, 12vw, 160px) var(--gutter) 0; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); border-top: 1px solid var(--charcoal); }
.cta-band h2 { max-width: 16ch; }
.cta-band > p:first-of-type { margin-top: 16px; color: var(--grey); }
.cta-band .button { background: var(--go); }
.cta-band .button:hover { background: #006b45; }
.cta-band .area { max-width: 52ch; }
/* Work teaser on service pages. */
.teaser { display: grid; gap: 14px; }
.teaser img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; border: 1px solid var(--line); }
.teaser span { color: var(--grey); }
.teaser strong { display: block; color: var(--charcoal); font-weight: 500; }
.page-section-body .teaser { border: 0; }

/* Footer with links to every page. */
.site-footer { align-items: flex-start; padding-top: 40px; padding-bottom: 40px; }
.foot-brand { display: grid; gap: 4px; }
.foot-brand strong { color: var(--charcoal); font-weight: 500; }
.foot-address { font-style: normal; margin-top: 6px; line-height: 1.5; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.site-footer .copyright { flex-basis: 100%; align-self: stretch; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

@media (max-width: 820px) {
  .page-section { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 24px; }
  .site-footer nav.foot-links a { display: block; }
  nav.crumbs a { display: inline; }
}

/* Hidden game in the hero grid: catch the odd pixel five times. */
.field i { cursor: pointer; }
.field.won i { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), background-color .4s; opacity: 0; transform: scale(.4); }
.field.won i.keep { opacity: 1; transform: none; background: var(--charcoal); }
.field.won i.keep.odd { background: var(--odd); transform: translateY(-62%); }
.caption.won-note { color: var(--charcoal); max-width: 46ch; }
.caption.won-note strong { font-weight: 500; }
.caption.won-note a { border-bottom: 1px solid var(--charcoal); white-space: nowrap; }
.egg-note { margin: 0; color: var(--charcoal); }
.egg-note[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .field.won i { transition: none; } }

/* ==== Accessibility ==== */
/* Text for screen readers only. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Form fields: the same clear focus outline as every other control. */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
/* Breadcrumb links: a comfortable tap size. */
nav.crumbs a { display: inline-block; padding: 4px 0; }
/* Button outlines strong enough to see against white (3:1). */
.cmp-switch button { box-shadow: inset 0 0 0 1px #8f9399; }
.cmp-switch button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--charcoal); }
.ba-arrows button { box-shadow: inset 0 0 0 1px #8f9399; }

/* Dropdowns drawn by the site: same underline as the other fields, list in the page's own style. */
.dd { position: relative; }
.dd-box { display: block; width: 100%; padding: 10px 28px 10px 0; color: var(--charcoal); border-bottom: 1px solid var(--charcoal); cursor: pointer; user-select: none; position: relative; text-align: left; }
.dd-box.dd-empty { color: var(--grey); }
.dd-box::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--charcoal); border-bottom: 1.5px solid var(--charcoal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.dd.open .dd-box::after { transform: translateY(-30%) rotate(-135deg); }
.dd-box:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
.dd-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px 0; list-style: none; background: var(--white); border: 1px solid var(--charcoal); box-shadow: 0 12px 28px rgba(0, 0, 0, .12); max-height: 320px; overflow-y: auto; }
.dd-list[hidden] { display: none; }
.dd-list li { display: flex; align-items: center; gap: 10px; padding: 11px 16px; color: var(--charcoal); cursor: pointer; }
.dd-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: transparent; }
.dd-list li[aria-selected="true"]::before { background: var(--odd); }
.dd-list li.dd-active { background: var(--mist); }
.dd-list li.dd-none { color: var(--grey); }
@media (prefers-reduced-motion: reduce) { .dd-box::after { transition: none; } }

/* Anything marked hidden stays hidden, whatever other styles say. */
[hidden] { display: none !important; }

/* Positioning update: hero buttons, section notes, three-step process, audience cards, beliefs */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--grey); font-size: 15px; margin-top: 14px; }
.statement-note { color: var(--charcoal); border-left: 2px solid var(--odd); padding-left: 16px; }
.section-foot { color: var(--grey); max-width: 60ch; margin-top: 28px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.who-cards .might { color: var(--charcoal); font-size: 15px; margin-top: 12px; max-width: 46ch; }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.beliefs li { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--charcoal); padding-left: 28px; position: relative; }
.beliefs li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--odd); }
@media (max-width: 820px) { .steps.three { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(42px, 5vw, 80px); }

/* Homepage: the gaps, the operator line, and where work usually starts */
.statement .gap { color: var(--charcoal); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; }
.statement.why { padding-top: clamp(48px, 7vw, 96px); }
.starts { color: var(--grey); margin-top: 28px; max-width: 70ch; }
.starts a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; }

/* Value, Brand, Systems, Talent: four stages in order, with arrows between them */
.stages { list-style: none; margin: 0; padding: 0; counter-reset: stage; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.stages li { counter-increment: stage; position: relative; border-top: 1px solid var(--charcoal); padding-top: 18px; }
.stages li::before { content: counter(stage); display: block; color: var(--grey); margin-bottom: clamp(20px, 3vw, 40px); }
.stages li:not(:last-child)::after { content: "\2192"; position: absolute; top: 4px; right: calc(-1 * clamp(20px, 3vw, 44px) / 2 - .4em); color: var(--odd); font-size: 20px; line-height: 1; }
.stages h3 a { color: inherit; }
.stages p { color: var(--grey); margin-top: 10px; }
.loop { margin-top: clamp(28px, 4vw, 48px); max-width: 64ch; color: var(--charcoal); }
.loop span { color: var(--odd); font-size: 1.2em; margin-right: 6px; }
@media (max-width: 820px) {
  .stages { grid-template-columns: 1fr; gap: 28px; }
  .stages li:not(:last-child)::after { content: "\2193"; top: auto; bottom: -26px; right: auto; left: 0; }
}
/* Main menu: the same on every page. Keep each link on one line; drop "Who we work with" on mid-size screens before it wraps. */
.site-header nav a { white-space: nowrap; }
@media (max-width: 1000px) { .site-header nav { gap: 20px; } .site-header nav a[href="/#who"] { display: none; } }

/* Footer: three short columns, small links on the bottom line */
.foot-head { color: var(--charcoal); font-weight: 500; margin-bottom: 4px; }
.site-footer .copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0; }
.foot-small { display: flex; gap: 20px; }
.page-intro .tie { color: var(--charcoal); }

/* What we do: three offers with what you get, and how long */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.offer { border-top: 1px solid var(--charcoal); padding-top: 20px; display: flex; flex-direction: column; }
.offer-tag { margin: 0 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--odd); font-weight: 600; }
.offer h3 a { color: inherit; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.offer h3 a:hover { border-color: var(--charcoal); }
.offer-what { color: var(--charcoal); margin-top: 10px; }
.offer-head { margin-top: 22px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.offer ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 20px; color: var(--grey); line-height: 1.45; }
.offer li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--odd); }
.offer-time { margin-top: auto; padding-top: 22px; color: var(--charcoal); font-size: 15px; }
.offers-section .section-foot a, .note-box a { color: var(--charcoal); border-bottom: 1px solid var(--charcoal); }
.order { padding-top: clamp(48px, 7vw, 96px); }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; gap: 40px; } }

/* Service pages: the details, and a note on who systems work is for */
.facts { margin: 0; display: grid; gap: 0; }
.facts > div { padding: 18px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--charcoal); font-weight: 500; }
.facts dd { margin: 6px 0 0; color: var(--grey); }
.note-box { border-left: 2px solid var(--odd); padding-left: 16px; color: var(--charcoal); }
.offer { position: relative; }
.offer-tag { position: absolute; top: -9px; right: 0; margin: 0; padding-left: 10px; background: var(--white); font-size: 12px; line-height: 1.4; }

/* Four offers: two by two */
.offers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(40px, 5vw, 72px); }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } }
.offer h3 .offer-tag { position: static; display: inline-block; vertical-align: 3px; margin: 0 0 0 10px; padding: 3px 8px; background: rgba(0, 163, 104, .10); color: var(--odd); font-size: 11px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
