/* Clarity Ventures. Colors pulled from the logo: navy and sage. */
:root {
  --ink: #0b131d;
  --ink-soft: #3a434e;
  --accent: #56625a;
  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --line: #dcd9d0;
  --white: #ffffff;
  --font: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 2.125rem; font-weight: 750; letter-spacing: -0.02em; max-width: 18ch; }
h2, .h2-size { font-size: 1.625rem; font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.measure { max-width: 38rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--ink); color: var(--white); padding: 0.5rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4rem;
}
.logo { display: block; flex: 0 1 auto; }
/* The logo file has a white background. Multiply lets the page color show through it. */
.logo img { width: 9.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink); color: var(--white);
  font-weight: 650; font-size: 1.0625rem; text-decoration: none;
  padding: 0.9rem 1.6rem; border-radius: 4px;
  border: 2px solid var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9375rem; white-space: nowrap; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }

/* Hero */
.hero { padding: 4rem 0 4.5rem; }
.lede { font-size: 1.1875rem; color: var(--ink-soft); max-width: 34rem; margin: 1.25rem 0 2rem; }
.hero-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--accent); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.problem-list { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 40rem; }
.problem-list li {
  padding: 1.1rem 0 1.1rem 1.25rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

/* Cards */
.cards { display: grid; gap: 1rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { margin-bottom: 0.6rem; color: var(--ink-soft); }
.card .card-stop { color: var(--ink); font-weight: 600; }
.after-cards { margin-top: 2rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 2rem; }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--ink); }
.steps li::before {
  content: counter(step);
  display: block; font-size: 0.875rem; font-weight: 700; color: var(--accent);
  margin-bottom: 0.25rem;
}
.steps h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.steps p { color: var(--ink-soft); max-width: 34rem; }

/* Pricing */
.price-grid { display: grid; gap: 1rem; }
.price-box {
  background: var(--bg); border: 2px solid var(--ink); border-radius: 6px;
  padding: 1.75rem 1.5rem;
}
.price { font-size: 2.25rem; font-weight: 750; line-height: 1.1; margin: 0.4rem 0 1rem; letter-spacing: -0.02em; }
.price-box p:not(.price) { color: var(--ink-soft); }

