:root {
  color-scheme: dark;
  --background: #080808;
  --foreground: #fafafa;
  --card: #121212;
  --card-soft: rgba(255, 255, 255, 0.035);
  --muted: #272727;
  --muted-foreground: rgba(250, 250, 250, 0.62);
  --faint: rgba(250, 250, 250, 0.42);
  --border: rgba(250, 250, 250, 0.14);
  --border-strong: rgba(250, 250, 250, 0.28);
  --ring: rgba(250, 250, 250, 0.6);
  --success: #34d399;
  --accent-work: #f2c27b;
  --accent-gallery: #84d8ff;
  --accent-article: #efad9c;
  --radius: 0.25rem;
  --font-display: "STIX Two Text", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 88px;
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--background);
  background: var(--foreground);
}

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

a {
  color: inherit;
  text-decoration-color: rgba(250, 250, 250, 0.36);
  text-underline-offset: 0.18em;
  transition: color 220ms ease, opacity 220ms ease, text-decoration-color 220ms ease;
}

a:hover {
  color: rgba(250, 250, 250, 0.72);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  touch-action: manipulation;
}

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

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  transform: translateY(-150%);
  background: var(--foreground);
  color: var(--background);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.container {
  width: min(100% - 3rem, 1280px);
  margin-inline: auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 500ms ease, background-color 500ms ease, border-color 500ms ease, backdrop-filter 500ms ease;
}

.nav.is-scrolled {
  padding: 1rem 0;
  background: rgba(8, 8, 8, 0.82);
  border-bottom-color: rgba(250, 250, 250, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.2rem, 2.6vw, 2rem);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  font-weight: 400;
}

.nav-brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-links a {
  position: relative;
  color: rgba(250, 250, 250, 0.62);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: rgba(250, 250, 250, 0.56);
  transition: transform 220ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--foreground);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 9.5rem;
  padding: 0.85rem 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.25rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  inset: 0.55rem 0 0;
  z-index: -1;
  background: rgba(8, 8, 8, 0.9);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  padding: 0.58rem 0.9rem;
  white-space: nowrap;
}

.nav-dropdown a::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-cta,
.btn,
.mobile-menu-toggle,
.mobile-nav-panel button,
.ai-chat-close,
.ai-chat-reset,
.ai-chat-send {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(250, 250, 250, 0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1.15rem;
  color: var(--foreground);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease, opacity 220ms ease;
}

.nav-cta:hover,
.btn-secondary:hover,
.mobile-menu-toggle:hover,
.mobile-nav-panel button:hover,
.ai-chat-close:hover,
.ai-chat-reset:hover {
  color: var(--foreground);
  background: rgba(250, 250, 250, 0.05);
  border-color: rgba(250, 250, 250, 0.4);
  transform: translateY(-1px);
}

.btn-primary,
.ai-chat-send {
  color: var(--background);
  background: var(--foreground);
  border-color: var(--foreground);
}

.btn-primary:hover,
.ai-chat-send:hover {
  color: var(--background);
  background: rgba(250, 250, 250, 0.9);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  padding-inline: 0.75rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-menu-toggle span + span {
  margin-top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-nav-panel .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  padding-block: 2rem;
}

.mobile-nav-panel a,
.mobile-nav-panel button {
  color: var(--foreground);
  text-align: left;
  text-decoration: none;
  background: transparent;
}

.mobile-nav-children {
  display: grid;
  gap: 0.8rem;
  margin-top: -0.5rem;
  padding: 0 0 0.35rem 1rem;
}

.mobile-nav-children a {
  color: rgba(250, 250, 250, 0.68);
  font-size: 0.95rem;
}

main {
  min-height: 70svh;
}

.hero {
  min-height: clamp(430px, 56svh, 680px);
  padding: calc(var(--nav-h) + 2.8rem) 0 clamp(3.2rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--background);
}

.home-hero {
  min-height: 92svh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.service-hero {
  min-height: auto;
  padding: calc(var(--nav-h) + 1.7rem) 0 clamp(1.8rem, 3vw, 2.5rem);
  align-items: end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.58)), rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.home-hero::after {
  background: rgba(0, 0, 0, 0.62);
}

.service-hero::after {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.9));
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1100ms ease, transform 8s ease;
}

.hero-media.is-active,
.hero > .hero-media:only-of-type {
  opacity: 1;
  transform: scale(1.06);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.home-hero .hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.service-hero-shell {
  display: block;
}

.service-hero-shell.has-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
}

.service-hero-copy {
  max-width: 780px;
}

.service-hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.94;
  max-width: 13ch;
}

.service-hero .hero-lede {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  color: rgba(250, 250, 250, 0.82);
  font-size: clamp(1.08rem, 1.9vw, 1.45rem);
  line-height: 1.45;
}

.service-hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
}

.service-hero-points li {
  padding-top: 0.8rem;
  color: rgba(250, 250, 250, 0.74);
}

