/* ============================================================
   Trent Nguyen | Portfolio Styles
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-elev: #FFFFFF;
  --ink: #0F0F0F;
  --ink-soft: #4A4A4A;
  --ink-muted: #8A8A8A;
  --line: #E8E5DE;
  --line-strong: #D5D1C8;
  --accent: #2D4A5F;
  --accent-hover: #1B3142;
  --warm: #B85C38;
  --gold: #C8A07A;
  --green: #4ADE80;
  --green-deep: #178350;
  --max: 1240px;
  --max-narrow: 960px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; cursor: pointer; }
button { cursor: pointer; }
[role="tab"], [role="button"] { cursor: pointer; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h1 em, h2 em, h3 em { font-family: 'Newsreader', Georgia, serif; font-style: italic; color: var(--accent); font-weight: 400; }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  display: flex; align-items: center; gap: 0.5rem;
}
.logo .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.7rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.825rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }
/* ---------- Hamburger button ---------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile drawer */
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--bg);
    padding: 5rem 1.5rem 2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 55;
    animation: navSlideDown 0.22s ease;
  }
  .nav-links.nav-open li { border-bottom: 1px solid var(--line); }
  .nav-links.nav-open a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    color: var(--ink);
  }
  /* X state for hamburger */
  .nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
}
.btn .arrow { display: inline-block; transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow-back { transform: translateX(-3px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: white; }
.btn-outline-light { border-color: rgba(250,250,247,0.3); color: var(--bg); }
.btn-outline-light:hover { border-color: var(--bg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(5rem, 12vh, 8rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -4%;
  background-image: url('images/vegas-strip.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(95deg,
      rgba(6,9,16,0.95) 0%,
      rgba(6,9,16,0.85) 25%,
      rgba(6,9,16,0.5) 45%,
      rgba(6,9,16,0.12) 62%,
      rgba(6,9,16,0) 75%);
}
@keyframes heroKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1.2%, -1.2%); }
}
.hero .container { position: relative; z-index: 1; }
.hero .container > *:not(.hero-meta) { max-width: 56%; }
@media (max-width: 900px) {
  .hero::after {
    background-image:
      linear-gradient(180deg, rgba(6,9,16,0.85) 0%, rgba(6,9,16,0.65) 60%, rgba(6,9,16,0.85) 100%);
  }
  .hero .container > *:not(.hero-meta) { max-width: 100%; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.825rem;
  font-weight: 500;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.75rem);
  margin-bottom: 1.75rem;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 em { color: #fff; }
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.225rem);
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2.5rem;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero h1, .hero-sub, .hero-actions {
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.24s; }
.hero-sub { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.56s; }
.hero .btn-primary { background: #fff; color: #0a0e16; }
.hero .btn-primary:hover { background: var(--accent); color: #fff; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2.5rem;
  margin-top: 4.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 720px) { .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
.meta-label {
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 0.45rem; font-weight: 600;
}
.meta-value { font-size: 0.95rem; color: #fff; font-weight: 500; }

/* ---------- Section base ---------- */
section { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3.5rem;
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 18ch; }
.section-head .eyebrow { display: block; margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); max-width: 38ch; font-size: 0.95rem; }

/* ---------- Featured case (homepage) ---------- */
.featured { border-bottom: 1px solid var(--line); }
.featured .section-head h2 { max-width: none; white-space: nowrap; font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
@media (max-width: 720px) { .featured .section-head h2 { white-space: normal; } }
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 940px) {
  .case-grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
}
.case-visual {
  background: linear-gradient(140deg, #0b1822 0%, #1c3849 55%, #2D4A5F 100%);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(15,15,15,0.35);
}
.case-visual-screen {
  position: relative; z-index: 1;
  max-width: 220px;
  max-height: calc(100% - 2.5rem);
  width: auto; height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.55), 0 8px 16px -8px rgba(0,0,0,0.35);
  margin-top: 1.5rem;
}
.case-visual-composite {
  background: transparent;
  padding: 0;
  display: block;
  aspect-ratio: 4/3;
  box-shadow: none;
  overflow: visible;
}
.case-visual-composite::before { content: none; }
.case-visual-composite .case-visual-tag {
  top: -1.5rem; left: 0;
  color: var(--ink-muted);
}
.case-visual-desktop {
  position: absolute;
  top: 8%; left: 0;
  width: 78%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.35);
  z-index: 1;
}
.case-visual-mobile {
  position: absolute;
  top: 0; right: 0;
  width: 34%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 28px 55px -15px rgba(0,0,0,0.4), 0 6px 14px -6px rgba(0,0,0,0.25);
  z-index: 2;
}
.case-visual::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 25% 80%, rgba(184,92,56,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.case-visual-tag {
  position: absolute; top: 1.25rem; left: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.ui-card {
  background: white; border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  width: 100%; max-width: 340px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.5);
  position: relative; z-index: 1;
}
.ui-card h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-muted);
  font-weight: 600; margin-bottom: 0.75rem;
}
.color-row {
  display: flex; align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid #F0EDE6;
  font-size: 0.82rem; color: var(--ink);
}
.color-row .sw {
  width: 26px; height: 26px; border-radius: 6px;
  margin-right: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.color-row .sw.silver { background: linear-gradient(135deg, #d9d9d9, #b5b5b5); }
.color-row .sw.gun    { background: linear-gradient(135deg, #5e6469, #3d4247); }
.color-row .sw.blue   { background: linear-gradient(135deg, #1a2c4f, #0b1830); }
.color-row .sw.black  { background: linear-gradient(135deg, #2a2a2a, #0a0a0a); }
.color-row .sw.white  { background: linear-gradient(135deg, #ffffff, #e6e3da); }
.color-row .name { flex: 1; }
.color-row .price { color: var(--ink-muted); font-size: 0.78rem; }
.price-block {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem; padding-top: 0.9rem;
  border-top: 1px solid #EDE9E0;
}
.price-info .label {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-muted); font-weight: 600;
}
.price-info .value {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.45rem; color: var(--ink);
  margin-top: 0.15rem;
}
.build-btn {
  background: #c8102e; color: white;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  border: none;
}
.case-content h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.case-meta-row {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.case-tag {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.case-tag strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
  letter-spacing: 0;
}
.case-content p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
}
.case-list { list-style: none; margin: 1.25rem 0 1.5rem; }
.case-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}
.case-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6rem;
  width: 10px; height: 1px;
  background: var(--accent);
}
.result-callout {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
}
.result-callout .label {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--ink-muted);
  font-weight: 600; margin-bottom: 0.5rem;
}
.result-callout p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}
.case-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Selected work grid (homepage) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 760px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(15,15,15,0.18);
}
.work-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 1.5rem;
  color: rgba(255,255,255,0.9);
}
.work-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45));
  pointer-events: none;
}
.work-thumb-content {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  width: 100%;
}
.work-thumb-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.work-thumb-mark {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}
.thumb-nissan {
  background-image: url('images/nissan/desktop-rogue.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-nissan::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-infiniti {
  background-image: url('images/safety.avif');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}
.thumb-infiniti::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-nv {
  background-image: url('images/nissan/ncv-van.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-nv::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-swg {
  background-image: url('images/swg-accessibility-hero.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-swg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-ups {
  background-image: url('images/UPS maturity.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-ups::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-lvcva {
  background-image: url('images/Convention Center/LVCA.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.35);
}
.thumb-lvcva::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.thumb-hca {
  background-image: url('images/hca/dashboard-dark-mode.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-hca::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.thumb-swg-redesign {
  background-image: url('images/Digging.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-swg-redesign::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.thumb-hca-drw {
  background-image: url('images/hca-drw/dispute-workflow-board.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-hca-drw::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-clearwellness {
  background-image: url('images/clearwellness/corporate-business-metrics.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.thumb-clearwellness::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.thumb-ups-devices {
  background-image: url('images/ups-devices/ring-scanner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thumb-ups-devices::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.thumb-wynn {
  background-image: url('images/wynn/mosaic-walkway.jpg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}
.thumb-wynn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.wynn-divider {
  position: relative;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0 0.5rem;
  background-image: url('images/wynn/mosaic-walkway.jpg');
  background-size: cover;
  background-position: center 70%;
}
.wynn-divider::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,250,247,0) 0%, rgba(250,250,247,0.15) 100%);
}
@media (max-width: 720px) {
  .wynn-divider { height: 110px; }
}

/* ---------- Case study callouts ---------- */
.cs-callout {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.75rem;
  border-radius: 6px;
}
.cs-callout .eyebrow { display: block; margin-bottom: 0.6rem; color: var(--accent); }
.cs-callout-text {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}

.work-body {
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
}
.work-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.work-tag {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  font-weight: 500;
}
.work-tag::after { content: '•'; margin-left: 0.5rem; color: var(--line-strong); }
.work-tag:last-child::after { display: none; }
.work-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
  line-height: 1.2;
}
.work-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.work-meta {
  display: flex; align-items: center;
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
  gap: 0.35rem;
}

/* ---------- Capabilities strip ---------- */
.capabilities-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.capabilities-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
}
.capabilities-head .eyebrow { display: block; margin-bottom: 0.75rem; }
.capabilities-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 22ch;
}
.capabilities-head p {
  font-size: 0.9rem; color: var(--ink-soft);
  max-width: 38ch;
}
.capabilities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
@media (min-width: 640px)  { .capabilities-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .capabilities-list { grid-template-columns: repeat(8, 1fr); } }
.capability-pill {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 76px;
  line-height: 1.3;
}
.capability-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(45,74,95,0.3);
}
.capability-pill .num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  display: block;
}

/* ---------- Research method library ---------- */
.method-category-head { margin-top: 2.25rem; margin-bottom: 0.6rem; }
.method-category-head:first-child { margin-top: 0; }
.method-category-head h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
}
.method-category-head p { font-size: 0.85rem; color: var(--ink-muted); margin: 0; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.method-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.method-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(45,74,95,0.3);
}
.method-card .method-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.method-card .method-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
  display: block;
}
.method-card .method-blurb { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.template-card {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FDF1E7;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.template-card:hover { border-color: var(--warm); }
.template-card .template-name { font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.template-card .template-download { font-size: 1rem; color: var(--warm); flex-shrink: 0; }

/* ---------- Services ---------- */
.services { background: var(--bg-elev); border-bottom: 1px solid var(--line); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.services-cta { margin-top: 2.5rem; display: flex; justify-content: center; }
.service-card {
  background: var(--bg-elev);
  padding: 2rem;
  transition: background 0.2s ease;
}
.service-card:hover { background: #FBFAF6; }
.service-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  overflow: hidden;
}
.service-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.service-card .blurb {
  font-size: 0.875rem; color: var(--ink-soft);
  margin-bottom: 1rem; line-height: 1.55;
}
.service-card ul {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.service-card ul li {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 0.25rem 0;
}

/* ---------- Clients ---------- */
.clients { border-bottom: 1px solid var(--line); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.client-cell {
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease;
  min-height: 120px;
}
.client-cell:hover { background: var(--bg-elev); }
.client-cell img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: opacity 0.25s ease;
}
.client-cell:hover img {
  opacity: 1;
}
.client-cell img[src*="raytheon"] { max-height: 120px; }
.client-cell img[src*="mckesson"] { max-height: 110px; }
.client-cell img[src*="NIKE"],
.client-cell img[src*="etsy"] { max-height: 42px; }
.client-cell img[src*="Adidas"],
.client-cell img[src*="autonation"],
.client-cell img[src*="humana"],
.client-cell img[src*="hca"],
.client-cell img[src*="united"] { max-height: 50px; }

/* ---------- About ---------- */
.about { background: var(--bg-elev); border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.about-intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.about-intro .eyebrow { display: block; margin-bottom: 0.9rem; }
.about-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.about-body p:first-child {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 400;
}
.skill-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem;
}
.chip {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--bg);
  transition: all 0.2s ease;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Contact / CTA ---------- */
.contact {
  background: var(--ink);
  color: var(--bg);
  border-bottom: none;
}
.contact h2 {
  color: var(--bg);
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 18ch;
  margin-bottom: 2rem;
}
.contact h2 em { color: var(--gold); }
.contact .lede {
  color: rgba(250,250,247,0.7);
  font-size: 1.05rem;
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(250,250,247,0.15);
}
.contact-item .label {
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.5);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-item a, .contact-item .value {
  font-size: 1.05rem;
  color: var(--bg);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}
.contact-item a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
footer.foot {
  background: var(--ink);
  color: rgba(250,250,247,0.55);
  padding: 2rem 0 2.5rem;
  font-size: 0.825rem;
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(250,250,247,0.1);
  padding-top: 2rem;
}
.foot a { color: rgba(250,250,247,0.7); text-decoration: none; }
.foot a:hover { color: var(--bg); }

/* ============================================================
   Case study page styles
   ============================================================ */

.cs-hero {
  padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.cs-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 2.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.cs-back:hover { color: var(--ink); }
.cs-back .arrow-back { transition: transform 0.22s ease; display: inline-block; }
.cs-back:hover .arrow-back { transform: translateX(-3px); }
.cs-hero .eyebrow { display: block; margin-bottom: 1rem; color: var(--accent); }
.cs-hero h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cs-hero h1 em { color: var(--accent); font-style: italic; }
.cs-hero .lede {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 1.75rem;
}
@media (min-width: 740px) { .cs-meta { grid-template-columns: repeat(4, 1fr); } }
.cs-meta .meta-label { color: var(--ink-muted); }
.cs-meta .meta-value { color: var(--ink); }

/* Project visual block */
.cs-visual {
  padding: clamp(2.5rem, 6vh, 4.5rem) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.cs-visual-inner {
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.cs-visual-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.cs-visual-text {
  position: relative; z-index: 1;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.cs-visual-text .kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 1rem;
}
.cs-visual-text .title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 400;
}
.cs-visual-text .subtitle {
  margin-top: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  max-width: 38ch;
  margin-left: auto; margin-right: auto;
  line-height: 1.55;
}


/* ---------- Case body sections ---------- */
.cs-body { padding: clamp(3rem, 7vh, 5rem) 0; }
.cs-section { margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.cs-section:last-child { margin-bottom: 0; }
.cs-section .eyebrow { display: block; margin-bottom: 1rem; color: var(--accent); }
.cs-section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 1.25rem;
  max-width: 26ch;
}
.cs-section p {
  font-size: 1.025rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 68ch;
}
.cs-section p:last-child { margin-bottom: 0; }
.cs-section ul {
  list-style: none;
  margin: 1rem 0 0;
}
.cs-section ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 68ch;
}
.cs-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7rem;
  width: 8px; height: 1px;
  background: var(--accent);
}
.cs-section ul li strong, .cs-section p strong {
  color: var(--ink);
  font-weight: 600;
}

/* Journey maps (native) */
.cs-journey {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elev);
}
.cs-journey-head {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem; flex-wrap: wrap;
}
.cs-journey-head h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.3rem; font-weight: 500;
  margin: 0 0 0.3rem;
}
.cs-journey-head .cs-journey-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted);
}
.cs-journey-head .cs-journey-quote {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic; color: var(--ink-soft);
  font-size: 0.9rem; max-width: 340px; text-align: right; line-height: 1.45;
}
.cs-journey-arc { padding: 1.25rem 1.75rem 0; }
.cs-journey-arc-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 0.5rem;
}
.cs-journey-scrollhint {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.75rem 1.75rem 0;
  border-top: 1px solid var(--line);
}
.cs-journey-gridwrap { position: relative; }
.cs-journey-gridwrap::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(to right, rgba(15,15,15,0), rgba(15,15,15,0.16));
  pointer-events: none;
  z-index: 1;
}
.cs-journey-scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(15,15,15,0.78);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; line-height: 1;
  border: none;
  cursor: pointer;
  z-index: 2;
  font-family: inherit;
  opacity: 0;
  pointer-events: none;
  transition: background 0.15s ease, opacity 0.25s ease;
}
.cs-journey-gridwrap.in-view .cs-journey-scroll-arrow,
.cs-journey-gridwrap:hover .cs-journey-scroll-arrow,
.cs-journey-scroll-arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
.cs-journey-scroll-arrow:hover,
.cs-journey-scroll-arrow:focus-visible {
  background: rgba(15,15,15,0.95);
}
.cs-journey-scroll-right {
  right: 8px;
  opacity: 1;
  pointer-events: auto;
}
.cs-journey-scroll-left { left: 8px; }
.cs-journey-gridwrap:hover .cs-journey-scroll-right,
.cs-journey-scroll-right:focus-visible {
  animation: cs-journey-nudge-right 0.8s ease-in-out infinite;
}
.cs-journey-gridwrap:hover .cs-journey-scroll-left,
.cs-journey-scroll-left:focus-visible {
  animation: cs-journey-nudge-left 0.8s ease-in-out infinite;
}
@keyframes cs-journey-nudge-right {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(5px); }
}
@keyframes cs-journey-nudge-left {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-5px); }
}
.cs-journey-grid {
  display: grid;
  grid-template-columns: 130px repeat(7, minmax(150px, 1fr));
  overflow-x: auto;
}
.cs-journey-rowlabel {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding: 0.85rem 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky; left: 0;
  background: var(--bg-elev);
  display: flex; align-items: flex-start;
}
.cs-journey-stagehead {
  background: var(--ink); color: var(--bg);
  padding: 0.9rem 0.85rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid var(--ink);
}
.cs-journey-stagenum {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.1em; color: var(--gold);
  margin-bottom: 0.3rem;
}
.cs-journey-stagetitle {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.92rem; font-weight: 500; line-height: 1.25;
}
.cs-journey-cell {
  padding: 0.85rem 0.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem; line-height: 1.5;
  background: var(--bg-elev);
  color: var(--ink-soft);
}
.cs-journey-cell.cs-journey-thinks { font-style: italic; color: var(--ink); }
.cs-journey-cell.cs-journey-pain { background: #FAEDE7; color: #8A3B1F; }
.cs-journey-cell.cs-journey-opp { background: #EEF2E7; color: #4C5C34; }
.cs-journey-cell.cs-journey-touch {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; color: var(--ink-muted);
}
.cs-journey-feel {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.62rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: 10px;
  display: inline-block; margin-bottom: 0.4rem;
  color: #fff;
}
.cs-journey-insight {
  padding: 1.25rem 1.75rem;
  background: var(--ink); color: var(--bg);
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.cs-journey-insight .label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); white-space: nowrap; padding-top: 0.15rem;
}
.cs-journey-insight p { margin: 0; font-size: 0.85rem; line-height: 1.55; color: var(--bg); }

/* Case study imagery */
.cs-figure {
  margin: 2rem 0 0.5rem;
}
.cs-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.25), 0 4px 12px -4px rgba(0,0,0,0.08);
  border: 1px solid var(--line);
}
.cs-figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}
.cs-figure-kenburns .cs-figure-frame {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.25), 0 4px 12px -4px rgba(0,0,0,0.08);
  border: 1px solid var(--line);
}
.cs-figure-kenburns .cs-figure-frame img {
  border-radius: 0;
  box-shadow: none;
  border: none;
  animation: csFigureKenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes csFigureKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-figure-kenburns .cs-figure-frame img { animation: none; }
}
.cs-gallery-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0 0.5rem;
}
.cs-gallery-2col figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cs-gallery-2col img {
  width: 100%; height: 420px; display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.25), 0 4px 12px -4px rgba(0,0,0,0.08);
}
@media (max-width: 720px) {
  .cs-gallery-2col img { height: 320px; }
}
.cs-gallery-2col figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 720px) {
  .cs-gallery-2col { grid-template-columns: 1fr; }
}
.cs-wireframes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0.5rem;
}
.cs-wireframes img {
  width: 100%; height: auto; display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.18);
}
.cs-wireframes img[src$=".svg"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 720px) {
  .cs-wireframes { grid-template-columns: repeat(2, 1fr); }
}
.cs-mobile-figure { margin: 0; display: flex; flex-direction: column; }
.cs-mobile-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.22);
}
.cs-mobile-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.4;
}
@media (max-width: 540px) {
  .cs-wireframes { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Image gallery */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
  grid-auto-flow: row dense;
}
.cs-gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  position: relative;
}
.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
  color: transparent;
  font-size: 0;
}
.cs-gallery-item:hover img {
  transform: scale(1.03);
}
.cs-gallery-item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.cs-gallery-caption {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 720px) {
  .cs-gallery { grid-template-columns: repeat(2, 1fr); }
  .cs-gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .cs-gallery { grid-template-columns: 1fr; gap: 1rem; }
  .cs-gallery-item--wide { grid-column: span 1; }
}

