/* Dynamic Opolony. Visual layer shared with Gutenberg; no image-size overrides. */
:where(.wp-site-blocks,.editor-styles-wrapper) {
  --op-accent: var(--wp--preset--color--primary, #9c1a15);
  --op-tech: var(--wp--preset--color--secondary, #32adce);
  --op-ink: var(--wp--preset--color--contrast, #131619);
  --op-line: var(--wp--preset--color--line, #dddcd8);
  --op-paper: var(--wp--preset--color--base, #fff);
  --op-ease: cubic-bezier(.2,.75,.25,1);
}
:where(.wp-site-blocks,.editor-styles-wrapper) :is(h1,h2,h3,h4,h5,h6) {
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* A technical, diagonal light treatment, not an extra content block. */
:where(.wp-site-blocks,.editor-styles-wrapper) :is(.op-hero,.op-quality) {
  position: relative;
  isolation: isolate;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 94% 28%, rgba(50,173,206,.18), transparent 52%),
    radial-gradient(ellipse at 5% 95%, rgba(156,26,21,.24), transparent 58%),
    linear-gradient(125deg, transparent 58%, rgba(255,255,255,.035) 58.1%, rgba(255,255,255,.035) 76%, transparent 76.1%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 79px 80px);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg,var(--op-accent),var(--op-tech));
  pointer-events: none;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-hero .op-media {
  box-shadow: 0 28px 60px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.18);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-hero .op-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding-block: .5rem;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-hero .op-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
/* Proof strip and step cards have one consistent surface language. */
:where(.wp-site-blocks,.editor-styles-wrapper) .op-proof .wp-block-columns {
  gap: 1rem;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-proof .wp-block-column {
  border: 1px solid var(--op-line);
  border-top: 3px solid var(--op-tech);
  border-radius: 14px;
  padding: clamp(1rem,2vw,1.75rem);
  background: var(--op-paper);
  box-shadow: 0 8px 28px rgba(19,22,25,.035);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-proof .op-kicker {
  font-size: clamp(1.25rem,1.5vw,1.6rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-process .wp-block-columns {
  gap: 1rem;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-process .wp-block-column,
:where(.wp-site-blocks,.editor-styles-wrapper) .is-style-opolony-panel {
  box-sizing: border-box;
  border: 1px solid var(--op-line);
  border-radius: 16px;
  padding: clamp(1.25rem,2.2vw,2rem);
  background: var(--op-paper);
  box-shadow: 0 12px 32px rgba(19,22,25,.04);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-process .wp-block-column {
  border-top: 3px solid var(--op-accent);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-process .wp-block-column > .op-kicker {
  display: inline-grid;
  place-items: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 12px;
  background: var(--op-ink);
  color: var(--op-paper) !important;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-service-card {
  border-radius: 16px;
  transition: transform 260ms var(--op-ease), box-shadow 260ms var(--op-ease), border-color 220ms ease;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-services .op-service-card {
  border-radius: 16px;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-service-card .op-media img {
  transition: transform 550ms var(--op-ease);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-quality::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 60%,rgba(50,173,206,.14),transparent 60%);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-quality .op-media {
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .op-final-cta {
  border-block: 1px solid var(--op-line);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .wp-block-button__link {
  position: relative;
  transition: transform 180ms var(--op-ease), background-color 180ms ease, box-shadow 180ms ease;
}
:where(.wp-site-blocks,.editor-styles-wrapper) .wp-block-button__link:active {
  transform: translateY(0) scale(.98);
}
:where(.wp-site-blocks,.editor-styles-wrapper) .wp-block-button__link:hover {
  text-decoration: none;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .wp-site-blocks .op-service-card:hover,
  .wp-site-blocks .op-service-card:focus-within {
    transform: translateY(-6px);
    border-color: var(--op-tech);
    box-shadow: 0 22px 48px rgba(19,22,25,.13);
  }
  .wp-site-blocks .op-service-card:hover .op-media img {
    transform: scale(1.035);
  }
}
/* The editor shows the final composition without movement or hidden blocks. */
.editor-styles-wrapper .op-service-card,
.editor-styles-wrapper .op-service-card img { transform: none !important; }
@media (prefers-reduced-motion:reduce) {
  .wp-site-blocks :is(.op-service-card,.wp-block-button__link),
  .wp-site-blocks .op-service-card .op-media img {
    transform: none !important;
    transition: none !important;
  }
}