.service-hero .cta-row {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.service-hero-meta {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1.1rem 0 0;
}

.service-hero-meta div {
  display: grid;
  gap: 0.2rem;
}

.service-hero-meta dt {
  color: rgba(250, 250, 250, 0.48);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-hero-meta dd {
  margin: 0;
  color: rgba(250, 250, 250, 0.84);
  font-size: 1rem;
  line-height: 1.45;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--foreground);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
}

.home-hero h1 {
  font-size: clamp(4.6rem, 11vw, 9rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(3rem, 6.4vw, 5.8rem);
}

h3 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
}

p {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.lede,
.hero-lede {
  color: rgba(250, 250, 250, 0.72);
  font-size: clamp(1.12rem, 2.1vw, 1.6rem);
  line-height: 1.45;
  font-weight: 300;
}

.hero-lede {
  max-width: 760px;
  margin: 1.25rem auto 0;
}

.home-hero .hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow,
.content-meta,
.kicker {
  margin: 0 0 1rem;
  color: rgba(250, 250, 250, 0.48);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ai-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
}

.ai-pulse span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: var(--radius);
  background: var(--success);
  animation: pulseDot 1600ms ease-in-out infinite;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.content {
  padding: var(--section-y) 0;
}

.content-service {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.content-service.content--no-hero {
  padding-top: calc(var(--nav-h) + clamp(2rem, 4vw, 3.2rem));
}

.section {
  padding: var(--section-y) 0;
  border-top: 1px solid rgba(250, 250, 250, 0.08);
}

.section:first-child {
  border-top: 0;
}

.content-service .section {
  padding: clamp(1.75rem, 3vw, 2.8rem) 0;
  border-top: 0;
}

.section-header {
  max-width: 850px;
  margin: 0 auto clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.section-header p {
  max-width: 680px;
  margin: 1.4rem auto 0;
  font-size: 1.15rem;
}

.content-service .section-header {
  max-width: 760px;
  margin: 0 0 clamp(1.3rem, 2vw, 1.8rem);
  text-align: left;
}

.content-service .section-header p {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  font-size: 1.02rem;
}

.content-service .split {
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.content-service .two-col,
.content-service .card-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.content-service .card,
.content-service .work-card,
.content-service .article-card {
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.content-service .card h3,
.content-service .work-card h3,
.content-service .article-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
}

.content-service .lede,
.content-service .hero-lede {
  font-size: clamp(1.02rem, 1.9vw, 1.3rem);
}

.content-service .cta-row {
  justify-content: flex-start;
  margin-top: 1rem;
}

.service-offer-list,
.service-keyword-list {
  display: grid;
}

.service-wide-note {
  max-width: 58rem;
  margin: clamp(1.6rem, 3vw, 2.3rem) 0 0;
  padding-top: 1rem;
  color: rgba(250, 250, 250, 0.64);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
}

.service-offer-row,
.service-keyword-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(13rem, 0.38fr);
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: start;
  padding: clamp(1.15rem, 2.4vw, 1.8rem) 0;
  color: inherit;
  text-decoration: none;
}

.service-offer-copy h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(2.15rem, 3.6vw, 3.6rem);
}

.service-offer-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.service-offer-copy h3 a:hover,
.service-offer-copy h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
}

.service-offer-copy p {
  max-width: 52rem;
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
}

.service-offer-index,
.service-offer-tags,
.service-keyword-tags {
  color: rgba(250, 250, 250, 0.52);
  font-size: 0.88rem;
  line-height: 1.55;
}

.service-offer-index {
  color: rgba(250, 250, 250, 0.42);
  font-weight: 600;
}

.service-proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.service-proof-links a,
.service-proof-grid a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(250, 250, 250, 0.86);
  border-radius: var(--radius);
  background: rgba(250, 250, 250, 0.88);
  color: #080808;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.22);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.service-proof-links a:hover,
.service-proof-links a:focus-visible,
.service-proof-grid a:hover,
.service-proof-grid a:focus-visible {
  border-color: var(--foreground);
  background: var(--foreground);
  color: #000;
  transform: translateY(-0.08rem);
}

a.service-keyword-row {
  transition: border-color 240ms ease, transform 240ms ease;
}

a.service-keyword-row:hover,
a.service-keyword-row:focus-visible {
  transform: translateX(0.25rem);
}

.service-keyword-index {
  color: rgba(250, 250, 250, 0.42);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.service-keyword-row h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.95rem, 3.3vw, 3.15rem);
}

.service-keyword-row p {
  max-width: 52rem;
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
}

.service-keyword-tags {
  display: block;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}

.service-detail-item {
  padding-top: 1rem;
}

.service-detail-item h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
}

.service-detail-item p {
  margin-bottom: 0;
}

.service-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-deliverables li {
  padding: 1rem 0;
  color: rgba(250, 250, 250, 0.76);
}

.service-deliverables li:nth-child(odd) {
  padding-right: clamp(1rem, 3vw, 3rem);
}

.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-final-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.4rem);
}

.service-final-cta h2 {
  max-width: 12ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
}

.service-final-cta p {
  max-width: 46rem;
  color: rgba(250, 250, 250, 0.74);
}

