/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Lato", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
#main {
  flex: 1 0 auto;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: "Lato", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  margin: 0;
}

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.wrap.freeport-wide {
  max-width: 1420px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
#site-header {
  background: #ffffff;
  padding: 34px 0;
  position: relative;
  z-index: 100;
}
#site-header .wrap {
  max-width: none;
  padding: 0 45px;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#logo img { height: 24px; width: auto; }

#main-nav {
  display: flex;
  align-items: center;
  gap: 75.26px;
}
.nav-links {
  display: flex;
  gap: 75.26px;
}
.nav-links a {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: #1a1a1a;
  transition: opacity 0.2s ease;
}
.social-links a:hover .social-icon { opacity: 0.6; }

#menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}
#menu-toggle span {
  display: block;
  height: 2px;
  background: #1a1a1a;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#menu-toggle[aria-expanded="true"] { position: relative; z-index: 96; }
#menu-toggle[aria-expanded="true"] span { background: #fff; }
#menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

#mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
body.nav-open #mobile-nav-backdrop { opacity: 1; pointer-events: auto; }

/* ---------- Intro ---------- */
#intro {
  max-width: 1495px;
  padding: 46px 19.3px 34.4px;
}
#portfolio .wrap {
  max-width: 1495px;
  padding-left: 19.3px;
  padding-right: 19.3px;
}
#intro h1 {
  font-family: 'Harmony', "Lato", "Open Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(58px, 4.55vw, 78px);
  line-height: 1.125;
  max-width: 1181px;
  margin-bottom: 20px;
}
#intro p {
  font-size: 20px;
  line-height: 1.7;
  max-width: 1019px;
  color: #3a3a3a;
}

/* ---------- About page ---------- */
#about {
  padding: 60px 40px 100px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  box-shadow: none;
}
.about-copy .eyebrow {
  font-size: 18px;
  font-weight: 600;
  color: #bfbfbf;
  margin-bottom: 8px;
}
.about-copy h1 {
  font-family: 'Harmony', "Lato", "Open Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(43.68px, 4.056vw, 62.4px);
  line-height: 1.125;
  margin-bottom: 28px;
}
.about-copy p {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 24px;
}
.places-heading {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bfbfbf;
  margin: 30px 0 16px;
}
.places-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.places-list li {
  font-size: 18px;
  line-height: 2;
  color: #1a1a1a;
}

@media (max-width: 999px) {
  #about { padding: 40px 24px 60px; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-portrait { max-width: 360px; }
}

/* ---------- Project / case study page ---------- */
.project-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #0a0303;
  color: #ffffff;
  padding: 203px 0 248px;
}
.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,3,3,0.4) 0%, rgba(10,3,3,0.54) 100%);
}
.project-hero-content {
  position: relative;
  max-width: 1100px;
}
.adw-logo {
  margin-bottom: 30px;
  height: 53px;
  width: auto;
}
.project-hero-content h2 {
  font-size: clamp(31px, 4.1vw, 53px);
  line-height: 1.17;
  font-weight: 700;
}

/* Light, flat-color hero (no background photo) used on case studies
   whose source page didn't have a dark image header. */
.project-hero-light {
  background: #c4c4c4;
  padding: 70px 0 56px;
}
.project-hero-light h1 {
  font-size: clamp(28px, 3.4vw, 44px);
  color: #0a0a0a;
}
.project-subheader {
  margin-top: 14px;
  font-size: 19px;
  color: #5a5a5a;
}

/* Intro block: a left-aligned text column over the client's own brand
   graphic, which already fades to white on its left side (logo included
   in the image itself) — no extra overlay needed on top of it. */
