/* ==========================================================================
   Olexis Media — theme styles
   Colours, fonts and base sizes come from theme.json (Styles in the Site Editor).
   This file adds layout, components and motion.
   ========================================================================== */

:root {
	--base: var(--wp--preset--color--base, #0B0B0C);
	--surface: var(--wp--preset--color--surface, #151517);
	--light: var(--wp--preset--color--light, #F5F3EF);
	--ink: var(--wp--preset--color--ink, #F5F3EF);
	--muted: var(--wp--preset--color--muted, #8A8A8E);
	--gold: var(--wp--preset--color--gold, #C6A15B);
	--line: rgba(245, 243, 239, .12);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--pad-x: var(--wp--style--root--padding-left, clamp(20px, 4vw, 60px));
	--content: var(--wp--style--global--content-size, 1240px);
	--section: clamp(96px, 13vw, 180px);
	--arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'><path d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.3'/></svg>");
	--aperture: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'><g fill='none' stroke='black' stroke-width='5'><circle r='45'/><path d='M14.7 8.5L-29.5 34M0 17L-44.2 -8.5M-14.7 8.5L-14.7 -42.5M-14.7 -8.5L29.5 -34M0 -17L44.2 8.5M14.7 -8.5L14.7 42.5'/></g></svg>");
	--grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body .wp-site-blocks { padding-top: 0; padding-bottom: 0; }
body .wp-site-blocks > * + * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: rgba(198, 161, 91, .35); color: var(--ink); }
.skip-link.screen-reader-text:focus { background: var(--gold); color: var(--base); padding: 10px 16px; z-index: 100000; }

/* Component margin reset: spacing inside theme sections is set explicitly below. */
:root body :where(.olx-pad, .page-hero, .hero-copy, .sec-head, .sec-head > .wp-block-group, .tile, .step, .svc-row, .why-tile, .member, .card, .card-meta > .wp-block-group, .olx-closing, .olx-scope, .case-top, .case-next, .olx-srows, .film-frame .wp-block-cover__inner-container) > * {
	margin-block: 0;
}

/* ---------- Typography helpers & block styles ---------- */
body .is-style-label {
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
	font-weight: 500; line-height: 1.5; margin-bottom: 22px;
}
body .is-style-muted { color: var(--muted); }
body .is-style-lead { font-size: clamp(17px, 1.4vw, 19px); color: rgba(245, 243, 239, .78); max-width: 44ch; }
body .is-style-ai-pill {
	display: inline-flex; align-items: center; gap: 7px; width: fit-content;
	padding: 4px 11px 4px 9px; border: 1px solid rgba(198, 161, 91, .65); border-radius: 100px;
	color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .18em; line-height: 1.5;
	white-space: nowrap; position: relative; overflow: hidden; text-transform: uppercase;
}
.is-style-ai-pill::before, .ai-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex: none; }
.is-style-ai-pill::after, .ai-pill::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, transparent 30%, rgba(198, 161, 91, .28) 50%, transparent 70%);
	transform: translateX(-100%); animation: olx-shimmer 4.5s var(--ease) infinite;
}
.ai-pill {
	display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px;
	border: 1px solid rgba(198, 161, 91, .65); border-radius: 100px; color: var(--gold);
	font-size: 10px; font-weight: 500; letter-spacing: .18em; line-height: 1.5; white-space: nowrap;
	position: relative; overflow: hidden; flex: none;
}
@keyframes olx-shimmer { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

h1, h2, h3 { text-wrap: balance; }
body .wp-block-heading.is-style-outline-number {
	font-size: clamp(46px, 4.6vw, 70px); font-weight: 300; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(198, 161, 91, .8); letter-spacing: 0;
}

/* Grain texture on dark sections */
.is-style-grain { position: relative; isolation: isolate; }
.is-style-grain::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
	opacity: .045; mix-blend-mode: overlay; background-image: var(--grain);
}

/* ---------- Buttons ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); border: 1px solid var(--gold); }
.wp-block-button__link::after {
	content: ""; width: 16px; height: 10px; flex: none; background: currentColor;
	-webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
	transition: transform .35s var(--ease);
}
.wp-block-button__link:hover::after { transform: translateX(5px); }
.wp-block-button.is-style-outline-gold .wp-block-button__link { background: transparent; color: var(--gold); border-color: var(--gold); }
.wp-block-button.is-style-outline-gold .wp-block-button__link:hover { background: var(--gold); color: var(--base); }
.wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: var(--ink); border-color: rgba(245, 243, 239, .55); }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.wp-block-button.is-style-text-link .wp-block-button__link { background: transparent; border: 0; color: var(--ink); padding: 6px 0; position: relative; }
.wp-block-button.is-style-text-link .wp-block-button__link::before {
	content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold);
	transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.wp-block-button.is-style-text-link .wp-block-button__link:hover { background: transparent; color: var(--ink); }
.wp-block-button.is-style-text-link .wp-block-button__link:hover::before { transform: scaleX(1); transform-origin: left; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 2px; border: 1px solid var(--gold); background: var(--gold); color: var(--base); font: 500 13px/1 var(--wp--preset--font-family--jost); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .35s var(--ease); }
.btn::after { content: ""; width: 16px; height: 10px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .35s var(--ease); }
.btn:hover { background: #d3b273; }
.btn:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
header.wp-block-template-part { position: fixed; inset: 0 0 auto; z-index: 100; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.site-header { border-bottom: 1px solid transparent; transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s; }
.site-header.is-solid { background: rgba(11, 11, 12, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
body .site-header .hdr { height: 84px; margin-block: 0; transition: height .4s var(--ease); }
.site-header.is-solid .hdr { height: 68px; }
.hdr-logo img { width: auto !important; height: 54px !important; transition: height .4s var(--ease); }
.site-header.is-solid .hdr-logo img { height: 44px !important; }
.hdr-right { gap: 38px !important; }
.olx-nav .wp-block-navigation__container { gap: 34px; }
.olx-nav .wp-block-navigation-item__content { position: relative; padding: 6px 0; color: rgba(245, 243, 239, .85); transition: color .3s; }
.olx-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .45s var(--ease); }
.olx-nav .wp-block-navigation-item__content:hover { color: var(--ink); }
.olx-nav .wp-block-navigation-item__content:hover::after,
.olx-nav .wp-block-navigation-item__content[aria-current]::after,
.olx-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.hdr-cta .wp-block-button__link { padding: 12px 18px; font-size: 12px; }
.olx-nav .wp-block-navigation__responsive-container-open, .olx-nav .wp-block-navigation__responsive-container-close { color: var(--ink); }
.olx-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--base) !important; color: var(--ink) !important; padding: 100px 32px 40px;
}
.olx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; align-items: flex-start; }
.olx-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: clamp(34px, 9vw, 52px); font-weight: 300; letter-spacing: -.01em; }
@media (max-width: 1000px) { body .site-header .hdr-cta { display: none; } .olx-nav .wp-block-navigation__container { gap: 22px; } }

/* ---------- Home hero ---------- */
body .olx-hero { min-height: 100vh !important; min-height: 100svh !important; padding: 0; overflow: hidden; align-items: center; }
.olx-hero .wp-block-cover__image-background { object-position: 62% 40%; animation: olx-zoom 18s var(--ease) both; }
@keyframes olx-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.olx-hero .wp-block-cover__background {
	opacity: 1 !important; background-color: transparent !important;
	background:
		linear-gradient(90deg, rgba(11, 11, 12, .86) 0%, rgba(11, 11, 12, .6) 28%, rgba(11, 11, 12, .12) 52%, transparent 66%),
		linear-gradient(0deg, rgba(11, 11, 12, .85) 0%, rgba(11, 11, 12, .3) 26%, transparent 50%),
		rgba(11, 11, 12, .22) !important;
}
body .olx-hero .wp-block-cover__inner-container { position: static; width: 100% !important; margin: 0 !important; padding-top: 60px; }
.olx-hero .hero-copy { position: relative; z-index: 2; }
body .olx-hero .hero-label { font-size: 13px; letter-spacing: .26em; margin-bottom: 30px; }
body .olx-hero .hero-title { font-size: clamp(44px, 5.9vw, 86px); line-height: 1.03; letter-spacing: -.02em; max-width: 7.4em; }
body .olx-hero .hero-sub { margin: 36px 0 40px; font-size: clamp(16px, 1.35vw, 19px); letter-spacing: .04em; color: rgba(245, 243, 239, .85); }
body .olx-hero .hero-ctas { gap: 12px; }
body .olx-hero .hero-ctas .wp-block-button__link { padding: 21px 32px; font-size: 14px; letter-spacing: .2em; }
body .olx-hero .hero-foot {
	position: absolute; z-index: 2; left: var(--pad-x); right: var(--pad-x); bottom: clamp(40px, 6vh, 64px);
	max-width: var(--content); margin: 0 auto !important; align-items: center;
}
body .olx-hero .cue { display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(245, 243, 239, .65); margin: 0; }
.olx-hero .cue::before { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(198, 161, 91, .35)); background-size: 200% 100%; animation: olx-cue 2.4s var(--ease) infinite; }
@keyframes olx-cue { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
body .olx-hero .watch { margin: 0; }
.olx-hero .watch a { display: grid; grid-template-columns: auto 66px; grid-template-rows: auto auto; column-gap: 18px; align-items: center; text-align: right; color: var(--ink); }
.olx-hero .watch strong { grid-column: 1; grid-row: 1; align-self: end; font-weight: 500; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.olx-hero .watch em { grid-column: 1; grid-row: 2; align-self: start; font-style: normal; font-size: 13px; color: rgba(245, 243, 239, .82); margin-top: 4px; }
.olx-hero .watch a::after {
	content: ""; grid-column: 2; grid-row: 1 / 3; width: 66px; height: 66px; background: var(--gold);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 66'><circle cx='33' cy='33' r='32.5' fill='none' stroke='black' stroke-width='1'/><path d='M28 25v16l13-8z' fill='black'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 66'><circle cx='33' cy='33' r='32.5' fill='none' stroke='black' stroke-width='1'/><path d='M28 25v16l13-8z' fill='black'/></svg>") center / contain no-repeat;
	transition: transform .4s var(--ease);
}
.olx-hero .watch a:hover::after { transform: scale(1.06); }
.olx-hero .hero-copy > * { opacity: 0; transform: translateY(18px); animation: olx-rise .9s var(--ease) forwards; }
.olx-hero .hero-copy > :nth-child(1) { animation-delay: .2s; }
.olx-hero .hero-copy > :nth-child(2) { animation-delay: .35s; }
.olx-hero .hero-copy > :nth-child(3) { animation-delay: .5s; }
.olx-hero .hero-copy > :nth-child(4) { animation-delay: .65s; }
.olx-hero .hero-foot { opacity: 0; animation: olx-rise .9s .9s var(--ease) forwards; }
@keyframes olx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.olx-hero video.wp-block-cover__video-background { opacity: 0; transition: opacity 1.4s var(--ease); }
.olx-hero video.wp-block-cover__video-background.is-ready { opacity: 1; }

/* ---------- Section rhythm ---------- */
body .olx-pad { padding-top: var(--section); padding-bottom: var(--section); }
body .olx-pad.no-top { padding-top: 0; }
body .sec-head { margin-bottom: 56px; gap: 30px; }
body .sec-head h2 { max-width: 14ch; }
body .sec-head h2.one-line { max-width: none; }
body .is-style-label + h1, body .is-style-label + h2 { margin-top: 0; }

/* ---------- Ticker ---------- */
.olx-ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
body .olx-ticker .ticker-list { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: olx-marquee 55s linear infinite; }
.olx-ticker:hover .ticker-list { animation-play-state: paused; }
.olx-ticker .ticker-list li { display: flex; align-items: center; margin: 0; white-space: nowrap; font-size: clamp(18px, 2vw, 26px); font-weight: 300; color: rgba(245, 243, 239, .9); }
.olx-ticker .ticker-list li::after {
	content: ""; width: 14px; height: 14px; margin: 0 clamp(26px, 3vw, 46px); background: var(--gold);
	-webkit-mask: var(--aperture) center / contain no-repeat; mask: var(--aperture) center / contain no-repeat;
}
@keyframes olx-marquee { to { transform: translateX(-50%); } }

/* ---------- Brand film ---------- */
body .olx-film .sec-head { margin-bottom: 48px; }
body .film-frame {
	aspect-ratio: 16 / 9; min-height: 0 !important; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer;
	transform: scale(var(--sc, .92)); transform-origin: center top;
}
.film-frame .wp-block-cover__image-background { transition: transform 1.4s var(--ease); }
.film-frame:hover .wp-block-cover__image-background { transform: scale(1.03); }
.film-frame .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(0deg, rgba(11, 11, 12, .7), rgba(11, 11, 12, .15) 45%, rgba(11, 11, 12, .25)) !important; }
body .film-frame .wp-block-cover__inner-container { position: static; }
body .film-frame .film-cap {
	position: absolute; z-index: 3; left: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); bottom: clamp(16px, 2.6vw, 30px);
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 243, 239, .75);
}
.film-frame .film-cap p { margin: 0; }
.film-frame .film-video { display: none; margin: 0; }
.film-frame.is-playing .film-video { display: block; position: absolute; inset: 0; z-index: 6; background: #000; }
.film-frame.is-playing .film-video video { width: 100%; height: 100%; object-fit: contain; }
.film-frame.is-playing { cursor: default; }
.play {
	position: absolute; z-index: 4; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px;
	border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold);
	background: rgba(11, 11, 12, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform .5s var(--ease), background .4s; pointer-events: none;
}
.play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: olx-ring 2.8s var(--ease) infinite; }
.play svg { width: 22px; height: 22px; margin-left: 4px; }
.film-frame:hover .play { transform: scale(1.06); background: rgba(198, 161, 91, .15); }
@keyframes olx-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- AI at the core ---------- */
.olx-ai { background: var(--surface); overflow: hidden; }
.olx-ai::before {
	content: ""; position: absolute; width: 900px; height: 900px; left: -240px; top: 50%; transform: translateY(-50%); z-index: -1;
	background: radial-gradient(circle, rgba(198, 161, 91, .16), rgba(198, 161, 91, .04) 40%, transparent 65%);
	animation: olx-breathe 7s ease-in-out infinite; pointer-events: none;
}
@keyframes olx-breathe { 50% { opacity: .6; } }
body .ai-grid { gap: clamp(40px, 7vw, 110px); margin: 0; }
.ap-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; margin: 0 auto; color: var(--ink); }
.ap-stage canvas { position: absolute; inset: -12%; width: 124%; height: 124%; }
.ap-stage .ap-svg, .ap-stage .ap-static { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ap-stage .ap-static { inset: 9%; width: 82%; height: 82%; }
.ap-stage.is-live .ap-static { display: none; }
body .olx-ai h2 { font-size: clamp(38px, 4.6vw, 66px); }
body .olx-ai .ai-lede { margin-top: 24px; }
body .olx-ai .tiles { display: grid; grid-template-columns: 1fr 1fr; margin: 52px 0 44px; border-top: 1px solid var(--line); }
body .olx-ai .tile { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); margin: 0; }
.olx-ai .tile:nth-child(odd) { border-right: 1px solid var(--line); }
body .olx-ai .tile:nth-child(even) { padding-left: 26px; }
body .olx-ai .tile h3 { font-size: 19px; font-weight: 400; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.olx-ai .tile h3::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; transition: background .4s, box-shadow .4s; }
.olx-ai .tile:hover h3::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.olx-ai .tile p { font-size: 15px; color: var(--muted); }

