:root {
  --ground: #f3f5f0;
  --surface: #e6ebe4;
  --ink: #15382f;
  --muted: #466057;
  --dark: #14382f;
  --dark-ink: #f3f5f0;
  --accent: #ff823b;
  --accent-ink: #14382f;
  --scrim: rgba(7,23,19,.48);
  --dialog-scrim: rgba(7,23,19,.88);
  --font-display: 'Inclusive Sans',Arial,sans-serif;
  --font-text: var(--font-display);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-expo: cubic-bezier(.16,1,.3,1);
  --press: 140ms;
  --hover: 240ms;
  --reveal: 520ms;
  --margin: clamp(6rem,13.333vw,16rem);
  --step-small: clamp(.875rem,.8rem + .18vw,1rem);
  --step-body: clamp(1.125rem,1.025rem + .25vw,1.375rem);
  --step-lead: clamp(1.5rem,1.15rem + 1.1vw,2.25rem);
  --step-head: clamp(2rem,1.25rem + 2.3vw,4.25rem);
  --step-display: clamp(4rem,12.8vw,26rem);
  --type-title: clamp(2.75rem,1.5rem + 5vw,9rem);
  --type-subhead: clamp(1.375rem,1.05rem + 1vw,2.125rem);
  --radius-control: 12px;
  --radius-card: 16px;
  --radius-media: 20px;
  --radius-dialog: 24px;
  --space-section: clamp(6rem,10vw,12rem);
  --space-heading: clamp(5rem,6vw,6rem);
  --gap: var(--gap-collection);
  --type-item-title: clamp(1.5rem,1.15rem + 1.15vw,2.5rem);
  --type-metric: clamp(3.5rem,6.8vw,8rem);
  --scroll-thumb: var(--accent);
  --scroll-track: var(--dark);
  --gap-collection: clamp(2.5rem,4vw,3.5rem);
  --gap-record: 1.5rem;
  --space-card: clamp(1.5rem,2.5vw,3rem);
}

@media(min-width:1920px) {
  :root {
    --margin: 16rem;
    --space-section: 12rem;
    --gap-collection: 3.5rem;
  }
}

@media(min-width:768px) and (max-width:1099px) {
  :root {
    --margin: clamp(2rem,6vw,4rem);
    --space-section: clamp(6rem,12vw,8rem);
    --space-heading: 4.5rem;
    --gap-collection: 2.5rem;
    --gap-record: 1.25rem;
  }
}

@media(max-width:767px) {
  :root {
    --margin: clamp(1rem,5vw,2rem);
    --space-section: clamp(5rem,12vw,6rem);
    --space-heading: 4rem;
    --gap-collection: clamp(1.5rem,5vw,2rem);
    --gap-record: 1rem;
  }
}

* {
  box-sizing: border-box;
}

body {
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--font-text);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

button {
  border: 0;
  background: none;
}

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

img {
  height: auto;
}

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(48px,7.5vw,116px);
}

h2 {
  font-size: var(--step-head);
}

h3 {
  font-size: clamp(26px,2.3vw,36px);
}

p {
  max-width: 65ch;
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
}

[hidden] {
  display: none!important;
}

strong {
  font-weight: 700;
}

button:active {
  transform: scale(.97);
}

dialog {
  border: 0;
  outline: none;
  padding: 0;
  color: var(--ink);
  background: var(--ground);
}

dialog::backdrop {
  background: var(--dialog-scrim);
}

h1,
h2,
h3 {
  line-height: 1.03;
  letter-spacing: -.03em;
}

html {
  scrollbar-gutter: auto;
  background: var(--ground);
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
}

a,
button {
  touch-action: manipulation;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline-offset: 6px;
  outline-color: currentColor;
}

body {
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: clip;
  font-size: var(--step-body);
  line-height: 1.6;
  cursor: default;
  caret-color: transparent;
}

input {
  cursor: text;
  caret-color: var(--ink);
}

p+p {
  margin-top: 1em;
}

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

main {
  position: relative;
  z-index: 1;
}

.button:active {
  transform: scale(.97);
}

.section-head {
  display: flex;
}

.section-head p {
  max-width: 24ch;
}

.text-link {
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  font-weight: 500;
}

