/* ============================================
   DREAMSCAPE · Warm Editorial v2
   ============================================ */
:root {
  /* palette · whites lead, mustard demoted */
  --coral: #ED4C5C;
  /* blue family · multiple shades for hierarchy */
  --sky: #A9C3F2;        /* soft, light tint */
  --cobalt: #3D7BE0;     /* primary */
  --cobalt-deep: #2A5DB8; /* hover/depth */
  --navy: #1B3A75;       /* deep accent */
  --indigo: #4F46E5;     /* pop variant */
  --pop-red: #ED4C5C;    /* same as coral, semantic name for one-off pops */
  --green: #3DAE6B;
  --mustard: #F5B82E;
  --purple: #8B5FBF;

  --paper: #FFFFFF;      /* primary bg, pure white */
  --offwhite: #FBFAF7;   /* secondary bg, warm neutral */
  --white: #FFFFFF;      /* clean white */
  --cream: #FBF6EA;      /* used very sparingly for warmth */
  --bone: #FAFAF7;       /* near-white with whisper warmth */

  --ink: #1B1B1B;
  --ink-soft: #3A3A3A;
  --muted: #7A7468;
  --hairline: rgba(27,27,27,0.12);

  /* type */
  --display: "Bricolage Grotesque", -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(.2, .8, .2, 1);

  --nav-h: 72px; /* fallback; script.js measures the real .nav height on load/resize */
}

/* ============================================
   reset
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================
   typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 5.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.8vw, 4rem); line-height: 1.04; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2.4rem); line-height: 1.1; }
h4 { font-size: 1.2rem; line-height: 1.2; }

em.serif, .serif em, .accent-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

p { color: var(--ink-soft); }
.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 580px;
}

/* eyebrow · italic serif, signature element */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--cobalt);
  display: inline-block;
  margin-bottom: 24px;
}
.eyebrow.cobalt { color: var(--cobalt); }
.eyebrow.green { color: var(--green); }
.eyebrow.muted { color: var(--muted); }

/* small label · uppercase tracked */
.label {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-weight: 500;
}
.label-bright { color: var(--cobalt); }

/* ============================================
   layout
   ============================================ */
.wrap { max-width: clamp(1440px, 75vw, 2000px); margin: 0 auto; padding: 0 48px; }
.wrap-tight { max-width: clamp(1100px, 57vw, 1530px); margin: 0 auto; padding: 0 48px; }
section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }

@media (max-width: 720px) {
  .wrap, .wrap-tight { padding: 0 24px; }
  section { padding: 64px 0; }
}

/* ============================================
   nav
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  max-width: clamp(1440px, 75vw, 2000px); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 700; font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-logo {
  height: 45px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Big version of the brand mark · used as hero visual element */
.brand-mark-xl {
  position: relative;
  width: 100%; aspect-ratio: 1;
  max-width: 480px;
}
.brand-mark-xl .sq {
  position: absolute;
  border-radius: 28px;
  opacity: 0.95;
}
.brand-mark-xl .sq-1 { background: var(--coral);   width: 62%; height: 62%; left: 0;     top: 18%;   transform: rotate(-14deg); }
.brand-mark-xl .sq-2 { background: var(--cobalt);  width: 68%; height: 68%; right: 0;    top: 0;     transform: rotate(14deg);  z-index: 2; }
.brand-mark-xl .sq-3 { background: var(--mustard); width: 42%; height: 42%; left: 18%;   bottom: 0;  transform: rotate(8deg);   z-index: 1; }
.brand-mark-xl .sq-4 { background: var(--green);   width: 36%; height: 36%; right: 12%;  bottom: 12%; transform: rotate(-10deg); z-index: 3; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: #EE5564; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 100px;
  font-weight: 500; font-size: 0.88rem;
  transition: background .15s;
}
.nav-cta:hover { background: var(--cobalt); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.nav-toggle-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.nav-toggle-dot.dot-1 { top: 0; left: 0; }
.nav-toggle-dot.dot-2 { top: 0; right: 0; }
.nav-toggle-dot.dot-3 { bottom: 0; left: 0; }
.nav-toggle-dot.dot-4 { bottom: 0; right: 0; }
/* open state: opposite-corner dot pairs stretch and rotate to meet at the center, forming an X */
.nav-toggle[aria-expanded="true"] .dot-1 { transform: translate(3.5px, 3.5px) rotate(45deg) scaleX(1.65); }
.nav-toggle[aria-expanded="true"] .dot-4 { transform: translate(-3.5px, -3.5px) rotate(45deg) scaleX(1.65); }
.nav-toggle[aria-expanded="true"] .dot-2 { transform: translate(-3.5px, 3.5px) rotate(-45deg) scaleX(1.65); }
.nav-toggle[aria-expanded="true"] .dot-3 { transform: translate(3.5px, -3.5px) rotate(-45deg) scaleX(1.65); }

@media (max-width: 1090px) {
  .nav-inner { padding: 18px 24px; position: relative; }
  .brand { position: relative; z-index: 2; }
  .nav-actions { position: relative; z-index: 2; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--paper);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 1.3rem;
  }
  .nav-links a:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 14px 16px; gap: 8px; }
  .brand { gap: 6px; }
  .brand-logo { height: 34px; }
  .nav-actions { gap: 6px; }
  .nav-cta { padding: 7px 12px; font-size: 0.76rem; }
  .nav-toggle { width: 32px; height: 32px; }
}

body.nav-open { overflow: hidden; }

/* ============================================
   buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background .15s, transform .15s;
  border: 1.5px solid var(--ink);
}
.btn:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn-coral { background: var(--cobalt); border-color: var(--cobalt); }
.btn-coral:hover { background: var(--ink); border-color: var(--ink); }
.btn-cobalt { background: var(--cobalt); border-color: var(--cobalt); }
.btn-cobalt:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* link arrow style: italic serif, cobalt blue — the site's one CTA-link style */
.link-arrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--cobalt);
  transition: color .15s;
}
.link-arrow:hover { color: var(--ink); }