.contact-page {
  padding-top: clamp(2rem, 4vw, 3.2rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-grid h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 0.96;
}

.contact-grid p:not(.eyebrow),
.contact-next-step {
  max-width: 38rem;
  color: rgba(250, 250, 250, 0.68);
}

.contact-brief-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-brief-list li {
  color: rgba(250, 250, 250, 0.78);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.contact-next-step {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
}

.work-archive {
  padding: calc(var(--nav-h) + 2rem) 0 var(--section-y);
}

.work-archive-header {
  max-width: 780px;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}

.work-archive-header h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.94;
}

.work-archive-header p {
  margin-left: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 7rem);
  align-items: center;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.split > div:not(.media-frame) {
  max-width: 620px;
}

.studio-section {
  padding: calc(var(--nav-h) + 4rem) 0 clamp(5rem, 10vw, 9rem);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(4rem, 8vw, 7rem);
  align-items: start;
}

.studio-copy {
  display: grid;
  gap: clamp(2rem, 3.6vw, 3.2rem);
  padding-top: 1.2rem;
}

.studio-intro {
  margin-bottom: clamp(0.5rem, 2vw, 1.25rem);
}

.studio-title {
  font-size: clamp(5.5rem, 11vw, 8rem);
  line-height: 0.92;
}

.studio-intro .hero-lede {
  margin: 1.2rem 0 0;
  color: rgba(250, 250, 250, 0.64);
}

.studio-block {
  max-width: 690px;
}

.studio-block .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.studio-block .eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: rgba(250, 250, 250, 0.24);
}

.studio-block p:not(.eyebrow) {
  color: rgba(250, 250, 250, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.studio-aside {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: grid;
  gap: 1rem;
}

.studio-aside-media,
.studio-aside-panel {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(250, 250, 250, 0.1);
  background:
    radial-gradient(circle at 18% 18%, rgba(132, 216, 255, 0.08), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(242, 194, 123, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.studio-aside-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.studio-aside-panel {
  padding: 1.2rem 1.2rem 1.3rem;
}

.studio-aside-panel .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.studio-aside-panel .eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: rgba(250, 250, 250, 0.24);
}

.studio-timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.studio-timeline-item {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 250, 250, 0.08);
}

.studio-timeline-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.studio-timeline-year {
  color: rgba(250, 250, 250, 0.52);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-timeline-item p {
  margin: 0;
  color: rgba(250, 250, 250, 0.78);
  line-height: 1.65;
}

.studio-practice-links {
  display: grid;
  margin-top: 1rem;
}

.studio-practice-links a {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(250, 250, 250, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, color 220ms ease;
}

.studio-practice-links a:first-child {
  padding-top: 0;
  border-top: 0;
}

.studio-practice-links a:hover {
  transform: translateX(4px);
}

.studio-practice-links strong {
  color: var(--foreground);
  font-size: 1rem;
}

.studio-practice-links span {
  color: rgba(250, 250, 250, 0.66);
  font-size: 0.95rem;
  line-height: 1.55;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
}

.media-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.media-frame img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.media-frame:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.grid,
.card-grid,
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.work-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.2rem, 2.4vw, 2rem);
}

.card,
.feature,
.stat,
.work-card,
.article-card {
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  transition: transform 500ms ease, border-color 500ms ease, background-color 500ms ease, box-shadow 500ms ease;
}

.card:hover,
.work-card:hover,
.article-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(250, 250, 250, 0.28);
  background: rgba(250, 250, 250, 0.025);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.035);
}

.work-card,
.article-card {
  display: block;
  text-decoration: none;
}

.work-card .media-frame,
.article-card .media-frame {
  margin: -0.3rem -0.3rem 1.5rem;
}

.work-card h3,
.article-card h3,
.card h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.work-card h3 a,
.article-card h3 a {
  text-decoration: none;
}

.work-card .btn,
.article-card .btn {
  margin-top: 1rem;
}

.work-archive .work-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.work-archive .work-card:hover {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.work-card-media {
  display: block;
  margin-bottom: 1.25rem;
  color: inherit;
  text-decoration: none;
}

.work-card-media .media-frame {
  display: block;
}

.work-archive .work-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 2.55vw, 2.55rem);
  line-height: 1.02;
}

.work-card-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0 0 0.95rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(250, 250, 250, 0.12);
  color: rgba(250, 250, 250, 0.52);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.work-card-year {
  color: rgba(250, 250, 250, 0.72);
  white-space: nowrap;
}

.work-card-sector {
  min-width: 0;
}

.work-archive .work-card p {
  margin: 0;
  color: rgba(250, 250, 250, 0.68);
  line-height: 1.62;
}

.inline-list,
.list-grid {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-list li,
.pill,
.list-grid li {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.65rem 0.9rem;
  color: rgba(250, 250, 250, 0.62);
  background: transparent;
  font-size: 0.95rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.2rem;
}

.stat strong {
  display: block;
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 0.5rem;
  color: var(--faint);
}

.conference-page {
  display: grid;
}

.conference-columns,
.conference-notes-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
}

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

