:root {
  --background: 44 36% 96%;
  --foreground: 0 0% 10%;
  --secondary: 33 16% 92%;
  --muted: 33 16% 89%;
  --muted-foreground: 36 9% 45%;
  --accent: 36 9% 45%;
  --accent-foreground: 44 36% 96%;
  --border: 33 14% 88%;
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p { margin: 0; }

.font-display { font-family: var(--font-display); letter-spacing: 0.01em; font-weight: 400; }
.label-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}
.rule-line { background: hsl(var(--border)); display: inline-block; height: 1px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .wrap { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s, padding 0.5s, border-color 0.5s;
  padding: 1.75rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom-color: hsl(var(--border) / 0.6);
}
.site-header.on-light { color: hsl(var(--foreground)); }
.site-header.on-dark { color: hsl(var(--background)); }
.site-header.on-dark.scrolled { color: hsl(var(--foreground)); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: baseline; gap: 0.75rem; }
.brand-name { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.02em; line-height: 1; }
@media (min-width: 768px) { .brand-name { font-size: 2rem; } }
.brand-tag { font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.625rem; opacity: 0.7; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-desktop a { font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.6875rem; opacity: 0.85; transition: opacity 0.3s; }
.nav-desktop a:hover { opacity: 1; }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.6875rem;
  padding: 0.85rem 1.4rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-solid { background: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--foreground)); }
.btn-solid:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)); }
.btn-outline-light { background: transparent; color: hsl(var(--background)); border-color: hsl(var(--background) / 0.5); }
.btn-outline-light:hover { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.btn-solid-light { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.btn-solid-light:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.site-header.on-dark:not(.scrolled) .header-cta {
  background: transparent; color: hsl(var(--background)); border-color: hsl(var(--background) / 0.55);
}
.site-header.on-dark:not(.scrolled) .header-cta:hover {
  background: hsl(var(--background)); color: hsl(var(--foreground));
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0.5rem; cursor: pointer; color: inherit;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 60;
  background: hsl(var(--background)); padding: 1.5rem;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav nav a {
  font-family: var(--font-display); font-size: 2.5rem; line-height: 1.1;
}
.mobile-nav .btn-cta { margin-top: 2rem; align-self: flex-start; }

/* Hero */
.hero {
  position: relative; height: 100svh; width: 100%; overflow: hidden;
  background: hsl(var(--foreground)); color: hsl(var(--background));
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.3));
}
.hero-meta-left, .hero-meta-right {
  position: absolute; top: 7rem;
  font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.6875rem; color: hsl(var(--background) / 0.7);
}
@media (min-width: 768px) {
  .hero-meta-left, .hero-meta-right { top: 8rem; }
}
.hero-meta-left { left: 1.5rem; }
.hero-meta-right { right: 1.5rem; display: none; }
@media (min-width: 640px) { .hero-meta-right { display: block; } }
@media (min-width: 768px) {
  .hero-meta-left { left: 2.5rem; }
  .hero-meta-right { right: 2.5rem; }
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.5rem 4rem;
}
@media (min-width: 768px) {
  .hero-content { padding: 2.5rem 2.5rem 5rem; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem; line-height: 1.02; max-width: 20ch;
}
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5.5rem; } }
.hero-lede {
  margin-top: 1.5rem; max-width: 36rem;
  color: hsl(var(--background) / 0.8);
  font-size: 1rem; line-height: 1.6; font-weight: 300;
}
@media (min-width: 768px) { .hero-lede { font-size: 1.125rem; } }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  color: hsl(var(--background) / 0.6);
}
@media (min-width: 768px) { .hero-scroll { right: 2.5rem; } }
.scroll-chevron { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* Sections */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 9rem 0; } }
.section-label { display: block; margin-bottom: 1.25rem; color: hsl(var(--muted-foreground)); }
.section-head {
  display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row; align-items: flex-end; justify-content: space-between;
    margin-bottom: 6rem;
  }
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem; line-height: 1.05; max-width: 16ch;
}
@media (min-width: 768px) { .section-title { font-size: 3.75rem; } }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: hsl(var(--foreground) / 0.7); transition: color 0.3s;
  font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.6875rem;
}
.link-arrow:hover { color: hsl(var(--foreground)); }
.link-arrow svg { transition: transform 0.3s; }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* Featured work */
.case {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
}
@media (min-width: 1024px) {
  .case { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; }
}
.case-media { position: relative; overflow: hidden; background: hsl(var(--secondary)); aspect-ratio: 4/3; }
@media (min-width: 768px) { .case-media { aspect-ratio: 16/11; } }
@media (min-width: 1024px) { .case-media { grid-column: span 8; } }
.case-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease-out;
}
.case:hover .case-media img { transform: scale(1.04); }
.case-body { }
@media (min-width: 1024px) {
  .case-body { grid-column: span 4; padding-left: 0.5rem; }
}
.case-kicker { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; color: hsl(var(--muted-foreground)); }
.case-kicker .rule-line { width: 2.5rem; }
.case h3 { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 768px) { .case h3 { font-size: 2.25rem; } }
.case-excerpt { color: hsl(var(--foreground) / 0.7); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 24rem; }
.case-meta { display: grid; gap: 0.5rem; color: hsl(var(--muted-foreground)); }
.case-meta div {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid hsl(var(--border) / 0.6); padding-bottom: 0.5rem;
}
.case-meta dd { color: hsl(var(--foreground) / 0.8); text-align: right; margin: 0; }
.case-cta { margin-top: 1.75rem; display: inline-flex; align-items: center; gap: 0.5rem; }

