/* ==========================================================================
   The Bitcoin Consultancy: site stylesheet

   One file, no build step, no framework. Tokens and shared chrome first,
   then components, then page-specific sections in the order the site map
   lists them. Mobile first: base rules are the narrow layout and media
   queries add columns as width allows.

   Sibling of walletrecovery.info's system, not a copy: same structural
   vocabulary (topbar, sticky nav with a permanent CTA, mono kickers,
   hairline rules, dark closing sections) with a colder palette and a
   different typeface pairing, so the two brands read as related rather
   than identical. See design/DESIGN.md.
   ========================================================================== */

/* ============ TOKENS ============ */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F3EE;
  --ink: #111827;
  --ink-deep: #0B1220;
  --ink-soft: #4B5563;
  --hairline: #E2DED6;
  --hairline-dark: #25304A;
  --btc: #F7931A;
  --btc-cta: #B8640A;
  --btc-deep: #8F4E08;
  --ok: #1F6F50;

  /* Secondary text on the dark sections. Both clear AA against --ink-deep. */
  --on-dark: #C6D0DE;
  --on-dark-soft: #8FA1B8;

  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: 24px;
}

/* ============ BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.012em; }
.mono { font-family: var(--mono); }
strong { font-weight: 600; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
main, section, .wrap, article { min-width: 0; }

/* Visible keyboard focus everywhere, since the nav and FAQ are
   keyboard-operated by design (no JS menu). */
:focus-visible { outline: 2px solid var(--btc-cta); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink-deep); color: #fff; padding: 12px 20px; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ============ TYPE SCALE ============ */
h1, .h1 { font-size: clamp(32px, 5.2vw, 52px); }
h2, .h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 21px); }
p { max-width: 68ch; }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-soft); line-height: 1.55; }

/* ============ KICKER ============ */
.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btc-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--btc-deep); flex-shrink: 0; }
.section-dark .kicker, .kicker-light { color: var(--btc); }
.section-dark .kicker::before { background: var(--btc); }

/* ============ RULES ============ */
.rule { border: none; border-top: 1px solid var(--hairline); margin: 0; }
.rule-double { border: none; border-top: 1px solid var(--hairline); position: relative; margin: 0; }
.rule-double::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--hairline); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 4px; text-decoration: none;
  border: none; cursor: pointer; text-align: center;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--btc-cta); color: #fff;
  box-shadow: 0 1px 0 var(--btc-deep), 0 8px 18px -10px rgba(184, 100, 10, .7);
}
.btn-primary:hover { background: var(--btc-deep); transform: translateY(-1px); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.section-dark .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.section-dark .btn-ghost:hover { background: #fff; color: var(--ink-deep); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ TOPBAR ============ */
.topbar { background: var(--ink-deep); color: var(--on-dark); font-size: 13px; }
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px 20px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #E6ECF4; text-decoration: none; }
.topbar a:hover { color: var(--btc); }
.topbar .left, .topbar .right { display: flex; gap: 8px 20px; align-items: center; flex-wrap: wrap; }
.topbar .mono { font-size: 12px; letter-spacing: .01em; }
@media (max-width: 600px) { .topbar .right { display: none; } }

/* ============ NAV ============ */
header.site {
  background: var(--bg); border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 100;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 14px; padding-bottom: 14px; position: relative;
}

/* Wordmark: inline SVG circled Bitcoin sign in brand orange, followed by
   the name set in the serif. The mark is an <svg>, not a font glyph, so it
   renders identically before webfonts load. */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo .word { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; line-height: 1.12; color: var(--ink); }

nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a:not(.btn) { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-soft); }
nav.main a:not(.btn):hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); }
nav.main .btn { padding: 10px 18px; font-size: 14px; }

/* Checkbox-driven mobile menu: no JavaScript, so the nav works on a page
   that fails to load anything but HTML and CSS. The CTA button stays
   outside the collapsible list and is visible at every width. */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; cursor: pointer; flex-shrink: 0; padding: 8px 6px;
}
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-cta { flex-shrink: 0; }