.button {
  display: inline-flex;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.back-link {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--ground);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.name-line {
  display: block;
  overflow: clip;
}

.name-line>span {
  display: block;
}

.project-outcome {
  font-weight: 600;
}

.project-discipline {
  margin-top: 16px;
}

.page-intro {
  background: var(--dark);
}

.page-intro>p {
  margin-top: 32px;
}

.project-intro .project-deck {
  font-size: 20px;
}

.project-intro>p:last-child {
  margin-top: 20px;
}

.content-section {
  margin: 0;
}

.content-section>.content-container {
  max-width: none;
  margin: 0;
}

.content-section .section-content {
  margin: 0 auto;
}

.content-section .section-content.is-wide {
  max-width: none;
}

.content-section h2 {
  margin-bottom: var(--space-heading);
}

.content-section .standfirst {
  letter-spacing: -.025em;
  margin-bottom: 40px;
}

.content-section .prose p+p {
  margin-top: 1.3em;
}

.inline-action {
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-top: 28px;
}

.content-section ul {
  padding-left: 24px;
  margin: 24px 0;
}

.content-section li {
  margin: 12px 0;
}

.content-section .action-row {
  margin-top: 24px;
}

.related-section {
  background: var(--surface);
}

.prose p {
  max-width: 67ch;
}

.prose p+p {
  margin-top: 1.25em;
}

.prose h2,
.prose h3 {
  letter-spacing: -.025em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.prose ul {
  padding-left: 24px;
  margin: 24px 0;
}

.prose li {
  margin: 12px 0;
}

.legal-content {
  margin: auto;
}

.legal-content .content-container {
  max-width: none;
}

.legal-content h3 {
  margin-top: 40px;
}

@media(max-width:767px) {
  .section-head p {
    max-width: 19ch;
  }

  .page-intro>p {
    margin-top: 24px;
  }

  .legal-content h3 {
    font-size: 26px;
  }

  .section-head {
    flex-direction: column;
  }
}

.button span {
  font-size: inherit;
}

.page-intro,
main {
  max-width: none;
}

.name-line {
  padding-bottom: .035em;
}

.name-line:last-child {
  text-align: right;
  margin-top: 0;
}

.section-head {
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: var(--space-heading);
}

.section-head h2 {
  font-size: var(--step-head);
  letter-spacing: -.035em;
}

.section-head p,
.section-head .text-link {
  font-size: var(--step-body);
}

.section-head .text-link {
  white-space: nowrap;
}

.button {
  justify-content: center;
  align-items: center;
  transition: transform var(--hover) var(--ease-out),background-color var(--hover) ease;
  border-radius: var(--radius-control);
  min-height: 58px;
  padding: 18px 26px;
  font-size: var(--step-body);
  gap: 36px;
  line-height: 1.2;
}

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

.button .ui-icon {
  flex: none;
}

.ui-icon {
  width: 24px;
  height: 24px;
  flex: none;
  vertical-align: middle;
  display: inline-block;
  pointer-events: none;
}

.button span {
  display: inline-flex;
  align-items: center;
  transform: none;
}

.icon-button {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  background: var(--surface);
  transition: background-color 180ms ease,transform 180ms var(--ease-out);
}

.icon-button:hover {
  background: var(--ground);
  transform: translateY(-2px);
}

.text-link {
  font-size: inherit;
  text-underline-offset: 6px;
}

.project-outcome {
  font-size: var(--step-body);
  margin-top: 18px;
}

.project-discipline {
  color: var(--muted);
  font-size: var(--step-small);
  line-height: 1.6;
}

.slider-controls {
  display: flex;
  gap: 12px;
}

.page-intro {
  color: var(--dark-ink);
  padding: 176px var(--margin) 72px;
}

.page-intro h1 {
  font-size: var(--type-title);
  max-width: 20ch;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.page-intro>p {
  font-size: var(--step-lead);
  line-height: 1.5;
  max-width: 55ch;
}

.page-intro .project-deck {
  font-size: var(--step-body);
}

.project-intro>p:last-child {
  font-size: var(--step-small);
}

.back-link {
  margin-bottom: 30px;
}

.content-section>.content-container {
  width: 100%;
}

.content-section .section-content {
  max-width: 1000px;
}

.content-section>h2 {
  max-width: 1000px;
  margin-inline: auto;
}

.content-section h2 {
  font-size: var(--step-head);
  letter-spacing: -.035em;
}

.content-section .standfirst {
  font-size: var(--step-lead);
  line-height: 1.5;
  max-width: 65ch;
}

.content-section .prose,
.content-section p,
.content-section li {
  font-size: var(--step-body);
  line-height: 1.7;
}

.content-section .prose {
  max-width: 72ch;
}

.content-section .inline-action {
  font-size: var(--step-body);
}

.prose {
  font-size: var(--step-body);
  line-height: 1.75;
}

.prose h2,
.prose h3 {
  font-size: var(--type-subhead);
  line-height: 1.3;
  max-width: 40ch;
  margin: 48px 0 24px;
}

.legal-page {
  padding: var(--space-section) var(--margin);
}

.legal-content {
  max-width: 74ch;
}

@media(max-width:767px) {
  :root {
    --step-body: 1.125rem;
    --step-small: .875rem;
    --step-lead: 1.5rem;
    --step-head: 2.125rem;
    --type-subhead: 1.5rem;
    --type-title: 2.75rem;
    --step-display: 16.2vw;
    --radius-media: 16px;
    --type-item-title: clamp(1.5rem,1.15rem + 1.15vw,2.5rem);
  }

  .button {
    font-size: 18px;
    min-height: 56px;
    padding: 17px 20px;
    gap: 28px;
  }

  .name-line:last-child {
    margin-top: 10px;
  }

  .section-head {
    gap: 24px;
    margin-bottom: var(--space-heading);
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .section-head p,
.section-head .text-link {
    font-size: 18px;
  }

  .section-head .text-link {
    white-space: normal;
  }

  .project-outcome {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 16px;
  }

  .project-discipline {
    font-size: 14px;
    margin-top: 14px;
  }

  .slider-controls {
    gap: 10px;
  }

  .icon-button {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .page-intro {
    padding: 138px var(--margin) 52px;
  }

  .page-intro h1 {
    font-size: 44px;
    line-height: 1.1;
    max-width: 100%;
  }

  .page-intro>p {
    font-size: 24px;
    line-height: 1.45;
  }

  .page-intro .project-deck {
    font-size: 18px;
  }

  .project-intro>p:last-child {
    font-size: 16px;
  }

  .back-link {
    margin-bottom: 24px;
  }

  .content-section h2 {
    font-size: 34px;
  }

  .content-section .standfirst {
    font-size: 24px;
    line-height: 1.5;
  }

  .content-section .prose,
.content-section p,
.content-section li,
.prose {
    font-size: 18px;
    line-height: 1.7;
  }

  .prose h2,
.prose h3 {
    font-size: 24px;
    line-height: 1.3;
  }
}

@media print {
  .slider-controls {
    display: none!important;
  }
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 3px solid var(--scroll-track);
  border-radius: 12px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ground);
}

@media(forced-colors:active) {
  html {
    scrollbar-color: auto;
  }
}

.references-page-section {
  background: var(--ground);
}

@media(max-width:767px) {
  :root {
    --type-metric: clamp(3rem,14vw,4.5rem);
  }
}

.back-link,
.inline-action {
  font-size: var(--step-body);
  line-height: 1.5;
}

@media(max-width:767px) {
  .back-link,
.inline-action {
    font-size: 18px;
  }
}

::view-transition-group(site-navigation) {
  animation-duration: 180ms;
  animation-timing-function: var(--ease-out);
}

.not-found-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  align-items: center;
  gap: var(--gap-collection);
  min-height: 100svh;
  padding-block: calc(96px + var(--space-section)) var(--space-section);
}

.not-found-intro > .not-found-code {
  margin: 0;
  color: var(--accent);
  font-size: clamp(8rem,17vw,26rem);
  font-weight: 600;
  line-height: .85;
  letter-spacing: -.08em;
}

.not-found-copy h1 {
  font-size: clamp(2.75rem,4vw,4.25rem);
  max-width: 12ch;
}

.not-found-copy > p {
  font-size: var(--step-body);
  line-height: 1.6;
  max-width: 34ch;
  margin-top: 24px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin-top: 36px;
}

@media(max-width:767px) {
  .not-found-intro {
    grid-template-columns: minmax(0,1fr);
    gap: 40px;
    min-height: auto;
    padding-top: 138px;
    padding-bottom: var(--space-section);
  }

  .not-found-intro > .not-found-code {
    font-size: clamp(8rem,40vw,16rem);
  }
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: var(--dark-ink);
  background: transparent;
  font-family: var(--font-text);
  font-weight: 400;
}

.brand {
  display: flex;
  align-items: center;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.desktop-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
}

.menu-toggle,
.menu-close {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.menu-dialog {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--dark);
  color: var(--dark-ink);
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-close span {
  font-size: 32px;
  line-height: 1;
}

.menu-dialog nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100svh - 170px);
  gap: 6px;
}

.menu-dialog nav :is(a,button) {
  font-size: clamp(42px,7vw,100px);
  font-weight: 600;
  line-height: 1.03;
}

.menu-dialog nav :is(a,button):hover {
  transform: translateX(16px);
  color: var(--accent);
}

@media(max-width:767px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-dialog nav {
    gap: 12px;
  }

  .menu-dialog nav :is(a,button) {
    font-size: 12.5vw;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color var(--hover) ease,color var(--hover) ease,transform 350ms var(--ease-out);
  view-transition-name: site-navigation;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 24px var(--margin);
}

.brand {
  font-size: clamp(1.125rem,1rem + .65vw,1.75rem);
  gap: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
  white-space: nowrap;
  font-family: var(--font-text);
  font-style: normal;
}

.brand>span {
  white-space: nowrap;
}

.desktop-nav {
  gap: 36px;
}

.desktop-nav a,
.menu-toggle,
.menu-close {
  font-size: var(--step-body);
}

.header-actions {
  gap: 32px;
}

.menu-toggle {
  min-height: 48px;
}

.site-header.is-scrolled {
  background: var(--dark);
}

.article-page .site-header,
.article-page .site-header.is-scrolled {
  color: var(--ink);
  background: var(--ground);
}

.menu-dialog {
  position: fixed;
  inset: 0;
  height: 100svh;
  max-height: none;
  z-index: 200;
  overflow: auto;
  padding: 24px var(--margin) 32px;
}

.menu-dialog nav a {
  letter-spacing: -.035em;
}

@media(max-width:1099px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-header {
    gap: 24px;
  }
}

@media(max-width:767px) {
  .site-header {
    padding: 18px var(--margin);
    gap: 16px;
  }

  .brand {
    gap: 10px;
  }

  .header-actions .contact-link {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .menu-toggle {
    font-size: 18px;
    gap: 10px;
    min-height: 44px;
  }

  .menu-dialog {
    padding: 18px var(--margin) 28px;
  }

  .brand {
    font-size: 18px;
  }
}

@media print {
  .menu-dialog,
.site-header {
    display: none!important;
  }
}

.menu-dialog nav :is(a,button) {
  padding: 12px 0;
}

@media(max-width:1099px) {
  .menu-dialog nav :is(a,button) {
    padding-block: 16px;
  }
}

@media(max-height:650px) {
  .menu-dialog {
    padding-bottom: 20px;
  }

  .menu-dialog nav :is(a,button) {
    padding-block: 10px;
    font-size: clamp(32px,8svh,64px);
  }
}

.menu-dialog nav :is(a,button):focus-visible {
  transform: translateX(16px);
  color: var(--accent);
}

.back-link,
.inline-action,
.preview-link,
.text-link,
.desktop-nav a,
.case-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.menu-dialog nav :is(a,button) {
  transition: transform var(--hover) var(--ease-out),color var(--hover) ease;
  text-align: left;
  letter-spacing: -.03em;
  min-height: 44px;
}

.desktop-nav a:is([aria-current],:hover,:focus-visible),
.menu-dialog nav :is(a,button):is([aria-current],:hover,:focus-visible) {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

@media(min-width:1100px) {
  .menu-toggle {
    display: none;
  }
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  transition: transform var(--press) var(--ease-out);
}

.brand-mark>* {
  grid-area: 1/1;
  width: 100%;
  height: 100%;
}

.brand-mark .brand-eye {
  display: none;
}

@media(max-width:767px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--dark-ink);
  background: var(--dark);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
}

.hero-content {
  flex-direction: column;
}

.hero h1 {
  font-weight: 700;
  max-width: none;
}

.hero-intro {
  display: flex;
  justify-content: space-between;
}

.hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.client-section {
  align-items: center;
}

@media(max-width:1099px) {
  .hero-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width:767px) {
  .hero {
    min-height: 92svh;
  }

  .hero h1 {
    font-weight: 700;
  }
}

.hero,
.hero-content {
  max-width: none;
}

.hero-content {
  gap: 40px;
  position: relative;
  min-height: 100svh;
  padding: 120px var(--margin) 88px;
  justify-content: flex-end;
  display: flex;
}

.hero h1 {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--step-display);
  letter-spacing: -.04em;
  line-height: .88;
  margin: 0;
}

.hero-intro {
  position: relative;
  width: 100%;
  align-items: flex-end;
  gap: 48px;
}

.hero-intro>p {
  font-size: var(--step-body);
  line-height: 1.45;
  max-width: 40ch;
}

.hero-links {
  gap: 28px;
}

.client-section {
  grid-template-columns: minmax(200px,1fr) minmax(0,3fr);
  gap: 72px;
}

.case-cover>.case-hero-media {
  border-radius: var(--radius-media);
}

@media(max-width:1099px) {
  .client-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media(max-width:767px) {
  .hero-content {
    gap: 0;
  }

  .hero h1 {
    font-size: var(--step-display);
    line-height: .93;
  }

  .hero-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-intro>p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 32ch;
  }

  .hero-links .button {
    flex: 1;
    gap: 24px;
  }

  .client-section {
    gap: 28px;
  }

  .hero-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero-links .button {
    min-width: 0;
    justify-content: space-between;
    width: 100%;
  }

  .hero h1 {
    letter-spacing: -.04em;
    top: 42%;
  }

  .hero-content {
    padding: 100px var(--margin) 76px;
    min-height: 100svh;
    padding-bottom: 70px;
  }
}

@media(max-height:720px) and (min-width:768px) {
  .hero,
.hero-content {
    min-height: 680px;
  }

  .hero h1 {
    font-size: clamp(6rem,11vw,10rem);
  }

  .hero-content {
    padding-bottom: 76px;
  }

  .hero-intro>p {
    max-width: 35ch;
  }
}

.client-section {
  display: block;
  padding-block: 72px;
}

.client-logo {
  display: flex;
  align-items: center;
}

.client-logo[data-brand="Shell"] img {
  height: 64px;
  max-width: 200px;
}

.client-logo[data-brand="Raízen"] img {
  height: 64px;
  max-width: 164px;
}

@media(max-width:767px) {
  .client-section {
    padding-block: 48px;
  }

  .client-logo[data-brand="Shell"] img {
    height: 54px;
    max-width: 150px;
  }

  .client-logo[data-brand="Raízen"] img {
    max-width: 130px;
    height: 54px;
  }
}

.client-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-ink);
  padding: 20px 0;
}

.logo-window {
  display: block;
  padding: 0;
  text-align: left;
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-drift 44s linear infinite;
}

.logo-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
}

