/* Bold Digital Services: layout and type. Brand values live in brand.css. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;           /* 17px on phones, 18px from 700px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
@media (min-width: 700px) { body { font-size: 1.125rem; } }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-stretch: calc(var(--display-width) * 1%); font-weight: 800; text-wrap: balance; }

:focus-visible { outline: 3px solid var(--brand-red-text); outline-offset: 3px; }
.bg-ink :focus-visible, .strip :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .callbar :focus-visible, .offer--ai :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }

/* Type scale, ratio 1.25 */
:root {
  --s-1: .8rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.563rem; --s3: 1.953rem; --s4: 2.441rem; --s5: 3.052rem; --s6: 3.815rem;
}

/* Placeholders. Anything yellow here still needs a real answer. */
.ph { background: #FFE45C; color: #111; padding: 0 .2em; border-radius: 2px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.photo-ph {
  display: flex; align-items: flex-end; padding: 1rem;
  background:
    repeating-linear-gradient(135deg, rgba(17,17,17,.06) 0 14px, transparent 14px 28px),
    var(--paper-2);
  border: 2px dashed #8d857a;
  color: #111; font-size: .9rem; font-weight: 600; line-height: 1.35;
}
.photo-ph-label { background: #FFE45C; padding: .15rem .4rem; }

/* Logo slot: set in brand.css */
.logo { display: block; aspect-ratio: var(--logo-ratio); height: var(--logo-h, 2.25rem); background: center / contain no-repeat; }
.logo--light { background-image: var(--logo-horizontal); }
.logo--dark  { background-image: var(--logo-horizontal-dark); --logo-h: 2.5rem; }

/* Buttons: square-ish, one radius everywhere */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; gap: .4rem; padding: .6rem 1.4rem; font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--ink); border-radius: 3px; line-height: 1.1; }
.btn--red { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn .ph { color: #111; }

.eyebrow { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-red-text); margin-bottom: 1rem; max-width: 56ch; line-height: 1.35; }
.eyebrow--dark { color: var(--brand-red-on-dark); }
.fine { font-size: .95rem; color: var(--muted); }
.fine--dark { color: var(--muted-on-dark); }

.section-title { font-size: clamp(var(--s3), 6vw, var(--s5)); line-height: 1.02; letter-spacing: -.005em; text-transform: uppercase; }
.section-title--dark { color: #fff; }

/* HEADER */
.site-header { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: block; text-decoration: none; }
.nav { display: none; }
.header-call { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 .9rem; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; border-radius: 3px; font-size: .95rem; white-space: nowrap; }
.header-call .ph { color: #111; font-size: .9rem; }
@media (min-width: 900px) {
  .header-inner { min-height: 4.75rem; }
  .logo--light { --logo-h: 2.6rem; }
  .nav { display: flex; gap: 1.6rem; margin-left: auto; margin-right: 1.5rem; }
  .nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: .5rem 0; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: var(--brand-red); }
  .header-call { font-size: 1.05rem; padding: 0 1.2rem; }
}

/* HERO: text left, photo bleeds off the right edge */
.hero { padding: 1.25rem 0 5rem; overflow: hidden; } /* tight top + 5rem bottom so the contract line clears the sticky bar */
.hero .fine { margin-bottom: 0; }
.hero-grid { display: grid; gap: 2rem; }
.hero h1 { font-size: clamp(2.7rem, 11.5vw, 5rem); line-height: .95; text-transform: uppercase; letter-spacing: -.01em; max-width: 15ch; }
.hero h1::after { content: ""; display: block; width: 5.5rem; height: .5rem; background: var(--brand-red); margin-top: 1.4rem; }
.lead { font-size: var(--s1); line-height: 1.5; margin-top: 1.15rem; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0 .7rem; }
.hero-photo { margin: 0 -1.25rem; }
.hero-photo .photo-ph { min-height: 18rem; border-left: 0; border-right: 0; }
@media (min-width: 700px) {
  .hero { padding: 2.5rem 0 0; }
  .lead { margin-top: 1.6rem; }
  .cta-row { margin: 1.8rem 0 1rem; }
}
@media (min-width: 900px) {
  .hero { padding-top: 4rem; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: end; }
  .hero-copy { padding-bottom: 4rem; }
  .lead { max-width: 38ch; }
  /* photo runs off the right edge of the window */
  .hero-photo { margin: 0 calc((100vw - min(100vw - 2.5rem, 72rem)) / -2) 0 0; align-self: stretch; }
  .hero-photo .photo-ph { height: 100%; min-height: 30rem; border-right: 0; border-top-width: 2px; }
}

/* DEMO STRIP */
.strip { background: var(--ink); color: #fff; padding: 2.25rem 0; }
.strip-grid { display: grid; gap: .6rem 3rem; align-items: center; }
.strip-title { font-size: var(--s2); line-height: 1.05; text-transform: uppercase; }
.strip-text { color: var(--muted-on-dark); margin: 0; font-size: 1rem; }
.strip-number { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(2.2rem, 9vw, 3.4rem); color: var(--brand-red-on-dark); text-decoration: none; line-height: 1; margin-top: .4rem; display: inline-block; }
.strip-number .ph { color: #111; }
@media (min-width: 900px) {
  .strip-grid { grid-template-columns: 1.1fr 1.4fr auto; }
  .strip-number { margin-top: 0; }
}

/* WHY: narrow reading column and a loud line */
.why { padding: 4rem 0 3rem; }
.why-grid { display: grid; gap: 1.5rem; }
.why-head { font-size: clamp(var(--s4), 7.5vw, var(--s6)); line-height: .98; text-transform: uppercase; max-width: 14ch; }
.why-body p { font-size: 1.1rem; }
@media (min-width: 900px) {
  .why { padding: 6rem 0 5rem; }
  .why-grid { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; }
  .why-body { padding-top: .6rem; border-top: 4px solid var(--ink); padding-top: 1.2rem; }
}

/* OFFERS: two different treatments, unequal widths */
.offers { background: var(--paper-2); padding: 3.5rem 0 4rem; }
.offers .section-title { margin-bottom: 2rem; }
.offers-grid { display: grid; gap: 1.5rem; }
.offer { padding: 1.75rem 1.5rem; }
.offer--site { background: var(--paper); border: 2px solid var(--ink); }
.offer--ai { background: var(--ink); color: #fff; }
.offer-tag { font-family: var(--font-display); font-stretch: 90%; font-weight: 800; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-red-text); margin-bottom: .5rem; }
.offer--ai .offer-tag { color: var(--brand-red-on-dark); }
.price { font-size: 1.05rem; line-height: 1.15; margin-bottom: 1.4rem; }
.price-big { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(3rem, 12vw, 4.8rem); line-height: .95; letter-spacing: -.01em; }
.price-big--sm { font-size: clamp(2rem, 8vw, 3rem); }
.ticks { list-style: none; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: .7rem 0 .7rem 1.5rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .7rem; height: .25rem; background: var(--brand-red); }
.ticks--dark, .ticks--dark li { border-color: #3a3a3a; }
.ticks--dark li::before { background: var(--brand-red-on-dark); }
.offer-extra { margin-top: 1.5rem; padding: 1rem 1.1rem; background: var(--paper-2); font-size: .98rem; }
.offer-extra strong { display: block; font-family: var(--font-display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; margin-bottom: .2rem; }
.offer-extra p { margin: 0; }
.offer-note { font-size: .95rem; color: var(--muted); margin: 1.1rem 0 0; }
.offer--ai .offer-note { color: var(--muted-on-dark); }
.both { margin: 2.2rem 0 .6rem; font-size: var(--s1); max-width: none; }
.both strong { font-family: var(--font-display); font-stretch: 85%; font-weight: 800; }
.disclaimer { font-size: .95rem; color: var(--muted); }
@media (min-width: 900px) {
  .offers { padding: 5.5rem 0 5rem; }
  .offers-grid { grid-template-columns: 7fr 5fr; gap: 0; align-items: stretch; }
  .offer { padding: 2.6rem 2.4rem; }
  .offer--site { display: flex; flex-direction: column; }
  .offer--site .offer-extra { margin-top: auto; }
  .offer--site .offer-note { margin-bottom: 2rem; }
  .offer--ai { margin-top: 3rem; margin-left: -1px; }
  .offer--site .ticks { columns: 1; }
}

/* HOW: sticky intro on the left, numbered steps on the right */
.how { padding: 4rem 0; }
.how-grid { display: grid; gap: 2rem; }
.how-intro p { color: var(--muted); max-width: 30ch; margin-top: 1rem; }
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.8rem 4.2rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.15rem; font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--brand-red-text); width: 3rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1rem; top: 3.2rem; bottom: .6rem; width: 2px; background: var(--line); }
.steps h3, .ai-steps-title { font-size: var(--s2); line-height: 1.05; text-transform: uppercase; margin-bottom: .35rem; }
.steps p { margin: 0; }
.ai-steps { background: var(--paper-2); border-left: 6px solid var(--brand-red); padding: 1.5rem 1.4rem; margin-top: 1rem; }
.ai-steps ol { padding-left: 1.2rem; margin: 1rem 0; }
.ai-steps li { margin-bottom: .7rem; padding-left: .3rem; }
.ai-steps li::marker { font-weight: 800; color: var(--brand-red-text); }
.ai-steps p.fine { margin: 0; }
@media (min-width: 900px) {
  .how { padding: 6rem 0; }
  .how-grid { grid-template-columns: 4fr 7fr; gap: 5rem; }
  .how-intro { position: sticky; top: 7rem; align-self: start; }
  .ai-steps { margin-left: 4.2rem; }
}

/* US: staggered portraits */
.us { padding: 5rem 0 4rem; }
.us-grid { display: grid; gap: 2rem; }
.us-intro p { color: var(--muted); max-width: 32ch; margin-top: 1rem; }
.people { display: grid; gap: 2.2rem; }
.person { margin: 0; }
.person .photo-ph--portrait { aspect-ratio: 4 / 3; }
.person figcaption { padding-top: .9rem; }
.person h3 { font-size: var(--s2); line-height: 1; text-transform: uppercase; }
.role { font-family: var(--font-display); font-stretch: 90%; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--brand-red-text); margin: .3rem 0 .6rem; }
.person p:last-child { margin-bottom: 0; font-size: 1rem; }
@media (min-width: 700px) {
  .person .photo-ph--portrait { aspect-ratio: 1 / 1; }
  .people { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .person--luke { margin-top: 3rem; }
  .person--jeff { grid-column: 1 / -1; display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: start; max-width: 38rem; }
  .person--jeff figcaption { padding-top: 0; }
}
@media (min-width: 900px) {
  .us { padding: 8rem 0 6rem; }
  .us-grid { grid-template-columns: 4fr 8fr; gap: 4rem; }
  .us-intro { position: sticky; top: 7rem; align-self: start; }
}

/* FAQ: narrow column */
.faq { background: var(--paper-2); padding: 4rem 0; }
.faq-grid { display: grid; gap: 1.5rem; }
.faq-list { max-width: 44rem; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--ink); }
summary { cursor: pointer; list-style: none; padding: 1rem 2.4rem 1rem 0; font-weight: 700; font-size: 1.1rem; position: relative; min-height: 3rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: .55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--brand-red-text); }
details[open] summary::after { content: "\2212"; }
details p { padding-right: 2rem; color: #2b2824; }
@media (min-width: 900px) {
  .faq { padding: 6rem 0; }
  .faq-grid { grid-template-columns: 4fr 7fr; gap: 5rem; }
  .faq .section-title { position: sticky; top: 7rem; align-self: start; }
}

/* CONTACT: the one red band */
.contact { background: var(--brand-red); color: #fff; padding: 3.5rem 0; }
.contact-grid { display: grid; gap: 1.8rem; }
.contact-title { font-size: clamp(var(--s4), 8vw, var(--s6)); line-height: .96; text-transform: uppercase; max-width: 11ch; }
.contact-sub { margin-top: 1.2rem; font-size: 1.1rem; max-width: 34ch; }
.contact-info p { margin-bottom: .6rem; }
.contact-phone { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(2.8rem, 12vw, 4.6rem); line-height: 1; }
.contact-phone a, .contact-email { text-decoration: none; }
.contact-email { font-size: var(--s1); font-weight: 700; }
.place { font-size: 1rem; margin: .35rem 0 0; }
.contact-hours { font-size: 1rem; }
.contact .place { margin-top: .15rem; }
@media (min-width: 900px) {
  .contact { padding: 6rem 0; }
  .contact-grid { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; }
}

/* FOOTER */
.site-footer { background: var(--ink); color: #fff; padding: 3rem 0 6.5rem; /* clears the sticky call bar on phones */ font-size: .98rem; }
.footer-grid { display: grid; gap: 1.8rem; }
.site-footer p { color: var(--muted-on-dark); margin: .8rem 0 0; max-width: 36ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer nav a { text-decoration: none; padding: .55rem 0; min-height: 2.75rem; display: inline-flex; align-items: center; }
.site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--brand-red-on-dark); text-underline-offset: 4px; }
.legal { font-size: .88rem; max-width: none !important; }
@media (min-width: 700px) { .site-footer { padding-bottom: 2.5rem; } }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 5fr 4fr; align-items: start; }
  .legal { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 1.2rem; }
}

/* STICKY CALL BAR (phones only) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.5fr 1fr; background: var(--ink); border-top: 3px solid var(--brand-red); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; text-decoration: none; font-family: var(--font-display); font-stretch: 85%; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1.1rem; color: #fff; }
.callbar-call { background: var(--brand-red); gap: .4rem; }
.callbar-call .ph { color: #111; font-size: 1rem; }
@media (min-width: 700px) { .callbar { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
