:root {
  --black: #030303;
  --muted: #9a9a9a;
  --line: #d7d7d7;
  --soft: #e9e9e9;
  --green: #b4e64d;
  --ink: #07071d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--black);
  font-family: Avenir, "Avenir Next", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  scroll-snap-type: y mandatory;
  text-rendering: optimizeLegibility;
}

body.case-detail-open {
  overflow: hidden;
}

body.chat-answer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

button,
input {
  font: inherit;
}

.hero {
  min-height: 100svh;
  padding: 125px 24px 120px;
  background: var(--white);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition: padding 520ms cubic-bezier(0.2, 0.8, 0.2, 1), min-height 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro-wrap {
  display: grid;
  grid-template-columns: 320px minmax(0, 980px);
  gap: 56px;
  align-items: center;
  width: min(100%, 1330px);
  margin: 0 auto;
  transition: width 520ms cubic-bezier(0.2, 0.8, 0.2, 1), gap 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portrait {
  display: block;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
}

.portrait-large {
  width: 290px;
  height: 290px;
  justify-self: end;
  transition: width 520ms cubic-bezier(0.2, 0.8, 0.2, 1), height 520ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 520ms ease;
  will-change: transform;
}

.intro-copy {
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), max-height 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.intro-copy h1 {
  margin: 0 0 34px;
  font-size: clamp(4.6rem, 5vw, 6.15rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.intro-copy p {
  max-width: 1030px;
  margin: 0;
  font-family: "Liberation Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.35rem, 2.45vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.intro-link-strong {
  font-weight: 800;
}

.ask-panel {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  width: min(66vw, 1500px);
  min-height: 94px;
  margin: 100px auto 0;
  padding: 12px 16px 12px 30px;
  border: 3px solid #d6d6d6;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.09);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.hero.chat-mode {
  min-height: 820px;
  padding-top: 230px;
}

.hero.chat-mode .intro-wrap {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  width: min(66vw, 1500px);
  gap: 0;
}

.hero.chat-mode .portrait-large {
  width: 178px;
  height: 178px;
  justify-self: center;
  transform: translateY(6px) scale(0.98);
}

.hero.chat-mode .intro-copy {
  animation: none;
  max-height: 0;
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.hero.chat-mode .ask-panel {
  margin-top: 44px;
  transform: translateY(-2px);
}

.ask-panel:focus-within {
  border-color: #bdbdbd;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.ask-panel.is-loading .voice-button {
  pointer-events: none;
}

.ask-panel input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--black);
  font-size: clamp(2rem, 2vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.ask-panel input::placeholder {
  color: #8e8e8e;
}

.icon-button,
.voice-button,
.prompt-chips button,
.menu-button {
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #111;
}

.plus-button span,
.plus-button span::before {
  display: block;
  width: 31px;
  height: 3px;
  border-radius: 2px;
  background: #111;
  content: "";
}

.plus-button span::before {
  transform: rotate(90deg);
}

.voice-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.voice-button:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.voice-button span {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
  animation: askTrail 1.45s ease-in-out infinite;
}

.voice-button span:first-child {
  left: 20px;
  top: 31px;
  width: 25px;
  height: 3px;
  border-radius: 999px;
  animation: askArrow 1.45s ease-in-out infinite;
}

.voice-button span:first-child::before,
.voice-button span:first-child::after {
  position: absolute;
  right: -1px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
  content: "";
  transform-origin: right center;
}

.voice-button span:first-child::before {
  transform: rotate(42deg);
}

.voice-button span:first-child::after {
  transform: rotate(-42deg);
}

.voice-button span:nth-child(2) {
  display: none;
}

.voice-button span:nth-child(3) {
  display: none;
}

.voice-button span:nth-child(4) {
  display: none;
}

.prompt-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: min(100%, 1000px);
  margin: 46px auto 0;
}

.prompt-chips button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 0 34px;
  border: 3px solid #ebebeb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #8a8a8a;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.055em;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease;
}

.prompt-chips button:hover {
  transform: translateY(-3px);
  border-color: #dcdcdc;
  color: #5f5f5f;
}

.prompt-chips svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prompt-mobile-extra {
  display: none;
}

.ask-suggestions {
  display: grid;
  gap: 8px;
  width: min(66vw, 1500px);
  margin: 16px auto 0;
  border: 2px solid #ededed;
  border-radius: 22px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.08);
}

.ask-suggestions[hidden] {
  display: none;
}

.ask-suggestions button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  background: transparent;
  color: #4c4c4c;
  cursor: pointer;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: left;
}

.ask-suggestions button:hover {
  background: #f2f2f2;
  color: #111;
}

.built-note {
  width: min(66vw, 1500px);
  margin: 78px auto 0;
  color: #696969;
  font-size: clamp(1.2rem, 1.15vw, 1.55rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.06em;
  text-align: center;
}

.work-section {
  position: relative;
  min-height: 100svh;
  padding: 220px 24px 120px;
  background: var(--soft);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.menu-button {
  position: fixed;
  left: 86px;
  top: 72px;
  display: grid;
  gap: 10px;
  width: 66px;
  border: 0;
  padding: 0;
  background: transparent;
  z-index: 11;
  transition: gap 220ms ease, transform 220ms ease;
}

.menu-button span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #061207;
  transition: height 220ms ease, transform 220ms ease, opacity 180ms ease, background 220ms ease;
}

.site-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  display: grid;
  align-content: center;
  gap: 24px;
  width: min(380px, 86vw);
  border-right: 2px solid #d8d8d8;
  padding: 130px 48px 48px;
  background: var(--white);
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 10;
}

.site-menu a {
  color: #111;
  font-size: clamp(2.2rem, 3.2vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.95;
  text-decoration: none;
}

.site-menu a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.menu-open .site-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

body.menu-open .menu-button {
  gap: 0;
  transform: translateX(2px);
}

body.menu-open .menu-button span {
  height: 8px;
  background: #000;
}

body.menu-open .menu-button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mini-search {
  position: fixed;
  top: 62px;
  right: 210px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  width: 380px;
  min-height: 62px;
  padding: 8px 10px 8px 20px;
  border: 2px solid #d6d6d6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  color: #8e8e8e;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  z-index: 5;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mini-search:hover {
  border-color: #c8c8c8;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.11);
  transform: translateY(-1px);
}

.mini-plus,
.mini-plus::before {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  content: "";
}

.mini-plus::before {
  transform: rotate(90deg);
}

.mini-placeholder {
  overflow: hidden;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.05em;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-voice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--black);
}

.mini-voice span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--white);
  animation: askTrail 1.45s ease-in-out infinite;
}

