:root {
  --ink: #171717;
  --muted: #656565;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f7f7f4;
  --pink: #ff8fc8;
  --yellow: #ffec73;
  --orange: #ffb357;
  --blue: #b9d9ff;
  --green: #bfe1a7;
  --lav: #d8c8ff;
  --max: 1180px;
  --radius: 28px;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

::selection {
  background: var(--lav);
  color: var(--ink)
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 999;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px
}

.skip-link:focus {
  top: 18px
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line)
}

.nav__inner {
  max-width: var(--max);
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.nav__brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700
}

.nav__links a {
  padding: 4px 0;
  border-bottom: 2px solid transparent
}

.nav__links a:hover,
.nav__links a.active {
  border-color: var(--ink)
}

.nav__resume {
  background: var(--ink) !important;
  color: #fff;
  padding: 10px 14px !important;
  border-radius: 999px;
  border-bottom: none !important
}

.nav__toggle {
  display: none;
  border: 0;
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 700
}

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

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.eyebrow span {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow)
}

.hero {
  padding: 88px 0 70px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 64px;
  align-items: center
}

.hero__hello {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 22px
}

.hero h1 {
  font-size: clamp(52px, 7.7vw, 104px);
  line-height: .96;
  letter-spacing: -.065em;
  margin: 0 0 28px;
  max-width: 900px
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 66%, var(--pink) 66%)
}

.hero__lead {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  color: #3f3f3f;
  max-width: 780px;
  margin: 0
}

.hero__meta {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted)
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: .18s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn--dark {
  background: var(--ink);
  color: #fff
}

.btn--light {
  background: #fff
}

.btn--pink {
  background: var(--pink)
}

.hero__photo {
  position: relative;
  max-width: 350px;
  margin-left: auto
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: 28px -24px -24px 34px;
  background: var(--pink);
  border-radius: 46% 54% 45% 55% / 53% 45% 55% 47%;
  z-index: -1
}

.hero__photo img {
  aspect-ratio: 1/1.08;
  object-fit: cover;
  border-radius: 48% 52% 44% 56% / 52% 47% 53% 48%;
  border: 1px solid #bbb
}

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line)
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px
}

.section__head h2 {
  font-size: clamp(38px, 5.3vw, 72px);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 8px 0 0
}

.section__head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0
}

.text-link {
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px
}

.project-list {
  display: grid;
  gap: 32px
}

.project-card {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 390px;
  transition: .2s;
  background: #fff
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .08)
}

.project-card:nth-child(even) {
  grid-template-columns: .94fr 1.06fr
}

.project-card:nth-child(even) .project-card__visual {
  order: 2
}

.project-card__visual {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  position: relative;
  overflow: hidden
}

.project-card__visual::after {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  right: -55px;
  bottom: -75px;
  background: rgba(255, 255, 255, .42)
}

.project-card__visual small {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.project-card__metric {
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .8;
  position: relative;
  z-index: 2
}

.project-card__visual span {
  font-weight: 800;
  position: relative;
  z-index: 2
}

.project-card__body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px
}

.tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 9px
}

.project-card h3 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 0 0 17px
}

.project-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px
}

.project-card__facts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #444;
  margin: 4px 0 23px
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.resource-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.resource-card h3 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 8px 0
}

.resource-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px
}

.resource-card--pink {
  background: #fff5fa
}

.resource-card--yellow {
  background: #fffdf0
}

.resource-card--blue {
  background: #f6faff
}

.building-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.building-card {
  padding: 26px;
  border-top: 5px solid var(--ink);
  background: var(--soft);
  min-height: 220px
}

.building-card h3 {
  font-size: 25px;
  line-height: 1.08;
  margin: 10px 0
}

.building-card p {
  color: var(--muted);
  line-height: 1.55
}

.building-card:nth-child(1) {
  border-color: var(--pink)
}

.building-card:nth-child(2) {
  border-color: var(--yellow)
}

.building-card:nth-child(3) {
  border-color: var(--orange)
}

.about-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px
}

.about-mini h3 {
  font-size: 24px;
  margin: 0 0 12px
}

.about-mini p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0
}

.about-mini .accent {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: var(--pink)
}

.about-mini>div:nth-child(2) .accent {
  background: var(--yellow)
}

.about-mini>div:nth-child(3) .accent {
  background: var(--orange)
}

.cta {
  padding: 92px 0 110px;
  text-align: center
}

.cta h2 {
  font-size: clamp(46px, 7vw, 88px);
  letter-spacing: -.065em;
  line-height: .95;
  margin: 0 auto 24px;
  max-width: 930px
}

.cta p {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.55
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px
}

.footer__inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px
}