.client-logo {
  justify-content: center;
  width: clamp(180px,19vw,280px);
  height: 88px;
  padding: 20px 36px;
  flex: none;
  min-height: 0;
}

.logo-group .client-logo img {
  filter: none;
  opacity: 1;
  width: 100%;
  height: 60px;
  max-width: 220px;
  object-fit: contain;
}

.logo-group .client-logo[data-brand="Shell"] img,
.logo-group .client-logo[data-brand="Raízen"] img {
  height: 60px;
  max-width: 220px;
}

.client-section.is-paused .logo-track,
.logo-window:focus-within .logo-track {
  animation-play-state: paused;
}

@media(hover:hover) {
  .logo-window:hover .logo-track {
    animation-play-state: paused;
  }
}

.case-cover .case-hero-media {
  width: 100%;
  padding: 0;
  border-radius: var(--radius-media);
}

.case-cover .case-hero-media img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: inherit;
  object-fit: contain;
}

@media(min-width:1920px) {
  .client-logo {
    height: 104px;
  }
}

@media(max-width:767px) {
  .client-section {
    padding: 14px 0;
  }

  .client-logo {
    width: 180px;
    height: 76px;
    padding: 18px 24px;
  }

  .logo-group .client-logo img {
    height: 52px;
  }
}

.logo-window:focus-visible {
  outline-color: var(--accent);
  outline-offset: -6px;
}

.client-section.is-offscreen .logo-track {
  animation-play-state: paused;
}

.case-cover .case-hero-media {
  display: block;
  overflow: hidden;
  background: var(--surface);
  position: relative;
  isolation: isolate;
}

.case-hero-scene {
  --case-bottom: clamp(128px,12vw,208px);
  height: calc(165svh + var(--case-bottom));
  padding-bottom: var(--case-bottom);
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  background: var(--dark);
}

.case-page .case-cover .case-hero-media {
  flex-shrink: 0;
  width: min(100%,calc((100svh - var(--case-top,96px) - 48px)*var(--case-ratio,1.5)));
  transform-origin: 50% 0;
  transition: none;
  box-shadow: 0 24px 60px #14382f16;
}

.case-page .project-intro .hero-scroll-cue {
  position: absolute;
  left: var(--margin);
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
}

.hero-scroll-cue .ui-icon {
  width: 40px;
  height: 40px;
}