/* ============================================
   hero · centered, italic eyebrow signature
   ============================================ */
/* Standard hero: identical on every inner page */
.hero {
  padding: 64px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin: 0 auto;
}
.hero .lead {
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 20px auto 28px;
  max-width: 620px;
}
.hero .eyebrow {
  font-family: var(--body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 40px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.hero h1 em.cobalt { color: var(--cobalt); }
.hero h1 em.green { color: var(--green); }
.hero .lead {
  margin: 36px auto 36px;
  text-align: center;
}
.hero-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 8px;
}

.hero-left {
  text-align: left;
}
.hero-left h1, .hero-left .lead { margin-left: 0; margin-right: 0; }
.hero-left .lead { text-align: left; }
.hero-left .hero-ctas { justify-content: flex-start; }

/* hero-split: left-aligned copy + illustration on the right (inner pages) */
.hero.hero-split .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero.hero-split .wrap > * { min-width: 0; }
.hero.hero-split h1 { margin-left: 0; margin-right: 0; max-width: none; }
.hero.hero-split .lead { text-align: left; margin: 20px 0 0; max-width: 560px; }
.hero.hero-split .hero-ctas { justify-content: flex-start; }
@media (max-width: 860px) {
  .hero.hero-split .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero.hero-split .hero-illo-slot { order: -1; }
}

/* illustration slot: img with SVG fallback, same convention as .chair-image-slot */
.hero-illo-slot { width: 100%; max-width: 580px; margin: 0 auto; }
.hero-illo-slot img { width: 100%; height: auto; display: block; }
.hero-illo-slot .illo-fallback { display: none; }
.hero-illo-slot.no-img img { display: none; }
.hero-illo-slot.no-img .illo-fallback { display: block; }
.hero-illo-slot .illo-fallback svg { width: 100%; height: auto; display: block; }
.about-hero-illo { max-width: 464px; }

/* content + illustration split (join page "How we hire") */
.hire-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hire-split { grid-template-columns: 1fr; gap: 32px; }
}

/* alternating off-white/white backgrounds for inner-page content sections
   (excludes hero/header sections, CTA color-blocks, dark sections, and the footer) */
body.inner-page section:not([class*="hero"]):not(.color-block):not(.section-ink):nth-of-type(even) {
  background: var(--offwhite);
}
body.inner-page section:not([class*="hero"]):not(.color-block):not(.section-ink):nth-of-type(odd) {
  background: var(--paper);
}

/* ============================================
   section header
   ============================================ */
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 64px;
}
.section-head h2 { max-width: 760px; }
.section-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}

/* italic accent in any h2 */
h2 em.serif-coral, h2 .serif-coral { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--cobalt); }
h2 em.serif-cobalt, h2 .serif-cobalt { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--cobalt); }
h2 em.serif-green, h2 .serif-green { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--green); }
h2 em.serif-ink, h2 .serif-ink { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink); }

/* ============================================
   grids
   ============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-asym { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }

/* Tablet: keep grids alive in 2-col instead of immediately collapsing */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .grid-asym { grid-template-columns: 1fr; gap: 28px; }
}

/* Small tablet / large phone: tighten gaps, keep 2-col where useful */
@media (max-width: 768px) {
  .grid-2 { gap: 16px; }
  .grid-3 { gap: 16px; }
  .grid-4 { gap: 14px; }
}

/* Phone: collapse the most cramped grids only */
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================
   work tiles · gradient blocks
   ============================================ */
