:root {
  /* color */
  --bg: #FAF9F7;
  --text: #1A1A1A;
  --muted: #5C5A57;
  --accent: #C2410C;
  --accent-dark: #9A330A;
  --rule: #E5E2DD;

  /* spacing */
  --section-gap: 96px;
  --wrap: 720px;
  --pad: 24px;

  /* type */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.25em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.muted { color: var(--muted); }
.center { text-align: center; }
.accent { color: var(--accent); }

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34em;
}

/* ---------- header ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  padding: 12px 16px;
  z-index: 20;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 6px;
  transition: background 120ms ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }

.btn-sm { padding: 9px 16px; font-size: 0.9375rem; }

.quiet-link {
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.quiet-link:hover { color: var(--text); border-color: var(--muted); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- sections ---------- */

section { padding: var(--section-gap) 0; }
section + section { border-top: 1px solid var(--rule); }

.hero { padding-top: 88px; padding-bottom: var(--section-gap); }

.brake { padding: 128px 0; border-top: 1px solid var(--rule); }

.display {
  font-size: 2.75rem;
  line-height: 1.12;
  text-align: center;
  margin-bottom: 32px;
}

.brake .muted { max-width: 30em; margin: 0 auto; }

/* ---------- lists ---------- */

.items, .steps { margin: 40px 0; padding: 0; }
.items { list-style: none; }

.items li {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.items li:last-child { border-bottom: 1px solid var(--rule); }

.steps {
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 32px 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
  width: 34px;
  height: 34px;
  line-height: 32px;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.steps li:last-child { padding-bottom: 0; }

.items p, .steps p { color: var(--muted); margin: 0; }

/* ---------- images ---------- */

figure { margin: 32px 0; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* The Job Checker frame. Holds either a still or a looping video, identically,
   so the asset can be swapped without touching the layout. Graceful if the file
   is missing: the box still reads as an intentional frame. */
.shot img,
.shot video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

/* The video is click-to-play (native controls, no autoplay), so the poster is
   what most visitors see. Give it a touch more presence than a still. */
.shot video { cursor: pointer; }

.shot figcaption {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Video captions: white text with a thin black outline and no box. The demo ends on a
   light brand card where plain white text would vanish, so the outline earns its keep.
   text-shadow is the only cross-browser way to outline ::cue text; eight 1px offsets make
   the border, the last soft shadow adds safety over light frames. */
::cue {
  color: #fff;
  background: transparent;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  text-shadow:
    -1px -1px 0 #000,  1px -1px 0 #000,
    -1px  1px 0 #000,  1px  1px 0 #000,
     0   -1px 0 #000,  0    1px 0 #000,
    -1px  0   0 #000,  1px  0   0 #000,
     0 0 3px rgba(0, 0, 0, 0.55);
}

/* Square cutout whose background is flattened to match --bg, so it sits
   directly on the page with no frame. The mask dissolves the hard bottom
   crop of the torso into the background. */
.portrait { margin: 24px 0 8px; }

.portrait img {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 98%);
}

/* ---------- pricing ---------- */

.price {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 0.35em;
}

.price-secondary {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 1.0625rem;
  color: var(--muted);
}

/* ---------- calendly ---------- */

.calendly-inline-widget {
  margin: 32px 0 24px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0 64px;
}
.site-footer .wordmark { display: block; margin: 0 0 6px; }
.site-footer p { font-size: 1rem; }

/* ---------- motion ---------- */

/* only hidden when JS is present to reveal them again */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- mobile ---------- */

@media (max-width: 640px) {
  :root { --section-gap: 64px; --pad: 20px; }

  body { font-size: 17px; }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .display { font-size: 1.9rem; }
  .price { font-size: 1.5rem; }
  .lede { font-size: 1.0625rem; }

  .brake { padding: 80px 0; }
  .hero { padding-top: 56px; }

  .wordmark { font-size: 1.1rem; }
  .btn { width: auto; }
  .actions { gap: 14px; flex-direction: column; align-items: flex-start; }
  .actions .btn { width: 100%; text-align: center; }
}
