/* ===================================================
   Layout: SEO Work
   File:   template-parts/flexible/seo_work/seo_work.css
=================================================== */

/* OurWork/03-portfolio/style.css - Section-specific styles */

/* 03 portfolio grid + cards (from the Branding Services card reference) */
.owp {
  padding-top: clamp(40px, 4.4cqi, 64px);
  padding-bottom: clamp(72px, 7cqi, 110px);
}

.owr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.owr-n {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.owr-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  white-space: nowrap;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surf);
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color .2s;
}

.owr-x:hover {
  background: var(--lav);
  color: var(--purple);
}

.owr-x .ic {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

/* Portfolio Grid - Default 4 columns for desktop */
.owg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.6cqi, 24px);
  margin-top: clamp(14px, 1.4cqi, 20px);
  grid-auto-flow: row dense;
}

/* Project Card (Branding) */
.owc {
  --r: clamp(18px, 1.6cqi, 24px);
  --nh: clamp(20px, 1.75cqi, 26px);
  --pnl: #FFFDF8;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--pnl);
  color: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .035), 0 24px 44px -32px rgba(40, 30, 20, .42);
  transition: transform .45s var(--ease), box-shadow .45s;
}

.owc-img {
  position: relative;
  display: block;
  aspect-ratio: 338 / 300;
  overflow: hidden;
  background: #EDE6DA;
}

.owc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease);
}

.owc-qs {
  position: absolute;
  z-index: 2;
  right: 6%;
  bottom: 6px;
  width: 13.2%;
  aspect-ratio: 1;
}

.owc-qs i {
  position: absolute;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 3px;
  transition: transform .5s var(--ease);
}

.owc-qs i:first-child {
  right: 0;
  top: 0;
}

.owc-qs i:last-child {
  left: 0;
  bottom: 0;
}

.owc-pnl {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  margin-top: calc(var(--nh) * -1);
  padding: calc(var(--nh) * .72) clamp(18px, 1.9cqi, 28px) clamp(22px, 2cqi, 28px);
}

.owc-pnl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: var(--nh);
  bottom: 0;
  background: var(--pnl);
}

.owc-tab {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 73%;
  height: calc(var(--nh) + 1px);
  background: var(--pnl);
  border-radius: var(--r) calc(var(--nh) / 2) 0 0;
}

.owc-pnl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 73%;
  top: calc(var(--nh) / 2);
  width: calc(var(--nh) / 2 + 1px);
  height: calc(var(--nh) / 2 + 1px);
  background: radial-gradient(circle at 100% 0, transparent calc(var(--nh) / 2 - .5px), var(--pnl) calc(var(--nh) / 2));
}

.owc-c {
  display: inline-flex;
  align-items: center;
  height: clamp(24px, 1.9cqi, 28px);
  padding: 0 10px;
  border-radius: 7px;
  font-size: clamp(13px, 1cqi, 15px);
  font-weight: 600;
}

.owc-c.lv {
  background: #E9E4F5;
  color: var(--purple);
}

.owc-c.am {
  background: #FCE7C2;
  color: #9A5A00;
}

.owc-t {
  margin-top: clamp(10px, 1cqi, 14px);
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(20px, 1.65cqi, 25px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.owc-d {
  margin-top: clamp(8px, .7cqi, 10px);
  padding-right: 38px;
  font-size: clamp(14.5px, 1.1cqi, 16.5px);
  line-height: 1.45;
  color: rgba(0, 0, 0, .72);
  text-wrap: pretty;
}

.owc-ar {
  position: absolute;
  right: clamp(18px, 1.8cqi, 26px);
  bottom: clamp(24px, 2.2cqi, 32px);
  width: 24px;
  height: 24px;
  stroke-width: 2;
  transition: transform .3s var(--ease);
}

.owc:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .035), 0 36px 56px -34px rgba(40, 30, 20, .5);
}

.owc:hover .owc-img img {
  scale: 1.05;
}

.owc:hover .owc-qs i:first-child {
  transform: translate(3px, -3px);
}

.owc:hover .owc-qs i:last-child {
  transform: translate(-3px, 3px);
}

.owc:hover .owc-ar {
  transform: translateX(4px);
}

a.owc:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

article.owc {
  cursor: default;
}