.hero-scroll-cue:focus-visible {
  outline: 2px solid var(--accent,#ff8139);
  outline-offset: 4px;
}

@media(max-width:1099px) {
  .case-hero-scene {
    --case-bottom: 48px;
    height: calc(200svh - var(--case-top,96px) + var(--case-bottom));
  }

  .case-page .case-cover .case-hero-media {
    transform-origin: 50% 50%;
  }
}

@media(max-width:767px) {
  .case-hero-scene {
    --case-bottom: 16px;
    --case-image-height: min(calc((100vw - 2 * var(--margin)) / var(--case-ratio,1.5)),calc(100svh - var(--case-top,96px) - 48px));
    --case-hold: clamp(96px,calc(var(--case-image-height) * .35),160px);
    height: calc(var(--case-image-height) + 48px + var(--case-hold) + var(--case-bottom));
  }
}

@media(min-width:768px) and (max-width:1099px) {
  .case-hero-scene {
    --case-bottom: 48px;
  }
}

@media print {
  .hero-entrance > * {
    animation: none!important;
  }
}

.case-hero-figure {
  margin: 0;
  background: var(--dark);
}

.work-section {
  background: var(--ground);
}

.work-index {
  display: grid;
  align-items: start;
}

.project-row {
  display: block;
}

.project-row-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-open {
  transition: opacity var(--hover) ease,transform var(--hover) var(--ease-out);
}

.project-row:hover .project-open,
.project-row:focus-visible .project-open,
.project-row.is-active .project-open {
  opacity: 1;
  transform: translate(0,-3px);
}

.work-preview {
  position: sticky;
}

.preview-stack {
  overflow: hidden;
}

.preview-image {
  opacity: 0;
  transition: opacity 260ms ease,transform 700ms var(--ease-expo);
  transform: scale(1.025);
}

.preview-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.preview-image img {
  width: 100%;
}

.preview-link {
  display: inline-block;
  margin-top: 20px;
}

.mobile-project-image {
  display: none;
}

.filter-status {
  margin-top: 24px;
}

.related-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.related-projects img {
  aspect-ratio: 3/2;
  width: 100%;
  object-fit: cover;
}

.related-projects h3 {
  margin-top: 24px;
}

.related-projects p {
  margin-top: 12px;
}

@media(hover:hover) and (pointer:fine) {
  .project-row h3 {
    transition: transform 350ms var(--ease-out);
  }

  .project-row:hover h3,
.project-row:focus-visible h3 {
    transform: translateX(8px);
  }
}

@media(max-width:767px) {
  .mobile-project-image {
    display: block;
    overflow: hidden;
  }

  .mobile-project-image img {
    width: 100%;
  }

  .project-row-title {
    align-items: center;
  }

  .filter-status {
    margin-top: 0;
  }

  .related-projects {
    grid-template-columns: 1fr;
  }
}

.work-index {
  grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
  gap: clamp(48px,6vw,112px);
}

.work-preview {
  top: 150px;
  padding-top: 28px;
}

.preview-stack,
.mobile-project-image {
  border-radius: var(--radius-media);
}

.preview-stack {
  position: relative;
  background: var(--surface);
  aspect-ratio: 3/2;
  isolation: isolate;
}

.preview-image {
  position: absolute;
  inset: 0;
  background: var(--surface);
}

.preview-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.project-row {
  scroll-margin-top: 140px;
  padding: 32px 0 48px;
}

.project-row h3 {
  font-weight: 600;
  max-width: 18ch;
}

.project-open {
  font-size: inherit;
  display: inline-flex;
  align-items: center;
  transform: none;
  opacity: 1;
}

.project-open .ui-icon {
  width: 28px;
  height: 28px;
}

.preview-caption {
  letter-spacing: -.025em;
  font-size: var(--step-lead);
  line-height: 1.2;
  margin-top: 28px;
  max-width: 25ch;
}

.filter-status {
  color: var(--muted);
  font-size: var(--step-small);
}

.related-projects img {
  border-radius: var(--radius-media);
}

.related-projects p {
  font-size: var(--step-body);
}

@media(max-width:1099px) {
  .work-index {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:767px) {
  .work-index {
    display: block;
  }

  .work-preview {
    display: none;
  }

  .project-row {
    padding: 0 0 48px;
  }

  .project-row h3 {
    max-width: 100%;
  }

  .mobile-project-image {
    margin-bottom: 24px;
  }

  .mobile-project-image img {
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: top;
  }

  .project-open .ui-icon {
    width: 24px;
    height: 24px;
  }

  .filter-status {
    font-size: 14px;
  }

  .related-projects p {
    font-size: 18px;
  }
}

.preview-link {
  font-size: var(--step-body);
  line-height: 1.5;
}

@media(max-width:767px) {
  .preview-link {
    font-size: 18px;
  }
}

.work-filters button::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--hover) var(--ease-expo);
}

.work-filters button:is([aria-pressed=true],:focus-visible)::after {
  transform: scaleX(1);
}

@media(hover:hover) {
  .work-filters button:hover::after {
    transform: scaleX(1);
  }
}

.writing-section {
  background: var(--ground);
}

.article-list {
  display: flex;
  flex-direction: column;
}

.article-entry {
  display: grid;
  align-items: center;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-expo);
}

.article-entry h3 {
  max-width: 21ch;
}

.article-entry:hover img {
  transform: scale(1.035);
}

.article-date {
  margin-bottom: 16px;
}

.article-entry-copy>p:last-child {
  color: var(--muted);
  margin-top: 16px;
}

.article-deck {
  margin-top: 24px;
}

.article-intro .article-date {
  margin-top: 0;
}

.article-cover {
  padding: 0 var(--margin);
}

.article-layout {
  display: grid;
  margin: auto;
}

.article-sidebar {
  position: sticky;
  top: 140px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-sidebar p {
  margin: 0;
}

.article-sidebar .text-link {
  text-align: left;
}

.article-video {
  margin: 40px 0;
}

.article-video video {
  width: 100%;
  background: var(--dark);
}

.article-metadata {
  margin-top: 48px;
}

.article-metadata .blog-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0;
}

.article-metadata .blog-info > p {
  margin: 0;
  font-size: inherit;
  line-height: 1.6;
  max-width: none;
}

.article-metadata .blog-info > p:first-child {
  flex: 0 0 auto;
}

.article-metadata .blog-info > p:last-child {
  flex: 1;
  min-width: 0;
}

.article-layout+.writing-section {
  background: var(--surface);
}

@media(max-width:767px) {
  .article-thumb {
    grid-column: 1/-1;
  }

  .article-entry-copy {
    grid-column: 1;
  }

  .article-entry h3 {
    max-width: 18ch;
  }

  .article-entry>span {
    grid-column: 2;
    grid-row: 2;
  }

  .article-date {
    margin-bottom: 12px;
  }

  .article-deck {
    margin-top: 24px;
  }

  .article-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .article-metadata .blog-info {
    gap: 8px;
  }
}

.article-entry>span {
  font-size: inherit;
}

.article-entry .article-date {
  margin-top: 16px;
  margin-bottom: 0;
}

.article-entry-copy .article-excerpt {
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--ink);
  max-width: 54ch;
  margin: 22px 0 0;
  letter-spacing: 0;
}

.article-entry>span {
  display: inline-flex;
  align-items: center;
  transform: none;
}

.article-entry {
  gap: 48px;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) 28px;
}

.article-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-media);
}

.article-date,
.article-entry-copy>p:last-child {
  font-size: var(--step-small);
}

.article-entry-copy .article-date {
  margin-top: 20px;
  color: var(--muted);
}

.article-intro {
  padding: 164px var(--margin) 64px;
  max-width: none;
  margin: 0;
}

.article-intro h1 {
  font-size: var(--type-title);
  max-width: 20ch;
  line-height: 1.07;
}

.article-deck {
  font-size: var(--step-body);
  max-width: 66ch;
}

.article-cover {
  padding-inline: var(--margin);
}

.article-cover img {
  border-radius: var(--radius-media);
  width: 100%;
  max-height: 82svh;
  object-fit: cover;
}

.article-layout {
  max-width: none;
  grid-template-columns: minmax(200px,1fr) minmax(0,3fr);
  gap: 8%;
  padding: 80px var(--margin) 112px;
}

.article-prose {
  max-width: 72ch;
}

.article-prose p,
.article-prose li {
  font-size: var(--step-body);
  line-height: 1.75;
}

.article-prose>p:first-child {
  font-size: var(--step-lead);
  line-height: 1.5;
}

.article-sidebar,
.article-sidebar .text-link,
.article-metadata {
  font-size: var(--step-small);
}

.article-video video {
  aspect-ratio: 16/9;
  border-radius: var(--radius-media);
}

@media(max-width:1099px) {
  .article-layout {
    grid-template-columns: minmax(160px,1fr) minmax(0,3fr);
    gap: 6%;
  }
}

@media(max-width:767px) {
  .article-entry {
    gap: 24px 14px;
    grid-template-columns: 1fr auto;
  }

  .article-entry .article-date {
    font-size: 14px;
    margin-top: 18px;
  }

  .article-thumb {
    border-radius: var(--radius-media);
  }

  .article-entry>span {
    margin-top: 0;
    align-self: center;
  }

  .article-intro {
    padding: 138px var(--margin) 44px;
  }

  .article-intro h1 {
    font-size: 44px;
    line-height: 1.1;
    max-width: none;
  }

  .article-deck {
    font-size: 18px;
    line-height: 1.6;
  }

  .article-cover img {
    max-height: none;
    aspect-ratio: 3/2;
  }

  .article-layout {
    display: block;
    padding: 40px var(--margin) 72px;
  }

  .article-sidebar {
    display: flex;
    position: static;
    font-size: 14px;
    gap: 24px;
    margin-bottom: 40px;
  }

  .article-sidebar .text-link {
    font-size: 16px;
  }

  .article-prose p,
.article-prose li {
    font-size: 18px;
    line-height: 1.7;
  }

  .article-prose>p:first-child {
    font-size: 24px;
    line-height: 1.5;
  }

  .article-metadata {
    font-size: 14px;
  }
}