.footer__links {
  display: flex;
  gap: 18px;
  font-weight: 700;
  color: var(--ink)
}

.page-hero {
  padding: 76px 0 48px
}

.page-hero h1 {
  font-size: clamp(54px, 7vw, 96px);
  letter-spacing: -.065em;
  line-height: .95;
  margin: 0 0 18px
}

.page-hero p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px
}

.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 22px 0 0
}

.filter-btn {
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  cursor: pointer
}

.filter-btn.active {
  background: var(--ink);
  color: #fff
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 90px
}

.work-tile {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: .18s
}

.work-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .07)
}

.work-tile__top {
  min-height: 220px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-direction: column
}

.work-tile__metric {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -.065em
}

.work-tile__body {
  padding: 26px
}

.work-tile h3 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0 0 12px
}

.work-tile p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 15px
}

.creator-hero {
  padding: 76px 0 52px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: end
}

.creator-hero h1 {
  font-size: clamp(54px, 7vw, 96px);
  letter-spacing: -.065em;
  line-height: .95;
  margin: 0 0 20px
}

.creator-hero p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted)
}

.creator-statboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.creator-stat {
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 18px
}

.creator-stat:nth-child(1) {
  background: var(--pink)
}

.creator-stat:nth-child(2) {
  background: var(--yellow)
}

.creator-stat:nth-child(3) {
  background: var(--orange)
}

.creator-stat:nth-child(4) {
  background: var(--blue)
}

.creator-stat strong {
  font-size: 44px;
  display: block;
  letter-spacing: -.06em
}

.creator-stat span {
  font-size: 12px;
  font-weight: 800
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.brand-chip {
  padding: 10px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: #fff
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fafafa
}

.video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  background: #111;
  display: none
}

.video-card.has-video video {
  display: block
}

.video-card__empty {
  aspect-ratio: 9/16;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #f4f4f4, #fff)
}

.video-card.has-video .video-card__empty {
  display: none
}

.video-card__caption {
  padding: 15px;
  font-weight: 800;
  font-size: 13px
}

.about-page {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 58px;
  padding-bottom: 90px
}

.about-photo img {
  border-radius: 24px
}

.about-copy h2 {
  font-size: 42px;
  letter-spacing: -.045em;
  margin: 0 0 18px
}

.about-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted)
}

.timeline {
  border-top: 1px solid var(--line);
  margin-top: 36px
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line)
}

.timeline-item time {
  font-weight: 800
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 20px
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px
}

.writing-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 90px
}

.article-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line)
}

.article-row time {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted)
}

.article-row h3 {
  font-size: 25px;
  letter-spacing: -.035em;
  margin: 0 0 5px
}

.article-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.article-row a {
  font-weight: 800
}

/* case studies */
.case-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px
}

.case-hero {
  padding: 72px 0 38px
}

.case-hero__type {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--yellow)
}

.case-hero h1 {
  font-size: clamp(50px, 7vw, 86px);
  letter-spacing: -.065em;
  line-height: .96;
  margin: 18px 0
}

.case-hero__summary {
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 820px;
  margin: 0
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin: 12px 0 48px
}

.case-stat {
  padding: 24px;
  border-right: 1px solid var(--line)
}

.case-stat:last-child {
  border-right: 0
}

.case-stat b {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 8px
}

.case-stat span {
  font-size: 15px;
  line-height: 1.45;
  color: #444
}

.case-hero-media {
  min-height: 430px;
  border-radius: 24px;
  background: var(--soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 72px;
  border: 1px solid var(--line);
  position: relative
}

.case-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none
}

.case-hero-media.has-media img {
  display: block
}

.case-hero-media.has-media .media-note {
  display: none
}

.media-note {
  text-align: center;
  color: var(--muted);
  font-weight: 700
}

.media-note strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  margin-bottom: 6px
}

.case-section {
  padding: 58px 0;
  border-top: 1px solid var(--line)
}

.case-section:first-of-type {
  border-top: 0
}

.case-section__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--muted)
}

.case-section h2 {
  font-size: clamp(36px, 4.7vw, 58px);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 10px 0 22px
}

.case-section h3 {
  font-size: 24px;
  letter-spacing: -.03em;
  margin: 30px 0 12px
}

.case-section p,
.case-section li {
  font-size: 17px;
  line-height: 1.7;
  color: #4f4f4f
}

.case-section ul {
  padding-left: 22px
}

.case-callout {
  margin: 30px 0;
  padding: 24px;
  border-left: 5px solid var(--pink);
  background: #fff7fb
}

.case-callout p {
  margin: 6px 0 0
}

.process-stack {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line)
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line)
}