.project-intro {
  position: relative;
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  background-color: #ffffff;
  min-height: 46vw;
}
.project-intro-content {
  position: relative;
  margin: 0;
  padding: calc(8vw + 80px) 40px 60px calc(7vw + 150px);
  max-width: 1130px;
}
.project-intro-content h2 {
  font-size: clamp(46px, 3.6vw, 62px);
  line-height: 1.15;
  color: #0a0a0a;
  margin-bottom: 24px;
}
.project-intro-content p {
  font-size: 19px;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 20px;
}
.project-intro-content h4 {
  font-size: 18px;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.project-section {
  padding: 70px 0;
}
.project-section--tight { padding: 0; }
.trtax-guerilla-section { padding-top: 185px; padding-bottom: 185px; }
.trtax-unified-section { padding-top: 145px; padding-bottom: 45px; }
.trtax-gallery {
  margin-bottom: 90px;
}
.trtax-gallery .gallery-track {
  padding: 16px 40px 30px;
}
.trtax-gallery .gallery-track img {
  height: 695px;
  width: auto;
  max-width: none;
  scroll-snap-align: center;
}
@media (max-width: 999px) {
  .trtax-gallery .gallery-track img { height: 50vw; }
}
.project-gallery.trtax-journey-gallery { padding-top: 20px; padding-bottom: 60px; margin-bottom: 150px; background: #f3f4f6; }
.trtax-journey-gallery .gallery-track { padding-top: 0; padding-bottom: 60px; }
.trtax-journeys-title-section { padding-bottom: 40px; }
.trtax-my-products-section { padding-top: 0; padding-bottom: 140px; margin-top: -20px; }
.trtax-recommended-section { padding-top: 130px; padding-bottom: 90px; }
.wh-concept-section { padding-bottom: 110px; }
.product-exp-shot-section { padding-bottom: 200px; }
.project-section--mint { background: #c3e8e7; }
.project-section--gray { background: #f3f4f6; }

.freeport-corptrack-section { background: #eff4f7; }

.full-bleed-divider {
  width: 100%;
  height: 1px;
  background: #e2e2e2;
}

.freeport-workflow-section {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* Full-bleed documentation screenshots: no card styling, just the shot. */
.project-shot {
  display: block;
  width: 100%;
}
.learner-exp-shot {
  width: 80%;
  margin: 0 10%;
}
.design-grid-shot {
  width: 77.6%;
  margin: 0 11.2%;
}
.additional-graphics-shot {
  width: 93.12%;
  margin: 0 3.44%;
}
.additional-graphics-section {
  padding-top: 140px;
  padding-bottom: 140px;
}
.design-grid-section {
  padding-top: 180px;
  padding-bottom: 180px;
}
.icons-shot-wrap {
  padding-top: 130px;
  padding-bottom: 130px;
}
.icons-shot {
  width: calc(100% - 200px);
  margin: 0 100px;
}
.graphics-banner {
  aspect-ratio: 3600 / 2606;
  overflow: hidden;
}
.graphics-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1000px) {
  .graphics-banner {
    aspect-ratio: unset;
    height: calc(100vw * 2606 / 3600 + 225px);
  }
}
.website-redesign-shot {
  padding-top: 20px;
  padding-bottom: 80px;
}
.project-shot.wrap-constrained {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.zorbie-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  margin: 0 auto 40px;
}
.zorbie-row img {
  width: 85%;
  margin: 50px auto 0;
  display: block;
  height: auto;
}
.project-section-inner.centered {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.project-section-inner h3 {
  font-size: clamp(39px, 4.2vw, 53px);
  letter-spacing: -0.02em;
}
.project-section-inner h3.freeport-stats-heading {
  font-size: 26px;
}
.section-divider {
  width: 80px;
  height: 3px;
  background: #1a1a1a;
  margin: 24px auto 30px;
}
.project-section-inner p {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 36px;
}
.project-image {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
}
.futures-page .project-hero { padding: 233px 0 278px; }
.futures-page .project-hero-overlay { background: linear-gradient(180deg, rgba(10,3,3,0.272) 0%, rgba(10,3,3,0.368) 100%); }
.futures-storycards-shot {
  box-shadow: none;
  width: 120%;
  max-width: 120%;
  margin-left: -10%;
}

.project-gallery {
  padding: 10px 0;
}
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 40px 40px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
  height: 0;
}
.gallery-track.is-dragging,
.gallery-track.is-coasting {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.gallery-track img {
  flex: 0 0 auto;
  height: 320px;
  width: auto;
  border-radius: 6px;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
  scroll-snap-align: start;
  box-shadow: 0 16px 30px -14px rgba(0,0,0,0.3);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 0 30px;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c4c4c4;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.gallery-dot:hover { background: #9a9a9a; }
.gallery-dot.is-active {
  background: #1a1a1a;
  transform: scale(1.3);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 999px) {
  .project-hero { padding: 90px 0 105px; }
  .project-section { padding: 46px 0; }
  .gallery-track { padding: 16px 24px 40px; }
  .gallery-track img { height: 220px; }

  .project-hero-light { padding: 44px 0 36px; }
  .project-intro-content { padding: 46px 0; }
  .zorbie-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .project-shot.wrap-constrained { padding: 0 24px; }
}

/* ---------- Freeport case study ---------- */
.freeport-hero-section {
  background: linear-gradient(135deg, #e4ebf1 0%, #cdd7e1 100%);
  padding: 90px 0 100px;
}
.freeport-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
}
.freeport-hero-image {
  width: 110%;
  margin-left: -10%;
}
.freeport-hero-image img {
  width: 100%;
}
.freeport-logo {
  height: 62.1px;
  width: auto;
  margin-bottom: 30px;
}
.freeport-hero-copy h2 {
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 26px;
}
.freeport-hero-copy p {
  font-size: 19px;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 26px;
}
.freeport-hero-copy h4 {
  font-size: 19px;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.freeport-stats-section {
  padding: 127px 0;
}
.freeport-stats-inner {
  max-width: 1150px;
}
.freeport-stats-heading {
  white-space: nowrap;
}
.freeport-section-heading {
  font-size: 26px;
}
.freeport-feature-section {
  padding: 92.6px 0;
}
.freeport-wireframe-section {
  padding: 127.8px 0;
}
.freeport-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "n1 n2 n3 n4"
    "l1 l2 l3 l4";
  column-gap: 30px;
  row-gap: 12px;
  width: 162%;
  margin: 40px -31% 0;
}
.freeport-stats > :nth-child(1) { grid-area: n1; }
.freeport-stats > :nth-child(2) { grid-area: n2; }
.freeport-stats > :nth-child(3) { grid-area: n3; }
.freeport-stats > :nth-child(4) { grid-area: n4; }
.freeport-stats > :nth-child(5) { grid-area: l1; }
.freeport-stats > :nth-child(6) { grid-area: l2; }
.freeport-stats > :nth-child(7) { grid-area: l3; }
.freeport-stats > :nth-child(8) { grid-area: l4; }
.freeport-stat-number {
  align-self: end;
  justify-self: center;
  font-family: "Lato", "Open Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(50px, 6vw, 77px);
  color: #0a0a0a;
  line-height: 1;
}
.freeport-stat-number--accent {
  color: #3A5586;
}
.freeport-stat-label {
  align-self: start;
  justify-self: center;
  font-size: 16px;
  color: #3a3a3a;
  max-width: 180px;
  text-align: center;
}

.freeport-banner {
  overflow: hidden;
}
.freeport-banner img {
  display: block;
  width: 100%;
  transform: scale(1.25);
  transform-origin: center center;
}

.freeport-subtitle {
  font-size: 19px;
  color: #3a3a3a;
  margin: 10px 0 40px;
}

.freeport-shot-spaced {
  margin-top: 10px;
}
.freeport-wireframe-shot {
  width: 174.6%;
  margin-left: 0;
  margin-right: -74.6%;
}

.freeport-part-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 140px;
}
.freeport-part-row img {
  width: 100%;
  border-radius: 6px;
}

.freeport-impact-copy {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  max-width: 550px;
  margin: 0 auto;
}

.freeport-outcomes-section {
  position: relative;
  padding-top: 0;
  margin-top: -50px;
  padding-bottom: 0;
  overflow: hidden;
}
.freeport-outcomes-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(531px, 53.1vw, 1343px);
  height: auto;
  z-index: 1;
}
.freeport-outcomes-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}
.freeport-outcomes-copy {
  margin-left: -50px;
}
.freeport-outcomes-spacer {
  width: clamp(531px, 53.1vw, 1343px);
  max-width: 100%;
  aspect-ratio: 1096 / 729;
  visibility: hidden;
}
.freeport-outcomes-copy h4 {
  font-size: 18px;
  color: #0a0a0a;
  margin-bottom: 16px;
}
.freeport-outcomes-list li {
  font-size: 18px;
  line-height: 1.65;
  color: #3a3a3a;
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
}
.freeport-outcomes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a1a1a;
}

@media (max-width: 999px) {
  .freeport-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .freeport-hero-image { width: 100%; margin-left: 0; }
  .freeport-stats-heading { white-space: normal; }
  .freeport-stats {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "n1 n2"
      "l1 l2"
      "n3 n4"
      "l3 l4";
    column-gap: 20px;
    row-gap: 10px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .freeport-part-row { grid-template-columns: 1fr; }
  .freeport-outcomes-grid { grid-template-columns: 1fr; gap: 30px; }
  .freeport-outcomes-section { padding-bottom: 46px; overflow: visible; }
  .freeport-outcomes-image {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }
  .freeport-outcomes-spacer { display: none; }
}

/* ---------- Cision case study ---------- */
.cision-tint-section { background: #deedff; }
.cision-mint-section { background: #d9f6f5; }

.cision-hero-section { padding-top: 116px; padding-bottom: 0; }

.cision-logo {
  height: 41px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}

.cision-shot-tight {
  width: 82%;
  margin: 0 9%;
}

.project-shot.wrap-constrained.cision-onboard-shot {
  max-width: 1495px;
  padding: 0 20px;
}

.project-shot.wrap-constrained.cision-hero-shot {
  max-width: 1430px;
}

.project-shot.wrap-constrained.cision-mobile-shot {
  margin-top: 60px;
}

.section-divider.cision-divider {
  margin: 39px auto 45px;
}

.cision-zoom {
  overflow: hidden;
}
.cision-zoom--75 .project-shot {
  width: 175%;
  max-width: none;
  margin-left: -37.5%;
}
.cision-zoom--20 .project-shot {
  width: 120%;
  max-width: none;
  margin-left: -10%;
}

@media (max-width: 999px) {
  .cision-shot-tight { width: 100%; margin: 0; }
  .project-shot.wrap-constrained.cision-onboard-shot { max-width: 1300px; padding: 0 24px; }
  .cision-zoom--75 .project-shot { width: 130%; margin-left: -15%; }
  .cision-zoom--20 .project-shot { width: 110%; margin-left: -5%; }
}

/* ---------- ATD case study ---------- */
.atd-hero-section {
  background-image: linear-gradient(90deg, rgba(22,56,114,0.08) 0%, #163872 68%), url('../assets/images/atd/ADFeatureImage.jpg');
  background-size: cover, cover;
  background-position: center, left top;
  background-repeat: no-repeat, no-repeat;
  padding: 150px 0;
  overflow-x: hidden;
}
.atd-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.atd-hero-image img {
  display: block;
  width: 180%;
  max-width: none;
  margin-left: calc(-80% + 200px);
}
.atd-logo {
  height: 48px;
  width: auto;
  margin-bottom: 26px;
  display: block;
}
.atd-hero-copy {
  margin-left: 100px;
  margin-right: -75px;
}
.atd-hero-copy h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}
.atd-hero-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.atd-hero-copy p strong { color: #ffffff; }

.atd-approach-section { background: #ffffff; padding: 80px 0 30px; }

.atd-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: #ffffff;
}
.atd-process-col {
  position: relative;
  min-height: 680px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}
.atd-process-col::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.2) 75%);
}
.atd-process-col h3 {
  position: relative;
  z-index: 1;
  font-size: 22px;
  margin-bottom: 14px;
}
.atd-process-col p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.atd-vision-section { background: #f4f4f4; }

.atd-gallery .gallery-track img { height: 768px; scroll-snap-align: center; }

.atd-feature-section { padding: 110px 0; }
.atd-feature-table {
  width: 104.5%;
  margin: 0 auto;
  border-collapse: collapse;
}
.atd-feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.84fr;
  gap: 60px;
  align-items: center;
}
.atd-feature-grid--reverse { grid-template-columns: 0.84fr 1.4fr; }
.atd-feature-grid img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
.atd-feature-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a6a6a;
  margin-bottom: 10px;
}
.atd-feature-copy h3 {
  font-size: clamp(39px, 4.2vw, 53px);
  letter-spacing: -0.02em;
  color: #0a0a0a;
}
.atd-feature-divider {
  width: 70px;
  height: 4px;
  background: #1a1a1a;
  margin: 22px 0;
}
.atd-feature-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0;
}

.atd-stats-section {
  background: linear-gradient(90deg, #3271ba 0%, #25317c 100%);
  padding: 178.5px 0;
  color: #ffffff;
}
.wrap.atd-stats-grid {
  max-width: 1900px;
  padding: 0 31.6px;
}
.atd-stats-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.79fr 0.6fr;
  gap: 50px;
  align-items: center;
}
.atd-stats-image img {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.atd-stats-col {
  display: flex;
  flex-direction: column;
  gap: 60px;
  text-align: center;
}
.atd-stats-icon {
  width: 49.5px;
  height: 49.5px;
  fill: #ffffff;
  margin: 0 auto 16px;
  display: block;
}
.atd-stats-item h4 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 10px;
}
.atd-stats-item p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.atd-impact-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 250px 0;
  color: #ffffff;
}
.atd-impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,0.52) 0%, rgba(8,8,8,0.2) 100%);
}
.atd-impact-content {
  position: relative;
  z-index: 1;
}
.atd-impact-table {
  width: 95%;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: left;
}
.atd-impact-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.atd-impact-content h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  margin-bottom: 18px;
}
.atd-impact-content p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

