/* ==========================================================================
   Propel Development - site styles
   Single stylesheet for all pages. Edit colors in :root below.
   ========================================================================== */

:root {
  /* Brand - sampled from the Propel Development logo */
  --brand:        #487DB6;  /* logo blue: accents, rules, icon marks   */
  --brand-mid:    #3D6EA3;  /* buttons (passes AA against white text)  */
  --brand-dark:   #35618F;  /* links, hover, small text on white       */
  --brand-light:  #EAF1F8;  /* pale tint for borders and fills         */
  --brand-pale:   #93B8DF;  /* light blue for text on dark backgrounds */
  --logo-gray:    #939598;  /* logo gray: decorative use only          */

  --navy:        #14304C;
  --navy-deep:   #0C2038;
  --navy-soft:   #26496D;

  /* Neutrals */
  --ink:         #16202B;
  --body:        #40505F;
  --muted:       #6B7C8C;
  --line:        #DDE4EA;
  --line-soft:   #EDF1F4;
  --bg:          #FFFFFF;
  --bg-alt:      #F7F9FB;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.85rem, 3.1vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 650; letter-spacing: -0.005em; }
h4 { font-size: 1rem;   font-family: var(--sans); font-weight: 650; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout helpers ---------- */

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

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 14px;
}

.lede { font-size: 1.17rem; line-height: 1.6; color: var(--body); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0.35em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--brand-mid); color: #fff; border-color: var(--brand-mid); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

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

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 74px;
}

/* Logo lockup: the icon mark is real artwork, the name is live type styled to
   match it. Keeps the wordmark crisp at any size. Full logo file still appears
   in the link-preview card and the favicon. */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo-icon { height: 34px; width: auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--sans); font-size: 1.16rem; font-weight: 700;
  letter-spacing: .005em; color: var(--brand);
}
.logo-sub {
  font-family: var(--sans); font-size: 0.58rem; font-weight: 500;
  letter-spacing: .30em; color: var(--logo-gray); margin-top: 5px;
}

/* Footer sits on navy: white mark, white name. */
.footer-logo {
  display: inline-flex; align-items: center; gap: 11px;
  margin-bottom: 18px; text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo .logo-icon { height: 30px; filter: brightness(0) invert(1); opacity: .95; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub { color: #7E93A6; }

.nav { display: flex; align-items: center; gap: 28px; flex: 0 1 auto; min-width: 0; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--body); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
  white-space: nowrap; flex-shrink: 0;
}
.nav .btn { flex-shrink: 0; white-space: nowrap; padding: 11px 20px; font-size: 0.9rem; }
.nav a:hover { color: var(--navy); border-bottom-color: var(--brand); text-decoration: none; }
.nav a.current { color: var(--navy); font-weight: 600; border-bottom-color: var(--brand); }
.nav .btn { border-bottom: none; }
.nav .btn:hover { border-bottom: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
}

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

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #C8D6E2;
  padding: 78px 0 74px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 78% 20%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 78% 20%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 24ch; margin-bottom: 0.45em; }
.hero .eyebrow { color: var(--brand-pale); }
.hero .lede { color: #B7C8D8; max-width: 58ch; font-size: 1.08rem; }
.hero-sub { max-width: 60ch; }

.hero-inner { max-width: 780px; }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #B7C8D8;
  padding: 74px 0 68px;
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .eyebrow { color: var(--brand-pale); }
.page-hero .lede { color: #B7C8D8; max-width: 62ch; }

/* ---------- Client strip ---------- */

.clients { padding: 40px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); }
.clients-label {
  text-align: center; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 22px;
}
.client-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 44px;
}
.client-list li {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-soft);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { margin-bottom: 0.45em; color: var(--navy); }
.card p { font-size: 0.97rem; }
.card-num {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 600;
  color: var(--brand-dark); display: block; margin-bottom: 14px;
  border-bottom: 2px solid var(--brand-light); padding-bottom: 12px;
}

/* Service block (long-form services page) */
.service {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
}
.service:last-of-type { border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3em; }
.service-tag { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.11em; text-transform: uppercase; color: var(--brand-dark); }
.service ul { padding-left: 1.1em; }
.service li { font-size: 0.97rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 0 24px 66px;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 24px;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--brand); width: 44px;
}
.steps h4 { margin-bottom: 0.3em; color: var(--navy); }
.steps p { font-size: 0.97rem; margin: 0; }

/* Feature list with rule */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.features li { margin: 0; padding-left: 20px; border-left: 3px solid var(--brand-light); }
.features h4 { margin-bottom: 0.25em; color: var(--navy); }
.features p { font-size: 0.97rem; margin: 0; }

/* Pull quote / statement */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  border-left: 4px solid var(--brand);
  padding-left: 28px;
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: #B7C8D8;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4em; }
.cta-band p { max-width: 54ch; margin-left: auto; margin-right: auto; color: #A9BDCE; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }

.contact-detail { list-style: none; padding: 0; margin: 0; }
.contact-detail li { margin-bottom: 22px; }
.contact-detail .label {
  display: block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.contact-detail .value { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

form .field { margin-bottom: 20px; }
form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%;
  font-family: var(--sans); font-size: 0.97rem; color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-light); }
form textarea { min-height: 130px; resize: vertical; }
form .btn { width: 100%; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -9999px; }

.form-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }

/* ---------- About ---------- */

.bio-grid { display: grid; grid-template-columns: 240px 1fr; gap: 52px; align-items: start; }
.bio-photo {
  width: 100%; max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.bio-meta { margin-top: 20px; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

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

.site-footer {
  background: var(--navy-deep);
  color: #8FA5B8;
  padding: 56px 0 32px;
  font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer a { color: #B7C8D8; }
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  color: #fff; font-size: 0.74rem; font-weight: 650; letter-spacing: 0.13em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #6F8599;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-photo { max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 68px 0 64px; }
  .page-hero { padding: 54px 0 50px; }

  .logo-icon { height: 30px; }
  .logo-name { font-size: 1.05rem; }
  .logo-sub { font-size: 0.54rem; letter-spacing: .26em; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 20px;
    box-shadow: 0 12px 24px rgba(16,42,67,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a.current, .nav a:hover { border-bottom-color: var(--line-soft); }
  .nav .btn { margin-top: 14px; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .client-list { gap: 12px 26px; }
  .client-list li { font-size: 0.97rem; }
}

@media print {
  .site-header, .cta-band, .nav-toggle { display: none; }
  body { color: #000; }
}