.process-step>b {
  font-size: 24px
}

.process-step h3 {
  margin: 0 0 7px
}

.process-step p {
  margin: 0
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.decision-card {
  padding: 20px;
  background: var(--soft);
  border-radius: 16px
}

.decision-card h3 {
  font-size: 19px;
  margin: 0 0 8px
}

.decision-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0
}

.deliverable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  padding: 0 !important
}

.deliverable-grid li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700
}

.case-list--results li {
  margin-bottom: 8px
}

.evidence-note {
  padding: 18px 20px;
  background: #fff9d9;
  border-radius: 12px;
  line-height: 1.55;
  margin-top: 26px
}

.case-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0
}

.media-frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft);
  min-height: 300px;
  display: grid;
  place-items: center;
  position: relative
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none
}

.media-frame.has-media img {
  display: block
}

.media-frame.has-media .media-note {
  display: none
}

.case-video {
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111
}

.case-video video {
  width: 100%;
  max-height: 680px;
  display: none;
  background: #000
}

.case-video.has-video video {
  display: block
}

.case-video .video-empty {
  min-height: 380px;
  background: #f6f6f6;
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px
}

.case-video.has-video .video-empty {
  display: none
}

.case-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: .55s ease
}

.fade-in.visible {
  opacity: 1;
  transform: none
}

@media(max-width:900px) {

  .hero,
  .creator-hero,
  .about-page {
    grid-template-columns: 1fr
  }

  .hero__photo {
    margin: 16px 0 0;
    max-width: 310px
  }

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr
  }

  .project-card:nth-child(even) .project-card__visual {
    order: 0
  }

  .resource-grid,
  .building-grid,
  .about-mini,
  .work-grid,
  .video-grid {
    grid-template-columns: 1fr 1fr
  }

  .case-stats {
    grid-template-columns: 1fr 1fr
  }

  .case-stat:nth-child(2) {
    border-right: 0
  }

  .case-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }
}

@media(max-width:680px) {
  .nav__toggle {
    display: block
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start
  }

  .nav__links.open {
    display: flex
  }

  .hero {
    padding-top: 56px;
    gap: 32px
  }

  .hero h1 {
    font-size: 54px
  }

  .section {
    padding: 60px 0
  }

  .section__head {
    display: block
  }

  .section__head p {
    margin-top: 18px
  }

  .resource-grid,
  .building-grid,
  .about-mini,
  .work-grid,
  .video-grid,
  .decision-grid,
  .case-media-pair,
  .deliverable-grid {
    grid-template-columns: 1fr
  }

  .project-card__visual {
    min-height: 260px
  }

  .project-card__body {
    padding: 28px
  }

  .case-stats {
    grid-template-columns: 1fr
  }

  .case-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .case-stat:last-child {
    border-bottom: 0
  }

  .timeline-item,
  .article-row {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .article-row>a {
    justify-self: start
  }

  .footer__inner {
    flex-direction: column
  }

  .case-hero-media {
    min-height: 250px
  }

  .case-video .video-empty {
    min-height: 240px
  }
}


/* Refresh pass: visual-first work + blog + creator */
body {
  background: #fbfbfb
}

.nav {
  background: rgba(251, 251, 251, .95)
}

.hero h1 em {
  background: linear-gradient(transparent 68%, #bfe1a7 68%)
}

.section--soft {
  background: #f7f7f7;
  border-radius: 28px;
  padding: 44px;
  margin-top: 24px
}

.project-card {
  min-height: 370px;
  align-items: stretch
}

.project-card__visual {
  padding: 0;
  min-height: 370px;
  background: #f3f3f3
}

.project-card__visual.project-card__visual--cover::after {
  display: none
}

.project-card__cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 370px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.project-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__cover .visual-fallback {
  padding: 28px;
  text-align: left;
  color: #666;
  display: grid;
  gap: 10px;
  align-content: end;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f7f7f7 0%, #ececec 100%)
}

.project-card__cover .visual-fallback strong {
  color: #171717;
  font-size: 20px;
  line-height: 1.15
}

.project-card__cover .visual-fallback small {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #171717;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase
}

.project-card__body.tint-green {
  background: rgba(191, 225, 167, .26)
}

.project-card__body.tint-blue {
  background: rgba(185, 217, 255, .24)
}

.project-card__body.tint-orange {
  background: rgba(255, 179, 87, .22)
}

.project-card__body.tint-pink {
  background: rgba(255, 143, 200, .20)
}

.project-card__body.tint-lav {
  background: rgba(216, 200, 255, .22)
}

.project-card__body.tint-yellow {
  background: rgba(255, 236, 115, .22)
}

.project-card__body h3 {
  font-size: clamp(28px, 3vw, 44px)
}

.work-grid {
  gap: 18px
}

.work-tile__top {
  min-height: 255px;
  padding: 0;
  background: #f4f4f4
}

.work-tile__cover {
  position: relative;
  min-height: 255px;
  height: 100%;
  overflow: hidden;
  background: #f1f1f1
}

.work-tile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none
}

.work-tile__cover.has-media img {
  display: block
}

.work-tile__cover .visual-fallback {
  padding: 20px;
  height: 100%;
  display: grid;
  align-content: end;
  background: linear-gradient(180deg, #f7f7f7, #ececec);
  gap: 8px
}

.work-tile__cover .visual-fallback strong {
  font-size: 18px;
  line-height: 1.15
}

.work-tile__cover .visual-fallback small {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #171717;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: max-content
}

.filter-btn {
  background: #fff
}

.filter-btn[data-filter="pm"] {
  background: rgba(185, 217, 255, .35)
}

.filter-btn[data-filter="entrepreneurship"] {
  background: rgba(191, 225, 167, .4)
}

.filter-btn[data-filter="ux"] {
  background: rgba(216, 200, 255, .4)
}

.filter-btn[data-filter="strategy"] {
  background: rgba(255, 179, 87, .35)
}

.filter-btn.active {
  box-shadow: inset 0 0 0 1px #171717;
  background: #171717 !important;
  color: #fff
}

.resource-carousel {
  position: relative
}

.carousel-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 16px
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #171717;
  background: #fff;
  font-weight: 800;
  cursor: pointer
}

.story-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none
}

