/* WorldWind Consulting LLC — site styles */
:root {
  --navy-900: #0a1a3a;
  --navy-800: #0f2552;
  --navy-700: #16357a;
  --navy-600: #1d4598;
  --sky: #7fb2ff;
  --ink: #16202f;
  --muted: #5a6577;
  --line: #e2e7ef;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --radius: 14px;
  --wrap: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-600); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: #d6e0f2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: .8em;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.section--navy .lead { color: #b9c7e0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  padding: .85em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--primary { background: var(--navy-600); color: #fff; }
.btn--primary:hover { background: var(--navy-700); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: #e6eefc; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-600); }
.nav .btn { color: #fff; padding: .6em 1.3em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, #1d4598 0%, transparent 60%), var(--navy-900);
  color: #d6e0f2;
  padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #b9c7e0; }
.hero-mark {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: min(46vw, 520px); opacity: .16; pointer-events: none;
}
.hero-mark line { stroke: #7fb2ff; }
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { max-width: 20ch; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.card-num {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  color: var(--navy-600); margin-bottom: 14px; display: block;
}

.smart {
  text-align: center; padding: 26px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.smart b {
  display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1;
  color: var(--navy-600); margin-bottom: 8px;
}
.smart h3 { margin-bottom: .3em; font-size: 1.05rem; }
.smart p { margin: 0; color: var(--muted); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stat-band { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.stat-band .big { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 600; color: #fff; line-height: 1; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checklist strong { color: var(--navy-900); font-family: var(--font-head); font-weight: 600; }

/* Service pillars */
.pillar { background: var(--mist); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.pillar h3 { font-size: 1.45rem; margin-bottom: 1em; }
.checklist--light li { color: #c9d5ea; }
.checklist--light strong { color: #fff; }
.checklist--light li::before { background-color: var(--sky); }
.stat-card { background: var(--navy-900); color: #b9c7e0; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); }
.stat-card .big { font-family: var(--font-head); font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 600; color: #fff; line-height: 1; margin-bottom: 12px; }
.stat-card p { font-size: 1.15rem; margin: 0; max-width: 22ch; }

/* Linked service cards */
.card--link { text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card--link:hover { border-color: var(--navy-600); box-shadow: 0 8px 24px rgba(16, 37, 82, .08); transform: translateY(-2px); }
.card--link p { color: var(--muted); }

/* Services page */
.services-list { display: grid; gap: 0; }
.service { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.service p { max-width: 48rem; color: #333d4d; }
.service .card-num { font-size: 1.1rem; margin-top: .25em; }
@media (max-width: 620px) { .service { grid-template-columns: 1fr; gap: 6px; } }

/* About bio */
.bio { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.bio-side { display: grid; gap: 20px; justify-items: start; position: sticky; top: 100px; }
.bio-side img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; }
.bio p { max-width: 46rem; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } .bio-side { position: static; justify-items: center; } }

/* Testimonials */
.quote { display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink); flex: 1; }
.quote blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3rem; line-height: .6; color: var(--navy-600); margin-bottom: 10px; }
.quote .tag { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 10px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy-900); display: block; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* Projects */
.project { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.project .thumb {
  aspect-ratio: 16 / 10; background: var(--navy-800);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.project .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project .thumb svg { width: 90px; opacity: .5; }
.project .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project .body p { color: var(--muted); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags span { font-size: .75rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: #e9f0fc; color: var(--navy-700); }
.link-arrow { font-family: var(--font-head); font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Founder */
.founder img { border-radius: 50%; width: 220px; height: 220px; object-fit: cover; margin: 0 auto 0 0; }
@media (max-width: 860px) { .founder img { margin: 0 auto; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form label { font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--navy-900); display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cdd5e1; border-radius: 10px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy-600); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 150px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.info-list span { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list a { color: var(--navy-900); text-decoration: none; font-weight: 500; }
.notice { padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; }
.notice--ok { background: #e7f6ec; color: #135c2c; }
.notice--err { background: #fdecec; color: #8a1c1c; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy-700), var(--navy-900)); color: #d6e0f2; border-radius: 22px; padding: clamp(36px, 6vw, 64px); }
.cta h2 { color: #fff; }

/* Footer */
.site-footer { background: var(--navy-900); color: #9fb0cc; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #d6e0f2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name small { color: #9fb0cc; }
.site-footer .brand svg line { stroke: #7fb2ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }
.social { display: flex; gap: 14px; }
