/* ============================================
   EXECUTIVE WRITING COACH — Global Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
  --cream: #EDE4D5;
  --cream-light: #F5F0E8;
  --steel: #4A5D7A;
  --steel-light: #7E92AD;
  --steel-pale: #B8C4D4;
  --sage: #9EAD8E;
  --sage-muted: #A8B69A;
  --sage-bg: #B5BFA9;
  --gold: #C4A265;
  --text-dark: #2A3F5F;
  --text-body: #3B4D66;
  --text-muted: #6B7A8D;
  --white: #FDFBF7;
  --border-light: rgba(74, 93, 122, 0.12);
  --shadow-soft: 0 2px 20px rgba(42, 63, 95, 0.08);
  --shadow-card: 0 4px 30px rgba(42, 63, 95, 0.1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.3;
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Scroll Fade Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--cream-light);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-nav.scrolled {
  background: rgba(237, 228, 213, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(42, 63, 95, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--transition);
}
.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--steel); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: var(--steel);
  color: var(--white) !important;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--text-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-light);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--steel);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 93, 122, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--steel);
  border: 1.5px solid var(--steel);
}
.btn-secondary:hover {
  background: var(--steel);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--sage-muted);
  color: var(--white);
}
.btn-sage:hover {
  background: #8A9B7A;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  margin-top: 70px;
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237,228,213,0.85) 0%, rgba(237,228,213,0.5) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 4rem 2rem 4rem 4rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .hero { min-height: 45vh; }
  .hero-content { padding: 3rem 2rem; }
}

/* ============================================
   SECTIONS — General
   ============================================ */
section { padding: 5rem 0; }

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 2.5rem;
  font-style: italic;
  color: var(--text-dark);
}

.section-steel {
  background: var(--steel);
  color: var(--white);
}
.section-steel .section-heading,
.section-steel h2, .section-steel h3 { color: var(--white); }
.section-steel p { color: rgba(255,255,255,0.9); }

.section-sage {
  background: var(--sage-bg);
  color: var(--white);
}
.section-sage .section-heading { color: var(--text-dark); }

.section-cream { background: var(--cream-light); }

/* ============================================
   CHALLENGES CAROUSEL
   ============================================ */
.challenges {
  background: var(--steel);
  padding: 4rem 0;
}
.challenges .section-heading {
  color: var(--white);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 6px;
}

.carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3.5rem;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 50%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-slide .slide-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.carousel-slide p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 380px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}
.carousel-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

@media (max-width: 768px) {
  .carousel-slide { min-width: 100%; }
}

/* ============================================
   MEET RACHEL SECTION
   ============================================ */
.meet-rachel {
  padding: 5rem 0;
}

.rachel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rachel-photo {
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}

.rachel-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.rachel-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.rachel-text .bold-statement {
  font-weight: 700;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .rachel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .rachel-photo { max-width: 400px; margin: 0 auto; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--sage-bg);
  padding: 5rem 0;
  overflow: hidden;
}

.testimonials .section-heading {
  color: var(--text-dark);
  font-style: italic;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 3.5rem;
  min-height: 200px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 1rem 0;
  animation: fadeTestimonial 0.5s ease;
}
.testimonial-slide.active { display: block; }

@keyframes fadeTestimonial {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.03em;
}

/* ============================================
   WHAT YOU GET / WON'T FIND
   ============================================ */
.value-props {
  padding: 5rem 0;
  background: var(--cream-light);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-col h3 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

.value-col li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.value-col li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 1rem;
}

.value-receive li::before { content: '✓'; color: var(--sage); font-weight: 700; }
.value-avoid li::before { content: '✕'; color: var(--steel-light); font-weight: 700; }

@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   GET ASSISTANCE (service list)
   ============================================ */
.services-list {
  padding: 5rem 0;
}

.services-items {
  max-width: 700px;
  margin: 2rem auto 0;
}

.services-items h4 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* ============================================
   CONSULTATION CTA
   ============================================ */
.consult-cta {
  padding: 5rem 0;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.consult-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.consult-images img {
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  height: 200px;
  width: 100%;
}

.consult-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.consult-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

/* ============================================
   MARQUEE / TAGLINE SCROLL
   ============================================ */
.tagline-marquee {
  background: var(--steel);
  padding: 1.2rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-inner span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  padding: 0 3rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--steel);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 2rem;
}

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

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(10);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  margin-top: 70px;
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 100px;
}

.about-text h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-style: italic;
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-photo {
    max-width: 400px;
    margin: 0 auto;
    position: static;
  }
}

/* ============================================
   APPLICATION ESSAYS PAGE
   ============================================ */
.essays-hero {
  margin-top: 70px;
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.essays-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.essays-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  text-align: center;
  margin-bottom: 1rem;
}

.essays-content h2 {
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.essays-body {
  padding: 4rem 0;
}

.essays-body-inner {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 2rem;
}

.essays-body p {
  margin-bottom: 1.3rem;
  font-size: 1.08rem;
  line-height: 1.85;
}

.essays-body .lead {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  margin-top: 70px;
  padding: 5rem 0;
  min-height: 80vh;
}

.contact-inner {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-inner .contact-intro {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.contact-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--steel-light);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel-light);
  box-shadow: 0 0 0 3px rgba(74, 93, 122, 0.08);
}

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

.form-submit {
  margin-top: 1rem;
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   BLOG INDEX
   ============================================ */
.blog-header {
  margin-top: 70px;
  padding: 4rem 0 2rem;
  text-align: center;
}

.blog-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.blog-header .subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.blog-grid {
  padding: 2rem 0 5rem;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.blog-card .read-more {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.blog-card .read-more:hover { color: var(--gold); }

/* ============================================
   BLOG POST (individual)
   ============================================ */
.blog-post-page {
  margin-top: 70px;
  padding: 4rem 0 5rem;
}

.blog-post-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-post-meta {
  text-align: center;
  margin-bottom: 2.5rem;
}

.blog-post-meta h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-style: italic;
  margin-bottom: 1rem;
}

.blog-post-meta .meta-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.blog-post-meta .meta-info .author {
  font-weight: 600;
  color: var(--text-dark);
}

.blog-post-body p {
  margin-bottom: 1.3rem;
  font-size: 1.08rem;
  line-height: 1.85;
}

.blog-post-body em { color: var(--text-dark); }
.blog-post-body strong { color: var(--text-dark); }

.blog-post-body h3 {
  font-size: 1.4rem;
  font-style: italic;
  margin: 2rem 0 1rem;
}

.blog-post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
}

.blog-post-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-nav, .site-footer, .hamburger, .mobile-nav { display: none; }
  body { background: white; color: black; }
  section { padding: 2rem 0; }
}
