/* ==========================================================================
   SITE — inner pages (About, Works, Case Studies).
   Desktop values are the Figma frame values (1512 frame, 928 content column).
   ========================================================================== */

.wrap {
  width: min(928px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  padding-top: 83px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.brand {
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 19px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 38px;
  border-radius: 112px;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.pill:active {
  transform: scale(0.96);
}

.pill-nav {
  width: 123px;
  background: #f3f3f3;
}

.pill-nav:hover {
  background: #e6e6e6;
}

.pill-chat {
  width: 147px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.pill-chat svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

.pill-chat:hover svg {
  transform: translate(2px, -2px);
}

.menu-btn {
  display: none;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--footer-gap, 144px);
  padding-bottom: 80px;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 61px;
  height: 38px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 61px;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1;
}

.footer-links a {
  position: relative;
  color: #404152;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-links li:first-child a {
  color: #060a11;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-studio img {
  width: 80px;
  height: auto;
}

.footer-row .pill-chat {
  margin-left: auto;
}

.copyright {
  margin-top: 49px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.25;
  color: #a3a3a3;
  text-align: center;
}

/* ---------- Shared type ---------- */
.page-title {
  margin-top: 97px;
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
}

.h-sec {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   WORKS
   ========================================================================== */
.works-section {
  margin-top: var(--gap, 95px);
}

.works-cat {
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  margin-bottom: 33px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 295px);
  grid-auto-rows: 254px;
  column-gap: 21.5px;
  row-gap: var(--row-gap, 74px);
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--placeholder);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  padding: 3px 10px;
  border-radius: 100px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

a.work-card:hover .work-thumb img {
  transform: scale(1.045);
}

.work-title {
  margin-top: 21px;
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
}

a.work-card .work-title {
  transition: opacity var(--dur) var(--ease);
}

a.work-card:hover .work-title {
  opacity: 0.6;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-intro {
  position: relative;
  margin-top: 67px;
}

.about-text {
  position: relative;
  z-index: 1;
  width: 487px;
  font-size: 16px;
  line-height: 21.1px;
}

.about-text p + p {
  margin-top: 21.1px;
}

.inline-avatar {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 2px;
  border-radius: 50%;
  vertical-align: -4px;
}

.about-illustration {
  position: absolute;
  top: -62px;
  left: 476px;
  width: 472px;
  max-width: none;
}

.about-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
}

.about-links .icon {
  position: relative;
  display: grid;
  place-items: center;
  height: 26px;
  margin-right: 20px;
  transition: transform var(--dur) var(--ease);
}

.about-links .icon:hover {
  transform: translateY(-2px);
}

/* Icons are alpha masks, so hover can paint them in each brand's colours */
.glyph {
  position: relative;
  display: block;
  height: 26px;
  background: var(--ink);
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

.glyph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.icon:hover .glyph::after,
.icon:focus-visible .glyph::after {
  opacity: 1;
}


/* Icon masks (inlined so they also work when opened from disk) */
.icon-mail .glyph { --m: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAA2CAYAAACFrsqnAAACo0lEQVR42u2aPWgUQRTHf4kiHCQQ8JNE8NQ0fqAWKtjZKSeSRhEbQRA1wUZsFFNIQLCw0CIWothIBBEkQgqxSSMiKkIkqGg0wXjit+cRiUSNxb3A8rI7e7s3d7cT9g8PjruZefObmdt5b2YhVapUJjXUwMc6oF18/QVeAK9cGJxG4DQwDkwbbAToSirEpZDOB9nZpAB0xQTQdrBeALuAgiWIGfsIbK8VQDswbBlA22OgrVoATUB/lQG03QAW2IQ4X2MAbWcqBbhQZwBt3VEBNiQMwGuTwMpyINoSDOG1ljCQL46APPGGE1orgIWOxIoPwwpsBb4leCa+ApuiEB9PIMSpuNM3D7iVAID7QLON9bge+FAniJyhX7mgXGIc2GuoeKSG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PLJVEAEREAEREAEREAEREAE5P+AlCxjfdb42UrV/tXNAIMaPh/AU8pYVvO+D5p2tY7nvr4AA9/BS545k5oAAAAASUVORK5CYII="); }
.icon-facebook .glyph { --m: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAA2CAYAAAA7+JL6AAABHklEQVR42mNgGAWjYKgCRiqZw8nAwODNwMCgw8DAoMjAwMCKQ91FBgaGTkots2FgYLjCwMDwnwRMNmBiYGA4TqJlFFkqxsDA8JdMC/+TE6ecDAwM3yhNR0wkajhP75QeQUGQkh28v/BkBZoErx6VLIQnfWJAFJXs+0aKpUZEqtvJwMAgCY02bJibFBfeombGJ9anwtTMBkwMAwBGLR1+lrIgsdUYGBiycagTItK8iQTkjzMwMKxAFlhEpQIdH747EMG7dSAs3TgQlu6lt6VPBiLLbBoIS9cPhKV7sFn6lYYW3sbXlxHEkwi4iDAcV8n1nhyXvh2IlsNo1TZq6ailo5aOWjpq6TCz9CcRav5QexSUm4GBQZqAmtfkthDoAgBnSH59o8we4wAAAABJRU5ErkJggg=="); }
.icon-instagram .glyph { --m: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAA2CAYAAACFrsqnAAADLklEQVR42u2aX4jMURTHP7toDZbNn9g1IiWhaKXVMsU+kHgRKQ8ka/MkypNH2jwhm/x58EDaFEpJpE0spUX5k4jdllK7s7GM3dndsbQaD+7Uz+3+Zub+mdnfMKfONnea77nn+9tzzzn33h8UpShFKUohSYkhbg5QCYSBKvG5SmgZUAGUAyEf/GfgBxAH+oEo0AX0ePQd8Ms14YVAM5AAknnWp0CDLYEyoHUUnPfTXSYkFgWIgFcv6pCYF1ASKb2ULZHhgBNJAtszkThcACRSmlaSBaT1fiQiAXGwAVgLXM3wu+d+RBoDQGK25FOzSXjdGGUScYVPtRkwY0n9kVoPVzII3AXagD6gFKgGVgLLfDDliu9mZlEqOuUvow6e6m1hPJPs9cE3en5TKnqxdPNtdJ2xhkRPpisnFbYSwBubzGVK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xMLYHy1pKskgK4YsD4omWYDHjUR9epMzJvlhsb7RUlvxIfsdWCi4v1ygJdApVdCfQYncZ6ku8ql/w0gI8m71Uv9I25kygySiQPvHWwMO/Q765LHlQK/HOQa3Qh9NEwoDuyXbKwT93uAvR6G/1ufc/UvVlggozKa7kJkIdDlUfdRlZJblsgMAFke5+9KoNPAsDaad30Rk7vcxzagQsjp2pwqK8zXVNQj1pdqMWT9ot6QEw/IY7gHqFWM7RHgmwgYvaL1G0p8iw3p2RTmhnANcE445bL0bL6hL/TJZjWpFGgAXimMz5BkXluKpL6QK4bLEZFdP/dh+Iqka6sJQnLK0AYsAz5L97OAySKKZBn8kpNEje4PvgbVH3EI2WHiNFAjTepK4I3IDPqFc6Pi+TTh1NlAgZh7i4Glttcgr63K8LwtlG9+CIFEg/BsKOiwRKIb2JCKKmijYSKtDhVVL6h2SYEGxOauWSQCJcn2G6a+SJ6HGl8N8FSkPok4qGm3wimdD0qm1IVIrcL7JgKUY+ozoKmsKQmJHA8FlzJJpttUlnBKQ9E2ha4M4I5HHQ8l2d0+36FTRSjTZ4V0pkLPSQMe9iObNIo+8KCgK8m2eUhz2G6XdD3xKDfsFjYLXBS0KOROBAwo9zWj3SEva8E9hfA1Rf9HFtL/DA/9h7wublkOwm2KfjGDi7G8he936b/Ez4q9K0HwseYBmE6ul4gLJD+H1SrYRxWbO1vlrkRs9Fu20kGm5Yw83SV8j6jq2br/A/RZTpK3SNfvpOs8VWaQprnFsP3/wE7puj3hBDBHMQW00RTCJnDQobDfbdOD5SGQSgluWiS0KFWk8oHbhsm8QH0UGSqOifVBh0QUOBP0N7OIRXKbGTt5WyUiU7bIzUbF4tkHPBMZdTtjf3QFxm/Vp+DB5DjmUQAAAABJRU5ErkJggg=="); }

.icon-mail { --brand: #ea4335; }
.icon-linkedin { --brand: #0a66c2; }
.icon-facebook { --brand: #1877f2; }
.icon-instagram { --brand: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.icon-behance { --brand: #1769ff; }
.icon-dribbble { --brand: #ea4c89; }

/* Email tooltip */
.icon[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.icon[data-tip]:hover::before,
.icon[data-tip]:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pill-cv {
  width: 117px;
  height: 28px;
  margin-left: -3px;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 85px;
}

.pill-cv svg {
  width: 10px;
  height: 10px;
  transition: transform var(--dur) var(--ease);
}

.pill-cv:hover svg {
  transform: translateY(2px);
}

.pill-cv .cv-label {
  transition: opacity 0.2s var(--ease);
}

.pill-cv.is-busy svg {
  animation: cv-drop 0.9s var(--ease) infinite;
}

@keyframes cv-drop {
  0% { transform: translateY(-3px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(3px); opacity: 0; }
}

.stat-num {
  font-variant-numeric: tabular-nums;
}

.stats {
  display: flex;
  gap: 35px;
  margin-top: 56px;
}

.stats > div:nth-child(1) { width: 117px; }
.stats > div:nth-child(2) { width: 61px; }
.stats > div:nth-child(3) { width: 55px; }
.stats > div:nth-child(4) { width: 111px; }

.stat-num {
  font-family: var(--font-mono);
  font-size: 41px;
  font-weight: 500;
  line-height: 52px;
}

.stat-label {
  margin-top: 6px;
  font-size: 11px;
  line-height: 14px;
}

.about-section {
  margin-top: var(--gap, 100px);
}

.career-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.career-head small {
  font-size: 9px;
  font-weight: 300;
}

.career-list {
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.career-list li {
  display: grid;
  grid-template-columns: 217px 1fr auto;
  align-items: center;
  height: 68px;
  border-bottom: 0.75px solid #a6a6a6;
  font-size: 14px;
  font-weight: 500;
}

.career-list img {
  height: 24px;
  width: auto;
  transform: translateY(4px);
}

.career-list .logo-tall {
  height: 29px;
  transform: translateY(3.5px);
}

.career-list li:last-child img {
  transform: translateY(5.5px);
}

.cap-list {
  margin-top: 49px;
}

.cap-row {
  display: grid;
  grid-template-columns: 222px 1fr;
  align-items: start;
  padding: 25px 0 21px;
  border-bottom: 0.75px solid #a6a6a6;
}

.cap-row:first-child {
  padding-top: 0;
}

.cap-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cap-row h3 {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 17px 10px;
  margin-right: -20px;
  padding: 0;
  list-style: none;
}

.chips li {
  display: grid;
  place-items: center;
  height: 38px;
  padding: 0 21px;
  border-radius: 100px;
  background: var(--chip-bg);
  font-size: 14px;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease);
}

.chips li:hover {
  transform: translateY(-2px);
}

.chips-blue { --chip-bg: #abf0ff; }
.chips-yellow { --chip-bg: #ffe57e; }
.chips-green { --chip-bg: #a6ffbc; }

.impact-row {
  display: flex;
  gap: 18px;
}

.impact-row img {
  height: 228px;
  object-fit: cover;
}

.impact-text {
  margin-top: 21px;
  font-size: 14px;
  line-height: 22px;
}

.impact-block {
  padding: 40px 0 32px;
  border-bottom: 0.75px solid #a6a6a6;
}

.impact-block:first-of-type {
  padding-top: 34px;
}

.impact-block:last-of-type {
  padding-top: 38px;
  padding-bottom: 0;
  border-bottom: 0;
}

.impact-row img:nth-child(3) {
  margin-left: 12px;
}

.impact-split {
  display: grid;
  grid-template-columns: 351px 554px;
  justify-content: space-between;
}

.impact-split img {
  width: 100%;
  object-fit: cover;
}

.impact-split .impact-text {
  margin-top: 21px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 450px);
  justify-content: space-between;
  align-items: start;
  margin-top: 35px;
}

.quote-col {
  display: grid;
  gap: 31px;
}

.quote {
  position: relative;
  padding: 34px 24px 24px 28px;
  background: #f6f4ef;
}

.quote::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 28px;
  width: 27px;
  height: 19px;
  background: url("../images/ui/quote.webp") center / contain no-repeat;
}

.quote blockquote {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
}

.quote blockquote p + p {
  margin-top: 22px;
}

.quote figcaption {
  display: flex;
  gap: 22px;
  margin-top: 19px;
  padding-top: 20px;
  border-top: 0.75px solid #a6a6a6;
}

.quote figcaption img {
  flex: none;
  width: 81px;
  height: 81px;
  border-radius: 50%;
  object-fit: cover;
}

.quote cite {
  display: block;
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

.quote figcaption span {
  display: block;
  max-width: var(--role-w, 272px);
  margin-top: 6px;
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
}

.clients {
  display: grid;
  gap: 25px;
  margin-top: 12px;
}

.clients-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  margin-right: -4px;
}

.clients-row img {
  height: auto;
  transition: filter var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.clients-row img:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   CASE STUDY
   ========================================================================== */
.case-head {
  position: relative;
  height: 275px;
  margin-top: 97px;
}

.case-title {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
  max-width: var(--title-w, 691px);
}

.case-title,
.case-sub {
  position: relative;
  z-index: 1;
}

.case-sub {
  margin-top: 22px;
  max-width: 645px;
  font-size: 20px;
  line-height: 28px;
}

.case-hero {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.case-info {
  position: relative;
}

.info-grid {
  display: grid;
  grid-template-columns: var(--info-cols, 463px 343px 1fr);
  row-gap: 18px;
  margin: 21px 0 0;
}

.info-grid > div {
  display: grid;
  align-content: start;
  gap: 18px;
}

.info-field dt {
  font-size: 16px;
  line-height: 21px;
}

.info-field dd {
  margin: 1px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.info-field dd small {
  display: block;
  font-size: 16px;
  font-weight: 300;
  line-height: 21.5px;
}

.info-field dd a {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  line-height: 13px;
  word-break: break-all;
  text-decoration: underline;
}

.case-sec {
  margin-top: 37px;
  padding-top: 20px;
  border-top: 0.75px solid #a6a6a6;
}

.case-sec .body {
  margin-top: 21px;
  font-size: 16px;
  line-height: 25px;
}

.case-sec .body li {
  margin-left: 24px;
}

.case-sec .body ul {
  padding: 0;
}

.case-sec .body p + p {
  margin-top: 25px;
}

.case-split {
  display: grid;
  grid-template-columns: var(--split, 445px 445px);
  justify-content: space-between;
}

.case-sec {
  position: relative;
  z-index: 1;
}

.case-sec.no-rule {
  padding-top: 0;
  border-top: 0;
}

.case-sec .body:empty {
  display: none;
}

.case-fig {
  margin: 0;
  border-top: 0.75px solid #a6a6a6;
}

.case-fig img,
.case-center img,
.case-gallery img {
  width: 100%;
  cursor: zoom-in;
}

.case-fig figcaption {
  margin-top: 23px;
  font-size: 14px;
  line-height: 22px;
}

/* A vertical reel, framed like a phone screen */
.case-reel {
  display: grid;
  justify-items: center;
  margin: 0;
}

.reel-screen {
  position: relative;
  width: min(360px, 100%);
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 0 0 8px #111, 0 30px 60px rgba(0, 0, 0, 0.22);
}

.reel-screen video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.reel-sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font: 500 12px/1 var(--font-mono);
  cursor: pointer;
}

.reel-sound i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.reel-sound[aria-pressed="true"] i {
  background: #ff3b30;
}

.case-reel figcaption {
  max-width: 360px;
  margin-top: 26px;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.case-credit {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 18px;
  opacity: 0.6;
}

.case-center {
  display: flex;
  justify-content: center;
  margin: 0;
}

.case-center img {
  object-fit: cover;
}

.case-graphic {
  width: 100%;
  margin-top: 31px;
}

.case-palette {
  display: grid;
  grid-template-columns: 334px 528px;
  justify-content: space-between;
  margin-top: 25px;
  font-size: 16px;
  line-height: 25px;
}

.case-info.stacked .info-grid {
  grid-template-columns: 1fr;
}

.case-info.stacked .info-grid > div {
  gap: 16px;
}

.case-gallery {
  display: grid;
  gap: 20px;
}

.case-gallery .row {
  display: grid;
  grid-template-columns: var(--cols);
  gap: 20px;
}

.case-gallery .row img {
  height: var(--h);
  object-fit: cover;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  cursor: zoom-out;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 64px);
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}

.lightbox.is-open img {
  transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .d-only {
    display: none;
  }

  .works-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    column-gap: 16px;
    row-gap: 40px;
  }

  .work-thumb {
    height: auto;
    aspect-ratio: 295 / 210;
  }

  .about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 0;
  }

  .about-text {
    width: auto;
  }

  .about-illustration {
    position: static;
    width: 100%;
  }

  .impact-row {
    flex-wrap: wrap;
  }

  .impact-row img {
    flex: 1 1 30%;
    min-width: 0;
    height: 200px;
  }

  .impact-split,
  .quotes,
  .case-split {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .clients-row {
    flex-wrap: wrap;
    height: auto;
    gap: 24px 32px;
    justify-content: center;
    margin-right: 0;
  }

  .case-head {
    height: auto;
    margin-bottom: 40px;
  }

  .case-hero {
    position: static;
    display: block;
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    margin: 24px 0 0 auto;
  }

  .case-palette {
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
  }

  .case-center img {
    max-width: 100%;
    height: auto !important;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding-top: 28px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 38px;
    border: 0;
    border-radius: 112px;
    background: #f3f3f3;
    cursor: pointer;
  }

  .menu-btn span,
  .menu-btn span::before {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transition: transform var(--dur) var(--ease);
  }

  .menu-btn span::before {
    content: "";
    transform: translateY(5px);
  }

  .menu-btn span {
    transform: translateY(-2.5px);
  }

  .is-menu-open .menu-btn span {
    transform: translateY(0) rotate(45deg);
  }

  .is-menu-open .menu-btn span::before {
    transform: rotate(-90deg);
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    z-index: 50;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }

  .is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav .pill {
    width: 100%;
    height: 46px;
  }

  .page-title,
  .case-head {
    margin-top: 48px;
  }

  .page-title {
    font-size: 30px;
  }

  .case-title {
    font-size: 26px;
    line-height: 34px;
  }

  .case-sub {
    font-size: 17px;
    line-height: 25px;
  }

  .case-hero {
    max-height: 180px;
    margin-inline: auto;
  }

  .case-palette {
    grid-template-columns: 1fr;
  }

  .works-grid,
  .impact-split,
  .quotes,
  .case-split,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 28px;
  }

  .work-title {
    margin-top: 10px;
    font-size: 15px;
    line-height: 20px;
  }

  .works-section,
  .about-section {
    margin-top: 64px;
  }

  .about-illustration {
    order: -1;
    width: 80%;
    margin-inline: auto;
  }

  .about-links {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .stats {
    flex-wrap: wrap;
    gap: 24px 32px;
  }

  .career-list li {
    grid-template-columns: 110px 1fr auto;
    gap: 12px;
    font-size: 13px;
  }

  .career-list img {
    max-width: 100px;
    object-fit: contain;
    object-position: left;
  }

  .cap-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .impact-row img {
    flex: 1 1 45%;
    height: 160px;
  }

  .impact-row img:first-child {
    flex-basis: 100%;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .case-gallery .row {
    grid-template-columns: 1fr;
  }

  .case-gallery .row img {
    height: auto;
  }

  .clients-row img {
    max-width: 30%;
    transform: scale(0.85);
  }

  .footer-row {
    flex-wrap: wrap;
    height: auto;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .footer-row .pill-chat {
    margin-left: 0;
  }

  .site-footer {
    margin-top: 96px;
    padding-bottom: 48px;
  }

  .copyright {
    margin-top: 36px;
  }
}

/* ==========================================================================
   MOTION LAYER (assets/js/motion-fx.js)
   ========================================================================== */
/* Headline words slide up from behind a mask */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.w > span {
  display: inline-block;
}

/* Intro elements stay hidden for the instant before Motion takes over */
.pre-motion .page-title,
.pre-motion .case-title,
.pre-motion .case-sub,
.pre-motion .case-hero {
  opacity: 0;
}

@media (min-width: 768px) {
  .pre-motion .site-header .brand,
  .pre-motion .site-header .pill {
    opacity: 0;
  }
}

/* Motion drives these properties; CSS transitions/transforms would fight it */
.has-motion [data-reveal],
.has-motion .pill,
.has-motion .about-links .icon,
.has-motion .chips li,
.has-motion .clients-row img,
.has-motion .work-thumb img {
  transition-property: background-color, color;
}

.has-motion [data-reveal] {
  transform: none;
  transition: none;
}

.has-motion .pill:active,
.has-motion .about-links .icon:hover,
.has-motion .chips li:hover,
.has-motion .clients-row img:hover,
.has-motion a.work-card:hover .work-thumb img {
  transform: none;
}