/* Studio */
.studio { background: hsl(var(--secondary) / 0.4); border-block: 1px solid hsl(var(--border) / 0.6); }
.studio-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 1024px) {
  .studio-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; }
}
.studio-portrait { }
@media (min-width: 1024px) { .studio-portrait { grid-column: span 4; } }
.studio-portrait-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: hsl(var(--secondary)); }
.studio-portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.studio-portrait-meta {
  margin-top: 1.25rem; display: flex; justify-content: space-between;
  color: hsl(var(--muted-foreground));
}
.studio-copy { }
@media (min-width: 1024px) { .studio-copy { grid-column: span 5; padding-top: 1rem; } }
.studio-copy h2 {
  font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; margin-bottom: 2rem;
}
@media (min-width: 768px) { .studio-copy h2 { font-size: 3rem; } }
.studio-copy .lead {
  color: hsl(var(--foreground) / 0.75); font-size: 1.125rem; line-height: 1.7; margin-bottom: 1.5rem;
}
.studio-copy .sub {
  color: hsl(var(--foreground) / 0.6); font-size: 1rem; line-height: 1.7;
}
.studio-caps { }
@media (min-width: 1024px) {
  .studio-caps { grid-column: span 3; border-left: 1px solid hsl(var(--border) / 0.7); padding-left: 2rem; }
}
.studio-caps ul { display: grid; gap: 0.75rem; }
.studio-caps li {
  font-size: 0.95rem; color: hsl(var(--foreground) / 0.8);
  border-bottom: 1px solid hsl(var(--border) / 0.5); padding-bottom: 0.75rem; line-height: 1.35;
}

/* Clients */
.clients-head {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .clients-head { flex-direction: row; align-items: baseline; justify-content: space-between; }
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: hsl(var(--border) / 0.6);
  border: 1px solid hsl(var(--border) / 0.6);
}
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-cell {
  background: hsl(var(--background));
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem;
  transition: background 0.3s;
}
.logo-cell:hover { background: hsl(var(--secondary) / 0.5); }
.logo-cell img {
  max-height: 2.75rem; max-width: 150px; width: auto; height: auto;
  object-fit: contain; filter: grayscale(1); opacity: 0.85;
  transition: opacity 0.3s, filter 0.3s;
}
.logo-cell:hover img { filter: none; opacity: 1; }

/* Process */
.process {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 6rem 0;
}
@media (min-width: 768px) { .process { padding: 9rem 0; } }
.process-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
}
.process-intro { }
@media (min-width: 1024px) { .process-intro { grid-column: span 4; } }
.process-intro .section-label { color: hsl(var(--background) / 0.5); margin-bottom: 2rem; }
.process-intro h2 {
  font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .process-intro h2 { font-size: 3rem; } }