.mini-voice span:first-child {
  left: 12px;
  top: 19px;
  width: 15px;
  height: 2px;
  animation: askArrow 1.45s ease-in-out infinite;
}

.mini-voice span:first-child::before,
.mini-voice span:first-child::after {
  position: absolute;
  right: -1px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  content: "";
  transform-origin: right center;
}

.mini-voice span:first-child::before {
  transform: rotate(42deg);
}

.mini-voice span:first-child::after {
  transform: rotate(-42deg);
}

.mini-voice span:nth-child(2) {
  display: none;
}

.mini-voice span:nth-child(3) {
  display: none;
}

.portrait-link {
  position: fixed;
  top: 62px;
  right: 86px;
  width: 62px;
  height: 62px;
  overflow: visible;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  z-index: 5;
  transition: opacity 220ms ease, transform 220ms ease;
}

.portrait-small {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.interior-active .mini-search,
body.interior-active .portrait-link {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.case-detail-open .mini-search,
body.case-detail-open .portrait-link {
  opacity: 0;
  pointer-events: none;
}

.work-inner {
  width: min(100%, 1410px);
  margin: 0 auto;
}

.work-inner h2 {
  margin: 0 0 58px;
  font-size: clamp(4.2rem, 4.4vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.work-list {
  display: grid;
  gap: 28px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.work-card {
  min-height: 250px;
  border-radius: 18px;
  background: var(--white);
}

.work-card-link {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  width: 100%;
  min-height: inherit;
  margin: 0 auto;
  border: 0;
  border-radius: inherit;
  padding: 42px 64px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card-link:hover {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.work-thumb {
  width: 154px;
  height: 154px;
  border-radius: 999px;
  object-fit: cover;
}

.work-copy h3 {
  max-width: 780px;
  margin: 0 0 6px;
  font-size: clamp(2.35rem, 2.5vw, 3.15rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.075em;
}

.work-copy p {
  margin: 0 0 22px;
  font-size: clamp(1.95rem, 2.1vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.075em;
}

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

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--green);
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.load-more {
  display: block;
  min-height: 48px;
  margin: 34px auto 0;
  border: 2px solid #d7d7d7;
  border-radius: 999px;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.7);
  color: #6c6c6c;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  cursor: pointer;
}

.load-more[hidden] {
  display: none;
}

.page-panel {
  min-height: 100svh;
  padding: 150px 24px 110px;
  background: var(--white);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.contact-section {
  background: var(--soft);
}

.page-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 16px;
  color: #777;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-inner h2 {
  max-width: 1040px;
  margin: 0 0 36px;
  font-size: clamp(4.6rem, 7vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.resume-summary {
  max-width: 980px;
  margin: 0 0 54px;
  color: #222;
  font-family: "Liberation Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 2.25rem);
  font-weight: 200;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.resume-history {
  display: grid;
  gap: 16px;
}

.resume-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  border-top: 2px solid #e7e7e7;
  padding-top: 18px;
}

.resume-years {
  color: #777;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.resume-item h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
}

.resume-item p {
  max-width: 780px;
  margin: 7px 0 0;
  color: #333;
  font-family: "Liberation Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.18vw, 1.35rem);
  font-weight: 200;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 38px;
  border: 2px solid #d7d7d7;
  border-radius: 999px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.75);
  color: #111;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.contact-inner {
  display: grid;
  align-content: center;
  min-height: calc(100svh - 260px);
}

.contact-links {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.contact-links a {
  color: #111;
  font-size: clamp(2rem, 3.8vw, 4.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.075em;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.case-study-panel {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 132px 24px 96px;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transform-origin: center;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 4;
  scrollbar-gutter: stable;
}

.answer-panel {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 132px 24px 96px;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transform-origin: center;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 20;
  scrollbar-gutter: stable;
}

body.chat-answer-open .answer-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.answer-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.answer-hero {
  display: grid;
  gap: 18px;
}

.answer-hero p,
.answer-kicker {
  margin: 0;
  color: #777;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.answer-hero h2 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3.8rem, 6.2vw, 7.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.answer-question.is-collapsed {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.answer-question-toggle {
  justify-self: start;
  min-height: 36px;
  border: 0;
  border-bottom: 2px solid currentColor;
  padding: 0;
  background: transparent;
  color: #5e5e5e;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.answer-main {
  display: grid;
  gap: 24px;
  margin-top: 42px;
  max-width: 980px;
}

.answer-main p:not(.answer-kicker),
.answer-main li {
  margin: 0;
  color: #333;
  font-family: "Liberation Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.32rem, 1.5vw, 1.78rem);
  font-weight: 200;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.answer-main ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.1em;
}

.answer-links,
.answer-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.answer-links a,
.answer-followups button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 2px solid #d7d7d7;
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.75);
  color: #111;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.answer-followups button {
  background: var(--green);
  border-color: var(--green);
}

.answer-close {
  position: absolute;
  top: 58px;
  right: 82px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid #d6d6d6;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 3rem;
  font-weight: 300;
  line-height: 0.8;
  z-index: 21;
}

.answer-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 72px;
  margin-top: 44px;
}

.answer-loading span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--green);
  animation: answerPulse 1s ease-in-out infinite;
}

.answer-loading span:nth-child(2) {
  animation-delay: 120ms;
}

.answer-loading span:nth-child(3) {
  animation-delay: 240ms;
}

.case-study-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.case-study-hero {
  display: grid;
  gap: 18px;
}

.case-study-hero p {
  margin: 0;
  color: #777;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-study-hero h3 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4.8rem, 7.4vw, 8.6rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  background: #f0f0f0;
  color: #646464;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.case-media {
  margin: 48px 0 44px;
}

.case-media a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.case-media img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  transition: filter 220ms ease, transform 260ms ease;
}

.case-media a:hover img {
  filter: brightness(0.78);
  transform: scale(1.02);
}

.case-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
}

.case-play::before {
  position: absolute;
  left: 35px;
  top: 27px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--black);
  content: "";
}

.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px 72px;
  align-items: start;
}

.case-section {
  margin: 0;
}

.case-section h4 {
  margin: 0 0 14px;
  color: #767676;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-section p,
.case-section li {
  margin: 0;
  color: #333;
  font-family: "Liberation Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.32rem, 1.5vw, 1.78rem);
  font-weight: 200;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.case-section ul {
  margin: 0;
  padding-left: 1.1em;
}

.case-section li + li {
  margin-top: 12px;
}

.case-role {
  grid-column: 1 / -1;
  max-width: none;
  border: 2px solid #e4e4e4;
  border-radius: 18px;
  padding: 20px 24px;
  background: #f7f7f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.case-close {
  position: absolute;
  top: 58px;
  right: 82px;
  display: none;
  width: 62px;
  height: 62px;
  border: 2px solid #d6d6d6;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 3rem;
  font-weight: 300;
  line-height: 0.8;
  cursor: pointer;
  z-index: 6;
}

.work-section.case-open {
  background: var(--white);
}

.work-section.case-open .mini-search,
.work-section.case-open .portrait-link,
.work-section.case-open .work-inner {
  opacity: 0;
  pointer-events: none;
}

.work-section.case-open .case-study-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.work-section.case-open .case-close {
  display: grid;
  place-items: center;
}

.intro-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

.delay-3 {
  animation-delay: 360ms;
}

.reveal-card {
  opacity: 1;
  transform: none;
}

.js .reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.js .reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .work-section .menu-button,
.js .work-section .work-inner {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .work-section .menu-button {
  transform: translateY(-14px);
}

.js .work-section.is-visible .menu-button,
.js .work-section.is-visible .work-inner {
  opacity: 1;
  transform: translateY(0);
}

.js .work-section.case-open .mini-search,
.js .work-section.case-open .portrait-link,
.js .work-section.case-open .work-inner {
  opacity: 0;
  pointer-events: none;
}

.js .work-section.case-open .case-study-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes voicePulse {
  0%,
  100% {
    transform: scaleY(0.7);
  }

  50% {
    transform: scaleY(1.1);
  }
}

@keyframes askArrow {
  0%,
  100% {
    opacity: 0.9;
    transform: translateX(-0.5px) scaleX(0.97);
  }

  50% {
    opacity: 1;
    transform: translateX(0.75px) scaleX(1);
  }
}

@keyframes askTrail {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-2px, 2px) scale(0.72);
  }

  50% {
    opacity: 1;
    transform: translate(1px, -1px) scale(1);
  }
}

@keyframes answerPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-7px);
  }
}

