/* ============================================================
   Spring Creek Advisory — Main Stylesheet
   ============================================================ */

:root {
  --color-navy:       #1C3A5A;
  --color-slate:      #2E5F8A;
  --color-sky:        #7BB8E8;
  --color-sage:       #5A8F5A;
  --color-sage-light: #8FC98F;
  --color-ice:        #E8F2FA;

  --font-serif:  Georgia, 'Playfair Display', serif;
  --font-sans:   Inter, 'Segoe UI', system-ui, Arial, sans-serif;

  --max-width: 1100px;
  --nav-height: 88px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-slate);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--color-sage); }

/* ── Utility ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--color-ice); }

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: bold;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1.0625rem;
  color: #3a4e62;
  max-width: 640px;
  line-height: 1.75;
}

.rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-sage);
  margin: 20px 0 32px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: none;
}

.btn--primary {
  background: var(--color-slate);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-navy);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-slate);
  border: 1.5px solid var(--color-slate);
}
.btn--outline:hover {
  background: var(--color-slate);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #dde6ee;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo {
  height: 74px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-slate);
  border-color: var(--color-sky);
}

.nav__cta {
  font-size: 0.8125rem !important;
  padding: 8px 18px;
  background: var(--color-slate);
  color: #fff !important;
  border-radius: 3px;
  border-bottom: none !important;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--color-navy) !important; color: #fff !important; }

/* hamburger (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--color-navy);
  color: var(--color-ice);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sage) 0%, var(--color-sky) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: bold;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--color-sky);
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #b8cfe6;
  margin-bottom: 40px;
  max-width: 600px;
}

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

/* background landscape watermark */
.hero__bg-mark {
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 480px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* ── Value strip ────────────────────────────────────────── */
.strip {
  background: var(--color-slate);
  color: #fff;
  padding: 0;
}

.strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255,255,255,0.1);
}

.strip__item {
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.strip__num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color-sky);
  line-height: 1;
  margin-bottom: 4px;
}

.strip__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}

/* ── Tools grid ─────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tool-card {
  border: 1px solid #d0dcea;
  border-radius: 4px;
  padding: 32px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  box-shadow: 0 6px 24px rgba(28,58,90,0.10);
  transform: translateY(-2px);
  border-color: var(--color-sky);
}

.tool-card--coming {
  opacity: 0.65;
  pointer-events: none;
}

.tool-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--color-slate);
}

.tool-card__status {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
  width: fit-content;
}

.tool-card__status--live {
  background: #e6f4ec;
  color: var(--color-sage);
}

.tool-card__status--soon {
  background: #eef3f8;
  color: #7a96ae;
}

.tool-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.tool-card__desc {
  font-size: 0.9rem;
  color: #4a6070;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}

.tool-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.tool-card__link:hover { gap: 10px; }

/* ── About section ──────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-split__visual {
  position: relative;
}

.about-mark-large {
  width: 100%;
  max-width: 320px;
}

.bio-list {
  list-style: none;
  margin-top: 24px;
}

.bio-list li {
  padding: 10px 0;
  border-bottom: 1px solid #dde6ee;
  font-size: 0.9375rem;
  color: #3a4e62;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bio-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-sage);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── Signup ─────────────────────────────────────────────── */
.signup {
  background: var(--color-navy);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.signup__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}

.signup__sub {
  color: #b8cfe6;
  font-size: 1rem;
  margin-bottom: 36px;
}

.signup__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

.signup__input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.signup__input::placeholder { color: rgba(255,255,255,0.4); }
.signup__input:focus { border-color: var(--color-sky); }

.signup__note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Contact form ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #c8d8e8;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-navy);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

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

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

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 20px;
  height: 20px;
  color: var(--color-slate);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.9375rem;
  color: #3a4e62;
}

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--color-navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-sage) 0%, var(--color-sky) 100%);
}
.page-hero__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 10px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: bold;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero__sub {
  font-size: 1rem;
  color: #b8cfe6;
  max-width: 560px;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
  border-top: 3px solid var(--color-slate);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand .nav__name { color: #fff; font-size: 1rem; }
.footer__brand .nav__tagline { color: var(--color-sky); }

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 14px;
  color: rgba(255,255,255,0.5);
}

.footer__heading {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
}

.footer__bottom a { color: rgba(255,255,255,0.55); }
.footer__bottom a:hover { color: #fff; }

/* ── About page specific ────────────────────────────────── */
.about-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-navy);
  margin: 40px 0 12px;
}
.about-content h2:first-child { margin-top: 0; }

.about-content p {
  font-size: 1.0rem;
  color: #3a4e62;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 680px;
}

.about-content .rule { margin: 8px 0 28px; }

.profile-card {
  background: var(--color-ice);
  border-left: 3px solid var(--color-sage);
  border-radius: 0 4px 4px 0;
  padding: 28px 32px;
  margin: 40px 0;
}
.profile-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.profile-card__title {
  font-size: 0.875rem;
  color: var(--color-sage);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.profile-card__bio {
  font-size: 0.9375rem;
  color: #3a4e62;
  line-height: 1.7;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }

  .nav__logo { height: 44px; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #dde6ee;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav__links.open a { padding: 10px 0; }
  .nav__toggle { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero__bg-mark { display: none; }

  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-mark-large { max-width: 200px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .tools-grid { grid-template-columns: 1fr; }
}