/* For / not for */
.fit-grid { display: grid; gap: 3rem; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 0.75rem 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* Proof */
.quotes { display: grid; gap: 1rem; margin: 2.5rem 0; }
.quote {
  margin: 0; background: var(--bg); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; padding: 1.5rem;
}
.quote blockquote { margin: 0 0 1rem; font-size: 1.125rem; }
.quote figcaption { font-size: 0.9375rem; font-weight: 600; }

.gallery { display: grid; gap: 1.25rem; }
.gallery figure { margin: 0; }
.gallery img, .shot-placeholder { width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.shot-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.gallery figcaption { font-size: 0.9375rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* Visible placeholders. Anything with .todo still needs real content. */
.todo { color: #8a4b00; font-style: normal; }
.shot-placeholder.todo, .headshot-placeholder.todo {
  background: #fff7ea; border: 2px dashed #c98a3a; font-size: 0.9375rem; font-weight: 600;
}

/* About */
.about { display: grid; gap: 2rem; align-items: start; }
.headshot { width: 9rem; height: 9rem; border-radius: 6px; object-fit: cover; }
.headshot-placeholder { display: grid; place-items: center; text-align: center; }

/* Final CTA */
.cta { background: var(--ink); color: var(--white); }
.cta .measure { color: #d5d9de; margin-bottom: 2rem; }
.booking-note { margin-top: 1rem; font-size: 0.9375rem; color: #b9c0c8; }
.contact-lines { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.5rem; font-size: 1.125rem; font-weight: 600; }
.contact-lines a { padding: 0.35rem 0; align-self: flex-start; text-underline-offset: 3px; }
.cta a:focus-visible { outline-color: var(--white); }

/* Footer */
.site-footer { background: var(--ink); color: #b9c0c8; border-top: 1px solid #27313d; font-size: 0.9375rem; }
.footer-inner { padding-top: 1.5rem; padding-bottom: 2rem; }
.footer-inner p { margin: 0 0 0.25rem; }

/* Tablet */
@media (min-width: 40rem) {
  h1 { font-size: 2.75rem; }
  h2, .h2-size { font-size: 1.875rem; }
  .logo img { width: 11.5rem; }
  .btn-small { padding: 0.6rem 1.25rem; font-size: 1rem; }
  .hero { padding: 5.5rem 0 6rem; }
  .section { padding: 5.5rem 0; }
  .cards, .price-grid, .quotes { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .fit-grid { grid-template-columns: 3fr 2fr; gap: 3.5rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 11rem 1fr; gap: 3rem; }
  .headshot { width: 11rem; height: 11rem; }
  .footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; }
  .contact-lines { flex-direction: row; gap: 2rem; }
}

/* Desktop */
@media (min-width: 64rem) {
  h1 { font-size: 3.5rem; }
  .wrap { padding: 0 2rem; }
  .hero { padding: 7rem 0 7.5rem; }
  .section { padding: 6.5rem 0; }
  .lede { font-size: 1.3125rem; max-width: 38rem; }
  .card, .price-box { padding: 2rem; }
}

/* ---------- Additions: nav, hero example, calculator, card examples, FAQ, motion ---------- */

[hidden] { display: none !important; }

.tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--white); background: var(--accent);
  padding: 0.15rem 0.45rem; border-radius: 3px; margin-right: 0.4rem; vertical-align: 0.1em;
}

/* Header nav and scrolled state */
.site-header { transition: box-shadow 0.2s ease; }
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(11, 19, 29, 0.08); }
.site-nav { display: none; }
.site-nav a {
  text-decoration: none; font-size: 0.9375rem; font-weight: 550; color: var(--ink-soft);
  padding: 0.4rem 0; border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Hero */
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.text-link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); padding: 0.5rem 0; }
.text-link:hover { text-decoration-color: var(--ink); }

.demo {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.25rem; box-shadow: 0 8px 28px rgba(11, 19, 29, 0.07); max-width: 27rem; position: relative;
}
.demo figcaption { font-size: 0.9375rem; font-weight: 650; margin-bottom: 1rem; }


/* Calculator */
.calc { margin-top: 3rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem; max-width: 56rem; }
.calc h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.calc-grid { display: grid; gap: 1.75rem; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.calc label output { font-size: 1.125rem; font-weight: 750; white-space: nowrap; }
.calc input[type="range"] { width: 100%; margin: 0 0 1.5rem; accent-color: var(--ink); height: 2rem; cursor: pointer; }
.calc input[type="range"]:last-child { margin-bottom: 0; }
.calc input[type="range"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.calc-result { margin: 0; padding: 1.25rem; background: var(--bg-alt); border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; color: var(--ink-soft); }
.calc-big { display: block; font-size: 2rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin-bottom: 0.4rem; }

/* Card examples */
.cards { align-items: start; }
.card { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.card:hover { border-color: #bfbcb2; box-shadow: 0 4px 16px rgba(11, 19, 29, 0.05); }
.example-toggle {
  margin-top: 0.6rem; background: none; border: 0; padding: 0.5rem 0; font: inherit; font-size: 0.9375rem;
  font-weight: 650; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
}
.example-toggle::after { content: "+"; display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 1rem; line-height: 1; transition: transform 0.2s ease, background-color 0.15s ease, color 0.15s ease; }
.example-toggle:hover::after { background: var(--ink); color: var(--white); }
.example-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
.example-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.example { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.card .example p { color: var(--ink); }
.example-label { font-size: 0.8125rem; font-weight: 650; color: var(--ink-soft) !important; margin-bottom: 0.4rem !important; }
.example-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; background: var(--bg-alt); border-radius: 4px; padding: 0.6rem 0.75rem; margin-bottom: 1rem !important; }
.example-bubble { background: var(--ink); color: var(--white) !important; border-radius: 14px 14px 4px 14px; padding: 0.75rem 0.9rem; font-size: 0.9375rem; line-height: 1.45; }
.example-foot { font-size: 0.875rem; color: var(--ink-soft) !important; }
.example-doc { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-size: 0.9375rem; }
.example-doc caption { text-align: left; font-weight: 700; padding: 0.7rem 0.8rem; background: var(--white); border: 1px solid var(--line); border-bottom: 0; }
.example-doc td { padding: 0.5rem 0.8rem; border-top: 1px solid var(--line); }
.example-doc td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.example-doc .total td { font-weight: 750; border-top: 2px solid var(--ink); }

/* Pricing hover */
.price-box { transition: box-shadow 0.15s ease; }
.price-box:hover { box-shadow: 5px 5px 0 var(--accent); }

/* FAQ */
.faq { max-width: 44rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 650; font-size: 1.0625rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.faq details p { margin: 0; padding: 0 2.5rem 1.25rem 0; color: var(--ink-soft); }

/* Final CTA buttons */
.contact-actions { display: grid; gap: 0.75rem; margin-top: 1.75rem; max-width: 22rem; }
.btn-outline-light { background: transparent; color: var(--white); border-color: #56616e; text-align: center; font-size: 1rem; padding: 0.8rem 1.25rem; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.contact-small { margin-top: 1.25rem; font-size: 0.9375rem; color: #b9c0c8; user-select: all; }

/* Gallery lightbox */
.js .gallery img { cursor: zoom-in; transition: opacity 0.15s ease; }
.js .gallery img:hover { opacity: 0.9; }
.lightbox { border: 0; border-radius: 8px; padding: 1rem; max-width: min(92vw, 70rem); background: var(--bg); color: var(--ink); }
.lightbox::backdrop { background: rgba(11, 19, 29, 0.8); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox p { margin: 0.75rem 0 0; font-size: 0.9375rem; color: var(--ink-soft); }
.lightbox-close { display: block; margin: 0 0 0.75rem auto; background: var(--ink); color: var(--white); border: 0; border-radius: 4px; font: inherit; font-weight: 600; padding: 0.45rem 0.9rem; cursor: pointer; }


@media (min-width: 40rem) {
  .calc { padding: 2rem; }
  .calc-grid { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
  .contact-actions { grid-template-columns: repeat(2, auto); max-width: none; justify-content: start; }
}

@media (min-width: 58rem) {
  .site-nav { display: flex; gap: 1.75rem; margin-left: auto; margin-right: 1rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .demo { justify-self: end; width: 100%; }
}


/* ---------- Visual pass: dark hero, ridgelines, timeline, icons ---------- */

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 3.5rem 0 7rem; overflow: hidden; border-bottom: 3px solid var(--bg); }
.hero .wrap { position: relative; z-index: 1; }
.hero .lede { color: #d5d9de; }
.hero .hero-note { color: #a9b5ac; }
.hero .text-link { color: var(--white); text-decoration-color: #a9b5ac; }
.hero .text-link:hover { text-decoration-color: var(--white); }
.hero a:focus-visible { outline-color: var(--white); }
.ridge { display: block; position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 5rem; }
.nowrap { white-space: nowrap; }
.ridge-wrap { background: var(--bg-alt); position: relative; height: 5rem; margin-bottom: -2px; border-bottom: 3px solid var(--ink); overflow: hidden; }
.ridge-wrap .ridge { bottom: -1px; }
#faq { border-bottom: 0; }
.cta { padding-top: 3.5rem; }

/* Hero demo */
.demo { color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); border-color: transparent; }
.demo-chips { display: flex; gap: 0.5rem; margin-bottom: 1.1rem; }
.demo-chips button {
  font: inherit; font-size: 0.875rem; font-weight: 650; padding: 0.45rem 0.95rem; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.demo-chips button:hover { border-color: var(--ink); }
.demo-chips button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.demo-chips button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.demo-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.35rem; }
.demo-input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; line-height: 1.5;
  background: var(--bg-alt); border-radius: 6px; padding: 0.7rem 0.8rem; margin: 0 0 1.1rem; min-height: 4.1em;
}
.demo-input.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--ink); margin-left: 2px; vertical-align: -0.15em; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-foot { font-size: 0.8125rem; color: var(--ink-soft); margin: 0.8rem 0 0; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo .example-doc.writing tr, .demo .example-doc.writing caption { animation: row-in 0.35s ease both; animation-delay: calc(var(--r, 0) * 0.22s); }

/* Problem list */
.when {
  display: block; width: fit-content; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: #e6e9e4; border-radius: 3px; padding: 0.15rem 0.5rem; margin-bottom: 0.45rem;
}

/* Calculator bars */
.bars { display: grid; gap: 0.5rem; margin-top: 1.1rem; }
.bar-row { display: grid; grid-template-columns: 5.2rem 1fr; align-items: center; gap: 0.6rem; font-size: 0.8125rem; font-weight: 650; color: var(--ink); }
.bar-track { display: block; height: 0.8rem; background: #dfdcd3; border-radius: 999px; overflow: hidden; }
.bar { display: block; height: 100%; border-radius: 999px; transition: width 0.3s ease; }
.bar-time { width: 100%; background: var(--ink); }
.bar-build { background: var(--accent); min-width: 5px; }

/* Card icons */
.icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 8px; background: #e6e9e4; color: var(--ink); margin-bottom: 1rem; }
.card:hover .icon { background: var(--ink); color: var(--white); }
.icon { transition: background-color 0.15s ease, color 0.15s ease; }

/* Card example bits */
.example-form { margin: 0 0 0.9rem; border: 1px solid var(--line); border-radius: 6px; background: var(--white); overflow: hidden; }
.example-form div { display: grid; grid-template-columns: 5.5rem 1fr; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.example-form div:first-child { border-top: 0; }
.example-form dt { padding: 0.5rem 0.75rem; color: var(--ink-soft); background: var(--bg); font-size: 0.8125rem; font-weight: 650; display: flex; align-items: center; }
.example-form dd { margin: 0; padding: 0.5rem 0.75rem; }
.example-mail { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 0.85rem 0.9rem; margin-bottom: 0.8rem; font-size: 0.9375rem; }
.example-mail p { margin: 0; }
.example-mail .mail-subject { font-weight: 700; padding-bottom: 0.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }

/* Timeline */
.section-intro { font-size: 1.125rem; color: var(--ink-soft); margin-bottom: 2.5rem; }
/* Pricing */
.price-grid { align-items: start; }
.check-list { list-style: none; margin: 1.25rem 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; font-size: 0.9875rem; }
.check-list li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.55rem; align-items: start; }
.check-list svg { margin-top: 0.22rem; color: var(--accent); }
.price-fine { font-size: 0.875rem; }
.price-box-main { background: var(--ink); color: var(--white); box-shadow: 0 14px 36px rgba(11, 19, 29, 0.18); }
.price-box-main p:not(.price), .price-box-main .price-fine { color: #cfd4da; }
.price-box-main .check-list { border-top-color: #2c3744; }
.price-box-main .check-list svg { color: #a9b5ac; }
.price-box-main:hover { box-shadow: 0 14px 36px rgba(11, 19, 29, 0.18), 5px 5px 0 var(--accent); }

/* For / not for markers */
.list-yes li, .list-no li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; }
.list-yes li::before, .list-no li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 0.75rem; }
.list-yes li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.list-no li::before { background-color: #d9d6cd; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b131d' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  .demo .example-doc.writing tr, .demo .example-doc.writing caption, .demo-input.typing::after { animation: none; }
}

@media (min-width: 40rem) {
  .hero { padding: 5rem 0 9rem; }
  .ridge, .ridge-wrap { height: 7.5rem; }
  .timeline::before { left: 2.9rem; top: 1rem; }
  .tl-step { grid-template-columns: 5.8rem 1fr; gap: 1.5rem; padding: 0 0 1.5rem; }
  .tl-step::before { display: none; }
  .tl-marker { justify-content: center; padding-top: 1.35rem; }
  .tl-body { padding: 1.25rem 0 0.25rem; }
  .tl-time { font-size: 0.8125rem; padding: 0.25rem 0.75rem; }
  .tl-call .tl-body { padding: 1.75rem; }
  .bar-row { grid-template-columns: 5.5rem 1fr; }
}
@media (min-width: 64rem) {
  .hero { padding: 6rem 0 11rem; }
  .ridge, .ridge-wrap { height: 10rem; }
}


/* ---------- Type and finish pass: plainer labels, squarer corners ---------- */
h1 { font-weight: 800; letter-spacing: -0.015em; }
h2, .h2-size { font-weight: 750; }
.price, .calc-big { font-weight: 800; letter-spacing: -0.015em; }

/* Labels are plain words, not uppercase pills */
.tag { background: none; color: var(--accent); padding: 0; margin-right: 0.35rem; font-size: inherit; font-weight: 700; letter-spacing: 0; text-transform: none; border-radius: 0; vertical-align: baseline; }
.tag::after { content: ":"; }
.when { background: none; padding: 0; border-radius: 0; font-size: 0.875rem; letter-spacing: 0; text-transform: none; margin-bottom: 0.2rem; }
.tl-kicker, .demo-label { letter-spacing: 0; text-transform: none; font-size: 0.875rem; }

/* Squarer corners, flatter surfaces */
.btn, .lightbox-close { border-radius: 3px; }
.card, .price-box, .calc, .quote, .tl-call .tl-body, .tl-details, .example-form, .example-mail, .example-doc, .gallery img, .shot-placeholder, .headshot, .icon, .demo-input, .example-input, .lightbox { border-radius: 3px; }
.quote { border-radius: 0 3px 3px 0; }
.calc-result { border-radius: 0 3px 3px 0; }
.demo { border-radius: 4px; }
.demo-chips button { border-radius: 3px; }
.tl-time { border-radius: 3px; }
.example-bubble { border-radius: 3px; }
.bar-track, .bar { border-radius: 2px; }
.card:hover { box-shadow: none; border-color: var(--ink); }
.tl-call .tl-body { box-shadow: none; border-color: #cfcbc0; }


/* Previous work: one block per client */
.case { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.case-head h3 { font-size: 1.375rem; margin-bottom: 0.35rem; }
.case-head p { color: var(--ink-soft); max-width: 38rem; }
.case .quote { margin: 1.5rem 0 1.75rem; max-width: 46rem; }
.case .gallery { align-items: start; }
.gallery img { background: #191919; }
.js .gallery img:hover { opacity: 1; border-color: var(--ink); }
@media (min-width: 40rem) {
  .gallery.gallery-2 { grid-template-columns: repeat(2, 1fr); }
  .quote blockquote { font-size: 1.25rem; }
}


/* Work screenshots: every image sits in the same frame, on the same grid */
.gallery img { aspect-ratio: 1200 / 828; object-fit: cover; object-position: center top; }
@media (min-width: 40rem) { .gallery, .gallery.gallery-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .gallery, .gallery.gallery-2 { grid-template-columns: repeat(3, 1fr); } }

/* Headshot */
.headshot { width: 12rem; height: 12rem; object-position: center 20%; border: 1px solid var(--line); }
@media (min-width: 40rem) {
  .about { grid-template-columns: 14rem 1fr; align-items: center; }
  .headshot { width: 14rem; height: 14rem; }
}

/* Problem list: shaded panels that line up with the accent bar */
.problem-list { max-width: none; display: grid; gap: 0.75rem; }
.problem-list li {
  margin: 0; padding: 1.1rem 1.25rem; background: #ece9e1;
  border-left: 4px solid var(--accent); border-radius: 0 3px 3px 0;
}
.when { color: var(--ink); opacity: 0.75; }
@media (min-width: 40rem) {
  .problem-list { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .problem-list li { padding: 1.4rem 1.5rem; }
}


/* Pricing: the by-inquiry system box runs the full width under the two priced offers */
.price-box-wide .check-list { margin-bottom: 0; }
.case-cta .measure { margin-bottom: 1.25rem; }
@media (min-width: 40rem) {
  .price-box-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
  .price-box-wide .check-list { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 2.5rem; border-left: 1px solid var(--line); }
}

/* Pricing: the two priced boxes share one height, with the fine print pinned to the bottom */
.price-grid { align-items: stretch; }
.price-box:not(.price-box-wide) { display: flex; flex-direction: column; }
.price-box:not(.price-box-wide) .price-fine { margin-top: auto; padding-top: 0.5rem; }


/* ================= Multi-page layout and section color flow ================= */
:root { --sage-pale: #e3e8e2; --sage-pale-line: #cfd7ce; --sage-deep: #2c3833; --sage-mid: #7d897f; --navy-panel: #131d29; --navy-line: #27313d; }
html { scroll-padding-top: calc(var(--header-h, 4rem) + 1rem); }

/* Header nav: a second row on phones, inline on wide screens */
.header-inner { flex-wrap: wrap; row-gap: 0; }
.site-nav { display: flex; order: 3; width: 100%; gap: 1.75rem; margin: 0; padding: 0.15rem 0; border-top: 1px solid var(--line); }
.site-nav a { padding: 0.6rem 0; font-size: 0.9375rem; font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
@media (min-width: 58rem) {
  .site-nav { order: 0; width: auto; border-top: 0; padding: 0; gap: 2rem; margin-left: auto; margin-right: 1.25rem; }
  .site-nav a { padding: 0.4rem 0; }
}

/* Light bands */
.section-sage { background: var(--sage-pale); border-top: 1px solid var(--sage-pale-line); border-bottom: 1px solid var(--sage-pale-line); }
.section-sage .faq, .section-sage .faq details { border-color: #bfc9be; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ridge-wrap.from-bg { background: var(--bg); }
.ridge-wrap.from-sage { background: var(--sage-pale); }

/* Dark bands */
.section-dark { color: var(--white); border: 0; }
.bg-navy { background: var(--ink); }
.bg-sage-deep { background: var(--sage-deep); }
.section-dark .section-intro, .section-dark .measure { color: #d5dbd6; }
.section-dark a:focus-visible, .section-dark .btn:focus-visible, .section-dark summary:focus-visible { outline-color: var(--white); }

/* Sub-page headers */
.page-hero { padding: 3rem 0 7.5rem; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-bottom: 0; max-width: 40rem; }
.page-hero-flat { padding-bottom: 0.5rem; border-bottom: 0; }
@media (min-width: 40rem) { .page-hero { padding: 4.5rem 0 10rem; } .page-hero-flat { padding-bottom: 1rem; } }
@media (min-width: 64rem) { .page-hero { padding: 5rem 0 12.5rem; } .page-hero-flat { padding-bottom: 1rem; } .page-hero h1 { font-size: 3rem; } }

/* Systems page: client stories on navy so the dark screenshots sit in their own light */
.systems-body { padding-top: 1rem; }
.systems-body .case { border-top-color: var(--navy-line); }
.systems-body .case:first-child { margin-top: 1.5rem; }
.case-head h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.systems-body .case-head p { color: #b9c0c8; }
.systems-body .quote { background: var(--navy-panel); border-color: var(--navy-line); border-left-color: var(--sage-mid); }
.systems-body .quote figcaption { color: #cfd4da; }
.systems-body .gallery img { border-color: var(--navy-line); }
.js .systems-body .gallery img:hover { border-color: var(--white); }
.systems-body .gallery figcaption { color: #b9c0c8; }

.check-list-cols { border-top: 0; padding-top: 0; margin: 0 0 2rem; max-width: 46rem; font-size: 1.0625rem; }
@media (min-width: 40rem) { .check-list-cols { grid-template-columns: 1fr 1fr; gap: 0.75rem 2.5rem; } }

/* Footer page links */
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { text-underline-offset: 3px; }
/* The flat page header and the navy body below it are one surface. Overlap by 1px so no seam shows at fractional heights. */
.page-hero-flat + .systems-body { margin-top: -1px; padding-top: calc(1rem + 1px); position: relative; }
/* Solid strips under the ridgelines so no hairline shows where the drawing meets the next band */
.hero:not(.page-hero-flat)::after, .ridge-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; }
.hero:not(.page-hero-flat)::after { background: var(--bg); }
.ridge-wrap::after { background: var(--ink); }
/* Keep each band's background out from under its own bottom border, so nothing bleeds through at fractional heights */
.hero, .ridge-wrap { background-clip: padding-box; }


/* Dark bands that end in a ridgeline. --next is the color of the band that follows. */
.has-ridge { position: relative; overflow: hidden; padding-bottom: 8rem; border-bottom: 3px solid var(--next); background-clip: padding-box; }
.has-ridge > .wrap { position: relative; z-index: 1; }
.has-ridge::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: var(--next); }
.has-ridge + .section { border-top: 0; }
@media (min-width: 40rem) { .has-ridge { padding-bottom: 11rem; } }
@media (min-width: 64rem) { .has-ridge { padding-bottom: 14rem; } }


/* Systems page: client stories on the light background, right after the ridgeline */
.cases .case:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cases .quote { background: var(--white); }
.cases .gallery img { border-color: #c9c6bc; }
.cases + .section-sage { border-top: 1px solid var(--sage-pale-line); }


/* Sub-page header art. Wide screens only, where the right side was empty. */
.hero-art { display: none; }
@media (min-width: 58rem) {
  .page-hero-grid { align-items: center; }
  .hero-art { display: block; justify-self: end; width: 100%; max-width: 27rem; }

  .shot-stack { position: relative; aspect-ratio: 5 / 4; }
  .shot { position: absolute; width: 80%; height: auto; border-radius: 4px; border: 1px solid #2c3744; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease; }
  .shot-back { top: 0; right: 0; transform: rotate(2.5deg); }
  .shot-front { bottom: 0; left: 0; transform: rotate(-2deg); z-index: 1; }
  .shot:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); z-index: 3; }

  .peak-art svg { display: block; width: 100%; height: auto; overflow: visible; }
  .peak-art .ring { transform: translate(calc(var(--px, 0) * var(--d) * 1px), calc(var(--py, 0) * var(--d) * 1px)); transition: transform 0.35s ease-out; }
}
@keyframes ring-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mark-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .peak-art [pathLength] { stroke-dasharray: 1; animation: ring-draw 1.4s ease-out both; animation-delay: calc(var(--i) * 0.18s); }
  .peak-art .mark { animation: mark-in 0.7s ease-out both; animation-delay: 0.9s; }
}
@media (min-width: 58rem) { .hero-art.peak-art { width: 21.25rem; height: 21.25rem; max-width: none; flex: none; margin: 0 2.5rem 0 0; } .peak-art svg { width: 21.25rem; height: 21.25rem; overflow: visible; } }


/* About logo art: each ring follows the pointer, the outer ones further and a beat later, so the whole thing trails */
@media (min-width: 58rem) {
  .peak-art .ring { transition: transform calc(0.45s + var(--i) * 0.16s) cubic-bezier(0.22, 0.8, 0.25, 1); will-change: transform; }
}

/* Two screenshots per client, side by side from tablet up */
@media (min-width: 40rem) { .cases .gallery { grid-template-columns: repeat(2, 1fr); } }


/* Team: two people, photo beside bio */
.team { display: grid; gap: 2.5rem; }
.person { display: grid; gap: 1.25rem; align-items: start; }
.person h3 { font-size: 1.375rem; margin-bottom: 0.15rem; }
.person-title { color: var(--accent); font-weight: 650; margin-bottom: 0.9rem; }
.person-body p:not(.person-title) { color: var(--ink-soft); max-width: 36rem; }
.person-photo { width: 12rem; height: 12rem; }
@media (min-width: 40rem) {
  .person { grid-template-columns: 13rem 1fr; gap: 2rem; }
  .person-photo { width: 13rem; height: 13rem; }
}
@media (min-width: 64rem) {
  .team { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .person { grid-template-columns: 1fr; }
  .person-photo { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 22rem; }
}
@media (min-width: 64rem) { .person { align-content: start; grid-template-rows: auto 1fr; } }


/* Header button on phones: smaller so it sits level with the logo */
@media (max-width: 39.99rem) {
  .btn-small { padding: 0.45rem 0.85rem; font-size: 0.875rem; }
  .header-inner { min-height: 3.5rem; }
}

/* About art: a soft glow behind the mark and brighter rings so it stands off the navy */
@media (min-width: 58rem) {
  .peak-art svg { filter: drop-shadow(0 0 28px rgba(154, 167, 157, 0.35)); }
  .peak-art .ring circle { stroke: #c9d2cb; stroke-width: 4; }
  .peak-art image.mark { filter: url(#mark-edge) drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55)); }
}


/* Pricing with three priced boxes: side by side on desktop, the by-inquiry box full width beneath */
@media (min-width: 64rem) { .price-grid { grid-template-columns: repeat(3, 1fr); } .price-box-wide { grid-column: 1 / -1; } }
.price-box .price { overflow-wrap: anywhere; }

/* Work page: a three-image gallery for the site build; two adjacent sage sections get a divider */
@media (min-width: 58rem) { .cases .gallery.gallery-3 { grid-template-columns: repeat(3, 1fr); } }
.cases .gallery img { background: var(--ink); }
#launch-kit { border-top: 1px solid #bfc9be; }
/* Launch Kit shows two prices; keep them on one line so the three priced boxes line up */
.price-grid > .price-box:nth-child(3) .price { font-size: 1.75rem; }


/* Work page tabs: AI builds, Systems, Launch Kit */
.tabs { position: sticky; top: var(--header-h, 4rem); z-index: 8; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs-inner { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 0.95rem 0.9rem; font-weight: 650; font-size: 0.9375rem; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.js .panel[hidden] { display: none; }
.panel-title { margin-bottom: 0.75rem; }
.panel .cases .case:first-of-type { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .tab { padding: 1.05rem 1.25rem; font-size: 1rem; } }

/* Example build plans on the AI builds tab */
.plan-grid { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 1.5rem; display: flex; flex-direction: column; }
.plan-kicker { font-size: 0.8125rem; font-weight: 700; color: var(--accent); margin-bottom: 0.35rem; }
.plan-card h3 { font-size: 1.25rem; margin-bottom: 0.15rem; }
.plan-for { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 0.9rem; }
.plan-card .plan-steps { border-top: 1px solid var(--line); padding: 0.4rem 0 0; margin-bottom: 0.75rem; }
.plan-card .plan-steps li { padding: 0.5rem 0; min-height: 0; grid-template-columns: 1.5rem 1fr; }
.plan-runs { margin-top: auto; font-weight: 650; font-size: 0.9375rem; color: var(--ink); }
@media (min-width: 40rem) { .plan-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

/* Five nav links: tighter spacing on desktop */
@media (max-width: 57.99rem) { .site-nav a { white-space: nowrap; } }


/* AI builds tab: the three built tools lead, the example plans follow */
.ai-gallery { margin: 2rem 0 0; }
.plan-grid-title { font-size: 1.25rem; margin: 3rem 0 0; }
.ai-gallery + .plan-grid-title + .plan-grid { margin-top: 1.25rem; }


/* Galleries of 1200x750 screenshots keep that shape, so nothing is cut off */
.ai-gallery img, .panel .gallery-3 img { aspect-ratio: 1200 / 750; object-fit: cover; object-position: center top; }

/* Work page header: a ridgeline in the same faceted style as the section dividers. Three peaks are the three tabs, and a marker rides the skyline under the pointer. */
@media (min-width: 58rem) {
  .ridge-art { width: 100%; max-width: 34rem; }
  .ridge-art svg { display: block; width: 100%; height: auto; overflow: visible; padding-top: 2rem;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 62%, transparent 100%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    mask-composite: intersect; }
  .ridge-far { fill: #18232f; }
  .ridge-mid { fill: #3b4a45; }
  .ridge-near { fill: var(--sage-mid); }
  .ridge-skyline { fill: none; stroke: var(--white); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: 0.9; }
  .ridge-stop { cursor: pointer; }
  .ridge-stop circle { fill: var(--ink); stroke: var(--white); stroke-width: 3; transition: fill 0.25s ease; }
  .ridge-stop text { fill: #c9d2cb; font: 650 18px var(--font); transition: fill 0.25s ease; }
  .ridge-stop.is-active circle { fill: var(--white); }
  .ridge-stop.is-active text, .ridge-stop:hover text { fill: var(--white); }
  .ridge-car { fill: var(--white); pointer-events: none; }
  .ridge-car-glow { fill: var(--white); opacity: 0.4; pointer-events: none; }
}
@keyframes ridge-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ridge-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 58rem) and (prefers-reduced-motion: no-preference) {
  .ridge-far, .ridge-mid, .ridge-near { animation: ridge-rise 0.8s ease-out both; }
  .ridge-mid { animation-delay: 0.15s; }
  .ridge-near { animation-delay: 0.3s; }
  .ridge-skyline { stroke-dasharray: 1; animation: ridge-draw 1.3s ease-out 0.5s both; }
  .ridge-stop { opacity: 0; animation: mark-in 0.5s ease-out both; animation-delay: calc(1.4s + var(--i) * 0.15s); }
  .ridge-car, .ridge-car-glow { opacity: 0; animation: mark-in 0.4s ease-out 1.9s both; }
  .ridge-car-glow { animation-name: ridge-glow-in; }
}
@keyframes ridge-glow-in { from { opacity: 0; } to { opacity: 0.4; } }

/* Work page screenshots: a thin black frame so each one reads as a finished piece */
.panel .gallery img { border: 1px solid #000; }
.js .panel .gallery img:hover { border-color: #000; opacity: 0.92; }

/* Work page: no hairline between the last band of a panel and the jagged transition under it */
.panel > .section-sage:last-child { border-bottom: 0; }
.panel > .cases:last-child + .ridge-wrap, .ridge-wrap { border-top: 0; }


/* ================= Pricing and demos update ================= */
:root { --green: #5f9a6b; --sage-light: #a9b5ac; }

/* Hero: one line of copy and the missed-call demo */
.hero .lede { margin-bottom: 1.75rem; }
.hero-demo { width: 100%; max-width: 24rem; }
.cd-hero { border-color: transparent; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
@media (min-width: 58rem) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } .hero-demo { justify-self: end; } }

/* Pick your business */
.biz-chips { display: flex; gap: 0.5rem; overflow-x: auto; margin: 0 -1.25rem 1.5rem; padding: 0.25rem 1.25rem 0.75rem; scrollbar-width: none; }
.biz-chips::-webkit-scrollbar { display: none; }
.biz-chips button { flex: none; font: inherit; font-size: 0.9375rem; font-weight: 650; color: var(--ink); background: var(--white); border: 1.5px solid #bfc9be; border-radius: 3px; padding: 0.55rem 1rem; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.biz-chips button:hover { border-color: var(--ink); }
.biz-chips button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.biz-chips button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.biz-panel { display: grid; gap: 1.5rem; }
.biz-demo .cd { box-shadow: 0 10px 30px rgba(11, 19, 29, 0.08); }
.biz-full { display: inline-block; margin-top: 0.6rem; font-size: 0.875rem; font-weight: 650; text-underline-offset: 3px; }
.biz-text h3 { font-size: 1.5rem; margin-bottom: 0.75rem; letter-spacing: -0.015em; font-weight: 800; }
.biz-stat { font-size: 1.0625rem; margin-bottom: 1.25rem; }
.biz-stat strong { font-weight: 750; }
.biz-stat span { color: var(--ink-soft); font-size: 0.9375rem; }
.biz-inc-h { font-size: 0.875rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 0.5rem; }
.biz-inc { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.5rem; }
.biz-inc li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; align-items: center; font-size: 0.9375rem; }
.biz-inc svg { width: 2.25rem; height: 2.25rem; padding: 0.5rem; border-radius: 3px; background: var(--white); border: 1px solid #cfd7ce; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 40rem) { .biz-chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; } }
@media (min-width: 58rem) { .biz-panel { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; } .biz-text { padding-top: 0.5rem; } .biz-text h3 { font-size: 1.75rem; } }

/* Where the week goes: four tiles */
.tiles { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 0.75rem; }
.tiles li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.9rem; align-items: center; background: #ece9e1; border-left: 4px solid var(--accent); border-radius: 0 3px 3px 0; padding: 1rem 1.1rem; font-weight: 600; line-height: 1.4; }
.tile-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--white); border-radius: 3px; color: var(--ink); }
.tile-icon svg, .how-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 40rem) { .tiles { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (min-width: 64rem) { .tiles { grid-template-columns: repeat(4, 1fr); } .tiles li { grid-template-columns: 1fr; align-content: start; gap: 0.75rem; padding: 1.25rem; } }

/* Calculator results */
.calc-result p { margin: 0 0 0.35rem; }
.calc-big { margin-bottom: 0.25rem; }
.calc-line { color: var(--ink-soft); }
.calc-pay { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #d5d1c6; color: var(--ink); }
.calc-pay strong { color: var(--green); font-weight: 750; white-space: nowrap; }
#calc-year, #calc-dollars, #calc-weeks { font-variant-numeric: tabular-nums; }

/* How it works: five steps across on wide screens, a vertical stepper on phones */
.how-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0; }
.how-steps li { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; grid-template-rows: auto auto auto; column-gap: 1rem; padding: 0 0 1.75rem; }
.how-steps li::before { content: ""; position: absolute; left: 1.3rem; top: 2.75rem; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.22); }
.how-steps li:last-child::before { display: none; }
.how-icon { grid-row: 1 / 4; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--white); color: var(--ink); position: relative; z-index: 1; }
.how-time { font-size: 0.8125rem; font-weight: 700; color: #c9d2cb; }
.how-steps h3 { font-size: 1.125rem; color: var(--white); margin: 0.1rem 0 0.2rem; }
.how-steps p { margin: 0; color: #d5dbd6; font-size: 0.9375rem; max-width: 34rem; }
.how-details { max-width: 44rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 3px; margin-bottom: 2rem; color: var(--white); }
.how-details summary { list-style: none; cursor: pointer; padding: 0.85rem 2.5rem 0.85rem 1rem; font-weight: 650; position: relative; }
.how-details summary::-webkit-details-marker { display: none; }
.how-details summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; transition: transform 0.2s ease; }
.how-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.how-details ul { margin: 0; padding: 0 1rem 0.5rem 2.25rem; color: #d5dbd6; font-size: 0.9375rem; }
.how-details li { margin-bottom: 0.4rem; }
.how-details p { padding: 0.5rem 1rem 1rem; margin: 0; color: var(--white); font-weight: 600; font-size: 0.9375rem; }
@media (min-width: 58rem) {
  .how-steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .how-steps li { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; padding: 0; align-content: start; row-gap: 0.25rem; }
  .how-steps li::before { left: 2.75rem; right: -1.5rem; top: 1.375rem; bottom: auto; height: 2px; width: auto; }
  .how-icon { grid-row: auto; margin-bottom: 0.75rem; }
  .how-steps h3 { font-size: 1.0625rem; }
  .how-steps p { font-size: 0.875rem; }
}

/* Pricing: three cards, the integration is the primary one */
.price-note { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--ink-soft); }
.price-box-main .text-link { color: var(--white); text-decoration-color: #a9b5ac; }
.price-box-main .text-link:hover { text-decoration-color: var(--white); }
.price-box-main .price-fine { margin-top: auto; }
@media (min-width: 40rem) { .price-grid-3 { grid-template-columns: 1fr 1fr; } .price-grid-3 .price-box-main { grid-column: 1 / -1; order: -1; } }
@media (min-width: 64rem) { .price-grid-3 { grid-template-columns: 1fr 1.15fr 1fr; } .price-grid-3 .price-box-main { grid-column: auto; order: 0; } }

/* Lightbox: previous, next and close on one bar */
.lightbox-bar { display: flex; justify-content: flex-end; gap: 0.5rem; margin-bottom: 0.75rem; }
.lightbox-nav { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; font: inherit; font-weight: 700; padding: 0.4rem 0.8rem; cursor: pointer; }
.lightbox-close { margin: 0; }
.lightbox img { touch-action: pan-y; user-select: none; -webkit-user-select: none; }

/* Work page: the Gabe Films phone screenshot with its speed score */
.gallery img.phone-img { aspect-ratio: auto; object-fit: contain; width: auto; height: 24rem; margin: 0 auto; border-radius: 14px; background: var(--white); }
.speed-badge { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.6rem; }
.speed-ring { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.125rem; color: var(--green); background: conic-gradient(var(--green) 99%, #dfe6df 0); position: relative; flex: none; }
.speed-ring::before { content: ""; position: absolute; inset: 4px; background: var(--white); border-radius: 50%; }
.speed-ring span { position: relative; }
.speed-badge b { display: block; font-size: 0.9375rem; color: var(--ink); }
.speed-badge small { color: var(--ink-soft); font-size: 0.8125rem; }

/* Work page: the example build plans sit in a disclosure under the real builds */
.plan-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.6rem; }
.plan-details summary::-webkit-details-marker { display: none; }
.plan-details summary::after { content: "+"; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 1.1rem; font-weight: 400; transition: transform 0.2s ease; }
.plan-details[open] summary::after { transform: rotate(45deg); }
.plan-details summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Work page: bigger, bolder disclosure for the example build plans */
.plan-details summary.plan-grid-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.015em; }
.plan-details summary::after { width: 1.75rem; height: 1.75rem; font-size: 1.25rem; }

/* Launch Kit gallery: the two desktop shots stacked on the left, the phone and its score in a panel on the right */
.gallery.lk-gallery { grid-template-columns: 1fr; gap: 1.5rem; }
.lk-desktop { display: grid; gap: 1.25rem; }
.lk-desktop img { aspect-ratio: 1200 / 750; }
.phone-shot { background: var(--sage-pale); border: 1px solid var(--sage-pale-line); border-radius: 3px; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.phone-shot .phone-img { height: 26rem; margin: 0; box-shadow: 0 14px 34px rgba(11, 19, 29, 0.18); }
.phone-shot figcaption { margin-top: 1rem; }
.phone-shot .speed-badge { justify-content: center; text-align: left; margin-top: 0.75rem; }
@media (min-width: 40rem) { .gallery.lk-gallery { grid-template-columns: 1fr; } .lk-desktop { grid-template-columns: 1fr 1fr; } }
@media (min-width: 58rem) { .gallery.lk-gallery { grid-template-columns: 1.6fr 1fr; align-items: stretch; } .lk-desktop { grid-template-columns: 1fr; align-content: start; } }

/* Home hero runs straight into the sage band: the strip under the ridge takes the sage color, and the band has no top line */
.hero.hero-to-sage { border-bottom-color: var(--sage-pale); }
.hero.hero-to-sage::after { background: var(--sage-pale); }
.hero.hero-to-sage + .section-sage { border-top: 0; }

/* Work page: live demo cards in the AI builds gallery. Same frame, border and hover as the screenshots beside them. */
.demo-shot { position: relative; display: block; }
.demo-shot img { margin: 0; }
.js .demo-shot:hover img { opacity: 0.92; }
.demo-shot:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.demo-label { position: absolute; top: 0.6rem; left: 0.6rem; font-size: 0.75rem; font-weight: 700; color: var(--white); background: var(--ink); padding: 0.15rem 0.5rem; border-radius: 3px; pointer-events: none; }
.demo-open { display: block; margin-top: 0.3rem; font-weight: 650; color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.demo-open:hover { text-decoration-color: var(--ink); }

/* AI builds tab: the two live demos in their own row, the three client builds under them */
.gallery-title { font-size: 1.125rem; margin: 2rem 0 1rem; }
.gallery.demo-gallery { grid-template-columns: 1fr; margin: 0; }
.panel .demo-gallery img { aspect-ratio: 1200 / 750; object-fit: cover; object-position: center top; }
@media (min-width: 40rem) { .gallery.demo-gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 58rem) { .gallery.demo-gallery { grid-template-columns: 1fr 1fr; } }
.ai-gallery { margin-top: 0; }

/* Questions: four groups as cards with a dark header, two columns on wide screens, equal heights per row */
.faq.faq-grid { max-width: none; border-top: 0; display: grid; gap: 1.25rem; }
.faq-group { background: var(--white); border: 1px solid #cfd7ce; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.faq-group h3 { font-size: 0.9375rem; font-weight: 700; color: var(--white); background: var(--ink); padding: 0.75rem 1.25rem; margin: 0; }
.faq-grid details { border-bottom: 1px solid var(--line); margin: 0 1.25rem; }
.faq-grid details:last-child { border-bottom: 0; }
.faq-grid summary { padding: 0.9rem 2.5rem 0.9rem 0; font-size: 1rem; }
.faq-grid summary::after { right: 0; }
.faq-grid details p { padding: 0 2.5rem 1rem 0; }
.faq-grid summary:hover { color: var(--accent); }
@media (min-width: 58rem) { .faq.faq-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; } }
