/* ==========================================================================
   OCURUS — "The Oculus" design system  ·  2026 marketing-site reskin
   --------------------------------------------------------------------------
   Loaded AFTER front.min.css in layout/__front.blade.php. This is a re-theme
   layer: it re-skins the 2017 Bootstrap-4 markup in place rather than
   replacing it, so every Blade view and JS hook keeps working.

   SCOPE: front marketing site only. The authenticated dashboard uses a
   separate Metronic stylesheet and is intentionally untouched.

   Concept: Ocurus ~ oculus (the eye / lens / circular opening).
   Aperture + degree-ring motif, monospace "lens readout" labels,
   warm-interior (ember) vs cool-sphere (optic) duality.
   ========================================================================== */

/* Manrope is self-hosted; redeclare with the full variable weight axis. */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope/Manrope-VariableFont_wght.ttf') format('truetype-variations'),
       url('/fonts/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* — brand constants — */
  --oc-void:      #0A0E17;
  --oc-optic:     #3B6BFF;
  --oc-optic-600: #2B55E0;
  --oc-optic-700: #1F41BC;
  --oc-ember:     #FF9E52;
  --oc-ember-600: #F0842F;

  /* — semantic: light (cool paper) — */
  --oc-bg:        #FFFFFF;
  --oc-surface:   #F6F8FC;
  --oc-surface-2: #EEF2F9;
  --oc-text:      #0A0E17;
  --oc-text-2:    #2A3242;
  --oc-muted:     #5B6780;
  --oc-border:    #E3E9F3;
  --oc-border-2:  #D2DBEA;
  --oc-primary:   var(--oc-optic);
  --oc-on-primary:#FFFFFF;
  --oc-accent:    var(--oc-ember);
  --oc-success:   #14A06E;
  --oc-danger:    #E5484D;

  /* tinted washes */
  --oc-optic-wash: color-mix(in srgb, var(--oc-optic) 8%, transparent);
  --oc-ember-wash: color-mix(in srgb, var(--oc-ember) 14%, transparent);

  /* — fluid type scale (1.20 minor third, viewport-responsive) — */
  --oc-text-xs:  clamp(0.75rem, 0.73rem + 0.10vw, 0.8125rem);
  --oc-text-sm:  clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --oc-text-base:clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  --oc-text-lg:  clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --oc-text-xl:  clamp(1.375rem, 1.28rem + 0.45vw, 1.625rem);
  --oc-text-2xl: clamp(1.75rem, 1.55rem + 0.95vw, 2.25rem);
  --oc-text-3xl: clamp(2.25rem, 1.85rem + 1.9vw, 3.25rem);
  --oc-text-4xl: clamp(2.75rem, 2.05rem + 3.2vw, 4.5rem);

  /* — spacing (8pt) — */
  --oc-1: 0.25rem; --oc-2: 0.5rem;  --oc-3: 0.75rem; --oc-4: 1rem;
  --oc-5: 1.5rem;  --oc-6: 2rem;    --oc-7: 3rem;    --oc-8: 4rem;
  --oc-9: 6rem;    --oc-10: 8rem;

  /* — radii — */
  --oc-r-sm: 8px; --oc-r: 14px; --oc-r-lg: 20px; --oc-r-xl: 28px; --oc-r-pill: 999px;

  /* — elevation: layered + tinted, never a fat grey blur — */
  --oc-shadow-1: 0 1px 2px rgba(10,14,23,.05), 0 1px 3px rgba(10,14,23,.04);
  --oc-shadow-2: 0 2px 4px rgba(10,14,23,.04), 0 6px 16px rgba(10,14,23,.07);
  --oc-shadow-3: 0 4px 8px rgba(10,14,23,.05), 0 16px 40px rgba(10,14,23,.10);
  --oc-shadow-optic: 0 10px 34px color-mix(in srgb, var(--oc-optic) 22%, transparent);

  /* — motion — */
  --oc-dur-1: .16s; --oc-dur-2: .28s; --oc-dur-3: .5s;
  --oc-ease: cubic-bezier(.4, 0, .2, 1);
  --oc-ease-out: cubic-bezier(.16, 1, .3, 1);

  /* — type families — */
  --oc-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --oc-mono: ui-monospace, 'SFMono-Regular', 'JetBrains Mono', Menlo, Consolas, monospace;

  --oc-maxw: 1180px;
}

/* — semantic: dark (OPT-IN ONLY) —
   Deliberately NOT wired to prefers-color-scheme. The 2017 marketing content
   is authored light: product screenshots, partner logos and illustrations all
   assume a white page, and the markup is full of .bg-white / .text-dark. Auto-
   flipping those to dark yields unreadable sections and washed-out logos.
   The page instead gets its drama from intentionally dark heroes + footer
   (the "cool sphere / warm interior" duality) on a light canvas.
   Set <html data-theme="dark"> to preview a true dark mode; finishing it means
   auditing every light-authored asset first. */
:root[data-theme="dark"] {
  --oc-bg:#0A0E17; --oc-surface:#111726; --oc-surface-2:#182032;
  --oc-text:#E9EDF6; --oc-text-2:#C6CEDE; --oc-muted:#93A0B8;
  --oc-border:#212B40; --oc-border-2:#2C3852; --oc-optic:#5B85FF;
  --oc-shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --oc-shadow-2: 0 2px 6px rgba(0,0,0,.45), 0 8px 22px rgba(0,0,0,.35);
  --oc-shadow-3: 0 6px 14px rgba(0,0,0,.5), 0 22px 50px rgba(0,0,0,.45);
}
/* Tell the UA our surfaces are light so form controls/scrollbars match. */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ==========================================================================
   2. BASE
   ========================================================================== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--oc-sans) !important;
  font-size: var(--oc-text-base);
  line-height: 1.65;
  color: var(--oc-text-2);
  background: var(--oc-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .title {
  font-family: var(--oc-sans);
  color: var(--oc-text);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}
h1, .title.h1 { font-size: var(--oc-text-3xl); }
h2 { font-size: var(--oc-text-2xl); }
h3 { font-size: var(--oc-text-xl); }
h4 { font-size: var(--oc-text-lg); letter-spacing: -0.014em; }
h5 { font-size: var(--oc-text-base); letter-spacing: -0.01em; }
h6 { font-size: var(--oc-text-sm); letter-spacing: 0; }

p { text-wrap: pretty; }
.text-muted { color: var(--oc-muted) !important; }
.para-desc { font-size: var(--oc-text-lg); color: var(--oc-muted); max-width: 62ch; line-height: 1.6; }

a { color: var(--oc-optic); text-underline-offset: 3px; transition: color var(--oc-dur-1) var(--oc-ease); }
a:hover { color: var(--oc-optic-600); }

/* Accessible focus ring — the 2017 theme had none. */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--oc-optic);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: color-mix(in srgb, var(--oc-optic) 24%, transparent); color: var(--oc-text); }

/* Skip link for keyboard users */
.oc-skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--oc-optic); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--oc-r-sm) 0; font-weight: 600;
}
.oc-skip:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. LAYOUT / SECTIONS
   ========================================================================== */
