/* EMET site: shared styles for the header and inner pages */
:root {
  --deep: #1c211d; --sage: #9db3a1; --light: #eef0e9; --clay: #d98657; --rule: #333c34;
  --bar: #e6e9e3; --bar-ink: #2c332c; --bar-muted: #4c5e4f; --bar-clay: #c1673f;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--deep); color: var(--light); }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }

/* Menu bar, Nomad Force style: a full-width light grey strip fixed to the bottom of the screen.
   Logo on the left, tabs on the right, a small clay dot marks the current tab. */
.site-header {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--bar);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.28);
  padding-bottom: env(safe-area-inset-bottom);
}
.site-header .bar {
  max-width: 1140px; margin: 0 auto; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}
.brand { position: relative; display: block; width: 116px; line-height: 0; flex: none; }
.brand img { width: 100%; height: auto; }
.brand .cursor { position: absolute; inset: 0; animation: blink 1.1s steps(1, end) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative; display: inline-flex; align-items: center;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--bar-muted); text-decoration: none; padding: 0.5rem 0.95rem;
  transition: color 0.2s;
}
/* the dot after the tab: shows on the current tab, slides in on hover */
.nav a::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bar-clay);
  margin-left: 0.55rem; opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--bar-ink); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.nav a.cta { color: var(--bar-clay); }

/* Phone: logo left, three-line menu icon right; the tab list opens upwards */
.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--bar-ink);
  transition: transform 0.3s, top 0.3s, background 0.2s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .site-header .bar { height: 64px; }
  .brand { width: 100px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; bottom: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bar); padding: 0.5rem 0;
    border-bottom: 1px solid #d3d8ca;
    box-shadow: 0 -12px 30px rgba(0,0,0,0.22);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.95rem 1.5rem; font-size: 1.05rem; }
}

/* Inner "coming soon" pages */
.page {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.5rem calc(72px + 3rem);
}
.page .eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin: 0 0 1rem;
}
.page h1 {
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.6rem); margin: 0; color: var(--light);
}
.page .soon { color: var(--sage); margin: 1.25rem 0 0; font-size: 1.05rem; }

