/* LaunchRamp Consulting — site styles */

:root {
  --navy: #003887;
  --navy-dark: #0B2A57;
  --navy-hover: #002659;
  --ink: #23303B;
  --muted: #46566A;
  --muted-2: #56667A;
  --green: #47A00B;
  --green-deep: #3A7F0A;
  --green-darker: #2F6A08;
  --green-light: #7BC943;
  --green-on-navy: #9BD66A;
  --green-tint: #EAF4E1;
  --soft: #F3F6FA;
  --soft-2: #F7F9FC;
  --blue-tint: #DCE6F3;
  --placeholder: #DCE4EF;
  --line: #E3E8EF;
  --input-line: #B9C6D8;
  --on-navy: #C9D6EA;
  --on-navy-2: #D5E0F0;
  --footer-rule: #24467A;
  --radius: 10px;
  --radius-lg: 12px;
  --max: 1200px;
  --font: "Avenir Next", Avenir, "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--navy-dark); margin: 0; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .container { padding: 0 20px; } }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--navy); color: #FFFFFF; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy); }
.brand-name span { color: var(--green); }
.brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.42em; color: var(--ink); margin-top: 6px; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; font-weight: 600; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--green); }
.site-nav .btn { padding: 12px 22px; border-bottom: 0; }
@media (max-width: 600px) {
  .site-nav { gap: 2px 18px; font-size: 15px; }
  .site-nav .btn { display: none; } /* hero and footer carry the CTA on phones */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; border-radius: 6px; padding: 15px 28px; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary, .site-nav a.btn-primary { background: var(--navy); color: #FFFFFF; }
.btn-primary:hover, .site-nav a.btn-primary:hover { background: var(--navy-hover); color: #FFFFFF; }
.btn-secondary { background: #FFFFFF; color: var(--navy); border-color: var(--input-line); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #FFFFFF; color: var(--navy); }
.btn-light:hover { background: var(--blue-tint); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-tight { padding: 80px 0; }
.section-ruled { border-top: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding: 64px 0; } .section-tight { padding: 56px 0; } }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; color: var(--green-deep); text-transform: uppercase; margin-bottom: 16px; }
.accent-bar { width: 48px; height: 4px; background: var(--green); margin-bottom: 18px; }
.h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -0.015em; }
.h1-page { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; max-width: 820px; }
.h2 { font-size: clamp(30px, 3vw, 38px); line-height: 1.15; font-weight: 700; }
.h2-sm { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 540px; }
.intro { font-size: 18px; color: var(--muted); margin-top: 14px; max-width: 640px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.text-link { font-weight: 700; padding: 10px 0; }

/* ---------- Hero ---------- */
.hero { background: var(--soft); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-media { flex: 1 1 420px; min-width: 0; }
@media (max-width: 600px) { .hero .container { padding-top: 56px; padding-bottom: 56px; gap: 40px; } }

/* Image slots — swap the placeholder div for an <img> when photos are ready */
.img-slot {
  background: var(--placeholder); border-radius: var(--radius-lg); display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 24px; color: #4F6078; font-size: 15px; font-weight: 600;
  width: 100%; height: 100%; min-height: 220px;
}
.img-slot-hero { height: 440px; }
.img-slot-portrait { height: 380px; }
@media (max-width: 600px) { .img-slot-hero, .img-slot-portrait { height: 280px; } }
.photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

/* ---------- Cards ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.card { flex: 1 1 300px; min-width: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { font-size: 22px; margin: 22px 0 10px; }
.card p { font-size: 16px; color: var(--muted); }
.icon-tile { width: 52px; height: 52px; border-radius: 10px; background: var(--green-tint); display: flex; align-items: center; justify-content: center; }
.icon-tile svg { width: 26px; height: 26px; stroke: var(--green-deep); }

.check-card { flex: 1 1 460px; display: flex; gap: 20px; }
.check-card .icon-tile { flex: 0 0 44px; width: 44px; height: 44px; }
.check-card .icon-tile svg { width: 22px; height: 22px; }
.check-card h3 { margin: 0 0 8px; font-size: 21px; }

/* ---------- Method (rising bars) ---------- */
.method { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-top: 48px; }
.stage { flex: 1 1 280px; border-radius: var(--radius) var(--radius) 0 0; padding: 28px 32px; }
.stage h3 { font-size: 22px; margin: 6px 0 8px; }
.stage p { font-size: 16px; }
.stage-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.stage-1 { min-height: 190px; background: var(--soft); border: 1px solid var(--line); }
.stage-1 .stage-label { color: var(--green-deep); }
.stage-1 p { color: var(--muted); }
.stage-2 { min-height: 240px; background: var(--blue-tint); }
.stage-2 .stage-label { color: var(--green-darker); }
.stage-2 p { color: #33445A; }
.stage-3 { min-height: 290px; background: var(--navy); color: #FFFFFF; }
.stage-3 h3 { color: #FFFFFF; }
.stage-3 .stage-label { color: var(--green-on-navy); }
.stage-3 p { color: var(--on-navy-2); }
.method-base { height: 4px; background: var(--green); }
@media (max-width: 900px) {
  .stage { min-height: 0; }
  .method { gap: 12px; }
}

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
.stat { flex: 1 1 200px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.stat-value { font-size: 32px; font-weight: 700; line-height: 1; color: var(--navy); }
.stat-label { font-size: 14px; color: var(--muted-2); margin-top: 6px; }
@media (max-width: 600px) {
  .stats { gap: 12px; }
  .stat { flex-basis: calc(50% - 6px); padding: 16px 18px; }
  .stat-value { font-size: 26px; }
}

/* ---------- Results cards ---------- */
.results { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.result-card { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result-card .img-slot { border-radius: 0; height: 200px; min-height: 0; font-size: 14px; }
.result-card .photo { border-radius: 0; height: 200px; object-position: center 30%; }
.result-body { padding: 26px 28px; flex: 1 1 auto; }
.result-industry { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.result-body h3 { font-size: 22px; line-height: 1.25; margin: 8px 0 10px; }
.result-body p { font-size: 16px; color: var(--muted); }
.result-metrics { display: flex; gap: 32px; background: var(--soft-2); border-top: 1px solid var(--line); padding: 18px 28px; }
.result-metrics .value { font-size: 26px; font-weight: 700; line-height: 1; color: var(--navy); }
.result-metrics .label { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

/* ---------- Quote ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.45; font-weight: 600; color: var(--navy-dark); }
.quote figcaption { margin-top: 22px; font-size: 16px; color: var(--muted); }

/* ---------- Split (text + image) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split p + p { margin-top: 16px; }
.split .body { font-size: 18px; color: var(--muted); margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #FFFFFF; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { color: #FFFFFF; }
.cta-band p { font-size: 18px; color: var(--on-navy); margin-top: 10px; }
.cta-band .cta-copy { flex: 1 1 520px; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 360px; min-width: 0; }
.contact-copy .body { font-size: 18px; color: var(--muted); margin-top: 18px; }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.contact-details strong { color: var(--navy-dark); display: block; }
.contact-form {
  flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px;
  background: var(--soft); border-radius: var(--radius-lg); padding: 36px;
}
@media (max-width: 600px) { .contact-form { padding: 24px; } }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy-dark); }
.field input, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; color: var(--ink);
  background: #FFFFFF; border: 1px solid var(--input-line); border-radius: 6px; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(71, 160, 11, 0.35); outline-offset: 0; border-color: var(--green-deep); }
.form-note { font-size: 13px; color: var(--muted-2); }
.form-status { font-size: 15px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #B42318; }
.form-status[data-state="sending"] { color: var(--muted); }
.contact-form .btn { align-self: flex-start; border: 0; }
.honeypot { display: none !important; }

/* ---------- Simple pages (404, thank-you) ---------- */
.simple { min-height: 50vh; display: flex; align-items: center; }
.simple .container { padding-top: 96px; padding-bottom: 96px; }
.simple .intro { margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: var(--on-navy); border-top: 4px solid var(--green); }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; }
.footer-brand .brand-mark { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 35px; height: 40px; }
.footer-brand .brand-name { font-size: 22px; color: #FFFFFF; }
.footer-brand .brand-name span { color: var(--green-light); }
.footer-brand p { margin-top: 16px; font-size: 15px; max-width: 320px; }
.footer-col { flex: 0 1 220px; font-size: 15px; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: #FFFFFF; margin-bottom: 12px; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-col a { color: var(--on-navy); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--footer-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.site-footer .container > .footer-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer .container:has(> .footer-bottom:first-child) { padding-top: 32px; }
