/* Fynix x Omi collaboration page */
.omi-hero-lockup { display: flex; align-items: center; gap: 22px; margin: 8px 0 28px; }
.omi-hero-lockup .omi-fynix { width: 120px; height: auto; }
.omi-hero-lockup .omi-logo-lg { height: 76px; }
.omi-x { font-size: 28px; font-weight: 300; color: var(--tp-text-2); }

.omi-how { padding: 40px 0 72px; }
.omi-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--tp-border-soft); }
.omi-how-grid > div { padding: 32px 32px 0 0; }
.omi-how-grid > div + div { padding-left: 32px; border-left: 1px solid var(--tp-border-soft); }
.omi-how-num { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: #ff5a26; margin-bottom: 14px; }
.omi-how-grid h2 { font-size: 24px; margin: 0 0 10px; color: var(--tp-heading-primary); }
.omi-how-grid p { margin: 0; max-width: 360px; color: var(--tp-text-2); line-height: 1.55; }

.omi-gallery { padding: 0 0 96px; }
.omi-gallery-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 32px; }
.omi-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.omi-filter { padding: 9px 18px; border: 1px solid var(--tp-border-soft); background: transparent; color: var(--tp-heading-primary); font: inherit; font-size: 14px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.omi-filter:hover { border-color: var(--tp-heading-primary); }
.omi-filter.is-active { background: var(--tp-heading-primary); color: var(--tp-common-black, #000); border-color: var(--tp-heading-primary); }
body:not(.theme-dark) .omi-filter.is-active { color: #fff; }
.omi-filter:focus-visible { outline: 2px solid #ff5a26; outline-offset: 2px; }

.omi-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.omi-tile { margin: 0; grid-column: span 4; }
.omi-tile[hidden] { display: none; }
.omi-ph { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border: 1px dashed var(--tp-border-soft); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(127, 127, 127, 0.08) 14px 15px); color: var(--tp-text-2); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.omi-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: rgba(127,127,127,0.08); }
.omi-tile figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; }
.omi-tile figcaption strong { color: var(--tp-heading-primary); font-weight: 600; }
.omi-tile figcaption span { color: var(--tp-text-2); }

.omi-cta { padding: 72px 0 96px; border-top: 1px solid var(--tp-border-soft); }
.omi-cta .service-partner-text { margin: 12px 0 28px; }

@media (max-width: 991px) {
  .omi-tile { grid-column: span 6; }
}
@media (max-width: 767px) {
  .omi-hero-lockup .omi-fynix { width: 96px; }
  .omi-hero-lockup .omi-logo-lg { height: 60px; }
  .omi-how-grid { grid-template-columns: 1fr; }
  .omi-how-grid > div, .omi-how-grid > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--tp-border-soft); }
  .omi-grid { gap: 20px; }
  .omi-tile { grid-column: 1 / -1; }
}

/* Hero: copy left, featured-work collage right */
.omi-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.omi-collage { position: relative; aspect-ratio: 1 / 1; max-width: 640px; width: 100%; justify-self: end; }
.omi-collage-tile { position: absolute; background: var(--tp-common-white); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.omi-collage-tile .omi-ph, .omi-collage-tile img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.omi-collage-1 { left: 0; top: 4%; width: 54%; height: 62%; }
.omi-collage-2 { right: 0; top: 0; width: 42%; height: 34%; }
.omi-collage-3 { right: 4%; bottom: 0; width: 56%; height: 58%; }
@media (max-width: 991px) {
  .omi-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .omi-collage { justify-self: start; max-width: 520px; }
}

/* Bigger logo lockup + navy/blue gradient backdrop */
.omi-hero { position: relative; overflow: hidden; isolation: isolate; }
.omi-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 60% 70% at 85% 20%, rgba(46, 108, 255, 0.55), transparent 70%),
  radial-gradient(ellipse 55% 60% at 10% 100%, rgba(14, 165, 233, 0.28), transparent 70%),
  linear-gradient(135deg, #060b24 0%, #0b1a4d 55%, #0d2a7a 100%); }
.omi-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--tp-common-white)); }
.omi-hero .service-title, .omi-hero .service-intro, .omi-hero .service-eyebrow { color: #f3f1ec; }
.omi-hero .service-intro, .omi-hero .service-eyebrow { color: rgba(243, 241, 236, 0.78); }
.omi-hero .omi-logo { filter: invert(1); }
.omi-hero-lockup { gap: 30px; margin: 12px 0 34px; }
.omi-hero-lockup .omi-fynix { width: 190px; }
.omi-hero-lockup .omi-logo-lg { height: 120px; }
.omi-hero .omi-x { font-size: 40px; color: rgba(243, 241, 236, 0.7); }
.omi-hero .omi-ph { border-color: rgba(243, 241, 236, 0.35); color: rgba(243, 241, 236, 0.75); background-color: rgba(255, 255, 255, 0.04); }
.omi-hero .omi-collage-tile { background: rgba(8, 16, 52, 0.6); }
@media (max-width: 767px) {
  .omi-hero-lockup { gap: 18px; }
  .omi-hero-lockup .omi-fynix { width: 130px; }
  .omi-hero-lockup .omi-logo-lg { height: 84px; }
  .omi-hero .omi-x { font-size: 30px; }
}

/* Pull copy and collage closer together */
.omi-hero-grid { grid-template-columns: minmax(0, 620px) minmax(0, 560px); gap: 56px; justify-content: center; }
.omi-collage { justify-self: start; }
@media (max-width: 991px) {
  .omi-hero-grid { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
}

/* Square collage so the artwork is not cropped */
.omi-collage-1 { left: 0; top: 8%; width: 54%; height: 54%; }
.omi-collage-2 { right: 0; top: 0; width: 42%; height: 42%; }
.omi-collage-3 { right: 4%; bottom: 0; width: 56%; height: 56%; }
.omi-collage-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Collage: tighter cluster, larger right tile overlapping its neighbours */
.omi-collage-1 { left: 0; top: 10%; width: 56%; height: 56%; z-index: 1; }
.omi-collage-2 { right: 0; top: 0; width: 54%; height: 54%; z-index: 2; }
.omi-collage-3 { left: 24%; right: auto; bottom: 0; width: 56%; height: 56%; z-index: 3; }

/* Gallery: 4 columns on desktop */
@media (min-width: 992px) { .omi-tile { grid-column: span 3; } }

/* New logo includes the "Design Studio" wordmark, so it needs a little more height */
.omi-hero-lockup .omi-logo-lg { height: 150px; }
@media (max-width: 767px) { .omi-hero-lockup .omi-logo-lg { height: 100px; } }