.work-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 16/11;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  color: var(--paper);
  transition: transform .25s;
}
.work-tile:hover { transform: translateY(-4px); }
.work-tile .tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  opacity: 0.85;
}
.work-tile h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.work-tile.coral { background: linear-gradient(165deg, var(--coral) 0%, #C73E4C 100%); }
.work-tile.cobalt { background: linear-gradient(165deg, var(--cobalt) 0%, #2A5DB8 100%); }
.work-tile.green { background: linear-gradient(165deg, var(--green) 0%, #2C8C53 100%); }
.work-tile.mustard { background: linear-gradient(165deg, var(--mustard) 0%, #C99820 100%); color: var(--ink); }
.work-tile.purple { background: linear-gradient(165deg, var(--purple) 0%, #6A4699 100%); }
.work-tile.ink { background: linear-gradient(165deg, #2A2A2A 0%, var(--ink) 100%); }
.work-tile.paper { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.work-tile.paper h4 { color: var(--ink); }

@media (max-width: 720px) {
  .work-tile { padding: 24px; aspect-ratio: 4/3; }
  .work-tile h4 { font-size: 1.35rem; }
}

/* ============================================
   portfolio gallery tabs (Our Work page)
   ============================================ */
.portfolio-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: var(--offwhite);
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.tab-btn {
  padding: 13px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.tab-btn:hover { background: rgba(27,27,27,0.06); }
.tab-btn.active { background: var(--ink); color: var(--paper); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,27,27,0.08);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-item .body { padding: 20px 24px 24px; }
.gallery-item .body h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.gallery-item .body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 24px; }
  .tab-btn { padding: 11px 18px; font-size: 0.85rem; }
}

/* ============================================
   service rows (replaces service cards)
   ============================================ */
.service-row {
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  align-items: start;
  transition: opacity .2s, padding-left .3s var(--ease);
}
.service-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.service-row:hover { padding-left: 8px; }
.service-row .num {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.service-row:hover .num { color: var(--cobalt); }
.service-row .title h3 {
  margin-bottom: 12px;
}
.service-row .title h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.service-row .body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.service-row .start-with {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
}
.service-row .start-with::before {
  content: "→ we'd start with: ";
  font-family: var(--body);
  font-style: normal;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cobalt);
  display: block;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-row .num { font-size: 1rem; }
}

/* ============================================
   quote / pull-quote section
   ============================================ */
.quote-section {
  background: var(--cobalt);
  color: var(--paper);
  padding: 96px 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin: 0 auto;
}
.quote-section .attr {
  margin-top: 28px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
}
.quote-section.cobalt { background: var(--cobalt); }
.quote-section.green { background: var(--green); }
.quote-section.ink { background: var(--ink); }

/* ============================================
   client roll (Ashley Brooke-style horizontal list)
   ============================================ */
.client-roll {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.client-roll .sep {
  color: var(--cobalt);
  font-style: italic;
  font-family: var(--serif);
  margin: 0 14px;
  font-size: 0.85em;
}

/* ============================================
   stat band
   ============================================ */
.stat-band {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0;
}
.stat-band .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 0 48px; max-width: clamp(1300px, 68vw, 1800px); margin: 0 auto; }
.stat-band .stat .num {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cobalt);
}
.stat-band .stat .label {
  margin-top: 18px;
  font-size: 0.95rem;
  opacity: 0.78;
  max-width: 320px;
  line-height: 1.5;
  color: var(--paper);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
@media (max-width: 900px) {
  .stat-band .grid { grid-template-columns: 1fr; gap: 36px; padding: 0 24px; }
}

/* ============================================
   tag pill (small label)
   ============================================ */
.tag-pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--ink);
}
.tag-pill.coral { background: var(--coral); border-color: var(--coral); color: var(--paper); }
.tag-pill.cobalt { background: var(--cobalt); border-color: var(--cobalt); color: var(--paper); }
.tag-pill.green { background: var(--green); border-color: var(--green); color: var(--paper); }
.tag-pill.ink { background: var(--ink); color: var(--paper); }
/* blue-shade variants for service / category tags */
.tag-pill.sky { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.tag-pill.cobalt-deep { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: var(--paper); }
.tag-pill.navy { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.tag-pill.indigo { background: var(--indigo); border-color: var(--indigo); color: var(--paper); }
.tag-pill.outline-blue { background: transparent; border-color: var(--cobalt); color: var(--cobalt); }

/* ============================================
   work cards (proof page)
   ============================================ */
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,27,27,0.08);
}
.work-card .thumb {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  overflow: hidden;
}
.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transition: transform .35s;
}
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .thumb.coral { background: linear-gradient(165deg, var(--coral) 0%, #C73E4C 100%); color: var(--paper); }
.work-card .thumb.cobalt { background: linear-gradient(165deg, var(--cobalt) 0%, #2A5DB8 100%); color: var(--paper); }
.work-card .thumb.green { background: linear-gradient(165deg, var(--green) 0%, #2C8C53 100%); color: var(--paper); }
.work-card .thumb.mustard { background: linear-gradient(165deg, var(--mustard) 0%, #C99820 100%); color: var(--ink); }
.work-card .thumb.purple { background: linear-gradient(165deg, var(--purple) 0%, #6A4699 100%); color: var(--paper); }
.work-card .thumb.paper { background: var(--offwhite); color: var(--ink); }
.work-card .body { padding: 24px 26px 28px; }
.work-card .tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}
.work-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.work-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============================================
   client logo cards (about page, after hero)
   ============================================ */
.client-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.client-card {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 32px 30px 30px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,27,27,0.08);
}
.client-card .logo {
  height: 40px;
  max-width: 100%;
  width: auto;
  display: block;
  margin-bottom: 22px;
}
/* for client logos that are white-on-transparent: recolor to black instead of a background patch */
.client-card .logo.logo-recolor { filter: brightness(0); }
.client-card .rule {
  border-top: 1px solid var(--hairline);
  margin-bottom: 22px;
}
.client-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.client-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.client-card:hover .link-arrow { color: var(--ink); }
@media (max-width: 860px) {
  .client-cards { grid-template-columns: 1fr; }
}

/* ============================================
   client wall (clients page): logo tiles where we have the asset,
   plain typographic tiles as a fallback where we don't
   ============================================ */
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client-tile {
  padding: 26px 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.client-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27,27,27,0.08);
  border-color: var(--cobalt);
}
.client-tile.has-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
}
.client-tile.has-logo img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
}
@media (max-width: 900px) {
  .client-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .client-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-tile { padding: 20px 14px; font-size: 0.95rem; }
  .client-tile.has-logo { min-height: 60px; }
  .client-tile.has-logo img { max-height: 30px; }
}

/* ============================================
   post-it notes (culture page hot takes)
   ============================================ */
.postit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  margin-top: 16px;
}
.postit {
  background: var(--paper);
  padding: 28px 26px 32px;
  position: relative;
  box-shadow: 0 4px 0 rgba(27,27,27,0.04), 0 14px 28px rgba(27,27,27,0.08);
  transition: transform .3s var(--ease);
  min-height: 240px;
  display: flex; flex-direction: column;
}
.postit::before {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 60px; height: 16px;
  background: rgba(27,27,27,0.12);
  border-radius: 2px;
}
.postit:nth-child(odd) { transform: rotate(-1.2deg); }
.postit:nth-child(even) { transform: rotate(1.4deg); }
.postit:nth-child(3n) { transform: rotate(-0.6deg); }
.postit:hover { transform: translateY(-4px) rotate(0deg); }
.postit .meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.postit h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.postit h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.postit p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: auto;
}
.postit.tint-coral { background: #FFEDEF; }
.postit.tint-cobalt { background: #ECF1FB; }
.postit.tint-green { background: #ECF6EF; }
.postit.tint-mustard { background: #FDF5DC; }
.postit.tint-purple { background: #F1EBF8; }
.postit.tint-paper { background: var(--paper); }

@media (max-width: 900px) {
  .postit-grid { grid-template-columns: 1fr; gap: 28px; }
  .postit:nth-child(odd), .postit:nth-child(even), .postit:nth-child(3n) { transform: rotate(0deg); }
}

/* ============================================
   thinking cards (culture page · legacy)
   ============================================ */
.think-card {
  padding: 36px 36px 32px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .3s var(--ease);
}
.think-card:hover { transform: translateY(-2px); }
.think-card .meta {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.think-card .meta::before {
  content: ""; width: 24px; height: 1px; background: var(--cobalt);
}
.think-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 14px;
}
.think-card h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.think-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   belief blocks (cultural hooks on home)
   ============================================ */
.belief {
  padding: 40px 36px 36px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--offwhite);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.belief:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27,27,27,0.1);
}
.belief .number {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.belief h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 16px;
}
.belief h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.belief p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}
.belief.cobalt { background: rgba(61,123,224,0.08); }
.belief.cobalt h3 em { color: var(--cobalt); }
.belief.green { background: rgba(61,174,107,0.08); }
.belief.green h3 em { color: var(--green); }

/* "how we work" cards (about page): all cards share the first card's plain background, and highlighted text stays blue */
.how-we-work-grid .belief,
.how-we-work-grid .belief.cobalt,
.how-we-work-grid .belief.green { background: var(--paper); }
.how-we-work-grid .belief h3 em { color: var(--cobalt); }
.belief.coral { background: rgba(237,76,92,0.07); }
.belief.purple { background: rgba(139,95,191,0.08); }

/* ============================================
   role cards (join page)
   ============================================ */
.role-card {
  display: block;
  padding: 36px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .3s var(--ease);
  position: relative;
}
.role-card:hover {
  transform: translateY(-3px);
}
.role-card .role-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}
.role-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.role-card .role-location {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.role-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 16px;
}
.role-card .salary {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--cobalt);
  border-top: 1px dashed var(--hairline);
  padding-top: 14px;
}
.role-card .apply {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
}
.role-card:hover .link-arrow { color: var(--ink); }

/* ============================================
   sticky note widget
   ============================================ */
.sticky-note {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 240px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(27,27,27,0.12);
  z-index: 100;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
  transition: transform .3s, opacity .3s;
}
.sticky-note.near-footer { opacity: 0; pointer-events: none; transform: translateY(20px); }
.sticky-note::before {
  content: "";
  position: absolute; top: -1px; left: 24px;
  width: 36px; height: 3px;
  background: var(--cobalt);
  border-radius: 0 0 4px 4px;
}
.sticky-note .close {
  position: absolute; top: 8px; right: 14px;
  font-family: var(--body); font-weight: 500; font-size: 1.1rem;
  cursor: pointer; opacity: 0.5; line-height: 1;
}
.sticky-note .close:hover { opacity: 1; }
.sticky-note.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (max-width: 720px) {
  .sticky-note { width: 210px; right: 14px; bottom: 14px; font-size: 0.9rem; }
}

/* ============================================
   ticker · retired heavy version, whisper-thin only
   ============================================ */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: inline-flex;
  gap: 36px;
  animation: scroll 80s linear infinite;
  padding-right: 36px;
}
.ticker-track span {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.ticker-track .dot { color: var(--cobalt); }
.ticker.paper { background: var(--paper); color: var(--ink); border-color: var(--hairline); }
.ticker.paper .dot { color: var(--cobalt); }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   section dividers (subtle)
   ============================================ */
.divider {
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.divider-text {
  text-align: center;
  padding: 40px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--cobalt);
}
.divider-text::before, .divider-text::after {
  content: "·";
  margin: 0 14px;
  color: var(--muted);
}

/* ============================================
   email modal
   ============================================ */
.email-modal {
  position: fixed; inset: 0;
  background: rgba(27,27,27,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  padding: 20px;
}
.email-modal.open { opacity: 1; pointer-events: auto; }
.email-modal-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 420px; width: 100%;
  box-shadow: 0 24px 48px rgba(27,27,27,0.16);
  position: relative;
}
.email-modal-card h3 { margin-bottom: 8px; font-size: 1.6rem; }
.email-modal-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--cobalt); }
.email-modal-card p { color: var(--ink-soft); margin-bottom: 24px; font-size: 0.95rem; }
.email-modal-card .opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all .15s;
  background: var(--paper);
}
.email-modal-card .opt:hover {
  background: var(--offwhite);
  border-color: var(--ink);
  transform: translateX(2px);
}
.email-modal-card .close {
  position: absolute; top: 16px; right: 18px;
  cursor: pointer; font-weight: 500; opacity: 0.4;
  font-size: 1.4rem;
}
.email-modal-card .close:hover { opacity: 1; }

/* ============================================
   quiz
   ============================================ */
.quiz-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 56px;
  max-width: 720px;
  margin: 0 auto;
}
.quiz-card h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  transition: all .15s;
}
.quiz-option:hover {
  background: var(--offwhite);
  border-color: var(--ink);
  transform: translateX(2px);
}
.quiz-progress {
  display: flex; gap: 8px; margin-bottom: 32px;
}
.quiz-progress .dot {
  height: 4px; flex: 1; border-radius: 100px;
  background: var(--hairline);
}
.quiz-progress .dot.done { background: var(--cobalt); }
.quiz-progress .dot.current { background: var(--ink); }

@media (max-width: 720px) {
  .quiz-card { padding: 32px 24px; }
}

/* ============================================
   404 doodle canvas
   ============================================ */
#doodleCanvas {
  width: 100%;
  height: 400px;
  border: 1px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--offwhite);
  cursor: crosshair;
  touch-action: none;
}

/* ============================================
   footer
   ============================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 28px;
}
footer h2 {
  color: var(--paper);
  margin-bottom: 28px;
}
footer .talk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
footer .talk-copy { flex: 1 1 270px; max-width: 640px; }
footer .talk-copy p {
  max-width: 520px;
  margin-top: 20px;
  font-size: 1.1rem;
}
footer .talk-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
footer .talk-cta .btn-cobalt:hover { background: #000000; border-color: #000000; }
@media (max-width: 860px) {
  footer .talk-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  footer .talk-cta { flex-direction: row; flex-wrap: wrap; }
}
footer h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mustard); /* mustard ONLY appears here, as the single warm accent in footer */
}
footer p { color: rgba(255,252,246,0.7); }
footer .eyebrow { color: var(--mustard); }

footer .mood {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-top: 32px;
}
footer .mood .mood-head {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
footer .mood .mood-head em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
}
footer .mood .mood-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
footer .mood .row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--paper);
  line-height: 1.5;
}
footer .mood .row b {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sky);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
@media (max-width: 720px) {
  footer .mood .row { grid-template-columns: 1fr 1fr; }
}

footer .footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,252,246,0.12);
  font-family: var(--body);
  font-size: 0.88rem;
  color: rgba(255,252,246,0.75);
  line-height: 1.5;
}
footer .footer-columns > * { min-width: 0; overflow-wrap: break-word; }
footer .footer-columns > .footer-col:last-child { text-align: right; }
footer .footer-columns > .footer-col:last-child .footer-social-icons { justify-content: flex-end; }
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .footer-nav-2col {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 10px 28px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
footer .footer-nav a {
  color: rgba(255,252,246,0.75);
  font-size: 0.9rem;
  text-decoration: none;
}
footer .footer-nav a:hover,
footer .footer-nav a.active { color: var(--paper); }

footer .footer-col b {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sky);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
footer .footer-col b:not(:first-child) { margin-top: 16px; }
footer .footer-col a { color: rgba(255,252,246,0.75); text-decoration: none; }
footer .footer-col a:hover { color: var(--cobalt); }
footer .footer-social {
  margin-top: 16px;
}
footer .footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
footer .footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,252,246,0.25);
  border-radius: 50%;
  color: rgba(255,252,246,0.75);
  transition: color .15s, border-color .15s, background .15s;
}
footer .footer-social-icons a:hover {
  color: var(--paper);
  border-color: var(--cobalt);
  background: var(--cobalt);
}
footer .footer-social-icons svg { width: 20px; height: 20px; }