/* Vertical rhythm. The theme stacked its own mt-4/pt-2/mb-4 utilities on top of
   section padding, so adjacent sections were separating by 220px+ and short
   pages read as mostly empty. Tighter scale + de-duplicated inner margins. */
.section { padding: clamp(2.75rem, 1.5rem + 3vw, 4.75rem) 0; }
/* two stacked sections shouldn't pay the padding twice */
.section + .section { padding-top: clamp(2rem, 1rem + 2vw, 3.25rem); }
.bg-light { background: var(--oc-surface) !important; }
.container { max-width: var(--oc-maxw); }

/* collapse the theme's redundant column offsets inside sections (desktop only —
   on mobile they provide the stacking gap and must stay) */
@media (min-width: 768px) {
  .section .row > [class*="col-"].mt-4 { margin-top: 0 !important; }
  .section .row > [class*="col-"].pt-2 { padding-top: 0 !important; }
  .section .row > [class*="col-"].mt-5 { margin-top: 0 !important; }
  .section .features.mt-5 { margin-top: 0 !important; }
}
/* Feature cards: the theme shipped 200px+ "avatar-huge" art with no card
   padding, so each tile ran ~510px tall with ragged row bottoms. */
/* EQUAL-HEIGHT CARD GRIDS — and the .h-100 trap.
   Bootstrap's .h-100 is height:100%, which resolves up an ancestor chain that
   terminates at body{height:100%} — i.e. the VIEWPORT. On card grids that
   produced ~1400-1700px tall tiles (creators, requests). Fix: stretch via flex
   (align-items:stretch is the default) and force height:auto so the percentage
   can never resolve against the viewport again. */
.section .row > [class*="col-"]:has(> .card),
.section .row > [class*="col-"]:has(> .features) { display: flex; }
.section .row > [class*="col-"]:has(> .learn-card) { display: flex; }
.section .row > [class*="col-"] > .card,
.section .row > [class*="col-"] > .features,
.section .row > [class*="col-"] > .learn-card {
  width: 100%;
  height: auto !important;   /* neutralises .h-100 */
}
/* card body should own the vertical rhythm so footers/CTAs align */
.section .row > [class*="col-"] > .card { display: flex; flex-direction: column; }
.section .row > [class*="col-"] > .card > .card-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.features {
  padding: var(--oc-5) var(--oc-4) !important;
  display: flex; flex-direction: column; align-items: center;
}
.features .avatar-huge { width: clamp(88px, 7vw, 116px); height: auto; }
.features .content { margin-top: var(--oc-3) !important; }
.features .title-2 { font-size: var(--oc-text-base); font-weight: 600; color: var(--oc-text); margin-bottom: var(--oc-2); }
.features .content p { font-size: var(--oc-text-sm); }
.section-title { margin-bottom: 0; }
.section-title .title.mb-4 { margin-bottom: var(--oc-3) !important; }
/* empty helper divs the theme leaves behind */
#counter:empty { display: none; }

/* Retire the 2017 wavy SVG divider — the single most dated element on the site. */
.position-relative > .shape,
.shape.overflow-hidden { display: none !important; }

/* ==========================================================================
   4. THE APERTURE — hero treatment (the Oculus motif)
   ========================================================================== */