.conference-notes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.conference-column,
.conference-note {
  min-width: 0;
}

.conference-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.conference-list li {
  padding: 0 0 0.95rem;
  border-bottom: 1px solid rgba(250, 250, 250, 0.1);
  color: rgba(250, 250, 250, 0.72);
}

.conference-list li + li {
  padding-top: 0.95rem;
}

.conference-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.conference-note {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(250, 250, 250, 0.14);
}

.conference-note p:not(.eyebrow) {
  margin: 0.9rem 0 0;
  color: rgba(250, 250, 250, 0.72);
  line-height: 1.7;
}

.conference-cta-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: clamp(1.8rem, 4vw, 2.4rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.conference-cta-inline p {
  max-width: 40rem;
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
}

.conference-archive {
  column-count: 3;
  column-gap: clamp(1.4rem, 3vw, 2.4rem);
  padding-top: 0.35rem;
}

.conference-entry {
  break-inside: avoid;
  display: grid;
  gap: 0.32rem;
  margin: 0 0 0.8rem;
  padding: 0.95rem 0 1rem;
  border-top: 1px solid rgba(250, 250, 250, 0.12);
}

.conference-entry-title {
  color: rgba(250, 250, 250, 0.78);
  font-weight: 500;
  line-height: 1.35;
}

.conference-entry-meta,
.conference-entry-date {
  color: rgba(250, 250, 250, 0.44);
  font-size: 0.92rem;
}

.conference-entry-date {
  white-space: normal;
}

.home-topics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.home-topics h2 {
  max-width: 11ch;
}

.topic-list {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(250, 250, 250, 0.16);
}

.topic-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.2rem, 2.4vw, 1.8rem) 0;
  border-bottom: 1px solid rgba(250, 250, 250, 0.12);
}

.topic-row > span {
  color: rgba(250, 250, 250, 0.38);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.topic-row h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 0.98;
}

.topic-row p {
  max-width: 44rem;
  margin: 0.8rem 0 0;
  color: rgba(250, 250, 250, 0.66);
  line-height: 1.65;
}

.home-topics-actions {
  justify-content: flex-start;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.home-gallery {
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.home-gallery-wall {
  --grid-width: clamp(7rem, 12vw, 12.5rem);
  --pan-x: 0px;
  --pan-y: 0px;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(24rem, 48vw, 38rem);
  isolation: isolate;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.home-gallery-wall.is-dragging {
  cursor: grabbing;
}

.home-gallery-wall.is-dragging a {
  pointer-events: none;
}

.home-gallery-lattice {
  position: absolute;
  inset: 0;
  transform: translate(55vw, 47%) translate(var(--pan-x), var(--pan-y));
  transition: transform 150ms ease-out;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
  will-change: transform;
}

.home-gallery-wall.is-dragging .home-gallery-lattice {
  transition: none;
}

.home-gallery-cell {
  position: relative;
  transition: filter 250ms ease-out;
  animation: home-gallery-fade-in 350ms cubic-bezier(0.215, 0.61, 0.355, 1) var(--delay) backwards;
}

.home-gallery-cell:hover {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.32));
  z-index: 3;
}

.home-gallery-hex {
  --placement: translate(calc((var(--x) + var(--tile-x, 0)) * 100%), calc((var(--y) + var(--tile-y, 0)) * 86.67%));
  display: block;
  width: var(--grid-width);
  aspect-ratio: 1;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  clip-path: polygon(50% 100%, 93.3% 75%, 93.3% 25%, 50% 0%, 6.7% 25%, 6.7% 75%);
  transform: var(--placement) scale(1.145);
  transform-origin: 50% 50%;
  transition: transform 250ms ease-out;
  animation: home-gallery-drop-in 350ms cubic-bezier(0.215, 0.61, 0.355, 1) var(--delay) backwards;
  will-change: transform;
}

.home-gallery-hex:hover,
.home-gallery-hex:focus-visible {
  transform: var(--placement) translateY(-0.45rem) scale(1.19);
  z-index: 4;
}

.home-gallery-hex picture,
.home-gallery-hex img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-gallery-hex img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.98) brightness(0.96);
  transition: transform 500ms ease, filter 500ms ease;
}

.home-gallery-hex:hover img,
.home-gallery-hex:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.03) brightness(1.02);
}

.client-ledger {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(2.25rem, 5.5vw, 5.5rem);
  align-items: start;
}

.client-ledger-section {
  border-top: 0;
}

