/* === Rebecca Balliet — Site Prototype v1.1 === */

:root {
  --paper: #F7F3EC;
  --ink: #2A2A28;
  --sage: #6E9D8A;
  --dark-sage: #4F7768;
  --muted: rgba(42, 42, 40, 0.6);
  --rule: rgba(42, 42, 40, 0.14);
  --container: 1080px;
  --content: 640px;
}

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

html { -webkit-font-smoothing: antialiased; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a { color: var(--ink); text-decoration: none; }

/* === HEADER === */
.site-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 32px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.wordmark .accent { color: var(--sage); }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--dark-sage); }
.site-nav a.current { color: var(--sage); }

/* === HAMBURGER (mobile only) === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  position: relative;
  z-index: 110;
}
.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* === MAIN === */
main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 32px 120px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 20px;
}

/* === HERO (home) - two-column === */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.hero-text { }
.hero-text .lede {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -0.008em;
  margin-bottom: 36px;
}
.hero-text .subtext {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 40px;
}
.hero-text .subtext .name {
  font-weight: 500;
}
.hero-image {
  filter: saturate(0.92) brightness(0.99);
  position: relative;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-image::before {
  content: ".";
  font-family: 'Lora', serif;
  font-weight: 500;
  color: var(--sage);
  font-size: 220px;
  position: absolute;
  top: -90px;
  left: -50px;
  line-height: 0;
  z-index: -1;
  opacity: 0.85;
}

/* === CTA BUTTON / LINK === */
.cta {
  display: inline-block;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-sage);
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 5px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.cta:hover { color: var(--ink); }

/* === RULE === */
.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 80px 0;
}
.rule-tight { margin: 56px 0; }

/* === SAGE PERIOD DIVIDER === */
.period-divider {
  text-align: center;
  margin: 100px 0;
  font-family: 'Lora', serif;
  font-weight: 500;
  color: var(--sage);
  font-size: 80px;
  line-height: 0.3;
  letter-spacing: 0.4em;
}
.period-divider.small {
  font-size: 48px;
  margin: 64px 0;
}

/* === PULL QUOTE === */
.pull-quote {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 720px;
  margin: 80px 0;
  padding: 0 0 0 32px;
  border-left: 2px solid var(--sage);
  text-align: left;
}
.pull-quote .end-period {
  color: var(--sage);
  font-style: normal;
}

/* === BODY COPY === */
.prose {
  max-width: var(--content);
}
.prose.wide { max-width: 720px; }

.prose p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.prose p.lead {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.prose ul {
  list-style: none;
  margin: 24px 0 32px 0;
  padding: 0;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.6;
}
.prose ul li::before {
  content: "·";
  color: var(--sage);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 22px;
  line-height: 1;
  top: 3px;
}

/* === HEADING === */
.h1 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.h2 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.003em;
}

/* === PORTRAIT (About — grid layout) === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin-bottom: 24px;
}
.about-text { max-width: 100%; }
.about-text p { max-width: 560px; }
.about-text p.lead { max-width: 580px; }
.about-portrait {
  filter: saturate(0.92) brightness(0.99);
  position: sticky;
  top: 32px;
}
.about-portrait img { width: 100%; height: auto; display: block; }

/* === SERVICE LIST (services page) === */
.services {
  display: grid;
  gap: 56px;
  margin-top: 24px;
}
.service {
  max-width: 720px;
}
.service h3 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.003em;
}
.service p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: var(--content);
}

/* === HOME SERVICES PREVIEW === */
.preview {
  display: grid;
  gap: 0;
  margin-top: 32px;
  max-width: 820px;
}
.preview .pv-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.preview .pv-item:last-child { border-bottom: none; }
.preview .pv-num {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--sage);
  padding-top: 3px;
  letter-spacing: 0.05em;
}
.preview .pv-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -0.003em;
}
.preview .pv-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* === PROCESS STEPS === */
.process {
  display: grid;
  gap: 40px;
  margin: 32px 0 0 0;
  max-width: 720px;
}
.process .step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}
.process .step .num {
  font-family: 'Lora', serif;
  font-size: 22px;
  color: var(--sage);
  line-height: 1;
  padding-top: 6px;
  letter-spacing: 0.02em;
}
.process .step .step-title {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.003em;
}
.process .step .step-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 560px;
}

/* === SECTION HEADER (large) === */
.section-header {
  margin-bottom: 56px;
}
.section-header .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.008em;
  color: var(--ink);
  max-width: 700px;
}
.section-header h2 .accent { color: var(--sage); }

/* === FOOTER === */
.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 32px 80px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.site-footer .small-wordmark {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0;
}
.site-footer .small-wordmark .accent { color: var(--sage); }

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image::before { font-size: 140px; top: -50px; left: -20px; }
}
@media (max-width: 700px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 24px 0;
    position: relative;
  }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    right: 24px;
    background: var(--paper);
    padding: 24px 28px;
    border: 1px solid var(--rule);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    z-index: 100;
    min-width: 180px;
    font-size: 13px;
    margin-top: 16px;
  }
  .site-nav.open { display: flex; }
  main { padding: 48px 24px 80px; }
  .hero-text .lede { font-size: 30px; }
  .h1 { font-size: 26px; }
  .section-header h2 { font-size: 30px; }
  .pull-quote {
    font-size: 22px;
    margin: 56px 0;
    padding-left: 20px;
  }
  .period-divider { font-size: 56px; margin: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { position: static; max-width: 280px; }
  .site-footer { flex-direction: column; gap: 12px; align-items: flex-start; padding: 40px 24px 60px; }

  /* Improved paragraph separation on mobile */
  .prose p { margin-bottom: 28px; line-height: 1.75; }
  .prose p.lead { margin-bottom: 32px; line-height: 1.4; }
  .service p { margin-bottom: 20px; line-height: 1.7; }
  .step-body { line-height: 1.7; }
  .services { gap: 64px; }
  .process { gap: 48px; }
  .preview .pv-item { padding: 24px 0; }
}
