/* ============================================================================
   Revolution Analytics — rebuilt from the company's own archived site
   ----------------------------------------------------------------------------
   The 2014 site (Drupal, theme "rva_theme") survived in the Internet Archive.
   Its stylesheet gives the brand values restored here:

     orange   #F15D22   the logo's R and the calls to action
     grey     #6D6E71   body text and rules
     light    #E6E6E6 / #DDDDDD
     type     Rokkitt (slab display) and Open Sans (body)

   The layout follows the original's shape: a white masthead with the wordmark,
   a horizontal navigation, a hero with a single strong statement, the product
   family as cards, the customer wall, and a grey footer with the three offices.

   Contrast note: orange on white measures 2.9:1, so orange is used for fills
   and rules, and text links use a darkened #C4461A; buttons are #C4461A with
   white text. sources.html records this.
   ========================================================================== */

@font-face { font-family: 'Rokkitt'; src: url('../font/Rokkitt.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../font/OpenSans.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }

:root {
  --orange: #f15d22;
  --orange-dk: #c4461a;
  --orange-pale: #fdf0ea;
  --grey: #6d6e71;
  --ink: #2b2c2e;
  --text: #4a4b4e;
  --soft: #67696c;
  --paper: #ffffff;
  --paper-2: #f4f5f6;
  --line: #e3e4e6;
  --line-2: #cfd1d4;
  --wrap: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: 'Open Sans', -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: 'Rokkitt', Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--orange-dk); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .7rem; line-height: 1.1; font-weight: 400; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.28rem; font-weight: 600; }
h4 { font-size: 1.04rem; font-weight: 600; font-family: var(--font); }
p { margin: 0 0 1.05rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 3.6vw, 2.4rem); }
.center { text-align: center; }
.muted { color: var(--soft); }
.small { font-size: .9rem; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 1.9rem; } .mt-4 { margin-top: 2.6rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1.1rem; z-index: 999; }
.skip:focus { left: .5rem; top: .5rem; }

.eyebrow { font-family: var(--display); font-size: .9rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-dk); margin: 0 0 .6rem; }
.rule { width: 56px; height: 3px; background: var(--orange); margin: 0 0 1.2rem; }
.center .rule { margin-inline: auto; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--grey); max-width: 60ch; }
.center .lede { margin-inline: auto; }