/* Empty search state */
.owe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(48px, 6cqi, 90px) 20px;
  margin-top: 8px;
  border-radius: 24px;
  background: var(--surf);
  text-align: center;
}

.owe-t {
  font-family: var(--fd);
  font-weight: 650;
  font-size: clamp(20px, 1.7cqi, 26px);
  letter-spacing: -.015em;
}

/* SEO Services cards: spans 2 columns on desktop grid */
.osc {
  --tint: #F1E8FB;
  --hl: #E8861E;
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: clamp(22px, 2.2cqi, 32px);
  overflow: hidden;
  background: #FFFDF8;
  color: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .035), 0 30px 52px -36px rgba(40, 30, 20, .45);
  transition: transform .45s var(--ease), box-shadow .45s;
}

.osc.am {
  --tint: #FDF1E2;
}

.osc > span {
  display: block;
}

.osc-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 13.4cqi, 192px);
  column-gap: clamp(18px, 2.2cqi, 32px);
  align-items: center;
  padding: clamp(22px, 2.2cqi, 32px) clamp(22px, 2.4cqi, 36px) clamp(20px, 2cqi, 28px);
  background: var(--tint);
}

.osc-l {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.osc-wm {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(20px, 1.75cqi, 26px);
  line-height: 1;
  letter-spacing: -.025em;
  color: #1A1530;
}

.osc-cap {
  margin-top: clamp(14px, 1.4cqi, 20px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .55);
}

.osc-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
  overflow: visible;
}

.osc-svg .g {
  stroke: rgba(92, 72, 156, .12);
  stroke-width: 1.5;
}

.osc-svg .b {
  stroke: rgba(0, 0, 0, .16);
  stroke-width: 2;
}

.osc-svg .ar {
  fill: rgba(142, 111, 214, .24);
}

.osc-svg .ln {
  stroke: #5C489C;
  stroke-width: 4.5;
  stroke-linecap: round;
}

.osc-svg .d1 {
  fill: #5C489C;
}

.osc-svg .d2 {
  fill: #FFFDF8;
  stroke: #5C489C;
  stroke-width: 4.5;
}

.osc-svg .v {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 30px;
  fill: #5C489C;
}

.osc-svg .v.sm {
  font-size: 22px;
  fill: #1A1530;
}

.osc-svg .ax {
  font-family: var(--fs);
  font-size: 15px;
  font-weight: 500;
  fill: rgba(0, 0, 0, .55);
}

.osc-svg .bar1 {
  fill: #DCD0F3;
}

.osc-svg .bar2 {
  fill: #EE931F;
}

.osc-mx {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: .96;
  padding: clamp(16px, 1.6cqi, 24px);
  border-radius: clamp(18px, 1.9cqi, 28px);
  background: linear-gradient(160deg, #6E52B8 0%, #5C489C 70%);
  color: #FBFAF2;
  box-shadow: 0 24px 40px -30px rgba(60, 40, 120, .75);
}

.osc-mx::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -10px;
  width: 23%;
  aspect-ratio: 1;
  border-radius: clamp(6px, .7cqi, 10px);
  background: var(--hl);
}

.osc-mx b {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(42px, 4.1cqi, 62px);
  line-height: .95;
  letter-spacing: -.04em;
}

.osc-mx span {
  display: block;
  margin-top: clamp(6px, .7cqi, 10px);
  font-family: var(--fd);
  font-weight: 600;
  font-size: clamp(15px, 1.3cqi, 19px);
  line-height: 1.18;
  letter-spacing: -.01em;
}

.osc-b {
  position: relative;
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.2cqi, 32px) clamp(22px, 2.4cqi, 36px) clamp(64px, 5.4cqi, 78px);
}

.osc-tag {
  display: inline-flex !important;
  align-items: center;
  height: clamp(28px, 2.3cqi, 34px);
  padding: 0 12px;
  border-radius: 9px;
  background: #E9E4F5;
  color: var(--purple);
  font-size: clamp(14px, 1.1cqi, 16px);
  font-weight: 600;
}

.osc-t {
  margin-top: clamp(14px, 1.4cqi, 20px);
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(23px, 2.15cqi, 32px);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
  transition: color .3s;
}

.osc-cols {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) 1px minmax(0, .85fr);
  column-gap: clamp(18px, 2cqi, 30px);
  width: 100%;
  margin-top: clamp(22px, 2.4cqi, 34px);
}

