/* ============================================================
   Pessoa Strategy & Media
   Palette: paper, charcoal ink, deep Jamaican green, muted gold
   Type: Fraunces (display) + Inter (body / utility)
   ============================================================ */

:root{
  --paper:        #FAF9F5;
  --paper-deep:   #F1EEE6;
  --ink:          #22261F;
  --ink-soft:     #565C4E;
  --green-deep:   #133428;
  --green-mid:    #1F5C41;
  --green-tint:   #E7EEE7;
  --gold:         #B98F4B;
  --gold-bright:  #D9B872;
  --line:         rgba(34,38,31,0.14);
  --line-on-dark: rgba(255,255,255,0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(19,52,40,0.18);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--green-deep);
  margin: 0 0 0.4em;
  line-height: 1.12;
  font-weight: 500;
}

p{ margin: 0 0 1em; color: var(--ink-soft); }

a{ color: inherit; text-decoration: none; }

ul{ margin: 0; padding: 0; list-style: none; }

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

.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section{ padding: 96px 0; }

.section-eyebrow{
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75em;
}

/* ---------- Dateline bar ---------- */
.dateline-bar{
  background: var(--green-deep);
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 7px 16px;
  text-align: center;
}
.dateline-bar .dot{ color: var(--gold-bright); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,249,245,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled{
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(19,52,40,0.35);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--font-display);
}
.brand-mark{
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-deep);
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.brand-name{
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand-name em{ font-style: italic; color: var(--ink-soft); font-weight: 400; }

.site-nav{
  display: flex;
  gap: 28px;
}
.site-nav a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.site-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.site-nav a:hover::after{ width: 100%; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-gold{
  background: var(--gold);
  color: var(--green-deep);
}
.btn-gold:hover{
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(185,143,75,0.6);
}
.btn-outline{
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover{
  border-color: var(--green-mid);
  color: var(--green-deep);
}
.nav-cta{ flex-shrink: 0; }

.menu-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span{
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 120px 32px 140px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--paper-deep) 100%);
}
.hero-topo{
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-radial-gradient(circle at 82% 18%,
      transparent 0, transparent 42px,
      rgba(31,92,65,0.07) 43px, rgba(31,92,65,0.07) 44px);
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}
.hero-inner{
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
}
.eyebrow{
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.4em;
}
.hero-title{
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin-bottom: 0.3em;
}
.hero-lede{
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 2em;
}
.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.scroll-cue{
  position: absolute;
  bottom: 28px;
  left: 32px;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span{
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(12px); opacity: 0; }
  100%{ opacity: 0; }
}

/* ---------- About ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.about-quote{
  position: relative;
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--gold);
}
.about-quote .quote-mark{
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 0;
  display: block;
  margin-bottom: 0.3em;
}
.about-quote p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--green-deep);
  line-height: 1.35;
}
.about-copy h2{ font-size: 2rem; }
.about-copy p{ font-size: 1.02rem; }

/* ---------- Services ---------- */
.services{ background: var(--paper-deep); }
.services h2, .experience h2, .case-studies h2, .articles h2, .contact h2{
  font-size: 2rem;
  max-width: 560px;
}
.card-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(19,52,40,0.28);
}
.service-mark{
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--green-tint);
  color: var(--green-deep);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.service-card h3{ font-size: 1.15rem; margin-bottom: 0.5em; }
.service-card p{ font-size: 0.94rem; margin: 0; }
.service-card ul{ display: flex; flex-direction: column; gap: 6px; }
.service-card ul li{
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before{
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 1.5px;
  background: var(--gold);
}

/* ---------- Stats band ---------- */
.stats-band{
  background: var(--green-deep);
  color: var(--paper);
  padding: 64px 0;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat{ display: flex; flex-direction: column; gap: 6px; }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-bright);
}
.stat-label{
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,249,245,0.72);
}

/* ---------- Experience timeline ---------- */
.timeline{
  margin-top: 48px;
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--line);
}
.timeline-item{
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-dot{
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line);
}
.timeline-content h3{ font-size: 1.25rem; margin-bottom: 0.25em; }
.timeline-content p{ margin: 0; max-width: 560px; }

/* ---------- Case studies (dossier) ---------- */
.dossier-list{
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dossier{
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dossier-tab{
  background: var(--green-tint);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  text-align: center;
  border-right: 1px dashed var(--line);
}
.dossier-body{ padding: 30px 32px; }
.dossier-body h3{ font-size: 1.3rem; margin-bottom: 1em; }
.dossier-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dossier-grid h4{
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5em;
}
.dossier-grid p{ font-size: 0.94rem; margin: 0; }

/* ---------- Articles ---------- */
.articles-grid{ grid-template-columns: repeat(4, 1fr); }
.article-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-card:hover{
  transform: translateY(-4px);
  border-color: var(--green-mid);
  box-shadow: var(--shadow);
}
.article-kicker{
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.article-card h3{ font-size: 1.05rem; margin-bottom: 0; }
.article-link{
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-mid);
}

/* ---------- Testimonials ---------- */
.testimonials{ padding-top: 40px; padding-bottom: 40px; }
.testimonials-inner{ text-align: center; }
.testimonials h2{ font-size: 1.8rem; }
.testimonials-note{ max-width: 460px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact{
  background: var(--green-deep);
  color: var(--paper);
}
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact h2{ color: var(--paper); font-size: 2.1rem; }
.contact-copy p{ color: rgba(250,249,245,0.75); max-width: 380px; }
.contact-eyebrow{ color: var(--gold-bright); }
.contact-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 14px;
}
.contact-label{
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,249,245,0.55);
}
.contact-list a{
  font-weight: 500;
  color: var(--paper);
  text-align: right;
}
.contact-list a:hover{ color: var(--gold-bright); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(250,249,245,0.6);
  padding: 28px 0;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-brand .brand-mark{ background: var(--green-mid); }
.footer-tags{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .articles-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 36px; }
  .dossier{ grid-template-columns: 1fr; }
  .dossier-tab{ border-right: none; border-bottom: 1px dashed var(--line); padding: 12px; }
  .dossier-grid{ grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px){
  .site-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -20px 0 40px rgba(19,52,40,0.15);
  }
  .site-nav.open{ transform: translateX(0); }
  .site-nav a{
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-cta{ display: none; }
  .menu-toggle{ display: flex; }
  .dateline-bar{ font-size: 0.62rem; gap: 6px; flex-wrap: wrap; }
  .hero{ padding: 88px 24px 110px; }
  .section{ padding: 72px 0; }
  .section-inner{ padding: 0 22px; }
  .card-grid{ grid-template-columns: 1fr; }
  .articles-grid{ grid-template-columns: 1fr; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
}