@media (max-width: 940px) {
  .nav-burger { display: flex; order: 3; }
  .nav-cta { order: 2; }
  nav.main {
    order: 4; display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--hairline);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 0 12px; box-shadow: 0 18px 32px -18px rgba(11, 18, 32, .3);
  }
  nav.main a { padding: 13px var(--gutter); border-bottom: 1px solid var(--hairline); }
  .nav-toggle:checked ~ nav.main { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* At phone widths the header has to fit a wordmark, a burger, and a CTA
   that never collapses. The wordmark drops to two lines and the CTA sheds
   the word "discovery" (see the .cta-long span in base.njk) rather than the
   button being removed, because the CTA is the point of the header. */
@media (max-width: 560px) {
  header.site .wrap { gap: 10px; }
  .logo svg { width: 26px; height: 26px; }
  .logo .word { font-size: 15px; }
  .nav-cta .btn { padding: 9px 13px; font-size: 13px; }
  .nav-cta .btn .cta-long { display: none; }
}

/* ============ SECTION RHYTHM ============ */
section { padding: 56px 0; }
@media (min-width: 760px) { section { padding: 80px 0; } }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-dark { background: var(--ink-deep); color: #fff; }
.section-dark p, .section-dark li { color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--btc); }

.sec-head { max-width: 660px; margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--ink-soft); font-size: 16.5px; }
.section-dark .sec-head p { color: var(--on-dark); }

/* Page header used by every inner template. */
.page-head { padding: 44px 0 8px; }
@media (min-width: 760px) { .page-head { padding: 64px 0 8px; } }
.page-head h1 { margin-bottom: 14px; }
.page-head .lede { max-width: 62ch; }

/* Breadcrumb trail, mono, above the H1 on inner pages. */
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--btc-deep); }
.crumbs span { color: var(--hairline); margin: 0 6px; }

/* ============ CARDS ============ */
.card {
  background: var(--bg); border: 1px solid var(--hairline); border-radius: 6px;
  padding: 24px 22px; min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -22px rgba(11, 18, 32, .35); border-color: #D3CDC1; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-soft); }
.card .more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--btc-deep); }
.card .more::after { content: " \2192"; }
.card .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--btc-deep); display: block; margin-bottom: 12px; }

