/* ===========================
   JENNIFER DOOLEY — STYLE.CSS
   =========================== */

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

:root {
  --green:       #2A6B3C;
  --green-mid:   #3B8050;
  --green-light: #5A9E6E;
  --green-pale:  #EDF4EF;
  --cream:       #F7F4EF;
  --cream-2:     #F0EBE3;
  --cream-3:     #E8E1D6;
  --stone:       #C8C0B4;
  --mid:         #5C5650;
  --dark:        #1A1714;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--dark);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(247,244,239,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--stone);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.85rem 4rem; }
.logo-wrap { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.logo-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: 0.08em; color: var(--dark); }
.logo-sub { font-size: 0.55rem; letter-spacing: 0.28em; color: var(--mid); text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.67rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { font-size: 0.67rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); padding: 0.6rem 1.4rem; text-decoration: none; transition: all 0.3s; }
.nav-cta:hover { background: var(--green); color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--dark); transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 99;
  flex-direction: column; justify-content: center; align-items: center;
}
.mobile-menu.open { display: flex; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; color: var(--mid); cursor: pointer; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 2rem; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--dark); text-decoration: none; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .mobile-cta { font-family: var(--sans); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); padding: 0.8rem 2rem; display: inline-block; margin-top: 1rem; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 4rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero-texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 35%, rgba(42,107,60,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 15% 75%, rgba(42,107,60,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Circular portrait — top right */
.hero-portrait {
  position: absolute;
  top: 7.5rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero-portrait-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--cream-3);
  box-shadow: 0 6px 30px rgba(42,107,60,0.13);
}
.hero-portrait-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-portrait-name {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.06em;
}
.hero-portrait-role {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

.hero-content { max-width: 640px; position: relative; }
.hero-rule { width: 40px; height: 0.5px; background: var(--green); margin-bottom: 2rem; }
.hero-eyebrow { font-size: 0.65rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--green); margin-bottom: 2rem; }
.hero-headline { font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 6.5rem); font-weight: 400; line-height: 1.05; color: var(--dark); margin-bottom: 1.5rem; }
.hero-headline em { font-style: italic; color: var(--green); }
.hero-tagline { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; color: var(--mid); letter-spacing: 0.1em; font-style: italic; margin-bottom: 2.5rem; }
.hero-tagline strong { color: var(--green); font-weight: 500; font-style: normal; }
.hero-sub { font-size: 1rem; font-weight: 400; color: var(--mid); max-width: 400px; line-height: 1.8; margin-bottom: 3rem; }
.hero-actions { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  right: 4rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--stone);
  padding-left: 2rem;
}
.stat-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--green); line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); }

/* ---- BUTTONS ---- */
.btn-primary { font-size: 0.67rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: var(--green); padding: 1rem 2.5rem; text-decoration: none; transition: all 0.3s; display: inline-block; }
.btn-primary:hover { background: var(--green-mid); }
.btn-ghost { font-size: 0.67rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.btn-ghost:hover { color: var(--green); }
.btn-ghost::after { content: '→'; font-size: 0.9rem; }

/* ---- DIVIDER ---- */
.divider { height: 0.5px; background: var(--stone); margin: 0 4rem; opacity: 0.5; }

/* ---- SECTION LABEL ---- */
.section-label { font-size: 0.62rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--green); margin-bottom: 3rem; display: flex; align-items: center; gap: 1rem; }
.section-label::before { content: ''; display: block; width: 30px; height: 0.5px; background: var(--green); }

/* ---- INTRO ---- */
.intro-strip {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  background: var(--cream);
}
.intro-left h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.1; color: var(--dark); }
.intro-left h2 em { font-style: italic; color: var(--green); }
.intro-right p { font-size: 1rem; font-weight: 400; color: var(--mid); line-height: 1.85; margin-bottom: 1.25rem; }
.intro-right p:last-child { margin-bottom: 0; }

/* ---- SERVICES ---- */
.services { padding: 7rem 4rem; background: var(--cream-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--stone); }
.service-card { background: var(--cream-2); padding: 3rem 2.5rem; transition: background 0.3s; }
.service-card:hover { background: var(--cream-3); }
.service-num { font-family: var(--serif); font-size: 0.75rem; font-weight: 400; color: var(--green); letter-spacing: 0.2em; margin-bottom: 1.5rem; display: block; }
.service-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--dark); line-height: 1.2; margin-bottom: 1rem; }
.service-desc { font-size: 0.92rem; font-weight: 400; color: var(--mid); line-height: 1.8; }

/* ---- TESTIMONIALS ---- */
.testimonial-section { padding: 7rem 4rem; background: var(--cream); }
.testimonial-section .section-label { margin-bottom: 4rem; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: var(--stone); }
.testimonial-card { background: var(--cream); padding: 3.5rem; display: flex; flex-direction: column; gap: 1.5rem; transition: background 0.3s; }
.testimonial-card:hover { background: var(--cream-2); }
.testimonial-mark { font-family: var(--serif); font-size: 3.5rem; color: var(--green); opacity: 0.18; line-height: 1; }
.testimonial-quote { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; font-style: italic; color: var(--dark); line-height: 1.6; flex: 1; }
.testimonial-attr { font-size: 0.62rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); border-top: 0.5px solid var(--stone); padding-top: 1.25rem; }

