/* Rad showcase companies: one layout, three themes.
   Each site's theme.css sets the tokens below; this file never names a colour. */
:root {
  --c-primary: #1E3A8A;
  --c-primary-deep: #172C6B;
  --c-accent: #D97706;
  --c-accent-ink: #FFFFFF;
  --c-bg: #FBFAF7;
  --c-surface: #FFFFFF;
  --c-tint: #EEF2FF;
  --c-ink: #0F172A;
  --c-ink-2: #334155;
  --c-line: #D9D4CA;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-primary); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 14px; color: var(--c-ink); }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 10px; }
.lede { font-size: 20px; color: var(--c-ink-2); max-width: 680px; }
.muted { color: var(--c-ink-2); }
.small { font-size: 15px; }

/* The honesty bar: every page, every company. */
.sc-bar {
  background: var(--c-ink); color: #FFFFFF; font-size: 14.5px; text-align: center;
  padding: 9px 16px; line-height: 1.4;
}
.sc-bar a { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20; background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--c-ink); text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo i { width: 14px; height: 14px; border-radius: 4px; background: var(--c-accent); display: inline-block; }
.nav-links { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 22px; }
.nav-links a { color: var(--c-ink-2); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.nav-links a:hover { color: var(--c-primary); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--c-line); border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--c-ink); }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); line-height: 1.2; }
.btn-primary { background: var(--c-primary); color: #FFFFFF; }
.btn-primary:hover { background: var(--c-primary-deep); }
.btn-accent { background: var(--c-accent); color: var(--c-accent-ink); }
.btn-ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-tint); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero */
.hero { padding: 80px 0 56px; background: linear-gradient(180deg, var(--c-tint) 0%, var(--c-bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero .lede { margin-bottom: 26px; }
.hero-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.hero-card h3 { font-size: 18px; margin-bottom: 10px; }
.hero-card ul { margin: 0; padding-left: 20px; }
.hero-card li { margin: 6px 0; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.stat { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; padding: 16px 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1.1; color: var(--c-primary); }
.stat span { font-size: 15px; color: var(--c-ink-2); }
.madeup { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #FFF4D6; color: #5C4300; vertical-align: middle; }
.realclient { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #E3F2EA; color: #0F4D2A; vertical-align: middle; }

/* People */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.person .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin-bottom: 12px; font-family: var(--font-display); }
.person h3 { font-size: 20px; margin-bottom: 2px; }
.person .role { color: var(--c-ink-2); font-size: 15px; margin-bottom: 10px; }
.person p { font-size: 15.5px; margin: 0; }

/* Tuesday timeline */
.tuesday { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.beats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.beat { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--c-line); }
.beat:first-child { border-top: 0; }
.beat time { font-family: var(--font-display); font-size: 24px; color: var(--c-primary); line-height: 1.1; }
.beat h3 { font-size: 19px; margin-bottom: 6px; }
.beat p { margin: 0 0 6px; }
.beat .tool { display: inline-block; font-size: 13px; font-weight: 700; color: var(--c-primary); background: var(--c-tint); padding: 3px 9px; border-radius: 999px; margin-right: 6px; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.screen { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.screen h3 { font-size: 20px; margin-bottom: 8px; }
.screen p { font-size: 15.5px; }
.screen .from { margin-top: auto; padding-top: 10px; font-size: 15px; color: var(--c-ink-2); border-top: 1px dashed var(--c-line); }
.screen .from b { color: var(--c-ink); }
.screen a.open { font-weight: 700; }

/* Real tools */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.tool-card { background: var(--c-surface); border: 2px solid var(--c-primary); border-radius: var(--radius); padding: 26px; }
.tool-card .kind { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-primary); }
.tool-card h3 { font-size: 24px; margin: 6px 0 10px; }
.tool-card .ro { display: inline-block; font-size: 13px; font-weight: 700; background: var(--c-tint); color: var(--c-ink); padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }
.tool-card ul { padding-left: 20px; margin: 0 0 16px; }
.tool-card li { margin: 5px 0; font-size: 15.5px; }

/* Photo hero: the site sets --hero-img on the section. The text column sits on a
   near-solid navy wash; the photo shows through on the right, behind the card. */
.hero-photo { position: relative; isolation: isolate; background: var(--c-primary-deep) var(--hero-img) center / cover no-repeat; padding: 96px 0 64px; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,28,51,0.96) 0%, rgba(17,28,51,0.86) 58%, rgba(17,28,51,0.3) 100%); }
.hero-photo h1, .hero-photo .lede, .hero-photo .eyebrow, .hero-photo .muted { color: #FFFFFF; }
.hero-photo .lede { max-width: 620px; }
.hero-photo .small { max-width: 640px; }
.hero-photo .btn-ghost { color: #FFFFFF; border-color: #FFFFFF; }
.hero-photo .btn-ghost:hover { background: rgba(255,255,255,0.12); }
.hero-photo .hero-card { border: 0; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }

/* Full-bleed photo band between sections, with one caption on a solid pill. */
.band { position: relative; height: 420px; overflow: hidden; background: var(--c-primary-deep); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .container { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 36px; }
.band .cap { background: rgba(17,28,51,0.9); color: #FFFFFF; border-left: 4px solid var(--c-accent);
  padding: 14px 20px; border-radius: 0 10px 10px 0; max-width: 560px; font-size: 17px; line-height: 1.5; }
.band .cap b { font-family: var(--font-display); font-size: 21px; display: block; margin-bottom: 4px; }

/* Timeline with a sticky photo column on the right. */
.tuesday-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; margin-top: 30px; }
.tuesday-grid .beats { margin-top: 0; }
.tuesday-side { position: sticky; top: 84px; display: grid; gap: 18px; }
.tuesday-side figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); }
.tuesday-side img { display: block; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.tuesday-side figcaption { padding: 12px 16px; font-size: 15px; color: var(--c-ink-2); }
.tuesday-side figcaption b { color: var(--c-ink); }

/* What Rad does next */
.next { background: var(--c-primary); color: #FFFFFF; }
.next h2, .next h3, .next p, .next li { color: #FFFFFF; }
.next .eyebrow { color: #FFFFFF; opacity: 0.85; }
.next .phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.next .phase { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); padding: 20px; }
.next .phase h3 { font-size: 19px; margin-bottom: 8px; }
.next .phase p { font-size: 15.5px; margin: 0; }
.next .btn-ghost { color: #FFFFFF; border-color: #FFFFFF; }
.next .btn-ghost:hover { background: rgba(255,255,255,0.12); }
.next blockquote { margin: 0 0 18px; padding: 0 0 0 18px; border-left: 3px solid var(--c-accent); font-size: 19px; font-family: var(--font-display); }

/* Quotes from real clients */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.quote { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.quote p { font-size: 16.5px; margin-bottom: 10px; }
.quote cite { font-style: normal; font-size: 15px; color: var(--c-ink-2); }

/* Picture yours */
.cta { text-align: center; padding: 84px 0; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); }
.cta .lede { margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--c-line); padding: 28px 0 40px; font-size: 15px; color: var(--c-ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.footer a { color: var(--c-ink-2); }
.footer .spacer { flex: 1; }

/* Plan page */
.plan { max-width: 760px; }
.plan h2 { margin-top: 40px; font-size: 28px; }
.plan h3 { margin-top: 26px; font-size: 20px; }
.plan ul { padding-left: 22px; }
.plan li { margin: 6px 0; }
.plan .sig { margin-top: 36px; font-family: var(--font-display); font-size: 20px; }

/* Reveal on scroll (no motion for people who asked for none) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .hero-grid, .people, .screens, .tools, .next .phases, .quotes { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-surface); border-bottom: 1px solid var(--c-line); flex-direction: column; gap: 0; padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 20px; }
  .nav-toggle { display: inline-block; }
  .nav .btn { display: none; }
  .beat { grid-template-columns: 1fr; gap: 6px; }
  section { padding: 52px 0; }
  .hero { padding: 48px 0 40px; }
  .hero-photo { padding: 56px 0 44px; }
  .hero-photo::before { background: rgba(17,28,51,0.9); }
  .band { height: 300px; }
  .band .container { padding-bottom: 24px; }
  .tuesday-grid { grid-template-columns: 1fr; gap: 28px; }
  .tuesday-side { position: static; grid-template-columns: 1fr 1fr; order: -1; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 24px; }
  body { font-size: 16px; }
}
