/* Solvent Solutions — brand stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Neutral, high-contrast base — lets the logo's blue/tan read as the brand accent instead of competing with it */
  --navy: #14181C;         /* near-black charcoal: headlines, primary buttons, dark sections */
  --navy-deep: #0A0C0E;    /* deepest — footer */
  --slate: #566072;        /* neutral cool gray: nav links, secondary text */
  --gold: #C0592F;         /* bold terracotta (deepened from the logo's tan): CTAs, eyebrows, active states */
  --gold-light: #2FA3D6;   /* the logo's actual blue, saturated for punch: accents, gradients, links */
  --cream: #FFFFFF;        /* crisp white — primary background */
  --cream-dim: #F4F2ED;    /* subtle warm gray — alternating sections */
  --white: #FFFFFF;
  --ink: #15191D;
  --ink-soft: #52606D;
  --border: #E4E1DA;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 6px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

footer.site-footer .logo-img {
  height: 34px;
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--slate));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--serif);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 4px 0;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--navy);
}

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--white) !important;
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-gold {
  background: var(--gold);
  color: var(--white) !important;
}
.btn-gold:hover { background: #9c4523; }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy) !important;
}
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }

.nav-cta { padding: 10px 20px; font-size: 0.88rem; }

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

.hero {
  padding: 100px 0 90px;
  background:
    radial-gradient(circle at 85% 10%, rgba(192,89,47,0.10), transparent 40%),
    radial-gradient(circle at 8% 90%, rgba(47,163,214,0.08), transparent 38%),
    var(--cream);
  border-bottom: 1px solid var(--border);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}

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

.hero .lead {
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

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

section { padding: 84px 0; }

.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #B6BCC2; }

.section-head { max-width: 660px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow-sm {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.card .num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.section-navy .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.section-navy .card p { color: #B6BCC2; }

/* ---------- Values / list rows ---------- */

.value-row {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.value-row:last-child { border-bottom: none; }
.value-row .tag {
  flex: 0 0 160px;
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
}
.value-row p { margin: 0; }

/* ---------- Team ---------- */

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.team-photo {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
}

.team-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Photo banner ---------- */

.photo-banner {
  width: 100%;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  margin: 10px 0 0;
  position: relative;
}
.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-caption {
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 8px;
  text-align: right;
}

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

.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 56px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: #B6BCC2; margin: 0; }

/* ---------- Discovery call page ---------- */

.discovery-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.prep-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.prep-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 18px;
  color: var(--ink-soft);
}
.prep-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(192,89,47,0.15);
  border: 1px solid var(--gold);
}

.calendly-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 700px;
}

.calendly-placeholder {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  color: var(--ink-soft);
}
.calendly-placeholder .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.note-box {
  background: var(--cream-dim);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 30px;
}
.note-box strong { color: var(--navy); }

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

footer.site-footer {
  background: var(--navy-deep);
  color: #9AA1A8;
  padding: 56px 0 34px;
}
footer.site-footer .footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
footer.site-footer .brand { color: var(--white); }
footer.site-footer .brand .mark { color: var(--navy-deep); background: var(--gold-light); }
footer.site-footer nav a {
  display: block;
  margin-bottom: 10px;
  color: #9AA1A8;
  font-size: 0.92rem;
}
footer.site-footer nav a:hover { color: var(--white); }
footer.site-footer .foot-col h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Mobile nav toggle ---------- */

.nav-toggle { display: none; }

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

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .discovery-layout { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .value-row { flex-direction: column; gap: 6px; }
  .value-row .tag { flex: none; }

  nav.main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 20px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer;
  }
  .cta-banner { flex-direction: column; text-align: center; }
}