.grid-2, .grid-3 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============ WARNING BOX ============ */
.warning-box {
  border: 1.5px solid var(--ink); border-radius: 6px; background: var(--bg);
  padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start;
  margin: 28px 0;
}
.warning-box .flag { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
.warning-box h3 { font-size: 17px; margin-bottom: 6px; }
.warning-box p { font-size: 15px; color: var(--ink-soft); }
.warning-box p + p { margin-top: 8px; }
.warning-box a { color: var(--btc-deep); font-weight: 600; }

/* ============ LEDGER TABLE ============ */
.ledger { border: 1px solid var(--hairline); border-radius: 6px; overflow-x: auto; background: var(--bg); }
.ledger table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.ledger th {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); text-align: left; padding: 13px 18px;
  border-bottom: 1px solid var(--hairline); background: var(--bg-alt); font-weight: 500;
}
.ledger td { padding: 15px 18px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.ledger tr:last-child td { border-bottom: none; }
.ledger td a { color: var(--btc-deep); font-weight: 600; text-decoration: none; }
.ledger td a:hover { text-decoration: underline; }
.ledger .note { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ============ CHECK / CROSS LISTS ============ */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-soft); }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--ok); font-size: 14px; font-weight: 700;
}
.ticks.no li::before { content: "\2715"; color: #9C3A2E; }
.section-dark .ticks li { color: var(--on-dark); }
.section-dark .ticks.no li::before { color: #E88A7C; }
.ticks li strong { color: var(--ink); }
.section-dark .ticks li strong { color: #fff; }

/* ============ FAQ ACCORDION ============ */
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 4px 0;
}
.faq details summary {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  padding: 16px 34px 16px 0; cursor: pointer; position: relative;
  list-style: none; line-height: 1.35;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-family: var(--mono); font-size: 20px; color: var(--btc-deep);
  transition: transform .2s ease; line-height: 1.2;
}
.faq details[open] summary::after { content: "\00D7"; }
.faq details summary:hover { color: var(--btc-deep); }
.faq details > *:not(summary) { font-size: 15.5px; color: var(--ink-soft); padding-bottom: 6px; }
.faq details p { margin-bottom: 12px; }
.faq details ul { margin: 0 0 12px 20px; }
.faq details li { margin-bottom: 8px; }
.faq details a { color: var(--btc-deep); font-weight: 500; }
.faq h2 { margin: 40px 0 8px; font-size: clamp(21px, 2.4vw, 26px); }
.faq h2:first-child { margin-top: 0; }

/* ============ FOOTER ============ */
.final-cta { background: var(--ink-deep); color: #fff; text-align: center; padding: 60px 0; border-top: 4px solid var(--btc); }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { color: var(--on-dark); margin: 0 auto 24px; max-width: 56ch; }
.final-cta .btn-row { justify-content: center; }
.final-cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.final-cta .btn-ghost:hover { background: #fff; color: var(--ink-deep); }
.final-cta .mono-line { font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-soft); margin-top: 22px; }
.final-cta .mono-line a { color: var(--on-dark); text-decoration: none; }
.final-cta .mono-line a:hover { color: var(--btc); }

footer.site-footer { background: var(--ink-deep); color: var(--on-dark-soft); font-size: 14px; border-top: 1px solid var(--hairline-dark); }
footer.site-footer .wrap { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 36px; }
@media (min-width: 640px) { footer.site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { footer.site-footer .wrap { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; } }
footer.site-footer .foot-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #63799A; margin-bottom: 14px; font-weight: 500; }
footer.site-footer a { color: #C6D0DE; text-decoration: none; }
footer.site-footer a:hover { color: var(--btc); }
footer.site-footer ul { list-style: none; display: grid; gap: 9px; }
footer.site-footer .brand .word { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 9px; }
footer.site-footer .brand .word svg { width: 26px; height: 26px; flex-shrink: 0; }
footer.site-footer .brand p { margin-top: 12px; font-size: 13.5px; max-width: 38ch; }
footer.site-footer .sister { font-size: 13px; margin-top: 4px; color: #63799A; }
footer.site-footer .legal { border-top: 1px solid var(--hairline-dark); }
footer.site-footer .legal .wrap {
  display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 18px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6;
}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { padding: 44px 0 40px; }
@media (min-width: 760px) { .hero { padding: 68px 0 56px; } }
.hero .wrap { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--btc-deep); }
.hero .sub { font-size: 17.5px; color: var(--ink-soft); max-width: 54ch; margin-bottom: 26px; line-height: 1.6; }
.hero .sub strong { color: var(--ink); }
.hero .assurance { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); display: flex; gap: 9px; align-items: center; margin-top: 22px; line-height: 1.5; }
.hero .assurance .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }

/* Hairline-framed hero photo. No rotation, no overlap, no parallax: the
   frame is the whole treatment. */
.framed { border: 1px solid var(--hairline); padding: 8px; background: var(--bg); border-radius: 4px; }
.framed img { border-radius: 2px; width: 100%; }
.framed figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 4px 2px; }

/* Credibility strip: mono facts separated by hairlines. */
.credstrip { background: var(--bg-alt); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.credstrip .wrap { padding-top: 20px; padding-bottom: 20px; }
.credstrip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .02em; }
.credstrip li { padding: 2px 18px; border-right: 1px solid var(--hairline); line-height: 1.5; }
.credstrip li:first-child { padding-left: 0; }
.credstrip li:last-child { border-right: none; }
.credstrip a { color: var(--btc-deep); text-decoration: none; font-weight: 500; }
.credstrip a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .credstrip ul { display: grid; gap: 8px; }
  .credstrip li { padding: 0; border-right: none; }
}

/* Three-way router: the "which of these is you" cards under the hero. */
.router { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; }
@media (min-width: 860px) { .router { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.router a { background: var(--bg); padding: 28px 24px; text-decoration: none; display: block; transition: background .18s ease; }
.router a:hover { background: var(--bg-alt); }
.router .say { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.012em; }
.router .say::before { content: "\201C"; color: var(--btc); }
.router .say::after { content: "\201D"; color: var(--btc); }
.router p { font-size: 14.5px; color: var(--ink-soft); }
.router .go { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--btc-deep); }
.router .go::after { content: " \2192"; }

/* About teaser: portrait beside a short bio. */
.teaser .wrap { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) { .teaser .wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; } }
.teaser p { margin-bottom: 16px; color: var(--ink-soft); font-size: 16.5px; }

/* Media teaser strip on the homepage. */
.media-strip { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .media-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   SERVICES INDEX + SERVICE PAGES
   ========================================================================== */
.svc-list { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; }
@media (min-width: 820px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-list > a:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.svc-list > a { background: var(--bg); padding: 30px 26px; text-decoration: none; display: block; transition: background .18s ease; }
.svc-list > a:hover { background: var(--bg-alt); }
.svc-list .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--btc-deep); display: block; margin-bottom: 12px; }
.svc-list h3 { margin-bottom: 8px; font-size: 20px; }
.svc-list p { font-size: 15px; color: var(--ink-soft); }
.svc-list .go { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--btc-deep); }
.svc-list .go::after { content: " \2192"; }