.osc-ff {
  display: grid;
  align-content: start;
  gap: clamp(14px, 1.4cqi, 20px);
  margin: 0;
}

.osc-rs {
  align-self: start;
}

.osc-t .nw {
  white-space: nowrap;
}

.osc-ff dt {
  display: inline;
  font-weight: 700;
  color: var(--purple);
}

.osc-ff dd {
  display: inline;
  margin: 0;
}

.osc-ff div,
.osc-rs li {
  font-size: clamp(15px, 1.15cqi, 16.5px);
  line-height: 1.45;
  color: rgba(0, 0, 0, .86);
  text-wrap: pretty;
}

.osc-rule {
  align-self: stretch;
  background: var(--line);
}

.osc-rs ul {
  display: grid;
  gap: clamp(12px, 1.2cqi, 16px);
  margin-top: clamp(12px, 1.2cqi, 16px);
}

.osc-rc {
  display: inline-flex !important;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: #FCE3A6;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 15px;
}

.osc-rs li > b.big {
  display: block;
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(20px, 1.75cqi, 26px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--purple);
}

.osc-rs li > span {
  display: block;
}

.osc-rs b.pu {
  font-family: var(--fd);
  font-weight: 700;
  color: var(--purple);
}

.osc-rs b:not(.big):not(.pu) {
  font-weight: 700;
}

.osc-sq {
  position: absolute !important;
  right: clamp(20px, 2.2cqi, 32px);
  bottom: clamp(18px, 1.9cqi, 28px);
  width: clamp(44px, 4cqi, 56px);
  aspect-ratio: 1;
}

.osc-sq i {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: clamp(5px, .6cqi, 8px);
  transition: transform .5s var(--ease);
}

.osc-sq i:first-child {
  left: 0;
  bottom: 0;
  background: #D9CCF3;
}

.osc-sq i:last-child {
  right: 0;
  top: 0;
  background: var(--hl);
}

a.osc:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .035), 0 40px 60px -36px rgba(40, 30, 20, .5);
}

a.osc:hover .osc-t {
  color: var(--purple);
}

a.osc:hover .osc-sq i:first-child {
  transform: translate(-3px, 3px);
}

a.osc:hover .osc-sq i:last-child {
  transform: translate(3px, -3px);
}

a.osc:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

article.osc {
  cursor: default;
}

/* Graphic Design moodboard: editorial collage on desktop */
.ogd {
  position: relative;
  aspect-ratio: var(--ratio);
  margin-top: clamp(14px, 1.4cqi, 20px);
}

.ogd-t {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  height: var(--h);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(12px, 1.25cqi, 18px);
  background: #EDE6DA;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 14px 26px -22px rgba(40, 30, 20, .35);
  transition: transform .55s var(--ease), box-shadow .55s ease;
  animation: ogdIn .7s var(--ease) backwards;
  animation-delay: calc(var(--i) * 45ms);
}

.ogd-t img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease), filter .6s ease;
}

.ogd-t:hover {
  z-index: 2;
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 30px 44px -28px rgba(40, 30, 20, .5);
}

.ogd-t:hover img {
  scale: 1.045;
  filter: saturate(1.06) brightness(1.02);
}

@keyframes ogdIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ogd-t,
  .ogd-t img {
    animation: none;
    transition: none;
  }
  .ogd-t:hover {
    transform: none;
  }
  .ogd-t:hover img {
    scale: 1;
  }
}

/* Collateral, Reports, Films Gallery */
.owl {
  margin-top: clamp(14px, 1.4cqi, 20px);
  padding: clamp(20px, 2.4cqi, 32px);
  border-radius: clamp(22px, 2.4cqi, 34px);
  background: #FCF9F3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .045), 0 30px 60px -48px rgba(40, 30, 20, .35);
}

.owl-chip {
  display: inline-flex;
  align-items: center;
  height: clamp(36px, 3cqi, 44px);
  padding: 0 clamp(16px, 1.6cqi, 22px);
  border-radius: 999px;
  background: #E9E4F5;
  color: var(--purple);
  font-family: var(--fd);
  font-weight: 650;
  font-size: clamp(16px, 1.35cqi, 20px);
  letter-spacing: -.01em;
}

.owl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, .9cqi, 12px);
  margin-top: clamp(20px, 2.3cqi, 32px);
}