.client-ledger-intro {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.client-ledger-intro h2 {
  max-width: 9ch;
  font-size: clamp(3rem, 6.5vw, 6.2rem);
  line-height: 0.92;
}

.client-ledger-list {
  border-top: 1px solid rgba(250, 250, 250, 0.18);
}

.client-ledger-row {
  display: grid;
  grid-template-columns: 3rem minmax(7rem, 0.24fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: baseline;
  padding: clamp(1.15rem, 2.4vw, 1.8rem) 0;
  border-bottom: 1px solid rgba(250, 250, 250, 0.1);
}

.client-ledger-index {
  color: rgba(250, 250, 250, 0.36);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.client-ledger-row strong {
  display: block;
  color: rgba(250, 250, 250, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.client-ledger-row p {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.32em;
  row-gap: 0.04em;
  align-items: baseline;
  margin: 0;
  color: rgba(250, 250, 250, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 3.35rem);
  line-height: 1.05;
}

.client-ledger-row p span {
  display: inline-block;
}

.client-ledger-row p span:not(:last-child)::after {
  content: "·";
  margin-left: 0.32em;
  color: rgba(250, 250, 250, 0.72);
}

@keyframes home-gallery-fade-in {
  from {
    filter: blur(18px);
    opacity: 0;
  }

  to {
    filter: none;
    opacity: 1;
  }
}

@keyframes home-gallery-drop-in {
  from {
    transform: var(--placement) translateY(-2rem) scale(1.19);
    opacity: 0;
  }

  to {
    transform: var(--placement) scale(1.145);
    opacity: 1;
  }
}

.article {
  width: min(100% - 3rem, 920px);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 5rem) 0 7rem;
}

.article h1 {
  font-size: clamp(4rem, 10vw, 7.5rem);
  margin-bottom: 1.4rem;
}

.article-body {
  max-width: 780px;
  margin-top: 4rem;
}

.article-body h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin: 4rem 0 1rem;
}

.article-body h3 {
  margin: 2.5rem 0 0.8rem;
}

.article-body ul,
.article-body ol {
  color: var(--muted-foreground);
  padding-left: 1.2rem;
}

.article-body li + li {
  margin-top: 0.55rem;
}

.work-hero {
  min-height: clamp(520px, 72svh, 820px);
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #030303;
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
}

.work-hero-media {
  position: absolute;
  inset: 0;
}

.work-hero-media picture,
.work-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.work-hero-media img {
  object-fit: cover;
  filter: brightness(0.64) saturate(0.95);
  transform: scale(1.01);
}

.work-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.86));
}

.work-hero-content {
  position: relative;
  z-index: 1;
}

.work-title {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 13ch;
}