@media (max-width: 999px) {
  .atd-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .atd-hero-image img { width: 100%; margin-left: 0; }
  .atd-hero-copy { margin-left: 0; margin-right: 0; }
  .atd-gallery .gallery-track img { height: 528px; }
  .atd-hero-section { padding: 70px 0; }
  .atd-process-grid { grid-template-columns: 1fr; }
  .atd-process-col { min-height: 320px; }
  .atd-feature-grid, .atd-feature-grid--reverse { grid-template-columns: 1fr; gap: 30px; }
  .atd-feature-grid--reverse .atd-feature-copy { order: -1; }
  .atd-stats-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .atd-stats-col { gap: 32px; }
  .atd-impact-section { padding: 90px 0; }
  .atd-impact-content { max-width: 100%; }
}

/* ---------- Citibank case study ---------- */
.citi-hero-section {
  background-image: linear-gradient(90deg, rgba(26,90,148,0.65) 0%, rgba(33,113,183,0.12) 100%), url('../assets/images/citi/CT_Hero.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding: 161.5px 0;
}
.citi-hero-content { max-width: 620px; margin: 0; padding-left: 82.8px; }
.citi-hero-content h2 {
  font-size: clamp(39px, 4.2vw, 53px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
}
.citi-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin-bottom: 22px;
}
.citi-hero-list-label {
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 12px;
}
.citi-hero-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.citi-hero-list li {
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  line-height: 1.9;
}

.citi-roadmap-section { background: #f7f7f7; padding-bottom: 92.6px; }
.citi-roadmap-section .project-section-inner p { margin-bottom: 76px; }
.citi-roadmap-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}
.citi-roadmap-shot {
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
  border-radius: 4px;
  margin-bottom: 30px;
}

.citi-tint-section {
  background: linear-gradient(90deg, #15335e 0%, #1b2a4a 100%);
}
.citi-tint-section .project-section-inner h3,
.citi-tint-section .project-section-inner p { color: #ffffff; }
.citi-tint-section .project-section-inner h3 { margin-top: 20px; }
.citi-tint-section .section-divider { background: rgba(255,255,255,0.5); }
.citi-tint-section .project-section-inner p { margin-bottom: 71px; }
.citi-tint-section .project-shot { margin-bottom: 35px; }

.citi-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-top: 10px;
  max-width: 1474px;
}
.citi-strategy-item { text-align: center; }
.citi-strategy-item p {
  font-size: 19px;
  color: #3a3a3a;
  max-width: 300px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.citi-strategy-section .section-divider { margin-bottom: 70px; }
.citi-concept-section .project-section-inner p { margin-bottom: 76px; }
.citi-concept-section .project-shot { margin-bottom: 40px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15); padding: 0; }
.citi-strategy-item img {
  width: 100%;
  border-radius: 6px;
  margin-top: 75px;
}

@media (max-width: 999px) {
  .citi-strategy-grid { grid-template-columns: 1fr; gap: 40px; }
}

.citi-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.citi-quad {
  padding: 90px 60px;
  text-align: center;
}
.citi-quad--dark { background: linear-gradient(90deg, #15335e 0%, #1b2a4a 100%); }
.citi-quad--light { background: #ffffff; }
.citi-quad h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 40px;
}
.citi-quad--dark h3 { color: #ffffff; }
.citi-quad--light h3 { color: #0a0a0a; }
.citi-quad img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  display: block;
}
.citi-quad p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}
.citi-quad--dark p { color: rgba(255,255,255,0.85); }
.citi-quad--light p { color: #3a3a3a; }

@media (max-width: 999px) {
  .citi-quad-grid { grid-template-columns: 1fr; }
  .citi-quad { padding: 60px 30px; }
}

/* ---------- William Hill case study ---------- */
.wh-gallery .gallery-track img { scroll-snap-align: center; height: 775px; box-shadow: none; }
.wh-gallery .gallery-track img:nth-child(3) { height: 659px; }

.wh-sprint-section {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.432) 0%, rgba(255,255,255,0.528) 100%), url('../assets/images/wh/DesignSprint.jpg');
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  padding: clamp(50px, 8vw, 100px) 0 clamp(200px, 35vw, 586px);
}

.wh-hero-section {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(1,29,142,0.85) 0%, rgba(1,29,142,0.64) 100%), url('../assets/images/wh/WH_Preview_hero.jpg');
  background-size: cover, cover;
  background-position: right top, right top;
  background-repeat: no-repeat, no-repeat;
  padding: 220px 0;
  min-height: 880px;
}
.wh-hero-grid {
  position: relative;
  z-index: 1;
  height: 100%;
}
.wh-logo { height: 36px; width: auto; margin-bottom: 28px; display: block; }
.wh-hero-copy { max-width: 560px; margin-left: -2.8%; }
.wh-hero-copy h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}
.wh-hero-copy p {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.wh-hero-image {
  position: absolute;
  top: 50%;
  right: -222px;
  transform: translateY(-50%);
  width: 69.6%;
  max-width: 1080px;
}
.wh-hero-image img {
  display: block;
  width: 100%;
}

.wh-tint-section { background: #ffffff; }

.wh-roadmap-section {
  background: linear-gradient(100deg, #0a1f6b 0%, #142a8a 100%);
  padding-top: calc(100px + 5%);
  padding-bottom: calc(100px + 5%);
}
.wh-roadmap-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 50px;
  align-items: center;
}
.wh-roadmap-grid h3 {
  font-size: clamp(39px, 4.2vw, 53px);
  color: #ffffff;
  margin-bottom: 18px;
}
.wh-roadmap-grid p {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}
.wh-roadmap-grid img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.wh-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.wh-feature-grid img { display: block; width: 100%; border-radius: 6px; }
.wh-feature-copy h2 {
  font-size: clamp(39px, 4.2vw, 53px);
  color: #0a0a0a;
  margin-bottom: 8px;
}
.wh-feature-copy h4 {
  font-size: 22px;
  color: #0a0a0a;
  margin-bottom: 16px;
}
.wh-feature-copy p {
  font-size: 19px;
  line-height: 1.7;
  color: #3a3a3a;
}
.wh-feature-section--dark {
  background: #0a0a0a;
}
.wh-feature-section--dark .wh-feature-copy h2 { color: #ffffff; }
.wh-feature-section--dark .wh-feature-copy h4 { color: #ffffff; }
.wh-feature-section--dark .wh-feature-copy p { color: rgba(255,255,255,0.75); }

@media (max-width: 999px) {
  .wh-hero-section { min-height: 0; padding: 60px 0 0; overflow: visible; }
  .wh-hero-copy { max-width: 100%; margin-left: 0; padding-bottom: 40px; }
  .wh-hero-image { position: static; width: 100%; max-width: 100%; transform: none; margin: 0; }
  .wh-roadmap-grid { grid-template-columns: 1fr; gap: 30px; }
  .wh-feature-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Reuters Tax case study ---------- */
.trtax-hero-section {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.006) 0%, rgba(255,255,255,0.072) 100%), url('../assets/images/trtax/PreviewTR2.jpg');
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  padding: 155px 0;
}
.trtax-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.trtax-logo { height: 67px; width: auto; margin-bottom: 26px; display: block; }
.trtax-hero-copy h2 {
  font-size: clamp(39px, 4.2vw, 53px);
  line-height: 1.2;
  color: #3f3f3f;
  margin-bottom: 20px;
}
.trtax-hero-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: #5a5a5a;
  margin-bottom: 18px;
}

.trtax-stats-section {
  background: #ffffff;
  padding: 140px 0;
  text-align: center;
}
.trtax-stats-section h3 {
  color: #3f3f3f;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  max-width: 620px;
  margin: 0 auto 50px;
}
.trtax-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.trtax-stat-number {
  font-size: clamp(58px, 6vw, 86px);
  font-weight: 700;
  color: #f47f18;
}
.trtax-stat-label {
  font-size: 15px;
  color: #a0a0a0;
  margin-top: 8px;
}
.trtax-stat-number--grey { color: #8c8c8c; }
.trtax-stat-label--grey { color: #8c8c8c; }

.trtax-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.trtax-feature-grid img {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e2e2e2;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
}
.trtax-feature-shot-tall { height: 755px; object-fit: cover; }
.trtax-feature-copy h2 {
  font-size: clamp(39px, 4.2vw, 53px);
  color: #3f3f3f;
  margin-bottom: 20px;
}
.trtax-feature-copy h3 {
  font-size: 19px;
  color: #0a0a0a;
  margin-bottom: 14px;
}
.trtax-feature-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 16px;
}

.trtax-pain-section {
  background-image: linear-gradient(to bottom, #ff882f 0%, #ff7d14 100%), url('../assets/images/PreviewTR.jpg');
  background-size: cover;
  background-position: left top;
  background-blend-mode: multiply;
  padding-top: 145px;
  padding-bottom: 250px;
  color: #ffffff;
}
.trtax-pain-section h2 {
  font-size: clamp(39px, 4.2vw, 53px);
  line-height: 1.2;
}
.trtax-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
  margin-top: 120px;
}
.trtax-pain-item { text-align: center; }
.trtax-pain-icon {
  width: 134px;
  height: 134px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trtax-pain-icon svg { width: 48px; height: 48px; }
.trtax-pain-item h4 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
}
.trtax-pain-item p {
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 999px) {
  .trtax-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .trtax-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .trtax-feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .trtax-pain-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- REDI case study ---------- */
.tr-hero-section {
  background: #f6f6f6;
  padding: 50px 0;
}
.tr-hero-image {
  background: #f6f6f6;
  padding: 0 0 60px;
  overflow-x: hidden;
}
.tr-hero-image img {
  display: block;
  width: 150%;
  max-width: 1950px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.tr-logo { height: 101px; width: auto; margin: 0 auto 40px; display: block; }
.tr-hero-title {
  text-align: center;
  font-size: clamp(39px, 4.2vw, 53px);
  color: #1a1a1a;
  margin-bottom: 50px;
}
.tr-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tr-hero-meta p {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 18px;
}
.tr-hero-meta h4 {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.tr-hero-meta ul {
  margin-bottom: 18px;
}
.tr-hero-meta li {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  padding-left: 18px;
  position: relative;
}
.tr-role-impact-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tr-role-impact-box {
  border: 3px solid #e2e2e2;
  border-radius: 0;
  padding: 28px;
}
.tr-role-impact-box > :last-child { margin-bottom: 0; }
.tr-hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fae72;
}

.tr-section-heading {
  font-size: clamp(39px, 4.2vw, 53px);
  color: #1a1a1a;
  margin-bottom: 30px;
  text-align: center;
}
.tr-section--light { background: #f9f9f9; }

@media (max-width: 999px) {
  .tr-hero-meta { grid-template-columns: 1fr; gap: 30px; }
}

.aetna-mapping-section { background: #f4f4f4; }
.aetna-mapping-section h3,
.aetna-proto-section h3 { font-size: clamp(46px, 3.6vw, 62px); }
.aetna-service-lang-block {
  background: #1d1d1d;
  padding: 200px 0;
}
.aetna-service-lang-block p { color: #a0a0a0; }
.aetna-service-lang-block .project-shot { margin-top: 50px; }
.project-shot.wrap-constrained.aetna-service-lang-shot { max-width: 1467px; }

/* ---------- Aetna Workforce case study ---------- */
.aetna-hero-section {
  position: relative;
  background-image: linear-gradient(135deg, rgba(8,6,16,0.82) 0%, rgba(32,8,70,0.55) 100%), url('../assets/images/Aetna_PreviewIMG.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 0;
  overflow: hidden;
  min-height: 920px;
  display: flex;
  align-items: center;
}
.aetna-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}
.aetna-hero-copy {
  max-width: 540px;
  flex-shrink: 0;
}
.aetna-hero-copy h2 {
  font-size: clamp(46px, 3.6vw, 62px);
  line-height: 1.1;
  color: #00c7dd;
  margin-bottom: 26px;
}
.aetna-hero-copy p {
  font-size: 19px;
  line-height: 1.75;
  color: #ffffff;
  margin-bottom: 16px;
}
.aetna-hero-image {
  flex-shrink: 0;
  width: 825px;
  max-width: none;
  transform: translateX(20px);
}
.aetna-hero-image img {
  display: block;
  width: 100%;
}

.aetna-big-heading-section { padding: 90px 0; }
.aetna-big-heading-grid.aetna-workshop-grid { grid-template-columns: 0.8fr 1.2fr; }
.aetna-big-heading-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.aetna-big-heading-copy h2 {
  font-size: clamp(46px, 3.6vw, 62px);
  color: #1a1a1a;
  margin-bottom: 20px;
}
.aetna-big-heading-copy h3 {
  font-size: 22px;
  color: #0a0a0a;
  margin-bottom: 16px;
}
.aetna-big-heading-copy p {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
}
.aetna-big-heading-image img {
  display: block;
  width: 100%;
}
.aetna-concept-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.aetna-concept-stack img { border: 1px solid #e5e5e5; }

.aetna-proto-section {
  background: linear-gradient(135deg, #140e2b 0%, #2c1066 65%, #1e1150 100%);
  padding: 110px 0 100px;
}
.aetna-proto-section .project-section-inner h3 { color: #ffffff; }
.aetna-proto-section .section-divider { background: rgba(255,255,255,0.45); }
.aetna-proto-section .project-section-inner p { color: rgba(255,255,255,0.65); }

.aetna-proto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 20px;
}
.aetna-proto-item { text-align: center; }
.aetna-proto-item img {
  display: block;
  width: 100%;
  margin-bottom: 26px;
}
.aetna-proto-item h4 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 14px;
}
.aetna-proto-item p {
  font-size: 19px;
  line-height: 1.75;
  color: #7c7c7c;
}
.aetna-proto-item--employee h4 { color: #00ccdb; }
.aetna-proto-item--supervisor h4 { color: #c9b800; }
.aetna-proto-item--concierge h4 { color: #c200bf; }
.aetna-proto-section .aetna-proto-item p { color: rgba(255,255,255,0.6); }
.aetna-proto-section .aetna-proto-item--employee h4 { color: #2fd8f2; }
.aetna-proto-section .aetna-proto-item--supervisor h4 { color: #ffd400; }
.aetna-proto-section .aetna-proto-item--concierge h4 { color: #ff2ec4; }

@media (max-width: 999px) {
  .aetna-hero-section { min-height: 0; padding: 60px 0; }
  .aetna-hero-grid { flex-direction: column; align-items: stretch; gap: 30px; }
  .aetna-hero-copy { max-width: 100%; }
  .aetna-hero-image { width: 100%; max-width: 100%; margin: 0; transform: none; }
  .aetna-big-heading-grid { grid-template-columns: 1fr; gap: 30px; }
  .aetna-proto-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Dish TV case study ---------- */
.dish-hero-section {
  position: relative;
  overflow: hidden;
  padding: 180px 0;
  text-align: center;
}
.dish-hero-section::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url('../assets/images/Preview_Dish2-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4.1px);
  z-index: 0;
}
.dish-hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(5,5,5,0.275) 0%, rgba(5,5,5,0.425) 100%);
  z-index: 1;
}
.dish-hero-section > .wrap {
  position: relative;
  z-index: 2;
}
.dish-hero-section h2 {
  font-size: clamp(46px, 3.6vw, 62px);
  line-height: 1.15;
  color: #ffffff;
  max-width: 945px;
  margin: 0 auto 20px;
}
.dish-hero-section .section-divider { background: rgba(255,255,255,0.6); }
.dish-hero-section p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

.dish-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 65px;
  margin-top: 50px;
}
.dish-persona-item { text-align: center; }
.dish-persona-item img {
  display: block;
  height: 194px;
  width: auto;
  margin: 0 auto 32px;
}
.dish-persona-item .dish-persona-role {
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: #5a5a5a;
  margin-bottom: 12px;
}
.dish-persona-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
}
.dish-persona-item p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  color: #1a1a1a;
}

.dish-current-state-section { background: #efefef; }

.dish-workshops-section { margin: 40px 0; }
.dish-future-state-section { border-bottom: 1px solid #e2e2e2; }
.dish-workshops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.dish-workshops-copy h3 {
  font-size: clamp(39px, 4.2vw, 53px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 20px;
}
.dish-workshops-copy > p {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 26px;
}
.dish-workshops-rule {
  height: 1px;
  background: #e2e2e2;
  margin-bottom: 30px;
}
.dish-workshop-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.dish-workshop-item:last-child { margin-bottom: 0; }
.dish-workshop-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 3px;
}
.dish-workshop-item p {
  font-size: 19px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0;
}
.dish-workshop-item strong { color: #1a1a1a; }
.dish-workshops-image img {
  display: block;
  width: 100%;
  border-radius: 6px;
}
@media (max-width: 999px) {
  .dish-workshops-grid { grid-template-columns: 1fr; gap: 36px; }
  .dish-workshops-image { order: -1; }
}

.dish-storyboard-shot {
  display: block;
  max-width: 780px;
  width: 100%;
  margin: 50px auto 40px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
}

.dish-proto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.dish-proto-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.dish-proto-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(0,0,0,0.37) 100%);
  pointer-events: none;
}
.dish-proto-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.dish-proto-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.83);
}
.dish-proto-overlay { display: none; }

.dish-proto-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.dish-proto-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.dish-proto-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dish-proto-modal-panel {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  max-width: 1490px;
  width: 100%;
  max-height: 96vh;
  overflow-y: auto;
  padding: 4%;
  background-clip: padding-box;
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 24px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s ease;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.dish-proto-modal.is-open .dish-proto-modal-panel {
  transform: translateY(0) scale(1);
}
.dish-proto-modal-media { background: #111; }
.dish-proto-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-proto-modal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dish-proto-modal-caption {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c7004c;
  margin-bottom: 16px;
}
.dish-proto-modal-body h3 {
  font-size: clamp(39px, 4.2vw, 53px);
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 26px;
}
.dish-proto-modal-body p {
  font-size: 19px;
  line-height: 1.75;
  color: #5a5a5a;
}
.dish-proto-modal-close {
  position: absolute;
  top: 17.6px;
  right: 17.6px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  color: #1a1a1a;
  font-size: 66px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 1;
}
@media (max-width: 760px) {
  .dish-proto-modal-panel { grid-template-columns: 1fr; }
  .dish-proto-modal-media { aspect-ratio: 4 / 3; }
}

.dish-cobrowse-section { background: #f4f4f4; }
.dish-cobrowse-gallery { margin-top: 50px; }
.dish-cobrowse-gallery .gallery-track { gap: 38px; align-items: flex-start; }
.dish-cobrowse-gallery .gallery-track img {
  width: calc((100% - 114px) / 4);
  height: auto;
  flex: 0 0 auto;
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.3);
  scroll-snap-align: start;
}

@media (max-width: 999px) {
  .dish-persona-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .dish-proto-grid { grid-template-columns: 1fr; gap: 16px; }
  .dish-cobrowse-gallery .gallery-track { gap: 34px; }
  .dish-cobrowse-gallery .gallery-track img { width: calc((100% - 34px) / 2); }
}

/* ---------- Portfolio grid ---------- */
#portfolio {
  display: none;
  background: #ffffff;
  color: #1a1a1a;
  padding: 30px 0 90px;
}
html.jn-unlocked #portfolio { display: block; }

#home-gate {
  padding: 60px 0 140px;
}
html.jn-unlocked #home-gate { display: none; }
#home-gate .wrap {
  max-width: 1495px;
  padding-left: 19.3px;
  padding-right: 19.3px;
}
.home-gate-title {
  font-size: clamp(22.4px, 1.92vw, 28.8px);
  margin-bottom: 28px;
}
.home-gate-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  max-width: 790px;
}
.home-gate-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 23px 29px;
  font-size: 23px;
  font-family: inherit;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  color: #1a1a1a;
  background: #ffffff;
}
.home-gate-input:focus {
  outline: none;
  border-color: #1a1a1a;
}
.home-gate-submit {
  flex-shrink: 0;
  padding: 23px 36px;
  font-size: 22px;
  font-family: inherit;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  border-radius: 4px;
  background: #0a0a0a;
  color: #ffffff;
  cursor: pointer;
}
.home-gate-submit:hover {
  background: #2a2a2a;
}
.home-gate-error {
  color: #b42318;
  font-size: 14px;
  margin: 14px 0 0;
}

.filter-bar {
  padding: 20px 0 10px;
}
.filter-bar h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a6a6a;
  margin-bottom: 14px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.filter-btn {
  background: none;
  border: 0;
  color: #6a6a6a;
  font-size: 17px;
  font-weight: 600;
  padding: 0 0 6px;
  cursor: pointer;
  position: relative;
}
.filter-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: #1a1a1a;
  transition: width 0.2s ease;
}
.filter-btn:hover { color: #1a1a1a; }
.filter-btn.active { color: #1a1a1a; }
.filter-btn.active::after { width: 100%; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.grid-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.grid-item.is-hidden {
  display: none;
}
.grid-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .grid-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.grid-item-bg {
  position: absolute;
  inset: 0;
}
.grid-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.grid-item:hover .grid-item-bg img { transform: scale(1.08); }

.grid-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,3,3,0.85) 0%, rgba(10,3,3,0.1) 45%, rgba(10,3,3,0) 70%);
}

.grid-item-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 35px;
  color: #ffffff;
}
.grid-item-content h3 {
  font-size: min(25px, max(19px, 1.4vw));
  line-height: 1.17;
  font-weight: 600;
  padding-right: 20px;
  color: #ffffff;
}
.arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.grid-item:hover .arrow { opacity: 1; transform: translate(0,0); }

.grid-item.is-hidden { display: none; }

/* ---------- Footer ---------- */
#site-footer {
  flex-shrink: 0;
  height: 90px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
}
#site-footer .social-icon {
  fill: #ffffff;
}
#site-footer .copyright {
  color: #b5b5b5;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
.copyright {
  font-size: 16px;
  color: #6a6a6a;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 999px) {
  .wrap { padding: 0 24px; }
  #menu-toggle { display: flex; }

  #main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: #0a0303;
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 95;
  }
  body.nav-open #main-nav { transform: translateX(0); }

  .nav-links {
    flex-direction: column;
    gap: 20px;
  }
  .nav-links a { font-size: 23px; }

  #main-nav .social-icon { fill: #fff; }

  .grid { grid-template-columns: repeat(2, 1fr); }
  #intro { padding: 10px 24px 40px; }
  #intro h1 { font-size: clamp(38.28px, 3.003vw, 51.48px); }

  .home-gate-row {
    flex-direction: column;
    max-width: 100%;
  }
  .home-gate-input { width: 100%; }
  .home-gate-submit { width: 100%; }
}

@media (max-width: 690px) {
  .grid { grid-template-columns: 1fr; }
  .grid-item { aspect-ratio: 16 / 11; }
}

/* ---------- Password gate ---------- */
.gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #ffffff;
}

.gate-card {
  max-width: 380px;
  width: 100%;
  text-align: center;
}

#gate-logo {
  display: inline-block;
  margin-bottom: 48px;
}

.gate-title {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.gate-copy {
  color: #5a5a5a;
  margin: 0 0 32px;
  font-size: 15px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gate-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  color: #1a1a1a;
  background: #ffffff;
}

.gate-input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.gate-submit {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  background: #0a0a0a;
  color: #ffffff;
  cursor: pointer;
}

.gate-submit:hover {
  background: #2a2a2a;
}

.gate-error {
  color: #b42318;
  font-size: 14px;
  margin: 0;
  text-align: left;
}
