/* Our Work gallery — scoped; tokens from home.css */

.ow {
  padding-bottom: var(--space-xl);
}

.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;
}

.ow-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.ow-hero .pill {
  margin-bottom: 1.35rem;
}

.ow-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.ow-hero h1 span {
  color: var(--heading);
  font-weight: 100;
}

.ow-hero__lede {
  max-width: 36rem;
  color: var(--text-gray);
  font-size: clamp(1.3rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.ow-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-gray);
  font-size: 1.2rem;
}

.ow-hero__row strong {
  color: var(--dark);
  font-weight: 500;
  font-size: 1.3rem;
  margin-right: 0.3rem;
}

.ow-gallery {
  padding-bottom: var(--space-xl);
}

.ow-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem) 1.25rem;
}

.ow-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--lavender-light);
  margin-bottom: 1.1rem;
}

.ow-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}

.ow-card__media--tall img {
  aspect-ratio: 6 / 5;
}

.ow-card:hover .ow-card__media img {
  transform: scale(1.03);
}

.ow-card__cat {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.ow-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.ow-card__body p:not(.ow-card__cat) {
  color: var(--text-gray);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: 0.85rem;
}

.ow-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.ow-card__link:hover {
  color: var(--lavender);
}

.ow-card a:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 4px;
}

.ow-cta .cta__box {
  align-items: flex-start;
  min-height: 0;
  gap: 1.5rem;
}

.ow-cta__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.75rem;
}

.ow-cta .cta__title {
  max-width: 14ch;
  margin-bottom: 0.75rem;
}

.ow-cta__text {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.ow-cta .cta__action {
  align-self: flex-end;
}

.ow-footer {
  display: grid;
  gap: 1rem;
  padding: 0 0 var(--space-xl);
}

.ow-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

.ow-footer__links a:hover,
.ow-footer__links a[aria-current="page"] {
  color: var(--dark);
}

.ow-footer__links a:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (min-width: 800px) {
  .ow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ow-card--wide {
    grid-column: 1 / -1;
  }

  .ow-card--wide .ow-card__body {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: baseline;
  }

  .ow-card--wide .ow-card__cat {
    grid-column: 1 / -1;
  }

  .ow-card--wide h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 799px) {
  .ow-card__media--tall img {
    aspect-ratio: 16 / 10;
  }

  .ow-cta .cta__action {
    align-self: stretch;
  }

  .ow-cta .btn {
    width: 100%;
  }
}

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

  .ow-card:hover .ow-card__media img {
    transform: none;
  }
}

/* ========================================
PIXEL BRIDGE STUDIO CARD
======================================== */

.ow-card__media--studio {
  display: block;
  min-height: 340px;
  background: #171916;
  color: #f5f4ef;
  overflow: hidden;
  }
  
  .studio-card__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 30px;
  box-sizing: border-box;
  }
  
  .studio-card__eyebrow {
  color: #c5c9b8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  }
  
  .studio-card__symbol {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  color: #a9b49b;
  font-size: 90px;
  line-height: 1;
  }
  
  .studio-card__statement {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 45px 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.06em;
  }
  
  .studio-card__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d1d2c9;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  }
  
  .studio-card__status span {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #a9b49b;
  }
  
  .ow-card--studio .ow-card__media {
  cursor: default;
  }
  
  @media (max-width: 600px) {
  .ow-card__media--studio,
  .studio-card__visual {
  min-height: 280px;
  }
  
  .studio-card__visual {
  padding: 24px;
  }
  
  .studio-card__symbol {
  right: 24px;
  font-size: 65px;
  }
  }
  