@media (max-width: 720px) {
  footer .footer-columns { grid-template-columns: 1fr 1fr; gap: 20px; }
  footer .footer-columns .footer-col:first-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  footer .footer-columns { grid-template-columns: 1fr; gap: 20px; }
  footer .footer-columns .footer-col:first-child { grid-column: span 1; }
  footer .footer-nav-2col { grid-template-columns: 1fr 1fr; width: auto; margin: 0; }
  footer .footer-columns > .footer-col:nth-child(2) { text-align: left; }
  footer .footer-columns > .footer-col:last-child { text-align: left; }
  footer .footer-columns > .footer-col:last-child .footer-social-icons { justify-content: flex-start; }
}

footer .bottom {
  display: flex; justify-content: space-between;
  margin-top: 32px; padding-top: 18px;
  border-top: 1px solid rgba(255,252,246,0.12);
  font-size: 0.85rem;
  color: rgba(255,252,246,0.55);
  flex-wrap: wrap; gap: 16px;
}
footer .bottom a:hover { color: var(--cobalt); }

/* ============================================
   dark section variant (about page: our journey)
   ============================================ */
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .eyebrow { color: var(--sky); }
.section-ink h2 { color: var(--paper); }
.section-ink h2 .serif-cobalt { color: var(--mustard); }