.story-strip::-webkit-scrollbar {
  display: none
}

.story-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 320px
}

.story-card__media {
  aspect-ratio: 16/10;
  background: #f0f0f0;
  overflow: hidden;
  position: relative
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none
}

.story-card__media.has-media img {
  display: block
}

.story-card__media .visual-fallback {
  padding: 18px;
  height: 100%;
  display: grid;
  align-content: end;
  background: linear-gradient(180deg, #f7f7f7, #ececec);
  gap: 8px
}

.story-card__body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 8px
}

.story-card__body small {
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .06em
}

.story-card__body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.03;
  letter-spacing: -.04em
}

.story-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px
}

.story-card__body .text-link {
  width: max-content;
  margin-top: 8px
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.logo-tile {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 12px
}

.logo-tile img {
  max-width: 100%;
  max-height: 74px;
  display: none
}

.logo-tile.has-media img {
  display: block
}

.logo-tile.has-media .logo-fallback {
  display: none
}

.logo-fallback {
  font-weight: 800;
  text-align: center;
  line-height: 1.15
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.embed-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  display: grid;
  gap: 12px
}

.embed-card__frame {
  border: 1px dashed #cfcfcf;
  border-radius: 18px;
  min-height: 520px;
  background: #fafafa;
  display: grid;
  place-items: center;
  color: #666;
  text-align: center;
  padding: 20px
}

.embed-card__frame iframe {
  width: 100%;
  min-height: 500px;
  border: 0;
  border-radius: 18px
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start
}

.impact-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px
}

.impact-copy h3 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 0 0 14px
}

.impact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px
}

.stat-strip {
  display: grid;
  gap: 12px
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
  background: #fff
}

.stat-card b {
  display: block;
  font-size: 46px;
  letter-spacing: -.06em;
  line-height: .95;
  margin-bottom: 8px
}

.stat-card span {
  display: block;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5
}

.stat-card--pink {
  background: rgba(255, 143, 200, .22)
}

.stat-card--yellow {
  background: rgba(255, 236, 115, .25)
}

.stat-card--blue {
  background: rgba(185, 217, 255, .26)
}

.blog-hero {
  padding: 76px 0 40px
}

.blog-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 80px
}

.blog-post-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  transition: .18s
}

.blog-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06)
}

.blog-post-card__media {
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f1f1
}

.blog-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.blog-post-card__content small {
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .06em
}

.blog-post-card__content h2 {
  margin: 8px 0 8px;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.045em
}

.blog-post-card__content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 700px
}

.blog-post-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-top: 14px
}

.blog-read {
  font-weight: 800;
  white-space: nowrap
}

.post-hero {
  padding: 72px 0 28px
}

.post-hero__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px
}

.post-hero h1 {
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -.06em;
  line-height: .96;
  margin: 0 0 16px;
  max-width: 1000px
}

.post-hero p {
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 800px;
  margin: 0
}

.post-cover {
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  margin: 18px 0 44px;
  background: #fff
}

.post-cover img {
  width: 100%;
  height: auto;
  display: block
}