/* Body copy for Markdown-rendered pages (service.njk and page.njk). */
.body { max-width: 720px; padding: 32px 0 8px; }
.body p { font-size: 16.5px; margin-bottom: 20px; color: #22283A; }
.body h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 40px 0 14px; }
.body h3 { font-size: 18.5px; margin: 28px 0 10px; }
.body ul, .body ol { margin: 0 0 22px 22px; font-size: 16.5px; color: #22283A; }
.body li { margin-bottom: 9px; }
.body li > ul { margin-top: 9px; margin-bottom: 0; }
.body a { color: var(--btc-deep); font-weight: 500; }
.body blockquote {
  border-left: 3px solid var(--btc); padding: 4px 0 4px 20px; margin: 0 0 22px;
  font-family: var(--serif); font-size: 18px; color: var(--ink-soft);
}
.body hr { border: none; border-top: 1px solid var(--hairline); margin: 36px 0; }
.body table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 22px; }
.body th, .body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.body th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

/* Sidebar rail on service pages: at-a-glance facts plus the sister-site
   pointer. Stacks under the body on narrow screens. */
.svc-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 940px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.rail { position: sticky; top: 84px; display: grid; gap: 18px; }
@media (max-width: 939px) { .rail { position: static; } }
.rail .box { border: 1px solid var(--hairline); border-radius: 6px; padding: 20px; background: var(--bg-alt); }
.rail .box h3 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-bottom: 12px; }
.rail dl { display: grid; gap: 10px; font-size: 14.5px; }
.rail dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.rail dd { color: var(--ink); }
.rail .box p { font-size: 14.5px; color: var(--ink-soft); }
.rail .box a { color: var(--btc-deep); font-weight: 600; }
.rail .btn { width: 100%; justify-content: center; }

/* ==========================================================================
   MEDIA
   ========================================================================== */