/* Insight callout */
.insight {
  margin: 1.75rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  max-width: 68ch;
}
.insight .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.insight p {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* Recommendations page */
.rec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) { .rec-grid { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.rec-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rec-card--navy { border-left-color: var(--accent); }
.rec-card--warm { border-left-color: var(--warm); }
.rec-card--green { border-left-color: var(--green); }
.rec-card--navy .rec-name { color: var(--accent); }
.rec-card--warm .rec-name { color: var(--warm); }
.rec-card--green .rec-name { color: var(--green-deep, #178350); }
.rec-quote {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.rec-attribution { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.rec-name { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.rec-role { color: var(--ink-muted); font-size: 0.8rem; margin-top: 0.15rem; }
.rec-placeholder { color: var(--ink-muted); }
.rec-linkedin-cta { margin-top: 2.5rem; text-align: center; }

/* Pull quotes */
.quote-list { margin: 1.5rem 0 0; }
.quote-list blockquote {
  border-left: 2px solid var(--line-strong);
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 60ch;
}

.cs-quote-trio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 0.5rem;
}
@media (max-width: 980px) {
  .cs-quote-trio { grid-template-columns: repeat(2, 1fr); }
}
.cs-quote-trio figure {
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
}
.cs-quote-trio blockquote {
  margin: 0 0 1rem;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.5;
}
.cs-quote-trio figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.cs-quote-trio figcaption strong {
  color: var(--ink);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  font-weight: 600;
}
@media (max-width: 720px) {
  .cs-quote-trio { grid-template-columns: 1fr; }
}
.cs-journey-rowlabel svg {
  flex-shrink: 0;
  margin-right: 0.4rem;
  margin-top: 0.15rem;
  opacity: 0.55;
}

/* Metrics grid */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
  max-width: 720px;
}
@media (min-width: 740px) { .metrics { grid-template-columns: repeat(4, 1fr); } }
.metric {
  background: var(--bg-elev);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.metric .num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric .lbl {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ---------- Journey persona toggle ---------- */
.journey-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 1.75rem 0 0.25rem;
}
.journey-toggle-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.journey-toggle-btn:hover {
  color: var(--ink);
  background: rgba(45, 74, 95, 0.06);
}
.journey-toggle-btn.is-active {
  background: #2D4A5F;
  color: #FAFAF7;
}
.journey-toggle-btn:focus-visible {
  outline: 2px solid var(--accent, #2D4A5F);
  outline-offset: 2px;
}
.journey-panel { display: block; }
.journey-panel[hidden] { display: none; }

/* ---------- Journey map ---------- */
.journey-map {
  margin: 2rem 0 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  overflow: hidden;
}
.journey-curve {
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.journey-curve svg {
  width: 100%;
  height: 110px;
  display: block;
  overflow: visible;
}
.curve-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.journey-phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}
.journey-phase {
  background: var(--bg-elev);
  padding: 1.25rem 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.journey-phase::before { content: none; }
.phase-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.phase-num {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.phase-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.phase-emotion {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.phase-block .label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.phase-block p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.phase-block.thought p {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}
.phase-block.opportunity {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.phase-block.opportunity .label {
  color: var(--accent);
}
.phase-block.opportunity p {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .journey-phases { grid-template-columns: repeat(2, 1fr); }
  .journey-curve { display: none; }
}
@media (max-width: 540px) {
  .journey-phases { grid-template-columns: 1fr; }
}

/* Tools chips */
.tools-chips {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 0.75rem;
}
.tools-chips .tool {
  padding: 0.35rem 0.8rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Case nav (prev/next) */
.cs-nav {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cs-nav-inner {
  display: flex; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.cs-nav-link {
  text-decoration: none;
  color: var(--ink-soft);
  flex: 1; min-width: 220px;
  transition: color 0.2s ease;
}
.cs-nav-link:hover { color: var(--ink); }
.cs-nav-link.next { text-align: right; }
.cs-nav-link .dir {
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.cs-nav-link .title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ============================================================
   About page
   ============================================================ */
.about-page {
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 8vh, 6rem);
}
.about-page .eyebrow { display: block; margin-bottom: 1rem; color: var(--accent); }
.about-page-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 2.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.about-page-back:hover { color: var(--ink); }
.about-page-back .arrow-back { display: inline-block; transition: transform 0.22s ease; }
.about-page-back:hover .arrow-back { transform: translateX(-3px); }
.about-page h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  margin-bottom: 1.5rem;
  max-width: 14ch;
  letter-spacing: -0.02em;
}
.about-page .lede {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: clamp(3rem, 6vh, 5rem);
}
@media (min-width: 980px) {
  .about-page-grid {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
  }
}

.about-body-long p {
  font-size: 1.075rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 64ch;
}
.about-body-long p:first-of-type {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 400;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 2rem;
}
.about-body-long h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.about-body-long h3 em { color: var(--accent); font-style: italic; }

/* Sticky profile card */
.profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 2rem 1.75rem;
  position: sticky;
  top: 6rem;
}
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D4A5F 0%, #1B3142 100%);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 auto 1.5rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px -10px rgba(45,74,95,0.4);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.profile-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.profile-role {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.profile-list {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}
.profile-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0;
  font-size: 0.825rem;
  color: var(--ink-soft);
}
.profile-list li .lbl {
  color: var(--ink-muted);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.profile-list li .val { color: var(--ink); }
.profile-list li .val a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.profile-list li .val a:hover { color: var(--accent); }
.profile-downloads {
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.profile-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.profile-btn.primary {
  background: var(--ink);
  color: var(--bg);
}
.profile-btn.primary:hover { background: var(--accent); }
.profile-btn.secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.profile-btn.secondary:hover { border-color: var(--ink); }

/* Expertise highlight strip */
.expertise-strip {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: clamp(2.5rem, 5vh, 3.5rem);
  border-top: 1px solid var(--line);
}
.expertise-strip .eyebrow { display: block; margin-bottom: 1rem; }
.expertise-strip h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 2.5rem;
  max-width: 22ch;
}
.expertise-strip h2 em { color: var(--accent); font-style: italic; }
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .expertise-grid { grid-template-columns: repeat(4, 1fr); } }
.expertise-item {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.expertise-item .num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.expertise-item h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.expertise-item p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Reveal animation (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before { animation: none; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-actions {
    opacity: 1; transform: none; animation: none;
  }
}

/* ============================================================
   Global mobile overrides (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* Headings: bring clamp minimums down so text doesn't overflow */
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .cs-hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.25rem); }
  .contact h2 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .about-page h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .jm-intro h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }

  /* Let lede text breathe on very small screens */
  .hero-sub { max-width: 100%; }
  .cs-hero .lede, .about-page .lede, .contact .lede { max-width: 100%; }

  /* Case study hero meta: single column */
  .cs-meta { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }

  /* Work grid: single column */
  .work-grid { grid-template-columns: 1fr !important; }

  /* Services grid: single column */
  .services-grid { grid-template-columns: 1fr !important; }

  /* Contact grid: single column */
  .contact-grid { grid-template-columns: 1fr; }

  /* Capabilities list: 4 across is too tight — 2 columns */
  .capabilities-list { grid-template-columns: repeat(4, 1fr) !important; }

  /* Nav tabs on design-work: let cards shrink */
  .dw-index-card { min-width: 130px; padding: 0.85rem 1rem; }

  /* Case study quote trio: single column */
  .cs-quote-trio { grid-template-columns: 1fr; }

  /* Foot */
  .foot-inner { flex-direction: column; gap: 0.5rem; font-size: 0.8rem; }
}
