/* =========================================================
   SHARED STYLES — all pages use this file
   Edit this once to update the whole site.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter+Tight:wght@400;500&display=swap');

:root {
  /* Colors — edit these to shift the whole palette */
  --cream: #F5F1E8;
  --cream-deep: #EDE6D6;
  --ink: #1F1D1A;
  --ink-soft: #4A453D;
  --ink-mute: #8A8272;
  --olive: #6B7359;
  --sand: #B8A888;
  --rule: #D9D0BD;

  /* Type */
  --serif: 'Cormorant Garamond', Garamond, 'Adobe Garamond Pro', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Measure — width of a reading column */
  --measure: 620px;
  --measure-wide: 880px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   NAVIGATION — top of every page
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); }

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

.nav-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--olive); }
.nav-links a.current { color: var(--ink); border-bottom: 1px solid var(--olive); padding-bottom: 4px; }

.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 12px 22px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}
.nav-cta:hover { background: var(--olive); border-color: var(--olive); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .nav-inner { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
  }
  .nav.open .nav-cta { align-self: flex-start; }
}

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */
main { padding-bottom: 120px; }

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.measure {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}
.measure-wide {
  max-width: var(--measure-wide);
  margin-left: auto;
  margin-right: auto;
}

/* Section spacing — each section breathes like a book page */
.section {
  padding: 140px 0;
}
.section-tight { padding: 90px 0; }
.section-loose { padding: 180px 0; }

.section + .section { padding-top: 0; }

/* Subtle divider used sparingly */
.rule {
  width: 60px;
  height: 1px;
  background: var(--sand);
  border: none;
  margin: 0 auto;
}
.rule-left { margin-left: 0; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
  display: block;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.display em { font-style: italic; font-weight: 400; color: var(--olive); }

h1.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

h2.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

h3.sub-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
p:last-child { margin-bottom: 0; }

p.large {
  font-size: 22px;
  line-height: 1.65;
  color: var(--ink);
}

/* Pull-quote / anchor line */
.anchor-line {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.anchor-line + .anchor-line { margin-top: 80px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 18px 34px;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn:hover { background: var(--olive); border-color: var(--olive); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: all 0.25s ease;
}
.btn-link:hover { color: var(--olive); border-color: var(--olive); }

.btn-arrow::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   COMPONENTS — used across pages
   ========================================================= */

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 60px; }
}

.split-card {
  padding: 48px 0;
}
.split-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.split-card h3 em { font-style: italic; color: var(--olive); }
.split-card p { margin-bottom: 32px; }

/* Engagement list */
.engagements {
  display: grid;
  gap: 56px;
}
.engagement {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.engagement:last-child { border-bottom: none; padding-bottom: 0; }
.engagement-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 8px;
}
.engagement-content h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--ink);
}
.engagement-content p { margin-bottom: 0; }

@media (max-width: 820px) {
  .engagement { grid-template-columns: 1fr; gap: 12px; }
  .engagement-label { padding-top: 0; }
}

/* Image — placeholder or real */
.image-slot {
  width: 100%;
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}
.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-slot::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  pointer-events: none;
}
.image-slot:has(img)::after { display: none; }

.image-slot.ratio-wide { aspect-ratio: 16 / 9; }
.image-slot.ratio-square { aspect-ratio: 1 / 1; }
.image-slot.ratio-portrait { aspect-ratio: 4 / 5; }
.image-slot.ratio-tall { aspect-ratio: 3 / 4; }

figcaption {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--rule);
  padding: 60px 40px 50px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--ink); }

/* =========================================================
   FORM — used on Start a Conversation
   ========================================================= */
.form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 14px;
  outline: none;
  transition: border-color 0.25s ease;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--olive);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================
   FADE-IN on scroll — very subtle, supports the calm feel
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; }
}