.process-intro p {
  color: hsl(var(--background) / 0.6); font-size: 1rem; line-height: 1.6; max-width: 24rem;
}
.process-steps { }
@media (min-width: 1024px) { .process-steps { grid-column: span 8; padding-left: 2rem; } }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .process-step { gap: 2.5rem; } }
.process-step:not(:last-child) { border-bottom: 1px solid hsl(var(--background) / 0.15); margin-bottom: 0; }
.process-num {
  font-family: var(--font-display); font-size: 1.875rem; color: hsl(var(--background) / 0.4);
}
@media (min-width: 768px) { .process-num { font-size: 2.25rem; } }
.process-step h3 {
  font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.75rem; padding-top: 0.25rem;
}
@media (min-width: 768px) { .process-step h3 { font-size: 1.875rem; } }
.process-step p {
  color: hsl(var(--background) / 0.65); font-size: 1rem; line-height: 1.6; max-width: 36rem;
}
@media (min-width: 768px) { .process-step p { font-size: 1.125rem; } }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
}
.contact-info { }
@media (min-width: 1024px) { .contact-info { grid-column: span 5; } }
.contact-info h2 {
  font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem;
}
@media (min-width: 768px) { .contact-info h2 { font-size: 3.75rem; } }
.contact-info .lede {
  color: hsl(var(--foreground) / 0.7); font-size: 1.125rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 28rem;
}
.contact-dl { display: grid; gap: 1.25rem; }
.contact-dl dt { color: hsl(var(--muted-foreground)); margin-bottom: 0.25rem; }
.contact-dl dd { margin: 0; }
.contact-dl a.email {
  font-family: var(--font-display); font-size: 1.5rem; transition: color 0.3s;
}
.contact-dl a:hover { color: hsl(var(--accent)); }
.contact-form-wrap { }
@media (min-width: 1024px) { .contact-form-wrap { grid-column: span 7; padding-left: 2rem; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; margin-bottom: 0.75rem; color: hsl(var(--muted-foreground));
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid hsl(var(--border));
  padding: 0.75rem 0; font-size: 1.125rem; font-weight: 300;
  outline: none; transition: border-color 0.3s; border-radius: 0;
  appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: hsl(var(--foreground));
}
.field textarea { resize: none; }
.form-thanks {
  border: 1px solid hsl(var(--border) / 0.7); padding: 2.5rem; text-align: center;
}
.form-thanks h3 { font-family: var(--font-display); font-size: 1.875rem; margin: 1rem 0 0.75rem; }
@media (min-width: 768px) { .form-thanks h3 { font-size: 2.25rem; } }

/* Footer */
.site-footer {
  background: hsl(var(--foreground)); color: hsl(var(--background));
  padding: 4rem 0;
}
@media (min-width: 768px) { .site-footer { padding: 5rem 0; } }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
}
.footer-brand { }
@media (min-width: 768px) { .footer-brand { grid-column: span 5; } }
.footer-brand .name {
  font-family: var(--font-display); font-size: 2.25rem; letter-spacing: 0.02em; display: block; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .footer-brand .name { font-size: 3rem; } }
.footer-brand p { color: hsl(var(--background) / 0.55); max-width: 24rem; line-height: 1.6; }
.footer-col { }
@media (min-width: 768px) { .footer-col { grid-column: span 3; } }
.footer-col .label { display: block; margin-bottom: 1.25rem; color: hsl(var(--background) / 0.4); }
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { color: hsl(var(--background) / 0.75); transition: color 0.3s; }
.footer-col a:hover { color: hsl(var(--background)); }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--background) / 0.12);
  display: flex; flex-direction: column; gap: 0.75rem;
  color: hsl(var(--background) / 0.4);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom .locs { display: flex; gap: 1.5rem; }

