/* Dark / editorial / minimalist, after the Westover Group logo direction. */
:root {
  --ink: #161616;
  --ink-soft: #1f1f1f;
  --paper: #f4f1eb;
  --stone: #e4dfd6;
  --text: #2a2a2a;
  --muted: #6b665f;
  --muted-light: #a9a49b;
  --line: rgba(22, 22, 22, 0.14);
  --line-light: rgba(244, 241, 235, 0.16);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

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

/* Type */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.eyebrow, .label, .pillars, .btn, .nav-links a, .wordmark-sub, .rule-label, .step, .approach-title {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
}

.eyebrow {
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
}

/* Dark sections */
.dark { background: var(--ink); color: rgba(244, 241, 235, 0.78); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--paper); }
.dark .eyebrow { color: var(--muted-light); }
.stone { background: var(--stone); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(22, 22, 22, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
  color: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-main {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wordmark-sub {
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  margin-top: 5px;
  color: var(--muted-light);
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--muted-light); transition: color 0.2s; }
.nav-links a:hover { color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.2s;
}
.nav-toggle span:first-child { top: 12px; }
.nav-toggle span:last-child { top: 20px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.dark .btn, .site-header .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.dark .btn:hover, .site-header .btn:hover { background: transparent; color: var(--paper); }
.nav-links a.btn { color: var(--ink); }
.nav-links a.btn:hover { color: var(--paper); }
.btn-small { padding: 10px 20px; }

/* Hero */
.hero { padding: 140px 0 150px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 13ch;
}
.lead {
  font-size: 1.2rem;
  max-width: 52ch;
  margin: 30px 0 34px;
}
.pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--paper);
  margin-bottom: 48px;
}
.pillars i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-light);
}
.hero-mark {
  width: 100%;
  max-width: 340px;
  justify-self: end;
  opacity: 0.92;
}

/* Sections */
.section { padding: 120px 0; }
.section h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 400;
  margin-bottom: 28px;
}
.section h2.caps {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.intro { max-width: 720px; }
.intro p + p { margin-top: 16px; }

/* Offerings */
.offerings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.offering {
  padding: 40px 28px 0 0;
}
.offering + .offering {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.label { color: var(--muted); margin-bottom: 18px; }
.offering h3 {
  font-size: 1.65rem;
  margin-bottom: 26px;
  min-height: 3.6rem;
}
.offering ul { list-style: none; }
.offering li {
  font-size: 0.95rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.offering li:last-child { border-bottom: 0; }

/* How we work */
.callout {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--paper);
  margin-top: 36px !important;
  padding-left: 24px;
  border-left: 1px solid var(--muted-light);
}
.approach-title {
  color: var(--muted-light);
  margin: 96px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}
.approach {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.step {
  display: block;
  color: var(--muted-light);
  margin-bottom: 14px;
}
.approach h4 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.approach p { font-size: 0.95rem; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  /* Photo and text share a top and bottom edge: the photo stretches to the text's height. */
  align-items: stretch;
}
.portrait {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  display: flex;
  flex-direction: column;
}
/* Offset hairline frame, echoing the rules in the logo. */
.portrait-frame { position: relative; flex: 1; min-height: 0; }
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(22, 22, 22, 0.35);
  pointer-events: none;
}
.portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.portrait figcaption {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  /* Lifts the caption's baseline to match the LinkedIn link's in the text column. */
  padding-bottom: 3px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.portrait figcaption span {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 26px;
}
.about-text { display: flex; flex-direction: column; }
.about p + p { margin-top: 16px; }
.moments {
  list-style: none;
  margin: 18px 0 32px;
  border-top: 1px solid var(--line);
}
.moments li {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.text-link {
  align-self: flex-start;
  margin-top: auto;
  line-height: 1;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--muted); border-color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: 130px 0; }
.cta h2 { max-width: 22ch; margin: 0 auto 18px; }
.cta p { font-size: 1.15rem; margin-bottom: 40px; }
.cta .cta-email { font-size: 0.95rem; margin: 28px 0 0; }
.cta-email a, .site-footer a { border-bottom: 1px solid var(--line-light); transition: color 0.2s, border-color 0.2s; }
.cta-email a:hover, .site-footer a:hover { color: var(--paper); border-color: var(--paper); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  border-top: 1px solid var(--line-light);
  padding: 40px 0;
  font-size: 0.85rem;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; color: var(--paper); }
.footer-brand .wordmark-main { font-size: 1.1rem; }
.rule-label { display: flex; align-items: center; gap: 10px; color: var(--muted-light); }
.rule-label::before { content: ''; width: 24px; height: 1px; background: currentColor; }

/* Tablet */
@media (max-width: 980px) {
  .offerings { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .offering, .offering + .offering {
    padding: 36px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .offering:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .offering:nth-child(odd) { padding-right: 28px; }
  .offering h3 { min-height: 0; }
  .approach { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-light);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-links a.btn { margin-top: 10px; }
  .hero { padding: 90px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-mark { display: none; }
  .section { padding: 84px 0; }
  .offerings { grid-template-columns: 1fr; margin-top: 56px; }
  .offering:nth-child(n) { padding: 32px 0 8px; border-left: 0; }
  .approach { grid-template-columns: 1fr; gap: 32px; }
  .approach-title { margin-top: 72px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 320px; justify-self: start; }
  .portrait img { height: auto; }
  .cta { padding: 96px 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