/* ---------- Shared content sections (home, blog, team, posts) ---------- */
.mv-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: #c1673f; margin: 0 0 1rem;
}
/* From the Lab: three blog cards */
.lab { background: #eef0e9; color: #2c332c; padding: clamp(4.5rem, 11vw, 7.5rem) clamp(1.5rem, 5vw, 3rem); }
.lab-inner { max-width: 1140px; margin: 0 auto; }
.lab-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.lab-head h2 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: 1.1; margin: 0; }
.lab-head .mv-label { margin-bottom: 0.9rem; }
.all-link {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #2c332c; text-decoration: none; border-bottom: 1px solid #c1673f; padding-bottom: 0.2rem;
}
.all-link:hover { color: #c1673f; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden;
  color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(28,33,29,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28,33,29,.12); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.card-meta { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #c1673f; }
.card h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.35rem; line-height: 1.25; margin: 0; }
.card p { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.97rem; line-height: 1.6; color: #4c5e4f; margin: 0; }
.card .more { margin-top: auto; padding-top: 0.5rem; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #2c332c; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* Closing invitation */
.invite { background: #c1673f; color: #fff; padding: clamp(4rem, 9vw, 6rem) clamp(1.5rem, 5vw, 3rem); text-align: center; }
.invite h2 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 4.2vw, 2.7rem); line-height: 1.2; margin: 0 auto 2rem; max-width: 24ch; text-wrap: balance; }
.invite a {
  display: inline-block; background: #1c211d; color: #eef0e9; text-decoration: none;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 999px; transition: background .2s ease;
}
.invite a:hover { background: #2c332c; }

/* Footer */
.site-footer { background: var(--deep); color: #c9d3c9; padding: clamp(3.5rem, 8vw, 5rem) clamp(1.5rem, 5vw, 3rem) calc(72px + 2.5rem); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 44px; height: 44px; display: block; margin-bottom: 1rem; }
.footer-brand p { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.1rem; line-height: 1.5; color: var(--light); margin: 0; max-width: 22ch; }
.footer-col h4 { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.95rem; color: #c9d3c9; text-decoration: none; }
.footer-col a:hover { color: var(--light); }
.footer-col .soon { font-size: 0.8rem; color: #7d8a7f; margin-left: 0.35rem; }
.footer-base {
  max-width: 1140px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em; color: #7d8a7f;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Page intro band (dark), used on Blog, Team and post pages */
.intro { padding: clamp(5rem, 12vw, 8rem) clamp(1.5rem, 5vw, 3rem) clamp(3.5rem, 8vw, 5rem); }
.intro-inner { max-width: 1140px; margin: 0 auto; }
.intro .mv-label { color: var(--clay); }
.intro h1 {
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; color: var(--light);
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; margin: 0; max-width: 20ch; text-wrap: balance;
}
.intro p.lead {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; color: #c9d3c9;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.65; margin: 1.5rem 0 0; max-width: 40rem;
}
.intro-split { display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-video { margin: 0; border-radius: 6px; overflow: hidden; background: #f5efe6; }
.intro-video video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } .intro-video { max-width: 320px; } }
.light-band { background: #eef0e9; color: #2c332c; padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem); }

/* Blog: featured post + grid */
.card.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: 6px; overflow: hidden;
  color: inherit; text-decoration: none; margin-bottom: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(28,33,29,.06); transition: box-shadow .25s ease;
}
.card.featured:hover { transform: none; box-shadow: 0 14px 30px rgba(28,33,29,.12); }
.card.featured img { display: block; width: 100%; height: 100%; min-height: 320px; aspect-ratio: auto; object-fit: cover; }
.card.featured .card-body { padding: clamp(1.75rem, 4vw, 3rem); justify-content: center; }
.card.featured h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
@media (max-width: 900px) {
  .card.featured { grid-template-columns: 1fr; max-width: 34rem; margin-left: auto; margin-right: auto; }
  .card.featured img { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .card.featured .video-slot img { aspect-ratio: 16 / 9; height: 100%; }
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; }
.filters span, .filters button {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid #c9cfc0; color: #4c5e4f;
}
.filters span.on, .filters button.on { background: #2c332c; border-color: #2c332c; color: #eef0e9; }

/* Post page */
.post-hero-img { max-width: 1040px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
.post-hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 6px; }
.post-meta { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-top: 1.5rem; }
.prose { max-width: 42rem; margin: 0 auto; }
.prose p { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 1.1rem; line-height: 1.8; color: #34403a; margin: 0 0 1.4rem; }
.prose h2 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.7rem; line-height: 1.25; margin: 2.5rem 0 1rem; color: #2c332c; }
.prose blockquote {
  margin: 2.25rem 0; padding-left: 1.5rem; border-left: 2px solid #c1673f;
  font-family: 'Source Serif 4', Georgia, serif; font-size: 1.45rem; line-height: 1.4; color: #2c332c;
}
.prose .back { display: inline-block; margin-top: 1.5rem; }
.placeholder-note {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em;
  color: #7d8a7f; border: 1px dashed #b9c1b3; border-radius: 6px; padding: 0.75rem 1rem; margin: 0 0 2rem;
}

/* Team: photo on top, then role, name, bio, and a video-intro slot */
.team-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.member { background: #fff; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(28,33,29,.06); }
.member-photo {
  position: relative; background: linear-gradient(160deg, #d9e0d4, #bccabd); aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.member-photo img { width: 34%; opacity: 0.25; }
.member-photo .tag, .video-slot .tag {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(28,33,29,.72); color: #eef0e9; padding: 0.3rem 0.55rem; border-radius: 3px;
}
.member-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.bio-more { margin: -0.25rem 0 0.5rem; }
.bio-more summary {
  cursor: pointer; list-style: none; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #c1673f;
}
.bio-more summary::-webkit-details-marker { display: none; }
.bio-more summary::after { content: " +"; }
.bio-more[open] summary::after { content: " \2212"; }
.bio-more p { margin-top: 0.75rem; }
.member-photo.agent-photo { background: #1c221d; }
.member-photo.agent-photo img { width: 38%; opacity: 1; }
.bio-soon { color: #7d8a7f !important; font-style: italic; }
.member-body { padding: 1.4rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.member-body h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin: 0; }
.member-role { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #c1673f; }
.member-body p { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.95rem; line-height: 1.6; color: #4c5e4f; margin: 0 0 0.5rem; }
.video-slot {
  position: relative; margin-top: auto; aspect-ratio: 16 / 9; border-radius: 4px; background: #1c211d;
  display: flex; align-items: center; justify-content: center;
}
.video-slot { position: relative; }
.card.featured .video-slot img, .video-slot img { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; min-height: 0; aspect-ratio: 16 / 9; }
/* Video cards: always show the whole YouTube thumbnail (16:9), never crop it.
   On the featured card the box keeps its own 16:9 shape and sits centred in
   its column instead of stretching to the height of the text beside it. */
.card .video-slot:has(img) { background: #eef6eb; }
.card.featured .video-slot { align-self: center; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; }
.card.featured:has(.video-slot img) { background: #fff; align-items: center; }
.video-slot .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #d98657; background: rgba(28,33,29,.55);
  display: flex; align-items: center; justify-content: center;
}
.video-slot .play::before { content: ""; margin-left: 4px; border-left: 13px solid #d98657; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 46rem; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; max-width: 26rem; } .member-photo { aspect-ratio: 1 / 1; } }

/* Lab page */
.section-h { font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin: 0 0 2rem; color: #2c332c; }
.section-h.light { color: var(--light); }
.lab-split { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.lab-photo { margin: 0; border-radius: 6px; overflow: hidden; }
.lab-photo img, .lab-photo video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #f5efe6; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; border-top: 1px solid #d3d8ca; padding-top: 1.5rem; }
.steps .num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.85rem; color: #c1673f; padding-top: 0.3rem; }
.steps h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.4rem; margin: 0 0 0.5rem; }
.steps p { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 1rem; line-height: 1.65; color: #4c5e4f; margin: 0; }
.dark-band { background: var(--deep); padding: clamp(4.5rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem); }
.dark-band .mv-label { color: var(--clay); }
.questions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.q { border: 1px solid var(--rule); border-radius: 6px; padding: 1.75rem; transition: border-color .25s ease; }
.q:hover { border-color: #5d6b5f; }
.q-status {
  display: inline-block; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--deep); background: var(--sage); padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 1rem;
}
.q h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: 1.45rem; line-height: 1.25; color: var(--light); margin: 0 0 0.6rem; }
.q p { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.98rem; line-height: 1.6; color: #c9d3c9; margin: 0; }
.lab-wide { line-height: 0; }
.lab-wide img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 672; object-fit: cover; }
.principles-light { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); }
.principles-light ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.principles-light li { border-top: 2px solid #c1673f; padding-top: 1rem; }
.principles-light strong { display: block; font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.2rem; margin-bottom: 0.4rem; }
.principles-light span { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.97rem; line-height: 1.6; color: #4c5e4f; }
.open-notes {
  margin-top: clamp(3rem, 7vw, 4.5rem); background: #fff; border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.open-notes h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.35rem; margin: 0 0 0.35rem; }
.open-notes p { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.97rem; color: #4c5e4f; margin: 0; }
@media (max-width: 860px) {
  .lab-split, .principles-light { grid-template-columns: 1fr; }
  .lab-photo img, .lab-photo video { aspect-ratio: 4 / 3; }
  .questions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .principles-light ul { grid-template-columns: 1fr; } .lab-wide img { aspect-ratio: 16 / 9; } }

/* Social icons (footer, blog, Let's Talk) */
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem 0.5rem 0.6rem;
  border: 1px solid #c9cfc0; border-radius: 999px; color: #2c332c; cursor: default;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.88rem;
}
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-link svg .fill { fill: currentColor; stroke: none; }
.social.on-dark .social-link, .footer-social .social-link { border-color: #45514a; color: #eef0e9; }
.footer-social { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.footer-social .social-link { border: 0; padding: 0; gap: 0.6rem; color: #c9d3c9; font-size: 0.95rem; }
.social-note { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.68rem; letter-spacing: 0.08em; color: #7d8a7f; margin: 0.9rem 0 0; }
.strip-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-footer .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .site-footer .footer-inner { grid-template-columns: 1fr 1fr; } }

/* Let's Talk page */
.contact-split { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.reasons { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.4rem; }
.reasons li { border-top: 2px solid #c1673f; padding-top: 0.9rem; }
.reasons strong { display: block; font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.25rem; margin-bottom: 0.35rem; }
.reasons span { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.97rem; line-height: 1.6; color: #4c5e4f; }
.direct-line { display: flex; gap: 0.75rem; align-items: baseline; font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; margin: 0; }
.direct-line span { font-weight: 500; }
.direct-line em { color: #7d8a7f; font-style: normal; }
.contact-form { background: #fff; border-radius: 6px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.1rem; box-shadow: 0 1px 2px rgba(28,33,29,.06); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: 0.45rem; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #4c5e4f; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem 'Inter', ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: #2c332c;
  background: #f6f7f3; border: 1px solid #d3d8ca; border-radius: 4px; padding: 0.8rem 0.9rem; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid #c1673f; outline-offset: 1px; border-color: transparent; }
.contact-form textarea { resize: vertical; }
.contact-form button {
  justify-self: start; background: #c1673f; color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem 2rem;
}
.contact-form button:hover { background: #a9562f; }
.form-note { display: none; margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 0.92rem; color: #a9562f; }
.form-note.show { display: block; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form .row2 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .brand .cursor { animation: none; }
  .nav a::after, .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { transition: none; }
}

/* Share buttons on articles */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 3rem 0 2rem; padding-top: 1.5rem; border-top: 1px solid #cfd6cb; }
.share-label { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #4c5e4f; margin-right: .4rem; }
.share-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 1px solid #b9c4b6; border-radius: 999px; background: transparent; color: #2c332c; font: 500 .9rem 'Inter', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.share-btn:hover, .share-btn:focus-visible { border-color: #c1673f; color: #c1673f; }
.share-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* LinkedIn link under each team member's name */
.member-linkedin { display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start; margin-top: -0.2rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #4c5e4f; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.member-linkedin svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.member-linkedin:hover, .member-linkedin:focus-visible { color: #c1673f; border-bottom-color: #c1673f; }

/* Essay pages: tighter paragraph rhythm */
.prose.essay p { line-height: 1.7; margin-bottom: 1.1rem; }
.prose strong { font-weight: 600; color: #1f2621; }
.prose.essay h2.sub { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-size: 1.1rem; font-weight: 600; line-height: 1.7; color: #1f2621; margin: 1.6rem 0 .3rem; }
.prose.essay h2 { margin: 2.2rem 0 .8rem; }

/* Live social links (LinkedIn is connected; X and YouTube still pending) */
a.social-link { cursor: pointer; text-decoration: none; transition: color .2s, border-color .2s; }
a.social-link:hover, a.social-link:focus-visible { color: #d98657; border-color: #d98657; }

/* EMET logo mark on the bottom of every blog photo */
.photo-mark { position: relative; display: block; overflow: hidden; }
.photo-mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; pointer-events: none;
  background:
    url("logo-mark-light.png") no-repeat right clamp(.8rem, 2.2vw, 1.4rem) bottom clamp(.7rem, 2vw, 1.2rem) / clamp(84px, 18%, 150px) auto,
    linear-gradient(to top, rgba(20,24,21,.55), rgba(20,24,21,0));
}
.post-hero-img .photo-mark { border-radius: 6px; }
.post-hero-img .photo-mark::after { background-size: clamp(100px, 14%, 180px) auto, auto; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; margin: 2rem 0; background: #11140f; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card.featured .photo-mark { height: 100%; }
.card.featured .photo-mark img { height: 100%; }

/* Note on essays first published elsewhere */
.prose .post-origin { font-size: .95rem; color: #6b776d; margin-top: 2rem; }
.prose .post-origin a { color: inherit; }

/* Essay elements: process flows, comparison tables, stage lists */
.prose .flow { font-family: 'IBM Plex Mono', monospace; font-size: .9rem; letter-spacing: .01em; color: #2c332c; background: #e6e9e3; border-left: 3px solid #d98657; padding: .9rem 1.1rem; border-radius: 4px; line-height: 1.9; }
.prose .flow span { color: #d98657; margin: 0 .4rem; font-family: Inter, sans-serif; font-size: 1.15rem; font-weight: 500; }
.prose table.compare { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .98rem; line-height: 1.5; }
.prose table.compare th { text-align: left; font-family: 'IBM Plex Mono', monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: #4a6b5a; padding: .6rem .8rem; border-bottom: 2px solid #9db3a1; }
.prose table.compare td { vertical-align: top; padding: .75rem .8rem; border-bottom: 1px solid #d5dcd3; width: 50%; }
.prose table.compare.cols3 td:nth-child(1) { width: 20%; font-weight: 600; color: #1f2621; } .prose table.compare.cols3 td:nth-child(2), .prose table.compare.cols3 td:nth-child(3) { width: 40%; }
.prose h3 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; font-size: 1.3rem; margin: 2rem 0 .8rem; color: #2c332c; }
.prose ul.stages, .prose ol.stages { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.prose ul.stages li, .prose ol.stages li { margin-bottom: .55rem; line-height: 1.6; }
@media (max-width: 600px) { .prose table.compare { font-size: .9rem; } .prose table.compare td, .prose table.compare th { padding: .6rem .5rem; } }

/* Working blog filters */
.filters button { background: transparent; line-height: inherit; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover:not(.on) { border-color: #2c332c; color: #2c332c; }
.filters button:focus-visible { outline: 2px solid #d98657; outline-offset: 2px; }
[data-cat][hidden] { display: none !important; }

/* Single share button */
.share-one { padding: .6rem 1.2rem; font-size: .95rem; }
.share-one svg { width: 17px; height: 17px; }

/* "Follow on LinkedIn" line under each article's share button */
.follow-lab { margin: 0 0 1.25rem; }
.follow-lab-link { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Inter', system-ui, sans-serif; font-size: .9rem; color: #4c5e4f; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.follow-lab-link:hover, .follow-lab-link:focus-visible { color: #c1673f; border-color: #c1673f; }
.follow-lab-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ / Q&A page */
.faq-section { max-width: 880px; margin: 0 auto; padding: 1rem 1.5rem 5rem; }
.faq-list { display: flex; flex-direction: column; gap: 2.1rem; }
.faq-item { border-bottom: 1px solid rgba(238,240,233,0.12); padding-bottom: 2.1rem; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-family: 'Source Serif 4', serif; font-weight: 500; font-size: 1.25rem; margin: 0 0 .6rem; color: var(--light); }
.faq-item p { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; line-height: 1.65; color: #c9d3c9; margin: 0; }

/* Home hero: one-line "what we do" under the logo */
.hero-sub { margin: 1.4rem auto 0; max-width: 30ch; font-family: 'Inter', system-ui, sans-serif; font-size: clamp(0.9rem, 2.2vw, 1rem); color: #c9d3c9; text-wrap: balance; }

/* Contact: direct email link */
.direct-line a { color: #a9562f; text-decoration: none; border-bottom: 1px solid rgba(169,86,47,.35); }
.direct-line a:hover { border-color: #a9562f; }
.form-note a { color: inherit; }
.form-fine { margin: 0; font-family: 'Inter', system-ui, sans-serif; font-size: .85rem; line-height: 1.55; color: #5b665c; }
