/* Onsite AI Works — single stylesheet
   No web fonts. No frameworks. No JS dependency.
   System font stack renders instantly = LCP is essentially free. */

:root {
  --ink: #16130f;
  --ink-soft: #55504a;
  --paper: #faf8f5;
  --paper-2: #f2eee8;
  --line: #ddd6cb;
  --accent: #d2481a;
  --accent-dark: #a83812;
  --accent-tint: #fdf0eb;
  --good: #1d6b3f;
  --max: 68rem;
  --measure: 38rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
}

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

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.021em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 6.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-top: 0; }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }

p, ul, ol { margin: 0 0 1.15em; }

a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

strong { font-weight: 700; }

.lede {
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.small { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- layout ---------- */

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

.narrow { max-width: 46rem; }

section { padding: 3.5rem 0; }

@media (min-width: 48rem) {
  section { padding: 5rem 0; }
}

.band { background: var(--paper-2); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.band-ink a { color: #ffb896; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

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

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

/* Sticky only on desktop. On phones the nav takes a second row, and a ~170px
   sticky header would eat a fifth of the viewport — the fixed .callbar already
   keeps Call and Book reachable down there. */
@media (min-width: 60rem) {
  .site-head { position: sticky; top: 0; z-index: 50; }
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* wraps so the nav can drop to its own row on phones */
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand span { color: var(--accent); }
/* explicit box so the mark reserves its space before the SVG paints */
.brand img {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 6px;
}

.head-actions { display: flex; align-items: center; gap: 0.6rem; }

/* Mobile: the nav wraps onto its own full-width row under the brand.
   Four links fit comfortably, so there is nothing to tap open — which beats a
   hamburger here and keeps the site free of JavaScript. */
.nav {
  display: flex;
  order: 3;
  width: 100%;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin-top: 0.1rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  /* ~44px tap target; the header is static on mobile so the extra height
     scrolls away rather than costing viewport */
  padding: 0.64rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }

@media (min-width: 60rem) {
  .nav {
    order: 0;
    width: auto;
    gap: 1.4rem;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .nav a { font-size: 0.97rem; padding: 0; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn-sm { min-height: 2.5rem; padding: 0.4rem 0.9rem; font-size: 0.94rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

/* ---------- hero ---------- */

.hero { padding: 3rem 0 3.25rem; }

@media (min-width: 60rem) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
  /* hero running without a photo — hold the text to a readable measure
     instead of letting it stretch across the empty column */
  .hero-grid.solo { grid-template-columns: minmax(0, 52rem); }
}

.hero h1 { margin-bottom: 0.45em; }

.hero-photo {
  margin-top: 2.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
@media (min-width: 60rem) { .hero-photo { margin-top: 0; } }

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- proof strip ---------- */

.proof {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 40rem) {
  .proof { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.proof .n {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--accent-dark);
}
.proof .l { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- cards ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 44rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
.band .card { background: #fff; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card-accent { border-color: var(--accent); border-width: 2px; }

/* ---------- price cards ---------- */

.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0.35rem 0 0.15rem; }
.price-note { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }

/* Sits above the card's top edge so all three cards keep their prices
   on the same baseline. Reserve room for it with .grid-3 { padding-top }. */
.tag {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
}

.grid-3 { padding-top: 0.85rem; }

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

.check { list-style: none; padding: 0; margin: 0; }
.check li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.no { list-style: none; padding: 0; margin: 0; }
.no li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}
.no li::before {
  content: "\00d7";
  position: absolute;
  left: 0.15rem;
  top: -0.05em;
  font-size: 1.2rem;
  color: #b7ada0;
  font-weight: 700;
}

/* ---------- steps ---------- */

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps > li {
  counter-increment: s;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.75rem;
}
.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.steps h3 { margin-bottom: 0.3rem; }
.steps p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */

details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.06rem;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.15rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
details[open] summary::after { content: "\2013"; }
details > *:not(summary) { margin-top: 0.85rem; }
details p:last-child { margin-bottom: 0; }

/* ---------- quote / testimonial ---------- */

.quote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.35rem;
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
}
.quote cite { display: block; font-style: normal; font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.6rem; }

.empty-state {
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 1.75rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- table ---------- */

.tbl { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.tbl th, .tbl td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 700; }
.tbl-scroll { overflow-x: auto; }

/* ---------- callout ---------- */

.callout {
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.35rem;
  border-radius: 0 8px 8px 0;
  margin: 1.75rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--accent-dark); }

.note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  font-size: 0.96rem;
  margin: 1.5rem 0;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: var(--paper); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfc7bd; max-width: 34rem; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { color: #fff; border-color: #4b443c; }
.cta-band .btn-ghost:hover { border-color: var(--accent); color: #ffb896; }

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.foot-grid { display: grid; gap: 1.75rem; }
@media (min-width: 44rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.7rem; color: var(--ink); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 0.4rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--accent-dark); text-decoration: underline; }
.foot-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.86rem; }

/* ---------- sticky mobile call bar ---------- */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  display: flex;
  gap: 0.6rem;
  z-index: 60;
  border-top: 1px solid #332c24;
}
.callbar .btn { flex: 1; min-height: 2.9rem; font-size: 0.97rem; }
.callbar .btn-ghost { color: #fff; border-color: #4b443c; }

@media (min-width: 60rem) { .callbar { display: none; } }
@media (max-width: 59.999rem) { body { padding-bottom: 4.5rem; } }

/* ---------- utility ---------- */

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.center { text-align: center; }
.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: 0.75rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
