/* rkbillones.com – brand: Deep Navy #0B2341, Signal Teal #0E7C86, Mist #E6F2F3, Inter */
:root {
  --navy: #0B2341;
  --navy-2: #13325A;
  --teal: #0E7C86;
  --teal-d: #0A6169;
  --mint: #9FD3D7;
  --mist: #E6F2F3;
  --ink: #1D2733;
  --grey: #5F6B7A;
  --line: #DCE3E8;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FA;
  --radius: 10px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(11, 35, 65, .06), 0 6px 20px rgba(11, 35, 65, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Logo */
.logo { display: inline-flex; align-items: flex-end; font-weight: 700; color: var(--navy); letter-spacing: -0.04em; line-height: 1; }
.logo-word { font-size: 30px; }
.logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin: 0 0 4px 2px; }
.logo-rev { color: #fff; }
.logo-rev .logo-dot { background: var(--mint); }
.logo-xl .logo-word { font-size: 96px; }
.logo-xl .logo-dot { width: 22px; height: 22px; margin-bottom: 12px; margin-left: 5px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-name { font-size: .82rem; font-weight: 600; color: var(--navy); letter-spacing: .06em; text-transform: uppercase; padding-left: 14px; border-left: 2px solid var(--line); }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { background: var(--mist); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }
.more-light { color: var(--mint); }
.more-light:hover { color: #fff; }

/* Eyebrow + lead */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow-light { color: var(--mint); }
.lead { font-size: 1.18rem; color: var(--grey); max-width: 46em; }
.lead-sm { font-size: 1.06rem; color: var(--grey); }
.note { font-size: .9rem; color: var(--grey); margin-top: 16px; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 15em; }
.network { width: 100%; height: auto; }
.network .edges line { stroke: var(--teal); stroke-width: 2; opacity: .55; }
.network .nodes circle { fill: var(--mint); }
.network .nodes circle.hub { fill: var(--navy); }
.page-hero { padding: 64px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }

/* Stats */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { display: block; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.stat-l { display: block; font-size: .92rem; color: var(--mint); line-height: 1.45; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 36px; }
.band { background: var(--navy); color: #DCE7F0; }
.band h2 { color: #fff; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; }
.svc p { color: var(--grey); font-size: .97rem; flex: 1; }
.svc-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon-lg { width: 64px; height: 64px; }
.svc-icon-lg svg { width: 36px; height: 36px; }

/* Credentials */
.cred-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cred-grid li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.cred-grid strong { display: block; color: var(--navy); margin-bottom: 4px; }
.cred-grid span { color: var(--grey); font-size: .95rem; }

/* CTA */
.cta { background: var(--mist); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.portrait { margin: 0; position: sticky; top: 100px; }
.portrait img, .portrait-ph { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; }
.portrait-ph { background: var(--mist); display: grid; place-items: center; }
.prose { max-width: 44em; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.plain { padding-left: 1.1em; }
.plain li { margin-bottom: .5em; }

/* Services */
.stack { display: grid; gap: 28px; }
.svc-block { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 96px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 18px; }
.two-col.wide { grid-template-columns: 1.6fr 1fr; gap: 56px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--teal); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps strong { display: block; color: var(--navy); }
.steps span:last-child { color: var(--grey); font-size: .93rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; background: var(--navy); color: #fff; font-weight: 600; padding: 12px 16px; white-space: nowrap; }
td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) td { background: #FAFCFD; }
td .sub { display: block; color: var(--grey); font-size: .88rem; margin-top: 3px; }
.nowrap { white-space: nowrap; }

/* Insights + contact */
.side h3 { margin-bottom: 12px; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; text-decoration: none; font-weight: 600; }
.links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
a.contact-card:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.contact-card svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.8; margin-bottom: 10px; }
.cc-l { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.cc-v { font-weight: 600; color: var(--navy); word-break: break-word; }
.inquiry h2 { font-size: 1.3rem; }

/* Footer */
.site-footer { background: var(--navy); color: #C8D6E3; padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 40px; padding-bottom: 40px; }
.footer-desc { margin-top: 16px; color: #fff; font-weight: 500; }
.footer-tag { color: var(--mint); }
.footer-h { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.contact-list, .footer-nav { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.contact-list svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--mint); stroke-width: 1.8; }
.footer-nav li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px; font-size: .82rem; color: #93A7BC; }
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-name { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); }
  .hero-grid, .split, .about-grid, .two-col, .two-col.wide { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 16px; border-left: 0; }
  .stat:first-child { padding-left: 16px; }
  .portrait { position: static; max-width: 260px; }
  .svc-block { grid-template-columns: 1fr; padding: 26px; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid-4, .contact-grid, .steps, .cred-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
}
