/* ============================================
   Ashley Insights — Site Stylesheet
   ============================================ */

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

:root {
  --navy: #0a2540;
  --navy-light: #324a5f;
  --slate: #5a7a96;
  --gold: #d4a85a;
  --gold-dark: #8a6a1f;
  --gold-bg: #fdf6e7;
  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --bg-section: #f5f7fa;
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --border: #e0e6ed;
  --border-strong: #d8dee5;
  --max: 1100px;
  --max-narrow: 780px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .sans {
  font-family: var(--sans);
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

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

.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Navigation
   ============================================ */

nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  border: none;
  letter-spacing: -0.3px;
}
.nav-brand:hover { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  border: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero .eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--slate);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 { max-width: 18ch; }

.hero-subhead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ============================================
   Buttons / CTAs
   ============================================ */

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: white;
}

/* ============================================
   Sections
   ============================================ */

section { padding: 4.5rem 0; }
section.alt { background: var(--bg-section); }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--slate);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* ============================================
   Scenarios (3-column on home)
   ============================================ */

.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.scenario {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 1.75rem;
}

.scenario-num {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.scenario h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.scenario p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Credibility / Logo Strip
   ============================================ */

.credibility-content { max-width: 60ch; }

.logo-strip {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 2rem;
}

.logo-strip span {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--navy-light);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================
   Service Cards
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-meta {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card .btn {
  align-self: flex-start;
  font-size: 0.875rem;
  padding: 0.6rem 1.1rem;
}

/* ============================================
   Service Detail (Services page)
   ============================================ */

.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }

.service-detail .eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.service-detail h2 {
  margin-bottom: 0.75rem;
}

.service-pricing {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.service-pricing strong { color: var(--gold-dark); }

.service-block {
  margin-bottom: 1.5rem;
}

.service-block h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.service-block ul {
  list-style: none;
  padding: 0;
}

.service-block ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.55;
}

.service-block ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   Closing CTA
   ============================================ */

.closing-cta {
  text-align: center;
  background: var(--navy);
  color: white;
  padding: 4.5rem 2rem;
}

.closing-cta h2 { color: white; }
.closing-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 50ch;
  margin: 0 auto 2rem;
}

.closing-cta .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.closing-cta .btn-primary:hover {
  background: white;
  border-color: white;
  color: var(--navy);
}

/* ============================================
   About Page
   ============================================ */

.page-header {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--slate);
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-header h1 { margin-bottom: 1rem; }

.page-header .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 55ch;
}

.prose { max-width: 70ch; }
.prose p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.25rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; }

.how-i-work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.how-i-work h4 {
  font-family: var(--sans);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.how-i-work p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form {
  max-width: 600px;
  margin-top: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group label .optional {
  color: var(--slate);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--serif);
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: white;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--serif);
}

.contact-direct {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-direct h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--slate);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.contact-direct p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   Insights / Articles
   ============================================ */

.article-list {
  display: grid;
  gap: 0;
  max-width: 780px;
}

.article-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.article-item:first-child { padding-top: 0; }

.article-meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.article-item h3 a { border: none; color: var(--navy); }
.article-item h3 a:hover { color: var(--gold-dark); }

.article-item p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.article-item .read-more {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
}

.article-item .read-more::after {
  content: " →";
  transition: margin-left 0.15s ease;
}

.article-item .read-more:hover::after {
  margin-left: 0.25rem;
}

/* ============================================
   Article Body Page
   ============================================ */

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.article-body .article-meta { margin-bottom: 1rem; }
.article-body h1 { margin-bottom: 1.5rem; }

.article-body p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
}

.article-body li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--navy-light);
}

.article-cta {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: 6px;
  text-align: center;
}

.article-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-tag {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  max-width: 30ch;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  border: none;
  font-family: var(--sans);
}
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

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

  .nav-links a {
    padding: 0.85rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }

  .scenarios { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .how-i-work { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }

  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 3rem 0; }

  .container, .container-narrow { padding: 0 1.25rem; }
  .nav-inner { padding: 1rem 1.25rem; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .logo-strip { gap: 1.5rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { text-align: center; }
}

