@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Source+Code+Pro:wght@400;500;600&display=swap');

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

:root {
  --grounding: #151C01;
  --lotus: #FBF5F4;
  --rose: #983C32;
  --rose-active: #B04A3E;
  --stone: #6E6F63;
  --stone-light: #9B9C8F;
  --emerald: #1B4332;
  --emerald-light: #2D6A4F;
  --border: #D8D4CE;
  --border-light: #E8E4DF;
  --field: #F4EFED;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, sans-serif;
  color: var(--grounding);
  background: var(--lotus);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(21, 28, 1, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 2.5rem;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Jost', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--lotus);
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.nav-logo {
  width: 30px; height: 30px;
  margin-right: 0.75rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--stone-light);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--lotus); }

/* HERO */
.hero {
  background: var(--grounding);
  padding: 10rem 2.5rem 7rem;
  position: relative;
}
.hero.hero-short { padding: 8.5rem 2.5rem 5.5rem; }

.hero-inner { max-width: 860px; margin: 0 auto; }

.hero-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  color: var(--lotus);
  margin-bottom: 2rem;
  max-width: 760px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
}

.hero-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  color: var(--stone-light);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-primary { background: var(--rose); color: var(--lotus); }
.btn-primary:hover { background: var(--rose-active); }
.btn-ghost { background: transparent; color: var(--stone-light); border: 1px solid rgba(251,245,244,0.2); }
.btn-ghost:hover { border-color: var(--lotus); color: var(--lotus); }
.btn-cta { background: var(--rose); color: var(--lotus); padding: 0.9rem 2.5rem; }
.btn-cta:hover { background: var(--rose-active); }

/* SECTIONS */
section { padding: 5.5rem 2.5rem; }
.inner { max-width: 780px; margin: 0 auto; }
.inner-wide { max-width: 960px; margin: 0 auto; }

.bg-lotus { background: var(--lotus); }
.bg-field { background: var(--field); }
.bg-dark { background: var(--grounding); color: var(--lotus); }

.eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}
.bg-dark .eyebrow { color: var(--emerald-light); }

.heading {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--grounding);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bg-dark .heading { color: var(--lotus); }

.body-text { font-size: 1.05rem; color: var(--grounding); line-height: 1.78; }
.bg-dark .body-text { color: var(--stone-light); }
.body-text p + p { margin-top: 1.2rem; }

.pull {
  font-family: 'Jost', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--grounding);
  border-left: 3px solid var(--emerald);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  max-width: 600px;
}
.bg-dark .pull { color: var(--lotus); border-left-color: var(--emerald-light); }

/* QUESTION LIST */
.q-list { list-style: none; margin: 2rem 0; }
.q-list li {
  font-family: 'Jost', sans-serif; font-size: 1.12rem; font-style: italic;
  color: var(--grounding); line-height: 1.5;
  padding: 0.45rem 0 0.45rem 1.4rem; border-left: 2px solid var(--border); margin-bottom: 0.35rem;
}

/* ATTRIBUTED QUOTE */
.quote {
  font-family: 'Jost', sans-serif; font-style: italic; font-size: 1.18rem; line-height: 1.6;
  color: var(--stone); border-left: 3px solid var(--emerald);
  padding-left: 1.5rem; margin: 2.5rem 0; max-width: 640px;
}
.quote cite {
  display: block; margin-top: 0.9rem; font-style: normal;
  font-family: 'Source Code Pro', monospace; font-size: 0.7rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone);
}
.bg-dark .quote { color: var(--stone-light); border-left-color: var(--emerald-light); }
.bg-dark .quote cite { color: var(--stone-light); }

/* AUDIENCE CARDS (home) */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.aud-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--lotus);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--grounding);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.aud-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(21,28,1,0.08); border-color: var(--emerald); }
.aud-card .aud-kicker {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 0.9rem;
}
.aud-card h3 {
  font-family: 'Jost', sans-serif; font-size: 1.25rem; font-weight: 600;
  line-height: 1.25; margin-bottom: 0.7rem;
}
.aud-card p { font-size: 0.95rem; color: var(--stone); line-height: 1.6; flex-grow: 1; }
.aud-link {
  margin-top: 1.3rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--emerald-light); font-weight: 600;
}
.aud-card:hover .aud-link { color: var(--rose); }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; margin-top: 3rem; }
.p-card { padding: 1.75rem 0 0; border-top: 2px solid var(--emerald); }
.p-card h3 { font-family: 'Jost', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.7rem; }
.p-card p { font-size: 0.95rem; color: var(--stone); line-height: 1.65; }

/* CARD GRID (services-who-ef shared) */
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.card-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.feature-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--lotus);
}
.bg-field .feature-card { background: var(--lotus); }
.bg-lotus .feature-card { background: var(--field); }
.feature-card h4 { font-family: 'Jost', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.95rem; color: var(--stone); line-height: 1.6; }

/* CASE STUDY (dark) */
.case-intro { color: var(--stone-light); font-size: 1.05rem; line-height: 1.75; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.c-item { padding: 1.75rem; background: rgba(251,245,244,0.04); border: 1px solid rgba(251,245,244,0.07); border-radius: 3px; }
.c-item h4 { font-family: 'Jost', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--lotus); margin-bottom: 0.5rem; }
.c-item p { font-size: 0.9rem; color: var(--stone-light); line-height: 1.6; }
.case-result { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(251,245,244,0.1); }
.case-result p { font-family: 'Jost', sans-serif; font-size: 1.15rem; font-weight: 300; font-style: italic; color: var(--rose); line-height: 1.55; max-width: 620px; }