.work-lede {
  max-width: 680px;
  margin-top: 1rem;
  color: rgba(250, 250, 250, 0.72);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.work-breadcrumb {
  margin-bottom: 1.5rem;
}

.work-breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.work-main {
  width: min(100% - 3rem, 1040px);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4.25rem) 0 7rem;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(8rem, 0.26fr) minmax(0, 680px);
  gap: clamp(1.2rem, 4vw, 3.5rem);
  padding: clamp(1.45rem, 3vw, 2.55rem) 0;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.work-section h2 {
  grid-row: 1 / -1;
  margin: 0;
  color: rgba(250, 250, 250, 0.86);
  font-size: clamp(1.28rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.work-section p {
  grid-column: 2;
  max-width: 640px;
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

.work-section p + p {
  margin-top: 1rem;
}

.work-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding: 1rem 0;
  border-top: 1px solid rgba(250, 250, 250, 0.14);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
}

.work-meta-label {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-meta-value {
  display: block;
  margin-top: 0.4rem;
  color: var(--foreground);
}

.work-media-section {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(1.4rem, 3vw, 2.3rem);
  border-top: 1px solid rgba(250, 250, 250, 0.16);
}

.work-media-heading {
  text-align: center;
  margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem);
}

.work-media-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.work-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  max-width: 1120px;
  margin: 0 auto;
}

.work-gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.work-gallery-item--hero {
  grid-column: auto;
  grid-row: auto;
}

.work-gallery--pair {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.work-gallery--pair .work-gallery-item--hero {
  grid-column: auto;
  grid-row: auto;
}

.work-gallery--carousel {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 0 0.85rem;
  scroll-padding-inline: max(0px, calc((100vw - 1120px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.work-gallery--carousel .work-gallery-item {
  flex: 0 0 min(78vw, 760px);
  scroll-snap-align: center;
}

.work-gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.work-gallery-item img {
  display: block;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.work-gallery-item--hero img {
  aspect-ratio: 16 / 10;
}

.work-gallery-item:hover img,
.work-gallery-item:focus-visible img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.gallery-wall {
  padding: calc(var(--nav-h) + 1.35rem) clamp(1rem, 2vw, 2rem) var(--section-y);
}

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

.gallery-toolbar {
  position: sticky;
  top: calc(var(--nav-h) + 0.75rem);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: 0 auto clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 999px;
  padding: 0.35rem;
  background: rgba(8, 8, 8, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gallery-toolbar button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: rgba(250, 250, 250, 0.56);
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  transition: color 220ms ease, background-color 220ms ease;
}

.gallery-toolbar button:hover,
.gallery-toolbar button.is-active {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.08);
}

.gallery-masonry {
  column-count: 4;
  column-gap: clamp(0.75rem, 1.3vw, 1.25rem);
}

.gallery-tile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(0.75rem, 1.3vw, 1.25rem);
  overflow: hidden;
  color: var(--foreground);
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease, filter 500ms ease;
}

.gallery-tile.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tile.is-hidden {
  display: none;
}

.gallery-tile-media,
.gallery-tile-media picture,
.gallery-tile-media img {
  display: block;
  width: 100%;
}

.gallery-tile-media img {
  background: rgba(255, 255, 255, 0.035);
  filter: saturate(0.92) brightness(0.92);
  transition: transform 900ms ease, filter 900ms ease;
}

.gallery-tile--1 img,
.gallery-tile--4 img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-tile--2 img,
.gallery-tile--5 img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-tile--0 img,
.gallery-tile--3 img,
.gallery-tile--6 img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.gallery-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.18rem;
  padding: 3rem 0.9rem 0.85rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent);
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.gallery-tile-caption span {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 0.95;
}

.gallery-tile-caption small {
  color: rgba(250, 250, 250, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  filter: saturate(1.05) brightness(1.08);
  transform: scale(1.04);
}

.gallery-tile:hover .gallery-tile-caption,
.gallery-tile:focus-visible .gallery-tile-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-viewer[hidden] {
  display: none;
}

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(2, 2, 2, 0.96);
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-viewer.is-open {
  opacity: 1;
}

.gallery-viewer-stage {
  position: absolute;
  inset: clamp(1rem, 2vw, 2rem);
  display: grid;
  place-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-viewer.is-changing .gallery-viewer-stage {
  opacity: 0.18;
  transform: scale(0.992);
}

.gallery-viewer-stage picture,
.gallery-viewer-stage img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-viewer-stage picture {
  position: absolute;
  inset: 0;
}

.gallery-viewer-stage img {
  object-fit: contain;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.48);
}

.gallery-viewer-top {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.gallery-viewer-button,
.gallery-viewer-arrow {
  border: 1px solid rgba(250, 250, 250, 0.16);
  color: var(--foreground);
  background: rgba(8, 8, 8, 0.58);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-viewer-button {
  min-height: 38px;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
}

.gallery-viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: clamp(44px, 5vw, 64px);
  height: clamp(44px, 5vw, 64px);
  border-radius: 999px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.8;
  transform: translateY(-50%);
}

.gallery-viewer-arrow--prev {
  left: max(1rem, env(safe-area-inset-left));
}

.gallery-viewer-arrow--next {
  right: max(1rem, env(safe-area-inset-right));
}

.gallery-viewer-button:hover,
.gallery-viewer-arrow:hover {
  border-color: rgba(250, 250, 250, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.gallery-viewer-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.gallery-viewer-info {
  position: absolute;
  left: max(1.25rem, env(safe-area-inset-left));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 2;
  width: min(680px, calc(100% - 2.5rem));
  padding: 0.72rem 0.9rem;
  color: rgba(250, 250, 250, 0.76);
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid rgba(250, 250, 250, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 650ms ease, transform 650ms ease;
}

.gallery-viewer.is-ready .gallery-viewer-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery-viewer.is-info-hidden .gallery-viewer-info {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

.gallery-viewer-kicker {
  margin: 0 0 0.18rem;
  color: rgba(250, 250, 250, 0.52);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-viewer-info h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.gallery-viewer-info p[data-gallery-summary],
.gallery-viewer-info p[data-lightbox-summary] {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0.35rem 0 0;
  color: rgba(250, 250, 250, 0.66);
  font-size: 0.86rem;
  line-height: 1.35;
}

.gallery-viewer-count {
  position: absolute;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 2;
  margin: 0;
  color: rgba(250, 250, 250, 0.42);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-work-stage {
  padding: calc(var(--nav-h) + 1.4rem) 0 1.5rem;
}

.gallery-work-stage--text {
  min-height: 58svh;
  display: flex;
  align-items: flex-end;
}

.gallery-work-heading {
  max-width: 920px;
}

.gallery-work-heading h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
}

.gallery-work-frame {
  display: grid;
  place-items: center;
  min-height: clamp(460px, 72svh, 920px);
  margin: 1.5rem 0 0;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-work-frame picture {
  display: grid;
  place-items: center;
  width: 100%;
}

.gallery-work-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: clamp(420px, 68svh, 860px);
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.28);
}

.gallery-work-main {
  width: min(100% - 3rem, 1040px);
  margin: 0 auto;
  padding: 2.5rem 0 7rem;
}

.gallery-copy {
  max-width: 760px;
  color: rgba(250, 250, 250, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.6;
}

.gallery-previous-url {
  margin-top: 2rem;
  color: var(--faint);
  font-size: 0.9rem;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.94);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 88svh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--foreground);
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  padding: 0.6rem 0.85rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  padding: 0.7rem 0.95rem;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.cta-banner {
  padding: var(--section-y) 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.04), transparent);
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.cta-banner h3 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.9;
}

.cta-banner-copy p {
  max-width: 40rem;
  margin: 0;
  font-size: 1.2rem;
  color: rgba(250, 250, 250, 0.72);
}

.cta-banner-copy .cta-row {
  justify-content: flex-start;
  margin-top: 1.6rem;
}

footer {
  padding: 4rem 0;
  background: var(--background);
}

footer p {
  margin: 0.35rem 0;
  color: rgba(250, 250, 250, 0.42);
  font-size: 0.95rem;
}

.ai-chat-launcher {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
  cursor: pointer;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.ai-chat-launcher:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-strong);
}

.ai-chat-shell {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ai-chat-shell.is-open {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.ai-chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) 0 0.75rem;
}

.ai-chat-top .nav-actions {
  gap: 0.45rem;
}

.ai-chat-reset,
.ai-chat-close {
  min-height: 34px;
  border-color: rgba(250, 250, 250, 0.12);
  padding: 0.45rem 0.7rem;
  color: rgba(250, 250, 250, 0.58);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  font-weight: 500;
}

.ai-chat-panel {
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.ai-chat-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}

.ai-chat-empty > div {
  width: min(100%, 720px);
}

.ai-chat-empty h2 {
  font-size: clamp(3.6rem, 8vw, 5.4rem);
  line-height: 0.95;
}

.ai-chat-empty p {
  max-width: 520px;
  margin: 0.9rem auto 0;
  color: rgba(250, 250, 250, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.ai-capability {
  color: rgba(250, 250, 250, 0.46);
  font-size: 0.9rem;
}

.ai-tool-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.ai-tool-rail span {
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: rgba(250, 250, 250, 0.58);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
}

.ai-suggestions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.55rem;
  margin-top: 1.7rem;
}

.ai-suggestions button {
  text-align: left;
  min-height: 48px;
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(250, 250, 250, 0.68);
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.35;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.ai-suggestions button:hover {
  color: var(--foreground);
  border-color: rgba(250, 250, 250, 0.24);
  background: rgba(255, 255, 255, 0.055);
}

.ai-message {
  width: fit-content;
  max-width: min(82%, 650px);
  margin: 0 0 0.75rem;
  border: 1px solid rgba(250, 250, 250, 0.1);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  color: rgba(250, 250, 250, 0.76);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.98rem;
  line-height: 1.65;
}

.ai-message.user {
  margin-left: auto;
  color: rgba(250, 250, 250, 0.9);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(250, 250, 250, 0.16);
}

.ai-message-content > * + * {
  margin-top: 0.65rem;
}

.ai-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.ai-message-meta span {
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  color: rgba(250, 250, 250, 0.54);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-message-content p {
  margin: 0;
}

.ai-message-content ul,
.ai-message-content ol {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}

.ai-message-content li + li {
  margin-top: 0.35rem;
}

.ai-message-content h2,
.ai-message-content h3,
.ai-message-content h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.3;
}

.ai-message-content code {
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: 0.35rem;
  padding: 0.08rem 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88em;
}

.ai-message-content a {
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: rgba(250, 250, 250, 0.34);
  text-underline-offset: 0.18em;
}

.ai-message.user .ai-message-content {
  white-space: pre-wrap;
}

.ai-link-cards {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.ai-link-card {
  display: grid;
  gap: 0.15rem;
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--foreground);
  text-decoration: none;
}

.ai-link-card span {
  color: rgba(250, 250, 250, 0.46);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ai-link-card strong {
  font-size: 0.9rem;
}

.ai-link-card p {
  margin: 0.1rem 0 0;
  color: rgba(250, 250, 250, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.ai-chat-form {
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(250, 250, 250, 0.14);
  border-radius: var(--radius);
  background: rgba(12, 12, 12, 0.86);
  padding: 0.35rem;
  margin-bottom: max(1rem, env(safe-area-inset-bottom));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

.ai-chat-composer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.ai-chat-input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--foreground);
  padding: 0.8rem 0.9rem;
}

.ai-chat-input::placeholder {
  color: var(--faint);
}

.ai-chat-input:focus-visible {
  outline: 0;
}

.ai-chat-status {
  color: rgba(250, 250, 250, 0.48);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-chat-send {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 880px) {
  :root {
    --nav-h: 72px;
    --section-y: 4rem;
  }

  .container,
  .article,
  .work-main,
  .gallery-work-main,
  .ai-chat-panel,
  .ai-chat-form {
    width: min(100% - 2rem, 1280px);
  }

  .nav {
    padding: 1.1rem 0;
  }

  .nav.is-scrolled {
    padding: 0.9rem 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: 0.55rem 0.75rem;
  }

  .split,
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .conference-notes-grid {
    grid-template-columns: 1fr;
  }

  .conference-archive {
    column-count: 2;
  }

  .service-keyword-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .service-offer-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .service-offer-tags {
    grid-column: 2;
  }

  .service-keyword-tags {
    grid-column: 2;
  }

  .service-detail-grid,
  .service-deliverables,
  .service-proof-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .service-deliverables li:nth-child(odd) {
    padding-right: 0;
  }

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

  .work-section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .work-section h2,
  .work-section p {
    grid-column: 1;
  }

  .work-section h2 {
    grid-row: auto;
  }

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

  .work-gallery--carousel {
    display: flex;
    grid-template-columns: none;
  }

  .work-gallery-item--hero {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .studio-section {
    padding-top: calc(var(--nav-h) + 3rem);
  }

  .studio-aside {
    position: relative;
    top: auto;
  }

  .studio-aside-media img {
    aspect-ratio: 16 / 10;
  }

  .studio-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .home-hero {
    min-height: 88svh;
    text-align: left;
    align-items: flex-end;
  }

  .home-hero .hero-content {
    margin: 0;
  }

  .service-hero {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 1.4rem;
  }

  .service-hero-shell.has-meta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-hero h1 {
    max-width: 12ch;
  }

  .service-hero-points {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-lede,
  .home-hero .hero-lede {
    margin-left: 0;
    margin-right: 0;
  }

  .cta-row {
    justify-content: flex-start;
  }

  .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .section-header p {
    margin-left: 0;
  }

  .content-service .section-header p {
    max-width: none;
  }

  h1,
  .home-hero h1 {
    font-size: clamp(4rem, 21vw, 6.8rem);
  }

  h2 {
    font-size: clamp(2.75rem, 13vw, 4.6rem);
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .gallery-masonry {
    column-count: 2;
  }

  .home-topics-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-topics h2 {
    max-width: 12ch;
  }

  .home-gallery-wall {
    --grid-width: clamp(6.2rem, 20vw, 7.8rem);
    min-height: clamp(18rem, 60vw, 26rem);
  }

  .home-gallery-lattice {
    transform: translate(55vw, 46%) translate(var(--pan-x), var(--pan-y));
  }

  .client-ledger {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .client-ledger-intro {
    position: relative;
    top: auto;
  }

  .client-ledger-intro h2 {
    max-width: none;
  }

  .client-ledger-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: start;
  }

  .client-ledger-row p {
    grid-column: 2;
  }

  .cta-banner-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-banner h3 {
    max-width: none;
  }

  .gallery-toolbar {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .gallery-tile-caption {
    opacity: 1;
    transform: none;
  }

  .gallery-viewer-stage {
    inset: 4.5rem 1rem 7rem;
  }

  .gallery-viewer-info {
    bottom: max(4rem, env(safe-area-inset-bottom));
    max-height: 24svh;
    overflow-y: auto;
  }

  .gallery-viewer-count {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .gallery-work-frame {
    min-height: 54svh;
    padding: 0.5rem;
  }

  .gallery-work-frame img {
    max-height: 54svh;
  }
}

@media (max-width: 540px) {
  .studio-aside-panel {
    padding: 1rem;
  }

  .studio-practice-links strong {
    font-size: 0.96rem;
  }

  .studio-practice-links span {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
  }

  .work-archive-grid {
    grid-template-columns: 1fr;
  }

  .work-hero {
    min-height: 72svh;
  }

  .work-title {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  .work-media-heading {
    display: block;
  }

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

  .work-gallery--carousel {
    display: flex;
    grid-template-columns: none;
    gap: 0.65rem;
  }

  .work-gallery--carousel .work-gallery-item {
    flex-basis: 84vw;
  }

  .home-gallery-wall {
    --grid-width: 5.4rem;
    min-height: 17rem;
  }

  .home-gallery-lattice {
    transform: translate(55vw, 45%) translate(var(--pan-x), var(--pan-y));
  }

  .home-hero {
    min-height: 86svh;
  }

  .ai-chat-launcher {
    display: none;
  }

  .ai-chat-empty {
    text-align: left;
    place-items: start;
    align-content: center;
  }

  .ai-chat-empty h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .ai-chat-empty p {
    margin-left: 0;
    margin-right: 0;
  }

  .ai-suggestions {
    grid-template-columns: 1fr;
  }

  .ai-message {
    max-width: 94%;
  }

  .ai-chat-form {
    flex-direction: column;
  }

  .ai-chat-send {
    width: auto;
  }

  .gallery-masonry {
    column-count: 1;
  }

  .gallery-wall {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gallery-viewer-top {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    justify-content: space-between;
  }

  .gallery-viewer-arrow {
    width: 42px;
    height: 42px;
    font-size: 2.2rem;
  }

  .gallery-viewer-info {
    left: max(0.75rem, env(safe-area-inset-left));
    width: calc(100% - 1.5rem);
    padding: 0.68rem 0.78rem;
  }

  .gallery-viewer-info h2 {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .gallery-work-stage {
    padding-top: calc(var(--nav-h) + 1rem);
  }

  .gallery-work-heading h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .gallery-work-frame {
    min-height: 44svh;
  }

  .gallery-work-frame img {
    max-height: 44svh;
  }

  .conference-columns,
  .conference-notes-grid {
    grid-template-columns: 1fr;
  }

  .conference-cta-inline {
    flex-direction: column;
  }

  .conference-archive {
    column-count: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-cell,
  .home-gallery-hex {
    animation: none;
  }

  .home-gallery-hex,
  .home-gallery-hex:hover,
  .home-gallery-hex:focus-visible {
    transform: var(--placement) scale(1.145);
  }
}