.vids { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vids { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vid { min-width: 0; }
.vid .frame {
  position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--hairline);
  border-radius: 6px; overflow: hidden; background: var(--ink-deep);
  width: 100%; padding: 0; cursor: pointer; display: block;
}
.vid .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s ease, transform .3s ease; }
.vid .frame:hover img { opacity: 1; transform: scale(1.03); }
.vid .frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.vid .play span {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; color: var(--ink-deep);
  font-size: 17px; padding-left: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.vid .frame:hover .play span { transform: scale(1.08); }
.vid h3 { font-size: 16.5px; margin-top: 12px; line-height: 1.35; }
.vid h3 a { text-decoration: none; }
.vid h3 a:hover { color: var(--btc-deep); }
.vid .show { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

.audio-list { list-style: none; border-top: 1px solid var(--hairline); }
.audio-list li { border-bottom: 1px solid var(--hairline); padding: 18px 0; display: grid; gap: 4px; }
.audio-list .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--btc-deep); }
.audio-list h3 { font-size: 18px; }
.audio-list h3 a { text-decoration: none; }
.audio-list h3 a:hover { color: var(--btc-deep); }
.audio-list p { font-size: 14.5px; color: var(--ink-soft); }
.audio-list p a { color: var(--btc-deep); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-top { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) { .about-top { grid-template-columns: 320px minmax(0, 1fr); gap: 52px; } }
.verify { list-style: none; display: grid; gap: 12px; }
.verify li { font-size: 15.5px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.verify li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 700; font-size: 14px; }
.verify a { color: var(--btc-deep); font-weight: 500; }
.verify .mono { font-size: 13.5px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }

form.inquiry { display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  padding: 11px 13px; border: 1px solid #CFCABE; border-radius: 4px;
  background: var(--bg); width: 100%; min-width: 0;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--btc-cta); outline: 2px solid rgba(184, 100, 10, .25); outline-offset: 0; }
.field-note { font-size: 13.5px; color: var(--ink-soft); }
.frow { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .frow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Honeypot: positioned off-screen rather than display:none, because the
   bots worth catching skip display:none fields. api/contact.php rejects any
   submission where this arrives non-empty. */
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

form.inquiry .btn { justify-self: start; }
.submit-note { font-size: 13.5px; color: var(--ink-soft); }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 4px; display: none; }
.form-msg.ok { display: block; background: #EAF3EE; border: 1px solid var(--ok); color: #17513A; }
.form-msg.err { display: block; background: #FBEDEB; border: 1px solid #9C3A2E; color: #7C2E24; }

.contact-facts { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.contact-facts .box { border: 1px solid var(--hairline); border-radius: 6px; padding: 22px; background: var(--bg-alt); }
.contact-facts h2 { font-size: 19px; margin-bottom: 10px; }
.contact-facts dl { display: grid; gap: 12px; font-size: 15px; }
.contact-facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-facts dd a { color: var(--btc-deep); font-weight: 600; text-decoration: none; }
.contact-facts dd a:hover { text-decoration: underline; }

/* The email address is a single 33-character token and the phone number is
   nearly as long. `overflow-wrap: break-word` lets them wrap visually but
   does not shrink the element's min-content width, so a grid or flex track
   still sizes to the whole word and the layout pushes past the viewport at
   360px. `anywhere` is the variant that also reduces min-content, which is
   what these narrow columns need. */
.contact-facts dd, .contact-facts dd a, .warning-box p, .final-cta .mono-line,
.topbar a, footer.site-footer .legal .wrap { overflow-wrap: anywhere; }

.steps { counter-reset: step; display: grid; }
.steps .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hairline); counter-increment: step; }
.steps .step:first-child { border-top: 1px solid var(--hairline); }
.steps .step .no::before { content: "0" counter(step); font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 500; color: var(--btc-deep); }
.steps .step h3 { font-size: 17.5px; margin-bottom: 4px; }
.steps .step p { font-size: 15px; color: var(--ink-soft); }

/* ==========================================================================
   404
   ========================================================================== */
.notfound { padding: 72px 0 88px; text-align: center; }
.notfound .code { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--btc-deep); margin-bottom: 14px; }
.notfound p { margin: 0 auto 26px; }
.notfound .btn-row { justify-content: center; }
.notfound ul { list-style: none; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 34px; font-size: 15px; }
.notfound ul a { color: var(--btc-deep); font-weight: 500; }

/* ============ SPACING UTILITIES ============ */
/* A deliberately tiny set. Everything else is a component rule; these exist
   only so no template has to carry an inline style attribute. */
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 40px; }
.pt-0 { padding-top: 0; }

/* ============ MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  a.card:hover, .btn-primary:hover { transform: none; }
  .vid .frame:hover img { transform: none; }
}

/* ============ PRINT ============ */
@media print {
  .topbar, header.site, .final-cta, footer.site-footer, .rail, .nav-burger { display: none !important; }
  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