.post-content {
  max-width: 820px;
  padding-bottom: 90px
}

.post-content h2 {
  font-size: 34px;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 44px 0 14px
}

.post-content p,
.post-content li {
  font-size: 18px;
  line-height: 1.8;
  color: #474747
}

.post-content ul {
  padding-left: 22px
}

.post-content blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid #171717;
  background: #f6f6f6;
  font-size: 22px;
  line-height: 1.55
}

@media(max-width:980px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .impact-grid,
  .embed-grid {
    grid-template-columns: 1fr
  }

  .blog-post-card {
    grid-template-columns: 1fr
  }

  .blog-read {
    justify-self: start
  }

  .story-strip {
    grid-auto-columns: minmax(260px, 320px)
  }
}

@media(max-width:680px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .project-card__cover,
  .work-tile__cover {
    min-height: 240px
  }

  .story-card {
    min-height: unset
  }
}


/* === Final UI tweaks: colored tags + writing discovery === */
.tag {
  transition: background .18s ease, border-color .18s ease;
  color .18s ease;
  white-space: nowrap
}

.tag.tag--green {
  background: rgba(191, 225, 167, .55);
  border-color: #8fba73
}

.tag.tag--blue {
  background: rgba(185, 217, 255, .58);
  border-color: #80afe3
}

.tag.tag--orange {
  background: rgba(255, 179, 87, .48);
  border-color: #dd8e35
}

.tag.tag--pink {
  background: rgba(255, 143, 200, .46);
  border-color: #dd68a3
}

.tag.tag--lav {
  background: rgba(216, 200, 255, .58);
  border-color: #a78ce9
}

.tag.tag--yellow {
  background: rgba(255, 236, 115, .62);
  border-color: #d5b92f
}

.tag.tag--neutral {
  background: #f4f4f4;
  border-color: #a9a9a9
}

.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin: 4px 0 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.blog-toolbar__left {
  display: grid;
  gap: 10px
}

.blog-toolbar__label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted)
}

.blog-filters {
  margin: 0
}

.blog-filters .filter-btn[data-blog-filter="career"] {
  background: rgba(255, 143, 200, .30)
}

.blog-filters .filter-btn[data-blog-filter="entrepreneurship"] {
  background: rgba(255, 236, 115, .38)
}

.blog-filters .filter-btn[data-blog-filter="founder"] {
  background: rgba(185, 217, 255, .38)
}

.blog-filters .filter-btn[data-blog-filter="creator"] {
  background: rgba(216, 200, 255, .40)
}

.blog-filters .filter-btn.active {
  background: var(--ink) !important;
  color: #fff
}

.blog-toolbar__tools {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap
}

.blog-control {
  display: grid;
  gap: 7px
}

.blog-control label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted)
}

.blog-search,
.blog-sort {
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 0 15px;
  font: inherit;
  font-size: 14px;
  color: var(--ink)
}

.blog-search {
  min-width: 230px
}

.blog-sort {
  min-width: 155px;
  cursor: pointer
}

.blog-results-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin: -12px 0 20px
}

.blog-empty {
  display: none;
  padding: 50px 24px;
  text-align: center;
  border: 1px dashed #bbb;
  border-radius: 20px;
  color: var(--muted);
  background: #fff
}

.blog-empty.visible {
  display: block
}

.blog-post-card__content small {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.1;
  white-space: normal
}

.blog-post-card[data-blog-category="career"] .blog-post-card__content small {
  background: rgba(255, 143, 200, .30)
}

.blog-post-card[data-blog-category="entrepreneurship"] .blog-post-card__content small {
  background: rgba(255, 236, 115, .42)
}

.blog-post-card[data-blog-category="founder"] .blog-post-card__content small {
  background: rgba(185, 217, 255, .40)
}

.blog-post-card[data-blog-category="creator"] .blog-post-card__content small {
  background: rgba(216, 200, 255, .42)
}

@media(max-width:760px) {
  .blog-toolbar {
    align-items: stretch
  }

  .blog-toolbar__tools {
    display: grid;
    grid-template-columns: 1fr
  }

  .blog-control {
    width: 100%
  }

  .blog-search,
  .blog-sort {
    width: 100%;
    min-width: 0
  }

  .blog-filters {
    gap: 7px
  }

  .blog-filters .filter-btn {
    font-size: 13px;
    padding: 8px 11px
  }
}

/* Completed portfolio: original palette, typography, and editorial layout. */
[hidden] {
  display: none !important
}

:focus-visible {
  outline: 3px solid #6750a4;
  outline-offset: 5px
}

.fade-in {
  opacity: 1;
  transform: none
}