.about-section {
  background: var(--dark);
  color: var(--dark-ink);
}

.about-statement {
  display: flow-root;
}

.about-statement p {
  line-height: 1.25;
  letter-spacing: -.035em;
  max-width: none;
}

.about-facts {
  display: grid;
}

.about-facts p {
  margin: 0;
}

.about-facts strong {
  display: block;
  margin-bottom: 8px;
}

.content-section .record-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.content-section .record-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.content-section .record-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.about-content .content-section:nth-child(even) {
  background: var(--surface);
}

.about-content .content-section:first-child .section-content {
  max-width: 1000px;
}

.resume-nav {
  display: flex;
  flex-wrap: wrap;
}

.resume-nav a {
  padding: 8px 0;
}

.resume-nav a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.resume-role {
  font-size: 17px;
  margin-top: 16px;
}

@media(max-width:767px) {
  .about-section .section-head {
    flex-direction: column;
    gap: 20px;
  }

  .about-statement p {
    line-height: 1.35;
    letter-spacing: -.025em;
  }

  .about-facts strong {
    margin-bottom: 2px;
  }

  .content-section .record-identity {
    align-items: flex-start;
  }

  .content-section .record-mark img {
    width: 40px;
    height: 40px;
  }
}

.about-facts p {
  font-size: var(--step-body);
}

.about-statement p {
  font-size: var(--step-lead);
}

@media(max-width:767px) {
  .about-statement p {
    font-size: var(--step-lead);
  }
}

.about-facts .fact-value {
  line-height: 1.1;
}

.about-statement {
  max-width: none;
  margin: 0;
}

.about-manifesto p {
  font-size: var(--step-lead);
  line-height: 1.5;
  letter-spacing: -.015em;
  max-width: 66ch;
}

.about-facts {
  grid-template-columns: repeat(3,1fr);
  margin-top: 64px;
  gap: 48px;
}