/* Work index */
.page-pad { padding-top: 7rem; }
@media (min-width: 768px) { .page-pad { padding-top: 8rem; } }
.work-hero { padding-bottom: 3rem; }
.work-hero h1 {
  font-family: var(--font-display); font-size: 3rem; line-height: 1.02; max-width: 18ch;
}
@media (min-width: 768px) { .work-hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .work-hero h1 { font-size: 6rem; } }
.work-hero p {
  margin-top: 1.5rem; max-width: 36rem;
  color: hsl(var(--foreground) / 0.65); font-size: 1.125rem; line-height: 1.6;
}
.filter-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.6875rem;
  padding: 0.65rem 1.25rem; border: 1px solid hsl(var(--border));
  background: transparent; color: hsl(var(--foreground) / 0.7); cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: hsl(var(--foreground)); color: hsl(var(--background)); border-color: hsl(var(--foreground));
}
.work-layout {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 7rem;
}
@media (min-width: 1024px) {
  .work-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.work-list { border-top: 1px solid hsl(var(--border) / 0.7); }
.work-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid hsl(var(--border) / 0.7);
  transition: color 0.3s;
}
@media (min-width: 768px) { .work-item { padding: 2rem 0; } }
.work-item-left { display: flex; align-items: baseline; gap: 1.25rem; min-width: 0; }
@media (min-width: 768px) { .work-item-left { gap: 2rem; } }
.work-item h2 {
  font-family: var(--font-display); font-size: 1.875rem; line-height: 1.15;
  transition: transform 0.5s ease-out;
}
@media (min-width: 768px) { .work-item h2 { font-size: 3rem; } }
.work-item:hover h2 { transform: translateX(0.5rem); }
.work-item-meta {
  margin-top: 0.5rem; display: flex; align-items: center; gap: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.work-item-meta .rule-line { width: 1.25rem; }
.work-item-year { color: hsl(var(--muted-foreground)); flex-shrink: 0; display: none; }
@media (min-width: 640px) { .work-item-year { display: block; } }
.work-preview {
  display: none; position: sticky; top: 8rem;
  aspect-ratio: 4/5; overflow: hidden; background: hsl(var(--secondary));
}
@media (min-width: 1024px) { .work-preview { display: block; } }
.work-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Project detail */
.project-hero {
  position: relative; height: 80svh; min-height: 520px; overflow: hidden;
  background: hsl(var(--foreground)); color: hsl(var(--background));
}
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3));
}
.project-hero-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
@media (min-width: 768px) { .project-hero-copy { padding: 2.5rem; } }
.project-hero-kicker {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
  color: hsl(var(--background) / 0.7);
}
.project-hero-kicker .rule { width: 2.5rem; height: 1px; background: hsl(var(--background) / 0.4); }
.project-hero h1 {
  font-family: var(--font-display); font-size: 3rem; line-height: 1.02; max-width: 18ch;
}
@media (min-width: 768px) { .project-hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .project-hero h1 { font-size: 6rem; } }

.project-brief {
  display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0;
}
@media (min-width: 1024px) {
  .project-brief { grid-template-columns: repeat(12, 1fr); gap: 4rem; padding: 7rem 0; }
}
.project-aside { }
@media (min-width: 1024px) {
  .project-aside { grid-column: span 4; position: sticky; top: 8rem; align-self: start; }
}
.project-aside dl { display: grid; gap: 1.25rem; margin-top: 2rem; }
.project-aside dt { color: hsl(var(--muted-foreground)); margin-bottom: 0.35rem; }
.project-aside dd { margin: 0; color: hsl(var(--foreground) / 0.85); }
.project-main { }
@media (min-width: 1024px) { .project-main { grid-column: span 8; } }
.project-main .overview {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4;
  color: hsl(var(--foreground) / 0.9); margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .project-main .overview { font-size: 1.875rem; } }
.project-main .block { margin: 3rem 0; }
.project-main .block p {
  color: hsl(var(--foreground) / 0.7); font-size: 1.125rem; line-height: 1.7; max-width: 42rem;
}
.deliverables li {
  display: flex; align-items: center; gap: 0.75rem;
  color: hsl(var(--foreground) / 0.8); font-size: 1.125rem; margin-bottom: 0.5rem;
}
.deliverables .rule-line { width: 1.5rem; }

.gallery-full { aspect-ratio: 16/9; background: hsl(var(--secondary)); overflow: hidden; }
@media (min-width: 768px) { .gallery-full { aspect-ratio: 21/9; } }
.gallery-full img, .gallery-half img { width: 100%; height: 100%; object-fit: cover; }
.gallery-pair {
  display: grid; grid-template-columns: 1fr; gap: 1px; background: hsl(var(--border) / 0.6);
}
@media (min-width: 768px) { .gallery-pair { grid-template-columns: 1fr 1fr; } }
.gallery-half { aspect-ratio: 4/5; background: hsl(var(--secondary)); overflow: hidden; }

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

@media (min-width: 1024px) {
  .case-swap-media { order: 2; }
  .case-swap-body { order: 1; padding-right: 1.5rem; padding-left: 0; }
}
.case + .case { margin-top: 6rem; }
@media (min-width: 768px) { .case + .case { margin-top: 10rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
.logo-cell img { height: 2.25rem; }
@media (min-width: 768px) { .logo-cell img { height: 2.75rem; } }