/* ---------- Services preview (home) ---------- */
.svc-list { border-top: 1px solid var(--line); }
body .svc-row {
	display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.3fr) 130px; align-items: center; gap: 24px;
	padding: 28px 0; border-bottom: 1px solid var(--line); margin: 0; transition: padding .45s var(--ease);
}
.svc-row:hover { padding-left: 14px; }
.svc-row .svc-n { font-size: 13px; color: var(--gold); letter-spacing: .1em; }
body .svc-row .svc-t { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; line-height: 1.2; }
.svc-row .svc-t a { color: var(--ink); transition: color .35s; }
.svc-row:hover .svc-t a { color: var(--gold); }
.svc-row .svc-d { color: var(--muted); font-size: 15px; }
.svc-row .is-style-ai-pill { justify-self: start; }

/* ---------- Process ---------- */
body .steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
body .step { padding: 34px 28px 10px 0; position: relative; margin: 0; }
body .step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.2s var(--ease); }
.step.in::before, .no-js .step::before { width: 100%; }
.step .step-n { font-size: clamp(44px, 4.4vw, 64px); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198, 161, 91, .8); }
body .step h3 { font-size: 22px; font-weight: 400; margin: 26px 0 10px; }
.step p:not(.step-n) { font-size: 15px; color: var(--muted); max-width: 28ch; }
body .olx-scope { padding-bottom: clamp(60px, 8vw, 110px); margin-top: calc(var(--section) * -0.55); }