/* SERVICES LIST */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 2rem; list-style: none; }
.svc-list li { padding: 0.85rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.98rem; display: flex; align-items: baseline; gap: 0.8rem; }
.svc-list li:nth-child(odd) { padding-right: 2rem; }
.svc-list li:nth-child(even) { padding-left: 1rem; }
.svc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; position: relative; top: -1px; }

/* DESIGN TEASER */
.d-teaser { margin-top: 2.5rem; background: var(--grounding); border-radius: 3px; display: flex; overflow: hidden; }
.d-teaser-img { width: 280px; min-height: 180px; background: linear-gradient(135deg, #1a2a1a 0%, #0d1200 100%); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.d-teaser-img span { font-family: 'Source Code Pro', monospace; font-size: 0.6rem; color: var(--stone-light); text-align: center; padding: 1rem; letter-spacing: 0.04em; }
.d-teaser-text { padding: 2rem; }
.d-teaser-text h4 { font-family: 'Jost', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--lotus); margin-bottom: 0.5rem; }
.d-teaser-text p { font-size: 0.88rem; color: var(--stone-light); line-height: 1.6; }

/* ABOUT */
.about-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.about-photo { aspect-ratio: 3/4; background: linear-gradient(160deg, #F4EFED 0%, #E8E0DA 100%); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-family: 'Source Code Pro', monospace; font-size: 0.72rem; color: var(--stone); text-align: center; padding: 1rem; border: 1px solid var(--border); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-text p { font-size: 1.05rem; line-height: 1.78; margin-bottom: 1.2rem; }
.about-creds { margin-top: 1.5rem; font-family: 'Source Code Pro', monospace; font-size: 0.78rem; color: var(--stone); line-height: 1.8; letter-spacing: 0.02em; }

/* CONTACT */
.contact { text-align: center; }
.contact .eyebrow { color: var(--rose); }
.contact-body { font-size: 1.08rem; color: var(--stone-light); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.75; }
.contact-links { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2.5rem; }
.contact-links a { font-family: 'Source Code Pro', monospace; color: var(--rose); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.contact-links a:hover { color: var(--lotus); }

/* PORTFOLIO NOTE */
.note-band { margin-top: 2.5rem; padding: 1.5rem 1.75rem; border: 1px dashed var(--border); border-radius: 3px; background: var(--lotus); font-size: 0.95rem; color: var(--stone); }
.bg-field .note-band { background: var(--lotus); }

/* MUSINGS / BLOG */
.post-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; }
.post-card {
  display: block;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--grounding);
  transition: opacity 0.2s;
}
.post-card:first-child { border-top: 1px solid var(--border-light); }
.post-meta {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 0.6rem;
}
.post-card h3 {
  font-family: 'Jost', sans-serif; font-size: 1.45rem; font-weight: 600;
  line-height: 1.25; margin-bottom: 0.6rem; color: var(--grounding);
}
.post-card.linked:hover h3 { color: var(--rose); }
.post-card p { font-size: 1rem; color: var(--stone); line-height: 1.7; max-width: 640px; }
.post-card .read-more {
  display: inline-block; margin-top: 0.9rem;
  font-family: 'Source Code Pro', monospace; font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--emerald-light); font-weight: 600;
}
.post-card.upcoming { opacity: 0.6; }
.post-card.upcoming .post-meta { color: var(--rose); }

/* Individual post article */
.post-article { max-width: 720px; margin: 0 auto; }
.post-article h1 {
  font-family: 'Jost', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.01em;
}
.post-article .post-meta { margin-bottom: 2.5rem; }
.post-article p { font-size: 1.08rem; line-height: 1.85; margin-bottom: 1.4rem; }
.post-article ul { margin: 0 0 1.6rem 1.4rem; }
.post-article li { font-size: 1.06rem; line-height: 1.75; margin-bottom: 0.55rem; padding-left: 0.3rem; list-style: disc; }
.post-article .post-meta + p::first-letter {
  font-family: 'Jost', sans-serif; font-size: 3.2rem; font-weight: 600;
  float: left; line-height: 0.9; padding: 0.3rem 0.6rem 0 0; color: var(--rose);
}
.post-sign { font-family: 'Jost', sans-serif; font-style: italic; color: var(--stone); margin-top: 2.2rem !important; letter-spacing: 0.05em; }
.post-back {
  display: inline-block; margin-bottom: 2rem;
  font-family: 'Source Code Pro', monospace; font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--emerald-light);
  text-decoration: none; font-weight: 600;
}
.post-back:hover { color: var(--rose); }

/* FOOTER */
footer { background: var(--grounding); border-top: 1px solid rgba(251,245,244,0.06); padding: 1.8rem 2.5rem; text-align: center; }
footer p { font-family: 'Source Code Pro', monospace; font-size: 0.68rem; color: var(--stone); letter-spacing: 0.04em; }
footer a { color: var(--stone-light); text-decoration: none; }
footer a:hover { color: var(--lotus); }

/* RESPONSIVE */
@media (max-width: 820px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.62rem; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  nav { padding: 0 1.5rem; }
  .hero, .hero.hero-short { padding: 7rem 1.5rem 4.5rem; }
  .audience-grid, .process-grid, .case-grid, .card-grid-2, .card-grid-3, .svc-list { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .contact-links { flex-direction: column; gap: 1rem; }
  section { padding: 4rem 1.5rem; }
  .d-teaser { flex-direction: column; }
  .d-teaser-img { width: 100%; min-height: 140px; }
  .svc-list li:nth-child(odd) { padding-right: 0; }
  .svc-list li:nth-child(even) { padding-left: 0; }
}