@media (max-width: 1180px) {
  .hero {
    padding-top: 220px;
    min-height: 100svh;
  }

  .intro-wrap {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 36px;
  }

  .portrait-large {
    width: 220px;
    height: 220px;
  }

  .ask-panel {
    width: min(100%, 1000px);
    grid-template-columns: 44px minmax(0, 1fr) 58px;
    padding-left: 22px;
  }

  .built-note {
    width: min(100%, 1000px);
  }

  .ask-suggestions {
    width: min(100%, 1000px);
  }

  .work-section {
    padding-top: 190px;
  }

  .mini-search {
    right: 158px;
    width: 320px;
  }

  .portrait-link {
    right: 62px;
  }

  .work-card-link {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 38px;
    padding: 38px 50px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    letter-spacing: -0.035em;
  }

  .hero {
    min-height: 100svh;
    padding: 120px 18px 80px;
  }

  .intro-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: left;
  }

  .portrait-large {
    justify-self: start;
    width: 160px;
    height: 160px;
  }

  .intro-copy h1 {
    margin-bottom: 22px;
    font-size: 3.85rem;
  }

  .intro-copy p {
    font-size: 1.95rem;
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .hero.chat-mode {
    padding-top: 92px;
  }

  .hero.chat-mode .intro-wrap {
    justify-items: center;
    width: 100%;
  }

  .hero.chat-mode .portrait-large {
    width: 112px;
    height: 112px;
  }

  .ask-panel {
    position: relative;
    display: block;
    width: min(100%, 354px);
    max-width: calc(100vw - 36px);
    min-height: 70px;
    margin: 60px 0 0;
    padding: 8px 62px 8px 18px;
    border-width: 2px;
  }

  .ask-panel .plus-button {
    display: none;
  }

  .ask-panel input {
    display: block;
    min-height: 50px;
    font-size: 1.35rem;
  }

  .voice-button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
  }

  .voice-button:hover {
    transform: translateY(-50%);
  }

  .voice-button span:first-child {
    left: 14px;
    top: 23px;
    width: 19px;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .voice-button span:first-child::before,
  .voice-button span:first-child::after {
    width: 8px;
  }

  .prompt-chips {
    justify-content: center;
    gap: 10px;
    width: min(100%, 354px);
    max-width: calc(100vw - 36px);
    margin: 24px 0 0;
  }

  .prompt-chips button {
    width: 100%;
    min-height: 58px;
    justify-content: flex-start;
    padding: 10px 16px;
    border-radius: 24px;
    border-width: 2px;
    font-size: 1rem;
    line-height: 1.12;
    white-space: normal;
    text-align: left;
  }

  .built-note {
    width: 100%;
    margin-top: 96px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .prompt-chips svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
  }

  .prompt-mobile-extra {
    display: inline-flex;
  }

  .work-section {
    min-height: 100svh;
    padding: 140px 18px 80px;
  }

  .menu-button {
    left: 28px;
    top: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 46px;
    width: 46px;
    gap: 7px;
  }

  .js .work-section .menu-button {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-button span {
    height: 5px;
  }

  .site-menu {
    left: 0;
    top: 0;
    width: min(310px, 86vw);
    padding: 110px 28px 36px;
  }

  .site-menu a {
    font-size: 2.2rem;
  }

  .mini-search {
    top: 42px;
    right: 84px;
    left: 96px;
    width: auto;
    min-height: 46px;
    height: 46px;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 8px;
    padding: 6px 7px 6px 13px;
    border-width: 2px;
  }

  .mini-plus {
    display: none;
  }

  .mini-placeholder {
    font-size: 1rem;
  }

  .mini-voice {
    width: 32px;
    height: 32px;
  }

  .mini-voice span:first-child {
    left: 9px;
    top: 15px;
    width: 13px;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .mini-voice span:first-child::before,
  .mini-voice span:first-child::after {
    width: 6px;
  }

  .portrait-link {
    top: 42px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .work-inner h2 {
    margin-bottom: 38px;
    font-size: 4rem;
  }

  .work-card {
    min-height: 0;
    border-radius: 16px;
  }

  .work-card-link {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .work-thumb {
    width: 116px;
    height: 116px;
  }

  .work-copy h3 {
    font-size: 2.2rem;
  }

  .work-copy p {
    font-size: 1.85rem;
  }

  .tag-row span {
    min-height: 36px;
    font-size: 1rem;
  }

  .page-panel {
    padding: 120px 22px 80px;
  }

  .page-inner h2 {
    font-size: 3.9rem;
  }

  .resume-summary {
    margin-bottom: 38px;
    font-size: 1.28rem;
  }

  .resume-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 16px;
  }

  .resume-item h3 {
    font-size: 1.8rem;
  }

  .resume-item p {
    font-size: 1rem;
  }

  .contact-inner {
    min-height: calc(100svh - 200px);
  }

  .contact-links a {
    font-size: 2.35rem;
  }

  .case-study-panel {
    padding: 110px 22px 80px;
  }

  .answer-panel {
    padding: 110px 22px 80px;
  }

  .answer-close {
    top: 36px;
    right: 22px;
    width: 48px;
    height: 48px;
    font-size: 2.3rem;
  }

  .answer-hero {
    gap: 14px;
  }

  .answer-hero p,
  .answer-kicker {
    font-size: 0.95rem;
  }

  .answer-hero h2 {
    font-size: 3.4rem;
  }

  .answer-main {
    gap: 20px;
    margin-top: 34px;
  }

  .answer-main p:not(.answer-kicker),
  .answer-main li {
    font-size: 1.35rem;
    line-height: 1.22;
  }

  .answer-links a,
  .answer-followups button {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .case-close {
    top: 36px;
    right: 22px;
    width: 48px;
    height: 48px;
    font-size: 2.3rem;
  }

  .case-study-hero {
    gap: 14px;
  }

  .case-study-hero p {
    font-size: 0.95rem;
  }

  .case-study-hero h3 {
    font-size: 4.1rem;
  }

  .case-tags span {
    min-height: 30px;
    font-size: 0.8rem;
  }

  .case-media {
    margin: 34px 0 36px;
  }

  .case-media a {
    border-radius: 14px;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-section p,
  .case-section li {
    font-size: 1.35rem;
    line-height: 1.22;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .intro-reveal,
  .reveal-card {
    opacity: 1;
    transform: none;
  }
}