.about-facts strong {
  font-size: var(--step-head);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.about-facts .fact-label {
  font-size: var(--step-body);
  margin-top: 14px;
}

.reference-section {
  background: var(--surface);
}

.reference-heading-actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.reference-window {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 8px;
  outline-offset: 6px;
}

.reference-window::-webkit-scrollbar {
  display: none;
}

.reference-track {
  display: flex;
  align-items: stretch;
}

.reference-card {
  scroll-snap-align: start;
  min-width: 0;
  background: var(--ground);
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.reference-author {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.reference-author img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex: none;
}

.reference-author h3 {
  font-size: var(--type-subhead);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.reference-author p {
  font-size: var(--step-small);
  line-height: 1.5;
  margin-top: 8px;
  color: var(--muted);
}

.reference-card blockquote {
  font-size: var(--step-body);
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

.reference-card>.text-link {
  font-size: var(--step-small);
  margin-top: auto;
}

.reference-grid {
  columns: 2;
  column-gap: 28px;
}

.reference-full .reference-body {
  margin-top: 28px;
  font-size: var(--step-body);
  line-height: 1.7;
}

.reference-full .reference-body p+p {
  margin-top: 1em;
}

.reference-full .reference-author {
  align-items: flex-start;
}

.reference-full {
  scroll-margin-top: 130px;
}

.reference-full .reference-body p:last-child {
  margin-bottom: 0;
}

.about-content .content-section:first-child .standfirst {
  font-size: var(--step-lead);
  line-height: 1.55;
  max-width: 66ch;
}

.about-content .resume-role {
  font-size: var(--step-body);
  max-width: 58ch;
}

.content-section .record-title {
  font-size: var(--type-subhead);
  line-height: 1.2;
}

.content-section .record-meta,
.credential-meta {
  font-size: var(--step-small);
}

.resume-nav {
  gap: 16px 32px;
  margin-bottom: 56px;
}

.resume-nav a {
  font-size: var(--step-body);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.credentials-section {
  background: var(--ground);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.credential {
  min-width: 0;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px;
}

.credential-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.credential-header>img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
  border-radius: 10px;
}

.credential h3 {
  font-size: var(--type-subhead);
  line-height: 1.25;
  letter-spacing: -.02em;
  max-width: 32ch;
}

.credential-title {
  font-size: var(--step-body);
  line-height: 1.6;
  max-width: 65ch;
}

.credential-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  color: var(--muted);
}

.about-content .credential-grid {
  margin-top: 40px;
}

.about-content .credential {
  background: var(--ground);
}

@media(min-width:1920px) {
  .reference-grid {
    columns: 3;
  }

  .credential-grid,
.about-content .credential-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media(max-width:1099px) {
  .reference-heading-actions {
    gap: 24px;
  }
}

@media(max-width:767px) {
  .about-manifesto p {
    font-size: 24px;
    line-height: 1.5;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }

  .about-facts strong {
    font-size: 38px;
  }

  .about-facts .fact-label {
    font-size: 18px;
    margin-top: 8px;
  }

  .reference-section .section-head {
    display: block;
  }

  .reference-heading-actions {
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
  }

  .reference-heading-actions .text-link {
    font-size: 18px;
  }

  .reference-card {
    gap: 26px;
  }

  .reference-author {
    gap: 12px;
  }

  .reference-author h3 {
    font-size: 22px;
  }

  .reference-author p {
    font-size: 14px;
  }

  .reference-card blockquote {
    font-size: 18px;
    line-height: 1.65;
  }

  .reference-card>.text-link {
    font-size: 16px;
  }

  .reference-grid {
    columns: 1;
  }

  .reference-full .reference-body {
    font-size: 18px;
  }

  .content-section .record-title {
    font-size: 24px;
  }

  .content-section .record-meta {
    font-size: 14px;
  }

  .about-content .content-section:first-child .standfirst {
    font-size: 24px;
  }

  .about-content .resume-role {
    font-size: 18px;
  }

  .resume-nav {
    gap: 12px 24px;
    margin-bottom: 40px;
  }

  .resume-nav a {
    font-size: 18px;
  }

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

  .credential {
    padding: 26px;
  }

  .credential-header {
    gap: 16px;
    margin-bottom: 22px;
  }

  .credential h3 {
    font-size: 24px;
  }

  .credential-title {
    font-size: 18px;
  }

  .credential-meta {
    font-size: 14px;
  }

  .reference-card {
    padding: 24px;
  }

  .reference-author {
    align-items: flex-start;
  }
}

@media print {
  .reference-window {
    overflow: visible;
  }

  .reference-track {
    display: block;
  }

  .reference-card {
    break-inside: avoid;
    margin-bottom: 24px;
  }
}

.about-content .content-section .section-content,
.about-content .content-section>h2 {
  margin-inline: 0;
  max-width: none;
  text-align: left;
}

.case-highlights .content-record {
  background: var(--ground);
}

.case-highlights .record-identity h3 {
  margin: 0;
}

.record-list .reference-full {
  background: var(--surface);
}

.record-list .reference-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.record-list .reference-author img {
  width: 56px;
  height: 56px;
}

.record-list .reference-author h3 {
  font-size: var(--type-subhead);
  line-height: 1.25;
  max-width: 20ch;
}

.record-list .reference-author p {
  font-size: var(--step-small);
  line-height: 1.6;
  max-width: 28ch;
}

.record-list .reference-body {
  font-size: var(--step-body);
  line-height: 1.75;
  margin: 0;
  max-width: 68ch;
}

.record-list .reference-body p {
  font-size: inherit;
  line-height: inherit;
}

.record-list .reference-body p+p {
  margin-top: 1.15em;
}

@media(max-width:767px) {
  .record-list .reference-author {
    flex-direction: row;
    gap: 16px;
  }

  .record-list .reference-author img {
    width: 48px;
    height: 48px;
  }

  .record-list .reference-author h3 {
    font-size: 24px;
  }

  .record-list .reference-author p {
    font-size: 14px;
  }

  .record-list .reference-body {
    font-size: 18px;
    line-height: 1.7;
  }
}

.reference-author img,
.record-identity img,
.credential-header img {
  border-radius: 12px;
}

.record-list {
  display: flex;
  flex-direction: column;
  columns: auto;
}

.content-record {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,2fr);
  align-items: start;
  background: var(--surface);
  border-radius: var(--radius-card);
  margin: 0;
  scroll-margin-top: 130px;
}

.content-record .record-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 0;
}

.content-record .record-identity img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
}

.content-record .record-identity h3 {
  font-size: var(--type-subhead);
  line-height: 1.25;
  max-width: 20ch;
}

.content-record .resume-role {
  font-size: var(--step-body);
  line-height: 1.5;
  margin-top: 16px;
  max-width: 28ch;
}

.content-record .record-meta {
  font-size: var(--step-small);
  line-height: 1.6;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.content-record .record-body {
  max-width: 64ch;
  min-width: 0;
  margin: 0;
  font-size: var(--step-body);
  line-height: 1.7;
}

.content-record .record-body p,
.content-record .record-body li {
  font-size: inherit;
  line-height: inherit;
}

.content-record .record-body>div+div,
.content-record .record-body p+p {
  margin-top: 1.2em;
}

.content-record .record-body ul {
  padding-left: 1.2em;
  margin: 0;
}

.content-record .record-body li {
  margin: 0 0 .9em;
}

.content-record .reference-author p {
  font-size: var(--step-small);
  max-width: 28ch;
}

.about-content .content-section:nth-child(even) .content-record {
  background: var(--ground);
}

@media(min-width:1920px) {
  .content-record .record-body {
    max-width: 60ch;
  }
}

@media(max-width:1099px) {
  .content-record {
    grid-template-columns: minmax(0,1fr) minmax(0,1.65fr);
  }
}

@media(max-width:767px) {
  .content-record {
    grid-template-columns: 1fr;
  }

  .content-record .record-identity {
    gap: 18px;
  }

  .content-record .record-identity h3 {
    font-size: 24px;
  }

  .content-record .resume-role,
.content-record .record-body {
    font-size: 18px;
  }

  .content-record .record-identity.reference-author {
    flex-direction: row;
    gap: 16px;
  }

  .content-record .record-identity img {
    width: 48px;
    height: 48px;
  }
}

.case-cover {
  background: var(--dark);
}

.case-nav {
  display: flex;
  background: var(--surface);
}

.case-nav a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.content-section .collection-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.content-section .collection-list img {
  width: 100%;
  height: auto;
}

.project-gallery .section-content {
  max-width: none;
}

.project-highlights {
  background: var(--surface);
}

.project-highlights .section-content {
  max-width: 1100px;
}

.image-dialog {
  background: var(--dark);
}

.image-dialog img {
  object-fit: contain;
}

.image-close {
  position: fixed;
  padding: 8px 0;
}

@media(max-width:767px) {
  .case-nav {
    flex-wrap: wrap;
  }

  .content-section .collection-list {
    grid-template-columns: 1fr;
  }
}

.image-expand {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
}

.case-cover {
  padding: 0 var(--margin) 64px;
}

.case-cover img {
  object-position: 50% 0;
  border-radius: var(--radius-media);
  max-height: none;
  object-fit: contain;
  height: auto;
  width: 100%;
}

.case-nav {
  justify-content: space-between;
  padding: 26px var(--margin);
  font-size: var(--step-body);
  gap: 32px;
}

.project-gallery img {
  border-radius: var(--radius-media);
  height: auto;
  width: 100%;
}

.feature h3 {
  margin-bottom: 16px;
  font-size: var(--type-subhead);
  line-height: 1.25;
}

.image-dialog::backdrop {
  background: var(--dark);
}

.image-dialog {
  color: var(--dark-ink);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-height: none;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 64px 24px 24px;
  overflow: auto;
}

.image-dialog[open] {
  display: flex;
  justify-content: center;
  align-items: safe center;
}

.image-dialog img {
  max-width: calc(94vw - 48px);
  max-height: calc(94svh - 110px);
  border-radius: var(--radius-control);
}

.image-close {
  color: var(--dark-ink);
  right: 24px;
  font-size: var(--step-body);
}

@media(max-width:767px) {
  .case-cover {
    padding: 0 var(--margin) 32px;
  }

  .case-cover img {
    max-height: none;
  }

  .case-nav {
    padding: 24px var(--margin);
    gap: 16px 28px;
    font-size: 16px;
  }

  .feature h3 {
    font-size: 24px;
  }

  .image-dialog {
    padding: 58px 24px 24px;
  }

  .image-dialog img {
    max-width: calc(100vw - 48px);
    max-height: calc(100svh - 110px);
  }

  .image-close {
    font-size: 18px;
    right: 20px;
  }
}

.case-page .case-narrative .section-content,
.case-page .case-narrative>h2 {
  margin-inline: 0;
  max-width: none;
  text-align: left;
}

.case-page .case-narrative .standfirst {
  font-size: var(--step-lead);
  line-height: 1.5;
  max-width: 64ch;
}

.case-page .case-narrative .prose {
  max-width: 72ch;
}

.case-page .content-section h2 {
  font-size: var(--step-head);
  line-height: 1.1;
}

.case-highlights {
  background: var(--surface);
  scroll-margin-top: 96px;
}

.case-highlights .section-content {
  max-width: none;
  margin: 0;
}

.case-highlights h2 {
  margin: 0 0 var(--space-heading);
}

.case-impact {
  background: var(--dark);
  color: var(--dark-ink);
  scroll-margin-top: 96px;
}

.case-impact h2 {
  margin-bottom: var(--space-heading);
}

.case-impact .impact {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 72px 9%;
}

.case-impact .feature {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.case-impact .feature h3.big-number {
  font-size: var(--type-metric);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0;
  color: var(--accent);
  overflow-wrap: normal;
}

.case-impact .feature>div {
  font-size: var(--step-body);
  line-height: 1.6;
  max-width: 42ch;
}

@media(max-width:767px) {
  .case-page .content-section h2 {
    font-size: 34px;
  }

  .case-impact .impact {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .case-impact .feature {
    gap: 16px;
  }

  .case-impact .feature>div {
    font-size: 18px;
    max-width: 40ch;
  }
}

.project-gallery {
  border-radius: 0;
  background: transparent;
}

.project-gallery>.content-container {
  max-width: none;
  width: 100%;
}

.project-gallery .media-frame {
  padding: 0;
  background: var(--ground);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.project-gallery .image-expand {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

.project-gallery .image-expand img {
  border-radius: inherit;
}

@media(max-width:767px) {
  .project-gallery .media-frame {
    padding: 0;
  }
}

.media-link img {
  transition: transform 350ms var(--ease-out),filter 350ms ease;
  transform-origin: center;
}

.media-link:focus-visible img {
  transform: scale(1.025);
}

.media-link:active img {
  transform: scale(.99);
  transition-duration: var(--press);
}

.image-close {
  z-index: 1;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.case-cover .media-motion {
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.case-cover .media-motion img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.case-page .project-intro {
  position: relative;
  padding-bottom: clamp(32px,3vw,56px);
}

.case-page .project-intro>p:last-of-type {
  font-size: var(--step-small);
  margin-top: 20px;
}

@media(min-width:1100px) {
  .case-page .project-intro {
    min-height: 78svh;
    box-sizing: border-box;
    padding: var(--case-top,112px) var(--margin) 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}

.case-page .case-cover .media-motion {
  animation: none!important;
  transform: none!important;
}

.case-page .case-cover {
  position: sticky;
  top: var(--case-top,96px);
  height: calc(100svh - var(--case-top,96px) - 24px);
  padding: 0 var(--margin);
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: clip;
  scroll-margin-top: var(--case-top,96px);
}

@media(max-width:1099px) {
  .case-page .project-intro {
    position: relative;
    min-height: 80svh;
    box-sizing: border-box;
    padding: var(--case-top,96px) var(--margin) 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .case-page .case-cover {
    height: calc(90svh - var(--case-top,96px));
    min-height: 0;
    align-items: flex-start;
    padding-top: clamp(24px,4svh,48px);
    box-sizing: border-box;
  }
}

@media(max-width:767px) {
  .case-page .project-intro>p:last-of-type {
    font-size: 16px;
  }

  .case-page .project-intro {
    min-height: 0;
    justify-content: flex-start;
    padding: calc(var(--case-top,96px) + 24px) var(--margin) 80px;
  }

  .case-page .case-cover {
    height: calc(var(--case-image-height) + 48px);
    padding-top: 24px;
  }
}

.case-figure {
  margin: 0;
}

.project-gallery .case-figure {
  position: relative;
  background: var(--ground);
  overflow: hidden;
}

.case-caption {
  max-width: 75ch;
  padding: clamp(20px,2vw,32px) clamp(40px,4vw,64px);
  color: var(--dark-ink);
  background: var(--dark);
  font-size: clamp(1.125rem,1.03rem + .28vw,1.375rem);
  line-height: 1.5;
}

.case-caption-title {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.case-caption p {
  margin: 8px 0 0;
  font-size: inherit;
  line-height: inherit;
}

.image-dialog figure {
  margin: 0;
  flex-shrink: 0;
  width: min(100%,calc((94svh - 280px) * 1.5));
}

.image-dialog figure:has(.case-caption[hidden]) {
  width: min(100%,calc((94svh - 110px) * 1.5));
}

.image-dialog .case-caption {
  padding: 20px 24px 8px;
}

.image-dialog figure img {
  display: block;
  max-height: calc(94svh - 280px);
  margin-inline: auto;
}

.image-dialog figure:has(.case-caption[hidden]) img {
  max-height: calc(94svh - 110px);
}

@media(min-width:1100px) and (hover:hover) and (pointer:fine) {
  .case-figure > .case-caption {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    max-width: none;
    max-height: 100%;
    overflow: auto;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity var(--hover) ease,transform var(--hover) var(--ease-expo);
  }

  .case-figure:is(:hover,:focus-within):not(.caption-dismissed) > .case-caption {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media(max-width:1099px), (hover:none), (pointer:coarse) {
  .project-gallery .case-figure {
    background: transparent;
    overflow: visible;
  }

  .image-dialog .case-caption {
    padding: 0;
    margin-top: 16px;
  }

  .case-figure > .case-caption {
    padding: 0;
    margin-top: 16px;
    color: var(--ink);
    background: transparent;
  }
}

@media(max-width:767px) {
  .image-dialog figure {
    width: 100%;
  }

  .image-dialog figure img {
    max-height: 48svh;
  }
}

@media print {
  .case-figure > .case-caption {
    position: static;
    opacity: 1;
    transform: none;
    max-height: none;
  }
}

.image-expand {
  cursor: zoom-in;
}

.zoom-cursor {
  display: none;
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  pointer-events: none;
}

.zoom-cursor > span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--accent-ink);
  background: var(--accent);
  opacity: 0;
  transform: translate(-50%,-50%) scale(.85);
  transition: opacity 160ms ease,transform 160ms var(--ease-expo);
}

.zoom-cursor .ui-icon {
  width: 40px;
  height: 40px;
}

.zoom-cursor.is-visible > span {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

.contact-link span {
  font-size: inherit;
}

.contact-link {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: var(--step-body);
  padding: 8px 0;
}

.contact-link span {
  display: inline-flex;
  align-items: center;
  transform: none;
}

.contact-link .ui-icon {
  width: 22px;
  height: 22px;
}

.contact-dialog {
  width: min(560px,calc(100vw - 40px));
  max-width: none;
  max-height: calc(100svh - 40px);
  padding: 36px;
  margin: auto;
  border-radius: var(--radius-dialog);
  background: var(--ground);
  color: var(--ink);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: rgba(6,19,16,.82);
}

.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.contact-modal-header h2 {
  font-size: clamp(2rem,3vw,3rem);
  line-height: 1.1;
}

.contact-close {
  margin-top: -8px;
  margin-right: -8px;
  flex: none;
}

.contact-intro p {
  font-size: var(--step-body);
  line-height: 1.6;
  margin-top: 24px;
  max-width: 44ch;
}

.contact-request-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-request-form label {
  font-size: var(--step-body);
  font-weight: 500;
}

.contact-request-form input[type=email] {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  padding: 16px 18px;
  font-size: var(--step-body);
  caret-color: var(--ink);
}

.contact-request-form input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.contact-request-form input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.request-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 12px;
}

.contact-privacy,
.contact-feedback {
  font-size: var(--step-small);
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: 48ch;
}

.contact-feedback:empty {
  display: none;
}

.contact-success {
  padding-top: 32px;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media(max-width:767px) {
  .contact-dialog {
    width: calc(100vw - 32px);
    max-height: calc(100svh - 32px);
    padding: 28px;
    border-radius: 20px;
  }

  .contact-modal-header {
    gap: 16px;
  }

  .contact-modal-header h2 {
    font-size: 32px;
  }

  .contact-intro p,
.contact-request-form label,
.contact-request-form input[type=email] {
    font-size: 18px;
  }

  .contact-request-form {
    margin-top: 28px;
  }

  .contact-request-form input[type=email] {
    min-height: 60px;
  }

  .request-submit {
    font-size: 18px;
  }

  .contact-privacy,
.contact-feedback {
    font-size: 14px;
  }
}

@media print {
  .contact-dialog {
    display: none!important;
  }
}

.contact-dialog::backdrop {
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 280ms ease;
}

.contact-dialog[open]::backdrop {
  opacity: 1;
}

.contact-dialog.is-closing::backdrop {
  opacity: 0;
  transition-duration: 180ms;
}

@starting-style {
  .contact-dialog[open]::backdrop {
    opacity: 0;
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--dark);
  color: var(--dark-ink);
  padding: var(--space-section) var(--margin) 28px;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  align-items: start;
  gap: 10%;
}

.footer-invitation h2 {
  font-size: var(--step-head);
  line-height: 1.1;
  max-width: 22ch;
  letter-spacing: -.03em;
}

.footer-statement {
  margin-top: 28px;
  max-width: 45ch;
}

.footer-statement p {
  font-size: var(--step-body);
  line-height: 1.65;
}

.footer-invitation .button {
  margin-top: 28px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding-top: 6px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-group h3 {
  font-size: var(--type-subhead);
  line-height: 1.25;
  margin: 0 0 14px;
}

.footer-group a {
  font-size: var(--step-body);
  line-height: 1.4;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-group a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.footer-name {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  font-size: clamp(3rem,11.7vw,20rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 80px 0 40px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: var(--step-small);
}

.footer-bottom p {
  font-size: inherit;
  line-height: 1.5;
}

.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media(max-width:1099px) {
  .footer-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 8%;
  }

  .site-footer nav {
    gap: 24px;
  }
}

@media(max-width:767px) {
  .site-footer {
    padding: 72px var(--margin) 24px;
  }

  .footer-layout {
    display: block;
  }

  .footer-invitation h2 {
    font-size: 34px;
    max-width: none;
  }

  .footer-statement p {
    font-size: 18px;
  }

  .site-footer nav {
    margin-top: 48px;
    gap: 24px;
    padding-top: 0;
  }

  .footer-group h3 {
    font-size: 24px;
  }

  .footer-group a {
    font-size: 18px;
  }

  .footer-name {
    display: block;
    font-size: 16.2vw;
    margin: 64px 0 32px;
  }

  .footer-name span {
    display: block;
  }

  .footer-name span:last-child {
    text-align: right;
  }

  .footer-bottom {
    font-size: 14px;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}

.content-section {
  padding: var(--space-section) var(--margin);
}

.site-header,
.menu-dialog,
.site-footer,
.page-intro,
.article-intro {
  padding-inline: var(--margin);
}

.content-section > .content-container {
  width: 100%;
}

.content-section.project-gallery {
  margin: 0;
  padding-top: 0;
  background: transparent;
  border-radius: 0;
}

.content-section.project-gallery ~ .project-gallery {
  padding-top: var(--space-section);
  padding-bottom: 0;
}

.collection-list,
.content-section .collection-list,
.related-projects,
.article-list {
  gap: var(--gap-collection);
}

.record-list,
.credential-grid,
.reference-track {
  gap: var(--gap-record);
}

.content-record {
  padding: var(--space-card);
  gap: var(--gap-collection);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

dialog {
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.reference-window {
  scroll-behavior: smooth;
  cursor: grab;
}

.reference-window.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.reference-window.is-dragging * {
  cursor: grabbing;
  user-select: none;
}

@media(prefers-reduced-motion:reduce) {
  html,
dialog,
.reference-window {
    scroll-behavior: auto;
  }
}

.reference-window {
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y pinch-zoom;
  --reference-visible: 3;
  width: calc(100% + 2 * var(--margin));
  margin-inline: calc(-1 * var(--margin));
  border-radius: 0;
  scroll-padding-inline: 0;
}

.reference-track .reference-card {
  flex: 0 0 calc((100% - (var(--reference-visible) - 1) * var(--gap-record)) / var(--reference-visible));
}

@media(min-width:768px) and (max-width:1099px) {
  .reference-window {
    --reference-visible: 2;
  }
}

@media(max-width:767px) {
  .reference-window {
    width: 100%;
    margin-inline: 0;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    cursor: auto;
  }

  .reference-track {
    flex-direction: column;
  }

  .reference-track .reference-card {
    flex: none;
    width: 100%;
  }

  .reference-track > [data-clone] {
    display: none;
  }

}

@media print {
  .reference-track > .reference-card:not([data-clone]) {
    display: flex!important;
  }

  .reference-window {
    width: 100%;
    margin: 0;
  }

  .reference-track > [data-clone] {
    display: none;
  }
}

.project-row h3,
.related-projects h3,
.article-entry h3 {
  font-size: var(--type-item-title);
  letter-spacing: -.025em;
  line-height: 1.15;
}

/* Section actions share one source position; grid places them beside headings above phones. */
.home-page .content-section:has(> .section-link) {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  column-gap: 40px;
}

.home-page .content-section:has(> .section-link) > .section-head {
  grid-column: 1;
  grid-row: 1;
}

.home-page .content-section > .section-link {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: var(--space-heading);
}

.home-page .content-section:has(> .section-link) > :not(.section-head,.section-link) {
  grid-column: 1 / -1;
}

.section-head > h2 {
  margin-bottom: 0;
}

@media(min-width:768px) {
  .section-head {
    align-items: center;
  }
  .home-page .content-section > .section-link {
    align-self: center;
  }
}

.text-link {
  gap: 10px;
  transition: color var(--hover) ease,text-decoration-color var(--hover) ease;
}

.text-link > .ui-icon {
  transition: transform var(--hover) var(--ease-out);
}

.text-link:is(:hover,:focus-visible) > .ui-icon {
  transform: translate(2px,-2px);
}

@media(max-width:767px) {
  .home-page .content-section:has(> .section-link) {
    grid-template-columns: minmax(0,1fr);
  }

  .home-page .content-section > .section-link {
    grid-column: 1;
    grid-row: auto;
    order: 1;
    justify-self: start;
    margin: 32px 0 0;
  }

  .home-page .reference-heading-actions {
    display: none;
  }
}

@media(prefers-reduced-motion:no-preference) {
  .name-line>span {
    animation: name-rise 900ms var(--ease-expo) both;
  }

  .name-line:last-child>span {
    animation-delay: 100ms;
  }

  @keyframes name-rise {
    from {
      transform: translateY(112%);
    }

    to {
      transform: translateY(0);
    }
  }

  @keyframes menu-in {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

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

  @keyframes menu-link-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }

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

  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: page-out 160ms ease both;
  }

  ::view-transition-new(root) {
    animation: page-in 180ms var(--ease-expo) both;
  }

  @keyframes page-out {
    to {
      opacity: 0;
    }
  }

  @keyframes page-in {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}

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

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

@media(prefers-reduced-motion:no-preference) {
  .preview-image {
    transition: opacity 320ms ease,transform 700ms var(--ease-expo);
  }

  .article-thumb img,
.related-projects img {
    transition: transform 700ms var(--ease-expo);
  }

  .related-projects a:hover img {
    transform: scale(1.025);
  }
}

@media(prefers-reduced-motion:reduce) {
  .reference-window {
    scroll-behavior: auto;
  }

  .menu-dialog nav :is(a,button) {
    transition: none;
  }

  .menu-dialog nav :is(a,button):is(:hover,:focus-visible) {
    transform: none;
  }
}

@keyframes logo-drift {
  to {
    transform: translateX(-50%);
  }
}

@media(prefers-reduced-motion:reduce) {
  .logo-track {
    animation: none;
    width: 100%;
  }

  .logo-group {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    width: 100%;
    padding: 0 var(--margin);
    gap: 24px;
  }

  .logo-group[aria-hidden] {
    display: none;
  }

  .client-logo {
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: center;
  }
}

@media(prefers-reduced-motion:reduce) and (max-width:767px) {
  .logo-group {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }

  .client-logo {
    width: 100%;
  }
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .media-link:hover img {
    transform: scale(1.025);
    filter: contrast(1.02);
  }
}

@media(prefers-reduced-motion:reduce) {
  .media-link img {
    transition: none;
  }

  .media-link:is(:hover,:focus-visible,:active) img {
    transform: none;
    filter: none;
  }

  .work-filters button,
.work-filters button::after,
.contact-dialog::backdrop {
    transition: none;
  }
}

@media(prefers-reduced-motion:no-preference) {
  .hero-scroll-cue .ui-icon {
    animation: hero-scroll-prompt 1800ms var(--ease-in-out,ease-in-out) infinite;
  }
}

@keyframes hero-scroll-prompt {
  0%, 70%, 100% {
    transform: translateY(0);
    opacity: .65;
  }

  35% {
    transform: translateY(8px);
    opacity: 1;
  }
}

@media(prefers-reduced-motion:reduce) {
  .case-hero-scene {
    height: auto;
  }

  .case-page .case-cover {
    position: relative;
    top: auto;
    height: auto;
    padding-bottom: 0;
  }

  .case-page .case-cover .case-hero-media {
    width: 100%;
    transform: none!important;
    box-shadow: none;
  }
}

@media(prefers-reduced-motion:no-preference) {
  .reveal-item {
    transition: opacity var(--reveal) var(--ease-expo),transform var(--reveal) var(--ease-expo);
  }

  .reveal-item:not(.is-visible) {
    opacity: 0;
    transform: translateY(16px);
  }

  .reveal-item.is-above-view:not(.is-visible) {
    transform: translateY(-16px);
  }

  .reveal-item.is-visible,
.reveal-item:focus-visible,
.reveal-item:focus-within {
    opacity: 1;
    transform: translateY(0);
  }
}

@media print, (prefers-reduced-motion:reduce) {
  .reveal-item {
    opacity: 1!important;
    transform: none!important;
    transition: none!important;
  }
}

@media(min-width:768px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .brand-mark>img {
    display: none;
  }

  .brand-mark .brand-eye {
    display: block;
  }

  .brand:hover .brand-mark {
    transform: scale(1.04);
  }

  .brand:active .brand-mark {
    transform: scale(.96);
  }
}

@media(prefers-reduced-motion:reduce) {
  .brand-mark {
    transition: none;
  }
}

@keyframes hero-text-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@media(prefers-reduced-motion:no-preference) {
  .hero-entrance > :not(.hero-scroll-cue) {
    animation: hero-text-enter 700ms var(--ease-expo) both;
  }

  .hero-entrance > :nth-child(2) {
    animation-delay: 60ms;
  }

  .hero-entrance > :nth-child(3) {
    animation-delay: 120ms;
  }

  .hero-entrance > :nth-child(4) {
    animation-delay: 180ms;
  }

  .hero-entrance > :nth-child(5) {
    animation-delay: 240ms;
  }

  .hero-entrance > :focus-within {
    animation: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  .case-figure > .case-caption {
    transition: none;
    transform: none;
  }
}

@media(min-width:768px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .zoom-cursor {
    display: block;
  }

  .image-expand.has-zoom-cursor {
    cursor: none;
  }
}
