  /* ============================================================
     RTG design system
     Spacing: 8pt scale. Type: 1.25 (major third) scale, 17px base.
     Colour: white + cool grey surfaces, terracotta accent, ink.
     ============================================================ */
  :root {
    --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
    --t-xs: 13px; --t-sm: 14.5px; --t-base: 17px; --t-md: 21px; --t-lg: 26px;
    --t-xl: clamp(28px, 2.6vw, 33px); --t-2xl: clamp(32px, 3.4vw, 41px); --t-3xl: clamp(40px, 5.2vw, 64px);
    --white: #ffffff; --grey: #f3f4f6; --grey-2: #e9ebee;
    --clay: #9c3c25; --clay-deep: #5c281a; --ink: #1f1a17; --ink-2: #4b5563; --muted: #6b7280;
    --line: rgba(17,24,39,.10); --on-dark: rgba(255,255,255,.8);
    --sans: "Helvetica Neue", Helvetica, "Arial Nova", Arial, sans-serif;
    --gutter: clamp(20px, 4.5vw, 64px); --maxw: 1240px; --measure: 62ch;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--t-base); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
  section { position: relative; scroll-margin-top: 72px; }
  .sec { padding: var(--s7) 0; }
  .wordmark { font-weight: 800; letter-spacing: .01em; line-height: 1; }
  .kicker { font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--s2); }
  h2 { font-size: var(--t-2xl); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
  .lead { font-size: var(--t-md); line-height: 1.5; color: var(--ink-2); max-width: var(--measure); margin-top: var(--s3); text-wrap: pretty; }
  .ico { width: 28px; height: 28px; fill: none; stroke: var(--clay); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 52px; font-size: var(--t-sm); font-weight: 700; padding: 0 var(--s3); border: 1.5px solid; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
  .btn .arr { transition: transform .2s; }
  .btn:hover .arr { transform: translateX(4px); }
  .btn-white { background: #fff; border-color: #fff; color: var(--clay-deep); }
  .btn-white:hover { background: transparent; color: #fff; }
  .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
  .btn-ghost:hover { background: #fff; color: var(--clay); }
  .btn-clay { background: var(--clay); border-color: var(--clay); color: #fff; }
  .btn-clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
  .wa svg { width: 18px; height: 18px; fill: currentColor; }

  /* header */
  .site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
  .site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .site-header .brand { font-size: var(--t-lg); }
  .site-header nav { display: flex; gap: var(--s4); align-items: center; }
  .site-header nav a { font-size: var(--t-sm); font-weight: 600; }
  .site-header nav .nav-cta { border: 1.5px solid currentColor; padding: var(--s1) var(--s2); }
  .site-header.scrolled { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .menu-btn { display: none; background: none; border: 0; padding: var(--s1); cursor: pointer; color: inherit; }
  .menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }

  /* hero: split, photo right */
  .hero { background: var(--clay); color: #fff; overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(760px, 92svh); }
  .hero-copy { padding: calc(72px + var(--s7)) var(--s6) var(--s7) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; position: relative; }
  .hero h1 { font-size: var(--t-3xl); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; }
  .hero .sub { font-size: var(--t-md); line-height: 1.5; margin-top: var(--s3); max-width: 34ch; color: #fff; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
  .hero .note { margin-top: var(--s4); font-size: var(--t-sm); color: var(--on-dark); max-width: 44ch; }
  .hero .note b { color: #fff; }
  .hero-photo { position: relative; min-height: 420px; }
  .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
  .hero .ghost-mark { position: absolute; right: -30px; top: 60px; width: 220px; fill: var(--clay-deep); opacity: .3; pointer-events: none; }
  .hero-copy > *:not(.ghost-mark) { position: relative; z-index: 1; }

  /* worked with */
  .worked { border-bottom: 1px solid var(--line); padding: var(--s5) 0; }
  .worked small { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }
  .orgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); }
  .orgs span { background: var(--grey); padding: var(--s3) var(--s2); min-height: 76px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: var(--t-sm); font-weight: 700; line-height: 1.3; color: var(--ink); }
  @media (max-width: 860px) { .orgs { grid-template-columns: 1fr 1fr; } }

  /* anchors */
  .anchors-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: center; }
  .anchors-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; }
  .anchor-list { margin-top: var(--s5); display: grid; gap: var(--s4); }
  .anchor { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); }
  .anchor h3 { font-size: var(--t-md); font-weight: 700; line-height: 1.25; margin-bottom: var(--s1); }
  .anchor p { color: var(--ink-2); max-width: 52ch; }

  /* selected work */
  .work { background: var(--grey); }
  .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
  .case { background: #fff; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
  .case .who { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
  .case h3 { font-size: var(--t-md); font-weight: 700; line-height: 1.3; }
  .case dl { margin: 0; display: grid; gap: var(--s2); }
  .case dt { font-size: var(--t-xs); font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
  .case dd { margin: 2px 0 0; font-size: var(--t-sm); color: var(--ink-2); }
  .quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s3); }
  .quote { background: #fff; padding: var(--s4); border-left: 3px solid var(--clay); }
  .quote blockquote { font-size: var(--t-md); line-height: 1.45; font-weight: 500; }
  .quote figcaption { margin-top: var(--s2); font-size: var(--t-sm); color: var(--muted); }
  .quote figcaption b { color: var(--ink); }
  .ph { color: var(--muted); background: repeating-linear-gradient(90deg, rgba(156,60,37,.08) 0 6px, transparent 6px 12px); padding: 0 4px; }

  /* services */
  .svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: end; }
  .svc-head .lead { margin-top: 0; }
  .for { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
  .for span { font-size: var(--t-xs); font-weight: 600; background: var(--grey); padding: 6px 12px; color: var(--ink-2); }
  .svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s5); }
  .svc { background: var(--grey); padding: var(--s4) var(--s3) var(--s3); display: flex; flex-direction: column; border-top: 3px solid transparent; transition: background .2s, border-color .2s; }
  .svc:hover, .svc.active { background: var(--grey-2); }
  .svc.active { border-top-color: var(--clay); }
  .svc .ico { margin-bottom: var(--s3); }
  .svc h3 { font-size: var(--t-md); font-weight: 700; line-height: 1.25; }
  .svc p { font-size: var(--t-sm); color: var(--ink-2); margin: var(--s1) 0 var(--s3); }
  .svc .more { margin-top: auto; background: none; border: 0; padding: 0; font: inherit; font-size: var(--t-sm); font-weight: 700; color: var(--clay); cursor: pointer; text-align: left; }
  .svc .more:hover { text-decoration: underline; }
  .panel { margin-top: var(--s2); background: var(--grey); padding: var(--s5); }
  .panel[hidden] { display: none; }
  .panel-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s3); }
  .panel-top h3 { font-size: var(--t-lg); font-weight: 700; }
  .panel-top button { background: none; border: 0; font: inherit; font-size: var(--t-sm); font-weight: 700; color: var(--muted); cursor: pointer; }
  .flow { list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); counter-reset: f; }
  .flow li { counter-increment: f; background: #fff; padding: var(--s1) var(--s2); font-size: var(--t-sm); font-weight: 700; }
  .flow li::before { content: counter(f) "  "; color: var(--clay); white-space: pre; }
  .pcols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s4); }
  .pcols h4 { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--s2); }
  .pcols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
  .pcols li, .pcols .fine { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
  .pcols .btn { margin-top: var(--s3); }

  /* band */
  .band { background: var(--clay); color: #fff; padding: var(--s6) 0; overflow: hidden; }
  .band .ghost-mark { position: absolute; right: -40px; top: -60px; width: 340px; fill: var(--clay-deep); opacity: .35; }
  .band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
  .band p { font-size: var(--t-2xl); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
  .band p span { opacity: .55; }

  /* liberiaworks */
  .lw { background: var(--ink); color: #fff; overflow: hidden; }
  .lw .kicker { color: #e2a88d; }
  .lw .lead { color: var(--on-dark); }
  .lw-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: center; }
  .lw .link { display: inline-flex; gap: var(--s1); margin-top: var(--s4); font-weight: 700; font-size: var(--t-sm); border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 3px; }
  .shot { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
  .shot .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--grey-2); }
  .shot .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #c9cdd3; }
  .shot .chrome span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; padding: 3px 10px; flex: 1; max-width: 240px; }
  .system { margin-top: var(--s6); background: #fff; color: var(--ink); padding: var(--s4); }
  .sys-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s3); }
  .sys-head b { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
  .sys-head span { font-size: var(--t-xs); color: var(--muted); }
  .sys-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
  .actor { background: var(--grey); padding: var(--s2) var(--s3); }
  .actor b { display: block; font-size: var(--t-sm); margin-bottom: var(--s1); }
  .actor ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
  .actor li { font-size: var(--t-xs); color: var(--ink-2); }
  .hub { margin: var(--s2) 0; background: var(--clay); color: #fff; padding: var(--s2) var(--s3); display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
  .hub b { font-size: var(--t-base); }
  .hub span { font-size: var(--t-xs); color: var(--on-dark); }
  .arrows { display: flex; justify-content: space-around; color: var(--clay); line-height: 1; }

  /* contact */
  .contact { background: var(--clay-deep); color: #fff; }
  .contact .kicker { color: #e2a88d; }
  .contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: start; }
  .contact h2 { font-size: var(--t-2xl); max-width: 14ch; }
  .next { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); counter-reset: n; }
  .next li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: var(--s2); color: var(--on-dark); font-size: var(--t-sm); }
  .next li::before { content: counter(n); width: 32px; height: 32px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-weight: 700; color: #fff; }
  .next li b { display: block; color: #fff; font-size: var(--t-base); }
  .reach { margin-top: var(--s5); display: grid; max-width: 340px; }
  .reach .name { font-weight: 800; margin-bottom: var(--s2); }
  .reach a { display: flex; align-items: center; gap: var(--s2); padding: var(--s2) 0; font-weight: 600; border-top: 1px solid rgba(255,255,255,.14); }
  .reach a:first-of-type { border-top: 0; }
  .reach a svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
  .reach a.wa svg { fill: currentColor; stroke: none; }
  form { display: grid; gap: var(--s2); background: rgba(255,255,255,.06); padding: var(--s4); }
  form .ftitle { font-size: var(--t-md); font-weight: 700; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .followup[hidden] { display: none; }
  label { display: grid; gap: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--on-dark); }
  input, select, textarea { font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.09); border: 0; padding: 12px; min-height: 48px; width: 100%; min-width: 0; max-width: 100%; }
  .contact-grid > *, .two > *, form > * { min-width: 0; }
  textarea { min-height: 0; }
  input::placeholder, textarea::placeholder { color: rgba(255,255,255,.45); }
  select option { color: var(--ink); }
  input:focus, select:focus, textarea:focus { outline: 2px solid #fff; }
  button[type=submit] { justify-self: start; }
  .form-note { font-size: var(--t-sm); color: var(--on-dark); }
  .form-note a { color: #fff; text-decoration: underline; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .sent { background: rgba(255,255,255,.06); padding: var(--s5) var(--s4); }
  .sent h3 { font-size: var(--t-lg); margin-bottom: var(--s2); }
  .sent p { color: var(--on-dark); }
  form { position: relative; }
  button[disabled] { opacity: .6; cursor: wait; }
  .foot { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: var(--t-xs); color: rgba(255,255,255,.6); }
  .foot a:hover { color: #fff; }

  @media (max-width: 1000px) {
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    .pcols { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 860px) {
    .hero-grid, .anchors-grid, .svc-head, .lw-grid, .contact-grid, .quotes { grid-template-columns: 1fr; }
    .hero-copy { padding: calc(72px + var(--s6)) var(--gutter) var(--s6); }
    .hero-photo { min-height: 300px; }
    .anchors-photo img { aspect-ratio: 16 / 10; }
  }
  @media (max-width: 640px) {
    .sec { padding: var(--s6) 0; }
    .site-header nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: var(--s2); background: var(--ink); color: #fff; padding: var(--s3) var(--gutter) var(--s4); }
    .site-header nav.open { display: flex; }
    .menu-btn { display: block; }
    .svc-grid, .pcols, .two, .sys-row { grid-template-columns: 1fr; }
    .panel, form { padding: var(--s3); }
    .arrows { display: none; }
    .hero .ghost-mark { width: 220px; left: auto; right: -60px; bottom: -60px; }
  }
/* ---------- service pages ---------- */
.page-hero { background: var(--clay); color: #fff; padding: calc(72px + var(--s6)) 0 var(--s6); overflow: hidden; }
.page-hero .ghost-mark { position: absolute; right: -40px; top: 40px; width: 240px; fill: var(--clay-deep); opacity: .3; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumb { font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: var(--s3); }
.crumb a:hover { color: #fff; }
.page-hero h1 { font-size: var(--t-2xl); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; max-width: 18ch; }
.page-hero .sub { font-size: var(--t-md); line-height: 1.5; margin-top: var(--s3); max-width: 52ch; color: #fff; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.prose { max-width: var(--measure); }
.prose p { color: var(--ink-2); margin-bottom: var(--s3); }
.prose p:last-child { margin-bottom: 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s5); }
.deliver h3, .faq h3 { font-size: var(--t-md); font-weight: 700; margin-bottom: var(--s3); }
.deliver ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.deliver li { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; padding-left: var(--s3); position: relative; }
.deliver li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--clay); }
.faq { background: var(--grey); }
.faq dl { display: grid; gap: var(--s4); margin: var(--s5) 0 0; max-width: 80ch; }
.faq dt { font-size: var(--t-md); font-weight: 700; margin-bottom: var(--s1); }
.faq dd { margin: 0; color: var(--ink-2); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s5); }
.related a { background: var(--grey); padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); }
.related a:hover { background: var(--grey-2); }
.related b { font-size: var(--t-base); }
.related span { font-size: var(--t-sm); color: var(--ink-2); }
.cta-strip { background: var(--clay); color: #fff; padding: var(--s6) 0; }
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.cta-strip h2 { color: #fff; font-size: var(--t-xl); max-width: 20ch; }
@media (max-width: 860px) { .cols2, .related { grid-template-columns: 1fr; } }
