/* ============================================
   MOLLY MORRISON CONSULTING — STYLESHEET
   ============================================ */

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

:root {
  --teal:       #2a7d7b;
  --teal-dark:  #1f5f5d;
  --teal-light: #e8f4f4;
  --ink:        #1a1a1a;
  --ink-mid:    #3d3d3d;
  --ink-soft:   #666666;
  --border:     #e0e0e0;
  --bg:         #ffffff;
  --bg-tint:    #f8f8f6;
  --bg-contact: #1f5f5d;

  --font-body:  'Inter', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --max-w:      1100px;
  --max-w-narrow: 740px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--narrow { max-width: var(--max-w-narrow); }

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section--tinted { background: var(--bg-tint); }

/* --- Section labels --- */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.section-label--light { color: rgba(255,255,255,0.6); }

.section-intro {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.15s;
}
.nav-links li a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff 55%, var(--teal-light) 100%);
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

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

.hero-text { max-width: 600px; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

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

/* hero photo */
.hero-photo {
  flex-shrink: 0;
  width: clamp(200px, 28vw, 360px);
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.hero-photo img {
  width: 100%;
  height: clamp(300px, 55vw, 520px);
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 7px;
  transition: background 0.15s var(--ease), color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(42,125,123,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover {
  background: var(--teal-light);
}
.btn-white {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
  margin-top: 1rem;
}
.btn-white:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
}

/* ============================================
   ABOUT
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-text-col p {
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}
.about-text-col p:last-child { margin-bottom: 0; }

.about-photos-col {
  position: sticky;
  top: 90px;
}

.about-photo-stack {
  position: relative;
  width: 100%;
}

.about-photo {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.about-photo--top {
  width: 85%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  position: relative;
  z-index: 2;
}

.about-photo--bottom {
  width: 72%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  margin-top: -60px;
  margin-left: auto;
  position: relative;
  z-index: 1;
  border: 4px solid #fff;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-list {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-list li {
  font-size: 0.825rem;
  color: var(--ink-soft);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ============================================
   WHO I WORK WITH
   ============================================ */
#who p {
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}

.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.sector-chip {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(42,125,123,0.2);
}

.who-footer {
  font-style: italic;
  color: var(--ink-soft) !important;
  border-left: 3px solid var(--teal);
  padding-left: 1.25rem;
  margin-top: 2rem !important;
}

/* ============================================
   EXPERIENCE
   ============================================ */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  padding-block: 2rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
.exp-item:first-child { border-top: 1px solid var(--border); }

.exp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.exp-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.exp-item h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.exp-item p {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ============================================
   CONTACT
   ============================================ */
.section--contact {
  background: var(--bg-contact);
  color: #fff;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-sub {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.contact-sub:last-of-type { margin-bottom: 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.5);
  padding-block: 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-name {
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.footer-copy { font-size: 0.8rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1000px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-photos-col {
    position: static;
    display: flex;
    justify-content: center;
  }
  .about-photo-stack {
    max-width: 480px;
  }
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links li a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }
  .nav-cta {
    background: transparent !important;
    color: var(--teal) !important;
    padding: 0.85rem 0 !important;
    border-radius: 0 !important;
  }
  .nav-cta:hover { background: transparent !important; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
