/* Bellcrank GTM tokens */
:root {
  --ink: #1C2833;
  --steel: #50667A;
  --rule: #C7CED3;
  --paper: #F1F3F1;
  --plate: #E3E8E8;
  --signal: #F2B705;
  --signal-deep: #C99500;
  --measure: 64ch;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 1.125rem; line-height: 1.6; font-variation-settings: "wdth" 100; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--signal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, .display { font-family: var(--f); font-stretch: 118%; font-variation-settings: "wdth" 118; line-height: 1.08; letter-spacing: -0.012em; margin: 0; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 760; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); font-weight: 720; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.muted { color: var(--steel); }
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; font-variation-settings: "wdth" 125; font-stretch: 125%; letter-spacing: -0.01em; }
.wordmark .mark { width: 30px; height: 30px; }
.wordmark-sub { font-weight: 500; color: var(--steel); font-variation-settings: "wdth" 100; font-stretch: 100%; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); font-size: 1rem; }
.site-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.site-nav .nav-cta { padding: 8px 16px; background: var(--ink); color: var(--paper); border: 0; border-radius: 3px; }
.site-nav .nav-cta:hover { background: #2B3C4B; }
.site-nav .nav-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-block; font-weight: 650; font-size: 1.05rem; padding: 14px 24px; border-radius: 3px; text-decoration: none; border: 2px solid var(--ink); line-height: 1.2; }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: #FFC61A; text-decoration: none; }
.btn-quiet { background: transparent; }
.btn-quiet:hover { background: var(--plate); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 58ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin-top: 16px; color: var(--steel); }
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 26px; max-width: 46ch; }
.mechanism-fig { margin: 0; }
.mechanism { width: 100%; height: auto; cursor: pointer; }
.mechanism-fig figcaption { font-size: 0.95rem; color: var(--steel); max-width: 40ch; margin-top: 10px; }
.page-intro { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-intro h1 { max-width: 18ch; }
.page-intro .lede { margin-top: 22px; max-width: 52ch; }
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 4vw, 56px); padding: 30px 0; border-bottom: 1px solid var(--rule); }
.row h3 { max-width: 18ch; }
.row p:last-child { margin-bottom: 0; }
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--rule); }
.service:first-of-type { border-top: 2px solid var(--ink); }
.service h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); max-width: 14ch; }
.service .for { margin-top: 14px; font-size: 1rem; color: var(--steel); max-width: 30ch; }
.service h3 { font-size: 1rem; font-variation-settings: "wdth" 100; font-stretch: 100%; font-weight: 700; margin: 22px 0 8px; }
.service ul { margin: 0; padding-left: 1.1em; max-width: var(--measure); }
.service li { margin-bottom: 6px; }
.service li::marker { color: var(--signal-deep); }
.service-index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.service-index li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.service-index li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.service-index a { text-decoration: none; display: block; }
.service-index a:hover h3 { text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.service-index p { margin: 8px 0 0; color: var(--steel); font-size: 1.02rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: 1.05rem; background: var(--paper); }
.steps li:first-child::before { background: var(--signal); }
.steps li::after { content: ""; position: absolute; top: 20px; left: 48px; right: calc(-1 * clamp(16px, 3vw, 36px) + 8px); height: 2px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: 1.02rem; }
.shapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); }
.shape { padding: clamp(24px, 3vw, 36px); }
.shape + .shape { border-left: 1px solid var(--rule); }
.shape h3 { margin-bottom: 6px; }
.shape .term { font-size: 1rem; color: var(--steel); margin-bottom: 16px; }
.shape p:last-child { margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--rule); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li:first-child::before { background: var(--signal); }
.timeline strong { display: block; font-weight: 700; }
.timeline span { color: var(--steel); font-size: 1rem; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.skills li { border: 1px solid var(--steel); border-radius: 3px; padding: 4px 10px; font-size: 0.95rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.contact-card { background: var(--plate); border-radius: 4px; padding: clamp(24px, 3.5vw, 40px); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.contact-card .btn { margin-top: 8px; }
.contact-email { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; font-variation-settings: "wdth" 112; font-stretch: 112%; word-break: break-word; }
.checklist { padding-left: 1.1em; margin: 0; }
.checklist li { margin-bottom: 10px; }
.checklist li::marker { color: var(--signal-deep); }
.band { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.band h2 { max-width: 20ch; }
.band p { color: #C9D3DB; margin: 16px 0 0; }
.band .btn { border-color: var(--signal); }
.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 48px; font-size: 0.98rem; color: var(--steel); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; }
.footer-brand { color: var(--ink); font-weight: 750; font-variation-settings: "wdth" 118; font-stretch: 118%; margin-bottom: 6px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-copy { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; }
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .mechanism-fig { max-width: 440px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .shapes { grid-template-columns: 1fr; }
  .shape + .shape { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  .header-inner { flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px; min-height: 0; row-gap: 8px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 0.98rem; }
  .site-nav .nav-cta { padding: 7px 12px; }
  .row, .service { grid-template-columns: 1fr; }
  .service-index { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .band-inner, .footer-inner { grid-template-columns: 1fr; }
}