/* narrative copy block (about page: the company) */
.narrative-copy .lead { max-width: none; }
.narrative-copy .lead + .lead { margin-top: 18px; font-size: 1.05rem; }
.section-head.tight { margin-bottom: 28px; }

/* policy pages (e.g. good governance policy) */
.policy-intro { max-width: 760px; margin-bottom: 8px; }

.policy-grid { margin-top: 48px; }
.policy-card.cobalt,
.policy-card.green,
.policy-card.coral,
.policy-card.purple { background: var(--paper); }
.policy-list { list-style: none; margin: 16px 0 0; padding: 0; }
.policy-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.policy-list li:last-child { margin-bottom: 0; }
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.policy-card.cobalt .policy-list li::before { background: var(--cobalt); }
.policy-card.green .policy-list li::before { background: var(--green); }
.policy-card.coral .policy-list li::before { background: var(--coral); }
.policy-card.purple .policy-list li::before { background: var(--purple); }

.policy-closing {
  margin-top: 56px;
  padding: 32px 40px;
  border-left: 3px solid var(--cobalt);
  background: var(--offwhite);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 760px;
}
@media (max-width: 768px) {
  .policy-closing { padding: 24px 28px; font-size: 1.1rem; }
}

.company-grid { align-items: start; }
.company-cta {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.company-cta .link-arrow { margin-left: 6px; }

.company-stats {
  display: flex;
  flex-direction: column;
}
.stat-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.stat-card:first-child { padding-top: 0; }
.stat-card:last-child { border-bottom: none; }
.stat-card .stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card .stat-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.stat-card.coral .stat-num { color: var(--coral); }
.stat-card.cobalt .stat-num { color: var(--cobalt); }
.stat-card.green .stat-num { color: var(--green); }

@media (max-width: 860px) {
  .company-stats {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .stat-card {
    flex: 1 1 200px;
    padding: 0 24px;
    border-bottom: none;
    border-right: 1px solid var(--hairline);
  }
  .stat-card:first-child { padding-left: 0; }
  .stat-card:last-child { border-right: none; padding-right: 0; }
}

/* ============================================
   utilities
   ============================================ */
.center { text-align: center; }
.mt-l { margin-top: 60px; }
em.accent-cobalt, .accent-cobalt {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.lead-sm { font-size: 1.02rem; }
.mt-m { margin-top: 36px; }
.mt-s { margin-top: 18px; }

/* ============================================
   logo ribbon (scrolling client wordmarks on home)
   ============================================ */
.logo-ribbon-section {
  padding: 56px 0 64px;
  background: var(--paper);
}
.logo-ribbon-section .head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.logo-ribbon-section .head .eyebrow { color: var(--cobalt); margin-bottom: 12px; }
.logo-ribbon-section .head h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.logo-ribbon-section .head h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}

/* Two ribbons stacked, scrolling opposite directions. Dark + light pair. */
.logo-ribbon {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  cursor: pointer;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-ribbon.dark { background: var(--ink); color: var(--paper); }
.logo-ribbon.light { background: var(--paper); color: var(--ink); }

.logo-ribbon .track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ribbon-slide 50s linear infinite;
  padding-right: 0;
}
.logo-ribbon:hover .track { animation-play-state: paused; }
.logo-ribbon.reverse .track { animation-direction: reverse; }
.logo-ribbon .wm {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  padding: 0 36px;
  display: inline-flex; align-items: center;
}
.logo-ribbon.dark .wm { color: var(--paper); }
.logo-ribbon.light .wm { color: var(--ink); }
.logo-ribbon .sep {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  opacity: 0.4;
  padding: 0 4px;
}
.logo-ribbon.dark .sep { color: var(--sky); opacity: 0.7; }
.logo-ribbon.light .sep { color: var(--cobalt); opacity: 0.6; }

.logo-ribbon .logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
}
.logo-ribbon .logo-item img {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.4);
  opacity: 0.9;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-ribbon .logo-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes ribbon-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   quiz preview (home page teaser)
   ============================================ */
.quiz-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.quiz-preview .copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.quiz-preview .copy h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
}
.quiz-preview .copy p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.55;
}
.quiz-preview .copy .feats {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
}
.quiz-preview .copy .feats li::before {
  content: "→ "; color: var(--sky); font-family: var(--serif); font-style: italic;
}
.quiz-preview .preview-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: rotate(-1.2deg);
  position: relative;
}
.quiz-preview .preview-card .progress {
  display: flex; gap: 6px; margin-bottom: 20px;
}
.quiz-preview .preview-card .progress span {
  flex: 1; height: 3px; border-radius: 100px;
  background: var(--hairline);
}
.quiz-preview .preview-card .progress span:first-child { background: var(--cobalt); }
.quiz-preview .preview-card .question-meta {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
}
.quiz-preview .preview-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.quiz-preview .preview-card .preview-opt {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}
.quiz-preview .preview-card .preview-opt.hover {
  background: var(--offwhite);
  border-color: var(--ink);
}
.quiz-preview-link { cursor: pointer; transition: opacity .2s; }
.quiz-preview-link:hover { opacity: 0.96; }
.quiz-preview-link:hover .preview-card { transform: rotate(-1.2deg) translateY(-4px); transition: transform .25s; }
.quiz-preview-link:hover .btn-on-color { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) {
  .quiz-preview { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   marketing/tech transition (work page)
   ============================================ */
.flip-divider {
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 24px 64px;
  gap: 16px;
  background: var(--paper);
  position: relative;
}
.flip-divider::before, .flip-divider::after {
  content: "";
  position: absolute; left: 50%;
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, var(--cobalt));
}
.flip-divider::before { top: 0; }
.flip-divider::after { bottom: 0; background: linear-gradient(to top, transparent, var(--cobalt)); }

.flip-divider .pre {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.flip-divider .flipper {
  position: relative;
  width: 100%; max-width: 360px; height: 92px;
  perspective: 1200px;
  overflow: visible;
}
.flip-divider .face {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  color: var(--ink);
  animation: flipside 7s cubic-bezier(.7,.03,.3,.97) infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  line-height: 1;
}
.flip-divider .face em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  margin-left: 4px;
}
.flip-divider .face.front em { color: var(--cobalt); }
.flip-divider .face.back  {
  transform: rotateX(180deg);
  animation: flipside-back 7s cubic-bezier(.7,.03,.3,.97) infinite;
}
.flip-divider .face.back em { color: var(--cobalt-deep); }

@keyframes flipside {
  0%, 42% { transform: rotateX(0); }
  50%, 92% { transform: rotateX(180deg); }
  100% { transform: rotateX(360deg); }
}
@keyframes flipside-back {
  0%, 42% { transform: rotateX(-180deg); }
  50%, 92% { transform: rotateX(0); }
  100% { transform: rotateX(180deg); }
}

.flip-divider .arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cobalt);
  margin-top: 4px;
  display: flex; align-items: center; gap: 8px;
}
.flip-divider .arrow::before, .flip-divider .arrow::after {
  content: ""; width: 40px; height: 1px; background: var(--cobalt); opacity: 0.4;
}