.project-card__cover img,
.work-tile__cover img,
.story-card__media img {
  display: block
}

.project-card__cover {
  padding: 22px;
  background: #f3f3ef
}

.project-card__cover img {
  height: 330px;
  object-fit: contain;
  border-radius: 8px
}

.work-tile__cover {
  height: 290px;
  min-height: 0;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3ef
}

.work-tile__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px
}

.work-tile__body {
  height: auto;
  flex: 1
}

.work-tile {
  display: flex;
  flex-direction: column
}

.story-card__media img {
  height: 100%;
  object-fit: cover
}

.tag {
  font-size: 12px
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 30px 0 38px
}

.result-strip>div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f1f7eb
}

.result-strip>div:nth-child(2) {
  background: #f2ecff
}

.result-strip>div:nth-child(3) {
  background: #fff5d2
}

.result-strip strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.05em;
  margin-bottom: 10px;
  line-height: 1.05
}

.result-strip span {
  font-size: 14px;
  line-height: 1.5;
  display: block;
  max-width: 27ch
}

.artifact {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff
}

.artifact a {
  position: relative;
  display: block;
  background: #f2f2ee;
  padding: 18px
}

.artifact img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  margin: auto
}

.artifact figcaption {
  font-size: 14px;
  line-height: 1.55;
  padding: 16px 20px;
  color: #525252
}

.artifact--hero {
  margin: 32px 0 54px
}

.artifact--hero img {
  height: auto;
  max-height: 610px
}

.artifact-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 26px 0
}

.zoom-cue {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid #d1d1d1;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 20px;
  transition: transform .2s
}

.artifact a:hover .zoom-cue {
  transform: translate(2px, -2px)
}

.case-section p,
.case-section li {
  line-height: 1.7
}

.case-section .evidence-note,
.small-note {
  font-size: 13px;
  color: #626262;
  line-height: 1.6
}

.deliverable-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
  margin: 24px 0
}

.deliverable-grid li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  background: #f8f8f5;
  font-size: 16px
}

.case-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.interview-feature {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: center;
  border: 1px solid var(--line);
  background: #f1f5ff;
  border-radius: 28px;
  padding: 36px
}

.interview-feature video {
  width: 100%;
  max-height: 640px;
  aspect-ratio: 512/910;
  object-fit: contain;
  background: #101010;
  border-radius: 18px
}

.interview-feature h2 {
  font-size: clamp(32px, 4.8vw, 60px);
  letter-spacing: -.055em;
  line-height: 1.05;
  margin: 22px 0
}

.interview-feature p {
  font-size: 19px;
  line-height: 1.6;
  color: #454545
}

.case-section video {
  display: block;
  width: min(100%, 420px);
  max-height: 680px;
  background: #101010;
  border-radius: 22px;
  margin: 26px auto
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.brand-chip {
  padding: 14px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  background: #fafaf7
}

.filter-count {
  font-size: 14px;
  color: #626262;
  margin: 12px 0 28px
}

.lightbox {
  border: 0;
  border-radius: 20px;
  padding: 50px 22px 18px;
  width: min(1120px, 94vw);
  max-height: 94vh;
  background: #f6f6f2;
  color: var(--ink)
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .78)
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain
}

.lightbox p {
  font-size: 14px;
  line-height: 1.5;
  margin: 14px 0 0;
  text-align: center
}

.lightbox__close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-weight: 700;
  padding: 9px 15px;
  cursor: pointer
}

body:has(.lightbox[open]) {
  overflow: hidden
}

@media(max-width:850px) {
  .nav__toggle {
    display: block
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 22px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px
  }

  .nav__links.open {
    display: flex
  }

  .interview-feature {
    gap: 28px;
    padding: 26px
  }

  .artifact img {
    height: 300px
  }
}

@media(max-width:600px) {

  .artifact-gallery,
  .deliverable-grid,
  .interview-feature {
    grid-template-columns: 1fr
  }

  .interview-feature {
    padding: 20px;
    gap: 20px
  }

  .interview-feature video {
    max-height: 550px
  }

  .interview-feature p {
    font-size: 17px
  }

  .artifact img {
    height: 340px
  }

  .artifact a {
    padding: 12px
  }

  .artifact--hero img {
    height: auto
  }

  .result-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .result-strip>div {
    padding: 18px
  }

  .project-card__cover,
  .project-card__visual {
    min-height: 260px
  }

  .project-card__cover img {
    height: 250px
  }

  .work-tile__cover {
    height: 260px
  }

  .brand-chip {
    font-size: 14px;
    padding: 12px 16px
  }

  .hero__photo {
    margin: 0
  }

  .case-hero h1 {
    overflow-wrap: break-word
  }

  .lightbox {
    padding: 54px 12px 16px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }
}