.owl-grid > li {
  display: block;
  aspect-ratio: var(--ar);
}

.owl-t {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(12px, 1.2cqi, 16px);
  background: #EDE6DA;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
  transition: box-shadow .3s ease, transform .45s var(--ease);
}

.owl-t img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1s var(--ease);
  -webkit-user-drag: none;
  user-select: none;
}

button.owl-t {
  cursor: zoom-in;
}

button.owl-t:hover,
button.owl-t:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--purple), 0 22px 36px -26px rgba(60, 40, 120, .55);
  transform: translateY(-3px);
}

button.owl-t:hover img {
  scale: 1.04;
}

.owl-vid {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .18));
}

button.owl-t:has(.owl-vid) {
  cursor: pointer;
}

.owl-t.ph {
  display: grid;
  place-items: center;
  background: radial-gradient(60% 90% at 100% 0%, rgba(237, 157, 33, .16), rgba(237, 157, 33, 0) 65%), #F4EEE6;
}

.owl-ph-g {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(92, 72, 156, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 72, 156, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.owl-ph-l {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(14px, 1.4cqi, 20px);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, .45);
}

.owl-play {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(48px, 4.4cqi, 62px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFFEFB;
  box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .45);
}

.owl-play svg {
  width: 42%;
  height: auto;
  margin-left: 6%;
  fill: #1A1530;
}

/* Web & Digital Experience */
.oww {
  margin-top: clamp(14px, 1.4cqi, 20px);
}

.oww-g {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6cqi, 24px);
  margin-top: clamp(20px, 2.3cqi, 32px);
}

.oww-g > li {
  display: block;
  min-width: 0;
}

.oww-c {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(18px, 1.7cqi, 24px);
  background: #FFFDF8;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 18px 40px -30px rgba(40, 30, 20, .35);
  color: #000;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

a.oww-c:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(92, 72, 156, .18), 0 30px 56px -30px rgba(40, 30, 20, .42);
}

a.oww-c:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.oww-pv {
  position: relative;
  display: block;
  aspect-ratio: 1.58;
  overflow: hidden;
}