/* ---- ABOUT ---- */
.about { padding: 7rem 4rem; background: var(--cream-2); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 7rem; align-items: start; }
.about-left h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; color: var(--dark); line-height: 1.2; margin-bottom: 2rem; }
.about-left h2 em { font-style: italic; color: var(--green); }
.about-left p { font-size: 1rem; font-weight: 400; color: var(--mid); line-height: 1.85; margin-bottom: 1.25rem; }
.about-left p:last-of-type { margin-bottom: 0; }
.about-left p strong { color: var(--dark); font-weight: 500; }
.about-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font-size: 0.67rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); text-decoration: none; border-bottom: 1px solid rgba(42,107,60,0.3); padding-bottom: 0.3rem; transition: all 0.3s; }
.about-link:hover { border-color: var(--green); }

/* Guardian Smith logo panel */
.gs-logo-panel {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--stone);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gs-logo-img {
  height: 28px;
  width: auto;
  display: block;
  max-width: 220px;
}
.gs-logo-detail { font-size: 0.65rem; font-weight: 400; color: var(--mid); line-height: 1.6; }

.about-right { display: flex; flex-direction: column; gap: 2rem; }
.about-photo-wrap { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.about-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-credentials { display: flex; flex-direction: column; gap: 1.25rem; }
.cred-item { border-left: 2px solid var(--green-light); padding: 0.6rem 1.2rem; }
.cred-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--dark); margin-bottom: 0.2rem; }
.cred-sub { font-size: 0.75rem; font-weight: 400; color: var(--mid); }

/* ---- TALLY FORM SECTION ---- */
.form-section {
  padding: 7rem 4rem;
  background: var(--green-pale);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}
.form-intro h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; color: var(--dark); line-height: 1.2; margin-bottom: 1.25rem; }
.form-intro h2 em { font-style: italic; color: var(--green); }
.form-intro p { font-size: 1rem; font-weight: 400; color: var(--mid); line-height: 1.8; }
.form-intro .section-label { margin-bottom: 2rem; }

.form-embed {
  background: #fff;
  border: 1px solid var(--stone);
  padding: 2rem;
  min-height: 500px;
}
.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: none;
}

/* ---- CONTACT STRIP ---- */
.contact-strip {
  background: var(--cream-2);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.contact-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--mid); font-size: 0.92rem; font-weight: 400; transition: color 0.3s; }
.contact-link:hover { color: var(--green); }
.contact-icon { font-size: 1rem; color: var(--green); }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: #fff; letter-spacing: 0.08em; }
.footer-logo-name span { display: block; font-family: var(--sans); font-size: 0.55rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-top: 3px; }

/* Footer logo: fixed height/width so it never squishes */
.footer-gs-logo {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.38;
  object-fit: contain;
}

.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 0.65rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-right { font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,0.25); text-align: right; line-height: 1.7; }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  nav { padding: 1.25rem 2.5rem; }
  nav.scrolled { padding: 0.85rem 2.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 7rem 2.5rem 4rem; }
  .hero-portrait { top: 5.5rem; right: 2.5rem; }
  .hero-portrait-circle { width: 120px; height: 120px; }
  .hero-stats { position: static; flex-direction: row; flex-wrap: wrap; gap: 2rem; border-left: none; border-top: 0.5px solid var(--stone); padding-left: 0; padding-top: 2rem; margin-top: 2rem; }

  .intro-strip { padding: 5rem 2.5rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .services { padding: 5rem 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-section { padding: 5rem 2.5rem; }
  .about { padding: 5rem 2.5rem; grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-wrap { max-width: 360px; aspect-ratio: 4/5; }
  .form-section { padding: 5rem 2.5rem; grid-template-columns: 1fr; gap: 3rem; }
  .contact-strip { padding: 2rem 2.5rem; gap: 2rem; }
  footer { padding: 2.5rem 2.5rem; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-right { text-align: left; }
  .divider { margin: 0 2.5rem; }
}

@media (max-width: 640px) {
  nav { padding: 1rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero-portrait { top: 5rem; right: 1.5rem; }
  .hero-portrait-circle { width: 90px; height: 90px; border-width: 2px; }
  .hero-portrait-name, .hero-portrait-role { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .intro-strip, .services, .testimonial-section, .about, .form-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; align-items: center; gap: 1.25rem; padding: 2rem 1.5rem; }
  .footer-links { gap: 1.25rem; }
  .divider { margin: 0 1.5rem; }
  .about-photo-wrap { max-width: 100%; }
  .form-embed { padding: 1rem; }
}