.bg-half:not(#home), .bg-half-170:not(#home), .disc-hero, .learn-hero, .legal-hero {
  position: relative;
  isolation: isolate;
  background: var(--oc-void) !important;
  color: #fff;
  padding: clamp(4.5rem, 3rem + 5vw, 7rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem) !important;
  height: auto !important;
  overflow: hidden;
}
/* the theme used display:table for vertical centring — collapse the dead space */
.bg-half:not(#home).d-table, .bg-half-170:not(#home).d-table { display: block !important; }
.bg-half:not(#home) .d-table-cell, .bg-half-170:not(#home) .d-table-cell { display: block !important; }
/* tight, deliberate stack: eyebrow → title → sub → breadcrumb */
.bg-half:not(#home) .page-next-level, .bg-half-170:not(#home) .page-next-level,
.disc-hero .page-next-level, .learn-hero .page-next-level, .legal-hero .page-next-level {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--oc-3);
}
.bg-half:not(#home) .page-next-level > *, .bg-half-170:not(#home) .page-next-level > * { margin: 0 !important; }
.bg-half:not(#home) .page-next-level .page-next,
.bg-half-170:not(#home) .page-next-level .page-next { margin-top: var(--oc-2) !important; }
/* cool sphere glow + warm interior — the duality */
.bg-half:not(#home)::before, .bg-half-170:not(#home)::before,
.disc-hero::before, .learn-hero::before, .legal-hero::before {
  content: '';
  position: absolute; inset: -40% -10% auto -10%; height: 150%;
  background:
    radial-gradient(58% 70% at 50% 0%, color-mix(in srgb, var(--oc-optic) 55%, transparent) 0%, transparent 70%),
    radial-gradient(40% 50% at 78% 18%, color-mix(in srgb, var(--oc-ember) 24%, transparent) 0%, transparent 68%);
  z-index: -2;
  pointer-events: none;
}
/* the degree ring / aperture */
.bg-half:not(#home)::after, .bg-half-170:not(#home)::after,
.disc-hero::after, .learn-hero::after, .legal-hero::after {
  content: '';
  position: absolute;
  left: 50%; top: 42%;
  width: min(760px, 92vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset,
              0 0 120px color-mix(in srgb, var(--oc-optic) 30%, transparent) inset;
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 72%);
          mask-image: radial-gradient(circle, #000 62%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.bg-half h1, .bg-half-170 h1,
.bg-half .page-next-level h2, .bg-half-170 .page-next-level h2, /* blog detail uses an h2 */
.bg-half .title, .bg-half-170 .title,
.bg-half h4, .bg-half-170 h4 { color: #fff; }
.bg-half .text-muted, .bg-half-170 .text-muted { color: rgba(233,237,246,.72) !important; }

/* breadcrumb pill on dark heroes.
   The 2017 theme offset this with `bottom:-110px` so it straddled the hero's
   bottom edge; that collides with the aperture's overflow:hidden. Sit it
   inside the hero band instead — cleaner and it survives any hero height. */
.page-next {
  position: static !important;
  bottom: auto !important;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: none !important;
  border-radius: var(--oc-r-pill) !important;
}
.page-next li a, .page-next li span { color: rgba(255,255,255,.78) !important; font-size: var(--oc-text-xs); }
.page-next li .text-primary { color: #fff !important; }

/* --------------------------------------------------------------------------
   4b. THE LIVE-TOUR HERO (#home) — our single biggest differentiator.
   A real, interactive 360° tour loads behind the headline; EXPLORE dissolves
   the marketing chrome and hands the visitor the product itself.
   So: no opaque aperture here — only a legibility scrim over live pixels.
   -------------------------------------------------------------------------- */
#home {
  position: relative;
  background: var(--oc-void) !important;
  min-height: clamp(580px, 90svh, 940px);
  padding: 0 !important;
  overflow: hidden;
}
#home.d-table, #home.center-inside {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
#home #deferred-tour { border: 0; z-index: 0; }

/* Bottom-anchored scrim, not full-bleed: the live tour must read as something
   you can grab, not as a background video. (Competitor teardown: Kuula is the
   only other player with a genuinely interactive hero — this is our wedge.) */
#home .bg-overlay {
  background:
    linear-gradient(180deg, rgba(10,14,23,.55) 0%, rgba(10,14,23,.18) 26%, rgba(10,14,23,.30) 58%, rgba(10,14,23,.88) 100%) !important;
  opacity: 1 !important;
  transition: opacity var(--oc-dur-3) var(--oc-ease);
  z-index: 1;
}
#home #base-container { position: relative; z-index: 2; }
#home .bg-overlay.hidden, #home #base-container.hidden { opacity: 0; pointer-events: none; }

/* a soft local scrim so the copy always reads against live tour pixels */
#home .title-heading {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1rem, .5rem + 2vw, 2.5rem);
}
#home .title-heading::before {
  content: '';
  position: absolute; inset: -8% -6%;
  background: radial-gradient(58% 62% at 50% 50%, rgba(10,14,23,.62) 0%, rgba(10,14,23,.28) 55%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}
#home h1.heading {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 17ch;
  margin-inline: auto;
  margin-bottom: clamp(1rem, .8rem + .6vw, 1.5rem) !important;
  text-shadow: 0 2px 30px rgba(10,14,23,.55);
}
/* the dated bootstrap green → the Oculus ember */
#home h1.heading .text-success {
  color: var(--oc-ember) !important;
  background: linear-gradient(96deg, var(--oc-ember) 0%, #FFC48A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
#home .para-desc {
  color: rgba(233,237,246,.86) !important;
  font-size: var(--oc-text-lg);
  max-width: 56ch; margin-inline: auto;
  text-shadow: 0 1px 18px rgba(10,14,23,.55);
}
/* EXPLORE — reads as the invitation into the live product */
#home .watch {
  font-family: var(--oc-mono);
  letter-spacing: .14em;
  font-size: var(--oc-text-sm);
  font-weight: 600;
  display: inline-flex; align-items: center;
}
#home .play-icon-circle {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  width: 46px; height: 46px; line-height: 46px;
  transition: all var(--oc-dur-2) var(--oc-ease);
}
#home .watch:hover .play-icon-circle {
  background: var(--oc-ember) !important; border-color: var(--oc-ember);
  color: #23140A !important; transform: scale(1.06);
}

/* “lens readout” — monospace micro-label (eyebrow) */
.oc-readout {
  font-family: var(--oc-mono);
  font-size: var(--oc-text-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oc-ember);
  display: inline-flex; align-items: center; gap: .55em;
}
.oc-readout::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--oc-ember);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oc-ember) 22%, transparent);
}
.bg-half .oc-readout, .bg-half-170 .oc-readout { color: var(--oc-ember); }

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */
#topnav {
  background: color-mix(in srgb, var(--oc-bg) 82%, transparent) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  box-shadow: none !important;
  transition: border-color var(--oc-dur-2) var(--oc-ease), background var(--oc-dur-2) var(--oc-ease);
}
#topnav.nav-sticky, #topnav.sticky {
  border-bottom-color: var(--oc-border);
  background: color-mix(in srgb, var(--oc-bg) 92%, transparent) !important;
}
#topnav .navigation-menu > li > a {
  color: var(--oc-text-2) !important;
  font-size: var(--oc-text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  position: relative;
}
#topnav .navigation-menu > li > a:hover,
#topnav .navigation-menu > li.active > a { color: var(--oc-optic) !important; }
/* underline that grows from the centre */
#topnav .navigation-menu > li > a::after {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 0; height: 2px; border-radius: 2px; background: var(--oc-optic);
  transform: translateX(-50%);
  transition: width var(--oc-dur-2) var(--oc-ease-out);
}
#topnav .navigation-menu > li > a:hover::after { width: 60%; }
#topnav .logo img { max-height: 34px; width: auto; }

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  font-family: var(--oc-sans);
  font-size: var(--oc-text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--oc-r-sm) !important;
  padding: .72rem 1.35rem;
  border-width: 1px;
  transition: transform var(--oc-dur-1) var(--oc-ease),
              box-shadow var(--oc-dur-2) var(--oc-ease),
              background-color var(--oc-dur-1) var(--oc-ease),
              border-color var(--oc-dur-1) var(--oc-ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn-primary, .btn.btn-primary {
  background: var(--oc-optic) !important;
  border-color: var(--oc-optic) !important;
  color: var(--oc-on-primary) !important;
  box-shadow: var(--oc-shadow-optic);
}
.btn-primary:hover, .btn.btn-primary:hover {
  background: var(--oc-optic-600) !important;
  border-color: var(--oc-optic-600) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--oc-optic) 34%, transparent);
}
/* the warm counterpart — used for the single primary conversion action */
.btn-ember {
  background: var(--oc-ember) !important;
  border-color: var(--oc-ember) !important;
  color: #23140A !important;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--oc-ember) 32%, transparent);
}
.btn-ember:hover { background: var(--oc-ember-600) !important; border-color: var(--oc-ember-600) !important; transform: translateY(-2px); color:#23140A !important; }

.btn-soft-primary, .btn-outline-primary {
  background: var(--oc-optic-wash) !important;
  border-color: color-mix(in srgb, var(--oc-optic) 26%, transparent) !important;
  color: var(--oc-optic) !important;
  box-shadow: none;
}
.btn-soft-primary:hover, .btn-outline-primary:hover {
  background: var(--oc-optic) !important; color: #fff !important;
  border-color: var(--oc-optic) !important; transform: translateY(-2px);
}
/* ghost button that reads on the dark hero */
.bg-half .btn-soft-primary, .bg-half-170 .btn-soft-primary {
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}
.bg-half .btn-soft-primary:hover, .bg-half-170 .btn-soft-primary:hover {
  background: rgba(255,255,255,.16) !important; color: #fff !important;
}
.btn-lg { padding: .95rem 1.9rem; font-size: var(--oc-text-base); }

/* the nav CTA pair */
.buy-button .btn { padding: .58rem 1.1rem; }

/* ==========================================================================
   7. SURFACES / CARDS
   ========================================================================== */
.card, .job-box, .blog, .course-feature, .sidebar, .features,
.disc-filter, .legal-toc, .legal-body, .learn-card {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border) !important;
  border-radius: var(--oc-r) !important;
  box-shadow: var(--oc-shadow-1) !important;
  transition: transform var(--oc-dur-2) var(--oc-ease-out),
              box-shadow var(--oc-dur-2) var(--oc-ease),
              border-color var(--oc-dur-2) var(--oc-ease);
}
/* neutralise the theme's heavy blanket shadow */
.shadow, .shadow-lg { box-shadow: var(--oc-shadow-1) !important; }