/* ============================================
   timeline marquee (about page)
   ============================================ */
.timeline-marquee {
  overflow: hidden;
  
  color: var(--ink);
  padding: 36px 0;
  margin: 40px 0 0;
  border-radius: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.timeline-marquee .track {
  display: inline-flex;
  gap: 64px;
  animation: tl-scroll 50s linear infinite;
  padding-right: 64px;
}
.timeline-marquee .moment {
  display: inline-flex; flex-direction: column;
  min-width: 360px;
  padding: 0 24px;
  border-left: 1px solid var(--hairline);
}
.timeline-marquee .moment .yr {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.timeline-marquee .moment .what {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--ink);
}
.timeline-marquee .moment .why {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 320px;
  line-height: 1.45;
}
@keyframes tl-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   case-study detail page
   ============================================ */
.cs-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
}
.cs-hero .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 20px;
}
.cs-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 880px;
}
.cs-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.cs-hero .summary {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.55;
}
.cs-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid var(--hairline);
}
.cs-grid .label-col {
  font-family: var(--body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cobalt);
  font-weight: 500;
}
.cs-grid .content-col h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cs-grid .content-col h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.cs-grid .content-col p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.cs-grid .content-col ul {
  list-style: none;
  margin-top: 8px;
}
.cs-grid .content-col ul li {
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px dashed var(--hairline);
  display: flex; gap: 14px;
}
.cs-grid .content-col ul li::before {
  content: "→";
  color: var(--cobalt);
  font-family: var(--serif);
  font-style: italic;
}
.cs-credits {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding: 40px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
}
.cs-credits .item b {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}
/* ============================================
   case-study gallery carousel (center slide bright, neighbors peeking + dimmed)
   ============================================ */
.cs-gallery { padding: 32px 0 64px; }
.carousel {
  position: relative;
}
.carousel-track-wrap {
  height: 590px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 24px;
  height: 100%;
  will-change: transform;
  transition: transform .5s var(--ease);
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.45;
  transition: opacity .4s var(--ease);
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-arrow:hover { background: var(--ink); color: var(--paper); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--ink); transform: scale(1.2); }

