/* ─────────────────────────────────────────
   Narrative — styles.css
   Playfair Display + DM Sans
   Palette: linen, sand, sage, terracotta
───────────────────────────────────────── */

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

:root {
  --linen:      #FAF7F2;
  --sand:       #E8DFCF;
  --cream:      #F0EBE1;
  --sage:       #7D9878;
  --terracotta: #B8684A;
  --ink:        #1A1612;
  --stone:      #6B5F53;
  --border:     #D8CEBC;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--linen);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ─── Typography ─────────────────────── */

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

p {
  color: var(--stone);
  line-height: 1.8;
}

em {
  font-style: italic;
}

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


/* ─── Layout ─────────────────────────── */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section {
  padding: 7rem 0;
}


/* ─── Shared Labels ───────────────────── */

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}

.section-title {
  margin-bottom: 4rem;
}

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 2rem;
}


/* ─── Nav ────────────────────────────── */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.75rem 0;
  background-color: var(--linen);
  transition: box-shadow 0.3s;
}

#navbar.scrolled {
  box-shadow: 0 1px 0 var(--border);
}

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

.wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--stone);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .nav-email {
  color: var(--terracotta);
}

.nav-links .nav-email:hover {
  opacity: 0.7;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--linen);
  padding: 8rem 2.5rem 4rem;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--ink);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--terracotta);
}


/* ─── Hero ───────────────────────────── */

#hero {
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem max(3rem, 5vw) 8rem max(3rem, 8vw);
}

.hero-text h1 {
  margin-bottom: 2rem;
}

.hero-text h1 em {
  color: var(--terracotta);
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 400px;
  margin-bottom: 3rem;
}

.hero-contact-line {
  font-size: 1.05rem;
}

.hero-email {
  display: inline;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.hero-email:hover {
  opacity: 0.65;
}

.hero-image {
  overflow: hidden;
  background-color: var(--sand);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* ─── Services ───────────────────────── */

#services {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.service-mode {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.85rem;
}

.service-card > p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-list li {
  font-size: 0.92rem;
  color: var(--stone);
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--terracotta);
}


/* ─── Why Narrative ──────────────────── */

#why {
  padding-bottom: 2.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5rem;
}

.pillar {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3.5rem;
}

.pillar-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}

.pillar h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.pillar p {
  font-size: 0.92rem;
}


/* ─── About ──────────────────────────── */

#about {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: sticky;
  top: 7rem;
  background: var(--border);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-content .section-label {
  margin-bottom: 0.75rem;
}

.about-content h2 {
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 0.96rem;
  margin-bottom: 1.2rem;
}

.about-content p:last-of-type {
  margin-bottom: 2rem;
}

.about-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.about-link:hover {
  opacity: 0.65;
}


/* ─── Clients ────────────────────────── */

#clients {
  padding: 3rem 0;
}

.clients-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 3.5rem;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 5rem;
}

.logo-grid img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.35;
  filter: grayscale(100%);
  transition: opacity 0.25s;
}

.logo-grid img:hover {
  opacity: 0.65;
}


/* ─── Contact ────────────────────────── */

#contact {
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-inner {
  max-width: 540px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin: 0.75rem 0 1.5rem;
}

.contact-inner > p {
  margin-bottom: 3rem;
}

.contact-email {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 0.2s;
}

.contact-email:hover {
  opacity: 0.65;
}


/* ─── Footer ─────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-wordmark {
  font-size: 1.1rem;
}

.footer-inner p {
  font-size: 0.78rem;
  color: var(--stone);
}

.footer-link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--ink);
}


/* ─── Responsive ─────────────────────── */

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

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }

  #clients {
    padding: 4rem 0;
  }

  /* Hero: stack vertically */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 9rem 2.5rem 4rem;
    order: 1;
  }

  .hero-image {
    order: 2;
    aspect-ratio: 3 / 2;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  /* Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo {
    position: static;
    aspect-ratio: 1 / 1;
    max-width: 300px;
  }

  /* Logos */
  .logo-grid {
    gap: 2rem 3rem;
  }

  .logo-grid img {
    height: 28px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
