/* ================================================
   Updraft Advisory — updraftadvisory.com
   Shared stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #1D9E75;
  --teal-light:  #E1F5EE;
  --teal-dark:   #085041;
  --navy:        #0C447C;
  --navy-light:  #E6F1FB;
  --navy-dark:   #042C53;
  --peach:       #F0997B;
  --peach-light: #FAECE7;
  --peach-dark:  #993C1D;
  --text:        #1A1A1A;
  --muted:       #555550;
  --bg:          #FFFFFF;
  --surface:     #F8F8F6;
  --border:      #E2E2DC;
  --max-w:       860px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout wrapper ── */
.site-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  border-left:  0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  min-height: 100vh;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-logo img { height: 38px; width: auto; max-width: 200px; }

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
  background: var(--teal-light);
}

.nav-links a.nav-cta {
  background: var(--teal);
  color: white;
  font-weight: 600;
  margin-left: 6px;
}

.nav-links a.nav-cta:hover {
  background: var(--teal-dark);
  color: white;
}

/* ── Eyebrow label ── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* ── Headings ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

h1 { font-size: 36px; font-weight: 500; color: var(--navy-dark); }
h2 { font-size: 26px; font-weight: 500; color: var(--navy-dark); margin-bottom: 12px; }
h3 { font-size: 18px; font-weight: 500; color: var(--navy-dark); margin-bottom: 8px; }

/* ── Body text ── */
.body-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Section blocks ── */
.section {
  padding: 48px;
  border-bottom: 0.5px solid var(--border);
}

.section:last-child { border-bottom: none; }

.section-surface {
  padding: 48px;
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
}

/* ── Hero ── */
.hero {
  padding: 56px 48px 48px;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-accent { display: none; }

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero h1 { margin-bottom: 18px; }

.hero .body-text { margin-bottom: 30px; font-size: 16px; }

/* ── Tagline strip ── */
.tagline-strip {
  background: var(--navy-dark);
  padding: 16px 48px;
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  font-style: italic;
  color: #B5D4F4;
  letter-spacing: 0.2px;
  border-bottom: 0.5px solid var(--border);
}

/* ── Buttons ── */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-dark); color: white; text-decoration: none; }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy-light); text-decoration: none; }

/* ── Proof strip ── */
.proof-strip {
  background: var(--teal-light);
  padding: 32px 48px;
  border-bottom: 0.5px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--teal-dark);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--teal-dark);
  line-height: 1.4;
  margin-top: 5px;
  opacity: 0.85;
}

/* ── Tech bar ── */
.tech-bar {
  background: var(--navy-dark);
  padding: 18px 48px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-bar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #5DCAA5;
  white-space: nowrap;
  margin-right: 8px;
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 4px;
  background: rgba(93, 202, 165, 0.15);
  color: #9FE1CB;
  border: 0.5px solid rgba(93, 202, 165, 0.3);
}

/* ── Service cards (home) ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.service-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  text-decoration: none;
}

.service-card h3 { font-size: 15px; margin-bottom: 8px; }
.service-card p  { font-size: 13px; color: var(--muted); line-height: 1.55; }

.service-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

.icon-teal  { background: var(--teal-light);  color: var(--teal-dark); }
.icon-navy  { background: var(--navy-light);  color: var(--navy-dark); }
.icon-peach { background: var(--peach-light); color: var(--peach-dark); }

/* ── Quote block ── */
.quote-block {
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  margin: 26px 0;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 16.5px;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.6;
}

.quote-attr {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Tag pills ── */
.tag { display: inline-block; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 4px; margin: 3px 3px 3px 0; }
.tag-teal  { background: var(--teal-light);  color: var(--teal-dark); }
.tag-navy  { background: var(--navy-light);  color: var(--navy-dark); }
.tag-peach { background: var(--peach-light); color: var(--peach-dark); }

/* ── Example grid (services) ── */
.example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.example-item {
  padding: 18px 20px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}

.example-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

/* ── Tech thread callout ── */
.tech-thread {
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 18px;
  background: var(--bg);
}

.tech-thread-head {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tech-thread p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── About bio layout ── */
.bio-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  align-items: start;
}

.bio-sidebar { text-align: center; }

.headshot {
  width: 148px; height: 148px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 16px;
  border: 3px solid var(--teal);
}

.bio-name    { font-size: 15px; font-weight: 600; color: var(--text); }
.bio-title   { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.bio-divider { height: 0.5px; background: var(--border); margin: 16px 0; }

.contact-line {
  font-size: 12.5px;
  color: var(--muted);
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.edu-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  text-align: left;
}

.edu-deg  { font-size: 12.5px; color: var(--text); margin-bottom: 2px; text-align: left; }
.edu-inst { font-size: 11.5px; color: var(--muted); margin-bottom: 10px; text-align: left; }

/* ── Timeline ── */
.timeline-item {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }

.tl-years { font-size: 11.5px; color: var(--muted); padding-top: 2px; }
.tl-role  { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.tl-org   { font-size: 13px; color: var(--teal-dark); margin-bottom: 5px; }
.tl-detail{ font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ── Philosophy page ── */
.philosophy-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}

.philosophy-section { margin-top: 36px; }

.philosophy-section h2 { margin-bottom: 16px; }

.philosophy-section p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 640px;
}

.philosophy-section p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--navy-dark);
  line-height: 1.45;
  border-top: 2px solid var(--teal);
  border-bottom: 0.5px solid var(--border);
  padding: 28px 0;
  margin: 36px 0;
  max-width: 580px;
}

/* ── Contact form ── */
.contact-form { max-width: 540px; }

.form-row { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 13px;
  border: 0.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14.5px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.1);
}

.form-textarea { min-height: 110px; resize: vertical; }

/* ── Direct contact cards ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.contact-card {
  padding: 20px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  text-align: center;
}

.contact-card-icon { font-size: 22px; color: var(--teal); margin-bottom: 8px; }
.contact-card-label{ font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.contact-card-value{ font-size: 13px; color: var(--teal-dark); font-weight: 600; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links  { font-size: 12px; }
.footer-links a { color: #8A8A86; text-decoration: none; }
.footer-links a:hover { color: #B5D4F4; text-decoration: underline; }
.footer-links span { color: #5A5A56; }
.footer-detail   { font-size: 12px; color: #5A5A56; }

/* ── Peer summary (replaces block quotes) ── */
.peer-summary {
  background: var(--surface);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 0;
}

.peer-summary-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.peer-summary-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

.peer-summary-attr {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  opacity: 0.8;
}

/* ── Sector expertise strip ── */
.sector-strip {
  padding: 24px 48px;
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.sector-strip-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.sector-strip-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.sector-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  border: 0.5px solid var(--border);
  color: var(--muted);
  background: var(--bg);
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .nav          { padding: 12px 20px; }
  .hero         { padding: 40px 24px 36px; }
  .section,
  .section-surface { padding: 36px 24px; }
  .tagline-strip{ padding: 14px 24px; }
  .proof-strip  { padding: 28px 24px; }
  .tech-bar     { padding: 16px 24px; }
  .footer       { padding: 24px; }
  .proof-grid   { grid-template-columns: 1fr; gap: 18px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .example-grid { grid-template-columns: 1fr; }
  .bio-layout   { grid-template-columns: 1fr; }
  .bio-sidebar  { display: flex; flex-direction: column; align-items: center; }
  .contact-cards{ grid-template-columns: 1fr; }
  .hero-accent  { display: none; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
}