.card:hover, .job-box:hover, .blog:hover, .course-feature:hover, .learn-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--oc-optic) 34%, var(--oc-border)) !important;
  box-shadow: var(--oc-shadow-3) !important;
}
.rounded { border-radius: var(--oc-r) !important; }

.widget-title {
  font-size: var(--oc-text-sm) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--oc-text);
}

/* ==========================================================================
   8. FORMS
   ========================================================================== */
.form-control, .custom-select, input[type="text"], input[type="email"],
input[type="password"], textarea, select {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border-2) !important;
  border-radius: var(--oc-r-sm) !important;
  color: var(--oc-text);
  font-size: var(--oc-text-sm);
  padding: .7rem .9rem;
  height: auto;
  box-shadow: none !important;
  transition: border-color var(--oc-dur-1) var(--oc-ease), box-shadow var(--oc-dur-1) var(--oc-ease);
}
.form-control:focus, .custom-select:focus, textarea:focus, select:focus {
  border-color: var(--oc-optic) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--oc-optic) 16%, transparent) !important;
}
.form-control::placeholder { color: color-mix(in srgb, var(--oc-muted) 78%, transparent); }
label { font-size: var(--oc-text-sm); font-weight: 600; color: var(--oc-text-2); }
.custom-control-input:checked ~ .custom-control-label::before {
  background: var(--oc-optic) !important; border-color: var(--oc-optic) !important;
}
.custom-control-label { font-weight: 500; color: var(--oc-text-2); }

/* ==========================================================================
   9. BADGES · PAGINATION · MISC
   ========================================================================== */
.badge { font-weight: 600; letter-spacing: .01em; border-radius: var(--oc-r-pill); padding: .38em .8em; font-size: var(--oc-text-xs); }
.badge-success { background: color-mix(in srgb, var(--oc-success) 14%, transparent) !important; color: var(--oc-success) !important; }
/* a badge sitting inside an active/filled pill must invert, not tint */
.nav-link.active .badge, .nav-link.active .badge-success,
.btn .badge, .bg-primary .badge {
  background: rgba(255,255,255,.22) !important;
  color: #fff !important;
}

/* front.min.css is Bootstrap 4, whose .pagination is display:flex with NO wrap -
   on a 375px phone a long page list ran 605px wide and forced the whole page to
   scroll sideways (measured on /creators). Let it wrap and centre. */
.pagination {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 6px;
}

.pagination li a {
  border-radius: var(--oc-r-sm) !important;
  border: 1px solid var(--oc-border) !important;
  color: var(--oc-text-2) !important;
  margin: 0 3px; font-size: var(--oc-text-sm); font-weight: 600;
  transition: all var(--oc-dur-1) var(--oc-ease);
  /* comfortable thumb target */
  min-height: 38px; display: inline-flex; align-items: center;
}
.pagination li a:hover { border-color: var(--oc-optic) !important; color: var(--oc-optic) !important; }
.pagination li.active a { background: var(--oc-optic) !important; border-color: var(--oc-optic) !important; color: #fff !important; }

#back-to-top {
  background: var(--oc-optic) !important; color: #fff !important;
  border-radius: var(--oc-r-sm) !important;
  box-shadow: var(--oc-shadow-optic);
}

/* preloader — fade instead of snap */
#preloader { background: var(--oc-bg) !important; }

