.work-main {
  max-width: 1240px;
  margin: auto;
  padding: 150px 40px 0;
}
.work-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 70px;
  padding-bottom: 64px;
}
.work-page .work-heading h1 {
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.99;
  max-width: 700px;
}
.work-heading em {
  font-style: normal;
  color: var(--site-copper-dark);
}
.work-heading p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 34ch;
}
.work-heading .work-heading-note {
  font-size: 13px;
  color: var(--site-muted);
  margin-top: 24px;
}
.work-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--site-rule);
  padding: 24px 0 12px;
}
.work-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work-filter {
  padding: 10px 14px;
  background: transparent;
  color: var(--site-muted);
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.work-filter:hover {
  background: var(--site-soft);
  color: var(--site-ink);
}
.work-filter[aria-pressed="true"] {
  background: var(--site-ink);
  color: var(--site-paper);
}
.work-search {
  display: flex;
  gap: 8px;
  align-items: center;
}
.work-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.work-search input,
.work-search select {
  border: 1px solid var(--site-rule);
  border-radius: 3px;
  background: var(--site-surface);
  padding: 10px 12px;
  font-size: 13px;
  height: 42px;
  min-width: 0;
}
.work-search input {
  width: 220px;
}
.work-count {
  font-size: 12px;
  color: var(--site-muted);
  margin: 12px 0 28px;
  font-variant-numeric: tabular-nums;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 32px;
  min-height: 280px;
}
.work-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.work-media {
  background: var(--site-soft);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: 4px;
  display: block;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-media img {
  transform: scale(1.025);
}
.work-media-fallback {
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--site-muted);
  height: 100%;
}
.work-featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  background: var(--site-soft);
  border-radius: 4px;
  overflow: hidden;
}
.work-featured .work-media {
  aspect-ratio: 16/11;
  border-radius: 0;
}
.work-featured .work-info {
  padding: 42px 34px;
  align-self: center;
}
.work-info {
  padding-top: 22px;
}
.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--site-muted);
  margin-bottom: 12px;
}
.work-page .work-title {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 12px;
}
.work-summary {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 58ch;
}
.work-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 18px;
  color: var(--site-muted);
  font-size: 12px;
}
.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  align-items: center;
}
.work-actions a,
.work-actions button {
  color: var(--site-ink);
  font-weight: 600;
  font-size: 13px;
  border: 0;
  border-bottom: 1px solid var(--site-rule);
  padding: 4px 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.work-actions a:hover,
.work-actions button:hover {
  color: var(--site-copper-dark);
  border-color: var(--site-copper-dark);
}
.work-actions i {
  font-size: 11px;
  margin-left: 8px;
}
.work-empty {
  padding: 60px 24px;
  text-align: center;
  background: var(--site-soft);
}
.work-empty[hidden] {
  display: none;
}
.work-empty p {
  margin: 14px 0 24px;
}
.work-loading {
  min-height: 420px;
  background: var(--site-soft);
  display: grid;
  place-items: center;
  grid-column: 1/-1;
  color: var(--site-muted);
}
.work-closing {
  margin-top: 90px;
  padding: 56px 0;
  border-top: 1px solid var(--site-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.work-closing h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.work-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  background: var(--site-surface);
  color: var(--site-ink);
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 80px #211f1b33;
}
.work-dialog::backdrop {
  background: #211f1baa;
}
.work-dialog-top {
  position: sticky;
  top: 0;
  background: var(--site-surface);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--site-rule);
}
.work-dialog-top h2 {
  font-size: 24px;
}
.work-close {
  background: var(--site-soft);
  border: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 4px;
  cursor: pointer;
}
.work-dialog-body {
  padding: 32px;
}
.work-dialog-photo {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: var(--site-soft);
}
.work-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 12px 0 30px;
}
.work-gallery button {
  flex-shrink: 0;
  border: 1px solid var(--site-rule);
  padding: 0;
  background: var(--site-soft);
  cursor: pointer;
}
.work-gallery button[aria-pressed="true"] {
  outline: 2px solid var(--site-copper-dark);
  outline-offset: 2px;
}
.work-gallery img {
  width: 100px;
  height: 70px;
  object-fit: cover;
}
.work-dialog-body h3 {
  font-size: 20px;
  margin: 30px 0 10px;
}
.work-dialog-body p,
.work-dialog-body li {
  line-height: 1.75;
  max-width: 70ch;
}
.work-dialog-body ul {
  padding-left: 20px;
  list-style: disc;
}
.work-role {
  color: var(--site-muted);
  margin: 12px 0;
}
.work-live-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 40px;
}
.work-live-strip h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 30px;
}
.home-live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-live-grid img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  background: var(--site-soft);
}
.home-live-grid a {
  display: block;
  color: var(--site-ink);
  text-decoration: none;
}
.home-live-grid h3 {
  font-size: 20px;
  margin-top: 16px;
}
.home-live-grid p {
  font-size: 14px;
  color: var(--site-muted);
  margin-top: 8px;
}
.home-live-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}
.home-live-bottom p {
  color: var(--site-muted);
}
@media (max-width: 900px) {
  .work-main {
    padding: 120px 24px 0;
  }
  .work-heading {
    gap: 32px;
  }
  .work-featured {
    grid-template-columns: 1.4fr 1fr;
  }
  .work-featured .work-info {
    padding: 24px;
  }
  .work-search {
    width: 100%;
  }
  .work-search input {
    flex: 1;
  }
  .work-live-strip {
    padding: 48px 24px;
  }
}
@media (max-width: 640px) {
  .work-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 36px;
  }
  .work-page .work-heading h1 {
    font-size: 60px;
  }
  .work-heading p {
    font-size: 16px;
  }
  .work-heading .work-heading-note {
    margin-top: 12px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .work-featured {
    display: flex;
  }
  .work-featured .work-info {
    padding: 24px;
  }
  .work-featured .work-media {
    aspect-ratio: 16/10;
  }
  .work-filters {
    gap: 4px;
  }
  .work-filter {
    padding: 10px;
    font-size: 12px;
  }
  .work-search input {
    width: 120px;
  }
  .work-search select {
    width: 136px;
  }
  .work-closing {
    margin-top: 56px;
    align-items: start;
    flex-direction: column;
  }
  .work-dialog-top {
    padding: 18px;
  }
  .work-dialog-body {
    padding: 20px;
  }
  .work-dialog-top h2 {
    font-size: 21px;
  }
  .home-live-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-live-bottom {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-media img,
  .work-filter,
  .work-actions a,
  .work-actions button {
    transition: none;
  }
  .work-card:hover .work-media img {
    transform: none;
  }
}
.client-case-head {
  padding: 36px 0 48px;
}
.client-case-head h1 {
  max-width: 1000px;
}
.client-case-head > p {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.75;
  max-width: 65ch;
  color: var(--site-muted);
}
.client-case-cover {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.client-case-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 60px;
}
.client-case-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.client-case-content p {
  line-height: 1.8;
  color: var(--site-muted);
  margin-bottom: 28px;
}
.client-case-content ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.85;
}
.client-case-content li {
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .client-case-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .client-case-head > p {
    font-size: 16px;
  }
}
.contact-main {
  padding-bottom: 80px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  border-top: 1px solid var(--site-rule);
  padding-top: 48px;
}
.contact-real-photo {
  width: 200px;
  height: 248px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 28px;
}
.contact-profile h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.contact-profile p {
  color: var(--site-muted);
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  margin-top: 28px;
}
.contact-links a {
  color: var(--site-ink);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-compose h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.contact-compose > p {
  line-height: 1.7;
  color: var(--site-muted);
  margin-bottom: 28px;
  max-width: 52ch;
}
.contact-compose label {
  display: block;
  font-size: 14px;
  margin: 18px 0 8px;
}
.contact-compose input,
.contact-compose textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--site-rule);
  border-radius: 3px;
  background: var(--site-surface);
  font: inherit;
  color: var(--site-ink);
}
.contact-compose textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-compose button {
  margin-top: 24px;
}
.contact-compose #form-feedback {
  margin: 20px 0;
  line-height: 1.7;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-compose [hidden] {
  display: none;
}
@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-profile {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 24px;
  }
  .contact-real-photo {
    width: 120px;
    height: 149px;
    grid-row: 1/4;
  }
  .contact-profile h2 {
    font-size: 24px;
  }
  .contact-links {
    grid-column: 1/-1;
    margin-top: 0;
  }
  .contact-profile p {
    align-self: start;
  }
  .contact-real-photo {
    margin-bottom: 0;
  }
}