.oww-pv.lv {
  background: linear-gradient(160deg, #D6CBEF, #EEE8F9);
}

.oww-pv.pk {
  background: linear-gradient(160deg, #DCCBEE, #F3E9F7);
}

.oww-pv.ol {
  background: linear-gradient(160deg, #D4D1A9, #ECEAD8);
}

.oww-pv.am {
  background: linear-gradient(160deg, #F3C98C, #FBE6C3);
}

.oww-sc {
  position: absolute;
  left: 12%;
  top: 20%;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(8px, .9cqi, 12px);
  background: #FFFEFA;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), -18px 26px 40px -22px rgba(40, 30, 60, .38);
  transform: perspective(1100px) rotateY(-14deg) rotateX(6deg) rotate(-6deg);
  transform-origin: 0 0;
  transition: scale .9s var(--ease);
}

a.oww-c:hover .oww-sc {
  scale: 1.035;
}

.oww-sc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  -webkit-user-drag: none;
}

.oww-ph {
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  height: 62%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  text-align: center;
  color: rgba(70, 52, 130, .8);
  font-size: clamp(11.5px, .95cqi, 13px);
  font-weight: 600;
  line-height: 1.3;
}

.oww-ph .ic {
  width: clamp(24px, 2.2cqi, 32px);
  height: auto;
  aspect-ratio: 1;
  stroke-width: 1.4;
  opacity: .7;
}

.oww-i {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 1.6cqi, 22px) clamp(18px, 1.9cqi, 26px) clamp(18px, 1.8cqi, 24px);
}

.oww-tx {
  min-width: 0;
}

.oww-n {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(20px, 1.75cqi, 26px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.oww-d {
  margin-top: 4px;
  font-family: var(--fs);
  font-size: clamp(15px, 1.2cqi, 17.5px);
  font-weight: 500;
  color: rgba(0, 0, 0, .6);
}

.oww-x {
  width: 24px;
  height: 24px;
  flex: none;
  stroke-width: 1.7;
  color: rgba(0, 0, 0, .72);
  transition: transform .35s var(--ease), color .35s;
}

a.oww-c:hover .oww-x {
  transform: translate(2px, -2px);
  color: var(--purple);
}

.oww-c.nolink .oww-x {
  opacity: .4;
}

/* Document / Video Viewer */
.owv {
  --paper: #FBFAF2;
  --purple: #5C489C;
  --amber: #ED9D21;
  --line: rgba(0, 0, 0, .12);
  --fd: 'Funnel Display', ui-sans-serif, system-ui, sans-serif;
  --fs: 'Funnel Sans', ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2.4vw, 32px);
  font-family: var(--fs);
  color: #000;
  animation: owvIn .28s ease both;
  -webkit-user-select: none;
  user-select: none;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.owv,
.owv * {
  box-sizing: border-box;
}

.owv button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.owv :focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.owv .owv-scrim {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 44, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: default !important;
}

.owv-d {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  max-height: calc(100vh - 2 * clamp(12px, 2.4vw, 32px));
  padding: clamp(16px, 2vw, 28px);
  border-radius: clamp(22px, 2.6vw, 36px);
  background: #FCF8F2;
  box-shadow: 0 60px 120px -50px rgba(20, 14, 40, .65), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  animation: owvUp .42s var(--ease) both;
}

.owv.anch {
  place-items: start center;
}

.owv.anch .owv-d {
  margin-top: var(--vt);
  max-height: none;
}

.owv-d.big {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
}

.owv.anch .owv-d.big {
  height: auto;
}

.owv-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(12px, 1.4vw, 18px);
}

.owv-sp {
  flex: 1;
}

.owv-ct {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #F1EBE2;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.owv-ib {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  transition: background-color .2s;
}

.owv-ib:hover {
  background: #F1EBE2;
}

.owv-ib .ic {
  width: 24px;
  height: 24px;
  stroke: #1A1530;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owv-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 1.59;
  max-height: calc(100vh - 290px);
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  background: #EDE4D6;
}

.owv-d.big .owv-stage {
  aspect-ratio: auto;
}

.owv-pg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .38s ease, visibility 0s linear .38s;
}

.owv-pg.on {
  opacity: 1;
  visibility: visible;
  transition: opacity .38s ease, visibility 0s;
}

.owv-pg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.owv-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 84%;
  width: auto;
  aspect-ratio: .72;
  border-radius: 10px;
  background: #FFFEFA;
  background-image: linear-gradient(rgba(92, 72, 156, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 72, 156, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow: 0 26px 44px -30px rgba(40, 30, 20, .5);
}

.owv-ph b {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.02em;
}

.owv-ph span {
  font-size: 14.5px;
  color: rgba(0, 0, 0, .5);
}

.owv-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: #FFFEFB;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), opacity .2s;
}

.owv-nav.l {
  left: 16px;
}

.owv-nav.r {
  right: 16px;
}

.owv-nav .ic {
  width: 22px;
  height: 22px;
  stroke: #1A1530;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owv-nav:hover:not(:disabled) {
  transform: scale(1.07);
}

.owv-nav:disabled {
  opacity: .35;
  cursor: default;
}

.owv-strip {
  min-width: 0;
  display: flex;
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(12px, 1.4vw, 18px);
  padding: 4px 2px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(92, 72, 156, .35) transparent;
}

.owv-th {
  flex: 0 0 auto;
  width: clamp(78px, 8.4vw, 112px);
  aspect-ratio: 1.33;
  border-radius: 10px;
  overflow: hidden;
  background: #EDE4D6;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
  scroll-snap-align: start;
  transition: box-shadow .2s, opacity .2s;
  opacity: .82;
}

.owv-th:hover {
  opacity: 1;
}

.owv-th.on {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--purple);
}

.owv-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.owv-tph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #FFFEFA;
  font-family: var(--fd);
  font-weight: 650;
  font-size: 15px;
  color: rgba(0, 0, 0, .45);
}

.owv-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  background: #111;
}

.owv-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.owv-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.owl-type-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 16, 36, 0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #FBFAF2;
  font-family: var(--fd);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  pointer-events: none;
}

.owl-type-badge.yt {
  background: rgba(215, 20, 20, 0.9);
}

.owl-type-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ED9D21;
}

.owl-type-badge.yt .dot {
  background: #FFF;
}

.owl-t-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 100%);
  color: #FBFAF2;
  font-family: var(--fd);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  pointer-events: none;
}

.owv-vph {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(255, 254, 250, .92);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(0, 0, 0, .62);
  pointer-events: none;
}