/* cookie banner */
.cookie-wrapper .cookie-content {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border);
  border-radius: var(--oc-r-lg);
  box-shadow: var(--oc-shadow-3);
}
.cookie-wrapper .cookie-item { border-radius: var(--oc-r-sm); }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  background: var(--oc-void) !important;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: var(--oc-8);
}
.footer .logo-footer img { height: 40px; width: auto; max-width: 200px; }
.footer .footer-head, .footer h4, .footer h5 { color: #fff !important; font-size: var(--oc-text-sm); letter-spacing: .01em; }
.footer p, .footer .text-foot { color: rgba(233,237,246,.62) !important; font-size: var(--oc-text-sm); }
.footer .text-foot:hover { color: var(--oc-optic) !important; }
.footer .social-icon li a {
  border: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(233,237,246,.75) !important;
  border-radius: var(--oc-r-sm) !important;
  transition: all var(--oc-dur-2) var(--oc-ease);
}
.footer .social-icon li a:hover {
  background: var(--oc-optic) !important; border-color: var(--oc-optic) !important;
  color: #fff !important; transform: translateY(-3px);
}
.footer-bar { background: var(--oc-void) !important; border-top: 1px solid rgba(255,255,255,.07); }
.footer-bar p { color: rgba(233,237,246,.5) !important; font-size: var(--oc-text-xs); }

/* ==========================================================================
   11. MOTION — reveal on scroll (progressive; no-JS shows everything)
   ========================================================================== */
.oc-reveal { opacity: 0; transform: translateY(18px); }
.oc-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--oc-dur-3) var(--oc-ease-out), transform var(--oc-dur-3) var(--oc-ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .oc-reveal, .oc-reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   12. UTILITIES
   ========================================================================== */
/* ==========================================================================
   13. MOBILE NAV + COOKIE SHEET
   The 2017 theme set .buy-button{display:none} under 992px, so mobile
   visitors had NO Sign in / Start free trial anywhere. Restore them as
   full-width actions at the foot of the drawer.
   ========================================================================== */
@media (max-width: 991px) {
  #topnav .navigation-menu > li.has-submenu { width: 100%; }
  #topnav .buy-button { display: block !important; width: 100%; padding: var(--oc-4) 0 var(--oc-2); }
  #topnav .buy-button .btn { display: block; width: 100%; margin: 0 0 var(--oc-2); text-align: center; }
  #topnav .navigation-menu > li > a { padding: .85rem 0; font-size: var(--oc-text-base); }
  #topnav .navigation-menu > li > a::after { display: none; }
  #topnav .navigation-menu { padding-bottom: var(--oc-4); }
}
@media (max-width: 767px) {
  .cookie-wrapper .cookie-content { padding: var(--oc-4) !important; max-height: 62vh; overflow: auto; }
  .cookie-wrapper .cookie-content p { font-size: var(--oc-text-sm); line-height: 1.55; }
  .cookie-wrapper .cookie-content header { font-size: var(--oc-text-lg); }
}

/* ==========================================================================
   14. HERO INTERACTIVITY AFFORDANCE — "this is grabbable"
   ========================================================================== */
.oc-hero-hint {
  display: inline-flex; align-items: center; gap: .6em;
  margin-top: var(--oc-5);
  padding: .5rem 1rem;
  border-radius: var(--oc-r-pill);
  background: rgba(10,14,23,.42);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  font-family: var(--oc-mono);
  font-size: var(--oc-text-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.oc-hero-hint .mdi { font-size: 1.1em; color: var(--oc-ember); }
@media (prefers-reduced-motion: no-preference) {
  .oc-hero-hint .mdi { animation: oc-nudge 2.4s var(--oc-ease) infinite; }
}
@keyframes oc-nudge { 0%,100%{transform:translateX(-3px)} 50%{transform:translateX(3px)} }

/* ==========================================================================
   15. CREATORS DIRECTORY — uniform tiles
   ========================================================================== */
.creator-col { display: flex; margin-top: var(--oc-4); }
.creator-card { width: 100%; display: flex; }
.creator-card .card-body { display: flex; flex-direction: column; align-items: center; width: 100%; }
.creator-avatar { width: 88px; height: 88px; object-fit: cover; background: var(--oc-surface-2); }
/* reserve two lines so tiles with and without a bio stay the same height */
.creator-bio {
  min-height: 2.8em; margin-bottom: var(--oc-3) !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.creator-card .btn { margin-top: auto !important; }
.creator-card .content { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; }

/* ==========================================================================
   16. LOGO WALL — one flexible strip, no orphaned rows
   ========================================================================== */
.oc-logowall {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  margin: 0 auto; max-width: 980px;
}
.oc-logowall img {
  height: clamp(26px, 2.6vw, 38px); width: auto; max-width: 130px; object-fit: contain;
  opacity: .55; filter: grayscale(1);
  transition: opacity var(--oc-dur-2) var(--oc-ease), filter var(--oc-dur-2) var(--oc-ease);
}
.oc-logowall img:hover { opacity: 1; filter: none; }

/* --------------------------------------------------------------------------
   16b. CLIENT MARQUEE — a continuously scrolling wall of real client names
   --------------------------------------------------------------------------
   The track holds the list TWICE. Animating it to -50% therefore lands on a
   frame identical to the start, so the loop has no visible seam. Duration is
   set per-instance from config/partners.php via --oc-marquee-duration.
   -------------------------------------------------------------------------- */
.oc-marquee {
  position: relative;
  overflow: hidden;
  padding: .25rem 0;
  /* Fade the two ends so items enter and leave instead of being chopped off. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.oc-marquee__track {
  display: flex;
  width: max-content;
  animation: oc-marquee-scroll var(--oc-marquee-duration, 90s) linear infinite;
}
.oc-marquee:hover .oc-marquee__track,
.oc-marquee:focus-within .oc-marquee__track { animation-play-state: paused; }

.oc-marquee__row {
  display: flex; align-items: center;
  gap: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
  margin: 0; padding: 0 clamp(.875rem, .5rem + 1.25vw, 1.625rem) 0 0;
  list-style: none;
}
.oc-marquee__item { flex: none; display: flex; align-items: center; }
.oc-marquee__item img {
  height: clamp(30px, 3vw, 44px); width: auto; max-width: 150px; object-fit: contain;
  opacity: .72; filter: grayscale(1);
  transition: opacity var(--oc-dur-2) var(--oc-ease), filter var(--oc-dur-2) var(--oc-ease);
}
.oc-marquee__item img:hover { opacity: 1; filter: none; }

/* Clients without a logo file render as a wordmark. Deliberately typographic
   rather than a fake logo - it reads as a name, which is what it is. */
.oc-wordmark { /* legacy — superseded by .oc-logotile */
  white-space: nowrap;
  font-weight: 650;
  font-size: clamp(.9375rem, .85rem + .35vw, 1.125rem);
  letter-spacing: -0.015em;
  color: var(--oc-muted);
  opacity: .8;
  transition: color var(--oc-dur-2) var(--oc-ease), opacity var(--oc-dur-2) var(--oc-ease);
}
.oc-wordmark:hover { color: var(--oc-text); opacity: 1; }

/* --------------------------------------------------------------------------
   Counter figures — keep the number and its "+" on ONE line
   --------------------------------------------------------------------------
   The markup was `<span>1234567</span> +` inside an <h2> at a fixed 30px. Once the
   view counter reached seven digits the "+" wrapped onto its own line and the tile
   grew a ragged second row. Flex + nowrap keeps them together, and the size is
   fluid so long figures shrink instead of breaking the box.
   -------------------------------------------------------------------------- */
.oc-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .18em;
  white-space: nowrap;
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.oc-counter .counter-value { display: inline-block; }
.oc-counter__plus { font-size: .7em; opacity: .65; font-weight: 600; }

/* The tile itself: the old padding (p-4 pt-5 pb-5) plus a two-line label left the
   four boxes at different heights. Even them up and let the label wrap cleanly. */
.counter-box { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.counter-box .counter-head {
  font-size: clamp(.8125rem, .75rem + .25vw, .9375rem);
  line-height: 1.35;
  margin-bottom: 0;
  text-wrap: balance;
}

/* ==========================================================================
   17. FAQ — equal-height cards on a real grid
   --------------------------------------------------------------------------
   Replaces eight Bootstrap float columns that carried three different margin
   recipes (none / mt-4 mt-sm-0 pt-2 pt-sm-0 / mt-4 pt-2). Any difference in
   answer length left the rows ragged and the icon sat on its own line, because
   the old .question had an <i class="h4"> inside an <h4>, giving the icon its
   own line-height. Grid + flex fixes both.
   ========================================================================== */
.oc-faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(.875rem, .5rem + 1vw, 1.5rem);
  align-items: stretch;
}
.oc-faq__item {
  background: var(--oc-bg, #fff);
  border: 1px solid var(--oc-border, #E3E9F3);
  border-radius: 12px;
  padding: clamp(1.125rem, .9rem + .7vw, 1.625rem);
  display: flex;
  flex-direction: column;
  gap: .625rem;
  transition: border-color var(--oc-dur-2) var(--oc-ease), box-shadow var(--oc-dur-2) var(--oc-ease);
}
.oc-faq__item:hover {
  border-color: var(--oc-optic, #3B6BFF);
  box-shadow: 0 6px 24px rgba(10, 14, 23, .07);
}
.oc-faq__q {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin: 0;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--oc-text, #0A0E17);
  text-wrap: balance;
}
/* The icon is a sibling flex item, so it aligns to the first line of the
   question instead of forcing its own line as it did inside the old <h4>. */
.oc-faq__q > i {
  flex: none;
  font-size: 1.25em;
  line-height: 1.1;
  color: var(--oc-optic, #3B6BFF);
}
.oc-faq__a {
  margin: 0;
  color: var(--oc-muted, #5B6780);
  font-size: var(--oc-text-sm, .9375rem);
  line-height: 1.65;
}

/* Two buttons, one row - always. The pair used to be inline-block siblings that
   wrapped to separate lines as soon as the card narrowed, so a two-column card
   showed a stacked, ragged pair. Grid keeps them equal-width and side by side,
   and only stacks below 360px where side-by-side genuinely will not fit. */
.oc-btn-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
}
.oc-btn-pair > .btn {
  width: 100%;
  margin: 0;
  white-space: nowrap;
  padding-left: .75rem; padding-right: .75rem;
}
@media (max-width: 359px) { .oc-btn-pair { grid-template-columns: 1fr; } }

@keyframes oc-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* The middle row runs the other way. Reversing the animation direction rather than
   writing a second keyframe keeps the two in sync if the timing is ever tuned. */
.oc-marquee--reverse .oc-marquee__track { animation-direction: reverse; }

/* Three stacked rows read as a wall rather than a ticker. */
.oc-wall { display: flex; flex-direction: column; gap: .5rem; }

/* --------------------------------------------------------------------------
   Monogram lockup, used for clients with no logo file on record.
   Deliberately NOT an invented logo: a neutral initial mark next to the real
   name, so the wall reads as a set of marks without impersonating a brand.
   -------------------------------------------------------------------------- */
.oc-logotile {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  padding: .3125rem .6875rem .3125rem .3125rem;
  border: 1px solid var(--oc-border, #E3E9F3);
  border-radius: 999px;
  background: var(--oc-bg, #fff);
  opacity: .72;
  transition: opacity var(--oc-dur-2) var(--oc-ease), border-color var(--oc-dur-2) var(--oc-ease),
              transform var(--oc-dur-2) var(--oc-ease);
}
.oc-logotile:hover {
  opacity: 1;
  border-color: hsl(var(--tile-hue, 220) 70% 62%);
  transform: translateY(-1px);
}
.oc-logotile__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: hsl(var(--tile-hue, 220) 72% 96%);
  color: hsl(var(--tile-hue, 220) 68% 42%);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.oc-logotile__name {
  font-size: clamp(.8125rem, .78rem + .18vw, .9375rem);
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--oc-text-2, #2A3242);
  max-width: 15rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Motion-sensitive visitors get a static, wrapped wall instead of a moving one. */
@media (prefers-reduced-motion: reduce) {
  .oc-marquee { -webkit-mask-image: none; mask-image: none; max-height: 8.5rem; overflow: hidden; }
  .oc-marquee__track { animation: none; width: 100%; }
  .oc-marquee__track > .oc-marquee__row[aria-hidden="true"] { display: none; }
  .oc-marquee__row { flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
}

.oc-grid { display: grid; gap: var(--oc-5); }
.oc-stat { font-family: var(--oc-mono); font-weight: 700; letter-spacing: -0.03em; font-size: var(--oc-text-3xl); color: var(--oc-text); }
.oc-stat-label { font-size: var(--oc-text-sm); color: var(--oc-muted); }
.oc-hr { height: 1px; background: var(--oc-border); border: 0; margin: var(--oc-7) 0; }
.text-primary { color: var(--oc-optic) !important; }
.bg-primary { background: var(--oc-optic) !important; }

/* Auth pages: "Forgot password?" and "Sign Up" rendered as 18-21px-tall links -
   below any comfortable thumb target. */
.login-page a,
.auth-page a,
form a.forgot-pass {
  display: inline-block;
  padding: 8px 4px;
  min-height: 38px;
  line-height: 22px;
}

/* ==========================================================================
   18. DISCOVERY — filters on top, dense tour grid
   --------------------------------------------------------------------------
   Replaces a left sidebar + 2-column result list. The sidebar cost a third of the
   width on every screen and scrolled away, while the results were too wide to
   scan. Filters now sit in a sticky bar and the grid runs up to five columns.
   ========================================================================== */
.disc-hero {
  background: linear-gradient(135deg, #101B3A 0%, #0A0E17 60%, #12233F 100%);
  color: #fff;
  padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0 clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  text-align: center;
}
.disc-hero__eyebrow {
  font-family: var(--oc-mono, ui-monospace, monospace);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin: 0 0 .75rem;
}
.disc-hero__title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight: 800;
  letter-spacing: -.025em; margin: 0 0 .75rem; color: #fff; text-wrap: balance;
}
.disc-hero__lede {
  max-width: 46rem; margin: 0 auto; color: rgba(255,255,255,.72);
  font-size: clamp(.9375rem, .9rem + .3vw, 1.0625rem);
}

/* ---- filter bar ---- */
.disc-bar {
  position: sticky; top: 0; z-index: 30;
  background: var(--oc-bg, #fff);
  border-bottom: 1px solid var(--oc-border, #E3E9F3);
  padding: .875rem 0;
  box-shadow: 0 2px 14px rgba(10,14,23,.05);
}
.disc-bar__row { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }

.disc-search { position: relative; flex: 1 1 18rem; min-width: 0; }
.disc-search > i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--oc-muted, #5B6780); pointer-events: none;
}
.disc-search input {
  width: 100%; height: 46px; border-radius: 10px; font-size: 15px;
  padding: 0 2.25rem 0 2.75rem;
  border: 1px solid var(--oc-border-2, #D2DBEA); background: var(--oc-surface, #F6F8FC);
  color: var(--oc-text, #0A0E17);
}
.disc-search input:focus {
  outline: none; background: var(--oc-bg, #fff);
  border-color: var(--oc-optic, #3B6BFF);
  box-shadow: 0 0 0 3px rgba(59,107,255,.15);
}
.disc-search__clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--oc-muted, #5B6780); font-size: 20px; line-height: 1; text-decoration: none;
}

.disc-selects { display: flex; flex-wrap: wrap; gap: .625rem; }
.disc-selects select {
  height: 46px; border-radius: 10px; padding: 0 2rem 0 .875rem; font-size: 14px;
  border: 1px solid var(--oc-border-2, #D2DBEA); background: var(--oc-surface, #F6F8FC);
  color: var(--oc-text, #0A0E17); cursor: pointer; max-width: 12rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6780' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 11px;
}
.disc-selects select:focus { outline: none; border-color: var(--oc-optic, #3B6BFF); }
.disc-apply {
  height: 46px; padding: 0 1.25rem; border: 0; border-radius: 10px;
  background: var(--oc-optic, #3B6BFF); color: #fff; font-weight: 650; font-size: 14px; cursor: pointer;
}
.disc-apply:hover { background: var(--oc-optic-600, #2B55E0); }

.disc-chips { display: flex; flex-wrap: wrap; gap: .4375rem; margin-top: .75rem; }
.disc-chip {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .25rem .625rem; border-radius: 999px; font-size: 13px;
  background: var(--oc-optic-wash, #EBF0FF); color: var(--oc-optic-700, #1F41BC);
  border: 1px solid rgba(59,107,255,.2);
}
.disc-chip a { color: inherit; text-decoration: none; font-size: 15px; line-height: 1; opacity: .7; }
.disc-chip a:hover { opacity: 1; }
.disc-chip--clear { background: transparent; border-color: var(--oc-border-2, #D2DBEA); color: var(--oc-muted, #5B6780); text-decoration: none; }

/* ---- results ---- */
.disc-results { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 4rem; background: var(--oc-surface, #F6F8FC); }
.disc-count { color: var(--oc-muted, #5B6780); font-size: 14px; margin: 0 0 1.25rem; }
.disc-count strong { color: var(--oc-text, #0A0E17); }
.disc-count__sort { opacity: .75; }

.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(.875rem, .6rem + .9vw, 1.375rem);
}
.disc-card {
  background: var(--oc-bg, #fff);
  border: 1px solid var(--oc-border, #E3E9F3);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s var(--oc-ease, ease), box-shadow .22s var(--oc-ease, ease), border-color .22s;
}
.disc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59,107,255,.35);
  box-shadow: 0 14px 34px rgba(10,14,23,.11);
}
.disc-card__shot { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--oc-surface-2, #EEF2F9); overflow: hidden; }
.disc-card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--oc-ease, ease); }
.disc-card:hover .disc-card__shot img { transform: scale(1.05); }
.disc-card__scenes {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(10,14,23,.72); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px);
}
.disc-card__play {
  position: absolute; inset: 0; display: grid; place-content: center;
  gap: .25rem; color: #fff; font-weight: 700; font-size: 14px;
  background: rgba(10,14,23,.45); opacity: 0; transition: opacity .22s;
}
.disc-card__shot:hover .disc-card__play, .disc-card__shot:focus-visible .disc-card__play { opacity: 1; }

.disc-card__body { padding: .875rem 1rem 1rem; display: flex; flex-direction: column; gap: .3125rem; flex: 1; }
.disc-card__title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.35; }
.disc-card__title a {
  color: var(--oc-text, #0A0E17); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-card__title a:hover { color: var(--oc-optic, #3B6BFF); }
.disc-card__meta { font-size: 12.5px; color: var(--oc-muted, #5B6780); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.disc-card__meta a { color: inherit; text-decoration: none; }
.disc-card__meta a:hover { color: var(--oc-optic, #3B6BFF); }
.disc-card__stats {
  list-style: none; margin: auto 0 0; padding: .5rem 0 0;
  display: flex; gap: .875rem; font-size: 12px; color: var(--oc-muted, #5B6780);
  border-top: 1px solid var(--oc-border, #E3E9F3);
  font-variant-numeric: tabular-nums;
}
.disc-card__stats i { color: var(--oc-optic, #3B6BFF); opacity: .7; }

.disc-empty { text-align: center; padding: 4rem 1rem; color: var(--oc-muted, #5B6780); }
.disc-empty i { font-size: 46px; opacity: .35; }
.disc-empty h5 { margin: .75rem 0 .25rem; color: var(--oc-text, #0A0E17); }
.disc-pager { margin-top: 2rem; display: flex; justify-content: center; }

@media (max-width: 767px) {
  .disc-bar { position: static; }
  .disc-selects { width: 100%; }
  .disc-selects select { flex: 1 1 8rem; max-width: none; }
  .disc-apply { flex: 1 1 100%; }
}

/* The theme container caps at 1140px, which limits the grid to four columns on a
   wide screen. Discovery is a browsing page - give it room for five. */
@media (min-width: 1200px) {
  .disc-bar > .container,
  .disc-results > .container,
  .disc-hero > .container { max-width: 1440px; }
}

/* ==========================================================================
   19. MARKETPLACE — creators, project board, proposals, hall of fame
   --------------------------------------------------------------------------
   One family: .mk-*. The three pages (creators / requests / leaderboard) share
   a sub-nav strip and card language so they read as one distinct section.
   ========================================================================== */
.mk-hero {
  background:
    radial-gradient(60rem 30rem at 85% -20%, rgba(59,107,255,.28), transparent),
    linear-gradient(150deg, #0E1730 0%, #0A0E17 70%);
  color: #fff; text-align: center;
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0 clamp(2rem, 1.4rem + 2.5vw, 3rem);
}
.mk-hero__eyebrow { font-family: var(--oc-mono, monospace); font-size: 12px;
  letter-spacing: .15em; text-transform: uppercase; color: var(--oc-ember, #FF9E52); margin: 0 0 .625rem; }
.mk-hero__title { font-size: clamp(1.9rem, 1.3rem + 3vw, 3rem); font-weight: 800;
  letter-spacing: -.025em; color: #fff; margin: 0 0 .625rem; text-wrap: balance; }
.mk-hero__lede { max-width: 44rem; margin: 0 auto; color: rgba(255,255,255,.72); }

/* ---- section sub-nav: makes the marketplace feel like one place ---- */
.mk-nav { background: var(--oc-bg,#fff); border-bottom: 1px solid var(--oc-border,#E3E9F3);
  position: sticky; top: 0; z-index: 30; }
.mk-nav__row { display: flex; align-items: center; gap: .25rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch; padding: .5rem 0; }
.mk-nav__link { flex: none; padding: .5rem .875rem; border-radius: 999px; font-size: 14px;
  font-weight: 600; color: var(--oc-muted,#5B6780); text-decoration: none; white-space: nowrap;
  transition: background .18s, color .18s; }
.mk-nav__link:hover { color: var(--oc-text,#0A0E17); background: var(--oc-surface-2,#EEF2F9); text-decoration: none; }
.mk-nav__link.is-active { color: var(--oc-optic-700,#1F41BC); background: var(--oc-optic-wash,#EBF0FF); }
.mk-nav__cta { margin-left: auto; flex: none; background: var(--oc-optic,#3B6BFF); color: #fff !important;
  padding: .5rem 1rem; border-radius: 999px; font-size: 14px; font-weight: 650; text-decoration: none; }
.mk-nav__cta:hover { background: var(--oc-optic-600,#2B55E0); text-decoration: none; }

.mk-section { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) 0 4rem; background: var(--oc-surface,#F6F8FC); }

/* ---- podium: the top-three stand ---- */
.mk-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  align-items: end; max-width: 46rem; margin: 0 auto 2rem; }
.mk-podium__step { background: var(--oc-bg,#fff); border: 1px solid var(--oc-border,#E3E9F3);
  border-radius: 16px 16px 0 0; text-align: center; padding: 1.25rem 1rem 0;
  display: flex; flex-direction: column; align-items: center; gap: .375rem; position: relative; }
.mk-podium__step--1 { order: 2; padding-bottom: 3.4rem; border-top: 3px solid #E8B93B; }
.mk-podium__step--2 { order: 1; padding-bottom: 2.2rem; border-top: 3px solid #9FB2C8; }
.mk-podium__step--3 { order: 3; padding-bottom: 1.4rem; border-top: 3px solid #C98A5E; }
.mk-podium__medal { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; box-shadow: 0 3px 8px rgba(10,14,23,.25); }
.mk-podium__step--1 .mk-podium__medal { background: #E8B93B; }
.mk-podium__step--2 .mk-podium__medal { background: #9FB2C8; }
.mk-podium__step--3 .mk-podium__medal { background: #C98A5E; }
.mk-podium__step img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--oc-bg,#fff); box-shadow: 0 4px 14px rgba(10,14,23,.14); }
.mk-podium__name { font-weight: 750; font-size: 15px; color: var(--oc-text,#0A0E17);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-podium__name a { color: inherit; text-decoration: none; }
.mk-podium__score { font-family: var(--oc-mono, monospace); font-variant-numeric: tabular-nums;
  font-size: 13px; color: var(--oc-optic,#3B6BFF); font-weight: 700; }
@media (max-width: 575px) { .mk-podium { grid-template-columns: 1fr; align-items: stretch; }
  .mk-podium__step { order: unset !important; padding-bottom: 1.25rem !important; border-radius: 14px; } }

/* ---- leaderboard lists (ranks 4–10) ---- */
.mk-board { background: var(--oc-bg,#fff); border: 1px solid var(--oc-border,#E3E9F3);
  border-radius: 14px; overflow: hidden; }
.mk-board__head { padding: .875rem 1.125rem; border-bottom: 1px solid var(--oc-border,#E3E9F3);
  display: flex; align-items: baseline; gap: .5rem; }
.mk-board__title { font-weight: 750; font-size: 15.5px; margin: 0; }
.mk-board__hint { font-size: 12px; color: var(--oc-muted,#5B6780); }
.mk-board ol { list-style: none; margin: 0; padding: 0; }
.mk-board li { display: flex; align-items: center; gap: .75rem; padding: .625rem 1.125rem;
  border-bottom: 1px solid var(--oc-surface-2,#EEF2F9); }
.mk-board li:last-child { border-bottom: 0; }
.mk-board__rank { flex: none; width: 1.5rem; text-align: right;
  font-family: var(--oc-mono, monospace); font-size: 13px; color: var(--oc-muted,#5B6780); }
.mk-board img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.mk-board__who { min-width: 0; flex: 1; }
.mk-board__who a { font-weight: 650; font-size: 14px; color: var(--oc-text,#0A0E17);
  text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-board__who a:hover { color: var(--oc-optic,#3B6BFF); }
.mk-board__who small { color: var(--oc-muted,#5B6780); display: block; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.mk-board__score { font-family: var(--oc-mono, monospace); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: 14px; color: var(--oc-optic,#3B6BFF); }

/* ---- request cards on the board ---- */
.mk-req { background: var(--oc-bg,#fff); border: 1px solid var(--oc-border,#E3E9F3);
  border-radius: 14px; padding: 1.125rem 1.25rem; display: flex; flex-direction: column;
  gap: .5rem; transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.mk-req:hover { border-color: rgba(59,107,255,.4); box-shadow: 0 12px 30px rgba(10,14,23,.09);
  transform: translateY(-2px); }
.mk-req__top { display: flex; gap: .625rem; align-items: flex-start; justify-content: space-between; }
.mk-req__title { font-size: 16px; font-weight: 750; margin: 0; line-height: 1.35; }
.mk-req__title a { color: var(--oc-text,#0A0E17); text-decoration: none; }
.mk-req__title a:hover { color: var(--oc-optic,#3B6BFF); }
.mk-req__desc { color: var(--oc-muted,#5B6780); font-size: 14px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-req__facts { display: flex; flex-wrap: wrap; gap: .375rem .875rem; font-size: 12.5px;
  color: var(--oc-muted,#5B6780); margin-top: auto; padding-top: .625rem;
  border-top: 1px solid var(--oc-surface-2,#EEF2F9); }
.mk-req__facts i { color: var(--oc-optic,#3B6BFF); opacity: .7; }
.mk-pill { flex: none; font-size: 11px; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .625rem; border-radius: 999px; white-space: nowrap; }
.mk-pill--open    { background: #E4F5EE; color: #14805A; }
.mk-pill--awarded { background: #EBF0FF; color: #1F41BC; }
.mk-pill--closed  { background: var(--oc-surface-2,#EEF2F9); color: var(--oc-muted,#5B6780); }
.mk-pill--bids    { background: #FFF0E1; color: #9A5209; }

/* ---- proposals on the detail page ---- */
.mk-detail { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.5rem; align-items: start; }
@media (max-width: 991px) { .mk-detail { grid-template-columns: 1fr; } }
.mk-panel { background: var(--oc-bg,#fff); border: 1px solid var(--oc-border,#E3E9F3);
  border-radius: 14px; padding: 1.25rem 1.375rem; }
.mk-panel + .mk-panel { margin-top: 1.25rem; }
.mk-panel__title { font-size: 15px; font-weight: 750; margin: 0 0 .75rem; }
.mk-prop { display: flex; gap: .875rem; padding: 1rem 0; border-top: 1px solid var(--oc-surface-2,#EEF2F9); }
.mk-prop:first-of-type { border-top: 0; padding-top: .25rem; }
.mk-prop img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.mk-prop__body { min-width: 0; flex: 1; }
.mk-prop__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .375rem .75rem; }
.mk-prop__name { font-weight: 700; font-size: 14.5px; color: var(--oc-text,#0A0E17); text-decoration: none; }
.mk-prop__price { font-family: var(--oc-mono, monospace); font-weight: 800; font-size: 15px;
  color: var(--oc-optic,#3B6BFF); margin-left: auto; }
.mk-prop__msg { color: var(--oc-text-2,#2A3242); font-size: 14px; margin: .375rem 0 .5rem; white-space: pre-line; }
.mk-prop--won { background: linear-gradient(0deg, rgba(59,107,255,.05), rgba(59,107,255,.05));
  border-radius: 10px; padding: 1rem .875rem; border: 1px solid rgba(59,107,255,.25); }
.mk-form label { font-weight: 650; font-size: 13px; margin-bottom: .25rem; display: block; }
.mk-form input, .mk-form textarea { width: 100%; border: 1px solid var(--oc-border-2,#D2DBEA);
  border-radius: 9px; padding: .55rem .75rem; font-size: 14px; background: var(--oc-bg,#fff); }
.mk-form input:focus, .mk-form textarea:focus { outline: none; border-color: var(--oc-optic,#3B6BFF);
  box-shadow: 0 0 0 3px rgba(59,107,255,.13); }
.mk-flash { border-radius: 10px; padding: .75rem 1rem; font-size: 14px; margin-bottom: 1rem; }
.mk-flash--ok { background: #E4F5EE; color: #14805A; }
.mk-flash--err { background: #FCE9EA; color: #A83C33; }

/* ---- creator directory cards ---- */
.mk-creators { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 1.125rem; }
.mk-creator { background: var(--oc-bg,#fff); border: 1px solid var(--oc-border,#E3E9F3);
  border-radius: 14px; padding: 1.375rem 1.125rem 1.125rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .375rem;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.mk-creator:hover { transform: translateY(-3px); border-color: rgba(59,107,255,.35);
  box-shadow: 0 12px 30px rgba(10,14,23,.09); }
.mk-creator img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.mk-creator__name { font-weight: 750; font-size: 15px; margin: .25rem 0 0; }
.mk-creator__name a { color: var(--oc-text,#0A0E17); text-decoration: none; }
.mk-creator__name a:hover { color: var(--oc-optic,#3B6BFF); }
.mk-creator__line { font-size: 12.5px; color: var(--oc-muted,#5B6780); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-creator__stats { display: flex; gap: 1rem; margin-top: .5rem; padding-top: .625rem;
  border-top: 1px solid var(--oc-surface-2,#EEF2F9); width: 100%; justify-content: center;
  font-size: 12px; color: var(--oc-muted,#5B6780); font-variant-numeric: tabular-nums; }
.mk-creator__stats b { color: var(--oc-text,#0A0E17); font-size: 14px; display: block; }
