.oc-hero {
  min-height: max(790px, calc(100svh - 56px));
}

.oc-hero .hero-video {
  object-position: 56% center;
}

.oc-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 11, 19, 0.95) 0%, rgba(14, 11, 19, 0.77) 44%, rgba(14, 11, 19, 0.25) 78%),
    linear-gradient(180deg, rgba(14, 11, 19, 0.24) 0%, rgba(14, 11, 19, 0.7) 100%);
}

.oc-credit-note {
  display: flex;
  max-width: 720px;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1.5;
}

.oc-credit-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #ff82c6;
}

.oc-credit-note strong {
  color: #fff;
}

.oc-hero .hero-model-picker,
.oc-hero .hero-model-trigger {
  min-width: 216px;
}

.oc-hero .hero-model-menu {
  top: auto;
  bottom: calc(100% + 10px);
  width: min(420px, calc(100vw - 32px));
  max-height: min(430px, 56vh);
  padding: 8px;
}

.oc-hero .hero-model-menu button {
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
}

.oc-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.oc-gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.oc-gallery-tabs::-webkit-scrollbar {
  display: none;
}

.oc-gallery-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  color: #514b57;
  background: var(--button-surface);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.oc-gallery-tab:hover {
  color: #8c1654;
  border-color: var(--button-border-hover);
  background: var(--button-surface-hover);
  transform: translateY(-1px);
}

.oc-gallery-tab:focus-visible {
  outline: 2px solid var(--button-focus);
  outline-offset: 2px;
}

.oc-gallery-tab.is-active {
  color: #fff;
  border-color: var(--button-primary-border);
  background: var(--brand-gradient);
  box-shadow: none;
}

.oc-gallery .work-card[hidden] {
  display: none;
}

.oc-gallery .work-card {
  display: block;
  margin: 0;
}

.oc-story-section {
  padding-top: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 78, 173, 0.07), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(114, 90, 255, 0.07), transparent 30%),
    #fff;
}

.oc-story-list {
  display: grid;
  gap: 72px;
}

.oc-story-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 6vw, 92px);
}

.oc-story-row--reverse .oc-story-media {
  order: 2;
}

.oc-story-row--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.oc-story-row--reverse .oc-story-copy {
  order: 1;
}

.oc-story-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 30px;
  background: #eeeaf2;
  box-shadow: 0 24px 60px rgba(34, 22, 42, 0.14);
}

.oc-story-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.oc-story-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

#oc-story-life .oc-story-media {
  background: #000;
}

#oc-story-life .oc-story-media img {
  object-fit: contain;
  object-position: center;
}

#oc-story-projects .oc-story-media {
  background: linear-gradient(180deg, #050006 0 68%, #fff 68% 100%);
}

#oc-story-projects .oc-story-media img {
  object-fit: contain;
  object-position: center;
}

#oc-story-consistency .oc-story-media {
  background: #eee1ff;
}

#oc-story-consistency .oc-story-media img {
  object-fit: contain;
  object-position: center;
}

#oc-story-share .oc-story-media img {
  object-position: center;
}

.oc-story-row:hover .oc-story-media img {
  transform: scale(1.025);
}

.oc-story-copy {
  max-width: 620px;
}

.oc-story-copy h2 {
  margin: 0 0 22px;
  color: #17131a;
  font-size: var(--type-story-title);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.oc-story-copy p {
  margin: 0;
  color: #625b67;
  font-size: var(--type-story-copy);
  line-height: 1.78;
}

.faq-list a {
  color: #a81765;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-list a:hover {
  color: #761044;
}

@media (max-width: 820px) {
  .oc-hero {
    min-height: max(790px, calc(100svh - 44px));
  }

  .oc-gallery-tabs {
    justify-content: flex-start;
    padding: 2px 0 14px;
  }

  .oc-story-section {
    padding-top: 12px;
  }

  .oc-story-list {
    gap: 56px;
  }

  .oc-story-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .oc-story-row--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .oc-story-row--reverse .oc-story-media,
  .oc-story-row--reverse .oc-story-copy {
    order: initial;
  }

  .oc-story-media,
  .oc-story-media img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .oc-story-copy {
    max-width: none;
  }

}

@media (max-width: 580px) {
  .oc-hero .hero-model-picker,
  .oc-hero .hero-model-trigger {
    min-width: 0;
  }

  .oc-hero .hero-model-menu {
    width: 100%;
    max-height: min(380px, 52vh);
  }

  .oc-hero .hero-model-menu button {
    min-height: 54px;
  }

  .oc-hero {
    min-height: max(800px, calc(100svh - 36px));
  }

  .oc-hero .hero-video {
    object-position: 56% center;
  }

  .oc-hero .hero-copy h1 em {
    white-space: normal;
    font-size: var(--type-hero-title);
    line-height: 1.03;
  }

  .oc-credit-note {
    margin-top: 12px;
    font-size: 0.7rem;
  }

  .oc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .oc-gallery-tab {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .oc-story-list {
    gap: 48px;
  }

  .oc-story-row {
    gap: 22px;
  }

  .oc-story-media {
    border-radius: 22px;
  }

  .oc-story-copy h2 {
    margin-bottom: 14px;
    font-size: var(--type-story-title);
    line-height: 1.12;
  }

  .oc-story-copy p {
    font-size: var(--type-story-copy);
    line-height: 1.7;
  }

}