/* Detailed case studies and original presentation viewers. */
.case-reading {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 22px 0 0
}

.case-contents {
  position: sticky;
  top: 74px;
  z-index: 30;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  padding: 13px 18px;
  margin: 28px 0;
  box-shadow: 0 5px 20px #00000006
}

.case-contents>span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800;
  color: #666;
  margin-bottom: 9px
}

.case-contents__links {
  display: flex;
  gap: 8px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 2px 6px
}

.case-contents a {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px
}

.case-contents a:hover,
.case-contents a[aria-current] {
  border-color: #171717
}

.case-section[id] {
  scroll-margin-top: 175px
}

.case-section>p {
  max-width: 82ch
}

.case-role {
  margin: 32px 0 0;
  border-left: 5px solid var(--green);
  background: #f3f8ef;
  padding: 24px 28px;
  border-radius: 0 18px 18px 0
}

.case-role h3 {
  margin: 0 0 14px
}

.case-role p:last-child {
  margin-bottom: 0
}

.case-audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px
}

.case-audiences article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #faf9f6
}

.case-audiences article:nth-child(2) {
  background: #f5f0ff
}

.case-audiences article:nth-child(3) {
  background: #fff9df
}

.case-audiences h3 {
  font-size: 19px;
  margin: 0 0 12px
}

.case-audiences p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0
}

.case-method {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 16px
}

.case-method:first-of-type {
  margin-top: 32px
}

.case-method__number {
  font-size: 13px;
  font-weight: 800;
  background: var(--yellow);
  width: 36px;
  height: 36px;
  border: 1px solid #171717;
  border-radius: 50%;
  display: grid;
  place-items: center
}

.case-method h3 {
  margin: 3px 0 16px;
  font-size: 27px;
  line-height: 1.15
}

.case-method p {
  max-width: 73ch;
  margin: 0 0 17px
}

.decision-table,
.forecast-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin: 28px 0 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: visible;
  text-align: left
}

.decision-table caption,
.forecast-table caption {
  text-align: left;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
  padding: 0 0 12px
}

.decision-table th,
.decision-table td,
.forecast-table th,
.forecast-table td {
  padding: 20px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.65;
  border-bottom: 1px solid var(--line)
}

.decision-table thead th,
.forecast-table thead th {
  background: #eee9fa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #171717
}

.decision-table thead th:first-child,
.forecast-table thead th:first-child {
  border-top-left-radius: 17px
}

.decision-table thead th:last-child,
.forecast-table thead th:last-child {
  border-top-right-radius: 17px
}

.decision-table tbody tr:last-child th {
  border-bottom-left-radius: 17px
}

.decision-table tbody th {
  font-weight: 700;
  width: 33%;
  background: #fafaf7
}

.decision-table td {
  width: 33%;
  color: #4f4f4f
}

.decision-table tr:last-child>*,
.forecast-table tr:last-child>* {
  border-bottom: 0
}

.forecast-table tbody tr:last-child {
  background: #f1f7eb;
  font-weight: 700
}

.case-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px
}

.case-video {
  margin: 28px 0 40px;
  background: #f1f5ff;
  border-radius: 24px;
  padding: 26px;
  text-align: center
}

.case-video p {
  max-width: 54ch;
  margin: 0 auto
}

.slide-deck {
  border: 1px solid #d6d6d6;
  border-radius: 24px;
  overflow: hidden;
  margin: 32px 0 48px;
  background: #fff;
  min-width: 0
}

.slide-deck__head {
  padding: 24px 28px 20px;
  background: #f4f7ef;
  border-bottom: 1px solid var(--line)
}

.slide-deck__head h3 {
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.15
}

.slide-deck__head p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 72ch
}

.slide-deck__stage {
  background: #f2f2ee;
  outline-offset: -4px
}

.deck-slide {
  margin: 0
}

.deck-slide__image {
  display: block;
  position: relative;
  padding: 16px
}

.deck-slide__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  max-height: 580px;
  background: #fff;
  border-radius: 7px
}

.slide-deck--document .deck-slide__image img {
  aspect-ratio: auto;
  height: 580px;
  background: #f2f2ee
}

.deck-slide figcaption {
  padding: 0 24px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5
}

.slide-transcript {
  border-top: 1px solid var(--line);
  padding: 13px 24px;
  background: #fff
}

.slide-transcript summary {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  width: fit-content
}

.slide-transcript__text {
  white-space: pre-line;
  font-size: 14px !important;
  line-height: 1.7 !important;
  max-height: 400px;
  overflow: auto;
  padding-right: 12px
}