/* ------------------------------------------------------------------- header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 78px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav a { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; padding: .55rem .75rem; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--orange-dk); border-bottom-color: var(--orange); }
.nav a[aria-current="page"] { color: var(--orange-dk); border-bottom-color: var(--orange); }
.header-cta { margin-left: .8rem; }
.nav-toggle { display: none; width: 44px; height: 40px; background: none; border: 1px solid var(--line-2); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }
@media (max-width: 1040px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}
.drawer { position: fixed; inset: 0 0 auto; z-index: 190; background: var(--ink); color: #fff; padding: 1rem 0 1.4rem; transform: translateY(-102%); visibility: hidden; transition: transform .26s var(--ease); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer a { display: block; padding: .8rem .2rem; color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------- hero */
.hero { background: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; padding: clamp(2.6rem, 5.4vw, 4.4rem) 0; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.hero h1 em { font-style: normal; color: var(--orange-dk); }
.hero p { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--grey); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-media img { width: 100%; max-width: 460px; margin-inline: auto; }

/* page hero */
.page-hero { background: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: clamp(2.2rem, 4.4vw, 3.4rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .lede { margin-bottom: 0; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(2.6rem, 5.4vw, 4.2rem) 0; }
.section-panel { background: var(--paper-2); }
.section-ink { background: #3b3c3e; color: #d5d6d8; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #d5d6d8; }
.section-ink .eyebrow { color: #ffa582; }
.section-ink a { color: #ffc3ab; }
.section-ink a.btn-primary, .section-ink a.btn-primary:hover { color: #fff; }
.section-head { max-width: 50rem; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4.6vw, 3.4rem); align-items: center; }
.split-wide { grid-template-columns: 1.16fr .84fr; }
.split-narrow { grid-template-columns: .92fr 1.08fr; }
@media (max-width: 880px) { .split, .split-wide, .split-narrow { grid-template-columns: 1fr; } }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: 1.5rem 1.5rem 1.4rem; }
.section-ink .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); border-top-color: var(--orange); }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .95rem; color: var(--text); }
.card p:last-child { margin-bottom: 0; }
.section-ink .card p { color: #d5d6d8; }

/* product rows */
.prod { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
.prod:last-child { border-bottom: 0; }
.prod.flip > .prod-media { order: -1; }
@media (max-width: 820px) { .prod { grid-template-columns: 1fr; } .prod.flip > .prod-media { order: 0; } }
.prod h3 { font-size: 1.5rem; }
.prod .kicker { font-family: var(--display); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-dk); }

/* customer wall */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .wall { grid-template-columns: repeat(2, 1fr); } }
.wall .chip { display: grid; place-items: center; min-height: 76px; padding: .7rem; border: 1px solid var(--line); background: #fff; font-family: var(--display); font-size: .95rem; color: var(--ink); text-align: center; }

/* case list */
.cases { list-style: none; margin: 0; padding: 0; }
.cases li { border-bottom: 1px solid var(--line); padding: .95rem 0; }
.cases li:first-child { border-top: 1px solid var(--line); }
.cases h3 { font-size: 1rem; font-family: var(--font); font-weight: 600; margin: 0; }

/* people */
.person { border-top: 3px solid var(--orange); padding-top: .9rem; }
.person h3 { font-size: 1.08rem; margin-bottom: .1rem; }
.person .role { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dk); margin: 0 0 .5rem; }
.person p { font-size: .93rem; margin: 0; }

/* lists */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 8px; height: 8px; background: var(--orange); }

.specs { list-style: none; margin: 0; padding: 0; }
.specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.specs .k { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.specs .v { text-align: right; color: var(--ink); font-weight: 600; }
.section-ink .specs li { border-bottom-color: rgba(255,255,255,.2); }
.section-ink .specs .v { color: #fff; }

.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--ink); padding: .3rem .7rem; }

.callout { background: var(--orange-pale); border-left: 4px solid var(--orange); padding: 1.1rem 1.2rem; }
.callout h4 { margin-bottom: .35rem; }
.callout p:last-child { margin-bottom: 0; }
.notice { background: #fdf6e8; border: 1px solid #f0dfb8; padding: 1rem 1.1rem; font-size: .94rem; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font); font-size: .92rem;
  font-weight: 700; padding: .85rem 1.6rem; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.btn-primary { background: var(--orange-dk); color: #fff; border-color: var(--orange-dk); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dk); }
.section-ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.link-arrow { font-weight: 700; color: var(--orange-dk); }
.link-arrow::after { content: " \2192"; }

/* -------------------------------------------------------------------- forms */
.form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-bottom: .3rem; }
.field .req { color: var(--orange-dk); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); padding: .7rem .8rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.field .err { display: block; font-size: .78rem; color: #b3261e; margin-top: .25rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.checkbox-field label { display: flex; gap: .6rem; font-size: .9rem; font-weight: 400; color: var(--text); text-transform: none; letter-spacing: 0; }
.checkbox-field input { width: auto; margin-top: .3rem; }
.form-note { font-size: .84rem; color: var(--soft); }
.form-status { font-size: .9rem; background: #eaf5ee; border: 1px solid #b9dcc6; padding: .7rem .9rem; }

/* ------------------------------------------------------------------- footer */
.site-footer { background: #3b3c3e; color: #c9cacc; padding: clamp(2.2rem, 4.2vw, 3.2rem) 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.8rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { height: 32px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer p, .site-footer li { font-size: .9rem; color: #c9cacc; }
.site-footer a { color: #dcdddf; }
.site-footer a:hover { color: #ffa582; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 2.2rem; padding-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: space-between; font-size: .8rem; color: #a6a8aa; }

.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 150; width: 42px; height: 42px; border: 0; background: var(--orange-dk); color: #fff;
  cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .drawer, .to-top, .site-footer { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* news dates in the cases list */
.cases .dates { display: block; font-family: var(--display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dk); margin-bottom: .2rem; }
.cases p { font-size: .92rem; margin: .3rem 0 0; color: var(--text); }