/* ---------- Case cards (shared) ---------- */
.card .thumb { position: relative; border-radius: 5px; overflow: hidden; background: #1d1d20; margin: 0; }
.card .thumb img { width: 100%; transition: transform 1s var(--ease); display: block; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb a { display: block; position: relative; height: 100%; }
.card .thumb a::after {
	content: "View Case"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 11, 12, .45);
	opacity: 0; transition: opacity .45s var(--ease); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.card:hover .thumb a::after, .card .thumb a:focus-visible::after { opacity: 1; }
body .card .card-meta { margin-top: 20px; gap: 14px; }
body .card .wp-block-post-title { font-size: 24px; font-weight: 400; line-height: 1.25; }
.card .wp-block-post-title a { color: var(--ink); }
body .card .cat { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card .cat a { color: var(--muted); pointer-events: none; }

/* ---------- Selected work slider ---------- */
.olx-work { background: var(--surface); overflow: hidden; }
.slider-ctrl { display: flex; gap: 10px; }
.circ { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .3s, color .3s; padding: 0; }
.circ:hover { border-color: var(--gold); color: var(--gold); }
.circ svg { width: 16px; height: 10px; }
body .work-rail { margin: 0; }
body .work-rail .rail {
	display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0;
	padding: 0 max(var(--pad-x), calc((100% - var(--content)) / 2));
	scroll-padding-left: max(var(--pad-x), calc((100% - var(--content)) / 2));
}
.work-rail .rail::-webkit-scrollbar { display: none; }
body .work-rail .rail > li { flex: 0 0 min(78vw, 520px); scroll-snap-align: start; margin: 0; }
body .work-foot { margin-top: 52px; }

/* ---------- Brand wall ---------- */
body .olx-brands h2 { font-size: clamp(28px, 3.2vw, 44px); }
body .olx-brands .brands-cap { margin-top: 14px; font-size: 15px; }
body .logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
body .logo-wall > * {
	margin: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 120px;
	display: grid; place-items: center; padding: 20px; text-align: center; font-size: clamp(15px, 1.4vw, 19px); font-weight: 500;
	letter-spacing: .02em; color: var(--ink); opacity: .6; transition: opacity .4s, color .4s, background .4s;
}
.logo-wall > *:hover { opacity: 1; color: var(--gold); background: rgba(198, 161, 91, .04); }
.logo-wall img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.6); }
body .markets { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 38px; margin-top: 40px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 243, 239, .75); }
.markets strong { font-weight: 500; color: var(--gold); }
.markets em { font-style: normal; display: inline-flex; align-items: center; gap: 38px; }
.markets em + em::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Testimonials ---------- */
.olx-testi { text-align: center; border-top: 1px solid var(--line); }
.olx-testi::before {
	content: ""; display: block; width: 40px; height: 30px; margin: 0 auto 34px; background: var(--gold);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'><path d='M0 30V17C0 7 5 1.5 15 0l1.5 3.5C11 5 8.5 8.5 8.3 14H15v16zm23 0V17c0-10 5-15.5 15-17l1.5 3.5C34 5 31.5 8.5 31.3 14H38v16z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'><path d='M0 30V17C0 7 5 1.5 15 0l1.5 3.5C11 5 8.5 8.5 8.3 14H15v16zm23 0V17c0-10 5-15.5 15-17l1.5 3.5C34 5 31.5 8.5 31.3 14H38v16z'/></svg>") center / contain no-repeat;
}
body .t-slides { position: relative; max-width: 900px; margin: 0 auto; }
body .t-slide { margin: 0; padding: 0; border: 0; }
.t-slides.is-slider .t-slide { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.t-slides.is-slider .t-slide.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.t-slides:not(.is-slider) .t-slide + .t-slide { margin-top: 60px; }
.t-slide p { font-size: clamp(22px, 2.6vw, 36px); font-weight: 300; line-height: 1.35; margin: 0; }
.t-slide cite { display: block; margin-top: 30px; font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body .t-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.t-dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.t-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 13px; height: 1px; background: rgba(245, 243, 239, .25); transition: background .3s; }
.t-dots button[aria-current="true"]::after { background: var(--gold); }

/* ---------- Closing sections ---------- */
.olx-closing { overflow: hidden; border-top: 1px solid var(--line); }
.olx-closing::before {
	content: ""; position: absolute; width: min(900px, 120vw); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
	background: rgba(245, 243, 239, .011); -webkit-mask: var(--aperture) center / contain no-repeat; mask: var(--aperture) center / contain no-repeat;
	pointer-events: none; z-index: -1;
}
body .olx-closing.is-centered .cl-title { font-size: clamp(40px, 6vw, 92px); max-width: 14ch; margin: 0 auto 46px !important; }
body .olx-closing .cl-grid { gap: clamp(48px, 8vw, 120px); margin: 0; }
body .olx-closing.has-form .cl-title { font-size: clamp(38px, 4.4vw, 66px); max-width: 12ch; }

/* ---------- Forms ---------- */
.olx-form { position: relative; }
.olx-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.olx-form .fld { position: relative; margin-bottom: 26px; }
.olx-form .fld label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.olx-form .wpcf7-form-control-wrap { display: block; }
.olx-form input[type="text"], .olx-form input[type="email"], .olx-form input[type="tel"], .olx-form select {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 243, 239, .22); border-radius: 0; color: var(--ink);
	font: 300 20px/1.4 var(--wp--preset--font-family--jost); padding: 10px 0 12px; outline: none; -webkit-appearance: none; appearance: none; box-shadow: none;
}
.olx-form select {
	cursor: pointer; padding-right: 30px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23C6A15B' stroke-width='1.2'/></svg>") no-repeat right 4px center;
}
.olx-form select:invalid, .olx-form select.is-empty { color: rgba(245, 243, 239, .4); }
.olx-form option { background: var(--surface); color: var(--ink); }
.olx-form input::placeholder { color: rgba(245, 243, 239, .28); }
.olx-form .bar { position: absolute; left: 0; right: 0; height: 1px; margin-top: -1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); display: block; }
.olx-form .fld:focus-within .bar { transform: scaleX(1); }
.olx-form .fld:focus-within label { color: var(--gold); }
.olx-form input:focus-visible, .olx-form select:focus-visible { outline: none; }
.olx-form .err, .olx-form .wpcf7-not-valid-tip { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; color: #E39A86; }
.olx-form .fld.bad input, .olx-form .fld.bad select, .olx-form .wpcf7-not-valid { border-bottom-color: #E39A86; }
.olx-form .btn, .olx-form .wpcf7-submit { margin-top: 14px; }
.olx-form .form-error { color: #E39A86; font-size: 14px; margin: 10px 0 0; }
.olx-form .olx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.olx-form .wpcf7-response-output { border: 0 !important; margin: 16px 0 0 !important; padding: 0 !important; font-size: 14px; color: var(--muted); }
.olx-form .wpcf7-spinner { background-color: var(--gold); margin: 0 0 0 14px; vertical-align: middle; }
.olx-form .wpcf7 form.sent .wpcf7-response-output { display: none; }
.olx-form .done { display: none; padding: 40px 0; }
.olx-form .done-ap { width: 40px; height: 40px; color: var(--gold); margin-bottom: 26px; animation: olx-spin 8s linear infinite; }
@keyframes olx-spin { to { transform: rotate(360deg); } }
.olx-form .done h3 { font-size: 36px; font-weight: 300; margin: 0 0 12px; }
.olx-form .done p { margin: 0; color: var(--muted); max-width: 36ch; }
.olx-form.sent form, .olx-form.sent .wpcf7 { display: none; }
.olx-form.sent .done { display: block; }

/* ---------- Inner page hero ---------- */
body .page-hero {
	min-height: 74vh; min-height: 74svh; display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: 170px; padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; border-bottom: 1px solid var(--line);
}
body .page-hero > * { width: 100%; }
body .page-hero h1 { font-size: clamp(44px, 6.2vw, 98px); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.page-hero::before {
	content: ""; position: absolute; right: -200px; top: -200px; width: 900px; height: 900px; z-index: -1; pointer-events: none;
	background: radial-gradient(circle, rgba(198, 161, 91, .12), transparent 60%);
}
.page-hero > .is-style-label, .page-hero > h1, .page-hero > .wp-block-post-title, .page-hero > .wp-block-buttons { position: relative; animation: olx-rise .9s var(--ease) both; }
.page-hero > h1, .page-hero > .wp-block-post-title { animation-delay: .15s; }
.page-hero > .wp-block-buttons { animation-delay: .3s; margin-top: 40px !important; }
body .page-hero.is-short, body .page-hero.case-hero { min-height: 0; border-bottom: 0; }
body .page-hero.case-hero { padding-bottom: 56px; }
body .page-hero.is-short { padding-bottom: 40px; }
.page-hero .ap-wm, .page-hero-wm {
	position: absolute; right: -10vw; top: 52%; width: min(760px, 90vw); aspect-ratio: 1; transform: translateY(-50%);
	background: rgba(245, 243, 239, .035); -webkit-mask: var(--aperture) center / contain no-repeat; mask: var(--aperture) center / contain no-repeat;
	pointer-events: none; z-index: -1; animation: olx-spin 140s linear infinite;
}

/* ---------- Who We Are ---------- */
body .split { gap: clamp(30px, 6vw, 90px); margin: 0; }
body .big-p { font-size: clamp(22px, 2.4vw, 34px); font-weight: 300; line-height: 1.38; max-width: 30ch; }
body .mv { gap: 0; border-top: 1px solid var(--line); margin: 0; }
body .mv > .wp-block-column { padding: 52px 56px 8px 0; }
body .mv > .wp-block-column + .wp-block-column { padding: 52px 0 8px 56px; border-left: 1px solid var(--line); }
body .mv .mv-text { font-size: clamp(20px, 1.9vw, 27px); font-weight: 300; line-height: 1.4; }
.olx-team { background: var(--surface); }
body .team { gap: 28px; margin: 0; }
body .member > * { margin-block: 0; }
body .portrait { aspect-ratio: 4 / 5; min-height: 0 !important; padding: 0; border-radius: 5px; overflow: hidden; }
.portrait .wp-block-cover__image-background { filter: grayscale(1); }
body .portrait .wp-block-cover__inner-container { position: static; }
.portrait::before { content: ""; position: absolute; width: 36%; aspect-ratio: 1; left: 32%; top: 30%; z-index: 2; background: rgba(245, 243, 239, .06); -webkit-mask: var(--aperture) center / contain no-repeat; mask: var(--aperture) center / contain no-repeat; }
.portrait:has(.wp-block-cover__image-background)::before { display: none; }
.ph-note { position: absolute; left: 18px; bottom: 16px; z-index: 3; margin: 0 !important; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 243, 239, .45); }
.portrait:has(.wp-block-cover__image-background) .ph-note { display: none; }
body .member h3 { font-size: 24px; font-weight: 400; margin: 24px 0 6px; }
body .member .role { margin: 0 0 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
body .member .is-style-muted { font-size: 15px; max-width: 34ch; }
body .why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
body .why-tile { padding: 40px 36px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 230px; position: relative; overflow: hidden; margin: 0; }
body .why-tile h3 { font-size: 23px; font-weight: 400; margin: 0 0 12px; }
.why-tile p:not(.is-style-ai-pill) { font-size: 15px; color: var(--muted); max-width: 32ch; }
body .why-tile.lead { grid-column: span 2; background: radial-gradient(120% 140% at 0% 0%, rgba(198, 161, 91, .13), transparent 55%); }
body .why-tile.lead h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 300; margin-top: 22px; }
.why-tile.lead p:not(.is-style-ai-pill) { font-size: 17px; color: rgba(245, 243, 239, .75); }
.why-tile.lead::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; background: rgba(198, 161, 91, .1); -webkit-mask: var(--aperture) center / contain no-repeat; mask: var(--aperture) center / contain no-repeat; animation: olx-spin 60s linear infinite; }

/* ---------- Services page ---------- */
body .olx-srows { padding-bottom: clamp(80px, 10vw, 140px); }
body .srow { gap: clamp(40px, 7vw, 110px); padding-block: clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); margin: 0; }
body .srow > .wp-block-column > * { margin-block: 0; }
@media (min-width: 782px) { body .srow:nth-child(even) { flex-direction: row-reverse; } }
body .srow .is-style-outline-number { margin-bottom: 26px; }
body .srow .srow-t { font-size: clamp(30px, 3.4vw, 50px); font-weight: 300; line-height: 1.08; margin-bottom: 18px; }
body .srow .srow-d { font-size: 18px; max-width: 34ch; margin-bottom: 22px; }
body .is-style-media-slot { aspect-ratio: 4 / 3; min-height: 0 !important; padding: 0; border-radius: 5px; overflow: hidden; }
.is-style-media-slot .wp-block-cover__image-background, .is-style-media-slot .wp-block-cover__video-background { transition: transform 1.4s var(--ease); }
.srow:hover .is-style-media-slot .wp-block-cover__image-background { transform: scale(1.04); }
.is-style-media-slot.is-mono .wp-block-cover__image-background { filter: grayscale(1); }
.is-style-media-slot .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(0deg, rgba(11, 11, 12, .45), transparent 50%) !important; }
body .is-style-media-slot .wp-block-cover__inner-container { position: static; }
.olx-aistrip { background: var(--surface); overflow: hidden; }
.olx-aistrip::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: 50%; transform: translateY(-50%); z-index: -1; background: radial-gradient(circle, rgba(198, 161, 91, .14), transparent 62%); pointer-events: none; }
body .olx-aistrip .a3-h { font-size: clamp(34px, 4vw, 56px); max-width: 16ch; }
body .a3 { gap: 0; border-top: 1px solid var(--line); margin: 56px 0 0; }
body .a3 > .wp-block-column { padding: 40px 36px 10px 0; }
body .a3 > .wp-block-column + .wp-block-column { padding-left: 36px; border-left: 1px solid var(--line); }
body .a3 h3 { font-size: 26px; font-weight: 300; margin: 0 0 10px; }
.a3 h3::before { content: ""; display: block; width: 34px; height: 34px; margin-bottom: 26px; background: var(--gold); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.a3 .ic-fast { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='black' stroke-width='1.2'><circle cx='17' cy='17' r='15'/><path d='M17 8v9l6 4'/></svg>"); }
.a3 .ic-range { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='black' stroke-width='1.2'><rect x='2' y='2' width='12' height='12' rx='2'/><rect x='20' y='2' width='12' height='12' rx='2'/><rect x='2' y='20' width='12' height='12' rx='2'/><rect x='20' y='20' width='12' height='12' rx='2'/></svg>"); }
.a3 .ic-brand { --m: var(--aperture); }
.a3 p { font-size: 15px; max-width: 30ch; }
.olx-faq { background: var(--surface); }
body .faq-grid { gap: clamp(40px, 7vw, 110px); margin: 0; }
@media (min-width: 782px) { .faq-side { position: sticky; top: 110px; align-self: flex-start; } }
body .qa { border-bottom: 1px solid var(--line); margin: 0; padding: 0; }
body .qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
	list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer;
	font-size: clamp(19px, 1.8vw, 25px); font-weight: 300; line-height: 1.3; padding: 28px 0; transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
	content: ""; flex: none; width: 18px; height: 18px; background:
		linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat,
		linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat;
	transition: transform .45s var(--ease), background-size .45s var(--ease);
}
.qa[open] summary::after { background-size: 100% 1px, 1px 0; }
.qa summary:hover { color: var(--gold); }
body .qa > p { margin: 0 0 30px; color: var(--muted); max-width: 58ch; font-size: 16px; }

/* ---------- Cases archive ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px !important; }
.filters button {
	background: none; border: 1px solid var(--line); color: rgba(245, 243, 239, .8); padding: 11px 20px; border-radius: 100px;
	font: 500 12px/1 var(--wp--preset--font-family--jost); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, color .3s;
}
.filters button:hover { border-color: rgba(198, 161, 91, .6); }
.filters button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
body .cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 28px; list-style: none; padding: 0; margin: 0; }
body .cgrid > li { margin: 0; }
body .cgrid > li.is-wide { grid-column: 1 / -1; }
body .cgrid > li.is-wide .thumb { aspect-ratio: 21 / 9 !important; }
body .cgrid > li[hidden] { display: none; }

/* ---------- Single case ---------- */
body .case-top > * { margin-block: 0; }
.case-media { position: relative; aspect-ratio: 21 / 9; border-radius: 6px; overflow: hidden; background: #17171a; }
.case-media img, .case-media video, .case-media iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border: 0; }
.case-media.is-video video { object-fit: contain; background: #000; }
.case-media.is-empty .ph-ap { position: absolute; width: 18%; left: 41%; top: 30%; height: auto; inset: auto; color: rgba(245, 243, 239, .08); }
.meta { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin: 0; }
.meta > div { padding: 30px 24px 30px 0; }
.meta > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.meta dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.meta dd { margin: 0; font-size: 17px; }
body .case-body .case-blocks { gap: clamp(30px, 4vw, 56px); counter-reset: cb; margin: 0 0 clamp(60px, 8vw, 110px); }
.case-blocks h3 { font-size: 26px; font-weight: 300; margin: 0 0 14px; display: flex; align-items: baseline; gap: 14px; }
.case-blocks h3::before { counter-increment: cb; content: "0" counter(cb); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.case-blocks p { color: var(--muted); font-size: 16px; }
body .case-gallery-label { margin-bottom: 22px !important; }
.case-gallery.wp-block-gallery { gap: 20px; }
.case-gallery .wp-block-image img { border-radius: 5px; }
.nextcase { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line); color: var(--ink); }
.nextcase small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.nextcase b { font-weight: 300; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.05; transition: color .35s; }
.nextcase .circ { width: 72px; height: 72px; flex: none; }
.nextcase:hover b { color: var(--gold); }
.nextcase:hover .circ { border-color: var(--gold); color: var(--gold); }

/* ---------- Contact page ---------- */
body .contact-grid { gap: clamp(48px, 8vw, 120px); margin: 0; }
body .contact-h { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 40px; }
body .cl-contact { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
body .cl-contact li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; margin: 0; }
.cl-contact strong { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.cl-contact a { color: var(--ink); transition: color .3s; }
.cl-contact a:hover { color: var(--gold); }

/* ---------- Generic content ---------- */
.entry .wp-block-post-content > * + * { margin-block-start: 1.2em; }
.entry .wp-block-post-content a { color: var(--gold); }
body .post-list-title { font-size: clamp(26px, 3vw, 40px); margin-top: 40px; }

/* ---------- Footer ---------- */
body .site-footer { border-top: 1px solid var(--line); padding-top: 90px; padding-bottom: 36px; }
body .site-footer .f-grid { gap: 40px; margin: 0; }
.site-footer .f-logo img { width: 150px !important; height: auto !important; }
body .site-footer .f-tag { margin: 26px 0 6px; font-size: 16px; color: rgba(245, 243, 239, .85); max-width: 24ch; }
body .site-footer .f-sign { font-size: 14px; margin: 0; }
body .site-footer .f-h { margin: 0 0 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
body .site-footer .f-list { list-style: none; margin: 0; padding: 0; }
.site-footer .f-list li { margin-bottom: 11px; font-size: 15px; color: var(--muted); }
.site-footer .f-list a { color: rgba(245, 243, 239, .78); transition: color .3s; }
.site-footer .f-list a:hover { color: var(--gold); }
body .site-footer .copy { margin-top: 80px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer .copy p { margin: 0; }

/* ---------- Scroll reveals (added by JS only, so content never hides without it) ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	body .svc-row { grid-template-columns: 48px 1fr auto; gap: 10px 16px; }
	.svc-row .svc-d { grid-column: 2 / 4; grid-row: 2; }
	.svc-row .is-style-ai-pill { grid-column: 3; grid-row: 1; justify-self: end; }
	body .steps { grid-template-columns: 1fr 1fr; }
	body .step:nth-child(3) { padding-left: 0; border-left: 0; }
	body .logo-wall { grid-template-columns: repeat(2, 1fr); }
	body .why { grid-template-columns: 1fr 1fr; }
	body .why-tile.lead { grid-column: 1 / -1; }
	.meta { grid-template-columns: 1fr 1fr; }
	.meta > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.meta > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 781px) {
	.olx-ai .ap-stage { max-width: 300px; }
	body .mv > .wp-block-column, body .mv > .wp-block-column + .wp-block-column { padding: 40px 0; border-left: 0; }
	body .mv > .wp-block-column + .wp-block-column { border-top: 1px solid var(--line); }
	body .a3 > .wp-block-column, body .a3 > .wp-block-column + .wp-block-column { padding: 30px 0; border-left: 0; }
	body .a3 > .wp-block-column + .wp-block-column { border-top: 1px solid var(--line); }
	body .srow { flex-direction: column-reverse; }
	body .olx-closing .cl-grid, body .contact-grid, body .faq-grid, body .ai-grid { gap: 40px; }
	.case-media { aspect-ratio: 4 / 3; }
	.case-blocks h3 { font-size: 22px; }
}
@media (max-width: 640px) {
	body .olx-hero .wp-block-cover__inner-container { align-self: flex-end; padding-bottom: 130px; }
	.olx-hero .wp-block-cover__image-background { object-position: 70% 50%; }
	.olx-hero .wp-block-cover__background { background: linear-gradient(0deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .72) 42%, rgba(11, 11, 12, .15) 72%) !important; }
	body .olx-hero .hero-ctas .wp-block-button__link { padding: 17px 24px; font-size: 13px; }
	body .olx-hero .cue { display: none; }
	body .olx-hero .hero-foot { justify-content: flex-end; }
	.olx-hero .watch em { display: none; }
	body .olx-ai .tiles { grid-template-columns: 1fr; }
	.olx-ai .tile:nth-child(odd) { border-right: 0; }
	body .olx-ai .tile:nth-child(even) { padding-left: 0; }
	body .sec-head { flex-direction: column; align-items: flex-start !important; }
	body .steps, body .why, body .cgrid { grid-template-columns: 1fr; }
	body .step + .step { padding-left: 0; border-left: 0; }
	body .cgrid > li.is-wide .thumb { aspect-ratio: 4 / 3 !important; }
	.olx-form .form-row { grid-template-columns: 1fr; }
	.play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
	.nextcase .circ { display: none; }
	.meta { grid-template-columns: 1fr; }
	.meta > div, .meta > div + div { padding-left: 0; border-left: 0; }
	.meta > div + div { border-top: 1px solid var(--line); }
	body .site-footer .copy { flex-direction: column; align-items: flex-start; }
	body .markets { gap: 12px 22px; }
	.markets strong { flex-basis: 100%; }
	.markets em { gap: 22px; }
	.markets em + em::before { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.rv { opacity: 1; transform: none; }
	.olx-hero .hero-copy > *, .olx-hero .hero-foot { opacity: 1; transform: none; }
	body .olx-ticker .ticker-list { animation: none; flex-wrap: wrap; width: auto; }
	body .film-frame { transform: none; }
}

/* Left-align narrow headings that sit directly inside constrained sections */
body .page-hero > h1, body .page-hero > .wp-block-post-title, body .olx-aistrip > .a3-h {
	margin-left: max(0px, calc((100% - var(--content)) / 2)) !important;
	margin-right: auto !important;
}
.is-style-media-slot:has(.wp-block-cover__image-background, .wp-block-cover__video-background) .ph-note { display: none; }
.page-hero.case-hero::before, .page-hero.case-hero::after, .page-hero.is-short::before { display: none; }
