/* ============================================================
   Fractional HQ - styles.css
   Palette extracted from the logo:
   Navy #283551 | Gold #F9B62B | Beige #FEF6E5 (12% gold tint)
   Display: Zilla Slab | Body: Nunito Sans
   ============================================================ */

:root {
  --navy: #283551;
  --navy-soft: #4A5570;
  --navy-faint: rgba(40, 53, 81, 0.14);
  --navy-chip: rgba(40, 53, 81, 0.28);
  --gold: #F9B62B;
  --gold-deep: #8A6A1B;
  --beige: #FEF6E5;
  --white: #FFFFFF;
  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --container: 1100px;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }

p { color: var(--navy-soft); }

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

section { scroll-margin-top: 90px; }

/* ---------- Eyebrow labels ---------- */

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.band-navy .eyebrow { color: var(--gold); }

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

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 13px 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover { background: #EAA51A; }

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

.btn-outline:hover { background: rgba(40, 53, 81, 0.06); }

.btn:active { transform: translateY(1px); }

a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.text-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.text-link:hover { border-bottom-width: 3px; }

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

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand img { height: 38px; width: auto; }

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

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-soft);
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }

.nav-links a[aria-current="page"] {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}

.nav-cta { padding: 11px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Bands ---------- */

.band { padding: 84px 0; }
.band-beige { background: var(--beige); }
.band-white { background: var(--white); }

.band-navy { background: var(--navy); }
.band-navy h2 { color: var(--white); }
.band-navy p { color: var(--beige); }

.band-head { max-width: 640px; margin-bottom: 44px; }
.band-head p { margin-top: 14px; font-size: 18px; }
.band-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.hero { padding: 96px 0 88px; }

.hero h1 { max-width: 620px; }

.hero .lede {
  max-width: 560px;
  font-size: 19px;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

/* ---------- Three-up cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--navy-faint);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.band-beige .info-card { border-color: rgba(40, 53, 81, 0.10); }

.info-card h3 { margin-bottom: 10px; }
.info-card p { font-size: 16px; }

.card-rule {
  width: 34px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ---------- Specialty chips ---------- */

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
}

.chip {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--navy-chip);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chip:hover { border-color: var(--navy); background: var(--beige); }

/* ---------- Mission band ---------- */

.mission-quote {
  border-left: 4px solid var(--gold);
  padding-left: 26px;
  max-width: 760px;
}

.mission-quote p {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--beige);
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.step .step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; }

/* ---------- Dual-audience CTA ---------- */

.duo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.duo-card {
  background: var(--white);
  border: 1px solid rgba(40, 53, 81, 0.10);
  border-radius: var(--radius);
  padding: 38px 34px;
}

.duo-card h3 { font-size: 24px; margin-bottom: 10px; }
.duo-card p { margin-bottom: 24px; }

/* ---------- Members grid ---------- */

.page-head { padding: 70px 0 60px; }
.page-head h1 { max-width: 640px; }
.page-head .lede { max-width: 600px; font-size: 18px; margin-top: 16px; }

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.member-card {
  background: var(--white);
  border: 1px solid var(--navy-faint);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.member-card:hover {
  border-color: var(--navy-chip);
  transform: translateY(-2px);
}

.member-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.medallion {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--beige);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}

img.medallion { object-fit: cover; }

.member-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.member-role {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}

.member-company {
  font-size: 15.5px;
  color: var(--navy-soft);
  border-top: 1px solid var(--navy-faint);
  padding-top: 14px;
  margin-bottom: 20px;
}

.member-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-actions .btn {
  flex: 1 1 auto;
  font-size: 12px;
  padding: 11px 14px;
}

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

.form-card {
  background: var(--white);
  border: 1px solid var(--navy-faint);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 680px;
}

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

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--navy-chip);
  border-radius: 8px;
  padding: 12px 14px;
}

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

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--navy);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-note { font-size: 14px; margin-top: 16px; }

.form-status {
  display: none;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
}

.form-status.success {
  display: block;
  background: var(--beige);
  color: var(--gold-deep);
  border: 1px solid var(--gold);
}

.form-status.error {
  display: block;
  background: #FBEAEA;
  color: #8A2A2A;
  border: 1px solid #D9A0A0;
}

/* ---------- Placeholder block (remove before launch) ---------- */

.placeholder-note {
  background: #FFF9EC;
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 15.5px;
  color: var(--gold-deep);
}

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

.site-footer {
  background: var(--beige);
  border-top: 1px solid rgba(40, 53, 81, 0.10);
  padding: 60px 0 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.footer-brand img { height: 34px; width: auto; margin-bottom: 14px; }

.footer-brand p { font-size: 15px; max-width: 320px; }

.footer-links h3 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-links a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(40, 53, 81, 0.10);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 14px;
  color: var(--navy-soft);
}

/* ---------- 404 ---------- */

.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 90px; color: var(--gold); }
.notfound p { margin: 12px 0 30px; }

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

@media (max-width: 860px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .band { padding: 60px 0; }
  .hero { padding: 64px 0 60px; }
  .mission-quote p { font-size: 22px; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--navy-faint);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .nav-links a { padding: 12px 0; width: 100%; }

  .nav-links .nav-cta {
    margin-top: 10px;
    padding: 13px 20px;
    width: auto;
  }

  .site-header.nav-open .nav-links { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