@media (max-width: 900px) {
  .carousel-slide { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .carousel-slide { flex: 0 0 84%; }
  .carousel-arrow { display: none; }
  .carousel-dots { display: none; }
}

.cs-next {
  padding: 64px 0;
}
.cs-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cs-next-grid .next-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 32px;
  background: var(--paper);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.cs-next-grid .next-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.cs-next-grid .next-card .dir {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cobalt);
  margin-bottom: 10px;
}
.cs-next-grid .next-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
}

/* image placeholder hero (case study) */
.cs-image {
  width: 100%;
  aspect-ratio: 10/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--navy) 100%);
  position: relative;
  margin: 40px 0;
  overflow: hidden;
}
.cs-image.alt { background: linear-gradient(135deg, var(--sky) 0%, var(--cobalt) 100%); }
.cs-image.ink { background: linear-gradient(135deg, #2A2A2A 0%, var(--ink) 100%); }
.cs-image img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.cs-image .ph-label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
  padding: 5px 10px;
  border-radius: 4px;
}
.cs-image .ph-name {
  position: absolute;
  bottom: 24px; left: 28px; right: 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  color: var(--paper);
  line-height: 1;
}
.cs-image .ph-name em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
}
.cs-image.alt .ph-name em { color: var(--ink); }

/* logo + sub copy overlaid left-middle on the case study banner image */
.cs-banner-overlay {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: min(46%, 480px);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0) 100%);
}
.cs-banner-subcopy {
  order: 1;
  color: var(--paper);
  font-size: 21px;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.cs-banner-logo-badge {
  order: 2;
  display: block;
}
.cs-banner-logo-badge img {
  height: 84px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}
/* light-toned banner images: dark text instead of white */
.cs-image.text-dark .cs-banner-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.35) 65%, rgba(255,255,255,0) 100%);
}
.cs-image.text-dark .cs-banner-subcopy {
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(255,255,255,0.5);
}
@media (max-width: 640px) {
  .cs-image { aspect-ratio: 7/4; }
  .cs-banner-overlay { width: 100%; padding: 18px; gap: 10px; }
  .cs-banner-logo-badge img { height: 38px; max-width: 160px; }
  .cs-banner-subcopy { font-size: 14px; line-height: 1.4; }
}

/* number stat callouts */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0;
}
.cs-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--hairline);
  background: var(--paper);
}
.cs-stat:last-child { border-right: none; }
.cs-stat .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cobalt);
  margin-bottom: 6px;
}
.cs-stat .num em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
  font-size: 0.8em;
}
.cs-stat .label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.cs-stat .placeholder-flag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 8px;
  display: block;
  font-weight: 500;
}
@media (max-width: 720px) {
  .cs-stats { grid-template-columns: 1fr; }
  .cs-stat { border-right: none; border-bottom: 1px solid var(--hairline); }
  .cs-stat:last-child { border-bottom: none; }
}

/* sector illustration block */
.cs-sector-art {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 32px;
  background: var(--offwhite);
  border-radius: var(--radius);
  margin: 24px 0;
}
.cs-sector-art .icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.cs-sector-art .text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.4;
}
.cs-sector-art .text b {
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cobalt);
  display: block;
  margin-bottom: 4px;
}

/* big pull quote in case study */
.cs-pullquote {
  padding: 56px 0;
  text-align: center;
}
.cs-pullquote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink);
}
.cs-pullquote blockquote em {
  color: var(--cobalt);
  font-style: italic;
}
@media (max-width: 720px) {
  .cs-grid { grid-template-columns: 1fr; gap: 16px; padding: 48px 0; }
  .cs-next-grid { grid-template-columns: 1fr; }
}

/* ============================================
   NEW: Editorial hero (left aligned, big serif, illustration right)
   ============================================ */
.hero-editorial {
  padding: 64px 0 48px;
}
.hero-editorial .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-editorial .copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-editorial .copy .lead {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 20px;
  margin-top: 24px;
  line-height: 1.55;
}
.hero-editorial .copy .eyebrow {
  font-size: 0.78rem;
  margin-bottom: 24px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--body);
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-editorial .copy .ctas { margin-top: 4px; }

@media (max-width: 1024px) {
  .hero-editorial .wrap { grid-template-columns: 1.2fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .hero-editorial { padding: 40px 0 32px; }
  .hero-editorial .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-editorial .copy h1 { max-width: none; }
  .hero-editorial .copy .lead { font-size: 1rem; }
}
.hero-illustration {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero-illustration .bubble-text {
  font-family: "Caveat", "Comic Sans MS", cursive;
  font-size: 17px;
  font-weight: 500;
  fill: #1B1B1B;
}

/* hero banner video slot, sized like the former chair-image-slot */
.hero-video-slot { width: 100%; max-width: 600px; margin: 0 auto; }
.hero-video-slot video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .hero-editorial { padding: 48px 0; }
  .hero-editorial .wrap { gap: 32px; }
}
.hero-editorial .copy h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
  letter-spacing: -0.02em;
}
.hero-editorial .copy .eyebrow {
  font-size: 0.78rem;
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 32px;
  font-style: normal;
  font-weight: 500;
  display: inline-block;
}
.hero-editorial .copy .lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-editorial .copy .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-editorial .visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero-editorial .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-editorial .visual { max-width: 320px; margin: 0 auto; order: 1; }
  .hero-editorial .copy { order: 2; }
}

/* ============================================
   DRAMATIC: Marketing + Tech split (typographic)
   ============================================ */
.split-dramatic {
  padding: 96px 0;
  border-bottom: 1px solid var(--hairline);
}
.split-dramatic .head {
  text-align: center;
  margin-bottom: 80px;
}
.split-dramatic .head .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
  font-family: var(--body);
}
.split-dramatic .head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 72px;
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .split-dramatic .head h2 { font-size: clamp(2.2rem, 8vw, 72px); }
}
.split-dramatic .head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.split-dramatic .head h2 em.cobalt { color: var(--cobalt); }

