/* Ocean View Elevator Consulting — design system
   Editorial, photo-free, credibility-first. */

:root {
  --ink: #082342;          /* brand navy (from logo) */
  --ink-soft: #4a5a70;     /* secondary text */
  --paper: #f4f7fb;        /* cool light background */
  --paper-deep: #e7edf5;   /* darker band */
  --white: #ffffff;
  --sea: #1f5aa8;          /* brand blue accent */
  --sea-deep: #163f78;
  --sand: #6b7c93;         /* muted steel, used sparingly */
  --rule: #dbe2ec;         /* hairline */
  --max: 1120px;
  --serif: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sea-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  display: block;
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42em;
}

p + p { margin-top: 1em; }

.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.3em; }
.prose li { margin-bottom: 0.5em; }

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-logo { height: 56px; width: auto; display: block; flex-shrink: 0; }

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.15;
}

.brand-name small {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--sea); }

.nav .cta-btn { color: var(--white); }
.nav .cta-btn:hover { color: var(--white); }

.header-phone {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
}

/* ---------- Buttons ---------- */

.cta-btn {
  display: inline-block;
  background: var(--sea);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 3px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.cta-btn:hover { background: var(--sea-deep); color: var(--white); }

.cta-btn.big { font-size: 1.05rem; padding: 15px 30px; }

.btn-ghost {
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(14,107,107,0.045), rgba(14,107,107,0) 55%),
    var(--paper);
}

.hero .lede { margin: 1.3em 0 2em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 1.1em; }

/* ---------- Stat band ---------- */

.stat-band {
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}

.stat-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 34px 28px;
  border-left: 1px solid var(--rule);
}
.stat:first-child { border-left: 0; }

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.stat span { font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; }
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section.tint { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark h2 { color: var(--white); }
.section.dark .kicker { color: var(--sand); }
.section.dark a { color: #9fd4d4; }

.section-head { max-width: 720px; margin-bottom: 2.6rem; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.card .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--sand);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; flex-grow: 1; }
.card .card-link { margin-top: 18px; font-weight: 600; font-size: 0.93rem; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }

/* ---------- Independence list ---------- */

.never-list { list-style: none; margin: 2rem 0 0; }
.never-list li {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 1.08rem;
}
.never-list li:last-child { border-bottom: 1px solid var(--rule); }
.never-list .mark { color: var(--sea); font-weight: 700; flex-shrink: 0; }
.section.dark .never-list li { border-color: rgba(247,244,238,0.18); }
.section.dark .never-list .mark { color: var(--sand); }

/* ---------- Steps ---------- */

.steps { counter-reset: step; list-style: none; margin-top: 2.2rem; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--sand);
  line-height: 1;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }

/* ---------- Pull quote / callout ---------- */

.callout {
  border-left: 3px solid var(--sea);
  background: var(--white);
  padding: 26px 30px;
  margin: 2rem 0;
  font-size: 1.08rem;
}
.callout.warn { border-left-color: var(--sand); }

.pull {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.3;
  max-width: 26em;
}

/* ---------- Findings ---------- */

.finding {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 34px 34px 30px;
  margin-bottom: 26px;
}
.finding .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea);
  background: rgba(14,107,107,0.08);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.finding .outcome {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-weight: 600;
}

/* ---------- Tables ---------- */

table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 38px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label { display: block; font-size: 0.85rem; font-weight: 600; margin: 18px 0 6px; }
label:first-child { margin-top: 0; }

input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  padding: 11px 12px;
  border: 1px solid #c5bdae;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; border-color: var(--sea); }

.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- CTA banner ---------- */

.cta-banner { padding: 80px 0; background: var(--ink); color: var(--paper); }
.cta-banner h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-banner p { color: #c9d4dc; max-width: 40em; margin: 1em 0 1.8em; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b9c6cf;
  padding: 64px 0 40px;
  font-size: 0.9rem;
  border-top: 4px solid var(--sea);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9c6cf; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-brand p { max-width: 30em; margin-top: 14px; }

.footer-bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(247,244,238,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8899a5;
}

/* ---------- Breadcrumb ---------- */

.crumbs { font-size: 0.85rem; color: var(--ink-soft); padding: 22px 0 0; }
.crumbs a { color: var(--ink-soft); }

/* ---------- Page hero (interior) ---------- */

.page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.page-hero .lede { margin-top: 1.2em; }

/* ---------- Checklist ---------- */

.check-item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px 30px;
  margin-bottom: 20px;
}
.check-item h3 { display: flex; gap: 14px; align-items: baseline; }
.check-item h3 .n { color: var(--sand); font-family: var(--serif); }

/* ---------- Utility ---------- */

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.small { font-size: 0.88rem; color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.photo-slot {
  background: var(--paper-deep);
  border: 1px dashed #b7ad9c;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 20px;
}

@media print {
  .site-header, .site-footer, .cta-banner, .nav { display: none; }
  body { background: #fff; }
}