.owv-d.vid .owv-bar {
  margin-bottom: 12px;
}

@keyframes owvIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes owvUp {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .owv,
  .owv-d,
  .owv-pg,
  .owl-t,
  .owl-t img {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .owv {
    padding: 10px;
  }
  .owv-d {
    padding: 14px;
    border-radius: 22px;
  }
  .owv-ct {
    height: 36px;
    padding: 0 14px;
    font-size: 15px;
  }
  .owv-ib {
    width: 38px;
    height: 38px;
  }
  .owv-stage {
    aspect-ratio: 1.05;
    max-height: none;
  }
  .owv-nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
  .owv-nav.l {
    left: 10px;
  }
  .owv-nav.r {
    right: 10px;
  }
  .owv-ph {
    height: 80%;
  }
  .owv-th {
    width: 72px;
  }
}

/* =====================================================================
   RESPONSIVE LAYOUTS: Breakpoints for Container Queries & Media Queries
   Matches OurWork.dc.html exactly:
   - Desktop (> 1100px):  4 columns (.owg), .osc spans 2 cols, .ogd editorial collage
   - Tablet  (<= 1100px): 3 columns (.owg), .osc spans 1 / -1, .ogd 3 cols masonry
   - Small   (<= 860px):  2 columns (.owg), .ogd 2 cols masonry
   - Mobile  (<= 640px):  1 column  (.owg), 2 cols (.owl-grid)
   ===================================================================== */

/* Breakpoint 1: 1100px */
@container page (max-width: 1100px) {
  .owg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .osc {
    grid-column: 1 / -1;
  }
  .osc-top {
    grid-template-columns: minmax(0, 430px) clamp(150px, 19cqi, 192px);
    justify-content: space-between;
  }
  .oww-g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ogd {
    aspect-ratio: auto;
    columns: 3;
    column-gap: clamp(10px, 1.4cqi, 16px);
  }
  .ogd-t {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    aspect-ratio: var(--ar);
    margin-bottom: clamp(10px, 1.4cqi, 16px);
    break-inside: avoid;
  }
}

@media (max-width: 1100px) {
  .owg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .osc {
    grid-column: 1 / -1;
  }
  .osc-top {
    grid-template-columns: minmax(0, 430px) clamp(150px, 19cqi, 192px);
    justify-content: space-between;
  }
  .oww-g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ogd {
    aspect-ratio: auto;
    columns: 3;
    column-gap: clamp(10px, 1.4cqi, 16px);
  }
  .ogd-t {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    aspect-ratio: var(--ar);
    margin-bottom: clamp(10px, 1.4cqi, 16px);
    break-inside: avoid;
  }
}

/* Breakpoint 2: 860px */
@container page (max-width: 860px) {
  .owg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ogd {
    columns: 2;
  }
}

@media (max-width: 860px) {
  .owg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ogd {
    columns: 2;
  }
}

/* Breakpoint 3: 640px */
@container page (max-width: 640px) {
  .owg {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .osc-top {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }
  .osc-mx {
    flex-direction: row !important;
    align-items: baseline;
    justify-content: flex-start !important;
    gap: 12px;
    aspect-ratio: auto;
    padding: 18px 20px;
  }
  .osc-mx::after {
    width: 30px;
    right: -6px;
    top: -8px;
  }
  .osc-mx b {
    font-size: 44px;
  }
  .osc-mx span {
    margin-top: 0;
  }
  .osc-cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
  .osc-rule {
    display: none;
  }
  .owl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .owl-grid > li {
    aspect-ratio: 1.08;
  }
  .owl {
    padding: 14px;
  }
  .oww-g {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .owg {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .osc-top {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }
  .osc-mx {
    flex-direction: row !important;
    align-items: baseline;
    justify-content: flex-start !important;
    gap: 12px;
    aspect-ratio: auto;
    padding: 18px 20px;
  }
  .osc-mx::after {
    width: 30px;
    right: -6px;
    top: -8px;
  }
  .osc-mx b {
    font-size: 44px;
  }
  .osc-mx span {
    margin-top: 0;
  }
  .osc-cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
  .osc-rule {
    display: none;
  }
  .owl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .owl-grid > li {
    aspect-ratio: 1.08;
  }
  .owl {
    padding: 14px;
  }
  .oww-g {
    grid-template-columns: minmax(0, 1fr);
  }
}