.split-dramatic .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.split-side {
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  transition: background .3s;
  text-decoration: none;
  display: block;
}
.split-side + .split-side { border-left: 1px solid var(--ink); }
.split-side:hover { background: var(--offwhite); }
.split-side .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
}
.split-side .giant {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 36px;
}
.split-side .giant em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.split-side.tech .giant em { color: var(--cobalt); }
.split-side .blurb {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.split-side ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 1rem;
}
.split-side ul li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  color: var(--ink);
}
.split-side ul li::before {
  content: "→";
  color: var(--cobalt);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}
.split-side.tech ul li::before { color: var(--cobalt); }
.split-side .arrow {
  position: absolute;
  bottom: 32px; right: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cobalt);
  transition: transform .3s var(--ease);
}
.split-side.tech .arrow { color: var(--cobalt); }
.split-side:hover .arrow { transform: translate(6px, -6px); }

@media (max-width: 1024px) {
  .split-side { padding: 48px 32px; }
  .split-side .giant { font-size: clamp(2.6rem, 6vw, 4.2rem); }
}
@media (max-width: 720px) {
  .split-dramatic .pair { grid-template-columns: 1fr; }
  .split-side + .split-side { border-left: none; border-top: 1px solid var(--ink); }
  .split-side { padding: 40px 22px; }
  .split-dramatic { padding: 56px 0; }
  .split-side .giant { font-size: clamp(2.4rem, 9vw, 3.4rem); margin-bottom: 24px; }
  .split-side .blurb { font-size: 1rem; }
  .split-side .arrow { bottom: 24px; right: 22px; }
}

/* ============================================
   CMO Takes · testimonial cards with doodle portraits
   ============================================ */
.cmo-takes {
  padding: 96px 0;
  background: var(--offwhite);
}
.cmo-takes .head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 56px;
}
.cmo-takes .head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 700px;
}
.cmo-takes .head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}
.cmo-takes .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cmo-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .3s var(--ease);
}
.cmo-card:hover { transform: translateY(-3px); }
.cmo-card .doodle-portrait {
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.cmo-card .quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cmo-card .attr {
  margin-top: auto;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.cmo-card .attr b {
  font-family: var(--body);
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 900px) {
  .cmo-takes .grid { grid-template-columns: 1fr; }
  .cmo-takes { padding: 64px 0; }
}

/* ============================================
   team (about page)
   ============================================ */
.team-group-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 48px 0 20px;
}
.team-group-label:first-child { margin-top: 0; }
.team-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27,27,27,0.1);
}
.team-avatar {
  display: block;
  width: 100%;
  height: auto;
  background: var(--offwhite);
}
.team-card-body {
  padding: 24px 28px 28px;
}
.team-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 14px;
}
.team-descriptor {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.4;
}
.team-bio {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.team-edu {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

/* ============================================
   fun @ dreamscape gallery (join page)
   ============================================ */
.fun-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 20px;
}
.fun-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--offwhite);
  border: 1px solid var(--hairline);
}
.fun-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.fun-tile:hover img { transform: scale(1.06); }
.fun-tile.big { grid-column: span 2; grid-row: span 2; }
.fun-caption {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(27,27,27,0.18);
}
.fun-caption.coral { background: var(--coral); }
.fun-caption.cobalt { background: var(--cobalt); }
.fun-caption.mustard { background: var(--mustard); color: var(--ink); }
.fun-caption.green { background: var(--green); }
.fun-caption.purple { background: var(--purple); }
@media (max-width: 900px) {
  .fun-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 520px) {
  .fun-gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; gap: 12px; }
  .fun-tile.big { grid-column: span 1; grid-row: span 2; }
}

/* ============================================
   Full-bleed color block sections (inner pages)
   ============================================ */
.color-block {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.color-block.coral { background: var(--cobalt); color: var(--paper); }
.color-block.cobalt { background: var(--cobalt); color: var(--paper); }
.color-block.green { background: var(--green); color: var(--paper); }
.color-block.ink { background: var(--cobalt); color: var(--paper); }
.color-block .label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  display: block;
}
.color-block h2 {
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.color-block h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mustard);
}
.color-block.ink h2 em { color: var(--mustard); }
.color-block.coral h2 em { color: var(--paper); opacity: 0.85; }
.color-block.cobalt h2 em { color: var(--mustard); }
.color-block.green h2 em { color: var(--paper); opacity: 0.85; }
.color-block p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-top: 28px;
  max-width: 580px;
  line-height: 1.55;
}
/* left title / right buttons, same convention as the footer's talk-row */
.color-block .cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.color-block .cta-copy { flex: 1 1 270px; }
.color-block .ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .color-block .cta-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .color-block .ctas { flex-direction: row; flex-wrap: wrap; }
}
.color-block .btn-on-color {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.color-block .btn-on-color:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.color-block .btn-ghost-light {
  background: transparent; color: var(--paper); border: 1.5px solid var(--paper);
}
.color-block .btn-ghost-light:hover { background: var(--paper); color: var(--ink); }

/* ============================================
   contact page
   ============================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info .lead { margin-bottom: 40px; }
.contact-methods { border-top: 1px solid var(--hairline); }
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-block b {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cobalt);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.contact-block p, .contact-block a {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.contact-block a { display: block; color: var(--ink); text-decoration: none; }
.contact-block a:hover { color: var(--cobalt); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 12px 32px rgba(27,27,27,0.06);
}
.contact-form .field { margin-bottom: 22px; }
.contact-form label {
  display: block;
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cobalt);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .submit-row { margin-top: 8px; }
.contact-form button.btn { border: none; cursor: pointer; }

@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px; }
}

/* apply page: form-only section, less empty space than the default section padding */
.apply-form-section { padding: 56px 0 64px; }
.apply-form-section .contact-form { padding: 32px; }
.apply-form-section .contact-form .field { margin-bottom: 16px; }
.apply-form-section .contact-form textarea { min-height: 100px; }

/* ============================================
   scroll-reveal: fade + rise, applied by script.js
   (class is added only via JS, so content is never
   hidden if JS fails to load)
   ============================================ */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