.slide-deck.is-ready .deck-slide:not(.is-current) {
  display: none
}

.slide-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--line)
}

.slide-button {
  background: #171717;
  color: #fff;
  border: 1px solid #171717;
  border-radius: 999px;
  font: 700 14px var(--sans);
  padding: 11px 18px;
  cursor: pointer;
  white-space: nowrap
}

.slide-button:disabled {
  background: #f1f1ed;
  color: #737373;
  border-color: #dedede;
  cursor: default
}

.slide-count {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums
}

.slide-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 24px 18px;
  scrollbar-width: thin;
  background: #fafaf7;
  scroll-snap-type: x proximity
}

.slide-thumbnail {
  position: relative;
  flex: 0 0 112px;
  background: #fff;
  border: 2px solid #dedede;
  border-radius: 9px;
  padding: 5px;
  cursor: pointer;
  scroll-snap-align: nearest
}

.slide-thumbnail img {
  width: 98px;
  height: 58px;
  object-fit: contain
}

.slide-thumbnail span {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  background: #171717;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700
}

.slide-thumbnail[aria-current='true'] {
  border-color: #171717;
  background: #fff6be;
  box-shadow: 0 0 0 1px #171717
}

.slide-deck__footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  color: #666
}

.slide-deck__footer a {
  font-size: 12px;
  white-space: nowrap;
  color: #171717;
  align-self: flex-start
}

.slide-dialog {
  width: min(1300px, 96vw);
  max-width: none;
  max-height: 96vh;
  height: auto;
  border: 0;
  border-radius: 18px;
  padding: 18px;
  background: #f3f3ef;
  color: #171717;
  overflow: auto
}

.slide-dialog::backdrop {
  background: #000d
}

.slide-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px
}

.slide-dialog__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0
}

.slide-dialog__close {
  background: #171717;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap
}

.slide-dialog__image {
  width: 100%;
  height: calc(100vh - 180px);
  max-height: 800px;
  object-fit: contain
}

.slide-dialog .slide-controls {
  border: 0;
  padding: 14px 0 0
}

body:has(.slide-dialog[open]) {
  overflow: hidden
}

@media(max-width:700px) {
  .case-contents {
    margin: 24px 0;
    border-radius: 14px;
    padding: 12px 14px
  }

  .case-contents__links {
    gap: 18px
  }

  .case-audiences {
    grid-template-columns: 1fr
  }

  .case-role {
    padding: 22px
  }

  .case-method {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .case-method h3 {
    font-size: 25px
  }

  .decision-table,
  .decision-table tbody,
  .decision-table tr,
  .decision-table td,
  .decision-table tbody th {
    display: block;
    width: 100%
  }

  .decision-table caption {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line)
  }

  .decision-table tbody tr:last-child th {
    border-radius: 0
  }

  .decision-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%)
  }

  .decision-table tr {
    border-bottom: 2px solid #ccc
  }

  .decision-table tr:last-child {
    border-bottom: 0
  }

  .decision-table tbody th,
  .decision-table td {
    border: 0;
    padding: 14px 20px
  }

  .decision-table td::before,
  .decision-table tbody th::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 800;
    color: #666;
    margin-bottom: 5px
  }

  .decision-table td:last-child {
    padding-top: 0;
    padding-bottom: 22px
  }

  .slide-deck__head {
    padding: 22px 18px
  }

  .slide-deck__head h3 {
    font-size: 23px
  }

  .deck-slide__image {
    padding: 8px
  }

  .deck-slide figcaption {
    padding: 8px 16px 16px;
    font-size: 14px
  }

  .slide-controls {
    padding: 14px 16px;
    gap: 8px
  }

  .slide-button {
    font-size: 12px;
    padding: 10px 14px
  }

  .slide-transcript {
    padding: 14px 16px
  }

  .slide-thumbnails {
    padding: 12px 16px 18px
  }

  .slide-thumbnail {
    flex-basis: 91px
  }

  .slide-thumbnail img {
    width: 77px;
    height: 44px
  }

  .slide-deck__footer {
    flex-direction: column;
    gap: 10px;
    padding: 16px
  }

  .slide-dialog {
    padding: 14px;
    width: 98vw;
    border-radius: 12px
  }

  .slide-dialog__title {
    font-size: 13px
  }

  .slide-dialog__close {
    padding: 9px 13px;
    font-size: 12px
  }

  .slide-dialog__image {
    height: calc(100svh - 190px)
  }

  .slide-deck--document .deck-slide__image img {
    height: 420px
  }

  .forecast-table th,
  .forecast-table td {
    padding: 12px;
    font-size: 13px
  }
}