/* Jennifer Jackson Career Consulting — site stylesheet */

:root {
  /* brand purple (from logo) — variable names kept as "navy" for minimal diff */
  --navy: #3f2748;
  --navy-soft: #5c3d68;
  --cream: #faf6ef;
  --cream-deep: #f1e7f0;
  /* brand gold (from logo) — variable names kept as "terracotta" for minimal diff */
  --terracotta: #b8860b;
  --terracotta-dark: #966d08;
  --charcoal: #262330;
  --grey: #6b6672;
  --border: #e3d9e6;
  --white: #ffffff;
  --shadow: 0 20px 40px -24px rgba(63, 39, 72, 0.3);
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

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

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap--narrow {
  max-width: 800px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

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

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.logo-mark {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-line1 { font-weight: 700; }
.logo-line2 {
  font-family: var(--sans);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 26px; height: 26px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}
.main-nav a.active,
.main-nav a:hover { color: var(--terracotta); }

.main-nav .btn { margin-left: 0.4rem; }

/* Hero */
.hero {
  padding: 2.5rem 0 6rem;
  background: var(--navy);
  color: var(--cream);
  position: relative;
}
.hero h1 { color: var(--white); }
.hero p { color: rgba(250,246,239,0.85); }
.hero .hero-eyebrow { color: #e3a877; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 384/395;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 0 5.5rem;
  position: relative;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(250,246,239,0.85); font-size: 1.15rem; max-width: 700px; }
.page-hero .hero-eyebrow { color: #e3a877; }

/* Sections */
.section {
  padding: 4rem 0;
  position: relative;
}
.section-tight { padding: 2.5rem 0; }
.section-alt {
  background: var(--cream-deep);
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 5.5rem;
}
.section-navy {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  padding-top: 2rem;
  padding-bottom: 6rem;
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }

/* Soft-curve dividers between alternating section backgrounds */
.section-alt::before,
.section-navy::before,
.page-hero::before,
.hero::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  transform: translateY(-99%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.section-alt::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,40 Q720,-20 1440,40 L1440,100 Z' fill='%23f1e7f0'/%3E%3C/svg%3E");
}
.section-navy::before,
.page-hero::before,
.hero::before,
.site-footer::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,40 Q720,-20 1440,40 L1440,100 Z' fill='%233f2748'/%3E%3C/svg%3E");
}
.section-alt + .section::before,
.section-navy + .section::before,
.page-hero + .section::before,
.hero + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  transform: translateY(-99%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,40 Q720,-20 1440,40 L1440,100 Z' fill='%23faf6ef'/%3E%3C/svg%3E");
}

.section-head {
  max-width: 700px;
  margin: 0 0 2.5rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid-4 { grid-template-columns: 1fr; }
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.testimonial-card .quote-mark {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--terracotta);
  line-height: 0.5;
}
.testimonial-card p { font-size: 0.97rem; color: var(--charcoal); margin-bottom: 0; }
.testimonial-card .attribution {
  margin-top: auto;
  padding-top: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border-top: 1px solid var(--border);
}

/* Testimonial carousel */
.testimonial-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 3.5rem;
}
.carousel-viewport {
  overflow: hidden;
}
.testimonial-carousel .testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.3rem;
}
.testimonial-carousel .testimonial-card {
  min-height: 260px;
  justify-content: flex-start;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.carousel-arrow:hover { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
}
.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active { background: var(--terracotta); }

@media (max-width: 640px) {
  .testimonial-carousel { padding: 0 2.8rem; }
  .carousel-arrow { width: 2.2rem; height: 2.2rem; font-size: 1rem; }
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.check-list li {
  padding-left: 1.9rem;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: var(--terracotta);
}

.plain-list {
  padding-left: 1.2rem;
}
.plain-list li { margin-bottom: 0.6rem; }

/* Pricing */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--terracotta);
  box-shadow: var(--shadow);
}
.price-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.3rem;
}
.price-card .price {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--terracotta);
  margin: 0.4rem 0 1rem;
}
.price-card h3 { margin-bottom: 0.2rem; min-height: 2.6em; display: flex; align-items: center; }

/* Numbered blocks (corporate) */
.numbered-block {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.numbered-block .num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--terracotta);
}

/* Image gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}
.gallery-grid img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* Blog */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.post-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  font-weight: 600;
}
.post-card h3 { margin-bottom: 0.2rem; }
.post-card p { color: var(--grey); font-size: 0.95rem; }
.read-more {
  margin-top: auto;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
}
.read-more:hover { color: var(--terracotta); }

.post-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.post-body h2 { margin-top: 1.8em; }
.post-body h3 { margin-top: 1.5em; }
.post-body ul { padding-left: 1.3rem; }
.post-body li { margin-bottom: 0.5rem; }

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.back-link:hover { color: var(--terracotta); }

/* Contact / CTA */
.cta-panel {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.cta-panel h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-panel p { color: rgba(250,246,239,0.85); margin-bottom: 0; }

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.97rem;
  background: var(--white);
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
  color: var(--navy);
}
.contact-note {
  font-size: 0.88rem;
  color: var(--grey);
  margin-top: 0.8rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(250,246,239,0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-mark { width: 3.2rem; height: 3.2rem; }
.footer-logo-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
}
.footer-logo-tagline {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8b34d;
}
.footer-grid a { color: rgba(250,246,239,0.8); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--terracotta); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(250,246,239,0.15);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: rgba(250,246,239,0.6);
}
.footer-bottom a { color: rgba(250,246,239,0.6); text-decoration: underline; }

/* Utility */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.centered-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.mt-lg { margin-top: 2.5rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 1.1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav .btn { margin-left: 0; width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
